/* === layout/navigation.css === */
/* ============================================
   NAVIGATION
   ============================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
  transition: var(--transition);
}

/* Position header below WordPress admin bar when logged in */
.admin-bar .site-header {
  top: 32px;
  /* Admin bar height on desktop */
}

@media screen and (max-width: 782px) {
  .admin-bar .site-header {
    top: 46px;
    /* Admin bar height on mobile */
  }
}

.site-header.scrolled {
  box-shadow: 0 1px 20px rgba(0, 0, 0, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.site-logo {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--gray-900);
  letter-spacing: -0.02em;
  cursor: pointer;
  transition: opacity 0.2s;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  min-width: 0;
}

@media (max-width: 480px) {
  .site-logo {
    font-size: 1.05rem;
    gap: 0.45rem;
  }
}

.site-logo:hover {
  opacity: 0.8;
}

.site-logo__img,
.custom-logo {
  height: 34px;
  width: auto;
  max-width: 200px;
  display: block;
  object-fit: contain;
}

.custom-logo-link {
  display: flex;
  align-items: center;
}

.site-logo__text {
  display: flex;
  align-items: center;
}

.site-logo span,
.site-logo__dot {
  color: var(--green-600);
}

.main-navigation ul {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.main-navigation a {
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-500);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  position: relative;
}

.main-navigation a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--green-600);
  transition: var(--transition);
}

.main-navigation a:hover {
  color: var(--gray-900);
}

.main-navigation a:hover::after {
  width: 100%;
}

/* Scoped to .main-navigation a.nav-cta — beats .main-navigation a specificity without !important */
.main-navigation a.nav-cta {
  background: var(--green-600);
  color: var(--white);
  padding: 0.6rem 1.4rem;
  border-radius: 4px;
  font-weight: 600;
}

.main-navigation a.nav-cta:hover {
  background: var(--green-700);
  transform: translateY(-1px);
}

.main-navigation a.nav-cta::after {
  display: none;
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 32px;
  height: 32px;
  position: relative;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gray-800);
  position: absolute;
  left: 4px;
  transition: var(--transition);
}

.nav-toggle span:nth-child(1) {
  top: 8px;
}

.nav-toggle span:nth-child(2) {
  top: 15px;
}

.nav-toggle span:nth-child(3) {
  top: 22px;
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg);
  top: 15px;
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg);
  top: 15px;
}

/* ── Mobile navigation (migrated from responsive.css) ── */
@media screen and (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  .main-navigation {
    position: fixed;
    top: 72px;
    left: 0;
    width: 100%;
    z-index: 999;
    background: rgba(255, 255, 255, 0.98);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    padding: 2rem;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border-bottom: 1px solid var(--gray-200);
  }

  .js .main-navigation {
    transform: translateY(calc(-100% - 80px));
    visibility: hidden;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), visibility 0s linear 0.4s;
  }

  /* Shift mobile nav down to clear the admin bar (46px on mobile) */
  .admin-bar .main-navigation {
    top: 118px;
    /* 72px header + 46px admin bar */
  }
  .admin-bar.js .main-navigation,
  .js .admin-bar .main-navigation {
    transform: translateY(calc(-100% - 130px));
  }

  .js .main-navigation.open {
    transform: translateY(0);
    visibility: visible;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), visibility 0s linear 0s;
  }

  .main-navigation ul {
    flex-direction: column;
    gap: 1.5rem;
  }
}
/* === layout/hero.css === */
/* ============================================
   SECTION: HERO
   ============================================ */
.hero-section {
  padding-top: 72px;
  background: linear-gradient(180deg, var(--gray-100) 0%, var(--white) 100%);
  overflow: hidden;
}

/* Account for WordPress admin bar when logged in */
.admin-bar .hero-section {
  padding-top: 104px;
  /* 72px header + 32px admin bar */
}

@media screen and (max-width: 782px) {
  .admin-bar .hero-section {
    padding-top: 118px;
    /* 72px header + 46px admin bar on mobile */
  }
}

.hero-title-block {
  text-align: center;
  padding: clamp(4rem, 8vw, 7rem) 0 clamp(2rem, 4vw, 3.25rem);
}

/* When partner marquee shows, bottom padding lives on the marquee (symmetric) */
.hero-title-block--partner-marquee {
  padding-bottom: 0;
}

.hero-logo {
  display: block;
  margin: 0 auto 1.5rem auto;
  text-align: center;
}

.hero-logo__img {
  display: block;
  max-width: min(1000px, 100%);
  max-height: 400px;
  width: auto;
  height: auto;
  object-fit: contain;
  margin: 0 auto 0.25rem auto;
}

.hero-logo__placeholder {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: min(400px, 100%);
  height: 160px;
  max-width: 100%;
  border: 2px dashed var(--gray-300);
  color: var(--gray-400);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--gray-50);
  margin: 0 auto 0.25rem auto;
  border-radius: 4px;
}

.hero-slogan {
  font-family: var(--font-display);
  font-size: 0.85rem;
  /* 13.6px — converted from 13.5px to match rem convention */
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gray-700);
  margin: 0 auto;
  padding-top: 10px;
  padding-bottom: 10px;
  width: 100%;
  max-width: min(800px, 100%);
  text-align: center;
}

