/* ==========================================================================
   GrowthCap Forum - Production Stylesheet
   Crafted with semantic classes, custom design tokens & self-hosted fonts
   100% Pixel-Perfect identical to live https://growthcapforum.com/
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Self-Hosted Web Fonts
   -------------------------------------------------------------------------- */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('../fonts/cormorant-garamond-latin.woff2') format('woff2'),
       url('https://fonts.gstatic.com/s/cormorantgaramond/v21/co3bmX5slCNuHLi8bLeY9MK7whWMhyjYqXtK.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 300 700;
  font-display: swap;
  src: url('../fonts/cormorant-garamond-italic-latin.woff2') format('woff2'),
       url('https://fonts.gstatic.com/s/cormorantgaramond/v21/co3smX5slCNuHLi8bLeY9MK7whWMhyjYrGFEsdtdc62E6zd5rDD-iNM8.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/inter-latin.woff2') format('woff2'),
       url('https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1ZL7.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* --------------------------------------------------------------------------
   2. Design Tokens & Root Variables
   -------------------------------------------------------------------------- */
:root {
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Color Palette (Exact OKLCH and Hex fallbacks) */
  --charcoal: oklch(19% .006 60);
  --charcoal-soft: oklch(26% .008 60);
  --cream: oklch(96.5% .012 85);
  --background: oklch(96.5% .012 85);
  --foreground: oklch(22% .008 60);
  --accent: oklch(62% .09 62);
  --accent-foreground: oklch(98% .008 85);
  --muted-foreground: oklch(48% .012 70);
  --border: oklch(88% .014 85);
  --input: oklch(88% .014 85);

  --radius: 0.25rem;
  --gcf-header-height: 68px;
}

body.admin-bar {
  --gcf-header-height: 100px;
}

@media screen and (max-width: 782px) {
  body.admin-bar {
    --gcf-header-height: 106px;
  }
}

@media screen and (max-width: 600px) {
  body.admin-bar {
    --gcf-header-height: 60px;
  }
}

/* --------------------------------------------------------------------------
   3. Base Reset & Typography
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
  color: var(--foreground);
  background-color: var(--background);
}

body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  background-color: var(--background);
  color: var(--foreground);
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}

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

a {
  color: inherit;
  text-decoration: none;
}

/* Typography Helpers */
.gcf-font-display {
  font-family: var(--font-display);
}

.gcf-eyebrow {
  font-family: var(--font-sans);
  font-size: 0.6875rem; /* 11px */
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  line-height: 1;
}

.gcf-eyebrow--accent {
  color: var(--accent);
}

.gcf-eyebrow--muted {
  color: color-mix(in oklab, var(--cream) 60%, transparent);
}

/* --------------------------------------------------------------------------
   4. Layout Containers
   -------------------------------------------------------------------------- */
.gcf-site {
  min-height: 100vh;
  background-color: var(--background);
}

.gcf-container {
  width: 100%;
  max-width: 80rem; /* 1280px */
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

@media (min-width: 1024px) {
  .gcf-container {
    padding-left: 2.5rem;
    padding-right: 2.5rem;
  }
}

.gcf-container--narrow {
  max-width: 56rem; /* 896px */
}

.gcf-container--article {
  max-width: 48rem; /* 768px */
}

/* --------------------------------------------------------------------------
   5. Site Header & Navigation
   -------------------------------------------------------------------------- */
.gcf-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
  background: linear-gradient(to bottom, color-mix(in oklab, var(--charcoal) 70%, transparent), transparent);
  transition: padding 0.5s ease, background 0.5s ease, backdrop-filter 0.5s ease, top 0.2s ease;
}

/* WordPress Admin Bar Compatibility */
body.admin-bar .gcf-header {
  top: 32px;
}

@media screen and (max-width: 782px) {
  body.admin-bar .gcf-header {
    top: 46px;
  }
}

@media screen and (max-width: 600px) {
  body.admin-bar #wpadminbar {
    position: absolute;
  }
  body.admin-bar .gcf-header {
    top: 0;
  }
}

.gcf-header--scrolled,
.gcf-header--solid,
.gcf-header.gcf-header--menu-open {
  padding-top: 1rem;
  padding-bottom: 1rem;
  background-color: color-mix(in oklab, var(--charcoal) 98%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid color-mix(in oklab, var(--cream) 10%, transparent);
}

.gcf-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

@media (min-width: 768px) {
  .gcf-header__inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
  }
}

.gcf-header__left {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.gcf-header__brand {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.gcf-header__logo-img,
.gcf-header .custom-logo {
  display: block;
  height: 28px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  transition: opacity 0.2s ease;
}

@media (min-width: 640px) {
  .gcf-header__logo-img,
  .gcf-header .custom-logo {
    height: 36px;
  }
}

.gcf-header__brand:hover .gcf-header__logo-img,
.gcf-header__brand:hover .custom-logo {
  opacity: 0.9;
}

.gcf-header__brand-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: -0.025em;
  color: var(--cream);
  line-height: 1;
}

@media (min-width: 640px) {
  .gcf-header__brand-title {
    font-size: 1.5rem;
  }
}

.gcf-header__brand-tag {
  color: var(--accent);
}

.gcf-header__nav {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
}

@media (min-width: 768px) {
  .gcf-header__nav {
    display: flex;
  }
}

.gcf-header__nav--center {
  margin: 0 auto;
}

.gcf-header__nav-link {
  color: color-mix(in oklab, var(--cream) 70%, transparent);
  transition: color 0.2s ease;
}

.gcf-header__nav-link:hover {
  color: var(--cream);
}

.gcf-header__nav-link--active {
  color: var(--cream);
  border-bottom: 1px solid var(--accent);
  padding-bottom: 0.25rem;
}

.gcf-header__right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
}

.gcf-header__member-badge {
  display: inline-flex;
  align-items: center;
  border: 1px solid color-mix(in oklab, var(--cream) 20%, transparent);
  padding: 0.375rem 0.75rem;
  color: color-mix(in oklab, var(--cream) 50%, transparent);
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}

.gcf-header__member-badge:hover {
  color: var(--cream);
  border-color: color-mix(in oklab, var(--cream) 40%, transparent);
}

.gcf-header__member-badge--active {
  color: var(--cream);
  border-color: var(--accent);
  text-decoration: none;
  gap: 0.4rem;
}

.gcf-header__member-badge--active:hover {
  color: var(--cream);
  border-color: var(--cream);
}

.gcf-member-indicator {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--accent);
  flex-shrink: 0;
}

