/* Yuri Elkaim profile and article-author presentation */
.yuri-profile-hero {
  overflow: hidden;
  padding: clamp(4.5rem, 8vw, 7.5rem) 0 0;
  background: var(--soft-white);
}
.yuri-profile-hero .container { max-width: 1160px !important; }
.yuri-profile-hero .wp-block-columns.yuri-hero-grid,
.yuri-profile-section .wp-block-columns.yuri-profile-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(330px, .96fr);
  gap: clamp(3rem, 7vw, 7.5rem);
  margin: 0;
}
.yuri-profile-hero .yuri-hero-copy { padding: clamp(1rem, 3vw, 3rem) 0 clamp(4.5rem, 8vw, 7rem); }
.yuri-profile-hero .eyebrow { margin-bottom: 1.15rem; }
.yuri-profile-hero .yuri-hero-title {
  max-width: 760px;
  margin-bottom: 1.25rem;
  font-size: clamp(3.7rem, 6.8vw, 6.4rem);
  line-height: .98;
}
.yuri-hero-lede {
  max-width: 660px;
  margin-bottom: 1.3rem;
  color: var(--terracotta);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.45rem, 2.3vw, 2.15rem);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -.035em;
  line-height: 1.26;
}
.yuri-hero-definition { max-width: 590px; margin-bottom: 0; font-size: 1.01rem; line-height: 1.78; }
.yuri-hero-media {
  position: relative;
  align-self: stretch;
  display: flex;
  align-items: flex-end;
  min-height: 610px;
  padding: clamp(1.7rem, 3vw, 3.35rem) clamp(1.1rem, 3vw, 3.3rem) 0;
  background: var(--sage);
}
.yuri-hero-media::before {
  position: absolute;
  top: clamp(1.6rem, 4vw, 3.8rem);
  right: clamp(1.4rem, 3.8vw, 4.6rem);
  width: 52%;
  height: 38%;
  border-top: 2px solid var(--terracotta);
  border-right: 2px solid var(--terracotta);
  content: "";
}
.yuri-hero-media .wp-block-image { position: relative; z-index: 1; width: 100%; margin: 0; }
.yuri-hero-portrait {
  width: min(100%, 455px) !important;
  height: auto;
  margin: 0 auto;
  filter: saturate(.9);
}
.yuri-profile-section { padding: clamp(4.8rem, 8vw, 7.6rem) 0; }
.yuri-profile-section .container { max-width: 1120px !important; }
.yuri-profile-section .yuri-reading { max-width: 590px; }
.yuri-profile-section .yuri-reading > p:not(.eyebrow),
.yuri-profile-section .yuri-media-reading > p:not(.eyebrow) {
  margin-bottom: 1.15rem;
  font-size: 1rem;
  line-height: 1.82;
}
.yuri-section-title { max-width: 640px; margin-bottom: 1.35rem; font-size: clamp(2.15rem, 3.45vw, 3.6rem); line-height: 1.1; }
.yuri-image-frame { position: relative; width: 100%; }
.yuri-image-frame::before {
  position: absolute;
  z-index: 0;
  top: -1.1rem;
  left: -1.1rem;
  width: 44%;
  height: 46%;
  border-top: 2px solid var(--terracotta);
  border-left: 2px solid var(--terracotta);
  content: "";
}
.yuri-image-frame .wp-block-image { position: relative; z-index: 1; margin: 0; }
.yuri-image-frame img { width: 100%; object-fit: cover; filter: saturate(.88); }
.yuri-bio-media img { aspect-ratio: 1.05 / 1; object-position: 45% center; }
.yuri-story-grid { grid-template-columns: minmax(0, 1.04fr) minmax(330px, .96fr) !important; }
.yuri-story-media img { aspect-ratio: 1.12 / 1; object-position: 52% center; }
.yuri-credentials-media img { aspect-ratio: .86 / 1; object-position: 42% 67%; }
.yuri-framework-section { background: var(--ink); color: var(--warm-white); }
.yuri-framework-section .eyebrow { color: var(--terracotta); }
.yuri-framework-section .yuri-section-title { color: white; }
.yuri-framework-intro { max-width: 635px; margin-bottom: clamp(2.5rem, 5vw, 4rem); color: var(--sage); font-size: 1.03rem; line-height: 1.78; }
.yuri-framework-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(220, 232, 231, .55);
}
.yuri-framework-card { min-height: 255px; padding: 1.6rem clamp(1.2rem, 2.6vw, 2.6rem) 1.35rem 0; border-right: 1px solid rgba(220, 232, 231, .35); }
.yuri-framework-card + .yuri-framework-card { padding-left: clamp(1.2rem, 2.6vw, 2.6rem); }
.yuri-framework-card:last-child { padding-right: 0; border-right: 0; }
.yuri-framework-number { margin-bottom: 3.3rem; color: var(--terracotta); font-size: .68rem; font-weight: 800; letter-spacing: .15em; }
.yuri-framework-card h3 { margin-bottom: .8rem; color: white; font-size: clamp(1.35rem, 2vw, 1.75rem); }
.yuri-framework-card > p:last-child { max-width: 300px; margin-bottom: 0; color: var(--sage); font-size: .88rem; line-height: 1.72; }
.yuri-credentials-list { margin-top: 2.1rem; border-top: 1px solid var(--line); }
.yuri-credential { padding: 1rem 0; border-bottom: 1px solid var(--line); }
.yuri-credential p { margin: 0; color: var(--ink); font-size: .9rem; font-weight: 650; line-height: 1.5; }
.yuri-credential p::before { display: inline-block; width: 1.3rem; margin-right: .25rem; color: var(--terracotta); content: "—"; }
.yuri-media-section { text-align: center; }
.yuri-media-reading { max-width: 710px !important; margin: 0 auto; }
.yuri-media-reading .eyebrow,
.yuri-media-reading .yuri-section-title,
.yuri-media-reading > p:not(.eyebrow) { margin-right: auto; margin-left: auto; }
.yuri-media-reading > p:not(.eyebrow) { max-width: 660px; }
.yuri-media-links { display: flex; flex-wrap: wrap; justify-content: center; gap: .85rem; margin-top: 2.15rem; }
.yuri-media-links a {
  display: inline-flex;
  min-height: 51px;
  align-items: center;
  justify-content: center;
  padding: .8rem 1.15rem;
  border: 1px solid var(--ink);
  color: var(--ink);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: background .2s ease, color .2s ease;
}
.yuri-media-links a:hover { background: var(--ink); color: white; }
.yuri-media-links span { margin-left: .55rem; color: var(--terracotta); font-size: 1.1em; }
.yuri-faq-reading { max-width: 780px !important; }
.yuri-faq-list { margin-top: 2.45rem; border-top: 1px solid var(--ink); }
.yuri-faq-item { border-bottom: 1px solid var(--line); }
.yuri-faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem 0;
  color: var(--ink);
  cursor: pointer;
  font-size: clamp(.95rem, 1.3vw, 1.05rem);
  font-weight: 600;
  line-height: 1.45;
  list-style: none;
}
.yuri-faq-item summary::-webkit-details-marker { display: none; }
.yuri-faq-item summary > span { position: relative; width: 18px; height: 18px; flex: 0 0 18px; }
.yuri-faq-item summary > span::before,
.yuri-faq-item summary > span::after { position: absolute; top: 50%; left: 0; width: 100%; height: 1px; background: var(--terracotta); content: ""; transition: transform .2s ease; }
.yuri-faq-item summary > span::after { transform: rotate(90deg); }
.yuri-faq-item[open] summary > span::after { transform: rotate(0deg); }
.yuri-faq-answer { max-width: 670px; padding: 0 2rem 1.35rem 0; }
.yuri-faq-answer p { margin: 0; font-size: .94rem; line-height: 1.76; }
.yuri-speaking-section { border-bottom: 2px solid white; }
.yuri-speaking-inner { max-width: 800px !important; }
.yuri-speaking-section .eyebrow { color: var(--terracotta); }
.yuri-speaking-section .yuri-section-title { color: white; }
.yuri-speaking-section p:not(.eyebrow) { max-width: 640px; margin-bottom: 2rem; color: var(--soft-white); font-size: 1rem; line-height: 1.78; }
.yuri-speaking-section .yuri-speaking-topic-intro { margin-bottom: .8rem; font-weight: 650; }
.yuri-speaking-section .yuri-speaking-topics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 800px;
  margin: 0 0 2.25rem;
  padding: 0;
  list-style: none;
  text-align: left;
}
.yuri-speaking-section .yuri-speaking-topics li {
  position: relative;
  margin: 0;
  padding: .9rem 1.25rem .9rem 1.4rem;
  border-top: 1px solid rgba(220, 232, 231, .38);
  color: var(--soft-white);
  font-size: .88rem;
  line-height: 1.55;
}
.yuri-speaking-section .yuri-speaking-topics li::before {
  position: absolute;
  top: 1.1rem;
  left: 0;
  width: .5rem;
  height: 1px;
  background: var(--terracotta);
  content: "";
}
.yuri-speaking-section .yuri-speaking-topics li:nth-child(odd) { border-right: 1px solid rgba(220, 232, 231, .38); }
.yuri-speaking-section .wp-block-buttons { justify-content: flex-start; }

