/**
 * Women Gool — Bold Editorial Layer
 * Spec: The Athletic / Off the Pitch energy
 * Primary #7A1F2B · Sand #F7F3EE · Ink #1A1A1A · Gold #C9A227
 */

:root {
  --wg-primary: #7A1F2B;
  --wg-primary-dark: #5c1620;
  --wg-primary-soft: rgba(122, 31, 43, 0.1);
  --wg-gold: #C9A227;
  --wg-gold-dark: #a3841c;
  --wg-sand: #F7F3EE;
  --wg-blush: #F5E8E9;
  --wg-ink: #1A1A1A;
  --wg-muted: #4a4a4a;
  --wg-white: #ffffff;
  --wg-line: #e5ddd6;
  --wg-font-display: 'Space Grotesk', system-ui, sans-serif;
  --wg-font-body: 'Manrope', system-ui, sans-serif;
  --wg-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

body {
  background: var(--wg-sand) !important;
  color: var(--wg-ink);
  font-family: var(--wg-font-body);
}

/* -------------------------------------------------------------------------- */
/* HOME — Full-bleed editorial hero                                            */
/* -------------------------------------------------------------------------- */

.wg-ed-hero {
  position: relative;
  width: 100%;
  min-height: 70vh;
  max-height: 920px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: #111;
  margin: 0;
}

.wg-ed-hero__slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.wg-ed-hero__slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.85s var(--wg-ease), visibility 0.85s var(--wg-ease);
}

.wg-ed-hero__slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 1;
}

.wg-ed-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.wg-ed-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  transform: scale(1.04);
  transition: transform 6s linear, opacity 0.85s var(--wg-ease);
}

.wg-ed-hero__slide.is-active .wg-ed-hero__media img {
  transform: scale(1);
}

@keyframes wg-hero-in {
  from { opacity: 0.55; transform: scale(1.08); }
  to { opacity: 1; transform: scale(1); }
}

.wg-ed-hero__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to top, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.45) 45%, rgba(0,0,0,0.12) 100%);
  pointer-events: none;
}

.wg-ed-hero__content {
  position: relative;
  z-index: 2;
  width: min(920px, calc(100% - 2.5rem));
  margin: 0 auto 0 0;
  padding: 3.5rem clamp(1.25rem, 4vw, 3.5rem) 4.5rem;
  max-width: 1180px;
  margin-left: max(1.25rem, calc((100% - 1180px) / 2));
}

/* Dot indicators — bottom center */
.wg-ed-hero__dots {
  position: absolute;
  left: 50%;
  bottom: 1.35rem;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
}

.wg-ed-hero__dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 2px solid rgba(255, 255, 255, 0.85);
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}

.wg-ed-hero__dot:hover {
  background: rgba(255, 255, 255, 0.45);
  transform: scale(1.12);
}

.wg-ed-hero__dot.is-active {
  background: var(--wg-gold);
  border-color: var(--wg-gold);
  transform: scale(1.15);
}

.wg-eyebrow {
  font-family: var(--wg-font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--wg-primary);
  margin: 0 0 0.85rem;
}

.wg-eyebrow--light {
  color: var(--wg-gold);
}

.wg-ed-hero__title {
  font-family: var(--wg-font-display);
  font-size: clamp(2.75rem, 7vw, 4.5rem);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.03em;
  color: #fff !important;
  margin: 0 0 1.1rem;
  max-width: 12ch;
  text-shadow: 0 2px 24px rgba(0,0,0,0.35);
}

.wg-ed-hero__dek {
  font-family: var(--wg-font-body);
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  line-height: 1.55;
  color: rgba(255,255,255,0.88);
  max-width: 38rem;
  margin: 0 0 1.6rem;
}

.wg-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.85rem 1.6rem;
  font-family: var(--wg-font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none !important;
  border-radius: 999px;
  border: 2px solid transparent;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.wg-btn--gold {
  background: var(--wg-gold);
  color: #1a1a1a !important;
}
.wg-btn--gold:hover {
  background: #fff;
  color: var(--wg-primary-dark) !important;
  transform: translateY(-2px);
}

/* -------------------------------------------------------------------------- */
/* HOME — Section heads + Latest Interviews card grid                          */
/* -------------------------------------------------------------------------- */

.wg-ed-feed {
  background: var(--wg-sand) !important;
  padding-top: 2.75rem !important;
  padding-bottom: 4rem !important;
}

.wg-ed-feed .container-fluid {
  max-width: 1180px;
  margin: 0 auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.wg-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.75rem;
  padding-bottom: 0.85rem;
  border-bottom: 3px solid var(--wg-primary);
  flex-wrap: wrap;
}

.wg-section-title {
  font-family: var(--wg-font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--wg-ink);
  margin: 0;
  position: relative;
}

.wg-section-link {
  font-family: var(--wg-font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--wg-primary);
  text-decoration: none !important;
  border-bottom: 2px solid var(--wg-gold);
  padding-bottom: 2px;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.wg-section-link:hover {
  color: var(--wg-primary-dark);
  border-color: var(--wg-primary);
}

/* Compact 4-column interview grid */
.wg-latest-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
  margin-bottom: 2.75rem;
}

.wg-latest-card {
  min-width: 0;
}

.wg-latest-card__link {
  display: block;
  text-decoration: none !important;
  color: inherit;
  height: 100%;
  transition: transform 0.25s var(--wg-ease);
}

.wg-latest-card__media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 2px;
  background: #ddd;
  box-shadow: 0 8px 24px rgba(26, 26, 26, 0.08);
  transition: box-shadow 0.25s var(--wg-ease);
}