.gcf-header__member-name {
  max-width: 8rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gcf-header__signout-label {
  color: color-mix(in oklab, var(--cream) 55%, transparent);
  font-size: 0.65rem;
  letter-spacing: 0.06em;
  border-left: 1px solid color-mix(in oklab, var(--cream) 20%, transparent);
  padding-left: 0.5rem;
  margin-left: 0.25rem;
  transition: color 0.2s ease;
}

.gcf-header__signout-link:hover .gcf-header__signout-label {
  color: var(--cream);
}

/* Legacy logout link (kept for mobile nav) */
.gcf-member-logout-link {
  margin-left: 6px;
  color: color-mix(in oklab, var(--cream) 60%, transparent);
  text-decoration: none;
  font-size: 0.65rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: color 0.2s ease;
}

.gcf-member-logout-link:hover {
  color: var(--cream);
}

@media (max-width: 767px) {
  .gcf-header__right .gcf-header__member-badge,
  .gcf-header__right .gcf-header__signout-link {
    display: none;
  }
}

.gcf-header__toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid color-mix(in oklab, var(--cream) 20%, transparent);
  color: var(--cream);
  cursor: pointer;
  padding: 0.5rem;
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  z-index: 60;
}

.gcf-header__toggle:hover,
.gcf-header__toggle:focus-visible {
  color: var(--accent);
  border-color: color-mix(in oklab, var(--cream) 40%, transparent);
}

.gcf-header__toggle svg {
  width: 1.25rem;
  height: 1.25rem;
  pointer-events: none;
}

@media (min-width: 768px) {
  .gcf-header__toggle {
    display: none;
  }
}

.gcf-header__mobile-menu {
  display: none;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1rem;
  border-top: 1px solid color-mix(in oklab, var(--cream) 10%, transparent);
  background-color: var(--charcoal);
  padding: 1.25rem 1.5rem 1.75rem;
  animation: gcfFadeDown 0.2s ease-out;
}

.gcf-header__mobile-menu--open {
  display: flex !important;
}

.gcf-header__mobile-menu .gcf-header__nav-link {
  font-size: 0.875rem;
  padding: 0.6rem 0;
  display: block;
  color: color-mix(in oklab, var(--cream) 80%, transparent);
}

.gcf-header__mobile-menu .gcf-header__nav-link:hover,
.gcf-header__mobile-menu .gcf-header__nav-link--active {
  color: var(--cream);
}

.gcf-header__mobile-menu .gcf-header__member-badge {
  display: inline-flex;
  align-self: flex-start;
  margin-top: 0.75rem;
  padding: 0.5rem 1rem;
  color: var(--cream);
  border-color: color-mix(in oklab, var(--cream) 30%, transparent);
}

@keyframes gcfFadeDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (min-width: 768px) {
  .gcf-header__mobile-menu {
    display: none !important;
  }
}

/* --------------------------------------------------------------------------
   6. Hero Section (Home Page)
   -------------------------------------------------------------------------- */
.gcf-hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  width: 100%;
  overflow: hidden;
  background-color: var(--charcoal);
}

.gcf-hero__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.gcf-hero__slide,
.gcf-hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  object-fit: cover;
  transition: opacity 600ms ease-in-out;
  opacity: 0;
  pointer-events: none;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
}

.gcf-hero__slide--active,
.gcf-hero__image--active {
  opacity: 1;
}

.gcf-hero__overlay-base {
  position: absolute;
  inset: 0;
  background-color: color-mix(in oklab, var(--charcoal) 55%, transparent);
}

.gcf-hero__overlay-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--charcoal), color-mix(in oklab, var(--charcoal) 20%, transparent), color-mix(in oklab, var(--charcoal) 50%, transparent));
}

.gcf-hero__content {
  position: relative;
  z-index: 10;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: 6rem;
}

@media (min-width: 1024px) {
  .gcf-hero__content {
    padding-bottom: 7rem;
  }
}

.gcf-hero__title {
  font-family: var(--font-display);
  margin-top: 1.25rem;
  max-width: 56rem;
  font-size: 3rem;
  line-height: 0.95;
  color: var(--cream);
  font-weight: 400;
}

