/*
Theme Name: Cristian Andrye
Author: Cristian Andrye
Description: Site profissional de psicoterapia e página de links da bio, adaptados do visual aprovado. Links de atendimento configuráveis no painel.
Version: 1.0.11
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: cristian-andrye
*/
@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap");

:root {
  --blue: #203858;
  --blue-deep: #152943;
  --ink: #171c24;
  --muted: #4c5664;
  --panel: #f3f6fa;
  --line: #d9e1ec;
  --gutter: clamp(1.125rem, 4.8vw, 4.5rem);
  --section-space: clamp(3.75rem, 7.5vw, 6rem);
  --content-width: 77rem;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 1.5rem;
  scroll-padding-bottom: calc(5rem + env(safe-area-inset-bottom));
}

body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font: 400 1rem/1.66 Manrope, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
a, button, summary { touch-action: manipulation; }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 2px solid #55749c;
  outline-offset: 4px;
}
button { font: inherit; cursor: pointer; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
h1, h2, h3, h4, p, figure { margin: 0; }
main { min-width: 0; }

h1, h2, h3, h4 {
  line-height: 1.16;
  font-weight: 700;
  overflow-wrap: anywhere;
  hyphens: manual;
}

h1, h2 { letter-spacing: -.05em; text-wrap: balance; }
h2 { font-size: clamp(2rem, 4.3vw, 3.65rem); }
h3 { font-size: clamp(1.35rem, 2.4vw, 1.75rem); letter-spacing: -.027em; }
h4 { font-size: 1rem; line-height: 1.46; }
p { color: var(--muted); }
em { color: var(--blue); font-style: normal; }

.container {
  width: min(
    var(--content-width),
    calc(100% - max(var(--gutter), env(safe-area-inset-left)) - max(var(--gutter), env(safe-area-inset-right)))
  );
  margin-inline: auto;
}

.section { padding-block: var(--section-space); }
.eyebrow {
  color: var(--blue);
  font-size: .8125rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.eyebrow + h2 { margin-top: .75rem; }

.skip-link {
  position: fixed;
  z-index: 50;
  left: 1rem;
  top: .5rem;
  padding: .6rem 1rem;
  background: var(--blue);
  color: #fff;
}
.skip-link:not(:focus) { clip-path: inset(50%); }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  gap: 1rem;
  padding: .75rem 1.25rem;
  background: var(--blue);
  color: #fff;
  border-radius: 999px;
  font-size: .9rem;
  font-weight: 700;
  line-height: 1.3;
  transition: background-color .18s ease;
}
.button:hover { background: var(--blue-deep); }

.arrow {
  position: relative;
  display: inline-block;
  width: .92rem;
  height: .92rem;
  flex: none;
}
.arrow::before {
  content: "";
  position: absolute;
  width: .83rem;
  height: 1px;
  top: .47rem;
  background: currentColor;
  transform: rotate(-45deg);
}
.arrow::after {
  content: "";
  position: absolute;
  inset: .08rem .03rem auto auto;
  width: .45rem;
  height: .45rem;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
}

.text-link {
  display: inline-flex;
  min-height: 2.75rem;
  gap: .75rem;
  align-items: center;
  color: var(--blue);
  font-weight: 700;
  font-size: .9rem;
  text-decoration: underline;
  text-decoration-color: #8b9eb7;
  text-underline-offset: .28em;
}
.text-link:hover { text-decoration-color: currentColor; }

.site-header { border-bottom: 1px solid var(--line); }
.header-inner, .footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 5.5rem;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  min-width: 0;
  min-height: 2.75rem;
  flex: 0 1 auto;
  gap: .9rem;
  align-items: center;
  line-height: 1.23;
}
.brand img, .bio-logo { object-fit: contain; filter: invert(1); }
.brand img { flex: none; }
.brand > span { min-width: 0; }
.brand strong { display: block; font-size: 1.1rem; font-weight: 800; }
.brand small {
  display: block;
  margin-top: .3rem;
  color: var(--muted);
  font-size: .75rem;
}
.brand-crp { display: inline-block; white-space: nowrap; }

