/*
Theme Name: Frois Advocacia — Prévia 5.0.0
Author: Frois Advocacia
Description: Prévia da reformulação da Frois Advocacia.
Version: 5.0.0
Requires at least: 6.5
Tested up to: 7.1
Requires PHP: 8.1
Text Domain: frois-advocacia
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

:root {
  --frois-ink: #162d3e;
  --frois-ink-soft: #526777;
  --frois-green: #315f7d;
  --frois-green-deep: #12334d;
  --frois-green-pale: #eaf1f6;
  --frois-coral: #4f86a6;
  --frois-coral-dark: #2e6687;
  --frois-sand: #f2f6f9;
  --frois-paper: #fbfdff;
  --frois-white: #ffffff;
  --frois-line: #d8e2e9;
  --frois-line-dark: rgba(255, 255, 255, 0.17);
  --frois-container: 76rem;
  --frois-reading: 46rem;
  --frois-serif: Georgia, "Times New Roman", serif;
  --frois-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, Helvetica, Arial, sans-serif;
  --frois-radius: 0.55rem;
  --frois-shadow: 0 1rem 2.5rem rgba(18, 51, 77, 0.1);
  --frois-transition: 170ms ease;
}

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

html {
  scroll-behavior: smooth;
  text-size-adjust: 100%;
}

body {
  background: var(--frois-paper);
  color: var(--frois-ink);
  font-family: var(--frois-sans);
  font-size: 1rem;
  line-height: 1.62;
  margin: 0;
  overflow-wrap: break-word;
}

img,
svg,
video,
iframe {
  display: block;
  height: auto;
  max-width: 100%;
}

a {
  color: var(--frois-green);
  text-decoration-color: rgba(49, 95, 125, 0.35);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--frois-coral-dark);
  text-decoration-color: currentColor;
}

:where(a, button, input, textarea, select, summary):focus-visible {
  outline: 3px solid #39799c;
  outline-offset: 3px;
}

button,
input,
textarea,
select {
  color: inherit;
  font: inherit;
}

button,
summary {
  cursor: pointer;
}

::selection {
  background: #dceaf3;
  color: var(--frois-green-deep);
}

.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}

.screen-reader-text:focus {
  background: var(--frois-white);
  border: 2px solid var(--frois-green);
  clip: auto !important;
  clip-path: none;
  color: var(--frois-ink);
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  height: auto;
  left: 1rem;
  padding: 0.8rem 1rem;
  top: 1rem;
  width: auto;
  z-index: 100000;
}

.site-container {
  margin-inline: auto;
  max-width: var(--frois-container);
  padding-inline: clamp(1.1rem, 4vw, 2.2rem);
  width: 100%;
}

.site-main {
  min-height: 55vh;
}

.section-space {
  padding-block: clamp(4rem, 8vw, 7.25rem);
  scroll-margin-top: 6rem;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--frois-ink);
  font-family: var(--frois-sans);
  font-weight: 720;
  line-height: 1.14;
  margin-block: 0 0.65em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.65rem, 5.8vw, 4.65rem);
  letter-spacing: -0.045em;
}

h2 {
  font-size: clamp(1.95rem, 3.8vw, 3.15rem);
  letter-spacing: -0.035em;
}

h3 {
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  letter-spacing: -0.02em;
}

p {
  margin-block: 0 1.2rem;
}

.eyebrow,
.section-kicker,
.entry-meta,
.article-index__meta,
.post-card__meta,
.entry-byline,
.breadcrumbs {
  color: var(--frois-ink-soft);
  font-family: var(--frois-sans);
  font-size: 0.7rem;
  font-weight: 780;
  letter-spacing: 0.085em;
  text-transform: uppercase;
}

.eyebrow,
.section-kicker {
  margin: 0 0 1.1rem;
}

.eyebrow span {
  color: var(--frois-coral);
  margin-inline: 0.45rem;
}

.section-kicker {
  color: var(--frois-coral-dark);
}

.section-kicker--light {
  color: #b7d2e2;
}

.button,
.wp-element-button,
.wp-block-button__link {
  align-items: center;
  background: var(--frois-green-deep);
  border: 1px solid var(--frois-green-deep);
  border-radius: 0.35rem;
  color: var(--frois-white);
  display: inline-flex;
  font-family: var(--frois-sans);
  font-size: 0.78rem;
  font-weight: 760;
  gap: 0.55rem;
  justify-content: center;
  letter-spacing: 0.005em;
  min-height: 3rem;
  padding: 0.75rem 1.3rem;
  text-decoration: none;
}

.button:hover,
.wp-element-button:hover,
.wp-block-button__link:hover {
  background: var(--frois-green);
  border-color: var(--frois-green);
  color: var(--frois-white);
}

.button--small {
  min-height: 2.6rem;
  padding: 0.55rem 1.05rem;
}

.button--light {
  background: var(--frois-white);
  border-color: var(--frois-white);
  color: var(--frois-green-deep);
}

.button--light:hover {
  background: var(--frois-sand);
  border-color: var(--frois-sand);
  color: var(--frois-green-deep);
}

.text-link {
  align-items: center;
  color: var(--frois-green);
  display: inline-flex;
  font-size: 0.82rem;
  font-weight: 760;
  gap: 0.45rem;
  text-decoration: none;
}

.text-link::after {
  background: currentColor;
  content: "";
  height: 1px;
  transition: width var(--frois-transition);
  width: 1.6rem;
}

.text-link:hover::after {
  width: 2.5rem;
}

/* Header */
.site-header {
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--frois-line);
  color: var(--frois-ink);
  position: sticky;
  top: 0;
  z-index: 80;
}

.admin-bar .site-header {
  top: 32px;
}

.utility-bar {
  background: var(--frois-green-deep);
  color: rgba(255, 255, 255, 0.74);
}

.utility-bar__inner {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  font-size: 0.66rem;
  font-weight: 680;
  gap: 0.25rem 1rem;
  justify-content: space-between;
  letter-spacing: 0.045em;
  min-height: 2.05rem;
  padding-block: 0.35rem;
}

.utility-bar p {
  margin: 0;
}

.utility-bar p:first-child {
  color: var(--frois-white);
}

.utility-bar span {
  color: #b7d2e2;
  margin-inline: 0.35rem;
}

.header-main {
  align-items: center;
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(0, 1fr) auto auto;
  min-height: 4.6rem;
}

.site-brand {
  align-items: baseline;
  color: var(--frois-green-deep);
  display: inline-flex;
  gap: 0.5rem;
  line-height: 1;
  text-decoration: none;
}

.site-brand:hover {
  color: var(--frois-green-deep);
}

.site-brand__name {
  font-family: var(--frois-sans);
  font-size: 1.42rem;
  font-weight: 850;
  letter-spacing: -0.045em;
}

.site-brand__descriptor {
  border-left: 1px solid var(--frois-line);
  color: var(--frois-ink-soft);
  font-family: var(--frois-sans);
  font-size: 0.98rem;
  font-style: italic;
  padding-left: 0.5rem;
}

.custom-logo {
  max-height: 3.1rem;
  width: auto;
}

.desktop-navigation,
.header-actions {
  display: none;
}

.header-blog-link {
  align-items: center;
  border: 1px solid var(--frois-line);
  border-radius: 0.35rem;
  color: var(--frois-ink);
  display: inline-flex;
  font-size: 0.7rem;
  font-weight: 780;
  justify-content: center;
  padding: 0.55rem 0.8rem;
  text-decoration: none;
  text-transform: uppercase;
}

.header-blog-link:hover {
  border-color: var(--frois-green);
  color: var(--frois-green);
}

.menu,
.footer-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-navigation {
  position: relative;
}

.mobile-navigation summary {
  align-items: center;
  display: flex;
  font-size: 0.72rem;
  font-weight: 780;
  gap: 0.55rem;
  list-style: none;
  text-transform: uppercase;
}

.mobile-navigation summary::-webkit-details-marker {
  display: none;
}



.menu-icon,
.menu-icon::before,
.menu-icon::after {
  background: currentColor;
  display: block;
  height: 1.5px;
  position: relative;
  transition: transform var(--frois-transition);
  width: 1.15rem;
}

.menu-icon::before,
.menu-icon::after {
  content: "";
  position: absolute;
}

.menu-icon::before { top: -0.34rem; }
.menu-icon::after { top: 0.34rem; }
.mobile-navigation[open] .menu-icon { background: transparent; }
.mobile-navigation[open] .menu-icon::before { top: 0; transform: rotate(45deg); }
.mobile-navigation[open] .menu-icon::after { top: 0; transform: rotate(-45deg); }

.mobile-navigation__panel {
  background: var(--frois-white);
  border: 1px solid var(--frois-line);
  border-radius: var(--frois-radius);
  box-shadow: var(--frois-shadow);
  min-width: min(21rem, calc(100vw - 2.2rem));
  padding: 0.75rem;
  position: absolute;
  right: 0;
  top: calc(100% + 1.15rem);
}

.mobile-navigation .menu a {
  border-bottom: 1px solid var(--frois-line);
  color: var(--frois-ink);
  display: block;
  font-size: 0.9rem;
  font-weight: 680;
  padding: 0.8rem 0.5rem;
  text-decoration: none;
}

.mobile-navigation .button {
  margin-top: 0.75rem;
  width: 100%;
}

/* Home */
.portal-hero {
  background: var(--frois-paper);
  border-bottom: 1px solid var(--frois-line);
  padding-block: clamp(3.4rem, 7vw, 6.75rem);
}

.portal-hero__grid {
  display: grid;
  gap: clamp(2.25rem, 6vw, 5.5rem);
}

.portal-hero__copy {
  align-self: center;
}

.portal-hero h1 {
  color: var(--frois-ink);
  margin-bottom: 0.35em;
  max-width: 13ch;
}

.portal-hero__intro {
  color: var(--frois-ink-soft);
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  line-height: 1.72;
  max-width: 39rem;
}

.portal-hero__actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.4rem;
  margin-top: 2rem;
}

.portal-hero__actions .button {
  line-height: 1.3;
  max-width: 100%;
  text-align: center;
}

.hero-institutional {
  align-self: stretch;
  min-width: 0;
}