/* Each editorial article uses the same named author and profile destination. */
.article-byline { align-items: center; }
.article-byline a { display: inline-flex; align-items: center; gap: .5rem; color: inherit; }
.article-byline a:hover { color: var(--terracotta); }
.article-byline-avatar { width: 28px; height: 28px; border: 1px solid rgba(52, 52, 52, .15); border-radius: 50%; object-fit: cover; object-position: 50% 8%; }
.article-author-card { margin-top: clamp(4.1rem, 7vw, 6.2rem); padding: 0 var(--page-pad); }
.article-author-card-inner {
  display: grid;
  grid-template-columns: 106px minmax(0, 1fr);
  gap: 1.35rem;
  width: min(100%, 760px);
  margin: 0 auto;
  padding: clamp(1.4rem, 3vw, 2.25rem);
  background: var(--soft-white);
  border-top: 2px solid var(--ink);
}
.article-author-card-image { width: 106px; height: 126px; margin: 0; overflow: hidden; background: var(--sage); }
.article-author-card-image img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 8%; }
.article-author-card-copy .eyebrow { margin-bottom: .48rem; font-size: .6rem; }
.article-author-card-copy h2 { margin-bottom: .55rem; font-size: clamp(1.45rem, 2.2vw, 1.8rem); }
.article-author-card-copy > p:not(.eyebrow) { max-width: 560px; margin-bottom: .95rem; font-size: .88rem; line-height: 1.7; }
.article-author-card-copy .text-link { font-size: .64rem; }