@media (min-width: 640px) {
  .gcf-hero__title {
    font-size: 4.5rem;
  }
}

@media (min-width: 1024px) {
  .gcf-hero__title {
    font-size: 6rem;
  }
}

.gcf-hero__subtitle {
  margin-top: 1.5rem;
  max-width: 28rem;
  font-size: 0.875rem;
  line-height: 1.625;
  color: color-mix(in oklab, var(--cream) 70%, transparent);
}

.gcf-hero__counter-row {
  margin-top: 3rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.gcf-hero__counter {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-variant-numeric: tabular-nums;
  color: color-mix(in oklab, var(--cream) 80%, transparent);
}

.gcf-hero__counter-total {
  color: color-mix(in oklab, var(--cream) 40%, transparent);
}

.gcf-hero__progress-track {
  height: 1px;
  flex: 1;
  max-width: 20rem;
  background-color: color-mix(in oklab, var(--cream) 20%, transparent);
}

.gcf-hero__progress-bar {
  height: 1px;
  background-color: var(--accent);
  transition: width 600ms ease-out;
}

/* --------------------------------------------------------------------------
   7. The Forum Intro Section
   -------------------------------------------------------------------------- */
.gcf-intro {
  background-color: var(--background);
  padding-top: 6rem;
  padding-bottom: 6rem;
}

@media (min-width: 1024px) {
  .gcf-intro {
    padding-top: 9rem;
    padding-bottom: 9rem;
  }
}

.gcf-intro__lead {
  font-family: var(--font-display);
  margin-top: 2rem;
  font-size: 1.5rem;
  line-height: 1.625;
  color: var(--foreground);
}

@media (min-width: 640px) {
  .gcf-intro__lead {
    font-size: 2rem;
    line-height: 1.45;
  }
}

.gcf-intro__body {
  margin-top: 2rem;
  max-width: 42rem;
  font-size: 1rem;
  line-height: 1.625;
  color: var(--muted-foreground);
}

/* --------------------------------------------------------------------------
   8. Gatherings Section
   -------------------------------------------------------------------------- */
.gcf-gatherings {
  background-color: var(--background);
  padding-top: 6rem;
  padding-bottom: 6rem;
}

@media (min-width: 1024px) {
  .gcf-gatherings {
    padding-top: 9rem;
    padding-bottom: 9rem;
  }
}

.gcf-gatherings__header {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 2.5rem;
}

@media (min-width: 1024px) {
  .gcf-gatherings__header {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}

.gcf-gatherings__title {
  font-family: var(--font-display);
  margin-top: 1.25rem;
  font-size: 2.25rem;
  line-height: 1.1;
  color: var(--foreground);
  font-weight: 400;
}

@media (min-width: 640px) {
  .gcf-gatherings__title {
    font-size: 3rem;
  }
}

.gcf-gatherings__desc {
  max-width: 24rem;
  font-size: 0.875rem;
  line-height: 1.625;
  color: var(--muted-foreground);
}

.gcf-gatherings__grid {
  margin-top: 3.5rem;
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 1024px) {
  .gcf-gatherings__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.gcf-gathering-card {
  display: block;
  text-decoration: none;
}

.gcf-gathering-card__media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
}

@media (min-width: 640px) {
  .gcf-gathering-card__media {
    aspect-ratio: 4 / 3;
  }
}

@media (min-width: 1024px) {
  .gcf-gathering-card__media {
    aspect-ratio: 4 / 5;
  }
}

.gcf-gathering-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1200ms ease;
}

.gcf-gathering-card:hover .gcf-gathering-card__img {
  transform: scale(1.05);
}

.gcf-gathering-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--charcoal), color-mix(in oklab, var(--charcoal) 25%, transparent), transparent);
}

.gcf-gathering-card__body {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem;
}

@media (min-width: 1024px) {
  .gcf-gathering-card__body {
    padding: 2.5rem;
  }
}

.gcf-gathering-card__tag {
  color: color-mix(in oklab, var(--cream) 60%, transparent);
}

.gcf-gathering-card__heading {
  font-family: var(--font-display);
  margin-top: 0.75rem;
  font-size: 1.875rem;
  color: var(--cream);
  font-weight: 400;
  line-height: 1.2;
}

@media (min-width: 640px) {
  .gcf-gathering-card__heading {
    font-size: 2.25rem;
  }
}

.gcf-gathering-card__summary {
  margin-top: 1rem;
  max-width: 24rem;
  font-size: 0.875rem;
  line-height: 1.625;
  color: color-mix(in oklab, var(--cream) 70%, transparent);
}

.gcf-gathering-card__cta {
  margin-top: 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--cream);
}

.gcf-gathering-card__cta svg {
  width: 1rem;
  height: 1rem;
}

/* --------------------------------------------------------------------------
   9. Library Preview Section (Home Page)
   -------------------------------------------------------------------------- */
.gcf-home-library {
  background-color: var(--charcoal);
  padding-top: 6rem;
  padding-bottom: 6rem;
}

@media (min-width: 1024px) {
  .gcf-home-library {
    padding-top: 9rem;
    padding-bottom: 9rem;
  }
}

.gcf-home-library__header {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  border-bottom: 1px solid color-mix(in oklab, var(--cream) 10%, transparent);
  padding-bottom: 2.5rem;
}