.site-nav { display: flex; align-items: center; gap: clamp(.7rem, 1.7vw, 1.75rem); }
.site-nav > a:not(.button), .footer-links a {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  min-height: 2.75rem;
  color: var(--blue);
  font-size: .875rem;
  font-weight: 700;
}
.site-nav > a:not(.button):hover, .footer-links a:hover {
  text-decoration: underline;
  text-underline-offset: .25em;
}
.nav-cta { min-height: 2.75rem; padding-inline: 1.1rem; }
.menu-toggle { display: none; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(1.25rem, 3.4vw, 3rem);
  padding-top: clamp(1.45rem, 4vw, 3.6rem);
}
.hero h1 { font-size: clamp(1.85rem, 3.05vw, 2.7rem); line-height: 1.22; margin-top: .65rem; letter-spacing: -.035em; text-wrap: pretty; }
.hero-description { margin-top: 1.3rem; max-width: 48ch; }
.hero-actions {
  margin-top: 1.45rem;
  display: flex;
  align-items: center;
  gap: .4rem 1.25rem;
  flex-wrap: wrap;
}
.hero-photo {
  aspect-ratio: 1.04;
  border-radius: 1.5rem;
  overflow: hidden;
  background: var(--panel);
}
.hero-photo img, .portrait {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, .8fr);
  align-items: end;
  gap: 1rem clamp(1.5rem, 6vw, 5rem);
  margin-bottom: clamp(1.4rem, 3vw, 2.35rem);
}
.section-heading > p { max-width: 42ch; }

.topics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(.85rem, 1.6vw, 1.2rem);
}
.topic {
  position: relative;
  display: grid;
  align-content: start;
  gap: .8rem;
  min-height: 16rem;
  padding: clamp(1.3rem, 2.1vw, 1.85rem);
  background: var(--blue);
  color: #fff;
  border-radius: 1.2rem;
}
.topic h3 { font-size: 1.35rem; line-height: 1.35; }
.topic p { max-width: 47ch; color: #e3ecf8; font-size: 1rem; line-height: 1.75; }
#questoes .section-heading, #processo .section-heading { grid-template-columns: minmax(0, 1fr); }
#questoes h2 { font-size: clamp(1.85rem, 3.15vw, 2.75rem); text-wrap: pretty; }
#questoes .section-heading > p, #processo .section-heading > p { max-width: none; }

.approach, .faq-section { background: var(--panel); }
.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: clamp(1.7rem, 6.5vw, 5.5rem);
}
.prose > * + * { margin-top: .95rem; }
.prose strong { color: var(--ink); }
.prose p { max-width: 62ch; }
.about { grid-template-columns: minmax(0, .82fr) minmax(0, 1fr); }
.portrait { aspect-ratio: 1.03; height: auto; border-radius: 1.4rem; object-position: center 23%; }
.professional-id { color: var(--blue); font-weight: 700; font-size: .9rem; }

.education { background: var(--panel); }
.degree-grid, .steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(.8rem, 1.7vw, 1.3rem);
}
.degree-grid { margin-top: 2rem; }
.degree {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  padding: clamp(1.2rem, 2.3vw, 1.85rem);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 1.2rem;
  text-align: center;
}
.degree h3 { color: var(--blue); font-size: 1.18rem; line-height: 1.45; min-height: 4.35em; display: grid; align-content: center; }
.degree .institution { display: flex; flex-direction: column; align-items: center; gap: .65rem; }
.degree > .institution, .degree-provider { margin-top: 0; }
.degree-provider { display: flex; flex-direction: column; flex: 1; }
.degree-provider .certifier { margin-top: auto; }
.degree .institution-mark { width: 7rem; height: 4.4rem; }
.degree .institution strong { font-size: .93rem; }

.institution, .course {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: .85rem;
  overflow-wrap: anywhere;
}
.institution strong { display: block; color: var(--ink); line-height: 1.44; font-weight: 800; }
.institution p, .course p { margin-top: .22rem; font-size: .875rem; line-height: 1.5; }
.institution .trainer-credit { text-wrap: balance; }