@media (max-width: 900px) {
  .yuri-profile-hero .wp-block-columns.yuri-hero-grid,
  .yuri-profile-section .wp-block-columns.yuri-profile-grid,
  .yuri-story-grid { grid-template-columns: 1fr !important; }
  .yuri-profile-hero .yuri-hero-copy { padding-bottom: 2.5rem; }
  .yuri-hero-media { width: min(100%, 620px); min-height: 510px; margin: 0 auto; }
  .yuri-profile-section .yuri-reading { max-width: 680px; }
  .yuri-bio-grid .yuri-image-frame,
  .yuri-credentials-grid .yuri-image-frame { width: min(100%, 620px); }
  .yuri-story-grid .yuri-reading { order: 1; }
  .yuri-story-grid .yuri-image-frame { order: 2; width: min(100%, 680px); }
}

@media (max-width: 650px) {
  .yuri-profile-hero { padding-top: 3.75rem; }
  .yuri-profile-hero .yuri-hero-copy { padding-bottom: 2.65rem; }
  .yuri-profile-hero .yuri-hero-title { font-size: clamp(3rem, 15vw, 4rem); }
  .yuri-hero-lede { font-size: 1.42rem; }
  .yuri-hero-media { min-height: 430px; padding-right: 1.2rem; padding-left: 1.2rem; }
  .yuri-profile-section { padding-top: 3.8rem; padding-bottom: 3.8rem; }
  .yuri-image-frame::before { top: -.75rem; left: -.75rem; }
  .yuri-bio-media img, .yuri-story-media img { aspect-ratio: 1.18 / 1; }
  .yuri-credentials-media img { aspect-ratio: 1 / 1.08; }
  .yuri-framework-grid { grid-template-columns: 1fr; }
  .yuri-framework-card, .yuri-framework-card + .yuri-framework-card { min-height: 0; padding: 1.3rem 0 1.7rem; border-right: 0; border-bottom: 1px solid rgba(220, 232, 231, .35); }
  .yuri-framework-card:last-child { border-bottom: 0; }
  .yuri-framework-number { margin-bottom: 1.5rem; }
  .yuri-media-links { align-items: stretch; flex-direction: column; }
  .yuri-media-links a { width: 100%; }
  .yuri-faq-answer { padding-right: 0; }
  .yuri-speaking-section .yuri-speaking-topics { grid-template-columns: 1fr; margin-bottom: 2rem; }
  .yuri-speaking-section .yuri-speaking-topics li { padding-right: 0; border-right: 0 !important; }
  .yuri-speaking-section .wp-block-buttons { justify-content: stretch; }
  .yuri-speaking-section .wp-block-button, .yuri-speaking-section .wp-block-button__link { width: 100%; }
  .article-author-card { margin-top: 3.7rem; padding: 0 var(--page-pad); }
  .article-author-card-inner { grid-template-columns: 76px minmax(0, 1fr); gap: 1rem; padding: 1.25rem; }
  .article-author-card-image { width: 76px; height: 94px; }
}