@media (min-width: 1024px) {
  .gcf-home-library__header {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}

.gcf-home-library__title {
  font-family: var(--font-display);
  margin-top: 1.25rem;
  max-width: 42rem;
  font-size: 2.25rem;
  color: var(--cream);
  font-weight: 400;
  line-height: 1.15;
}

@media (min-width: 640px) {
  .gcf-home-library__title {
    font-size: 3rem;
  }
}

.gcf-home-library__desc {
  max-width: 24rem;
  font-size: 0.875rem;
  line-height: 1.625;
  color: color-mix(in oklab, var(--cream) 60%, transparent);
}

.gcf-home-library__grid {
  margin-top: 3rem;
  display: grid;
  gap: 2rem;
}

@media (min-width: 640px) {
  .gcf-home-library__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .gcf-home-library__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.gcf-home-card {
  display: block;
}

.gcf-home-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.gcf-home-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms ease;
}

.gcf-home-card:hover .gcf-home-card__img {
  transform: scale(1.04);
}

.gcf-home-card__overlay {
  position: absolute;
  inset: 0;
  background-color: color-mix(in oklab, var(--charcoal) 25%, transparent);
}

.gcf-home-card__badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background-color: color-mix(in oklab, var(--charcoal) 80%, transparent);
  padding: 0.375rem 0.75rem;
  color: color-mix(in oklab, var(--cream) 80%, transparent);
}

.gcf-home-card__badge svg {
  width: 0.75rem;
  height: 0.75rem;
}

.gcf-home-card__title {
  font-family: var(--font-display);
  margin-top: 1.25rem;
  font-size: 1.25rem;
  line-height: 1.375;
  color: var(--cream);
  font-weight: 400;
}

.gcf-home-card__meta {
  margin-top: 0.5rem;
  font-size: 0.75rem;
  color: color-mix(in oklab, var(--cream) 50%, transparent);
}

.gcf-home-library__actions {
  margin-top: 3.5rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .gcf-home-library__actions {
    flex-direction: row;
    align-items: center;
  }
}

