/* Cybersecurity Council page — extends tokens/classes already defined in
   kc-new-landing.css (l-container, l-title, l-desc, cta-btn,
   secondary-contrast-btn, cta-group, reveal-item, trending-grid/trending-card).
   Only page-specific rules live here. */

/* .l-container adds 96px of padding top AND bottom (desktop) on its own;
   two of them stacked back-to-back therefore leave a 192px gap even across
   just a background-color change. These trim one side of that gap at each
   section boundary so consecutive sections read as balanced, not empty. */
.cc-section-tight-top {
  padding-top: 32px;
}
.cc-section-tight-bottom {
  padding-bottom: 32px;
}
@media (min-width: 768px) {
  .cc-section-tight-top {
    padding-top: 48px;
  }
  .cc-section-tight-bottom {
    padding-bottom: 48px;
  }
}

/* ---------- hero ----------
   Full-bleed photo hero, same "full-width-breakout dark section +
   absolutely-positioned image layer" technique already used for the
   texture layer on technology-provider.tpl/memberships.tpl, just with a
   real photo (existing asset, previously unused) instead of a texture PNG. */
.cybercouncil-hero-section {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  background-color: var(--bg-dark);
  overflow: hidden;
  min-height: 480px;
  display: flex;
  align-items: center;
}
.cybercouncil-hero-bg-texture {
  position: absolute;
  inset: 0;
  background-image: url("/assets/images/2021_CSLS_Webseite_Background-CISO-Panel.jpg");
  background-size: cover;
  background-position: center 30%;
}
.cybercouncil-hero-bg-texture::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 13, 18, 0.55) 0%, rgba(10, 13, 18, 0.75) 100%);
}
/* left-aligned within the same max-width/gutter as .l-container below it,
   not the generic centered .hero-container used on about/index. */
.cybercouncil-hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 64px 20px;
  text-align: left;
}
/* This hero sits on a fixed dark photo background regardless of site theme,
   unlike other ".contrast" sections whose own background flips between
   light/dark mode - so its text must always stay white, not follow
   --contrast-text's theme-relative flip (which goes dark in .dark mode). */
.cybercouncil-hero-inner.contrast,
.dark .cybercouncil-hero-inner.contrast {
  color: #ffffff;
}
@media (min-width: 768px) {
  .cybercouncil-hero-section {
    min-height: 560px;
  }
  .cybercouncil-hero-inner {
    padding: 96px 32px;
  }
}
.cc-hero-title {
  font-weight: 400;
  font-size: 34px;
  line-height: 1.25;
  margin: 0 0 20px;
  max-width: 640px;
}
@media (min-width: 768px) {
  .cc-hero-title {
    font-size: 48px;
  }
}
.cc-hero-desc {
  font-weight: 300;
  font-size: 16px;
  line-height: 180%;
  max-width: 640px;
  margin: 0;
}
@media (min-width: 768px) {
  .cc-hero-desc {
    font-size: 18px;
  }
}
/* .hero-highlights defaults to justify-content:center (its usual home,
   index.tpl's centered hero); this hero is left-aligned like the rest of
   the page, so its checkmark row should start left too. */
.cybercouncil-hero-inner .hero-highlights {
  justify-content: flex-start;
  margin-top: 32px;
  margin-bottom: 32px;
}

/* ---------- section 1: the peer group ---------- */
.cc-peer-group p + p {
  margin-top: 20px;
}

/* ---------- section 2: the CISO perspective ---------- */
.cc-episode-featured {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  text-decoration: none;
  color: inherit;
}
@media (min-width: 900px) {
  .cc-episode-featured {
    grid-template-columns: 1.1fr 1fr;
    align-items: center;
    gap: 56px;
  }
}
.cc-episode-featured-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #05070a;
  box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.4);
}
.cc-episode-featured-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.cc-episode-featured:hover .cc-episode-featured-media img {
  transform: scale(1.03);
}
.cc-episode-featured-media .scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 7, 10, 0.05) 0%, rgba(5, 7, 10, 0.55) 100%);
}
.cc-play-badge {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cc-play-badge .ring {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.cc-episode-featured:hover .cc-play-badge .ring {
  transform: scale(1.08);
}
.cc-duration-chip {
  position: absolute;
  right: 14px;
  bottom: 14px;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 4px;
}
.cc-episode-featured-body .cc-featured-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--cta-color);
  margin-bottom: 12px;
}
.cc-episode-featured-body h3 {
  font-size: 24px;
  font-weight: 400;
  color: var(--text-color);
  margin-bottom: 12px;
}
@media (min-width: 768px) {
  .cc-episode-featured-body h3 {
    font-size: 28px;
  }
}
.cc-episode-featured-body p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.7;
  font-weight: 300;
}
.cc-watch-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-color);
  text-decoration: none;
}
.cc-watch-link svg {
  transition: transform 0.2s ease;
}
.cc-episode-featured:hover .cc-watch-link svg {
  transform: translateX(4px);
}