.hero-institutional__media {
  background: var(--frois-green-deep);
  border-radius: 0.55rem;
  box-shadow: var(--frois-shadow);
  height: 100%;
  margin: 0;
  min-height: clamp(21rem, 40vw, 32rem);
  overflow: hidden;
  position: relative;
}

.hero-institutional__media::after {
  background: linear-gradient(180deg, rgba(18, 51, 77, 0.02) 38%, rgba(18, 51, 77, 0.72) 100%);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.hero-institutional__media--portrait::after {
  display: none;
}

.hero-institutional__media img {
  height: 100%;
  object-fit: cover;
  object-position: 54% center;
  width: 100%;
}

.hero-institutional__media--portrait img {
  object-position: center 35%;
}

.hero-institutional__media figcaption {
  background: rgba(18, 51, 77, 0.78);
  border-radius: 999px;
  bottom: 1rem;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.62rem;
  font-weight: 750;
  left: 1.15rem;
  letter-spacing: 0.04em;
  padding: 0.32rem 0.6rem;
  position: absolute;
  z-index: 1;
}

.question-panel {
  align-items: center;
  background: var(--frois-green-deep);
  border-radius: 1.15rem;
  box-shadow: var(--frois-shadow);
  color: rgba(255, 255, 255, 0.73);
  display: grid;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  grid-column: 1 / -1;
  padding: clamp(1.6rem, 4vw, 2.8rem);
}

.discovery-panel {
  background: var(--frois-green-deep);
  padding-block: 0.75rem;
}

.discovery-panel .question-panel {
  box-shadow: none;
  padding: 1.5rem;
}

.question-panel__intro > :last-child {
  margin-bottom: 0;
}

.question-panel__tools {
  min-width: 0;
}

.question-panel__label {
  color: #b7d2e2;
  font-size: 0.68rem;
  font-weight: 780;
  letter-spacing: 0.105em;
  text-transform: uppercase;
}

.question-panel h2 {
  color: var(--frois-white);
  font-size: clamp(2rem, 3.5vw, 3rem);
  margin-bottom: 0.35em;
}

.portal-search {
  align-items: stretch;
  background: var(--frois-white);
  border-radius: 0.55rem;
  display: flex;
  margin-top: 0;
  overflow: hidden;
}

.portal-search input[type="search"] {
  background: transparent;
  border: 0;
  color: var(--frois-ink);
  min-height: 3.65rem;
  min-width: 0;
  padding: 0.8rem 0.95rem;
  width: 100%;
}

.portal-search button {
  background: var(--frois-coral);
  border: 0;
  color: var(--frois-white);
  font-size: 1.35rem;
  min-width: 3.65rem;
}

.portal-search button:hover {
  background: var(--frois-coral-dark);
}

.quick-searches {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 1rem;
}

.quick-searches a {
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.7rem;
  padding: 0.32rem 0.65rem;
  text-decoration: none;
}

.quick-searches a:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--frois-white);
}

.trust-strip {
  background: var(--frois-white);
  border-bottom: 1px solid var(--frois-line);
}

.trust-strip__grid {
  display: grid;
}

.trust-strip p {
  border-bottom: 1px solid var(--frois-line);
  margin: 0;
  padding-block: 1rem;
}

.trust-strip p:last-child {
  border-bottom: 0;
}

.trust-strip span {
  color: var(--frois-ink-soft);
  display: block;
  font-size: 0.62rem;
  font-weight: 760;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.trust-strip strong {
  color: var(--frois-ink);
  font-size: 0.88rem;
}

.practice-section {
  background: var(--frois-sand);
}

.practice-grid {
  display: grid;
  gap: 0.85rem;
}

.practice-card {
  background: var(--frois-white);
  border: 1px solid var(--frois-line);
  border-top: 3px solid var(--frois-coral);
  border-radius: var(--frois-radius);
  min-height: 13rem;
  padding: clamp(1.25rem, 2.4vw, 1.8rem);
}

.practice-card__number {
  color: var(--frois-coral-dark);
  font-size: 0.68rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  margin-bottom: 1.3rem;
}

.practice-card h3 {
  color: var(--frois-green-deep);
  margin-bottom: 0.55rem;
}

.practice-card > p:last-child {
  color: var(--frois-ink-soft);
  font-size: 0.92rem;
  line-height: 1.65;
  margin-bottom: 0;
  max-width: 29rem;
}

.featured-story {
  background: var(--frois-paper);
  padding-block: clamp(4rem, 8vw, 7rem);
}

.featured-story__grid {
  background: var(--frois-white);
  border: 1px solid var(--frois-line);
  border-radius: var(--frois-radius);
  display: grid;
  overflow: hidden;
}

.featured-story__media {
  background: var(--frois-green-pale);
  min-height: 17rem;
  overflow: hidden;
}

.featured-story__media img {
  height: 100%;
  object-fit: cover;
  transition: transform 300ms ease;
  width: 100%;
}

.featured-story__media:hover img {
  transform: scale(1.025);
}

.featured-story__media--empty,
.article-card__media--empty {
  background:
    linear-gradient(135deg, transparent 48%, rgba(255,255,255,.25) 48% 52%, transparent 52%),
    radial-gradient(circle at 25% 35%, rgba(79, 134, 166, 0.32), transparent 18%),
    var(--frois-green);
}

.featured-story__copy {
  align-self: center;
  padding: clamp(1.6rem, 4.5vw, 3.7rem);
}

.entry-meta,
.article-index__meta,
.post-card__meta,
.entry-byline {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0 0 1rem;
}

.entry-meta a,
.article-index__meta a,
.post-card__meta a {
  color: var(--frois-coral-dark);
  text-decoration: none;
}

.featured-story h2 {
  font-size: clamp(2rem, 4vw, 3.65rem);
}

.featured-story h2 a,
.article-card h3 a,
.article-index__item h2 a,
.post-card h2 a {
  color: inherit;
  text-decoration: none;
}

.featured-story__excerpt,
.article-card__excerpt,
.article-index__excerpt,
.post-card__excerpt {
  color: var(--frois-ink-soft);
}

.featured-story__excerpt p,
.article-card__excerpt p,
.article-index__excerpt p,
.post-card__excerpt p {
  margin-bottom: 0;
}

.section-heading {
  margin-bottom: clamp(2rem, 5vw, 3.7rem);
}

.section-heading h2 {
  margin-bottom: 0;
  max-width: 14ch;
}

.section-heading--split {
  display: grid;
  gap: 1.2rem;
}

.section-heading--split > p {
  align-self: end;
  color: var(--frois-ink-soft);
  margin: 0;
  max-width: 34rem;
}

.section-heading--compact h2 {
  max-width: 18ch;
}

.section-heading--row {
  align-items: end;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: space-between;
}

.topic-section {
  background: var(--frois-green-pale);
}

.answer-grid {
  display: grid;
  gap: 1.1rem;
}

.answer-card {
  border: 1px solid rgba(18, 51, 77, 0.09);
  border-radius: var(--frois-radius);
  background: var(--frois-white);
  box-shadow: 0 0.75rem 2rem rgba(18, 51, 77, 0.045);
  display: flex;
  flex-direction: column;
  min-height: 20rem;
  overflow: hidden;
  padding: clamp(1.35rem, 2.8vw, 1.85rem);
  position: relative;
}

.answer-card::before {
  background: var(--frois-coral);
  content: "";
  height: 0.24rem;
  inset: 0 0 auto;
  position: absolute;
}

.answer-card__topic {
  align-self: flex-start;
  background: var(--frois-sand);
  border-radius: 999px;
  color: var(--frois-green-deep);
  font-size: 0.66rem;
  font-weight: 780;
  margin: 0.35rem 0 1.1rem;
  padding: 0.25rem 0.65rem;
}

.answer-card h3 {
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  margin-bottom: 0.7rem;
}

.answer-card > p:not(.answer-card__topic) {
  color: var(--frois-ink-soft);
  font-size: 0.91rem;
}

.answer-card__start {
  border-top: 1px solid var(--frois-line);
  display: grid;
  gap: 0.25rem;
  margin-top: auto;
  padding-top: 0.85rem;
}

.answer-card__start strong {
  color: var(--frois-coral-dark);
  font-size: 0.72rem;
}

.answer-card__start span {
  color: var(--frois-ink-soft);
  font-size: 0.83rem;
  line-height: 1.45;
}

.questions-contact {
  align-items: center;
  background: var(--frois-green-deep);
  border-radius: var(--frois-radius);
  color: var(--frois-white);
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1.5rem;
  justify-content: space-between;
  margin-top: 1.1rem;
  padding: 1rem 1.3rem;
}

.questions-contact p {
  margin: 0;
}

.questions-contact .text-link {
  color: #d5e9f4;
  font-weight: 750;
  text-decoration-color: currentColor;
}

.articles-section {
  background: var(--frois-paper);
}

.article-grid {
  display: grid;
  gap: 1.15rem;
}

.article-card {
  background: var(--frois-white);
  border: 1px solid var(--frois-line);
  border-radius: var(--frois-radius);
  overflow: hidden;
}

.article-card__media {
  background: var(--frois-green-pale);
  display: block;
  min-height: 12.5rem;
  overflow: hidden;
}

.article-card__media img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  width: 100%;
}

.article-card__content {
  padding: 1.35rem;
}

.article-card h3 {
  margin-bottom: 0.55rem;
}

.article-card__read {
  color: var(--frois-green);
  display: inline-flex;
  font-size: 0.78rem;
  font-weight: 760;
  gap: 0.4rem;
  margin-top: 1.15rem;
  text-decoration: none;
}

.article-empty {
  align-items: center;
  background: var(--frois-sand);
  border-left: 0.3rem solid var(--frois-coral);
  display: grid;
  gap: 1rem 3rem;
  padding: clamp(1.5rem, 4vw, 2.6rem);
}