.hero-title-block .hero-date {
  font-family: var(--font-display);
  font-size: clamp(1rem, 3.5vw, 1.625rem);
  font-weight: 600;
  color: var(--gray-900);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin: 0 auto 1rem auto;
  text-align: center;
}

/* Subtitle: front page uses .hero-subtitle; block pattern uses .section-desc */
.hero-title-block .hero-subtitle,
.hero-title-block .section-desc {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  color: var(--gray-500);
  max-width: 600px;
  margin: 0.5rem auto 0;
  text-align: center;
  line-height: 1.7;
}

/* ── Hero CTA buttons ─────────────────────────────────── */
.hero-cta {
  display: flex;
  gap: 0.875rem;
  justify-content: center;
  flex-wrap: wrap;
  margin: 2rem auto 0;
}

.hero-cta__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 4px;
  transition: all 0.2s ease;
  cursor: pointer;
  white-space: nowrap;
}

.hero-cta__btn--primary {
  background: var(--gray-900);
  color: var(--white);
  border: 2px solid var(--gray-900);
}

.hero-cta__btn--primary:hover {
  background: var(--gray-700);
  border-color: var(--gray-700);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.hero-cta__btn--secondary {
  background: transparent;
  color: var(--gray-900);
  border: 2px solid var(--gray-300);
}

.hero-cta__btn--secondary:hover {
  border-color: var(--gray-900);
  color: var(--gray-900);
  transform: translateY(-2px);
}

.hero-countdown {
  display: grid;
  grid-template-columns: repeat(4, minmax(80px, 1fr));
  gap: 0.75rem;
  margin: 2.5rem auto 0;
  max-width: 600px;
}

.hero-countdown__item {
  border: 1px solid var(--gray-200);
  background: var(--white);
  padding: 1rem 0.5rem 0.75rem;
  border-radius: 8px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.hero-countdown__value {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 4vw, 2rem);
  font-weight: 800;
  color: var(--gray-900);
  line-height: 1.1;
}

.hero-countdown__label {
  display: block;
  margin-top: 0.3rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-400);
}

/* ── Hero partner logo strip (below stats row) ────────── */
.hero-partner-marquee {
  /* Margin doubles the gap from stats row into the strip; padding frames the logos */
  margin-top: clamp(1.35rem, 2.75vw, 2rem);
  margin-bottom: 0;
  padding-top: clamp(1.35rem, 2.75vw, 2rem);
  padding-bottom: clamp(1.35rem, 2.75vw, 2rem);
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.hero-partner-marquee__viewport {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent,
    #000 6%,
    #000 94%,
    transparent
  );
  mask-image: linear-gradient(
    90deg,
    transparent,
    #000 6%,
    #000 94%,
    transparent
  );
}

.hero-partner-marquee__track {
  display: flex;
  width: max-content;
  animation: aiadHeroMarquee var(--hero-marquee-duration, 45s) linear infinite;
}

.hero-partner-marquee__list {
  display: flex;
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
  list-style: none;
  margin: 0;
  padding: 0.35rem 0;
  flex-shrink: 0;
}

.hero-partner-marquee__item {
  flex-shrink: 0;
}

.hero-partner-marquee__link {
  display: block;
  text-decoration: none;
}

.hero-partner-marquee__link:hover,
.hero-partner-marquee__link:focus-visible {
  outline: none;
}

.hero-partner-marquee__link:focus-visible .hero-partner-marquee__img {
  outline: 2px solid var(--gray-900);
  outline-offset: 4px;
}

.hero-partner-marquee__img {
  display: block;
  height: clamp(2rem, 5vw, 3rem);
  width: auto;
  max-width: min(168px, 36vw);
  object-fit: contain;
  opacity: 0.9;
  filter: grayscale(0.2);
  transition: opacity 0.2s ease, filter 0.2s ease;
}

.hero-partner-marquee__link:hover .hero-partner-marquee__img,
.hero-partner-marquee__link:focus-visible .hero-partner-marquee__img {
  opacity: 1;
  filter: grayscale(0);
}

@keyframes aiadHeroMarquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-partner-marquee__track {
    animation: none;
    transform: none;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    max-width: 56rem;
    margin: 0 auto;
    padding: 0 1rem;
    box-sizing: border-box;
  }

  .hero-partner-marquee__viewport {
    -webkit-mask-image: none;
    mask-image: none;
  }

  .hero-partner-marquee__list:last-child {
    display: none;
  }

  .hero-partner-marquee__list:first-child {
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* ── Hero stat blocks ─────────────────────────────────── */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  margin: 0.75rem auto 0;
  max-width: 600px;
  align-items: stretch;
}

.hero-stats__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  min-height: 90px;
  padding: 0.85rem 0.5rem 0.75rem;
  border: none;
  border-radius: 8px;
  text-decoration: none;
  color: var(--white);
  position: relative;
  overflow: hidden;
  transition: opacity 0.15s, box-shadow 0.15s;
}

/* Vibrant colour per stat */
.hero-stats__item:nth-child(1) { background: var(--accent-blue); }
.hero-stats__item:nth-child(2) { background: var(--accent-purple); }
.hero-stats__item:nth-child(3) { background: var(--accent-rose); }
.hero-stats__item:nth-child(4) { background: var(--accent-emerald); }

