/*
Theme Name: Yuliia Blocks
Theme URI: https://yuliiadicherenko.com
Author: Yuliia Dicherenko
Description: A calm, accessible block theme for Yuliia's psychology practice.
Version: 1.11.1
Requires at least: 7.0
Requires PHP: 8.3
Text Domain: yuliia
License: GPL-2.0-or-later
*/

:root {
  --yd-ink: #1f2924;
  --yd-muted: #607067;
  --yd-cream: #f5f1e9;
  --yd-paper: #fcfaf6;
  --yd-sage: #b8c4b5;
  --yd-deep: #30483d;
  --yd-line: rgba(31, 41, 36, 0.17);
  --yd-serif: "Iowan Old Style", "Baskerville", "Times New Roman", serif;
  --yd-sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--yd-ink);
  background: var(--yd-paper);
  font-family: var(--yd-sans);
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-underline-offset: .2em; }
img { max-width: 100%; height: auto; }
button, input, select { font: inherit; }
.wp-site-blocks { padding: 0; }

.yd-site {
  /* WordPress gives a shortcode-rendered root block a default top block-gap.
     The other templates render the shared navigation directly, so normalize
     only this root container to keep the site header aligned everywhere. */
  margin-block-start: 0;
  overflow: clip;
}
.yd-nav {
  box-sizing: border-box;
  width: min(1160px, calc(100% - 40px));
  min-height: 88px;
  margin: 0 auto;
  padding-block: 18px;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 36px;
  border-bottom: 1px solid var(--yd-line);
}
.yd-site > p:empty, .yd-nav > p:empty { display: none; margin: 0; }
.yd-brand { display: flex; min-width: 0; min-height: 44px; justify-content: center; flex-direction: column; text-decoration: none; font-family: var(--yd-serif); font-size: 1.3rem; line-height: 1; }
.yd-brand span { display: block; max-width: 38ch; margin-top: 7px; color: var(--yd-muted); font: 600 .59rem/1.25 var(--yd-sans); letter-spacing: .11em; text-transform: uppercase; }
.yd-nav__links, .yd-languages { display: flex; gap: 24px; font-size: .85rem; }
.yd-nav__links a, .yd-languages a, .yd-languages span { display: inline-flex; box-sizing: border-box; min-height: 44px; align-items: center; }
.yd-nav__links a, .yd-languages a { text-decoration: none; }
.yd-nav__links a:hover, .yd-nav__links a:focus-visible { text-decoration: underline; }
.yd-languages { gap: 10px; }
.yd-languages a, .yd-languages span { min-width: 44px; justify-content: center; }
.yd-languages a:hover, .yd-languages a:focus-visible { text-decoration: underline; }
.yd-languages a, .yd-languages span { color: var(--yd-muted); }
.yd-languages [aria-current="page"] { color: var(--yd-ink); font-weight: 700; }
.yd-languages .yd-language-unavailable { cursor: not-allowed; opacity: .42; }

.yd-hero {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  min-height: min(720px, calc(100svh - 88px));
  display: grid;
  grid-template-columns: 1.12fr .88fr;
  align-items: center;
  gap: clamp(48px, 8vw, 112px);
  padding: clamp(44px, 7vh, 72px) 0 clamp(64px, 9vh, 96px);
}
.yd-eyebrow, .yd-meta {
  color: var(--yd-muted);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.yd-hero h1 {
  max-width: 760px;
  margin: 22px 0 28px;
  overflow-wrap: anywhere;
  font: 400 clamp(2.8rem, 5.25vw, 5.35rem)/.96 var(--yd-serif);
  letter-spacing: -.045em;
  text-wrap: balance;
}
.yd-offers { display: grid; }
.yd-offer {
  grid-area: 1 / 1;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 1.2s ease, transform 1.2s cubic-bezier(.22,1,.36,1), visibility 0s linear 1.2s;
}
.yd-offer.is-active { opacity: 1; visibility: visible; pointer-events: auto; transform: none; transition-delay: 0s; }
.yd-offer__context { margin: -18px 0 32px; }
.yd-offer__context .yd-text-link { font-size: .84rem; font-weight: 650; }
.yd-hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; }
.yd-offer-dots { display: flex; gap: 0; }
.yd-offer-dots button { position: relative; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: transparent; cursor: pointer; }
.yd-offer-dots button::before { position: absolute; top: 50%; left: 50%; width: 9px; height: 9px; border: 1px solid var(--yd-deep); border-radius: 50%; background: transparent; content: ""; transform: translate(-50%, -50%); }
.yd-offer-dots [aria-selected="true"]::before { background: var(--yd-deep); transform: translate(-50%, -50%) scale(1.25); }
.yd-lead { max-width: 650px; margin: 0 0 36px; color: var(--yd-muted); font-size: clamp(1rem, 1.5vw, 1.18rem); }
.yd-button {
  display: inline-flex;
  box-sizing: border-box;
  max-width: 100%;
  min-width: 0;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border: 1px solid var(--yd-deep);
  border-radius: 999px;
  color: #fff;
  background: var(--yd-deep);
  font-weight: 650;
  line-height: 1.25;
  overflow-wrap: anywhere;
  text-align: center;
  text-decoration: none;
  text-wrap: balance;
  white-space: normal;
  cursor: pointer;
}
.yd-button:hover, .yd-button:focus-visible { color: var(--yd-deep); background: transparent; }
.yd-button:disabled { opacity: .55; cursor: not-allowed; }
.yd-portrait { position: relative; margin: 0; }
.yd-portrait::before {
  content: "";
  position: absolute;
  inset: -7% 10% 8% -10%;
  z-index: -1;
  border-radius: 46% 54% 53% 47% / 54% 46% 54% 46%;
  background: #dfe5dc;
}
.yd-portrait img { width: 100%; aspect-ratio: 4/5; border-radius: 48% 48% 42% 42% / 38% 38% 30% 30%; object-fit: cover; object-position: center top; filter: saturate(.78) contrast(.96); }
.yd-portrait figcaption { margin-top: 15px; color: var(--yd-muted); font-size: .75rem; letter-spacing: .1em; text-align: center; text-transform: uppercase; }