.article-empty__label {
  color: var(--frois-coral-dark);
  font-size: 0.68rem;
  font-weight: 780;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.article-empty h3,
.article-empty p {
  margin-bottom: 0;
}

.article-empty > p {
  color: var(--frois-ink-soft);
  max-width: 36rem;
}

.article-empty > div:last-child > p {
  color: var(--frois-ink-soft);
  margin-bottom: 0.8rem;
  max-width: 36rem;
}

.process-section {
  background: var(--frois-green-deep);
  color: rgba(255, 255, 255, 0.72);
}

.process-section__grid {
  display: grid;
  gap: clamp(2.5rem, 8vw, 7rem);
}

.process-section h2,
.process-section h3 {
  color: var(--frois-white);
}

.process-section__intro {
  align-self: start;
}

.process-section__intro > p:last-child {
  max-width: 34rem;
}

.process-list {
  border-top: 1px solid var(--frois-line-dark);
  list-style: none;
  margin: 0;
  padding: 0;
}

.process-list li {
  border-bottom: 1px solid var(--frois-line-dark);
  display: grid;
  gap: 1.1rem;
  grid-template-columns: 2rem minmax(0, 1fr);
  padding-block: 1.45rem;
}

.process-list > li > span {
  color: #b7d2e2;
  font-size: 0.7rem;
  font-weight: 780;
  padding-top: 0.25rem;
}

.process-list h3 {
  font-family: var(--frois-sans);
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
}

.process-list p {
  font-size: 0.9rem;
  margin-bottom: 0;
}

.profile-section {
  background: var(--frois-sand);
}

.profile-section__grid {
  display: grid;
  gap: clamp(2rem, 7vw, 6rem);
}

.profile-mark {
  align-items: center;
  aspect-ratio: 1;
  background:
    linear-gradient(145deg, rgba(255,255,255,.11), transparent 55%),
    var(--frois-green);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  max-width: 22rem;
  width: 78%;
}

.profile-mark span {
  color: rgba(255,255,255,.86);
  font-family: var(--frois-serif);
  font-size: clamp(4.5rem, 12vw, 8rem);
  letter-spacing: -0.09em;
}

.profile-section__copy {
  align-self: center;
}

.profile-section__copy h2 {
  max-width: 12ch;
}

.profile-section__lead {
  color: var(--frois-green);
  font-family: var(--frois-sans);
  font-size: clamp(1.08rem, 1.7vw, 1.25rem);
  font-weight: 650;
  line-height: 1.6;
}

.profile-registration {
  border-top: 1px solid var(--frois-line);
  color: var(--frois-ink-soft);
  font-size: 0.75rem;
  letter-spacing: 0.07em;
  margin: 2rem 0 0;
  padding-top: 1rem;
  text-transform: uppercase;
}

.profile-registration strong {
  color: var(--frois-ink);
  font-size: 1rem;
  margin-left: 0.35rem;
}

.contact-section {
  background: var(--frois-green-deep);
  color: rgba(255,255,255,.82);
  padding-block: clamp(3.8rem, 8vw, 6.5rem);
  scroll-margin-top: 6rem;
}

.contact-section__inner {
  display: grid;
  gap: clamp(2rem, 7vw, 6rem);
}

.contact-section h2 {
  color: var(--frois-white);
  max-width: 13ch;
}

.contact-section__action {
  align-self: end;
}

.contact-section__action > p:first-child {
  font-size: clamp(1rem, 1.4vw, 1.12rem);
  line-height: 1.7;
}

.contact-section__note {
  border-top: 1px solid rgba(255,255,255,.3);
  font-size: 0.75rem;
  margin: 1.6rem 0 0;
  padding-top: 0.8rem;
}

.whatsapp-dock {
  align-items: center;
  background: var(--frois-green-deep);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  bottom: 1.25rem;
  box-shadow: 0 0.9rem 2.8rem rgba(11, 21, 29, 0.24);
  color: var(--frois-white);
  display: flex;
  font-size: 0.78rem;
  font-weight: 760;
  gap: 0.65rem;
  letter-spacing: 0.01em;
  min-height: 3.15rem;
  padding: 0.7rem 1.15rem;
  position: fixed;
  right: 1.25rem;
  text-decoration: none;
  transition: background var(--frois-transition), transform var(--frois-transition), box-shadow var(--frois-transition);
  z-index: 120;
}

.whatsapp-dock:hover {
  background: var(--frois-green);
  box-shadow: 0 1.1rem 3.2rem rgba(11, 21, 29, 0.3);
  color: var(--frois-white);
  transform: translateY(-2px);
}

.whatsapp-dock__signal {
  background: #b7d2e2;
  border: 2px solid rgba(255, 255, 255, 0.82);
  border-radius: 50%;
  box-shadow: 0 0 0 0.22rem rgba(79, 134, 166, 0.2);
  height: 0.72rem;
  width: 0.72rem;
}

.admin-note {
  background: rgba(255,255,255,.13);
  border-radius: 0.4rem;
  font-size: 0.78rem;
  padding: 0.8rem;
}

/* Blog, search, archives and articles */
.page-hero {
  background: var(--frois-sand);
  border-bottom: 1px solid var(--frois-line);
  padding-block: clamp(3.5rem, 7vw, 6rem);
}

.page-hero__inner {
  max-width: 62rem;
}

.page-hero h1 {
  color: var(--frois-green-deep);
  font-size: clamp(2.7rem, 6vw, 4.8rem);
  margin-bottom: 0.35em;
}

.page-hero .lead {
  color: var(--frois-ink-soft);
  font-size: clamp(1.02rem, 1.5vw, 1.2rem);
  line-height: 1.7;
  max-width: 42rem;
}

.breadcrumbs {
  margin-bottom: 1.3rem;
}

.breadcrumbs a {
  color: var(--frois-ink-soft);
}

.archive-layout,
.content-shell {
  padding-block: clamp(3.5rem, 8vw, 6.5rem);
}

.content-search {
  background: var(--frois-green-pale);
  border-radius: var(--frois-radius);
  margin-bottom: 2.5rem;
  padding: clamp(1rem, 3vw, 1.5rem);
}

.content-search > label {
  color: var(--frois-green-deep);
  font-size: 0.78rem;
  margin-bottom: 0.55rem;
}

.content-search__row {
  display: grid;
  gap: 0.65rem;
  grid-template-columns: minmax(0, 1fr) auto;
}

.content-search__row input[type="search"] {
  background: var(--frois-white);
  min-width: 0;
}

.article-index,
.posts-grid {
  border-top: 2px solid var(--frois-green-deep);
}

.article-index__item,
.post-card {
  border-bottom: 1px solid var(--frois-line);
  display: grid;
  gap: 0.7rem;
  padding-block: clamp(1.6rem, 4vw, 2.3rem);
}

.article-index__item h2,
.post-card h2 {
  font-size: clamp(1.55rem, 3vw, 2.35rem);
  margin: 0;
}

.article-index__item .text-link,
.post-card .text-link {
  justify-self: start;
}

.entry-byline {
  border-top: 1px solid var(--frois-line);
  margin-top: 2rem;
  padding-top: 1rem;
}

.entry-content {
  font-family: var(--frois-serif);
  font-size: clamp(1.08rem, 1.7vw, 1.18rem);
  line-height: 1.75;
  margin-inline: auto;
  max-width: var(--frois-reading);
}

.entry-content > * {
  margin-block-start: 0;
}

.entry-content > * + * {
  margin-block-start: 1.45rem;
}

.entry-content > h2,
.entry-content > h3,
.entry-content > h4 {
  margin-block-start: 2.35em;
}

.entry-content > h2 {
  font-size: clamp(1.8rem, 3vw, 2.45rem);
}

.entry-content > h3 {
  font-size: clamp(1.4rem, 2.4vw, 1.8rem);
}

.entry-content .alignwide {
  margin-left: 50%;
  max-width: min(var(--frois-container), calc(100vw - 2rem));
  transform: translateX(-50%);
  width: var(--frois-container);
}

.entry-content .alignfull {
  margin-left: 50%;
  max-width: none;
  transform: translateX(-50%);
  width: 100vw;
}

.entry-content blockquote,
.wp-block-quote {
  background: var(--frois-green-pale);
  border-left: 0.25rem solid var(--frois-green);
  color: var(--frois-green-deep);
  font-size: 1.25rem;
  margin-inline: 0;
  padding: 1.2rem 1.4rem;
}

.entry-content ul,
.entry-content ol {
  padding-left: 1.4rem;
}

.entry-content li + li {
  margin-top: 0.5rem;
}

.entry-content table {
  border-collapse: collapse;
  display: block;
  font-family: var(--frois-sans);
  font-size: 0.9rem;
  overflow-x: auto;
  width: 100%;
}

.entry-content th,
.entry-content td {
  border: 1px solid var(--frois-line);
  padding: 0.75rem;
  text-align: left;
}

.entry-content th {
  background: var(--frois-green-pale);
}

.article-utility {
  background: var(--frois-green-pale);
  border-radius: var(--frois-radius);
  font-family: var(--frois-sans);
  margin: 0 auto 2.5rem;
  max-width: var(--frois-reading);
  padding: 1.25rem;
}

.article-utility strong {
  display: block;
  margin-bottom: 0.3rem;
}

.article-cta {
  background: var(--frois-green-deep);
  border-radius: var(--frois-radius);
  color: rgba(255,255,255,.74);
  margin: 3rem auto 0;
  max-width: var(--frois-reading);
  padding: clamp(1.4rem, 4vw, 2.2rem);
}

.article-cta h2 {
  color: var(--frois-white);
  font-size: clamp(1.55rem, 3vw, 2.1rem);
}

.entry-footer,
.post-navigation {
  border-top: 1px solid var(--frois-line);
  color: var(--frois-ink-soft);
  font-size: 0.82rem;
  margin: 2.5rem auto 0;
  max-width: var(--frois-reading);
  padding-top: 1.2rem;
}

.post-navigation .nav-links {
  display: grid;
  gap: 1rem;
}

.post-navigation a {
  display: block;
  font-weight: 700;
}

.pagination {
  margin-top: 3rem;
}

.pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.pagination .page-numbers {
  align-items: center;
  border: 1px solid var(--frois-line);
  border-radius: 50%;
  display: inline-flex;
  justify-content: center;
  min-height: 2.6rem;
  min-width: 2.6rem;
  padding: 0.35rem;
  text-decoration: none;
}

.pagination .current,
.pagination a:hover {
  background: var(--frois-green);
  border-color: var(--frois-green);
  color: var(--frois-white);
}

.empty-posts,
.search-no-results {
  background: var(--frois-sand);
  border-left: 0.25rem solid var(--frois-coral);
  padding: 1.5rem;
}

.not-found {
  margin-inline: auto;
  max-width: 42rem;
  padding-block: clamp(5rem, 12vw, 9rem);
  text-align: center;
}

.not-found__code {
  color: var(--frois-coral);
  font-family: var(--frois-sans);
  font-size: clamp(4rem, 13vw, 7.5rem);
  font-weight: 850;
  line-height: 1;
  margin-bottom: 1rem;
}

/* Forms and core blocks */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="search"],
textarea,
select {
  background: var(--frois-white);
  border: 1px solid #85939e;
  border-radius: 0.35rem;
  min-height: 3rem;
  padding: 0.7rem 0.8rem;
  width: 100%;
}