/* Subtle shine layer */
.hero-stats__item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(255,255,255,0.14) 0%, transparent 60%);
  pointer-events: none;
}

.hero-stats__item:hover {
  opacity: 0.9;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  text-decoration: none;
}

.hero-stats__value {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 4vw, 2rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  text-shadow: 0 1px 4px rgba(0,0,0,0.2);
}

.hero-stats__label {
  display: block;
  min-height: 1.8em;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  text-align: center;
}

@media screen and (max-width: 640px) {
  .hero-countdown {
    grid-template-columns: repeat(4, 1fr);
    max-width: 100%;
    gap: 0.5rem;
    margin-top: 2rem;
  }

  .hero-countdown__item {
    padding: 0.65rem 0.25rem 0.5rem;
  }

  .hero-cta {
    flex-wrap: nowrap;
    gap: 0.625rem;
  }

  .hero-cta__btn {
    flex: 1 1 0;
    justify-content: center;
    min-width: 0;
    padding: 0.75rem 1.25rem;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
  }

  .hero-stats {
    grid-template-columns: repeat(4, 1fr);
    max-width: 100%;
    gap: 0.35rem;
  }

  .hero-stats__item {
    min-height: 78px;
    padding: 0.45rem 0.2rem 0.35rem;
  }

  .hero-stats__value {
    font-size: clamp(1.4rem, 4vw, 2rem);
  }

  .hero-stats__label {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    font-size: 0.55rem;
    letter-spacing: 0.06em;
  }
}

@media screen and (max-width: 390px) {
  .hero-stats {
    gap: 0.25rem;
  }

  .hero-stats__item {
    min-height: 72px;
    padding: 0.4rem 0.1rem 0.3rem;
  }

  .hero-stats__value {
    font-size: 1rem;
  }

  .hero-stats__label {
    -webkit-line-clamp: 2;
    font-size: 0.5rem;
    letter-spacing: 0.05em;
  }
}
/* === layout/footer.css === */
/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  padding: 3rem 0 2rem;
  border-top: 1px solid var(--gray-200);
}

/* Staff-editable widget area */
.footer-widgets {
  padding-bottom: 2rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--gray-200);
}

.footer-widget {
  font-size: 0.9rem;
  color: var(--gray-600);
  line-height: 1.7;
}

.footer-widget__title {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-900);
  margin-bottom: 0.75rem;
}

.footer-widget a {
  color: var(--gray-600);
  text-decoration: none;
  transition: color 0.15s;
}

.footer-widget a:hover {
  color: var(--gray-900);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem 2rem;
  margin-bottom: 2rem;
}

.footer-links a {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--gray-600);
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.15s;
}

.footer-links a:hover {
  color: var(--gray-900);
}

.footer-links__pending {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gray-300);
  cursor: default;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.5rem;
  border-top: 1px solid var(--gray-200);
  gap: 1rem;
}

.footer-copy {
  font-size: 0.8rem;
  color: var(--gray-400);
}

.footer-social {
  display: flex;
  gap: 0.75rem;
}

.footer-social a {
  width: 36px;
  height: 36px;
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--gray-900);
}

.footer-social a svg {
  width: 16px;
  height: 16px;
  fill: var(--gray-600);
  transition: var(--transition);
}

.footer-social a:hover svg {
  fill: var(--white);
}

@media (max-width: 480px) {
  .footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

/* === components/principles.css === */
/* ============================================
   COMPONENT: PRINCIPLES — mobile-first
   ============================================ */

/* Our AI literacy box is hidden by request */
.principles-grid .ai-literacy-box {
  display: none !important;
}

/* Desktop: span full width below the 5 principle cards */
@media (min-width: 769px) {
  .principles-grid .ai-literacy-box {
    grid-column: 1 / -1;
  }
}

.principle-card.ai-literacy-box::before {
  display: none;
}

/* ── Mobile default: 2-column grid ── */
.principles-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
  align-items: start;
}

/* Centre the lone 5th card on mobile 2-col only */
@media (max-width: 768px) {
  .principles-grid > .principle-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    max-width: 50%;
    margin-left: auto;
    margin-right: auto;
  }
}

.principle-card {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0.75rem 0.5rem;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  min-width: 0;
}