.yd-landscape {
  position: relative;
  width: 100%;
  height: clamp(360px, 34vw, 520px);
  margin: 0;
  overflow: hidden;
  color: #fff;
  background: #d8d5c8;
  isolation: isolate;
}
.yd-landscape::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(26,38,32,.35) 0%, rgba(26,38,32,.1) 48%, rgba(26,38,32,.02) 75%);
  pointer-events: none;
}
.yd-landscape__media {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 2.4s cubic-bezier(.22,1,.36,1);
}
.yd-landscape__media.is-active { opacity: 1; }
.yd-landscape__media img { display: block; width: 100%; height: 100%; }
.yd-landscape__media img { object-fit: cover; object-position: center 54%; filter: saturate(.82) contrast(.96); }
.yd-landscape__caption {
  position: absolute;
  left: max(20px, calc((100vw - 1160px)/2));
  bottom: clamp(30px, 5vw, 64px);
  z-index: 2;
  max-width: 560px;
  margin: 0;
  color: rgba(255,255,255,.96);
  text-shadow: 0 2px 18px rgba(24,35,29,.28);
  font: italic 400 clamp(1.35rem, 2.4vw, 2.15rem)/1.32 var(--yd-serif);
  text-wrap: balance;
}
.yd-landscape__caption > span {
  display: block;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 1.1s ease, transform 1.1s cubic-bezier(.22,1,.36,1);
}
.yd-landscape__caption.is-changing > span { opacity: 0; transform: translateY(10px); }
.yd-landscape__pause {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
  display: grid;
  width: 44px;
  height: 44px;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: rgba(255,255,255,.9);
  background: transparent;
  opacity: .2;
  cursor: pointer;
  transition: opacity .25s ease;
}
.yd-landscape__pause > span { display: grid; width: 25px; height: 25px; place-items: center; border: 1px solid rgba(255,255,255,.38); border-radius: 50%; background: rgba(26,38,32,.12); font: 600 10px/1 var(--yd-sans); backdrop-filter: blur(4px); }
.yd-landscape__pause:hover, .yd-landscape__pause:focus-visible { opacity: .9; }
.yd-landscape__pause[aria-pressed="true"] { opacity: .42; }
.yd-landscape__pause[hidden] { display: none; }