.institution-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4.3rem;
  height: 4.3rem;
  padding: .3rem;
  flex: none;
  background: #fff;
}
.institution-mark img {
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  object-fit: contain;
}
.institution-initials {
  padding: 0;
  border-radius: .65rem;
  background: #eaf0f7;
  color: var(--blue);
  font-size: .83rem;
  font-weight: 800;
  letter-spacing: .06em;
}

.certifier {
  display: flex;
  gap: .55rem;
  align-items: center;
  border-top: 1px solid var(--line);
  margin-top: .9rem;
  padding-top: .7rem;
  font-size: .875rem;
}
.focus-mark {
  flex: none;
  display: inline-grid;
  place-items: center;
  width: 2.75rem;
  height: 1.2rem;
}
.focus-mark img { width: 100%; height: 100%; object-fit: contain; }
.mark-light-source { filter: invert(1); }

.education-group { margin-top: clamp(2.2rem, 4.5vw, 4rem); }
.education-group h3 { color: var(--blue); }
.course-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  list-style: none;
  gap: .8rem;
  padding: 0;
  margin: 1rem 0 0;
}
.course {
  padding: .95rem 1.15rem;
  border: 1px solid var(--line);
  border-radius: .9rem;
  background: #fff;
  grid-template-columns: minmax(0, 1fr);
  text-align: center;
  justify-items: center;
  align-content: start;
}
.course h4 { font-size: 1rem; line-height: 1.5; }
.course .institution-mark { width: 7rem; height: 3.6rem; }

.course-trainer {
  grid-template-columns: minmax(0, 1fr);
  align-content: start;
}
.trainer-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: min(100%, 12.5rem);
  height: 3.6rem;
  border-radius: .55rem;
  background: #fff;
}
.trainer-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.trainer-mark-moreno > img { filter: brightness(0); }
.trainer-mark-moreno > .trainer-color { position: absolute; inset: 0; clip-path: inset(0 66% 0 0); filter: none; }
.trainer-mark-alberto > img { filter: invert(1); }
.session-objectives {
  margin: 0;
  padding: 0 0 1.1rem 1.3rem;
  color: var(--muted);
}
.session-objectives li + li { margin-top: .55rem; }
.session-objectives li::marker { color: var(--blue); }

.additional { margin-top: .6rem; }
.steps { margin-top: 1.3rem; }
.step {
  display: grid;
  align-content: start;
  gap: .7rem;
  padding: 1.25rem;
  border-top: 3px solid var(--blue);
  border-radius: 0 0 .8rem .8rem;
  background: var(--panel);
}

.faq { max-width: 52rem; }
.faq h2 { margin-bottom: 1.65rem; }
details { border-bottom: 1px solid var(--line); }
summary {
  display: flex;
  min-height: 3.25rem;
  justify-content: space-between;
  align-items: center;
  gap: .8rem;
  padding-block: .65rem;
  list-style: none;
  cursor: pointer;
  font-weight: 700;
  color: var(--blue);
}
summary::-webkit-details-marker { display: none; }
summary::after { content: "+" / ""; font-size: 1.45rem; font-weight: 500; flex: none; }
details[open] > summary::after { content: "−" / ""; }
details > p { max-width: 64ch; padding-bottom: 1rem; }
details > .text-link { margin-bottom: .65rem; }
.additional > .course-grid { margin-top: .3rem; margin-bottom: 1rem; }