textarea {
  min-height: 9rem;
  resize: vertical;
}

label {
  display: inline-block;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.wp-block-image figcaption,
.wp-block-gallery figcaption {
  color: var(--frois-ink-soft);
  font-family: var(--frois-sans);
  font-size: 0.8rem;
}

/* Footer */
.site-footer {
  background: var(--frois-green-deep);
  color: rgba(255, 255, 255, 0.62);
}

.site-footer__top {
  display: grid;
  gap: 2.8rem;
  padding-block: clamp(3.8rem, 8vw, 6rem);
}

.site-footer .site-brand {
  color: var(--frois-white);
  margin-bottom: 1.2rem;
}

.site-footer .site-brand__descriptor {
  border-color: rgba(255,255,255,.2);
  color: rgba(255,255,255,.58);
}

.site-footer__about > p {
  max-width: 31rem;
}

.site-footer h2 {
  color: rgba(255,255,255,.48);
  font-family: var(--frois-sans);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.site-footer a {
  color: rgba(255,255,255,.83);
}

.footer-menu li + li {
  margin-top: 0.55rem;
}

.footer-menu a {
  text-decoration: none;
}

.site-footer__legal {
  border-top: 1px solid rgba(255,255,255,.12);
  font-size: 0.72rem;
  padding-block: 1.35rem;
}

.site-footer__legal-inner {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.site-footer__legal p {
  margin: 0;
}

@media (min-width: 36rem) {
  .trust-strip__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .practice-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .trust-strip p {
    border-right: 1px solid var(--frois-line);
    padding-inline: 1rem;
  }

  .trust-strip p:nth-child(2n) {
    border-right: 0;
  }

  .trust-strip p:nth-child(3) {
    border-bottom: 0;
  }

  .trust-strip p:last-child {
    border-right: 0;
    grid-column: 1 / -1;
  }

  .article-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .article-empty,
  .section-heading--split {
    grid-template-columns: minmax(0, 1.2fr) minmax(18rem, 0.8fr);
  }

  .article-index__item,
  .post-card {
    grid-template-columns: 8.8rem minmax(0, 1fr) auto;
  }

  .article-index__excerpt,
  .post-card__excerpt {
    grid-column: 2;
  }

  .article-index__item .text-link,
  .post-card .text-link {
    grid-column: 3;
    grid-row: 1 / span 2;
  }

  .post-navigation .nav-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .post-navigation .nav-next {
    text-align: right;
  }

  .site-footer__top {
    grid-template-columns: 1.5fr 0.7fr 1fr;
  }

  .site-footer__legal-inner {
    align-items: center;
    flex-direction: row;
    justify-content: space-between;
  }
}

@media (min-width: 48rem) {
  .portal-hero__grid,
  .featured-story__grid,
  .process-section__grid,
  .profile-section__grid,
  .contact-section__inner {
    grid-template-columns: minmax(0, 1.1fr) minmax(20rem, 0.9fr);
  }

  .featured-story__media {
    min-height: 30rem;
  }

  .question-panel {
    grid-template-columns: minmax(15rem, 0.8fr) minmax(24rem, 1.2fr);
  }

  .trust-strip__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .trust-strip p,
  .trust-strip p:nth-child(3) {
    border-bottom: 0;
    border-right: 1px solid var(--frois-line);
    grid-column: auto;
    padding: 1.15rem clamp(1rem, 2vw, 1.6rem);
  }

  .trust-strip p:first-child {
    padding-left: 0;
  }

  .trust-strip p:last-child {
    border-right: 0;
    padding-right: 0;
  }

  .answer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 62rem) {
  .answer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .practice-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .header-main {
    grid-template-columns: auto minmax(0, 1fr) auto;
  }

  .desktop-navigation {
    display: block;
    justify-self: center;
  }

  .header-blog-link {
    display: none;
  }

  .desktop-navigation .menu {
    align-items: center;
    display: flex;
    gap: clamp(1rem, 2vw, 1.8rem);
  }

  .desktop-navigation .menu a {
    color: var(--frois-ink);
    font-size: 0.73rem;
    font-weight: 700;
    position: relative;
    text-decoration: none;
  }

  .desktop-navigation .menu a::after {
    background: var(--frois-coral);
    bottom: -0.55rem;
    content: "";
    height: 2px;
    left: 0;
    position: absolute;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--frois-transition);
    width: 100%;
  }

  .desktop-navigation .menu a:hover::after {
    transform: scaleX(1);
  }

  .header-actions {
    align-items: center;
    display: flex;
    gap: 1rem;
  }

  .header-search {
    align-items: center;
    color: var(--frois-ink-soft);
    display: inline-flex;
    font-size: 0.72rem;
    font-weight: 700;
    gap: 0.4rem;
    text-decoration: none;
  }

  .header-search__icon {
    border: 1.5px solid currentColor;
    border-radius: 50%;
    display: block;
    height: 0.85rem;
    position: relative;
    width: 0.85rem;
  }

  .header-search__icon::after {
    background: currentColor;
    bottom: -0.25rem;
    content: "";
    height: 1.5px;
    position: absolute;
    right: -0.23rem;
    transform: rotate(45deg);
    width: 0.38rem;
  }

  .mobile-navigation {
    display: none;
  }

  .article-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 48rem) {
  .admin-bar .site-header {
    top: 46px;
  }

  body {
    padding-bottom: 4.65rem;
  }

  .whatsapp-dock {
    bottom: 0.7rem;
    justify-content: center;
    left: 0.75rem;
    min-height: 3.35rem;
    right: 0.75rem;
  }
}

@media (max-width: 31rem) {
  .utility-bar__inner {
    align-items: flex-start;
    flex-direction: column;
    padding-block: 0.55rem;
  }

  .utility-bar p:first-child {
    display: none;
  }

  .site-brand__descriptor {
    font-size: 0.82rem;
  }

  .portal-hero h1 {
    font-size: clamp(2.7rem, 13vw, 3.45rem);
  }

  .hero-institutional__media {
    min-height: 18rem;
  }
}

/* A more expressive, practical search entry point for everyday questions. */
.topic-section {
  background:
    radial-gradient(ellipse at 92% 2%, rgba(79, 134, 166, 0.16), transparent 27rem),
    linear-gradient(135deg, #f3f7fa 0%, #e9f1f6 100%);
}

.topic-section .section-heading {
  align-items: start;
}

.topic-search-box {
  align-self: stretch;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid #d5e2eb;
  border-left: 4px solid var(--frois-coral);
  border-radius: 0.45rem;
  box-shadow: 0 1rem 2.4rem rgba(18, 51, 77, 0.075);
  padding: clamp(1rem, 2.5vw, 1.45rem);
}

.topic-search-box__lead {
  color: var(--frois-ink-soft);
  font-size: 0.96rem;
  line-height: 1.55;
  margin: 0 0 0.9rem;
}

.topic-search {
  align-items: stretch;
  background: #fff;
  border: 1px solid #b7cbd9;
  border-radius: 0.4rem;
  display: flex;
  min-width: 0;
  overflow: hidden;
  transition: border-color var(--frois-transition), box-shadow var(--frois-transition);
}

.topic-search:focus-within {
  border-color: #39799c;
  box-shadow: 0 0 0 3px rgba(57, 121, 156, 0.14);
}

.topic-search input[type="search"] {
  background: transparent;
  border: 0;
  min-height: 3.3rem;
  min-width: 0;
  padding: 0.7rem 0.85rem;
  width: 100%;
}

.topic-search input[type="search"]:focus-visible {
  outline: 0;
}

.topic-search input[type="search"]::placeholder {
  color: #637989;
  opacity: 1;
}

.topic-search button {
  align-items: center;
  background: var(--frois-green-deep);
  border: 0;
  color: #fff;
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 0.85rem;
  font-weight: 750;
  gap: 0.55rem;
  justify-content: center;
  min-width: 6.4rem;
  padding: 0.65rem 0.9rem;
  transition: background var(--frois-transition);
}

.topic-search button:hover {
  background: #245c7c;
}

.topic-search__suggestions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.85rem;
}

.topic-search__suggestions > span {
  color: var(--frois-ink-soft);
  font-size: 0.72rem;
  font-weight: 680;
  margin-right: 0.15rem;
}

.topic-search__suggestions a {
  background: #edf4f8;
  border: 1px solid #d5e2eb;
  border-radius: 999px;
  color: var(--frois-green-deep);
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.25;
  padding: 0.35rem 0.65rem;
  text-decoration: none;
  transition: background var(--frois-transition), border-color var(--frois-transition), color var(--frois-transition);
}

.topic-search__suggestions a:hover {
  background: #dceaf3;
  border-color: #adc7d8;
  color: #12334d;
}

.answer-card {
  border-color: #d1e0e9;
  box-shadow: 0 0.65rem 1.8rem rgba(18, 51, 77, 0.055);
  transition: border-color var(--frois-transition), box-shadow var(--frois-transition), transform var(--frois-transition);
}

.answer-card:hover {
  border-color: #aac5d6;
  box-shadow: 0 1rem 2.1rem rgba(18, 51, 77, 0.1);
  transform: translateY(-3px);
}

/* A more vivid editorial rhythm while keeping the blue-led identity. */
:root {
  --frois-cobalt: #2e7fbd;
  --frois-cobalt-bright: #398fd0;
  --frois-blue-mist: #e5f1f9;
}

.portal-hero {
  background:
    radial-gradient(ellipse at 87% 12%, rgba(57, 143, 208, 0.2), transparent 24rem),
    linear-gradient(118deg, #ffffff 0%, #f1f8fc 50%, #e2eff8 100%);
}

.portal-hero .eyebrow {
  color: #236b9d;
}

.portal-hero .eyebrow::before {
  background: var(--frois-cobalt-bright);
  content: "";
  display: inline-block;
  height: 0.2rem;
  margin-right: 0.55rem;
  vertical-align: 0.18em;
  width: 1.45rem;
}

.hero-institutional__media {
  box-shadow: 0 1.6rem 3.6rem rgba(18, 51, 77, 0.19);
}

.trust-strip {
  background: linear-gradient(105deg, #12334d 0%, #17496d 100%);
  border-bottom: 3px solid var(--frois-cobalt-bright);
  color: rgba(255, 255, 255, 0.84);
}

.trust-strip p,
.trust-strip p:last-child {
  border-color: rgba(255, 255, 255, 0.18);
}

.trust-strip span {
  color: #b9d9ee;
}

.trust-strip strong {
  color: #ffffff;
}

.practice-section {
  background: linear-gradient(180deg, #f8fbfe 0%, #eef5fa 100%);
}

.practice-card {
  background: #ffffff;
  border: 1px solid #d8e6ef;
  border-top: 3px solid var(--frois-cobalt);
  border-radius: 0.55rem;
  box-shadow: 0 0.8rem 1.8rem rgba(18, 51, 77, 0.07);
  transition: border-color var(--frois-transition), box-shadow var(--frois-transition), transform var(--frois-transition);
}

.practice-card:nth-child(2) {
  border-top-color: #5c9dce;
}

.practice-card:nth-child(3) {
  border-top-color: #81afd0;
}

.practice-card:nth-child(4) {
  border-top-color: #3e86ad;
}

.practice-card__number {
  align-items: center;
  background: var(--frois-blue-mist);
  border-radius: 50%;
  color: #236b9d;
  display: inline-flex;
  height: 2.3rem;
  justify-content: center;
  width: 2.3rem;
}

.practice-card:hover {
  box-shadow: 0 1.2rem 2.4rem rgba(18, 51, 77, 0.13);
  transform: translateY(-4px);
}

.topic-section {
  background:
    radial-gradient(ellipse at 8% 4%, rgba(57, 143, 208, 0.16), transparent 25rem),
    linear-gradient(135deg, #eef6fb 0%, #e2eff8 100%);
}

.answer-card__topic {
  color: #236b9d;
}

.articles-section {
  background: linear-gradient(180deg, #ffffff 0%, #f3f8fc 100%);
}

.article-empty {
  background:
    radial-gradient(ellipse at 92% 0%, rgba(57, 143, 208, 0.35), transparent 21rem),
    linear-gradient(125deg, #12334d 0%, #17496d 100%);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 0.6rem;
  border-left: 0;
  color: rgba(255, 255, 255, 0.84);
  gap: 1.5rem 3rem;
  overflow: hidden;
  position: relative;
}

.article-empty__label {
  color: #a8d5f4;
}

.article-empty h3 {
  color: #ffffff;
  font-size: clamp(1.45rem, 2.5vw, 2rem);
  max-width: 19ch;
}

.article-empty > div:last-child > p {
  color: rgba(255, 255, 255, 0.82);
}

.article-empty__topics {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 0 0 1rem;
}

.article-empty__topics a {
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  color: #ffffff;
  display: inline-flex;
  font-size: 0.78rem;
  font-weight: 720;
  gap: 0.45rem;
  padding: 0.45rem 0.75rem;
  text-decoration: none;
  transition: background var(--frois-transition), border-color var(--frois-transition), transform var(--frois-transition);
}

.article-empty__topics a:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.48);
  transform: translateY(-2px);
}

.article-empty .text-link {
  color: #ffffff;
}

.process-section {
  background:
    radial-gradient(ellipse at 85% 5%, rgba(57, 143, 208, 0.2), transparent 25rem),
    linear-gradient(118deg, #f0f6fa 0%, #e5eff6 100%);
  color: #4f6473;
}

.process-section h2,
.process-section h3 {
  color: var(--frois-ink);
}

.process-section .section-kicker {
  color: #236b9d;
}

.process-list,
.process-list li {
  border-color: #c9dce9;
}

.process-list > li > span {
  align-items: center;
  background: #236b9d;
  border: 2px solid #d7eaf7;
  border-radius: 50%;
  color: #ffffff;
  display: inline-flex;
  height: 2.35rem;
  justify-content: center;
  padding: 0;
  width: 2.35rem;
}

.profile-section {
  background:
    radial-gradient(ellipse at 92% 18%, rgba(57, 143, 208, 0.13), transparent 22rem),
    #f8fbfe;
}

.profile-section__copy {
  border-left: 5px solid var(--frois-cobalt-bright);
}

.profile-section__lead {
  background: var(--frois-blue-mist);
  border-radius: 999px;
  color: #174f77;
  display: inline-flex;
  font-size: 0.9rem;
  font-weight: 760;
  letter-spacing: 0.015em;
  padding: 0.45rem 0.85rem;
}

.search-faq-results {
  background: linear-gradient(145deg, #f2f8fc, #e8f2f8);
  border: 1px solid #d8e6ef;
  border-radius: 0.65rem;
  margin-block: 2rem;
  padding: clamp(1.4rem, 3vw, 2.2rem);
}

.search-faq-results > h2 {
  margin-bottom: 1.4rem;
}

.search-faq-results__grid {
  display: grid;
  gap: 1rem;
}

.search-faq-card {
  background: #ffffff;
  border: 1px solid #d8e6ef;
  border-radius: 0.45rem;
  padding: 1.3rem;
}

.search-faq-card h3 {
  font-family: var(--frois-sans);
  font-size: 1.12rem;
  margin-bottom: 0.55rem;
}

.search-faq-card > p:not(.answer-card__topic) {
  color: var(--frois-ink-soft);
  margin-bottom: 0.75rem;
}

.search-contact {
  align-items: center;
  background: #e6f1f8;
  border-radius: 0.45rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.2rem;
  justify-content: space-between;
  margin-top: 1.4rem;
  padding: 1rem 1.2rem;
}

.search-contact p {
  font-weight: 700;
  margin: 0;
}

.empty-posts--editorial {
  background: linear-gradient(140deg, #edf5fa, #f9fcfe);
  border: 1px solid #d4e4ef;
  border-left: 4px solid var(--frois-cobalt-bright);
  border-radius: 0.55rem;
  display: grid;
  gap: 1.5rem;
  padding: clamp(1.4rem, 3.5vw, 2.3rem);
}

.empty-posts__label {
  color: #236b9d;
  font-size: 0.7rem;
  font-weight: 780;
  letter-spacing: 0.1em;
  margin: 0 0 0.6rem;
  text-transform: uppercase;
}

.empty-posts--editorial h2 {
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  margin-bottom: 0.6rem;
  max-width: 26ch;
}

.empty-posts--editorial p:not(.empty-posts__label) {
  color: var(--frois-ink-soft);
  margin-bottom: 0;
  max-width: 48rem;
}

.empty-posts__topics {
  display: grid;
  gap: 0.65rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.empty-posts__topics a {
  align-items: start;
  background: #ffffff;
  border: 1px solid #d6e5ef;
  border-radius: 0.45rem;
  color: var(--frois-ink);
  display: grid;
  gap: 0.3rem;
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 0.9rem 1rem;
  text-decoration: none;
  transition: border-color var(--frois-transition), box-shadow var(--frois-transition), transform var(--frois-transition);
}

.empty-posts__topics a:hover {
  border-color: #91bad6;
  box-shadow: 0 0.7rem 1.5rem rgba(18, 51, 77, 0.08);
  transform: translateY(-2px);
}

.empty-posts__topics a > span:first-child {
  color: #236b9d;
  font-size: 0.68rem;
  font-weight: 780;
  grid-column: 1 / -1;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.empty-posts__topics strong {
  font-size: 0.9rem;
  line-height: 1.4;
}

.empty-posts__arrow {
  color: var(--frois-cobalt);
  font-size: 1.2rem;
  font-weight: 750;
}

@media (min-width: 48rem) {
  .search-faq-results__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 35rem) {
  .empty-posts__topics {
    grid-template-columns: 1fr;
  }

  .search-contact {
    align-items: stretch;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  .practice-card,
  .article-empty__topics a,
  .empty-posts__topics a {
    transition: none;
  }

  .practice-card:hover,
  .article-empty__topics a:hover,
  .empty-posts__topics a:hover {
    transform: none;
  }
}

@media (max-width: 35rem) {
  .topic-search-box {
    padding: 0.9rem;
  }

  .topic-search button {
    min-width: 3.2rem;
    padding-inline: 0.75rem;
  }

  .topic-search button span:first-child {
    overflow: hidden;
    position: absolute;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    white-space: nowrap;
  }

  .topic-search button span:last-child {
    font-size: 1.2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .answer-card,
  .topic-search,
  .topic-search button,
  .topic-search__suggestions a {
    transition: none;
  }

  .answer-card:hover {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

@media print {
  .site-header,
  .site-footer,
  .contact-section,
  .article-cta,
  .whatsapp-dock {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
    font-size: 11pt;
  }

  a {
    color: #000;
    text-decoration: underline;
  }
}

/* A more editorial, blue-led identity: restrained color, clearer hierarchy. */
h1,
h2,
.featured-story h2,
.post-title,
.article-index__title {
  font-family: var(--frois-serif);
  font-weight: 600;
  letter-spacing: -0.04em;
}

.site-container {
  max-width: 78rem;
}

.utility-bar {
  background: var(--frois-green-deep);
}

.utility-bar span,
.section-kicker--light,
.process-list > li > span {
  color: #b7d2e2;
}

.header-main {
  min-height: 5rem;
}

.site-brand,
.site-brand:hover {
  color: var(--frois-green-deep);
}

.header-blog-link {
  border-radius: 0.25rem;
  color: var(--frois-green-deep);
}

.portal-hero {
  background: linear-gradient(135deg, #f2f6f9 0%, #fbfdff 60%, #ffffff 100%);
  padding-block: clamp(3.25rem, 7vw, 6.5rem);
}

.portal-hero__grid {
  align-items: center;
  gap: clamp(2.5rem, 6.5vw, 6rem);
}

.portal-hero h1 {
  font-size: clamp(3rem, 6vw, 5rem);
  line-height: 1.02;
  max-width: 11ch;
}

.portal-hero__intro {
  color: #40596a;
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  line-height: 1.72;
  max-width: 36rem;
}

.portal-hero__actions {
  gap: 1rem 1.25rem;
}

.hero-institutional__media {
  aspect-ratio: 0.84;
  border: 1px solid rgba(18, 51, 77, 0.12);
  border-radius: 0.35rem;
  box-shadow: 0 1.3rem 3rem rgba(18, 51, 77, 0.13);
  max-height: 39rem;
  min-height: 25rem;
}

.hero-institutional__media--portrait img {
  object-position: center 31%;
}

.trust-strip {
  background: #fff;
}

.trust-strip strong {
  color: var(--frois-green-deep);
}

.practice-section,
.topic-section {
  background: #f1f5f8;
}

.practice-card,
.answer-card,
.article-card {
  border-radius: 0.35rem;
  box-shadow: none;
}

.practice-card {
  border-top-width: 2px;
  min-height: 12rem;
}

.practice-card h3,
.answer-card h3,
.article-card h3 {
  font-family: var(--frois-sans);
}

.discovery-panel {
  background: #fff;
  padding-block: clamp(2.5rem, 5vw, 4rem);
}

.discovery-panel .question-panel {
  border-radius: 0.45rem;
  padding: clamp(1.5rem, 3vw, 2.25rem);
}

.question-panel {
  background: var(--frois-green-deep);
  box-shadow: 0 1rem 2.5rem rgba(18, 51, 77, 0.12);
}

.question-panel__label {
  color: #b7d2e2;
}

.portal-search button {
  background: #39799c;
}

.portal-search button:hover {
  background: #2e6687;
}

.featured-story {
  background: #fff;
}

.featured-story__grid {
  border: 1px solid var(--frois-line);
  border-radius: 0.4rem;
  box-shadow: none;
  overflow: hidden;
}

.topic-section {
  border-block: 1px solid #e2e9ee;
}

.answer-card {
  border-color: #dbe5ec;
}

.answer-card::before {
  height: 2px;
}

.questions-contact {
  background: #e4edf4;
  border: 1px solid #d5e2eb;
  border-radius: 0.35rem;
  color: var(--frois-ink);
}

.questions-contact .text-link {
  color: var(--frois-green-deep);
}

.articles-section,
.profile-section {
  background: #fff;
}

.article-card {
  border-color: var(--frois-line);
}

.article-card__media {
  background: #eaf1f6;
}

.process-section {
  background: #edf3f7;
  color: #4f6473;
}

.process-section h2,
.process-section h3 {
  color: var(--frois-ink);
}

.process-section .section-kicker {
  color: var(--frois-green);
}

.process-list,
.process-list li {
  border-color: #d1dfe8;
}

.profile-section__grid {
  display: block;
  max-width: 62rem;
}

.profile-section__copy {
  border-left: 3px solid var(--frois-coral);
  padding-left: clamp(1.25rem, 3.5vw, 2.5rem);
}

.profile-section__copy > p:not(.section-kicker) {
  max-width: 57ch;
}

.profile-section__lead {
  color: var(--frois-green-deep);
}

.contact-section,
.site-footer {
  background: #12334d;
}

.contact-section .button--light {
  background: #fff;
  border-color: #fff;
  color: #12334d;
}

.contact-section .button--light:hover {
  background: #eaf1f6;
  border-color: #eaf1f6;
}

.whatsapp-dock {
  background: #12334d;
  border-color: rgba(255, 255, 255, 0.28);
}

.whatsapp-dock:hover {
  background: #245c7c;
}

.desktop-navigation .menu a::after {
  background: #4f86a6;
}

:where(a, button, input, textarea, select, summary):focus-visible {
  outline-color: #36799b;
}

@media (min-width: 62rem) {
  .desktop-navigation .menu {
    gap: clamp(0.8rem, 1.5vw, 1.35rem);
  }

  .desktop-navigation .menu a {
    font-size: 0.7rem;
  }
}

@media (max-width: 48rem) {
  body {
    padding-bottom: 1rem;
  }

  .whatsapp-dock {
    bottom: 0.8rem;
    left: auto;
    min-height: 3rem;
    padding: 0.65rem 0.95rem;
    right: 0.8rem;
  }

  .hero-institutional__media {
    aspect-ratio: 0.94;
    max-height: none;
    min-height: 24rem;
  }

  .profile-section__copy {
    padding-left: 1.2rem;
  }
}

@media (max-width: 31rem) {
  .portal-hero h1 {
    font-size: clamp(2.7rem, 12.3vw, 3.4rem);
  }

  .hero-institutional__media {
    min-height: 21rem;
  }
}

/* Compact homepage articles and keep search content inside its panel. */
.hero-institutional__media { height: auto; width: 100%; }
.discovery-panel .question-panel { padding: clamp(1.5rem, 3vw, 2.25rem); gap: 1.5rem; }
.discovery-panel .question-panel h2 { font-size: clamp(1.55rem, 2.4vw, 2rem); line-height: 1.2; max-width: 24ch; }
.discovery-panel .question-panel__intro > p:last-child { font-size: 0.95rem; line-height: 1.55; max-width: 48ch; }
.question-panel__intro, .question-panel__tools, .featured-story__copy, .article-card__content { min-width: 0; }
.featured-story { padding-block: 0.5rem 2rem; }
.featured-story__grid { grid-template-columns: 6rem minmax(0, 1fr); max-width: 54rem; margin-inline: auto; }
.featured-story > .site-container > .section-kicker { max-width: 54rem; margin-inline: auto; }
.featured-story__grid--text { background: linear-gradient(120deg, #f1f7fb, #ffffff); border-left: 3px solid #39799c; grid-template-columns: minmax(0, 1fr); }
.featured-story__copy { padding: 1rem 1.25rem; }
.featured-story__grid--text .featured-story__copy { max-width: 60rem; }
.featured-story h2 { font-size: clamp(1.05rem, 1.6vw, 1.35rem); line-height: 1.3; margin-bottom: 0.5rem; max-width: 48ch; text-wrap: pretty; }
.featured-story__media { min-height: 0; position: relative; }
.featured-story__media img { height: 100%; position: absolute; inset: 0; object-fit: cover; }
.featured-story__excerpt { max-width: 65ch; }
.featured-story__copy > .text-link { margin-top: 0; font-size: 0.85rem; }
.featured-story__copy > .entry-meta { margin-bottom: 0.5rem; font-size: 0.68rem; }
.article-card, .article-card__content { display: flex; flex-direction: column; }
.article-card__content { flex: 1; padding: 1.4rem; }
.article-card h3 { font-size: clamp(1.1rem, 1.5vw, 1.3rem); line-height: 1.35; text-wrap: pretty; }
.article-card__excerpt { font-size: 0.9rem; line-height: 1.6; }
.article-card__read { margin-top: auto; padding-top: 1.1rem; }
.article-card__media { min-height: 0; }
.article-card__media img { aspect-ratio: 16 / 9; }
.article-index__item { grid-template-columns: minmax(0, 1fr); gap: 1.25rem; }
.article-index__media { border-radius: 0.4rem; overflow: hidden; }
.article-index__media img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.article-index__copy { min-width: 0; }
.article-index__copy > .article-index__meta { margin-bottom: 0.65rem; }
.article-index__copy > h2 { font-size: clamp(1.3rem, 2vw, 1.7rem); line-height: 1.25; margin-bottom: 0.65rem; text-wrap: pretty; }
.article-index__copy > .article-index__excerpt { font-size: 0.95rem; margin-bottom: 0.85rem; }
@media (min-width: 48rem) {
  .article-index__item.has-post-thumbnail { align-items: start; grid-template-columns: 13rem minmax(0, 1fr); gap: 1.75rem; }
  .question-panel { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); }
  .featured-story__grid { grid-template-columns: 11rem minmax(0, 1fr); }
  .featured-story__grid--text { grid-template-columns: minmax(0, 1fr); }
}
@media (min-width: 62rem) and (max-width: 73.99rem) {
  .article-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Keep the section accent and interaction details above the theme's final overrides. */
.topic-section {
  background:
    radial-gradient(ellipse at 92% 2%, rgba(79, 134, 166, 0.16), transparent 27rem),
    linear-gradient(135deg, #f3f7fa 0%, #e9f1f6 100%);
}

.answer-card {
  border-color: #d1e0e9;
  box-shadow: 0 0.65rem 1.8rem rgba(18, 51, 77, 0.055);
  transition: border-color var(--frois-transition), box-shadow var(--frois-transition), transform var(--frois-transition);
}

.answer-card:hover {
  border-color: #aac5d6;
  box-shadow: 0 1rem 2.1rem rgba(18, 51, 77, 0.1);
  transform: translateY(-3px);
}

@media (prefers-reduced-motion: reduce) {
  .answer-card {
    transition: none;
  }

  .answer-card:hover {
    transform: none;
  }
}

/* One articles hub: search, three recent posts, and the complete archive. */
.article-hub {
  background: #f2f6f9;
  padding-block: clamp(3rem, 6vw, 5rem);
}
.article-hub__anchor {
  display: block;
  height: 0;
  scroll-margin-top: 8rem;
}
.article-hub__header {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 2rem;
}
.article-hub__header h2 {
  font-size: clamp(1.85rem, 3vw, 2.65rem);
  line-height: 1.16;
  margin: 0 0 0.75rem;
}
.article-hub__header p:not(.section-kicker) {
  color: var(--frois-ink-soft);
  margin: 0;
}
.article-hub__search {
  min-width: 0;
}
.article-hub__search label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 0.55rem;
}
.article-hub__search-row {
  background: #fff;
  border: 1px solid #b8cbd8;
  border-radius: 0.4rem;
  display: flex;
  min-width: 0;
  padding: 0.3rem;
}
.article-hub__search-row input[type="search"] {
  background: transparent;
  border: 0;
  border-radius: 0.2rem;
  flex: 1;
  font-size: 0.95rem;
  min-height: 2.9rem;
  min-width: 0;
  padding: 0.65rem 0.75rem;
  width: 100%;
}
.article-hub__search-row button {
  align-items: center;
  background: var(--frois-green-deep);
  border: 0;
  border-radius: 0.25rem;
  color: #fff;
  display: inline-flex;
  flex-shrink: 0;
  font-size: 0.9rem;
  font-weight: 700;
  gap: 0.6rem;
  min-height: 2.9rem;
  padding: 0.65rem 1rem;
}
.article-hub__search-row button:hover {
  background: var(--frois-green);
}
.article-hub .article-grid {
  grid-template-columns: minmax(0, 1fr);
  gap: 1.5rem;
}
.article-hub .article-card {
  min-width: 0;
}
.article-hub .article-card__content {
  padding: 1.5rem;
}
.article-hub .article-card h3 {
  font-size: clamp(1.15rem, 1.5vw, 1.4rem);
}
.article-hub__all {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}
.article-hub__all .button--outline {
  background: transparent;
  border: 1px solid var(--frois-green-deep);
  color: var(--frois-green-deep);
}
.article-hub__all .button--outline:hover {
  background: var(--frois-green-deep);
  color: #fff;
}
.article-hub__empty {
  background: #fff;
  border: 1px solid var(--frois-line);
  border-radius: var(--frois-radius);
  padding: 1.5rem;
}
@media (min-width: 48rem) {
  .article-hub__header {
    align-items: center;
    gap: 2.5rem;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  .article-hub .article-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 62rem) {
  .article-hub .article-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Keep the archive and search opening compact, with content close at hand. */
:is(.blog, .search, .archive) .page-hero {
  padding-block: clamp(2.5rem, 4vw, 3.5rem);
}
:is(.blog, .search, .archive) .page-hero h1 {
  font-size: clamp(1.9rem, 3.5vw, 3rem);
  line-height: 1.18;
  max-width: 26ch;
}
:is(.blog, .search, .archive) .page-hero .lead {
  font-size: 1rem;
  max-width: 62ch;
}

/* Compact rhythm: bring related sections together without shrinking body copy. */
.site-main > .section-space,
.site-main > .portal-hero,
.site-main > .contact-section {
  padding-block: clamp(2rem, 3.5vw, 3rem);
}
.site-main .section-heading {
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.portal-hero__grid,
.process-section__grid,
.contact-section__inner {
  gap: clamp(1.5rem, 3vw, 2.5rem);
}
.portal-hero__actions {
  margin-top: 1.25rem;
}
.portal-hero__intro {
  margin-bottom: 0;
}
.hero-institutional {
  justify-self: center;
  width: 100%;
}
.hero-institutional__media--portrait {
  aspect-ratio: 4 / 5;
  height: auto;
  margin-inline: auto;
  max-height: none;
  max-width: 17.5rem;
  min-height: 0;
  width: 100%;
}
.trust-strip p {
  padding-block: 0.65rem;
}
.practice-card {
  min-height: 0;
  padding: 1.125rem 1.25rem;
  position: relative;
}
.practice-card__number {
  font-size: 0.62rem;
  height: 1.6rem;
  margin: 0;
  position: absolute;
  right: 1rem;
  top: 1rem;
  width: 1.6rem;
}
.practice-card h3 {
  padding-right: 2rem;
}
.practice-section .section-heading h2 {
  font-size: clamp(1.7rem, 2.8vw, 2.4rem);
  max-width: 26ch;
}
.article-hub__header {
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}
.article-hub .article-grid {
  gap: 1rem;
}
.article-hub .article-card__content {
  padding: 1.125rem;
}
.article-hub .article-card__media img {
  max-height: 11rem;
  object-fit: cover;
}
.article-hub__all {
  margin-top: 1.5rem;
}
.process-section h2,
.contact-section h2 {
  font-size: clamp(1.7rem, 2.8vw, 2.4rem);
  max-width: 25ch;
}
.process-list li {
  gap: 0.85rem;
  padding-block: 0.85rem;
}
.process-section__intro > p:last-child {
  margin-bottom: 0;
}
.profile-section__copy h2 {
  font-size: clamp(1.8rem, 2.8vw, 2.5rem);
  margin-bottom: 0.65rem;
  max-width: none;
}
.profile-section__copy > p:not(.section-kicker) {
  margin-bottom: 0.85rem;
}
.profile-section__copy .profile-registration {
  margin-top: 1.25rem;
  padding-top: 0.75rem;
}
.contact-section__action {
  align-self: center;
}
.contact-section__note {
  margin-top: 1rem;
}
.site-footer__top {
  gap: 1.5rem;
  padding-block: clamp(2rem, 3.5vw, 3rem);
}
.archive-layout {
  padding-block: clamp(1.75rem, 3vw, 2.75rem);
}
.content-search {
  margin-bottom: 1.5rem;
  padding: 1rem;
}
.article-index__item {
  gap: 1rem;
  padding-block: 1.25rem;
}
.article-cta {
  margin-top: 2rem;
}
@media (min-width: 36rem) {
  .trust-strip__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .trust-strip p,
  .trust-strip p:nth-child(3) {
    border-bottom: 0;
    grid-column: auto;
  }
  .article-index__item.has-post-thumbnail {
    align-items: start;
    gap: 1.25rem;
    grid-template-columns: 11rem minmax(0, 1fr);
  }
}
@media (min-width: 36rem) and (max-width: 61.99rem) {
  .article-hub .article-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .article-hub .article-card {
    display: grid;
    grid-template-columns: 11rem minmax(0, 1fr);
  }
  .article-hub .article-card__media {
    align-self: stretch;
    min-height: 0;
    position: relative;
  }
  .article-hub .article-card__media img {
    aspect-ratio: auto;
    height: 100%;
    inset: 0;
    max-height: none;
    position: absolute;
    width: 100%;
  }
}
@media (min-width: 48rem) {
  .hero-institutional {
    justify-self: end;
  }
  .hero-institutional__media--portrait {
    max-width: 22rem;
  }
}

/* Prevent the bottom and top section padding from creating a blank band. */
.site-main > .practice-section {
  padding-bottom: 0.75rem;
}
.site-main > .practice-section + .article-hub {
  padding-top: 0.75rem;
}

/* Visual refinement: a personal institution and an uncluttered editorial hub. */
.site-header { background: #fff; backdrop-filter: none; }
.portal-hero { background: #f8fafc; }
.portal-hero__areas { color: #12334d; font-size: .95rem; font-weight: 650; line-height: 1.65; margin: 0 0 .75rem; max-width: 38rem; }
.portal-hero__intro { max-width: 34rem; }
.trust-strip span { color: #526777; font-size: .7rem; }
.practice-section { background: #eef4f8; }
.practice-grid { gap: 1.25rem; }
.practice-card, .practice-card:nth-child(n) { background: transparent; border: 0; border-top: 2px solid #315f7d; border-radius: 0; box-shadow: none; display: flex; flex-direction: column; padding: 1rem 0 0; transform: none; }
.practice-card:hover { box-shadow: none; transform: none; }
.practice-card h3 { font-size: clamp(1.3rem, 2vw, 1.7rem); padding-right: 0; }
.practice-card > p { color: #40596a; font-size: .95rem; line-height: 1.65; margin-bottom: .5rem; }
.practice-card__link { align-items: center; display: inline-flex; font-size: .86rem; font-weight: 700; gap: .65rem; margin-top: auto; min-height: 2.75rem; padding-block: .4rem; width: fit-content; }
.article-hub { background: #fff; }
.article-hub .article-card { border-color: #d8e2e9; }
.article-hub .article-card h3 { font-family: var(--frois-serif); font-size: clamp(1.25rem, 1.8vw, 1.5rem); font-weight: 600; letter-spacing: -.02em; line-height: 1.25; }
.entry-meta, .article-index__meta { color: #526777; font-size: .72rem; letter-spacing: .06em; }
.process-section { background: #f4f7fa; border-top: 1px solid #d8e2e9; }
.profile-section { background: #12334d; color: #d2e2ed; }
.profile-section__grid { align-items: center; display: grid; gap: clamp(1.5rem, 4vw, 3rem); grid-template-columns: minmax(0, 1fr); max-width: 72rem; }
.profile-section__portrait { aspect-ratio: 4 / 5; border: 1px solid rgba(255,255,255,.18); border-radius: .35rem; margin: 0; max-width: 20rem; overflow: hidden; width: 100%; }
.profile-section__portrait img { height: 100%; object-fit: cover; object-position: center 31%; width: 100%; }
.profile-section__copy { border: 0; padding-left: 0; }
.profile-section .section-kicker { color: #a9cbdf; }
.profile-section__copy h2 { color: #fff; font-size: clamp(1.85rem, 3vw, 2.6rem); max-width: 24ch; }
.profile-section__copy .profile-section__lead { background: transparent; border-radius: 0; color: #fff; display: block; font-size: 1.08rem; font-weight: 600; padding: 0; }
.profile-section__copy > p:not(.section-kicker) { max-width: 60ch; }
.profile-section__copy .profile-registration { border-color: rgba(255,255,255,.2); color: #a9cbdf; }
.profile-registration strong { color: #fff; }
.contact-section { background: #eaf1f6; color: #40596a; }
.contact-section h2 { color: #12334d; }
.contact-section .section-kicker { color: #315f7d; }
.contact-section .button--light { background: #12334d; border-color: #12334d; color: #fff; }
.contact-section .button--light:hover { background: #315f7d; border-color: #315f7d; color: #fff; }
.contact-section .contact-section__note { border-color: #b8cbd8; color: #526777; }
@media (min-width: 36rem) {
  .profile-section__grid { grid-template-columns: minmax(12rem, .7fr) minmax(0, 1.3fr); }
}
@media (min-width: 62rem) {
  .desktop-navigation .menu a { font-size: .85rem; }
  .profile-section__grid { grid-template-columns: minmax(0, 20rem) minmax(0, 1fr); }
}
@media (max-width: 61.99rem) {
  .utility-bar { display: none; }
  .header-main { gap: .6rem 1rem; grid-template-areas: "brand menu" "blog contact"; grid-template-columns: minmax(0, 1fr) auto; min-height: 0; padding-block: .65rem; }
  .header-main__brand { grid-area: brand; }
  .mobile-navigation { grid-area: menu; justify-self: end; }
  .header-blog-link { grid-area: blog; justify-self: start; min-height: 2.75rem; }
  .header-actions { display: flex; grid-area: contact; justify-self: end; }
  .header-actions .button { font-size: .9rem; min-height: 2.75rem; }
  .whatsapp-dock { display: none; }
  body { padding-bottom: 0; }
  .site-main [id], .article-hub__anchor { scroll-margin-top: 9rem; }
}
@media (max-width: 37.5rem) {
  .admin-bar .site-header { top: 0; }
}
@media (max-width: 35.99rem) {
  .profile-section__portrait { display: none; }
  .portal-hero__areas { font-size: .9rem; }
  .portal-hero__intro { font-size: 1rem; line-height: 1.65; }
}


/* Mobile: put credentials with the introduction, not in three oversized blocks. */
.site-brand__descriptor {
  font-style: normal;
  font-weight: 600;
}

.portal-hero__eyebrow-mobile {
  display: none;
}

@media (max-width: 61.99rem) {
  .portal-hero__eyebrow-desktop {
    display: none;
  }

  .portal-hero__eyebrow-mobile {
    display: block;
    font-size: 0.72rem;
    letter-spacing: 0.055em;
    line-height: 1.55;
    max-width: 34rem;
  }

  .trust-strip {
    display: none;
  }

  .site-footer {
    border-top: 3px solid #4f86a6;
  }

  .site-footer__top {
    gap: 0;
    grid-template-columns: minmax(0, 1fr);
    padding-block: 1.6rem 1.4rem;
  }

  .site-footer__about {
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
    order: 0;
    padding-bottom: 1.25rem;
  }

  .site-footer .site-brand {
    margin-bottom: 0;
  }

  .site-footer .site-brand__descriptor {
    color: #d3e2eb;
    font-size: 0.9rem;
  }

  .site-footer__about > p {
    display: none;
  }

  .site-footer__details {
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
    order: 1;
    padding-block: 1.3rem 1.5rem;
  }

  .site-footer__details h2 {
    display: none;
  }

  .site-footer__details p {
    color: #cfdee8;
    font-size: 0.86rem;
    line-height: 1.55;
    margin-bottom: 0.85rem;
  }

  .site-footer__details p strong {
    color: #ffffff;
    font-size: 0.98rem;
  }

  .site-footer__details p:last-child {
    margin-bottom: 0;
  }

  .site-footer__details a {
    align-items: center;
    background: #ffffff;
    border-radius: 0.3rem;
    color: #12334d;
    display: inline-flex;
    font-size: 0.87rem;
    font-weight: 750;
    min-height: 3rem;
    padding: 0.65rem 1rem;
    text-decoration: none;
  }

  .site-footer__details a:hover {
    background: #eaf1f6;
    color: #12334d;
  }

  .site-footer__top nav {
    order: 2;
    padding-top: 1.4rem;
  }

  .site-footer h2 {
    color: #a9c4d4;
    font-size: 0.7rem;
    margin-bottom: 0.65rem;
  }

  .footer-menu {
    display: grid;
    gap: 0.2rem 0.8rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-menu li + li {
    margin-top: 0;
  }

  .footer-menu a {
    align-items: center;
    color: #e1ecf2;
    display: inline-flex;
    font-size: 0.87rem;
    min-height: 2.65rem;
    padding-block: 0.35rem;
  }

  .site-footer__legal {
    padding-block: 0.9rem 1.1rem;
  }

  .site-footer__legal-inner {
    display: block;
  }

  .site-footer__legal p:last-child {
    display: none;
  }
}
/* Small white pause between practice areas and articles on wide screens. */
@media (min-width: 62rem) {
  .site-main > .practice-section + .article-hub {
    padding-top: 1.75rem;
  }
}

/* Editorial navigation and more readable article pages. */
@media (min-width: 36rem) and (max-width: 61.99rem) {
  .header-main {
    grid-template-areas: "brand menu contact";
    grid-template-columns: minmax(0, 1fr) auto auto;
  }
}
@media (max-width: 35.99rem) {
  .header-main {
    grid-template-areas: "brand menu";
    grid-template-columns: minmax(0, 1fr) auto;
    padding-block: .75rem;
  }
  .header-actions { display: none; }
  .whatsapp-dock {
    display: flex;
    justify-content: center;
    left: .75rem;
    right: .75rem;
    bottom: .75rem;
    width: auto;
  }
  body { padding-bottom: 4.5rem; }
  .site-main [id], .article-hub__anchor { scroll-margin-top: 5rem; }
}
.blog-topic-nav {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin: 0 0 1.65rem;
}
.blog-topic-nav a {
  background: #fff;
  border: 1px solid #b8cbd8;
  border-radius: .25rem;
  color: #12334d;
  display: inline-flex;
  font-size: .86rem;
  font-weight: 700;
  min-height: 2.75rem;
  padding: .55rem .85rem;
  text-decoration: none;
}
.blog-topic-nav a:hover, .blog-topic-nav a:focus-visible {
  background: #eaf1f6;
  border-color: #315f7d;
}
.single-post .page-hero { padding-block: clamp(1.5rem, 3vw, 2.5rem); }
.single-post .page-hero__inner { max-width: 53rem; }
.single-post .page-hero h1 {
  font-size: clamp(2.05rem, 4vw, 3.3rem);
  line-height: 1.12;
  max-width: 26ch;
}
.single-post .page-hero .lead { font-size: 1.02rem; line-height: 1.55; }
.single-post .breadcrumbs { margin-bottom: .9rem; }
.single-post .entry-byline { margin-top: 1.15rem; padding-top: .7rem; }
.single-post .content-shell { padding-block: clamp(1.25rem, 3vw, 2.5rem) 3.5rem; }
.single-post .entry-content > h2 { margin-block-start: 1.7em; }
.single-post .article-cta { margin-top: 2rem; }
@media (min-width: 75rem) {
  .article-hub .article-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 62rem) and (max-width: 74.99rem) {
  .article-hub .article-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}


/* Mobile opening: consistent alignment and a closer portrait crop. */
@media (max-width: 47.99rem) {
  .site-main > .portal-hero {
    padding-block: 1.5rem 1.75rem;
  }
  .portal-hero__grid {
    gap: 1.25rem;
    max-width: 32rem;
    padding-inline: 1.25rem;
  }
  .portal-hero__copy { min-width: 0; }
  .portal-hero .portal-hero__eyebrow-mobile {
    color: #526777;
    font-size: .79rem;
    font-weight: 600;
    letter-spacing: .015em;
    line-height: 1.55;
    margin-bottom: .85rem;
    max-width: 100%;
    text-transform: none;
  }
  .portal-hero .portal-hero__eyebrow-mobile::before { display: none; }
  .portal-hero h1 {
    font-size: clamp(2.35rem, 10.4vw, 3rem);
    letter-spacing: -.035em;
    line-height: 1.08;
    margin-bottom: .85rem;
    max-width: 100%;
    text-wrap: balance;
  }
  .portal-hero__areas {
    font-size: clamp(.75rem, 3.3vw, .875rem);
    font-weight: 650;
    letter-spacing: 0;
    line-height: 1.65;
    margin-bottom: .8rem;
    max-width: 100%;
  }
  .portal-hero__intro {
    font-size: .97rem;
    line-height: 1.6;
    max-width: 100%;
  }
  .portal-hero__actions { margin-top: 1.1rem; }
  .portal-hero__actions .button {
    border-radius: .4rem;
    font-size: .86rem;
    min-height: 3.2rem;
    padding-inline: .85rem;
    width: 100%;
  }
  .hero-institutional { justify-self: stretch; }
  .hero-institutional__media--portrait {
    aspect-ratio: 1 / 1.06;
    border-radius: .4rem;
    box-shadow: 0 .75rem 1.8rem rgba(18, 51, 77, .1);
    height: auto;
    margin: 0;
    max-height: 25rem;
    max-width: none;
    min-height: 0;
    width: 100%;
  }
  .hero-institutional__media--portrait img { object-position: center 25%; }
}


/* Group physical attendance locations without displacing the WhatsApp action. */
.contact-section__locations { grid-column: 1 / -1; padding-top: 1rem; border-top: 1px solid #b8cbd8; }
.contact-section__locations > h3 { margin: 0 0 .8rem; color: #315f7d; font-size: .8rem; font-weight: 600; letter-spacing: .02em; line-height: 1.5; }
.contact-section__offices { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; }
.contact-section__office { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.contact-section__office-copy { min-width: 0; }
.contact-section__office h4 { margin: 0; color: #12334d; font-family: var(--frois-font-sans, Arial, sans-serif); font-size: .95rem; font-weight: 700; letter-spacing: 0; line-height: 1.4; }
.contact-section__office address { margin: .4rem 0 0; color: #40596a; font-size: .85rem; font-style: normal; line-height: 1.65; }
.contact-section__office + .contact-section__office { padding-top: 1rem; border-top: 1px solid #c9d8e2; }
.contact-section .contact-section__map { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; min-height: 44px; padding: .4rem .65rem; margin-top: -.3rem; border: 1px solid #b8cbd8; border-radius: .35rem; color: #12334d; font-size: .8rem; font-weight: 700; line-height: 1.5; white-space: nowrap; text-decoration: none; }
.contact-section .contact-section__map:hover { background: #dde9f1; }
.contact-section .contact-section__map:focus-visible { outline: 3px solid #2e86bd; outline-offset: 4px; }
@media (min-width: 48rem) {
  .contact-section__offices { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
  .contact-section__office + .contact-section__office { padding-top: 0; padding-left: 1.5rem; border-top: 0; border-left: 1px solid #c9d8e2; }
}

