/* ============================================================
   CBCC Homepage Styles
   ============================================================ */

/* ── Hero Slider ── */
.cbcc-hero-swiper {
  width: 100%;
  min-height: 560px;
  position: relative;
}
.cbcc-hero-slide {
  display: flex !important;
  min-height: 560px;
}
.cbcc-hero__left {
  flex: 0 0 56%;
  background: var(--c-dark);
  display: flex;
  align-items: center;
  padding: 72px 0;
  position: relative;
}
.cbcc-hero__left::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 5px;
  background: var(--c-primary);
}
.cbcc-hero__content {
  max-width: calc(var(--max-width) * 0.56);
  margin-left: auto;
  padding: 0 52px 0 var(--side-padding);
}
.cbcc-hero__content .cbcc-eyebrow {
  color: rgba(255,255,255,0.5);
  margin-bottom: 16px;
}
.cbcc-hero__content h1 {
  font-size: 2.8rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 20px;
}
.cbcc-hero__sub {
  font-size: 1rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.75;
  margin-bottom: 32px;
  max-width: 440px;
}
.cbcc-hero__ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.cbcc-hero__right {
  flex: 0 0 44%;
  overflow: hidden;
  position: relative;
}
.cbcc-hero__right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Slider nav arrows */
.cbcc-hero-prev,
.cbcc-hero-next {
  color: rgba(255,255,255,0.7) !important;
  top: auto !important;
  bottom: 24px !important;
  width: 36px !important;
  height: 36px !important;
}
.cbcc-hero-prev { left: calc((100% - var(--max-width)) / 2 + var(--side-padding)) !important; }
.cbcc-hero-next { left: calc((100% - var(--max-width)) / 2 + var(--side-padding) + 44px) !important; right: auto !important; }
.cbcc-hero-prev::after,
.cbcc-hero-next::after { font-size: 16px !important; font-weight: 700 !important; }

/* Pagination dots */
.cbcc-hero-pagination {
  bottom: 28px !important;
  left: calc((100% - var(--max-width)) / 2 + var(--side-padding) + 100px) !important;
  width: auto !important;
  text-align: left !important;
}
.cbcc-hero-pagination .swiper-pagination-bullet {
  background: rgba(255,255,255,0.4) !important;
  opacity: 1 !important;
  width: 8px !important;
  height: 8px !important;
}
.cbcc-hero-pagination .swiper-pagination-bullet-active {
  background: var(--c-primary) !important;
  width: 24px !important;
  border-radius: 4px !important;
}

/* ── Quick Links ── */
.cbcc-quicklinks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.cbcc-quicklinks__card {
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cbcc-quicklinks__icon {
  width: 68px;
  height: 68px;
  background: var(--c-bg-alt);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 4px;
}
.cbcc-quicklinks__card h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--c-text);
  margin: 0;
}
.cbcc-quicklinks__card p {
  font-size: 15px;
  color: var(--c-muted);
  line-height: 1.65;
  flex: 1;
  margin: 0;
}
.cbcc-quicklinks__card .cbcc-btn {
  align-self: flex-start;
  margin-top: 8px;
}

/* ── BC Banner ── */
.cbcc-bc-banner {
  background-size: cover;
  background-position: center;
  position: relative;
  min-height: 400px;
  display: flex;
  align-items: center;
}
.cbcc-bc-banner__overlay {
  position: absolute;
  inset: 0;
  background: rgba(20,20,20,0.72);
  display: flex;
  align-items: center;
  width: 100%;
}
.cbcc-bc-banner__content {
  color: #fff;
  max-width: 680px;
  margin: 0 auto;
}
.cbcc-bc-banner__content h2 {
  color: #fff;
  font-size: 42px;
  margin-bottom: 16px;
}
.cbcc-bc-banner__content p {
  color: rgba(255,255,255,0.7);
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 28px;
}