.principle-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--principle-accent, var(--gray-400)), var(--badge-black));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.principle-card:hover {
  border-color: var(--principle-accent, var(--gray-300));
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.principle-card:hover::before {
  transform: scaleX(1);
}

/* ── Badge — mobile: 90px ────────────────── */
.principle-card .principle-badge {
  margin-bottom: 0.5rem;
  min-height: 90px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 90px;
  max-width: 90px;
  margin-left: auto;
  margin-right: auto;
}

.principle-card .principle-badge__img {
  display: block;
  margin: 0 auto;
  max-width: 100%;
  max-height: 90px;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* Hide broken images in principle badges */
.principle-card .principle-badge__img.is-broken {
  display: none !important;
}

.principle-card .principle-badge__placeholder {
  width: 90px;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gray-100);
  border: 2px dashed var(--gray-300);
}

.principle-card .principle-badge__placeholder-text {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ── Accent colour tokens ────────────────── */
.principle-card--safe {
  --principle-accent: var(--badge-safe);
}

.principle-card--smart {
  --principle-accent: var(--badge-smart);
}

.principle-card--creative {
  --principle-accent: var(--badge-creative);
}

.principle-card--responsible {
  --principle-accent: var(--badge-responsible);
}

.principle-card--future {
  --principle-accent: var(--badge-future);
}

/* ── Typography — mobile ─────────────────── */
.principle-card h3 {
  font-size: 0.875rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gray-900);
  line-height: 1.2;
  margin-bottom: 0.35rem;
}

.principle-card .section-desc {
  font-size: 0.8rem;
  line-height: 1.4;
  margin-top: 0.25rem;
  /* Narrower measure than full card — avoids one short line spanning the whole tile */
  max-width: min(13.5rem, 100%);
  margin-left: auto;
  margin-right: auto;
  text-wrap: balance;
}

/* ── Tablet (769–1024px): 3-col, normal gap ─ */
@media (min-width: 769px) and (max-width: 1024px) {
  .principles-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }

  .principle-card {
    padding: 1rem 0.75rem;
  }

  .principle-card .principle-badge {
    min-height: 120px;
    width: 100%;
    max-width: 100%;
    margin-bottom: 0.5rem;
  }

  .principle-card .principle-badge__img {
    max-height: 120px;
  }

  .principle-card .principle-badge__placeholder {
    width: 120px;
    height: 120px;
  }

  .principle-card .principle-badge__placeholder-text {
    font-size: 1.5rem;
  }

  .principle-card h3 {
    font-size: 0.85rem;
    letter-spacing: 0.05em;
  }

  .principle-card .section-desc {
    font-size: 0.75rem;
    margin-top: 0.35rem;
  }
}

/* ── Desktop (≥ 1025px): 5-column full layout ── */
@media (min-width: 1025px) {
  .principles-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
  }

  .principle-card {
    padding: 1rem 0.75rem;
  }

  .principle-card .principle-badge {
    min-height: 150px;
    width: 100%;
    max-width: 100%;
    margin-bottom: 0.5rem;
  }

  .principle-card .principle-badge__img {
    max-height: 150px;
  }

  .principle-card .principle-badge__placeholder {
    width: 150px;
    height: 150px;
  }

  .principle-card .principle-badge__placeholder-text {
    font-size: 1.75rem;
  }

  .principle-card h3 {
    font-size: 0.9rem;
    letter-spacing: 0.05em;
  }

  .principle-card .section-desc {
    font-size: 0.8rem;
    margin-top: 0.35rem;
  }
}

/* ── Mobile: horizontal swipe + scroll-snap (keeps 2-col grid if reduced motion) ── */
@media (max-width: 768px) and (not (prefers-reduced-motion: reduce)) {
  .principles-grid {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 0.625rem;
    overflow-x: auto;
    overflow-y: visible;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: max(1rem, env(safe-area-inset-left, 0px));
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x pinch-zoom;
    overscroll-behavior-x: contain;
    margin-top: 1.5rem;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding-left: max(1rem, env(safe-area-inset-left, 0px));
    padding-right: max(1rem, env(safe-area-inset-right, 0px));
    padding-bottom: 0.5rem;
    width: 100vw;
    max-width: 100vw;
    box-sizing: border-box;
    scrollbar-width: thin;
  }

  .principles-grid > .principle-card {
    /* Narrower tiles so the next principle peeks in (was ~17.5rem / 280px) */
    flex: 0 0 min(13.75rem, calc(100vw - 4.5rem));
    max-width: min(13.75rem, calc(100vw - 4.5rem));
    padding: 0.65rem 0.45rem;
    scroll-snap-align: center;
    scroll-snap-stop: always;
  }

  .principles-grid > .principle-card:last-child:nth-child(odd) {
    grid-column: unset;
    max-width: min(13.75rem, calc(100vw - 4.5rem));
    margin-left: 0;
    margin-right: 0;
  }
}
/* === components/explore-sessions.css === */
/* ============================================
   COMPONENT: Explore sessions (By session length)
   Mobile-first: base = mobile, desktop = min-width: 768px
   ============================================ */

/* Duration badges (Lesson Starter (5 min) style) */
.duration-badge {
  display: inline-block;
  padding: 0.4rem 0.9rem;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--green-600);
  background: var(--gray-100);
  border: 1px solid var(--gray-300);
  border-radius: 0;
  transition: var(--transition);
  text-decoration: none;
}

a.duration-badge:hover {
  background: var(--green-600);
  color: var(--white);
  border-color: var(--green-600);
}

.duration-badge--card {
  display: inline-block;
  margin-top: 0.5rem;
}

.duration-badge--single {
  margin-top: 0;
}

/* #themes: tighter spacing below intro paragraph */
#themes .section-desc {
  margin-bottom: 0.5rem;
}

/* Explore subheadings (By theme, By session length) */
.explore-subheading {
  margin-top: 0;
  margin-bottom: 0.35rem;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-700);
}

.explore-session-length-block {
  margin-top: 0;
}

.explore-session-length-block .explore-subheading {
  margin-top: 0;
  margin-bottom: 0.5rem;
}

/* ---- Base = mobile (4-col grid, white cards, image badges) ---- */
.explore-session-cards {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.25rem;
  padding: 0;
  background: transparent;
  border: none;
}