/* ---------- section 4: members ----------
   Photo-top / content-below cards (not a text-over-face overlay — that
   pattern only reads well with the much larger, already-cropped-tight
   portraits advisory.tpl uses). Keeps the same horizontal-scroll-with-
   arrows affordance as advisory.tpl's profile-slider-wrapper. */
.profile-slider-wrapper {
  position: relative;
  width: 100%;
}
.profile-card-grid {
  display: flex;
  justify-content: flex-start;
  align-items: stretch;
  gap: 16px;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 32px;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.profile-card-grid::-webkit-scrollbar {
  display: none;
}
.profile-card {
  position: relative;
  flex: 0 0 auto;
  scroll-snap-align: start;
  width: 220px;
  display: flex;
  flex-direction: column;
  background: var(--background);
  border: 1px solid var(--card-border);
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.profile-card:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  transform: translateY(-2px);
}
.profile-img-wrap {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--secondary-background-color);
}
.profile-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.profile-overlay {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.profile-overlay h2 {
  font-weight: 500;
  font-size: 15px;
  line-height: 1.35;
  color: var(--text-color);
  margin-bottom: 4px;
}
.profile-title {
  font-weight: 300;
  font-size: 13px;
  line-height: 1.4;
  color: var(--text-muted);
}
.slider-arrow {
  display: none;
}
@media (min-width: 768px) {
  .profile-card-grid {
    gap: 24px;
  }
  .profile-card {
    width: 240px;
  }
  .slider-arrow {
    display: flex;
    position: absolute;
    top: calc(50% - 24px);
    width: 48px;
    height: 48px;
    background: var(--cta-color);
    color: #ffffff;
    border: none;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: background-color 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
  }
  .slider-arrow:hover {
    background: #c40032;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
  }
  .prev-arrow {
    left: -16px;
  }
  .next-arrow {
    right: -16px;
  }
}
.slider-arrow.hidden {
  opacity: 0;
  pointer-events: none;
}
@media (min-width: 1024px) {
  .next-arrow {
    right: -56px;
  }
  .prev-arrow {
    left: -56px;
  }
}

/* ---------- FAQ ----------
   Copied from memberships.tpl's faq-section pattern (same tokens, same
   plus/minus mask-icon accordion). */
:root {
  --faq-bg: #475059;
  --faq-text: #ffffff;
  --faq-border: rgba(255, 255, 255, 0.2);
  --faq-icon-bg: #ffffff;
}
.dark {
  --faq-bg: #ffffff;
  --faq-text: #373e45;
  --faq-border: rgba(55, 62, 69, 0.2);
  --faq-icon-bg: #373e45;
}
.full-width-breakout-section-faq {
  position: relative;
  isolation: isolate;
  width: auto;
  margin-left: 0;
  margin-right: 0;
}
.full-width-breakout-section-faq::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  margin-left: -50vw;
  z-index: -1;
  background-color: var(--faq-bg);
}
.faq-section {
  padding-top: 64px;
  padding-bottom: 64px;
  padding-left: 20px;
  padding-right: 20px;
  max-width: 800px;
  margin: 0 auto;
  box-sizing: border-box;
}
@media (min-width: 768px) {
  .faq-section {
    padding-left: 32px;
    padding-right: 32px;
  }
}
.faq-section h3 {
  font-weight: 400;
  font-size: 32px;
  line-height: 140%;
  text-align: center;
  color: var(--faq-text);
}
.faq-subtitle-membership {
  font-weight: 300;
  font-size: 16px;
  line-height: 180%;
  text-align: center;
  color: var(--faq-text);
  margin-top: 20px;
  margin-bottom: 40px;
}
.faq-item {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding-top: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--faq-border);
}
.faq-item:last-child {
  border-bottom: none;
}
.faq-question-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  user-select: none;
  gap: 16px;
}
@media (max-width: 768px) {
  .faq-question-row {
    align-items: flex-start;
  }
}
.faq-question-text {
  font-size: 16px;
  font-weight: 500;
  color: var(--faq-text);
}
.faq-icon-wrapper {
  flex-shrink: 0;
}
.faq-icon {
  background-color: var(--faq-icon-bg);
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
}
.faq-icon-plus {
  display: block;
  -webkit-mask-image: url("/assets/icons/cyber/plus-circle.svg");
  mask-image: url("/assets/icons/cyber/plus-circle.svg");
}
.faq-icon-minus {
  display: none;
  -webkit-mask-image: url("/assets/icons/cyber/minus-circle.svg");
  mask-image: url("/assets/icons/cyber/minus-circle.svg");
}
.faq-answer-container {
  display: flex;
  flex-direction: column;
  margin-top: 8px;
}
.faq-answer-text {
  font-size: 15px;
  line-height: 1.7;
  margin-top: 8px;
  color: var(--faq-text);
  opacity: 0.85;
  display: none;
}
.faq-item.faq-active .faq-answer-text {
  display: block;
}
.faq-item.faq-active .faq-icon-plus {
  display: none;
}
.faq-item.faq-active .faq-icon-minus {
  display: block;
}
.faq-answer-text ul {
  margin-top: 8px;
  padding-left: 20px;
  list-style: disc;
}
.faq-answer-text li + li {
  margin-top: 8px;
}