.gcf-home-library__btn {
  border: 1px solid color-mix(in oklab, var(--cream) 25%, transparent);
  padding: 1rem 2rem;
  color: var(--cream);
  text-decoration: none;
  transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.gcf-home-library__btn:hover {
  border-color: var(--accent);
  background-color: var(--accent);
  color: var(--accent-foreground);
}

.gcf-home-library__lock {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: color-mix(in oklab, var(--cream) 50%, transparent);
  cursor: pointer;
}

.gcf-home-library__lock svg {
  width: 0.875rem;
  height: 0.875rem;
}

/* --------------------------------------------------------------------------
   10. History Timeline Section
   -------------------------------------------------------------------------- */
.gcf-history {
  background-color: var(--background);
  padding-top: 6rem;
  padding-bottom: 6rem;
}

@media (min-width: 1024px) {
  .gcf-history {
    padding-top: 9rem;
    padding-bottom: 9rem;
  }
}

.gcf-history__header {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 2.5rem;
}

@media (min-width: 1024px) {
  .gcf-history__header {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}

.gcf-history__title {
  font-family: var(--font-display);
  margin-top: 1.25rem;
  max-width: 42rem;
  font-size: 2.25rem;
  color: var(--foreground);
  font-weight: 400;
  line-height: 1.1;
}

@media (min-width: 640px) {
  .gcf-history__title {
    font-size: 3rem;
  }
}

.gcf-history__desc {
  max-width: 24rem;
  font-size: 0.875rem;
  line-height: 1.625;
  color: var(--muted-foreground);
}

.gcf-history__timeline {
  position: relative;
  margin-top: 4rem;
}

@media (min-width: 1024px) {
  .gcf-history__timeline {
    margin-top: 6rem;
  }
}

.gcf-history__desktop-base {
  position: absolute;
  left: 0;
  right: 0;
  top: 7px;
  height: 1px;
  background-color: var(--border);
  display: none;
}

.gcf-history__desktop-progress {
  position: absolute;
  left: 0;
  top: 7px;
  height: 1px;
  background-color: var(--accent);
  transition: width 200ms ease-out;
  display: none;
  width: 0%;
}

@media (min-width: 1024px) {
  .gcf-history__desktop-base,
  .gcf-history__desktop-progress {
    display: block;
  }
}

.gcf-history__mobile-base {
  position: absolute;
  top: 8px;
  bottom: 16px;
  left: 7px;
  width: 1px;
  background-color: var(--border);
  display: block;
}

.gcf-history__mobile-progress {
  position: absolute;
  top: 8px;
  left: 7px;
  width: 1px;
  background-color: var(--accent);
  transition: height 200ms ease-out;
  display: block;
  height: 0%;
}

@media (min-width: 1024px) {
  .gcf-history__mobile-base,
  .gcf-history__mobile-progress {
    display: none;
  }
}

.gcf-history__list {
  display: grid;
  gap: 3.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

@media (min-width: 1024px) {
  .gcf-history__list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2.5rem;
  }
}

.gcf-history__item {
  position: relative;
  padding-left: 2.5rem;
  transition: opacity 700ms ease-out, transform 700ms ease-out;
  opacity: 0.25;
  transform: translateY(12px);
}

@media (min-width: 1024px) {
  .gcf-history__item {
    padding-left: 0;
    padding-top: 3.5rem;
  }
}

.gcf-history__dot {
  position: absolute;
  left: 0;
  top: 4px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  border: 2px solid color-mix(in oklab, var(--muted-foreground) 40%, transparent);
  background-color: var(--background);
  transition: border-color 500ms ease, background-color 500ms ease;
}

@media (min-width: 1024px) {
  .gcf-history__dot {
    top: 0;
  }
}

.gcf-history__dot--active {
  border-color: var(--accent);
  background-color: var(--accent);
}

.gcf-history__year {
  font-family: var(--font-display);
  font-size: 3.75rem;
  line-height: 1;
  color: var(--foreground);
}

@media (min-width: 640px) {
  .gcf-history__year {
    font-size: 4.5rem;
  }
}

.gcf-history__heading {
  font-family: var(--font-display);
  margin-top: 1.25rem;
  font-size: 1.5rem;
  color: var(--foreground);
  font-weight: 400;
}

.gcf-history__text {
  margin-top: 1rem;
  max-width: 28rem;
  font-size: 0.875rem;
  line-height: 1.625;
  color: var(--muted-foreground);
}

/* --------------------------------------------------------------------------
   11. Library Archive Page
   -------------------------------------------------------------------------- */
.gcf-library-hero {
  background-color: var(--charcoal);
  padding-top: 10rem;
  padding-bottom: 5rem;
}

@media (min-width: 1024px) {
  .gcf-library-hero {
    padding-top: 12rem;
    padding-bottom: 7rem;
  }
}

.gcf-library-hero__title {
  font-family: var(--font-display);
  margin-top: 1.5rem;
  max-width: 48rem;
  font-size: 3rem;
  line-height: 1.02;
  color: var(--cream);
  font-weight: 400;
}

@media (min-width: 640px) {
  .gcf-library-hero__title {
    font-size: 3.75rem;
  }
}

@media (min-width: 1024px) {
  .gcf-library-hero__title {
    font-size: 4.5rem;
  }
}

.gcf-library-hero__desc {
  margin-top: 2rem;
  max-width: 36rem;
  font-size: 1rem;
  line-height: 1.625;
  color: color-mix(in oklab, var(--cream) 60%, transparent);
}

/* Sticky Filter Toolbar */
.gcf-toolbar {
  position: sticky;
  top: 68px;
  top: var(--gcf-header-height, 68px);
  z-index: 40;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background-color: color-mix(in oklab, var(--background) 95%, transparent);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

body.admin-bar .gcf-toolbar {
  top: 101px;
  top: var(--gcf-header-height, 101px);
}

@media screen and (max-width: 782px) {
  body.admin-bar .gcf-toolbar {
    top: 107px;
    top: var(--gcf-header-height, 107px);
  }
}

@media screen and (max-width: 600px) {
  body.admin-bar .gcf-toolbar {
    top: 60px;
    top: var(--gcf-header-height, 60px);
  }
}

.gcf-toolbar__inner {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
}

@media (min-width: 1024px) {
  .gcf-toolbar__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.gcf-toolbar__filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  column-gap: 1.5rem;
  row-gap: 0.75rem;
}

.gcf-filter-btn {
  padding-bottom: 0.25rem;
  background: none;
  border: none;
  border-bottom: 1px solid transparent;
  color: var(--muted-foreground);
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.gcf-filter-btn:hover {
  color: var(--foreground);
}

.gcf-filter-btn--active {
  border-bottom-color: var(--accent);
  color: var(--foreground);
}

.gcf-toolbar__divider {
  display: none;
  height: 1rem;
  width: 1px;
  background-color: var(--border);
}

@media (min-width: 640px) {
  .gcf-toolbar__divider {
    display: block;
  }
}

.gcf-toolbar__search {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-bottom: 1px solid var(--input);
  padding-bottom: 0.5rem;
}

@media (min-width: 1024px) {
  .gcf-toolbar__search {
    width: 18rem;
  }
}

.gcf-toolbar__search svg {
  width: 1rem;
  height: 1rem;
  color: var(--muted-foreground);
  flex-shrink: 0;
}

.gcf-toolbar__search-input {
  width: 100%;
  background: transparent;
  border: none;
  outline: none;
  font-size: 0.875rem;
  color: var(--foreground);
}

.gcf-toolbar__search-input::placeholder {
  color: var(--muted-foreground);
}

/* Featured Section - Smooth Accordion Height Collapse */
.gcf-featured-wrapper {
  display: grid;
  grid-template-rows: 1fr;
  transition: grid-template-rows 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.gcf-featured-wrapper--collapsed {
  grid-template-rows: 0fr;
}

.gcf-featured {
  min-height: 0;
  overflow: hidden;
  background-color: var(--background);
  padding-top: 5rem;
  padding-bottom: 5rem;
  opacity: 1;
  transition: opacity 0.3s ease,
              padding-top 0.45s cubic-bezier(0.4, 0, 0.2, 1),
              padding-bottom 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.gcf-featured-wrapper--collapsed .gcf-featured {
  opacity: 0;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  pointer-events: none;
}

@media (min-width: 1024px) {
  .gcf-featured {
    padding-top: 7rem;
    padding-bottom: 7rem;
  }
}

.gcf-featured__grid {
  margin-top: 2.5rem;
  display: grid;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .gcf-featured__grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

.gcf-featured__lead {
  display: block;
}

@media (min-width: 1024px) {
  .gcf-featured__lead {
    grid-column: span 3 / span 3;
  }
}

.gcf-featured__lead-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.gcf-featured__lead-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1200ms ease;
}

.gcf-featured__lead:hover .gcf-featured__lead-img {
  transform: scale(1.03);
}

.gcf-featured__lead-overlay {
  position: absolute;
  inset: 0;
  background-color: color-mix(in oklab, var(--charcoal) 15%, transparent);
}

.gcf-featured__lead-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background-color: color-mix(in oklab, var(--charcoal) 80%, transparent);
  padding: 0.375rem 0.75rem;
  color: color-mix(in oklab, var(--cream) 80%, transparent);
}

.gcf-featured__lead-badge svg {
  width: 0.75rem;
  height: 0.75rem;
}

.gcf-featured__lead-meta {
  margin-top: 1.5rem;
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

.gcf-featured__lead-title {
  font-family: var(--font-display);
  margin-top: 0.75rem;
  max-width: 36rem;
  font-size: 1.875rem;
  line-height: 1.375;
  color: var(--foreground);
  font-weight: 400;
}

@media (min-width: 640px) {
  .gcf-featured__lead-title {
    font-size: 2.25rem;
  }
}

.gcf-featured__lead-desc {
  margin-top: 1rem;
  max-width: 32rem;
  font-size: 0.875rem;
  line-height: 1.625;
  color: var(--muted-foreground);
}

.gcf-featured__aside {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  border-top: 1px solid var(--border);
  padding-top: 2.5rem;
}

@media (min-width: 1024px) {
  .gcf-featured__aside {
    grid-column: span 2 / span 2;
    border-top: none;
    border-left: 1px solid var(--border);
    padding-top: 0;
    padding-left: 2.5rem;
  }
}

.gcf-side-card {
  display: flex;
  gap: 1.25rem;
}

.gcf-side-card__media {
  position: relative;
  aspect-ratio: 1 / 1;
  width: 7rem;
  flex-shrink: 0;
  overflow: hidden;
}

@media (min-width: 640px) {
  .gcf-side-card__media {
    width: 8rem;
  }
}

.gcf-side-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms ease;
}

.gcf-side-card:hover .gcf-side-card__img {
  transform: scale(1.05);
}

.gcf-side-card__body {
  display: flex;
  flex-direction: column;
}

.gcf-side-card__tag {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--accent);
}

.gcf-side-card__tag svg {
  width: 0.75rem;
  height: 0.75rem;
}

.gcf-side-card__title {
  font-family: var(--font-display);
  margin-top: 0.75rem;
  font-size: 1.25rem;
  line-height: 1.375;
  color: var(--foreground);
  font-weight: 400;
}

.gcf-side-card__meta {
  margin-top: 0.5rem;
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

/* Archive Grid */
.gcf-archive {
  background-color: var(--charcoal);
  padding-top: 5rem;
  padding-bottom: 5rem;
}

@media (min-width: 1024px) {
  .gcf-archive {
    padding-top: 7rem;
    padding-bottom: 7rem;
  }
}

.gcf-archive__header {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  border-bottom: 1px solid color-mix(in oklab, var(--cream) 10%, transparent);
  padding-bottom: 2rem;
}

@media (min-width: 640px) {
  .gcf-archive__header {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}

.gcf-archive__title {
  font-family: var(--font-display);
  margin-top: 1.25rem;
  font-size: 2.25rem;
  color: var(--cream);
  font-weight: 400;
  line-height: 1.15;
}

@media (min-width: 640px) {
  .gcf-archive__title {
    font-size: 3rem;
  }
}

.gcf-archive__count {
  font-size: 0.75rem;
  color: color-mix(in oklab, var(--cream) 50%, transparent);
}

.gcf-archive__grid {
  margin-top: 3rem;
  display: grid;
  column-gap: 2rem;
  row-gap: 3rem;
}

@media (min-width: 640px) {
  .gcf-archive__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .gcf-archive__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.gcf-archive-card {
  display: flex;
  flex-direction: column;
}

.gcf-archive-card.gcf-hidden {
  display: none !important;
}

.gcf-archive-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.gcf-archive-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms ease;
}

.gcf-archive-card:hover .gcf-archive-card__img {
  transform: scale(1.04);
}

.gcf-archive-card__overlay {
  position: absolute;
  inset: 0;
  background-color: color-mix(in oklab, var(--charcoal) 25%, transparent);
}

.gcf-archive-card__badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background-color: color-mix(in oklab, var(--charcoal) 80%, transparent);
  padding: 0.375rem 0.75rem;
  color: color-mix(in oklab, var(--cream) 80%, transparent);
}

.gcf-archive-card__badge svg {
  width: 0.75rem;
  height: 0.75rem;
}

.gcf-archive-card__play {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  display: flex;
  width: 2.5rem;
  height: 2.5rem;
  align-items: center;
  justify-content: center;
  border: 1px solid color-mix(in oklab, var(--cream) 40%, transparent);
  color: var(--cream);
  transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.gcf-archive-card__play svg {
  width: 0.875rem;
  height: 0.875rem;
}

.gcf-archive-card:hover .gcf-archive-card__play {
  border-color: var(--accent);
  background-color: var(--accent);
  color: var(--accent-foreground);
}

.gcf-archive-card__title {
  font-family: var(--font-display);
  margin-top: 1.25rem;
  font-size: 1.25rem;
  line-height: 1.375;
  color: var(--cream);
  font-weight: 400;
}

.gcf-archive-card__desc {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.625;
  color: color-mix(in oklab, var(--cream) 60%, transparent);
}

.gcf-archive-card__meta {
  margin-top: 0.75rem;
  font-size: 0.75rem;
  color: color-mix(in oklab, var(--cream) 40%, transparent);
}

.gcf-archive__empty {
  margin-top: 4rem;
  font-size: 0.875rem;
  color: color-mix(in oklab, var(--cream) 60%, transparent);
}

.gcf-archive__empty.gcf-hidden {
  display: none !important;
}

/* --------------------------------------------------------------------------
   12. Site Footer & Member Access Modal
   -------------------------------------------------------------------------- */
.gcf-footer {
  border-top: 1px solid var(--border);
  background-color: var(--background);
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.gcf-footer__inner {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

@media (min-width: 640px) {
  .gcf-footer__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.gcf-footer__brand {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--foreground);
}

.gcf-footer__links {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.gcf-footer__link {
  color: var(--muted-foreground);
  text-decoration: none;
  transition: color 0.2s ease;
}

.gcf-footer__link:hover {
  color: var(--foreground);
}

.gcf-footer__sep {
  color: color-mix(in oklab, var(--muted-foreground) 40%, transparent);
}

/* Member Restricted Gate Section (Light Background) */
.gcf-member-gate {
  background-color: var(--background);
  color: var(--foreground);
  border-top: 1px solid var(--border);
  padding: 6rem 1.5rem 8rem;
  text-align: center;
}

.gcf-member-gate__inner {
  max-width: 38rem;
  margin: 0 auto;
}

.gcf-member-gate__icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--charcoal);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.gcf-member-gate__title {
  font-family: var(--font-display);
  font-size: 2.25rem;
  line-height: 1.15;
  color: var(--charcoal);
  font-weight: 400;
  margin-top: 0.75rem;
  margin-bottom: 1rem;
}

@media (min-width: 640px) {
  .gcf-member-gate__title {
    font-size: 2.75rem;
  }
}

.gcf-member-gate__desc {
  color: var(--muted-foreground);
  font-size: 1.05rem;
  line-height: 1.65;
  max-width: 32rem;
  margin: 0 auto 2.25rem;
}

.gcf-member-gate__btn {
  display: inline-block;
  background-color: var(--charcoal);
  color: var(--cream);
  border: 1px solid var(--charcoal);
  padding: 1rem 2.5rem;
  cursor: pointer;
  letter-spacing: 0.12em;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.75rem;
  line-height: 1;
  transition: all 0.25s ease;
  text-decoration: none;
}

.gcf-member-gate__btn:hover {
  background-color: var(--accent);
  color: #161616;
  border-color: var(--accent);
}

/* Member Modal */
.gcf-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: none;
  align-items: center;
  justify-content: center;
  background-color: color-mix(in oklab, var(--charcoal) 80%, transparent);
  padding: 1.5rem;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.gcf-modal--open {
  display: flex !important;
}

.gcf-modal__dialog {
  width: 100%;
  max-width: 28rem;
  background-color: var(--cream);
  padding: 2rem;
  animation: gcfFadeUp 0.3s ease-out;
}

@media (min-width: 640px) {
  .gcf-modal__dialog {
    padding: 2.5rem;
  }
}

@keyframes gcfFadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.gcf-modal__title {
  font-family: var(--font-display);
  margin-top: 1rem;
  font-size: 1.875rem;
  color: var(--foreground);
  font-weight: 400;
  line-height: 1.2;
}

.gcf-modal__desc {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.gcf-modal__form {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.gcf-modal__input {
  width: 100%;
  border: 1px solid var(--input);
  background-color: transparent;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  outline: none;
  color: var(--foreground);
  transition: border-color 0.2s ease;
}

.gcf-modal__input:focus {
  border-color: var(--accent);
}

.gcf-modal__submit {
  width: 100%;
  background-color: var(--charcoal);
  padding: 1rem 1.5rem;
  color: var(--cream);
  border: none;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.gcf-modal__submit:hover {
  background-color: var(--accent);
  color: var(--accent-foreground);
}

.gcf-modal__cancel {
  margin-top: 1.25rem;
  background: none;
  border: none;
  font-size: 0.75rem;
  color: var(--muted-foreground);
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
}

/* --------------------------------------------------------------------------
   13. Standard WordPress Content Classes & Helpers
   -------------------------------------------------------------------------- */
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.alignright { float: right; margin: 0 0 1.5em 1.5em; }
.alignleft { float: left; margin: 0 1.5em 1.5em 0; }
.alignwide { max-width: 1200px; margin-left: auto; margin-right: auto; }
.alignfull { width: 100vw; max-width: 100vw; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); }
.wp-caption { max-width: 100%; margin-bottom: 1.5em; text-align: center; }
.wp-caption-text { font-size: 0.75rem; color: var(--muted-foreground); margin-top: 0.5rem; }
.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;
}

.gcf-hidden {
  display: none !important;
}

/* --------------------------------------------------------------------------
   14. Dynamic Single Library Piece Page
   -------------------------------------------------------------------------- */
.gcf-single-library {
  background-color: var(--background);
}

.gcf-single-library__hero {
  background-color: var(--charcoal);
  padding-top: 10rem;
  padding-bottom: 5rem;
}

@media (min-width: 1024px) {
  .gcf-single-library__hero {
    padding-top: 12rem;
    padding-bottom: 6rem;
  }
}

.gcf-single-library__breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}

.gcf-single-library__back-link {
  color: color-mix(in oklab, var(--cream) 70%, transparent);
  text-decoration: none;
  transition: color 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.gcf-single-library__back-link:hover {
  color: var(--cream);
}

.gcf-single-library__sep {
  color: color-mix(in oklab, var(--cream) 30%, transparent);
}

.gcf-single-library__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  background-color: color-mix(in oklab, var(--cream) 12%, transparent);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius);
  color: var(--cream);
}

.gcf-single-library__badge svg {
  width: 0.75rem;
  height: 0.75rem;
}

.gcf-single-library__title {
  font-family: var(--font-display);
  margin-top: 1.5rem;
  max-width: 54rem;
  font-size: 2.5rem;
  line-height: 1.08;
  color: var(--cream);
  font-weight: 400;
}

@media (min-width: 640px) {
  .gcf-single-library__title {
    font-size: 3.25rem;
  }
}

@media (min-width: 1024px) {
  .gcf-single-library__title {
    font-size: 4rem;
  }
}

.gcf-single-library__dek {
  margin-top: 1.5rem;
  max-width: 44rem;
  font-size: 1.125rem;
  line-height: 1.6;
  color: color-mix(in oklab, var(--cream) 75%, transparent);
  font-style: italic;
}

.gcf-single-library__meta {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.8125rem;
  color: color-mix(in oklab, var(--cream) 55%, transparent);
  border-top: 1px solid color-mix(in oklab, var(--cream) 12%, transparent);
  padding-top: 1.5rem;
}

.gcf-single-library__meta-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.gcf-single-library__meta-item strong {
  color: var(--cream);
  font-weight: 500;
}

/* Single Media Section */
.gcf-single-media {
  background-color: var(--charcoal);
  padding-bottom: 5rem;
}

.gcf-video-container {
  position: relative;
  width: 100%;
  max-width: 64rem;
  margin-left: auto;
  margin-right: auto;
  aspect-ratio: 16 / 9;
  background-color: #000;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  border: 1px solid color-mix(in oklab, var(--cream) 10%, transparent);
}

.gcf-video-container iframe,
.gcf-video-container video {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.gcf-single-cover {
  max-width: 64rem;
  margin-left: auto;
  margin-right: auto;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid color-mix(in oklab, var(--cream) 10%, transparent);
}

.gcf-single-cover img {
  width: 100%;
  height: auto;
  max-height: 520px;
  object-fit: cover;
}

/* Body Content Section */
.gcf-single-body {
  padding-top: 5rem;
  padding-bottom: 6rem;
  background-color: var(--background);
}

.gcf-single-body__inner {
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
}

/* Prose Typography */
.gcf-prose {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--foreground);
}

.gcf-prose p {
  margin-bottom: 1.75rem;
}

.gcf-prose h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 400;
  line-height: 1.2;
  color: var(--foreground);
  margin-top: 3rem;
  margin-bottom: 1.25rem;
}

.gcf-prose h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.3;
  color: var(--foreground);
  margin-top: 2.25rem;
  margin-bottom: 1rem;
}

.gcf-prose blockquote {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-style: italic;
  line-height: 1.5;
  color: var(--foreground);
  border-left: 2px solid var(--accent);
  padding-left: 1.75rem;
  margin: 2.5rem 0;
}

.gcf-prose ul, .gcf-prose ol {
  margin-bottom: 1.75rem;
  padding-left: 1.5rem;
}

.gcf-prose li {
  margin-bottom: 0.5rem;
}

/* Single Navigation & More in Library */
.gcf-single-nav {
  border-top: 1px solid var(--border);
  padding-top: 2.5rem;
  margin-top: 4rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .gcf-single-nav {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.gcf-single-nav__link {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  max-width: 20rem;
  transition: opacity 0.2s ease;
}

.gcf-single-nav__link:hover {
  opacity: 0.8;
}

.gcf-single-nav__sub {
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted-foreground);
}

.gcf-single-nav__title {
  font-family: var(--font-display);
  font-size: 1.125rem;
  color: var(--foreground);
  line-height: 1.3;
}

/* Related Pieces Section */
.gcf-related-section {
  background-color: var(--charcoal);
  padding-top: 5rem;
  padding-bottom: 5rem;
  border-top: 1px solid color-mix(in oklab, var(--cream) 10%, transparent);
}

.gcf-related-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  border-bottom: 1px solid color-mix(in oklab, var(--cream) 10%, transparent);
  padding-bottom: 1.5rem;
  margin-bottom: 3rem;
}

.gcf-related-header__title {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--cream);
  font-weight: 400;
}

.gcf-related-header__all {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.gcf-related-header__all:hover {
  opacity: 0.8;
}