.wg-latest-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
  transition: transform 0.45s var(--wg-ease);
}

.wg-latest-card__body {
  padding: 0.85rem 0 0.15rem;
}

.wg-card-eyebrow {
  font-family: var(--wg-font-display);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--wg-primary);
  margin: 0 0 0.4rem;
}

.wg-latest-card__title {
  font-family: var(--wg-font-display);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--wg-ink);
  margin: 0 0 0.4rem;
}

.wg-latest-card__quote {
  font-family: var(--wg-font-body);
  font-size: 0.88rem;
  line-height: 1.4;
  color: var(--wg-muted);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.wg-latest-card__link:hover {
  transform: translateY(-4px);
}

.wg-latest-card__link:hover .wg-latest-card__media {
  box-shadow: 0 14px 32px rgba(26, 26, 26, 0.16);
}

.wg-latest-card__link:hover .wg-latest-card__media img {
  transform: scale(1.05);
}

@media (max-width: 1099px) {
  .wg-latest-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .wg-latest-grid {
    grid-template-columns: 1fr;
    gap: 1.35rem;
  }
  .wg-ed-hero {
    min-height: 58vh;
    max-height: none;
  }
  .wg-ed-hero__content {
    padding: 1.25rem 1.1rem 3.25rem;
    width: calc(100% - 1.5rem);
  }
  .wg-ed-hero__title {
    font-size: clamp(1.65rem, 7.5vw, 2.35rem);
    max-width: none;
  }
  .wg-ed-hero__dek {
    font-size: 0.95rem;
    max-width: none;
  }
  .wg-ed-hero__dots {
    bottom: 0.85rem;
  }
  .wg-latest-card__media {
    aspect-ratio: 16 / 10;
  }
  .wg-masthead-block,
  .wg-masthead-item {
    padding: 1.5rem 1.15rem !important;
  }
  .wg-article-hero {
    min-height: clamp(360px, 58vh, 620px);
  }
  .wg-article-hero__content {
    padding: 2rem 1rem 1.75rem;
  }
  .wg-article-hero__title {
    font-size: clamp(1.45rem, 6.5vw, 2.1rem);
  }
  .wg-article {
    padding: 1.75rem 1rem 2.5rem;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .wg-latest-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Legacy editorial grid cards (other pages) */
.wg-editorial-grid .portfolio-wrapper {
  border: none;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
  overflow: visible;
}

.wg-editorial-grid .single-portfolio__thumbnail {
  aspect-ratio: 4 / 5;
  border-radius: 2px;
  overflow: hidden;
}

.wg-editorial-grid .post-overlay-info {
  padding: 1rem 0 0.25rem !important;
  background: transparent !important;
}

h5.post-overlay-title {
  font-family: var(--wg-font-display) !important;
  font-size: clamp(1.25rem, 1.8vw, 1.85rem) !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  color: var(--wg-ink) !important;
  -webkit-line-clamp: 4;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Masthead — bold burgundy block */
.wg-masthead-block,
.wg-masthead-item,
.mesonry-list > .masonary-item:has(.po-info-danisma) {
  background: var(--wg-primary) !important;
  border: none !important;
  border-radius: 2px;
  padding: 2.5rem 2rem !important;
  box-shadow: none !important;
}

.po-title-danisma {
  color: var(--wg-gold) !important;
  border-bottom-color: rgba(255,255,255,0.25) !important;
  font-size: 1.6rem !important;
}

.po-info-danisma p {
  color: rgba(255,255,255,0.92) !important;
}

.po-info-danisma p small,
.po-info-danisma small {
  color: rgba(255,255,255,0.72) !important;
}

.po-info-danisma a {
  color: var(--wg-gold) !important;
}

.po-info-danisma p[style*="text-align:center"] {
  color: rgba(255,255,255,0.7) !important;
  border-top-color: rgba(255,255,255,0.2) !important;
}

.po-info-danisma img {
  background: transparent !important;
  padding: 0 !important;
  border: none !important;
  border-radius: 0;
  height: 56px !important;
  width: auto;
  max-width: 220px;
  object-fit: contain;
}

/* -------------------------------------------------------------------------- */
/* ARTICLE PAGE — Güler template & reusable                                    */
/* -------------------------------------------------------------------------- */

.wg-article-hero {
  position: relative;
  /* Tall enough that portrait interview shots keep the face in frame */
  min-height: clamp(520px, 78vh, 920px);
  max-height: none;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: #111;
}

.wg-article-hero__media {
  position: absolute;
  inset: 0;
}

.wg-article-hero__media img {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: cover !important;
  /* Face first — keep head in frame on portrait source photos */
  object-position: center top !important;
  animation: wg-hero-in 1.25s var(--wg-ease) both;
}

@media (max-width: 767px) {
  .wg-article-hero {
    min-height: clamp(360px, 58vh, 620px);
  }
  .wg-article-hero__media img {
    object-position: center top !important;
  }
}

.wg-article-hero__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.35) 55%, rgba(0,0,0,0.15) 100%);
}

.wg-article-hero__content {
  position: relative;
  z-index: 2;
  width: min(780px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 3rem 1rem 2.75rem;
}

.wg-article-hero__title {
  font-family: var(--wg-font-display);
  font-size: clamp(1.85rem, 4.2vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #fff !important;
  margin: 0 0 1.1rem;
  text-shadow: 0 2px 18px rgba(0,0,0,0.4);
}

.wg-byline {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.55rem;
  font-family: var(--wg-font-display);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--wg-muted);
}

.wg-byline--light {
  color: rgba(255,255,255,0.82);
}

.wg-byline__sep {
  opacity: 0.5;
}

.wg-article {
  background: var(--wg-sand);
  padding: 2.75rem 1.25rem 3.5rem;
}

.wg-article__inner {
  max-width: 720px;
  margin: 0 auto;
}

.wg-article__inner p {
  font-size: 1.125rem;
  line-height: 1.75;
  color: var(--wg-ink);
  margin: 0 0 1.5em;
}

.wg-article__inner p b,
.wg-article__inner p strong {
  display: block;
  font-family: var(--wg-font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--wg-primary);
  margin-bottom: 0.35em;
  line-height: 1.35;
}

.wg-article__lead {
  font-size: 1.2rem !important;
}

.wg-pullquote {
  margin: 2.25rem 0;
  padding: 0.35rem 0 0.35rem 1.25rem;
  border-left: 4px solid var(--wg-primary);
  font-family: var(--wg-font-display);
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  font-weight: 600;
  font-style: italic;
  line-height: 1.35;
  color: var(--wg-primary);
  letter-spacing: -0.01em;
}

.wg-pullquote--xl {
  font-size: clamp(1.45rem, 2.8vw, 2rem);
  border-left-color: var(--wg-gold);
}

.wg-article__figure {
  margin: 2.25rem 0;
}

.wg-article__figure img {
  width: 100%;
  display: block;
  border-radius: 2px;
}

.wg-article__gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
  margin: 2.5rem 0;
}

.wg-article__gallery img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 2px;
}