.contact {
  padding: clamp(2.3rem, 6vw, 4.5rem) clamp(1rem, 4vw, 3rem);
  margin-block: clamp(2.5rem, 6vw, 4.5rem);
  border-radius: 1.5rem;
  text-align: center;
  color: #fff;
  background: var(--blue);
}
.contact p { color: #e5eef9; max-width: 42ch; margin: .8rem auto 1.35rem; }
.contact .button { display: flex; width: fit-content; max-width: 100%; margin-inline: auto; justify-content: center; text-align: center; background: #fff; color: var(--blue); }
.contact .button:hover { background: #e4ecf5; }

.site-footer {
  border-top: 1px solid var(--line);
  padding-block: 1.25rem calc(2rem + env(safe-area-inset-bottom));
}
.footer-name { font-size: 1.1rem; font-weight: 400; }
.footer-inner { flex-wrap: wrap; }
.footer-legal { flex-basis: 100%; font-size: .75rem; }
.footer-copyright { display: block; margin-top: .25rem; font-size: .75rem; color: var(--muted); text-align: center; }
.footer-links { display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; }
.footer-links { align-items: center; }
.footer-links .footer-social { justify-content: center; min-width: 2.75rem; }
.footer-social svg { display: block; flex-shrink: 0; }

.back-to-top {
  position: fixed;
  z-index: 20;
  right: var(--top-control-right, max(1.25rem, env(safe-area-inset-right)));
  bottom: var(--top-control-bottom, calc(6.25rem + env(safe-area-inset-bottom)));
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid #d9e1ec;
  border-radius: 50%;
  background: rgba(255, 255, 255, .94);
  color: var(--muted);
  transition: background-color .18s ease, color .18s ease;
}
.back-to-top svg { pointer-events: none; }
.back-to-top:hover { background: var(--panel); color: var(--blue); }

@media (min-width: 44.01rem) and (max-width: 61.99rem) {
  .topics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .topic { min-height: 0; }
  .topic:last-child { grid-column: 1 / -1; }
  .topic:last-child p { max-width: 72ch; }
}

@media (max-width: 61.99rem) {
  .header-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    min-height: 4.95rem;
    padding-block: .8rem;
  }
  .site-nav { grid-column: 1 / -1; flex-wrap: wrap; }
  .has-menu .menu-toggle:not([hidden]) {
    display: inline-flex;
    align-items: center;
    min-height: 2.75rem;
    gap: .65rem;
    padding-inline: .85rem;
    align-self: center;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--blue);
    background: #fff;
    font-size: .82rem;
    font-weight: 700;
  }
  .menu-icon {
    width: .8rem;
    height: .49rem;
    border-block: 1px solid currentColor;
  }
  .has-menu .site-nav:not(.is-open) { display: none; }
  .has-menu .site-nav.is-open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: .18rem;
    border-top: 1px solid var(--line);
    padding-block: .65rem .25rem;
  }
  .has-menu .site-nav a { padding-inline: .85rem; }
  .has-menu .site-nav .nav-cta { margin-top: .45rem; justify-content: space-between; }
  .degree-grid { grid-template-columns: minmax(0, 1fr); gap: .8rem; }
  .degree h3 { min-height: 0; }
  .steps { grid-template-columns: minmax(0, 1fr); margin-top: 0; }
}

@media (max-width: 44rem) {
  .hero, .split, .section-heading, .topics, .course-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .brand { gap: .6rem; }
  .brand img { width: 1.9rem; height: 2.05rem; }
  .brand strong { font-size: 1rem; }
  .brand small { font-size: .75rem; }
  .hero { gap: 1.1rem; }
  .hero h1 { font-size: clamp(1.7rem, 6.45vw, 2.5rem); margin-top: .4rem; }
  .hero-description { margin-top: .8rem; max-width: 48ch; }
  .hero-actions { margin-top: 1.15rem; }
  .hero-actions .button { justify-content: space-between; width: 100%; }
  .hero-photo { aspect-ratio: 1.34; border-radius: 1rem; }
  .hero-photo img { object-position: center 15%; }
  .section-heading br { display: none; }
  .topic { min-height: 0; padding: 1.5rem; }
  .about .portrait { order: 1; aspect-ratio: 1.13; border-radius: 1rem; }
  .course { padding-inline: .85rem; gap: .7rem; }
  .course .institution-mark { width: 7rem; height: 3.6rem; }
  .topic p { font-size: 1rem; }
  .footer-inner { flex-wrap: wrap; }
  .site-footer { padding-bottom: calc(5.25rem + env(safe-area-inset-bottom)); }
}