/* ── Podcast Section ── */
.cbcc-podcast-section__inner {
  display: flex;
  gap: 64px;
  align-items: flex-start;
}
.cbcc-podcast-section__info {
  flex: 0 0 280px;
}
.cbcc-podcast-section__artwork {
  margin-bottom: 20px;
}
.cbcc-podcast-section__artwork img {
  width: 140px;
  height: 140px;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: var(--shadow-large);
}
.cbcc-podcast-section__artwork-placeholder {
  width: 140px;
  height: 140px;
  border-radius: 16px;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
}
.cbcc-podcast-section__info h2 { margin-bottom: 10px; }
.cbcc-podcast-platform-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.cbcc-podcast-platform-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.65);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-pill);
  padding: 7px 14px;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
  width: fit-content;
}
.cbcc-podcast-platform-link:hover { background: rgba(255,255,255,0.15); color: #fff; text-decoration: none; }

.cbcc-podcast-section__episodes {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.cbcc-podcast-episode {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  transition: background 0.15s;
  cursor: pointer;
}
.cbcc-podcast-episode:hover { background: rgba(255,255,255,0.05); }
.cbcc-podcast-episode--latest {
  background: rgba(255,255,255,0.07);
}
.cbcc-podcast-episode__play {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: rgba(255,255,255,0.7);
  transition: background 0.15s;
}
.cbcc-podcast-episode:hover .cbcc-podcast-episode__play { background: var(--c-primary); color: #fff; }
.cbcc-podcast-episode__info { flex: 1; overflow: hidden; }
.cbcc-podcast-episode__meta {
  font-family: var(--font-body);
  font-size: 12px;
  color: rgba(255,255,255,0.38);
  margin-bottom: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cbcc-podcast-episode__title {
  font-family: var(--font-body);
  font-size: 14.5px;
  font-weight: 600;
  color: rgba(255,255,255,0.82);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cbcc-podcast-episode--latest .cbcc-podcast-episode__title { font-size: 15.5px; color: #fff; }
.cbcc-podcast-episode__time { text-align: right; flex-shrink: 0; }
.cbcc-podcast-episode__date { font-size: 12px; color: rgba(255,255,255,0.35); margin-bottom: 3px; }
.cbcc-podcast-episode__duration { font-size: 12.5px; font-weight: 600; color: rgba(255,255,255,0.45); }

/* ── Blog Grid ── */
.cbcc-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.cbcc-blog-card {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
}
.cbcc-blog-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-large); text-decoration: none; }
.cbcc-blog-card__image {
  height: 190px;
  overflow: hidden;
}
.cbcc-blog-card__image img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.3s; }
.cbcc-blog-card:hover .cbcc-blog-card__image img { transform: scale(1.03); }
.cbcc-blog-card__image--placeholder { background: var(--c-bg-alt); }
.cbcc-blog-card__body { padding: 22px 24px 26px; flex: 1; display: flex; flex-direction: column; }
.cbcc-blog-card__date { font-size: 12px; font-weight: 600; color: var(--c-primary); letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 9px; }
.cbcc-blog-card__body h3 { font-size: 19px; font-weight: 700; margin-bottom: 10px; line-height: 1.35; color: var(--c-text); }
.cbcc-blog-card__excerpt { font-size: 14px; color: var(--c-muted); line-height: 1.65; flex: 1; margin-bottom: 16px; }
.cbcc-blog-card__read-more { font-size: 14px; font-weight: 600; color: var(--c-primary); }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .cbcc-podcast-section__inner { gap: 36px; }
  .cbcc-podcast-section__info { flex: 0 0 220px; }
}
@media (max-width: 900px) {
  .cbcc-hero-swiper, .cbcc-hero-slide { min-height: auto; }
  .cbcc-hero-slide { flex-direction: column; }
  .cbcc-hero__left { flex: none; padding: 56px 0; }
  .cbcc-hero__content { max-width: none; margin: 0; padding: 0 var(--side-padding); }
  .cbcc-hero__content h1 { font-size: 2rem; }
  .cbcc-hero__right { flex: none; height: 260px; }
  .cbcc-hero-prev, .cbcc-hero-next, .cbcc-hero-pagination { display: none !important; }
  .cbcc-quicklinks { grid-template-columns: 1fr; }
  .cbcc-blog-grid { grid-template-columns: 1fr 1fr; }
  .cbcc-podcast-section__inner { flex-direction: column; gap: 40px; }
  .cbcc-podcast-section__info { flex: none; }
}
@media (max-width: 640px) {
  .cbcc-blog-grid { grid-template-columns: 1fr; }
  .cbcc-hero__ctas { flex-direction: column; }
  .cbcc-bc-banner__content h2 { font-size: 30px; }
}

/* Line-icon treatment for quick-link cards */
.cbcc-quicklinks__icon{color:var(--c-dark);}
.cbcc-quicklinks__icon svg{width:30px;height:30px;}