@media (max-width: 640px) {
  .wg-article__gallery {
    grid-template-columns: 1fr;
  }
  .wg-article__gallery img {
    aspect-ratio: 16 / 10;
  }
}

.wg-share {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  margin-top: 2.75rem;
  padding-top: 1.5rem;
  border-top: 2px solid var(--wg-line);
}

.wg-share__label {
  font-family: var(--wg-font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--wg-muted);
  margin-right: 0.35rem;
}

.wg-share__btn {
  appearance: none;
  border: 1.5px solid var(--wg-ink);
  background: transparent;
  color: var(--wg-ink);
  font-family: var(--wg-font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none !important;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.wg-share__btn:hover {
  background: var(--wg-primary);
  border-color: var(--wg-primary);
  color: #fff !important;
}

/* Related interviews — editorial */
.wg-related-interviews {
  background: var(--wg-blush);
  border-top: 3px solid var(--wg-primary);
  padding: 3rem 0;
}

.wg-related-title {
  font-family: var(--wg-font-display);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 700;
  color: var(--wg-ink);
  border: none;
}

.wg-related-card {
  border-radius: 2px;
  border-top: 3px solid var(--wg-primary);
}

.wg-related-card--all {
  background: var(--wg-primary);
}

.wg-related-meta {
  color: var(--wg-gold-dark);
}

/* Active nav gold underline option */
.wg-desktop-nav a.is-active {
  background: var(--wg-primary) !important;
  color: #fff !important;
}

/* Header on sand */
.header-area,
.wg-header {
  background: rgba(247, 243, 238, 0.94) !important;
  border-bottom: 1px solid var(--wg-line);
}

/* Hide old creative breadcrumb if leftover on article pages using new hero */
body:has(.wg-article-hero) .creative_breadcrumb-area {
  display: none !important;
}

@media (prefers-reduced-motion: reduce) {
  .wg-ed-hero__media img,
  .wg-ed-hero__slide,
  .wg-article-hero__media img {
    animation: none !important;
    transition: none !important;
  }
  .wg-ed-hero__slide.is-active .wg-ed-hero__media img {
    transform: none;
  }
}