.explore-session-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  justify-content: flex-start;
  min-height: 130px;
  padding: 0;
  gap: 0.25rem;
  background: transparent;
  border: none;
  border-radius: 0;
  text-decoration: none;
  color: var(--gray-900, #111);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.explore-session-card .explore-session-badge {
  order: 1;
  margin-bottom: 0.4rem;
  padding: 0;
  border-radius: 0;
  border: none;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  box-sizing: border-box;
}

.explore-session-card .explore-session-badge__text {
  display: none;
}

.explore-session-card .explore-session-badge__img {
  display: block;
  max-width: 100%;
  max-height: 64px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.explore-session-card .explore-session-badge__img.is-broken {
  display: none;
}

.explore-session-card .explore-session-badge-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  min-width: 0;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--gray-400, #999);
  background: var(--gray-100, #f3f3f3);
  border: 2px dashed var(--gray-300, #ddd);
  border-radius: 0;
}

/* Hide placeholder when image is present. No fallback for older browsers without :has(); optional: add .no-image on server when no img to show placeholder. */
.explore-session-card .explore-session-badge:has(.explore-session-badge__img:not(.is-broken)) .explore-session-badge-placeholder {
  display: none;
}

.explore-session-card .explore-session-text {
  order: 3;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  width: 100%;
  padding: 0 0.1rem;
  align-items: center;
  text-align: center;
}

.explore-session-title__short { display: none; }

/* Match theme-link__label: same font size, weight, letter-spacing as theme cards */
.explore-session-card .explore-session-title {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.2;
  white-space: normal;
  min-height: 2.4em;
  color: var(--gray-900, #111);
}

.explore-session-card .explore-session-desc {
  display: none;
}

.explore-session-card .explore-session-status {
  display: none;
}

.explore-session-icon {
  display: none;
}

/* Match theme-link at mobile: same size/weight as theme cards */
@media (max-width: 767px) {
  .explore-session-card .explore-session-title {
    font-size: 0.55rem;
    font-weight: 700;
    letter-spacing: 0.01em;
  }

  .explore-session-title:has(.explore-session-title__short) .explore-session-title__full { display: none; }
  .explore-session-title__short { display: inline; }
}

/* ---- Desktop: 2-col vibrant cards ---- */
@media (min-width: 768px) {
  .explore-subheading {
    margin-top: 0.5rem;
    margin-bottom: 0.35rem;
  }

  .explore-session-length-block .explore-subheading {
    margin-top: 0;
  }

  .explore-session-cards {
    margin-top: 0.5rem;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
    padding: 0;
    background: transparent;
  }

  .explore-session-card {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.25rem;
    padding: 1rem 1.25rem;
    min-height: 0;
    background: #1e1e1e;
    border-radius: 4px;
    color: #ffffff;
    position: relative;
    overflow: hidden;
  }

  .explore-session-card:hover {
    background: #2a2a2a;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  }

  .explore-session-card .explore-session-badge {
    order: 0;
    margin-bottom: 0;
    width: auto;
    min-width: 4.5rem;
    height: auto;
    min-height: 4.5rem;
    padding: 0;
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 3px;
    position: relative;
    overflow: hidden;
  }

  /* Vibrant badge colour per card */
  .explore-session-card:nth-child(1) .explore-session-badge { background: #2563eb; }
  .explore-session-card:nth-child(2) .explore-session-badge { background: #7c3aed; }
  .explore-session-card:nth-child(3) .explore-session-badge { background: #db2777; }
  .explore-session-card:nth-child(4) .explore-session-badge { background: #059669; }

  /* Shine on badge */
  .explore-session-card .explore-session-badge::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, rgba(255,255,255,0.18) 0%, transparent 60%);
    pointer-events: none;
  }

  .explore-session-card .explore-session-badge__text {
    display: inline;
  }

  .explore-session-card .explore-session-badge__img,
  .explore-session-card .explore-session-badge-placeholder {
    display: none;
  }

  .explore-session-card .explore-session-text {
    order: 0;
    flex: 1;
    padding: 0;
    align-items: flex-start;
    text-align: left;
  }

  .explore-session-card .explore-session-title {
    font-size: 1.1rem;
    font-weight: 800;
    min-height: 0;
    color: #ffffff;
    text-shadow: 0 1px 3px rgba(0,0,0,0.15);
  }

  .explore-session-card .explore-session-desc {
    display: block;
    font-size: 0.9rem;
    line-height: 1.4;
    color: rgba(255,255,255,0.85);
  }

  .explore-session-card .explore-session-status {
    display: inline;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.9);
  }

  .explore-session-card .explore-session-status--live {
    color: #ffffff;
    animation: explore-live-blink 1.2s ease-in-out infinite;
  }

  .explore-session-icon {
    display: flex;
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 0;
    align-items: center;
    justify-content: center;
    color: var(--white);
  }

  .explore-session-icon svg {
    width: 28px;
    height: 28px;
  }
}

@keyframes explore-live-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* === components/section-green.css === */
/* ============================================
   COMPONENT: Section variant – green (colour theme modifier)
   ============================================ */
.section--green {
  background: var(--green-900);
  color: var(--white);
}

.section--green .section-label {
  color: var(--green-300);
}

.section--green .section-title {
  color: var(--white);
}

/* === components/display-board.css === */
/* ============================================
   COMPONENT: DISPLAY BOARD GUIDE
   ============================================ */

.toolkit-display-board .section-desc {
    margin-bottom: 1.5rem;
}

/* ── Tab bar ─────────────────────────────── */
.display-board-tabbar {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    border-bottom: 2px solid var(--gray-200);
    margin-bottom: 0;
}

.display-board-tab {
    padding: 0.65rem 1.1rem;
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    background: transparent;
    color: var(--gray-500);
    border: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    cursor: pointer;
    transition: color 0.15s, border-color 0.15s;
    white-space: nowrap;
}

.display-board-tab:hover {
    color: var(--gray-900);
}

.display-board-tab.is-active {
    color: var(--gray-900);
    border-bottom-color: var(--gray-900);
}

/* ── Panel ───────────────────────────────── */
.display-board-panel {
    padding: 1.5rem 0;
}

/* ── Real-photo view ─────────────────────── */
.display-board-real {
    overflow: hidden;
    border: 1px solid var(--gray-200);
    background: var(--gray-100);
}

.display-board-real img {
    width: 75%;
    height: auto;
    display: block;
    margin: 0 auto;
    vertical-align: middle;
}

/* ── Blueprint mockup ────────────────────── */
.display-board-mockup {
    background: var(--gray-100);
    border: 2px dashed var(--gray-300);
    padding: 1.25rem;
    width: 100%;
    box-sizing: border-box;
}

.display-board-mockup__header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 1rem;
    background: var(--gray-200);
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.display-board-mockup__logo {
    width: 48px;
    height: 48px;
    background: var(--gray-400);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    color: var(--gray-600);
    flex-shrink: 0;
}

.display-board-mockup__tagline {
    font-size: 0.8rem;
    color: var(--gray-600);
}

.display-board-mockup__principles {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.display-board-mockup__block {
    padding: 0.75rem 0.5rem;
    border: 1px solid var(--gray-300);
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    font-size: 0.8rem;
    text-align: center;
    min-width: 0;
    overflow-wrap: break-word;
    word-break: break-word;
}

.display-board-mockup__block-title {
    font-weight: 700;
    font-size: 0.86rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    overflow-wrap: break-word;
    word-break: break-word;
}

.display-board-mockup__block-hint {
    font-size: 0.76rem;
    color: var(--gray-600);
    overflow-wrap: break-word;
    word-break: break-word;
    line-height: 1.35;
}

.display-board-mockup__block--safe    { border-color: #1d4ed8; border-width: 2px; color: #1d4ed8; }
.display-board-mockup__block--smart   { border-color: #c2410c; border-width: 2px; color: #c2410c; }
.display-board-mockup__block--creative    { border-color: #6d28d9; border-width: 2px; color: #6d28d9; }
.display-board-mockup__block--responsible { border-color: #15803d; border-width: 2px; color: #15803d; }
.display-board-mockup__block--future  { border-color: #be185d; border-width: 2px; color: #be185d; }

.display-board-mockup__block--safe .display-board-mockup__block-hint,
.display-board-mockup__block--smart .display-board-mockup__block-hint,
.display-board-mockup__block--creative .display-board-mockup__block-hint,
.display-board-mockup__block--responsible .display-board-mockup__block-hint,
.display-board-mockup__block--future .display-board-mockup__block-hint { color: inherit; }

.display-board-mockup__qr {
    padding: 0.75rem 1rem;
    border: 2px solid #0f766e;
    margin-bottom: 1rem;
    font-size: 0.8rem;
    text-align: center;
    color: #0f766e;
}

.display-board-mockup__qr .display-board-mockup__block-title { display: block; }

.display-board-mockup__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.display-board-mockup__row:last-of-type { margin-bottom: 0; }

.display-board-mockup__block--questions { border-color: #b45309; border-width: 2px; color: #b45309; }
.display-board-mockup__block--responses { border-color: #0f766e; border-width: 2px; color: #0f766e; }
.display-board-mockup__block--spotlight { border-color: #4338ca; border-width: 2px; color: #4338ca; }

.display-board-mockup__block--questions .display-board-mockup__block-hint,
.display-board-mockup__block--responses .display-board-mockup__block-hint,
.display-board-mockup__block--spotlight .display-board-mockup__block-hint { color: inherit; }

/* ── Steps list ──────────────────────────── */
.display-board-steps__list {
    margin: 0;
    padding-left: 1.5rem;
    column-count: 1;
    column-gap: 2rem;
}

.display-board-steps__list li.section-desc {
    margin-bottom: 0.6rem;
    font-size: 0.95rem;
    break-inside: avoid;
    page-break-inside: avoid;
}

@media (min-width: 768px) {
    .display-board-steps__list {
        column-count: 2;
    }
}

/* ── Examples gallery ────────────────────── */
.display-board-examples__grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.display-board-examples__item {
    flex: 1 1 0;
    min-width: min(240px, 100%);
    margin: 0;
    overflow: hidden;
    border: 1px solid var(--gray-200);
}

.display-board-examples__item img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* ── Submit CTA ──────────────────────────── */
.display-board-submit {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--gray-200);
}

.display-board-submit__content {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 2rem;
    align-items: center;
}

.display-board-submit__heading {
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 0.4rem;
}

.display-board-submit__text .section-desc {
    margin: 0;
    font-size: 0.9rem;
}

.display-board-submit__button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
}

/* Blueprint mockup: principle tiles get very narrow below ~900px — shrink type before words break.
   Skip this band on small phones: we switch to a 2-column grid there so text stays readable. */
@media (max-width: 900px) and (min-width: 641px) {
    .display-board-mockup { padding: 0.75rem; }
    .display-board-mockup__header { flex-wrap: wrap; gap: 0.5rem; padding: 0.5rem 0.75rem; font-size: 0.85rem; }
    .display-board-mockup__logo { width: 40px; height: 40px; font-size: 0.65rem; }
    .display-board-mockup__principles { gap: 0.3rem; }
    .display-board-mockup__block { padding: 0.45rem 0.25rem; font-size: 0.68rem; }
    .display-board-mockup__block-title {
        font-size: 0.58rem;
        letter-spacing: 0.01em;
        line-height: 1.15;
    }
    .display-board-mockup__block-hint { font-size: 0.54rem; line-height: 1.25; }
    .display-board-mockup__row { gap: 0.45rem; }
    .display-board-mockup__qr { padding: 0.5rem 0.75rem; font-size: 0.72rem; }
}

/* Phones: no horizontal scroll — stack the layout so labels and hints stay legible */
@media (max-width: 640px) {
    .display-board-mockup {
        padding: 0.75rem;
        min-width: 0;
    }

    .display-board-mockup__header {
        flex-wrap: wrap;
        gap: 0.5rem;
        padding: 0.5rem 0.75rem;
        font-size: 0.88rem;
    }

    .display-board-mockup__logo {
        width: 40px;
        height: 40px;
        font-size: 0.65rem;
    }

    .display-board-mockup__tagline {
        font-size: 0.78rem;
        line-height: 1.35;
    }

    .display-board-mockup__principles {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.5rem;
    }

    /* 2 + 2 + full-width row for the fifth principle */
    .display-board-mockup__principles .display-board-mockup__block--future {
        grid-column: 1 / -1;
    }

    .display-board-mockup__block {
        padding: 0.55rem 0.4rem;
        font-size: 0.78rem;
    }

    .display-board-mockup__block-title {
        font-size: 0.72rem;
        letter-spacing: 0.02em;
        line-height: 1.2;
        word-break: break-word;
        overflow-wrap: break-word;
    }

    .display-board-mockup__block-hint {
        font-size: 0.68rem;
        line-height: 1.35;
    }

    .display-board-mockup__qr {
        padding: 0.65rem 0.75rem;
        font-size: 0.8rem;
    }

    .display-board-mockup__qr .display-board-mockup__block-title {
        line-height: 1.25;
    }

    .display-board-mockup__row {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .display-board-panel {
        overflow-x: visible;
    }
}

@media (max-width: 640px) {
    /* Submit CTA: stack on mobile */
    .display-board-submit__content {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .display-board-submit__text { display: none; }

    .display-board-submit__button {
        width: 100%;
        justify-content: flex-start;
        box-sizing: border-box;
    }
}

/* === components/resource-card-pointed.css === */
/* ============================================
   RESOURCE CARD — 7c POINTED CHAMFER VARIANT
   Chamfered hero, theme-colour gradient wedge (mix-blend-overlay),
   dark bottom fade, absolute text layers, coloured title below.
   ============================================ */

/* ---- Hero shell ---- */
.resource-card.resource-card--pointed {
  border: none !important;
  background: transparent;
  box-shadow: none;
}

.resource-card--pointed .resource-card__hero {
  display: block;
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #111;
  clip-path: polygon(0 0, calc(100% - 50px) 0, 100% 50px, 100% 100%, 50px 100%, 0 calc(100% - 50px));
  text-decoration: none;
}

/* Theme gradient as hero background — visible when no thumbnail, tints behind image when one exists */
.resource-card--safe    .resource-card__hero { background: linear-gradient(135deg, #0ea5e9, #0284c7); }
.resource-card--smart   .resource-card__hero { background: linear-gradient(135deg, #f97316, #ea580c); }
.resource-card--creative .resource-card__hero { background: linear-gradient(135deg, #a855f7, #9333ea); }
.resource-card--responsible .resource-card__hero { background: linear-gradient(135deg, #22c55e, #16a34a); }
.resource-card--future  .resource-card__hero { background: linear-gradient(135deg, #ec4899, #db2777); }

/* ---- Photo ---- */
.resource-card--pointed .resource-card__hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6;
}

/* ---- Top-left gradient wedge — blends over the photo ---- */
.resource-card--pointed .resource-card__wedge {
  position: absolute;
  inset: 0;
  mix-blend-mode: overlay;
  clip-path: polygon(0 0, 55% 0, 0 45%);
}

.resource-card--safe    .resource-card__wedge { background: linear-gradient(135deg, #0ea5e9, #0284c7); }
.resource-card--smart   .resource-card__wedge { background: linear-gradient(135deg, #f97316, #ea580c); }
.resource-card--creative .resource-card__wedge { background: linear-gradient(135deg, #a855f7, #9333ea); }
.resource-card--responsible .resource-card__wedge { background: linear-gradient(135deg, #22c55e, #16a34a); }
.resource-card--future  .resource-card__wedge { background: linear-gradient(135deg, #ec4899, #db2777); }

/* ---- Dark bottom fade for text legibility ---- */
.resource-card--pointed .resource-card__fade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.70) 0%, rgba(0, 0, 0, 0.20) 40%, transparent 100%);
  pointer-events: none;
}

/* ---- Theme label — top-left ---- */
.resource-card--pointed .resource-card__theme-label {
  position: absolute;
  top: 1rem;
  left: 1.25rem;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.7);
}

/* ---- Format word — bottom-left inside hero (desktop) ---- */
.resource-card--pointed .resource-card__format {
  position: absolute;
  bottom: 3rem;
  left: 2.5rem;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
  pointer-events: none;
}

/* ---- Format label — body area (above title) ---- */
.resource-card--pointed .resource-card__format-label {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.91rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 0.15rem;
}

/* ---- Duration — bottom-right ---- */
.resource-card--pointed .resource-card__duration-label {
  position: absolute;
  bottom: 1rem;
  right: 1.25rem;
  display: inline-flex;
  align-items: center;
  gap: 0.3em;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}
.resource-card--pointed .resource-card__duration-label::before {
  content: '';
  display: inline-block;
  width: 1em;
  height: 1em;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpolyline points='12 6 12 12 16 14'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.9;
}

/* ---- Title — centred inside hero, offset down past theme label ---- */
.resource-card--pointed .resource-card__title-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.55);
}

/* ---- Body below hero ---- */
.resource-card--pointed .resource-card__body {
  padding: 1rem 0 0;
}

.resource-card--pointed .resource-card__title-below {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 0.25rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-decoration: none;
}

.resource-card--safe    .resource-card__title-below { color: #0284c7; }
.resource-card--smart   .resource-card__title-below { color: #ea580c; }
.resource-card--creative .resource-card__title-below { color: #9333ea; }
.resource-card--responsible .resource-card__title-below { color: #16a34a; }
.resource-card--future  .resource-card__title-below { color: #db2777; }

.resource-card--pointed .resource-card__excerpt {
  font-size: 12px;
  line-height: 1.6;
  color: var(--gray-600);
  margin: 0.25rem 0 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.resource-card--pointed .resource-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  margin-top: 1rem;
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: opacity 0.2s;
}

.resource-card--pointed .resource-card__link:hover { opacity: 0.75; }

.resource-card--safe    .resource-card__link { color: #0284c7; }
.resource-card--smart   .resource-card__link { color: #ea580c; }
.resource-card--creative .resource-card__link { color: #9333ea; }
.resource-card--responsible .resource-card__link { color: #16a34a; }
.resource-card--future  .resource-card__link { color: #db2777; }

/* ---- Mobile ---- */
@media (max-width: 480px) {
  .resource-card--pointed .resource-card__hero {
    clip-path: polygon(0 0, calc(100% - 30px) 0, 100% 30px, 100% 100%, 30px 100%, 0 calc(100% - 30px));
  }

  .resource-card--pointed .resource-card__format {
    display: none;
  }

  .resource-card--pointed .resource-card__format-label {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gray-500);
    margin-bottom: 0.15rem;
  }

  .resource-card--pointed .resource-card__theme-label {
    font-size: 0.5rem;
    top: 0.6rem;
    left: 0.75rem;
  }

  .resource-card--pointed .resource-card__title-overlay {
    font-size: 1rem;
    padding: 1rem;
  }

  .resource-card--pointed .resource-card__format {
    font-size: 0.55rem;
    bottom: 1.75rem;
    left: 1.5rem;
  }

  .resource-card--pointed .resource-card__duration-label {
    font-size: 0.6rem;
    bottom: 0.6rem;
    right: 0.75rem;
  }

  .resource-card--pointed .resource-card__title-below {
    font-size: 1.1rem;
  }

  .resource-card--pointed .resource-card__excerpt {
    font-size: 12px;
    -webkit-line-clamp: 3;
  }
}


/* ============================================
   BREADCRUMB TRAIL
   ============================================ */
.aiad-breadcrumbs {
  background: var(--gray-50, #f9fafb);
  border-bottom: 1px solid var(--gray-200, #e5e7eb);
  font-family: var(--font-display);
  font-size: 0.8rem;
  padding: 0.65rem 0;
  margin-top: 72px;
}

.admin-bar .aiad-breadcrumbs {
  margin-top: 104px;
}

@media screen and (max-width: 782px) {
  .admin-bar .aiad-breadcrumbs {
    margin-top: 118px;
  }
}

.aiad-breadcrumbs__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-items: center;
  color: var(--gray-600, #4b5563);
}

.aiad-breadcrumbs__item {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.aiad-breadcrumbs__item a {
  color: var(--gray-700, #374151);
  text-decoration: none;
  transition: color 0.15s;
}

.aiad-breadcrumbs__item a:hover {
  color: var(--green-600, #16a34a);
  text-decoration: underline;
}

.aiad-breadcrumbs__item.is-current span {
  color: var(--gray-900, #111827);
  font-weight: 600;
}

.aiad-breadcrumbs__sep {
  color: var(--gray-400, #9ca3af);
  user-select: none;
}

@media (max-width: 480px) {
  .aiad-breadcrumbs {
    font-size: 0.72rem;
    padding: 0.5rem 0;
  }
}