.yd-section {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  padding: 112px 0;
  border-top: 1px solid var(--yd-line);
}
.yd-section header { display: grid; grid-template-columns: 130px 1fr; align-items: start; margin-bottom: 48px; }
.yd-section .yd-section-header--carousel { grid-template-columns: 130px minmax(0, 1fr) auto; gap: 20px; }
.yd-section h2, .yd-contact h2 { max-width: 840px; margin: 0; font: 400 clamp(2.5rem, 5vw, 4.8rem)/1.03 var(--yd-serif); letter-spacing: -.035em; }
.yd-about { display: grid; grid-template-columns: 90px 1fr .8fr; gap: clamp(32px, 7vw, 100px); align-items: start; }
.yd-section__number { margin: 0; color: var(--yd-muted); }
.yd-about h2 { margin-bottom: 28px; }
.yd-about > div > p { max-width: 660px; color: var(--yd-muted); font-size: 1.08rem; }
.yd-about blockquote { margin: 8px 0 0; padding: 24px 0 24px 30px; border-left: 1px solid var(--yd-sage); font: italic 400 1.38rem/1.5 var(--yd-serif); }
.yd-method-preview { display: grid; grid-template-columns: 90px minmax(0, 760px); gap: clamp(32px, 7vw, 100px); }
.yd-method-preview h2 { margin: 8px 0 26px; }
.yd-method-preview p:not(.yd-eyebrow) { max-width: 680px; color: var(--yd-muted); font-size: 1.08rem; }
.yd-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.yd-card { display: flex; min-width: 0; min-height: 230px; flex-direction: column; padding: 30px; border: 1px solid var(--yd-line); border-radius: 3px; background: rgba(255,255,255,.35); transition: border-color .3s ease, box-shadow .3s ease, transform .3s ease; }
.yd-card:hover { border-color: rgba(48,72,61,.35); box-shadow: 0 18px 44px rgba(31,41,36,.07); transform: translateY(-3px); }
.yd-card h3 { margin: 0 0 28px; font: 400 1.65rem/1.18 var(--yd-serif); }
.yd-card p { color: var(--yd-muted); }
.yd-card h4 { margin: 24px 0 10px; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; }
.yd-card ul { margin: 0 0 18px; padding-left: 1.15em; color: var(--yd-muted); }
.yd-card li { margin-bottom: 8px; }
.yd-service-meta { margin-top: -12px; font-size: .8rem; font-weight: 700; letter-spacing: .04em; }
.yd-text-button { align-self: flex-start; margin-top: auto; padding: 14px 0 0; border: 0; border-bottom: 1px solid currentColor; color: var(--yd-deep); background: transparent; font-weight: 700; cursor: pointer; }
.yd-card--quiet { grid-column: span 2; min-height: auto; }
.yd-carousel { position: relative; }
.yd-credentials {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  padding: 2px 2px 18px;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-color: var(--yd-sage) transparent;
  scrollbar-width: thin;
}
.yd-credentials article {
  flex: 0 0 clamp(240px, 26vw, 294px);
  box-sizing: border-box;
  padding: 12px;
  border: 1px solid var(--yd-line);
  border-radius: 4px;
  background: #fff;
  scroll-snap-align: start;
  transition: border-color .3s ease, box-shadow .3s ease, transform .3s ease;
}
.yd-credentials article:hover { border-color: rgba(48,72,61,.35); box-shadow: 0 18px 40px rgba(31,41,36,.08); transform: translateY(-3px); }
.yd-credential__image { display: grid; aspect-ratio: 4/3; overflow: hidden; place-items: center; background: var(--yd-cream); }
.yd-credentials img { display: block; width: 100%; aspect-ratio: 4/3; object-fit: contain; transition: transform .25s ease; }
.yd-credential__image--rotate-90 img { transform: rotate(90deg) scale(.72); }
.yd-credential__image--rotate-180 img { transform: rotate(180deg); }
.yd-credential__image--rotate-270 img { transform: rotate(270deg) scale(.72); }
.yd-credential__image:hover img { transform: scale(1.025); }
.yd-credential__image--rotate-90:hover img { transform: rotate(90deg) scale(.74); }
.yd-credential__image--rotate-180:hover img { transform: rotate(180deg) scale(1.025); }
.yd-credential__image--rotate-270:hover img { transform: rotate(270deg) scale(.74); }
.yd-credential__type { margin: 13px 4px 2px; color: var(--yd-muted); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; }
.yd-credentials h3 { min-height: 2.6em; margin: 14px 4px 4px; font: 400 1rem/1.3 var(--yd-serif); }
.yd-credential__meta { min-height: 2.5em; margin: 4px; color: var(--yd-muted); font-size: .72rem; line-height: 1.35; }
.yd-carousel__controls { display: flex; align-items: center; gap: 10px; padding-top: 5px; }
.yd-carousel__status { min-width: 58px; color: var(--yd-muted); font-size: .78rem; text-align: center; }
.yd-carousel__button {
  width: 44px;
  height: 44px;
  border: 1px solid var(--yd-line);
  border-radius: 50%;
  color: var(--yd-ink);
  background: transparent;
  cursor: pointer;
}
.yd-carousel__button:hover, .yd-carousel__button:focus-visible { color: #fff; background: var(--yd-deep); }
.yd-carousel__button:disabled { opacity: .35; cursor: default; }
.yd-section-action { margin: 34px 0 0; text-align: right; }
.yd-button--secondary { color: var(--yd-deep); background: transparent; }
.yd-button--secondary:hover, .yd-button--secondary:focus-visible { color: #fff; background: var(--yd-deep); }
.yd-grid--latest { grid-template-columns: 1fr; }
.yd-latest-article { min-height: 0; display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr); gap: 0; padding: 0; overflow: hidden; background: rgba(255,255,255,.48); }
.yd-latest-article__image { display: block; grid-column: 1; grid-row: 1; min-height: 0; height: 100%; overflow: hidden; background: var(--yd-cream); }
.yd-latest-article__image img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.yd-latest-article__image:hover img { transform: scale(1.025); }
.yd-latest-article > p:empty { display: none; }
.yd-latest-article > div { display: flex; grid-column: 2; grid-row: 1; min-width: 0; justify-content: center; flex-direction: column; padding: clamp(32px, 4.6vw, 58px); }
.yd-latest-article h3 { margin: 10px 0 20px; overflow-wrap: anywhere; font-size: clamp(2rem, 3.35vw, 3.15rem); line-height: 1.04; text-wrap: balance; }
.yd-latest-article > div > p:not(.yd-meta) { max-width: 48ch; margin: 0 0 28px; }
.yd-latest-article .yd-text-link { align-self: flex-start; }

.yd-whisper {
  --yd-whisper-left: 8%;
  --yd-whisper-top: 68%;
  position: fixed;
  top: var(--yd-whisper-top);
  left: var(--yd-whisper-left);
  z-index: 5;
  width: min(300px, calc(100vw - 32px));
  box-sizing: border-box;
  padding: 15px 19px;
  border: 1px solid rgba(48,72,61,.16);
  border-radius: 20px 20px 20px 4px;
  opacity: 0;
  color: var(--yd-deep);
  background: rgba(252,250,246,.94);
  box-shadow: 0 16px 44px rgba(31,41,36,.12);
  font: italic 400 .94rem/1.45 var(--yd-serif);
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 1.2s ease, transform 1.2s cubic-bezier(.22,1,.36,1);
  backdrop-filter: blur(8px);
}
.yd-whisper.is-visible { opacity: 1; transform: none; }
.yd-whisper[hidden] { display: none; }
.yd-contact-dialog { width: min(520px, calc(100% - 28px)); box-sizing: border-box; padding: 42px; border: 1px solid var(--yd-line); border-radius: 8px; color: var(--yd-ink); background: var(--yd-paper); box-shadow: 0 24px 90px rgba(20,31,26,.28); }
.yd-contact-dialog::backdrop { background: rgba(25,37,31,.52); backdrop-filter: blur(4px); }
.yd-contact-dialog h2 { margin: 8px 0 18px; font: 400 2.2rem/1.05 var(--yd-serif); }
.yd-contact-dialog > p:not(.yd-eyebrow, .yd-telegram-contact) { color: var(--yd-muted); }
.yd-dialog-close { position: absolute; top: 14px; right: 16px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: transparent; font-size: 1.65rem; cursor: pointer; }
.yd-telegram-contact { margin: 24px 0; font-weight: 750; }
.yd-contact-action { align-self: center; padding: clamp(28px, 4vw, 42px); border: 1px solid rgba(255,255,255,.22); background: rgba(255,255,255,.06); }
.yd-contact-action h3 { margin: 10px 0 16px; color: #fff; font: 400 clamp(1.8rem, 3.6vw, 2.7rem)/1.08 var(--yd-serif); }
.yd-contact-action > p:not(.yd-eyebrow, .yd-telegram-contact) { max-width: 48ch; color: #d9e1da; }
.yd-contact-action .yd-telegram-contact { color: #fff; }

.yd-credential-library { min-width: 0; }
.yd-credential-summary { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--yd-line); border-bottom: 1px solid var(--yd-line); }
.yd-credential-summary > div { display: grid; gap: 3px; padding: 24px; border-right: 1px solid var(--yd-line); }
.yd-credential-summary > div:last-child { border-right: 0; }
.yd-credential-summary strong { font: 400 2.5rem/1 var(--yd-serif); }
.yd-credential-summary span { color: var(--yd-muted); font-size: .78rem; }
.yd-credential-filters { display: grid; gap: 18px; padding: 34px 0 18px; }
.yd-filter-chips { display: flex; flex-wrap: wrap; gap: 9px; }
.yd-filter-chips button, .yd-filter-selects select { min-height: 44px; box-sizing: border-box; max-width: 100%; padding: 8px 14px; border: 1px solid var(--yd-line); border-radius: 999px; color: var(--yd-muted); background: transparent; overflow-wrap: anywhere; cursor: pointer; }
.yd-filter-chips button span { margin-left: 5px; opacity: 1; }
.yd-filter-chips button.is-active { border-color: var(--yd-deep); color: #fff; background: var(--yd-deep); }
.yd-filter-selects { display: flex; flex-wrap: wrap; gap: 10px; }
.yd-filter-result { color: var(--yd-muted); font-size: .8rem; }
.yd-credential-library__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.yd-credential-library__grid > article { min-width: 0; border: 1px solid var(--yd-line); background: #fff; }
.yd-credential-library__grid > article[hidden] { display: none; }
.yd-credential-library__body { padding: 20px; }
.yd-credential-library__body h2 { margin: 8px 0 10px; overflow-wrap: anywhere; font: 400 1.25rem/1.25 var(--yd-serif); }
.yd-credential-library__body .yd-credential__meta { min-height: 0; margin: 0 0 18px; }
.yd-credential-attachments { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--yd-line); }
.yd-credential-attachments summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; cursor: pointer; color: var(--yd-ink); font: 600 .76rem/1.4 var(--yd-sans); letter-spacing: .04em; }
.yd-credential-attachments summary span { display: grid; place-items: center; min-width: 25px; height: 25px; border-radius: 50%; color: #fff; background: var(--yd-deep); font-size: .7rem; }
.yd-credential-attachments ul { display: grid; gap: 9px; margin: 13px 0 0; padding: 0; list-style: none; }
.yd-credential-attachments a { color: var(--yd-muted); font-size: .82rem; overflow-wrap: anywhere; }
.yd-credential-attachments a:hover { color: var(--yd-ink); }

.yd-editorial-page, .yd-article-shell {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}
.yd-editorial-page { padding: 74px 0 112px; }
.yd-articles-archive { margin: 0; }
.yd-archive-hero { display: grid; grid-template-columns: 160px minmax(0, 760px); padding: 36px 0 64px; }
.yd-archive-hero > * { min-width: 0; }
.yd-archive-hero .yd-eyebrow { grid-row: span 2; }
.yd-archive-hero h1 {
  margin: 0 0 24px;
  font: 400 clamp(3.2rem, 7vw, 6.7rem)/.94 var(--yd-serif);
  letter-spacing: -.045em;
}
.yd-archive-hero > p:last-child { max-width: 650px; margin: 0; color: var(--yd-muted); font-size: 1.08rem; }
.yd-topic-filter { display: flex; flex-wrap: wrap; gap: 10px; padding: 24px 0 42px; border-top: 1px solid var(--yd-line); }
.yd-topic-filter a {
  display: inline-flex;
  box-sizing: border-box;
  max-width: 100%;
  min-height: 44px;
  align-items: center;
  padding: 9px 16px;
  border: 1px solid var(--yd-line);
  border-radius: 999px;
  color: var(--yd-muted);
  font-size: .85rem;
  overflow-wrap: anywhere;
  text-decoration: none;
}
.yd-topic-filter a:hover, .yd-topic-filter a:focus-visible, .yd-topic-filter [aria-current="page"] { border-color: var(--yd-deep); color: #fff; background: var(--yd-deep); }
.yd-article-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 2.3vw, 30px); }
.yd-article-card { display: flex; min-height: 390px; flex-direction: column; border: 1px solid var(--yd-line); background: rgba(255,255,255,.45); transition: border-color .3s ease, box-shadow .3s ease, transform .3s ease; }
.yd-article-card:hover { border-color: rgba(48,72,61,.35); box-shadow: 0 20px 50px rgba(31,41,36,.08); transform: translateY(-4px); }
.yd-article-card__image { display: block; overflow: hidden; aspect-ratio: 16/10; background: var(--yd-cream); }
.yd-article-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.yd-article-card__image:hover img { transform: scale(1.025); }
.yd-article-card__body { display: flex; flex: 1; flex-direction: column; padding: 26px; }
.yd-article-card h2 { margin: 8px 0 14px; overflow-wrap: anywhere; font: 400 clamp(1.45rem, 2vw, 1.8rem)/1.12 var(--yd-serif); text-wrap: balance; }
.yd-article-card h2 a { text-decoration: none; }
.yd-article-card p:not(.yd-meta) { margin: 0 0 24px; color: var(--yd-muted); }
.yd-text-link { margin-top: auto; font-size: .86rem; font-weight: 700; }
.yd-empty-state { padding: 48px; border: 1px solid var(--yd-line); color: var(--yd-muted); text-align: center; }
.yd-pagination ul { display: flex; justify-content: center; gap: 8px; padding: 40px 0 0; list-style: none; }
.yd-pagination a, .yd-pagination span { display: grid; width: 44px; height: 44px; place-items: center; border: 1px solid var(--yd-line); border-radius: 50%; text-decoration: none; }
.yd-pagination .current { color: #fff; background: var(--yd-deep); }

.yd-article-shell { padding: 72px 0 112px; }
.yd-article {
  display: grid;
  grid-template-columns: minmax(0, 760px);
  justify-content: center;
}
.yd-article .wp-block-post-terms, .yd-article .wp-block-post-date { color: var(--yd-muted); font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.yd-localized-date { color: var(--yd-muted); font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.yd-article .wp-block-post-title { margin: 18px 0 24px; overflow-wrap: normal; word-break: normal; hyphens: auto; font-size: clamp(3rem, 7vw, 6.2rem); line-height: .98; letter-spacing: -.045em; }
.yd-article .wp-block-post-featured-image { width: min(980px, 100%); margin: 38px auto 58px; }
.yd-article .wp-block-post-featured-image img { width: 100%; max-height: 620px; object-fit: cover; }
.yd-article .wp-block-post-content { font-size: 1.08rem; line-height: 1.78; }
.yd-article .wp-block-post-content > * { max-width: 760px; margin-right: auto; margin-left: auto; }
.yd-article .wp-block-post-content > p { margin-top: 0; margin-bottom: 1.35em; }
.yd-article .wp-block-post-content > p:last-child { margin-bottom: 0; }
.yd-article .wp-block-post-content > ul, .yd-article .wp-block-post-content > ol { margin-top: 0; margin-bottom: 1.6em; padding-left: 1.35em; }
.yd-article .wp-block-post-content > ul li + li, .yd-article .wp-block-post-content > ol li + li { margin-top: .55em; }
.yd-article .wp-block-post-content > .alignwide { max-width: 980px; }
.yd-article .wp-block-post-content h2 { margin-top: 2.2em; font-size: clamp(2rem, 4vw, 3rem); line-height: 1.08; }
.yd-article .wp-block-post-content h3 { margin-top: 1.8em; font-size: 1.65rem; }
.yd-article .wp-block-post-content blockquote { margin-top: 2em; margin-bottom: 2em; padding: 10px 0 10px 30px; border-left: 2px solid var(--yd-sage); font: italic 400 1.35rem/1.55 var(--yd-serif); }
.yd-article-intro { color: var(--yd-muted); font: 400 1.35rem/1.5 var(--yd-serif); }
.yd-article-footer { display: flex; justify-content: space-between; gap: 24px; margin-top: 64px; padding-top: 26px; border-top: 1px solid var(--yd-line); }
.yd-article-footer > * { min-width: 0; max-width: 100%; overflow-wrap: anywhere; }
.yd-article-footer a { display: inline-flex; min-height: 44px; align-items: center; }
.yd-back-link { font-weight: 700; }
.yd-article-cta { margin-top: 64px; padding: clamp(28px, 5vw, 48px); border: 1px solid var(--yd-line); background: var(--yd-cream); }
.yd-article-cta h2 { max-width: 650px; margin: 10px 0 16px; font: 400 clamp(2rem, 4vw, 3rem)/1.08 var(--yd-serif); }
.yd-article-cta > p:not(.yd-eyebrow) { max-width: 620px; color: var(--yd-muted); }
.yd-article-cta__actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
  max-width: 620px;
  margin-top: 20px;
}
.yd-article-cta__actions > * { min-width: 0; }
.yd-article-cta__actions > .yd-button { width: 100%; }
.yd-article-cta__actions > .yd-text-link {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  min-height: 44px;
  align-items: center;
  padding: 8px 0;
  overflow-wrap: anywhere;
}
.yd-article-subscribe { margin-top: 18px; padding: clamp(24px, 4vw, 38px); border: 1px solid var(--yd-line); background: #eff2ed; background: color-mix(in srgb, var(--yd-sage) 55%, white); }
.yd-article-subscribe h2 { max-width: 650px; margin: 10px 0 14px; font: 400 clamp(1.65rem, 3vw, 2.35rem)/1.12 var(--yd-serif); }
.yd-article-subscribe > p:not(.yd-eyebrow) { max-width: 650px; color: var(--yd-muted); }
.yd-article-subscribe > .yd-text-link { display: inline-flex; max-width: 100%; min-height: 44px; align-items: center; padding: 8px 0; overflow-wrap: anywhere; }

.yd-content-page { min-width: 0; }
.yd-content-blocks { border-top: 1px solid var(--yd-line); }
.yd-content-block { display: grid; grid-template-columns: 130px minmax(0, 760px); padding: 52px 0; border-bottom: 1px solid var(--yd-line); }
.yd-content-block h2 { margin: 0 0 18px; font: 400 clamp(2rem, 4vw, 3.3rem)/1.08 var(--yd-serif); }
.yd-content-block p:last-child { max-width: 720px; margin: 0; color: var(--yd-muted); font-size: 1.06rem; }
.yd-legal-draft { box-sizing: border-box; max-width: 890px; margin: 0 0 42px; padding: 22px 24px; border: 1px solid #d7bd84; background: #fff7df; }
.yd-legal-draft strong { display: block; margin-bottom: 7px; color: #624410; }
.yd-legal-draft p { margin: 0; color: #725c32; }

.yd-card__actions { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; align-items: stretch; margin-top: auto; padding-top: 22px; }
.yd-card__actions .yd-text-link, .yd-card__actions .yd-text-button { box-sizing: border-box; max-width: 100%; min-width: 0; margin: 0; overflow-wrap: anywhere; white-space: normal; }
.yd-card__actions .yd-text-button {
  display: inline-flex;
  width: 100%;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border: 1px solid var(--yd-deep);
  border-radius: 999px;
  color: #fff;
  background: var(--yd-deep);
  line-height: 1.25;
  text-align: center;
  text-wrap: balance;
}
.yd-card__actions .yd-text-button:hover, .yd-card__actions .yd-text-button:focus-visible { color: var(--yd-deep); background: transparent; }
.yd-card__actions .yd-text-link { display: inline-flex; min-height: 44px; align-items: center; justify-self: start; padding: 8px 0; }
.yd-segment-page { width: min(1160px, calc(100% - 40px)); }
.yd-segment-landing { min-width: 0; }
.yd-landing-hero { padding: 28px 0 76px; }
.yd-landing-hero h1 { max-width: 14ch; margin: 16px 0 28px; font: 400 clamp(3.4rem, 7vw, 6.8rem)/.94 var(--yd-serif); letter-spacing: -.045em; text-wrap: balance; }
.yd-landing-lead { max-width: 760px; margin: 0 0 30px; color: var(--yd-muted); font-size: clamp(1.08rem, 2vw, 1.35rem); line-height: 1.65; }
.yd-landing-proof { display: flex; flex-wrap: wrap; gap: 9px; max-width: 920px; margin: 0 0 34px; padding: 0; list-style: none; }
.yd-landing-proof li { box-sizing: border-box; max-width: 100%; padding: 9px 14px; border: 1px solid var(--yd-line); border-radius: 999px; color: var(--yd-muted); font-size: .8rem; overflow-wrap: anywhere; }
.yd-landing-crisis { box-sizing: border-box; margin: 0 0 28px; padding: clamp(24px, 4vw, 38px); border: 1px solid #c99d55; background: #fff7df; }
.yd-landing-crisis h2 { margin: 0 0 12px; color: #4f3c19; font: 400 clamp(1.7rem, 3vw, 2.4rem)/1.08 var(--yd-serif); }
.yd-landing-crisis p { max-width: 820px; margin: 0; color: #69542d; }
.yd-landing-section { display: grid; grid-template-columns: 130px minmax(0, 830px); gap: 0; padding: 62px 0; border-top: 1px solid var(--yd-line); }
.yd-landing-section h2 { max-width: 720px; margin: 0 0 28px; font: 400 clamp(2.2rem, 4vw, 3.6rem)/1.06 var(--yd-serif); letter-spacing: -.025em; text-wrap: balance; }
.yd-landing-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; counter-reset: landing-list; }
.yd-landing-list li { min-width: 0; padding: 22px 24px; border: 1px solid var(--yd-line); background: rgba(255,255,255,.45); color: var(--yd-muted); line-height: 1.55; }
ol.yd-landing-list li { counter-increment: landing-list; }
ol.yd-landing-list li::before { display: block; margin-bottom: 16px; color: var(--yd-deep); content: counter(landing-list, decimal-leading-zero); font: 700 .72rem/1 var(--yd-sans); letter-spacing: .12em; }
.yd-landing-about > div > p { max-width: 760px; color: var(--yd-muted); font-size: 1.05rem; line-height: 1.7; }
.yd-landing-price { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(28px, 7vw, 90px); align-items: end; margin: 18px 0 72px; padding: clamp(34px, 6vw, 64px); color: #f7f4ed; background: var(--yd-deep); }
.yd-landing-price .yd-eyebrow { color: #c7d1c8; }
.yd-landing-price h2 { grid-column: 1; margin: 8px 0 0; color: #fff; font: 400 clamp(2.6rem, 5vw, 4.8rem)/1 var(--yd-serif); }
.yd-landing-price > p:last-child { grid-column: 2; grid-row: 1 / span 2; max-width: 520px; margin: 0; color: #d9e1da; }
.yd-landing-magnet { display: grid; grid-template-columns: 1fr auto; gap: 26px 60px; align-items: end; margin-bottom: 72px; padding: clamp(30px, 5vw, 54px); border: 1px solid var(--yd-line); background: var(--yd-cream); }
.yd-landing-magnet h2 { max-width: 700px; margin: 10px 0 14px; font: 400 clamp(2rem, 4vw, 3.2rem)/1.08 var(--yd-serif); }
.yd-landing-magnet p:not(.yd-eyebrow) { max-width: 720px; color: var(--yd-muted); }
.yd-landing-magnet .yd-text-link { display: inline-flex; max-width: 100%; min-height: 44px; align-items: center; align-self: end; overflow-wrap: anywhere; white-space: normal; }
.yd-landing-disabled { max-width: 340px !important; margin: 0; padding: 14px 16px; border-left: 2px solid #c99d55; font-size: .84rem; }
.yd-landing-articles { padding: 68px 0; border-top: 1px solid var(--yd-line); }
.yd-landing-articles > header { display: grid; grid-template-columns: 130px minmax(0, 760px); margin-bottom: 36px; }
.yd-landing-articles > header h2 { margin: 0; font: 400 clamp(2.2rem, 4vw, 3.6rem)/1.06 var(--yd-serif); }
.yd-landing-routes { padding: 62px 0; border-top: 1px solid var(--yd-line); }
.yd-landing-routes > div { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 18px; }
.yd-landing-routes a { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 7px 18px; min-width: 0; padding: 24px; border: 1px solid var(--yd-line); color: var(--yd-ink); text-decoration: none; transition: border-color .25s ease, transform .25s ease; }
.yd-landing-routes a:hover, .yd-landing-routes a:focus-visible { border-color: var(--yd-deep); transform: translateY(-2px); }
.yd-landing-routes a span { grid-column: 1; color: var(--yd-muted); font-size: .72rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.yd-landing-routes a strong { grid-column: 1; font: 400 1.35rem/1.2 var(--yd-serif); }
.yd-landing-routes a b { grid-column: 2; grid-row: 1 / span 2; align-self: center; font-size: 1.3rem; }
.yd-landing-final { display: grid; grid-template-columns: 1fr auto; gap: 30px 60px; align-items: end; margin-top: 28px; padding: clamp(34px, 6vw, 64px); color: #fff; background: var(--yd-deep); }
.yd-landing-final .yd-eyebrow { color: #c7d1c8; }
.yd-landing-final h2 { max-width: 720px; margin: 10px 0 14px; color: #fff; font: 400 clamp(2.2rem, 4vw, 3.5rem)/1.06 var(--yd-serif); }
.yd-landing-final p:not(.yd-eyebrow) { max-width: 620px; margin-bottom: 0; color: #d9e1da; }
.yd-landing-final .yd-button { border-color: #fff; color: var(--yd-deep); background: #fff; white-space: normal; }
.yd-landing-boundary { margin-top: 20px; padding: 20px 22px; border: 1px solid var(--yd-line); color: var(--yd-muted); font-size: .84rem; }
.yd-landing-boundary strong { color: var(--yd-ink); }
.yd-landing-boundary p { margin: 6px 0 0; }

.yd-footer { box-sizing: border-box; padding: 72px max(20px, calc((100vw - 1160px)/2)) 26px; color: #eef1ec; background: #22332b; }
.yd-footer > * { width: min(1160px, 100%); margin-right: auto; margin-left: auto; }
.yd-office-card { display: grid; grid-template-columns: minmax(0, 720px); gap: 24px; align-items: center; padding-bottom: 64px; }
.yd-office-card > div > p:not(.yd-eyebrow) { max-width: 520px; color: #c7d1c8; }
.yd-office-card .yd-eyebrow { color: #dce4dc; }
.yd-footer__bar { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.18); }
.yd-footer__bar > * { min-width: 0; }
.yd-footer__bar > p:empty { display: none; }
.yd-footer__bar p { margin: 0; overflow-wrap: anywhere; color: #c7d1c8; font-size: .82rem; }
.yd-footer__bar strong, .yd-footer__bar a { color: #fff; }
.yd-footer__bar a { display: inline-flex; box-sizing: border-box; min-width: 44px; min-height: 44px; align-items: center; padding: 8px 0; }

.yd-contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 8vw, 120px);
  padding: 110px max(20px, calc((100vw - 1160px)/2));
  color: #f7f4ed;
  background: var(--yd-deep);
}
.yd-contact .yd-eyebrow { color: #c7d1c8; }
.yd-contact h2 { margin: 18px 0 24px; }
.yd-contact a { color: #fff; }

.yd-reveal { opacity: 1; transform: none; }

:focus-visible { outline: 3px solid #c99653; outline-offset: 4px; }
@media (max-width: 1050px) {
  .yd-article-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .yd-latest-article h3 { font-size: clamp(2rem, 4.2vw, 2.7rem); }
}
@media (max-width: 850px) {
  .yd-nav { grid-template-columns: minmax(0, 1fr) auto; min-height: 88px; padding-block: 16px; }
  .yd-nav__links { display: none; }
  .yd-languages { grid-column: 2; grid-row: 1; }
  .yd-hero { min-height: auto; grid-template-columns: 1fr; gap: 54px; padding-top: 54px; }
  .yd-hero__copy { order: 0; }
  .yd-portrait { order: 1; }
  .yd-portrait { max-width: 480px; margin: 0 auto; }
  .yd-about, .yd-contact, .yd-method-preview, .yd-office-card { grid-template-columns: 1fr; }
  .yd-section__number { display: none; }
  .yd-section header { grid-template-columns: 1fr; }
  .yd-content-block { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .yd-section .yd-section-header--carousel { grid-template-columns: minmax(0, 1fr) auto; }
  .yd-section .yd-section-header--carousel .yd-eyebrow { grid-column: 1 / -1; }
  .yd-grid { grid-template-columns: 1fr; }
  .yd-card--quiet { grid-column: auto; }
  .yd-article-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .yd-credential-library__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .yd-archive-hero { grid-template-columns: 1fr; }
  .yd-archive-hero .yd-eyebrow { grid-row: auto; }
  .yd-latest-article { grid-template-columns: 1fr; }
  .yd-latest-article__image { grid-column: 1; grid-row: 1; height: auto; aspect-ratio: 16/9; }
  .yd-latest-article > div { grid-column: 1; grid-row: 2; padding: clamp(28px, 6vw, 44px); }
  .yd-footer__bar { grid-template-columns: 1.2fr 1fr; }
  .yd-footer__bar p:first-child { grid-row: 1 / span 2; }
  .yd-whisper { display: none; }
  .yd-landing-section, .yd-landing-articles > header { grid-template-columns: 1fr; gap: 14px; }
  .yd-landing-section .yd-section__number { display: block; }
  .yd-landing-price { grid-template-columns: 1fr; }
  .yd-landing-price > p:last-child { grid-column: 1; grid-row: auto; }
  .yd-landing-magnet, .yd-landing-final { grid-template-columns: 1fr; align-items: start; }
  .yd-landing-magnet .yd-text-link, .yd-landing-final .yd-button { justify-self: start; white-space: normal; }
}
@media (max-width: 520px) {
  .yd-nav, .yd-hero, .yd-section { width: min(calc(100% - 28px), 1160px); }
  .yd-nav { gap: 12px; }
  .yd-brand { font-size: 1.05rem; }
  .yd-brand span { max-width: 27ch; font-size: .51rem; letter-spacing: .065em; }
  .yd-languages { gap: 3px; font-size: .78rem; }
  .yd-hero h1 { margin-top: 17px; font-size: clamp(2rem, 11vw, 3rem); line-height: .98; }
  .yd-hero .yd-lead { margin-bottom: 28px; }
  .yd-offer__context { margin: -12px 0 26px; }
  .yd-hero__actions { align-items: flex-start; flex-direction: column; gap: 18px; }
  .yd-hero__actions .yd-button { width: 100%; box-sizing: border-box; }
  .yd-landscape { height: min(78vh, 560px); }
  .yd-landscape::after { background: linear-gradient(0deg, rgba(26,38,32,.42) 0%, rgba(26,38,32,.04) 62%); }
  .yd-landscape__media img { object-position: center 50%; }
  .yd-landscape__caption { right: 20px; bottom: 28px; max-width: 330px; font-size: 1.35rem; }
  .yd-section { padding: 80px 0; }
  .yd-section .yd-section-header--carousel { grid-template-columns: 1fr; }
  .yd-carousel__controls { justify-content: space-between; }
  .yd-carousel__status { margin-right: auto; }
  .yd-credentials article { flex-basis: min(86vw, 320px); }
  .yd-credentials h3 { min-height: 0; }
  .yd-credential__meta { min-height: 0; }
  .yd-section-action { text-align: left; }
  .yd-editorial-page, .yd-article-shell { width: min(calc(100% - 28px), 1160px); }
  .yd-editorial-page, .yd-article-shell { padding-top: 52px; padding-bottom: 80px; }
  .yd-archive-hero { padding-top: 10px; }
  .yd-archive-hero h1 {
    overflow-wrap: anywhere;
    font-size: clamp(2.2rem, 12vw, 2.8rem);
    hyphens: auto;
  }
  .yd-article-grid { grid-template-columns: 1fr; }
  .yd-article-card { min-height: 340px; }
  .yd-latest-article__image { aspect-ratio: 16/10; }
  .yd-latest-article h3 { font-size: clamp(1.9rem, 9vw, 2.45rem); }
  .yd-article .wp-block-post-title { font-size: 3rem; }
  .yd-article-footer { align-items: flex-start; flex-direction: column; }
  .yd-article-cta { padding: 26px 20px; }
  .yd-article-cta__actions > .yd-button, .yd-article-cta__actions > .yd-text-link { width: 100%; justify-content: center; text-align: center; }
  .yd-card__actions .yd-text-link { width: 100%; justify-content: center; justify-self: stretch; text-align: center; }
  .yd-contact { padding: 80px 14px; }
  .yd-contact-dialog { padding: 36px 22px 26px; }
  .yd-whisper { left: 14px !important; top: auto !important; bottom: 18px; width: min(270px, calc(100vw - 28px)); }
  .yd-credential-summary { grid-template-columns: 1fr 1fr; }
  .yd-credential-summary > div { padding: 18px 12px; }
  .yd-credential-summary > div:first-child { grid-column: 1 / -1; border-right: 0; border-bottom: 1px solid var(--yd-line); }
  .yd-credential-library__grid { grid-template-columns: 1fr; }
  .yd-content-block { grid-template-columns: 1fr; gap: 12px; padding: 38px 0; }
  .yd-content-block .yd-section__number { display: block; }
  .yd-footer { padding: 56px 14px 22px; }
  .yd-office-card { gap: 30px; padding-bottom: 44px; }
  .yd-footer__bar { grid-template-columns: 1fr; gap: 0; padding-top: 0; }
  .yd-footer__bar p:first-child { grid-row: auto; }
  .yd-footer__bar p { padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
  .yd-footer__bar p:last-child { padding-bottom: 0; border-bottom: 0; }
  .yd-filter-selects { display: grid; grid-template-columns: 1fr; }
  .yd-filter-selects select { width: 100%; }
  .yd-segment-page { width: min(calc(100% - 28px), 1160px); }
  .yd-landing-hero { padding-top: 8px; padding-bottom: 54px; }
  .yd-landing-hero h1 { font-size: clamp(2.8rem, 13vw, 4rem); }
  .yd-landing-section { padding: 48px 0; }
  .yd-landing-list { grid-template-columns: 1fr; }
  .yd-landing-routes > div { grid-template-columns: 1fr; }
  .yd-landing-list li { padding: 19px 20px; }
  .yd-landing-price, .yd-landing-magnet, .yd-landing-final { margin-right: -2px; margin-left: -2px; padding: 28px 22px; }
  .yd-landing-magnet .yd-text-link, .yd-landing-final .yd-button { width: 100%; box-sizing: border-box; white-space: normal; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .yd-credentials { scroll-behavior: auto; }
  .yd-card, .yd-credentials article, .yd-credentials img, .yd-article-card, .yd-article-card__image img, .yd-latest-article__image img, .yd-landing-routes a { transition: none; }
  .yd-card:hover, .yd-credentials article:hover, .yd-article-card:hover, .yd-article-card__image:hover img, .yd-latest-article__image:hover img, .yd-landing-routes a:hover, .yd-landing-routes a:focus-visible { transform: none; }
  .yd-credential__image:hover img { transform: none; }
  .yd-credential__image--rotate-90 img, .yd-credential__image--rotate-90:hover img { transform: rotate(90deg) scale(.72); }
  .yd-credential__image--rotate-180 img, .yd-credential__image--rotate-180:hover img { transform: rotate(180deg); }
  .yd-credential__image--rotate-270 img, .yd-credential__image--rotate-270:hover img { transform: rotate(270deg) scale(.72); }
  .yd-reveal { animation: none; }
  .yd-offer, .yd-offer.is-active { animation: none; transition: none; }
  .yd-landscape__media, .yd-landscape__caption > span, .yd-landscape__pause { transition: none; }
  .yd-landscape__pause { display: none; }
  .yd-whisper { display: none; }
}