@media (max-width: 23rem) {
  .header-inner { gap: .65rem; }
  .brand small { max-width: 11rem; }
  .has-menu .menu-toggle:not([hidden]) { gap: .45rem; padding-inline: .7rem; }
  .hero h1 { font-size: 1.7rem; }
  .institution-mark { width: 3.65rem; height: 3.65rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button, .bio-links a, .back-to-top { transition: none; }
}

/* Link pages */
.hub-page {
  min-height: 100svh;
  background: #f3f6fa;
}
.link-hub {
  width: min(34rem, calc(100% - 2rem));
  margin-inline: auto;
  padding-block: calc(2rem + env(safe-area-inset-top)) calc(2rem + env(safe-area-inset-bottom));
}
.hub-profile {
  display: grid;
  grid-template-columns: 1.12fr 1fr;
  overflow: hidden;
  border-radius: 1.5rem;
  background: var(--blue);
  color: #fff;
}
.hub-identity {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: start;
  padding: 1.5rem;
}
.hub-monogram { width: 1.7rem; height: 1.85rem; object-fit: contain; margin-bottom: 1rem; }
.hub-profile h1 { font-size: clamp(1.55rem, 6vw, 2.2rem); line-height: 1.2; font-weight: 600; letter-spacing: -.035em; }
.hub-identity p { color: #fff; margin-top: .6rem; font-size: .9rem; line-height: 1.6; }
.hub-identity p span { font-size: .875rem; color: #d6e3f4; }
.hub-photo { width: 100%; height: 17.5rem; object-fit: cover; object-position: center 20%; }
.hub-description { margin-block: 1.4rem; text-align: center; color: var(--blue); font-weight: 700; }
.hub-description span { display: block; margin-top: .25rem; color: var(--muted); font-size: .88rem; font-weight: 400; }
.hub-links { display: grid; gap: .7rem; }
.hub-links a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  min-height: 4.75rem;
  padding: 1rem 1.15rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: #fff;
  color: var(--blue);
  line-height: 1.4;
  transition: background .18s ease, border-color .18s ease;
}
.hub-links a:hover { border-color: #8fa6c4; background: #f8fafd; }
.hub-links strong, .hub-links small { display: block; }
.hub-links strong { font-weight: 700; font-size: 1rem; }
.hub-links small { margin-top: .25rem; font-size: .875rem; color: var(--muted); }
.hub-links .hub-primary { color: #fff; background: var(--blue); border-color: var(--blue); }
.hub-links .hub-primary:hover { background: var(--blue-deep); }
.hub-primary small { color: #e0eaf7; }
.hub-links .arrow { margin-right: .25rem; }
.hub-footer { display: grid; gap: .15rem; text-align: center; padding-top: 1.5rem; font-size: .8125rem; color: #647083; }
.hub-essential { background: #fff; }
.hub-essential .link-hub { max-width: 30rem; }
.hub-essential .hub-profile { display: flex; flex-direction: column; align-items: center; background: none; color: var(--blue); overflow: visible; }
.hub-essential .hub-identity { padding: 0; text-align: center; align-items: center; }
.hub-essential .hub-monogram { display: none; }
.hub-essential .hub-identity p { color: var(--blue); }
.hub-essential .hub-identity p span { color: var(--muted); }
.hub-essential .hub-photo { order: -1; width: 8rem; height: 8rem; border-radius: 50%; margin-bottom: 1rem; object-position: center 14%; box-shadow: 0 0 0 6px #f1f5fa; }
.hub-essential .hub-links a { box-shadow: 0 4px 14px #20385806; }

/* Session request and review */
.request-header { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .5rem 1rem; padding-block: 1.5rem; border-bottom: 1px solid var(--line); }
.request-layout { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1fr); gap: clamp(1.5rem, 5vw, 5rem); align-items: start; max-width: 64rem; padding-block: clamp(2rem, 5vw, 4rem); }
.request-intro h1 { color: var(--blue); font-size: clamp(2rem, 4.5vw, 3rem); margin-top: .65rem; }
.request-intro > p { margin-top: 1rem; }
.request-intro .eyebrow { margin-top: 0; }
.request-explainer { padding: 1rem; background: var(--panel); border-radius: .8rem; font-size: .9rem; }
.request-intro .text-link { margin-top: .75rem; }
.request-card { padding: clamp(1.1rem, 3vw, 2rem); border: 1px solid var(--line); border-radius: 1.25rem; background: #fff; box-shadow: 0 15px 45px #20385808; }
#session-request { display: grid; gap: 1.4rem; }
.field { display: grid; gap: .5rem; }
.field label, .choice-field legend { font-weight: 700; color: var(--blue); font-size: .95rem; }
.field input { width: 100%; min-width: 0; min-height: 3.1rem; padding: .75rem .9rem; border: 1px solid #a9b7c9; border-radius: .65rem; font: inherit; font-size: 1rem; color: var(--ink); background: #fff; }
.field input::placeholder { color: #727d8e; }
.field input:focus { border-color: var(--blue); outline: 2px solid #c8d5e6; outline-offset: 1px; }
.field small { color: var(--muted); font-size: .8rem; line-height: 1.5; }
.choice-field { padding: 0; margin: 0; border: 0; min-width: 0; }
.choice-field legend { padding: 0; margin-bottom: .65rem; }
.choice-field legend span { font-weight: 400; font-size: .82rem; color: var(--muted); }
.day-options, .period-options { display: grid; gap: .45rem; }
.day-options { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.period-options { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.day-options label, .period-options label { display: flex; align-items: center; justify-content: center; gap: .3rem; min-height: 2.85rem; border: 1px solid var(--line); border-radius: .6rem; color: var(--blue); font-size: .84rem; cursor: pointer; }
.day-options input, .period-options input { width: .85rem; height: .85rem; margin: 0; accent-color: var(--blue); }
.day-options label:has(:checked), .period-options label:has(:checked) { background: #eaf0f8; border-color: #54729b; }
.day-options label:focus-within, .period-options label:focus-within { outline: 2px solid #54729b; outline-offset: 2px; }
.check-row { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: start; gap: .7rem; color: var(--muted); font-size: .88rem; line-height: 1.6; cursor: pointer; }
.check-row input { margin: .2rem 0 0; width: 1.1rem; height: 1.1rem; accent-color: var(--blue); }
.wait-preference { padding: .9rem; background: var(--panel); border-radius: .7rem; }
.request-submit { width: 100%; border: none; justify-content: space-between; font: inherit; font-size: .95rem; font-weight: 700; cursor: pointer; }
#review-title { font-size: 1.6rem; color: var(--blue); margin-bottom: .7rem; }
#request-review > p { font-size: .92rem; }
.request-message { white-space: pre-wrap; overflow-wrap: anywhere; border-radius: .7rem; background: var(--panel); padding: 1rem; margin-block: 1.25rem; }
.edit-request { display: block; min-height: 2.75rem; margin: .65rem auto 0; padding: .4rem .7rem; background: transparent; border: 0; color: var(--blue); text-decoration: underline; text-underline-offset: .2em; font-size: .9rem; }
.request-footer { padding-block: 1rem calc(2rem + env(safe-area-inset-bottom)); text-align: center; font-size: .75rem; color: var(--muted); }

@media (max-width: 61.99rem) {
  .request-layout { grid-template-columns: minmax(0, 1fr); max-width: 36rem; }
  .request-intro > p { max-width: 60ch; }
}
@media (max-width: 44rem) {
  .link-hub { padding-top: calc(1rem + env(safe-area-inset-top)); }
  .hub-identity { padding: 1.1rem; }
  .hub-photo { height: 15rem; }
  .hub-description span { font-size: .875rem; }
  .hub-links a { min-height: 4.6rem; }
  .day-options { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.course .institution-mark-wide { width: min(15rem, 100%); height: 5rem; }
.focus-mark { width: 5rem; height: 2.1rem; }


/* Integração com páginas e conteúdos do WordPress. */
.ca-generic { min-height: 50vh; }
.ca-generic > article + article { margin-top: 3rem; }
.ca-entry-title { margin-bottom: 1.5rem; font-size: clamp(2rem, 5vw, 3.5rem); }
.ca-entry-content > * + * { margin-top: 1rem; }
.ca-entry-content ul, .ca-entry-content ol { padding-inline-start: 1.5rem; }
.ca-entry-content a { text-decoration: underline; }
.ca-entry-content .alignwide { max-width: 100%; }
body.admin-bar .skip-link { top: 2.5rem; }
@media (max-width: 782px) { body.admin-bar .skip-link { top: 3.4rem; } }
