/* ==========================================================================
   CineCowboy Theme - Builder Blocks Frontend Styles

   Specific rendering styles for page builder blocks.
   Western decorative elements: rope borders, wood textures, star dividers.

   Each block is wrapped in a .cc-block section with standardized spacing
   and optional background/width modifiers.
   ========================================================================== */

/* --------------------------------------------------------------------------
   0. CSS Properties (block-specific)
   -------------------------------------------------------------------------- */
:root {
  --ccb-section-gap: 60px;
  --ccb-section-padding: 48px 0;
  --ccb-rope-color-1: #C8956C;
  --ccb-rope-color-2: #A07050;
  --ccb-rope-color-3: #DDB08A;
  --ccb-wood-color-1: #3E2A1A;
  --ccb-wood-color-2: #4E3828;
  --ccb-wood-color-3: #2E1E12;
  --ccb-star-color: #D4A843;
}

/* --------------------------------------------------------------------------
   1. Section Wrapper (universal block container)
   -------------------------------------------------------------------------- */
.cc-block {
  padding: var(--ccb-section-padding);
  position: relative;
}

/* Spacing between consecutive blocks */
.cc-block + .cc-block {
  margin-top: 0;
}

/* Width modifiers */
.cc-block--full {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
}

.cc-block--wide {
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

.cc-block--narrow {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* Background modifiers */
.cc-block--bg-dark {
  background-color: #0D0D0D;
}

.cc-block--bg-card {
  background-color: #1A1A1A;
}

.cc-block--bg-surface {
  background-color: #242424;
}

.cc-block--bg-red {
  background: linear-gradient(135deg, #8A0000 0%, #B80000 50%, #8A0000 100%);
}

.cc-block--bg-gold {
  background: linear-gradient(135deg, #B8912E 0%, #D4A843 50%, #B8912E 100%);
  color: #0D0D0D;
}

/* Background image overlay */
.cc-block--bg-image {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.cc-block--bg-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(13, 13, 13, 0.85);
  z-index: 0;
}

.cc-block--bg-image > * {
  position: relative;
  z-index: 1;
}

/* Padding size modifiers */
.cc-block--padding-none {
  padding: 0;
}

.cc-block--padding-sm {
  padding: 24px 0;
}

.cc-block--padding-lg {
  padding: 80px 0;
}

.cc-block--padding-xl {
  padding: 120px 0;
}

/* --------------------------------------------------------------------------
   2. Block Titles (shared section title style)
   -------------------------------------------------------------------------- */
.cc-block__header {
  margin-bottom: 32px;
}

.cc-block__header--center {
  text-align: center;
}

.cc-block__title {
  font-family: 'Oswald', sans-serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: #FFFFFF;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}

.cc-block__title--display {
  font-family: 'Rye', cursive;
  color: #D4A843;
  letter-spacing: 0.06em;
}

.cc-block__subtitle {
  font-size: 1rem;
  color: #999999;
  max-width: 600px;
}

.cc-block__header--center .cc-block__subtitle {
  margin-left: auto;
  margin-right: auto;
}

/* Optional decorative line under title */
.cc-block__title-line {
  display: block;
  width: 60px;
  height: 3px;
  background: #B80000;
  margin-top: 12px;
}

.cc-block__header--center .cc-block__title-line {
  margin-left: auto;
  margin-right: auto;
}

/* --------------------------------------------------------------------------
   3. Western Decorative Elements
   -------------------------------------------------------------------------- */

/* --- Rope Border --- */
.cc-deco-rope {
  position: relative;
}

/* Top rope */
.cc-deco-rope--top::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background:
    repeating-linear-gradient(
      90deg,
      var(--ccb-rope-color-1) 0px,
      var(--ccb-rope-color-2) 3px,
      var(--ccb-rope-color-3) 6px,
      var(--ccb-rope-color-1) 9px,
      var(--ccb-rope-color-2) 12px
    );
  border-radius: 3px;
  opacity: 0.5;
}

/* Bottom rope */
.cc-deco-rope--bottom::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 6px;
  background:
    repeating-linear-gradient(
      90deg,
      var(--ccb-rope-color-1) 0px,
      var(--ccb-rope-color-2) 3px,
      var(--ccb-rope-color-3) 6px,
      var(--ccb-rope-color-1) 9px,
      var(--ccb-rope-color-2) 12px
    );
  border-radius: 3px;
  opacity: 0.5;
}

/* Both top and bottom */
.cc-deco-rope--both::before,
.cc-deco-rope--both::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 6px;
  background:
    repeating-linear-gradient(
      90deg,
      var(--ccb-rope-color-1) 0px,
      var(--ccb-rope-color-2) 3px,
      var(--ccb-rope-color-3) 6px,
      var(--ccb-rope-color-1) 9px,
      var(--ccb-rope-color-2) 12px
    );
  border-radius: 3px;
  opacity: 0.5;
}

.cc-deco-rope--both::before {
  top: 0;
}

.cc-deco-rope--both::after {
  bottom: 0;
}

/* --- Rope Border (box around content) --- */
.cc-deco-rope-box {
  border: 4px solid transparent;
  border-image: repeating-linear-gradient(
    45deg,
    var(--ccb-rope-color-1) 0px,
    var(--ccb-rope-color-2) 4px,
    var(--ccb-rope-color-3) 8px,
    var(--ccb-rope-color-1) 12px
  ) 4;
  padding: 24px;
}

/* --- Wood Texture Background --- */
.cc-deco-wood {
  background:
    /* Wood grain effect via CSS gradients */
    repeating-linear-gradient(
      0deg,
      var(--ccb-wood-color-1) 0px,
      var(--ccb-wood-color-2) 2px,
      var(--ccb-wood-color-1) 3px,
      var(--ccb-wood-color-3) 5px,
      var(--ccb-wood-color-1) 7px,
      var(--ccb-wood-color-2) 8px,
      var(--ccb-wood-color-1) 12px
    ),
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.01) 0%,
      rgba(255, 255, 255, 0.03) 50%,
      rgba(255, 255, 255, 0.01) 100%
    );
  background-blend-mode: overlay;
}

/* Plank variant: horizontal grain with visible seams */
.cc-deco-wood-planks {
  background:
    repeating-linear-gradient(
      90deg,
      var(--ccb-wood-color-1) 0px,
      var(--ccb-wood-color-2) 1px,
      var(--ccb-wood-color-1) 2px,
      var(--ccb-wood-color-3) 4px,
      var(--ccb-wood-color-2) 6px,
      var(--ccb-wood-color-1) 8px
    ),
    repeating-linear-gradient(
      0deg,
      transparent 0px,
      transparent 80px,
      rgba(0, 0, 0, 0.3) 80px,
      rgba(0, 0, 0, 0.3) 82px,
      transparent 82px
    );
}

/* --- Star Divider --- */
.cc-deco-stars {
  text-align: center;
  padding: 16px 0;
  position: relative;
}

.cc-deco-stars::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(212, 168, 67, 0.3) 20%,
    rgba(212, 168, 67, 0.3) 80%,
    transparent
  );
}

.cc-deco-stars::after {
  content: '\2605  \2605  \2605';
  position: relative;
  background: #0D0D0D;
  padding: 0 20px;
  color: var(--ccb-star-color);
  font-size: 0.875rem;
  letter-spacing: 0.3em;
}

.cc-block--bg-card .cc-deco-stars::after {
  background: #1A1A1A;
}

.cc-block--bg-surface .cc-deco-stars::after {
  background: #242424;
}

/* Single star accent */
.cc-deco-star-single {
  text-align: center;
  padding: 12px 0;
}

.cc-deco-star-single::after {
  content: '\2726';
  color: var(--ccb-star-color);
  font-size: 1.5rem;
}

/* --- Corner Decorations --- */
.cc-deco-corners {
  position: relative;
}

.cc-deco-corners::before,
.cc-deco-corners::after {
  content: '';
  position: absolute;
  width: 24px;
  height: 24px;
  border-color: var(--ccb-star-color);
  border-style: solid;
  opacity: 0.4;
}

.cc-deco-corners::before {
  top: 0;
  left: 0;
  border-width: 2px 0 0 2px;
}

.cc-deco-corners::after {
  bottom: 0;
  right: 0;
  border-width: 0 2px 2px 0;
}

/* --------------------------------------------------------------------------
   4. Video Carousel Block
   -------------------------------------------------------------------------- */
.cc-block .cc-video-carousel {
  position: relative;
}

.cc-block .cc-video-carousel .cc-carousel__track {
  padding: 8px 0 16px;
}

.cc-block .cc-video-carousel .cc-card {
  border-radius: 8px;
}

.cc-block .cc-video-carousel .cc-card:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6);
}

/* Gradient fade on carousel edges */
.cc-block .cc-video-carousel::before,
.cc-block .cc-video-carousel::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 40px;
  z-index: 3;
  pointer-events: none;
}

.cc-block .cc-video-carousel::before {
  left: 0;
  background: linear-gradient(90deg, #0D0D0D, transparent);
}

.cc-block .cc-video-carousel::after {
  right: 0;
  background: linear-gradient(-90deg, #0D0D0D, transparent);
}

.cc-block--bg-card .cc-video-carousel::before {
  background: linear-gradient(90deg, #1A1A1A, transparent);
}

.cc-block--bg-card .cc-video-carousel::after {
  background: linear-gradient(-90deg, #1A1A1A, transparent);
}

/* --------------------------------------------------------------------------
   5. Post Grid Block
   -------------------------------------------------------------------------- */
.cc-block .cc-post-grid {
  padding: 4px; /* Prevents box-shadow clipping on hover */
}

.cc-block .cc-post-grid .cc-card__body {
  padding: 16px;
}

/* First item featured layout (optional) */
.cc-block .cc-post-grid--featured-first .cc-card:first-child {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
}

.cc-block .cc-post-grid--featured-first .cc-card:first-child .cc-card__image {
  aspect-ratio: auto;
  height: 100%;
}

.cc-block .cc-post-grid--featured-first .cc-card:first-child .cc-card__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 32px;
}

.cc-block .cc-post-grid--featured-first .cc-card:first-child .cc-card__title {
  font-size: 1.5rem;
}

@media (max-width: 767px) {
  .cc-block .cc-post-grid--featured-first .cc-card:first-child {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------------------------------------------
   6. Video Player Block
   -------------------------------------------------------------------------- */
.cc-block .cc-video-player {
  border-radius: 12px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.cc-block .cc-video-player__info {
  padding: 24px 0;
}

.cc-block .cc-video-player__title {
  font-family: 'Oswald', sans-serif;
  font-size: 1.5rem;
  color: #FFFFFF;
  margin-bottom: 8px;
}

.cc-block .cc-video-player__description {
  color: #999999;
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   7. Category Slider Block
   -------------------------------------------------------------------------- */
.cc-block .cc-category-slider {
  position: relative;
}

.cc-block .cc-category-slider__link {
  position: relative;
  overflow: hidden;
}

/* Animated underline on active category */
.cc-block .cc-category-slider__link--active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 20%;
  right: 20%;
  height: 2px;
  background: #D4A843;
  border-radius: 1px;
}

/* Category card variant (with thumbnail) */
.cc-block .cc-category-card {
  flex: 0 0 auto;
  width: 160px;
  text-align: center;
  border-radius: 8px;
  overflow: hidden;
  background: #1A1A1A;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
}

.cc-block .cc-category-card:hover {
  border-color: rgba(212, 168, 67, 0.2);
  transform: translateY(-4px);
}

.cc-block .cc-category-card__image {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.cc-block .cc-category-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.cc-block .cc-category-card:hover .cc-category-card__image img {
  transform: scale(1.08);
}

.cc-block .cc-category-card__name {
  padding: 12px 8px;
  font-family: 'Oswald', sans-serif;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #E0E0E0;
}

/* --------------------------------------------------------------------------
   8. Streaming Platforms Block
   -------------------------------------------------------------------------- */
.cc-block .cc-streaming-platforms {
  padding: 24px;
  background: #1A1A1A;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.cc-block .cc-streaming-platforms__grid {
  gap: 20px;
}

.cc-block .cc-streaming-platforms__item {
  width: 140px;
  height: 70px;
  border-radius: 10px;
  background: #242424;
  transition: all 0.3s ease;
}

.cc-block .cc-streaming-platforms__item:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   9. CTA Banner Block
   -------------------------------------------------------------------------- */
.cc-block .cc-cta-banner {
  border-radius: 12px;
  overflow: hidden;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Variant: with western frame */
.cc-block .cc-cta-banner--western {
  border: 3px solid transparent;
  border-image: repeating-linear-gradient(
    45deg,
    var(--ccb-rope-color-1) 0px,
    var(--ccb-rope-color-2) 4px,
    var(--ccb-rope-color-3) 8px,
    var(--ccb-rope-color-1) 12px
  ) 3;
  border-radius: 0; /* border-image doesn't support border-radius */
}

.cc-block .cc-cta-banner__title {
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.cc-block .cc-cta-banner__btn {
  position: relative;
  overflow: hidden;
}

/* Button shine effect on hover */
.cc-block .cc-cta-banner__btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.15),
    transparent
  );
  transition: left 0.5s ease;
}

.cc-block .cc-cta-banner__btn:hover::after {
  left: 100%;
}

/* --------------------------------------------------------------------------
   10. Text Block
   -------------------------------------------------------------------------- */
.cc-block .cc-text-block {
  padding: 0 16px;
}

/* Drop cap for the first paragraph */
.cc-block .cc-text-block--dropcap p:first-of-type::first-letter {
  font-family: 'Rye', cursive;
  font-size: 4em;
  float: left;
  line-height: 0.8;
  margin-right: 12px;
  margin-top: 6px;
  color: #D4A843;
}

/* Styled pull-quote */
.cc-block .cc-text-block__pullquote {
  border-left: none;
  border-top: 2px solid #D4A843;
  border-bottom: 2px solid #D4A843;
  padding: 24px 0;
  margin: 32px auto;
  max-width: 650px;
  text-align: center;
  font-family: 'Oswald', sans-serif;
  font-size: 1.5rem;
  font-weight: 300;
  color: #D4A843;
  font-style: normal;
  letter-spacing: 0.02em;
  line-height: 1.4;
}

/* --------------------------------------------------------------------------
   11. Image Gallery Block
   -------------------------------------------------------------------------- */
.cc-block .cc-image-gallery {
  border-radius: 8px;
  overflow: hidden;
}

.cc-block .cc-image-gallery__item {
  cursor: pointer;
  position: relative;
}

/* Caption overlay at bottom */
.cc-block .cc-image-gallery__caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 32px 12px 12px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
  font-size: 0.8125rem;
  color: #E0E0E0;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.cc-block .cc-image-gallery__item:hover .cc-image-gallery__caption {
  transform: translateY(0);
}

/* --------------------------------------------------------------------------
   12. Newsletter Block
   -------------------------------------------------------------------------- */
.cc-block .cc-newsletter {
  padding: 48px 24px;
  background: #1A1A1A;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
}

/* Western flair: star accents in corners */
.cc-block .cc-newsletter::before {
  content: '\2605';
  position: absolute;
  top: 16px;
  left: 20px;
  font-size: 1rem;
  color: #D4A843;
  opacity: 0.25;
}

.cc-block .cc-newsletter::after {
  content: '\2605';
  position: absolute;
  bottom: 16px;
  right: 20px;
  font-size: 1rem;
  color: #D4A843;
  opacity: 0.25;
}

.cc-block .cc-newsletter__input {
  border-radius: 4px 0 0 4px;
}

.cc-block .cc-newsletter__btn {
  border-radius: 0 4px 4px 0;
}

@media (max-width: 575px) {
  .cc-block .cc-newsletter__input {
    border-radius: 4px;
  }

  .cc-block .cc-newsletter__btn {
    border-radius: 4px;
  }
}

/* --------------------------------------------------------------------------
   13. Video Featured Block
   -------------------------------------------------------------------------- */
.cc-block .cc-video-featured {
  background: #1A1A1A;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.cc-block .cc-video-featured__player {
  border-radius: 0;
}

.cc-block .cc-video-featured__info {
  padding: 32px;
}

/* Large screen: side-by-side layout */
@media (min-width: 768px) {
  .cc-block .cc-video-featured {
    display: grid;
    grid-template-columns: 3fr 2fr;
  }
}

/* --------------------------------------------------------------------------
   14. Trending Block
   -------------------------------------------------------------------------- */
.cc-block .cc-trending__item {
  transition: all 0.3s ease;
}

.cc-block .cc-trending__item:hover {
  transform: translateX(4px);
}

/* Top 3 ranks get gold styling */
.cc-block .cc-trending__item:nth-child(1) .cc-trending__rank,
.cc-block .cc-trending__item:nth-child(2) .cc-trending__rank,
.cc-block .cc-trending__item:nth-child(3) .cc-trending__rank {
  color: #D4A843;
  opacity: 1;
}

/* Gold left border for top 3 */
.cc-block .cc-trending__item:nth-child(1),
.cc-block .cc-trending__item:nth-child(2),
.cc-block .cc-trending__item:nth-child(3) {
  border-left: 3px solid #D4A843;
}

/* Number 1 gets extra emphasis */
.cc-block .cc-trending__item:nth-child(1) {
  background: linear-gradient(90deg, rgba(212, 168, 67, 0.08), transparent 60%);
}

.cc-block .cc-trending__item:nth-child(1) .cc-trending__rank {
  font-size: 3rem;
}

/* --------------------------------------------------------------------------
   15. Ad Block
   -------------------------------------------------------------------------- */
.cc-block .cc-ad-block {
  min-height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Responsive ad sizes */
.cc-block .cc-ad-block--leaderboard {
  max-width: 728px;
  min-height: 90px;
  margin: 0 auto;
}

.cc-block .cc-ad-block--rectangle {
  max-width: 336px;
  min-height: 280px;
  margin: 0 auto;
}

.cc-block .cc-ad-block--banner {
  max-width: 468px;
  min-height: 60px;
  margin: 0 auto;
}

/* --------------------------------------------------------------------------
   16. Divider Block
   -------------------------------------------------------------------------- */
.cc-block .cc-divider {
  margin: 0 auto;
  max-width: 100%;
}

/* Centered short dividers */
.cc-block .cc-divider--short {
  max-width: 200px;
}

.cc-block .cc-divider--medium {
  max-width: 50%;
}

/* Animated gold divider */
.cc-block .cc-divider--gold-animated {
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    #D4A843,
    transparent
  );
  background-size: 200% 100%;
  animation: cc-divider-shimmer 3s ease infinite;
}

@keyframes cc-divider-shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* Branded divider: red + gold center */
.cc-block .cc-divider--branded {
  height: 4px;
  position: relative;
  background: linear-gradient(90deg, transparent, #B80000 30%, #B80000 70%, transparent);
}

.cc-block .cc-divider--branded::after {
  content: '';
  position: absolute;
  top: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 12px;
  height: 12px;
  background: #D4A843;
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}

/* --------------------------------------------------------------------------
   17. Spacer Block
   -------------------------------------------------------------------------- */
.cc-block .cc-spacer {
  /* Spacers inherit their size classes from main.css */
  /* Additional decorative spacer variant */
}

.cc-block .cc-spacer--branded::after {
  content: '';
  display: block;
  width: 4px;
  height: 100%;
  margin: 0 auto;
  background: linear-gradient(180deg, transparent, rgba(184, 0, 0, 0.3), transparent);
}

/* --------------------------------------------------------------------------
   18. Block Transitions & Hover Effects
   -------------------------------------------------------------------------- */

/* Subtle border glow on block hover (for interactive blocks) */
.cc-block--interactive:hover {
  box-shadow: inset 0 0 0 1px rgba(212, 168, 67, 0.1);
}

/* Loading shimmer for dynamic blocks */
.cc-block__loading {
  background: #1A1A1A;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
}

.cc-block__loading::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.03) 50%,
    transparent 100%
  );
  background-size: 200% 100%;
  animation: cc-shimmer 1.5s ease infinite;
}

@keyframes cc-shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* Loading skeleton shapes */
.cc-skeleton {
  background: #242424;
  border-radius: 4px;
}

.cc-skeleton--text {
  height: 14px;
  margin-bottom: 10px;
  width: 100%;
}

.cc-skeleton--text:last-child {
  width: 60%;
}

.cc-skeleton--heading {
  height: 24px;
  width: 70%;
  margin-bottom: 16px;
}

.cc-skeleton--image {
  aspect-ratio: 16 / 9;
  width: 100%;
  margin-bottom: 16px;
}

.cc-skeleton--avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

/* --------------------------------------------------------------------------
   19. Responsive Block Adjustments
   -------------------------------------------------------------------------- */
@media (max-width: 767px) {
  :root {
    --ccb-section-gap: 40px;
    --ccb-section-padding: 32px 0;
  }

  .cc-block--padding-lg {
    padding: 48px 0;
  }

  .cc-block--padding-xl {
    padding: 64px 0;
  }

  .cc-block__title {
    font-size: 1.5rem;
  }

  .cc-block .cc-cta-banner {
    min-height: 200px;
    border-radius: 8px;
  }

  .cc-block .cc-cta-banner__title {
    font-size: 1.5rem;
  }

  .cc-block .cc-newsletter {
    padding: 32px 16px;
  }

  .cc-block .cc-video-featured__info {
    padding: 24px 16px;
  }

  .cc-block .cc-trending__item:nth-child(1) .cc-trending__rank {
    font-size: 2rem;
  }

  /* Simplify decorative elements on small screens */
  .cc-deco-rope--top::before,
  .cc-deco-rope--bottom::after,
  .cc-deco-rope--both::before,
  .cc-deco-rope--both::after {
    height: 4px;
  }

  .cc-deco-corners::before,
  .cc-deco-corners::after {
    width: 16px;
    height: 16px;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .cc-block .cc-post-grid--featured-first .cc-card:first-child .cc-card__body {
    padding: 24px;
  }
}

@media (min-width: 1200px) {
  .cc-block__title {
    font-size: 2rem;
  }

  .cc-block .cc-cta-banner {
    min-height: 340px;
  }

  .cc-block .cc-cta-banner__title {
    font-size: 2.5rem;
  }
}

/* --------------------------------------------------------------------------
   20. Reduced Motion
   -------------------------------------------------------------------------- */
.cc-reduced-motion .cc-block .cc-cta-banner__btn::after,
.cc-reduced-motion .cc-block .cc-divider--gold-animated,
.cc-reduced-motion .cc-block__loading::after {
  animation: none;
}

.cc-reduced-motion .cc-block .cc-trending__item:hover {
  transform: none;
}

.cc-reduced-motion .cc-block .cc-category-card:hover {
  transform: none;
}

.cc-reduced-motion .cc-block .cc-streaming-platforms__item:hover {
  transform: none;
}

/* ==========================================================================
   21. Block Template Specific Styles
   Bridges between PHP block templates and the design system.
   ========================================================================== */

/* --- Hero Block Template --- */
.cc-hero__video-bg,
.cc-hero__image-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.cc-hero__image-bg {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.cc-hero__video-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cc-hero__container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  align-items: center;
  min-height: inherit;
}

.cc-hero__content--center {
  text-align: center;
  margin: 0 auto;
  max-width: 800px;
}

.cc-hero__content--left {
  text-align: left;
  max-width: 700px;
}

.cc-hero__content--right {
  text-align: right;
  max-width: 700px;
  margin-left: auto;
}

.cc-hero--align-center { justify-content: center; }
.cc-hero--align-left { justify-content: flex-start; }
.cc-hero--align-right { justify-content: flex-end; }

.cc-hero--height-full { min-height: 100vh; }
.cc-hero--height-large { min-height: 80vh; }
.cc-hero--height-medium { min-height: 60vh; }
.cc-hero--height-small { min-height: 40vh; }

.cc-hero__description {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 650px;
  margin: 0 auto 2rem;
  line-height: 1.7;
  font-family: 'Inter', sans-serif;
}

.cc-hero__content--left .cc-hero__description { margin-left: 0; }
.cc-hero__content--right .cc-hero__description { margin-right: 0; }

.cc-hero__button--secondary,
.cc-button--outline {
  background: transparent;
  color: #D4A843;
  border: 2px solid #D4A843;
  margin-left: 12px;
}
.cc-hero__button--secondary:hover,
.cc-button--outline:hover {
  background: #D4A843;
  color: #0D0D0D;
}

.cc-hero__cta {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.cc-hero__content--left .cc-hero__cta { justify-content: flex-start; }
.cc-hero__content--right .cc-hero__cta { justify-content: flex-end; }

/* --- Streaming Platforms Subtitle --- */
.cc-streaming-platforms__subtitle {
  font-size: 1.05rem;
  color: #aaa;
  text-align: center;
  margin-top: 8px;
  font-family: 'Inter', sans-serif;
}

/* --- Button / CTA Shared Styles --- */
.cc-button {
  display: inline-block;
  padding: 14px 36px;
  font-family: 'Oswald', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: 4px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.cc-button--primary {
  background: #B80000;
  color: #FFFFFF;
  border-color: #B80000;
}

.cc-button--primary:hover {
  background: #D42A2A;
  color: #FFFFFF;
  box-shadow: 0 0 20px rgba(184, 0, 0, 0.4);
  transform: translateY(-2px);
}

/* --- Post Grid Block Template --- */
.cc-post-grid__header {
  margin-bottom: 32px;
}

.cc-post-grid__title {
  font-family: 'Oswald', sans-serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: #FFFFFF;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.cc-post-grid__grid {
  display: grid;
  grid-template-columns: repeat(var(--cc-grid-columns, 3), 1fr);
  gap: 24px;
}

.cc-post-grid__card {
  background: #1A1A1A;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.cc-post-grid__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
  border-color: rgba(212, 168, 67, 0.15);
}

.cc-post-grid__card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.cc-post-grid__thumbnail {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.cc-post-grid__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.cc-post-grid__card:hover .cc-post-grid__image {
  transform: scale(1.05);
}

.cc-post-grid__placeholder {
  width: 100%;
  height: 100%;
  background: #242424;
}

.cc-post-grid__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 10px;
  background: #B80000;
  color: #FFFFFF;
  font-family: 'Oswald', sans-serif;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: 3px;
}

.cc-post-grid__content {
  padding: 16px;
}

.cc-post-grid__card-title {
  font-family: 'Oswald', sans-serif;
  font-size: 1.125rem;
  font-weight: 600;
  color: #FFFFFF;
  margin-bottom: 8px;
  line-height: 1.3;
  text-transform: uppercase;
}

.cc-post-grid__excerpt {
  font-size: 0.875rem;
  color: #999999;
  line-height: 1.6;
  margin-bottom: 12px;
}

.cc-post-grid__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.75rem;
  color: #666666;
}

.cc-post-grid__author,
.cc-post-grid__date {
  display: inline-flex;
  align-items: center;
}

.cc-post-grid__empty {
  text-align: center;
  color: #666666;
  padding: 48px 0;
}

@media (max-width: 991px) {
  .cc-post-grid__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 575px) {
  .cc-post-grid__grid {
    grid-template-columns: 1fr;
  }
}

/* --- Video Carousel Block Template --- */
.cc-video-carousel__header {
  margin-bottom: 24px;
}

.cc-video-carousel__title {
  font-family: 'Oswald', sans-serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: #FFFFFF;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.cc-video-carousel__wrapper {
  position: relative;
}

.cc-video-carousel__track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 8px 0 16px;
}

.cc-video-carousel__track::-webkit-scrollbar {
  display: none;
}

.cc-video-carousel__card {
  flex: 0 0 calc((100% - 48px) / var(--cc-carousel-columns, 4));
  min-width: 200px;
}

.cc-video-carousel__card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  border-radius: 8px;
  overflow: hidden;
  background: #1A1A1A;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
}

.cc-video-carousel__card-link:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  border-color: rgba(212, 168, 67, 0.15);
}

.cc-video-carousel__thumbnail {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.cc-video-carousel__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.cc-video-carousel__card-link:hover .cc-video-carousel__image {
  transform: scale(1.05);
}

.cc-video-carousel__placeholder {
  width: 100%;
  height: 100%;
  background: #242424;
}

.cc-video-carousel__play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.cc-video-carousel__card-link:hover .cc-video-carousel__play-icon {
  opacity: 1;
}

.cc-video-carousel__info {
  padding: 12px;
}

.cc-video-carousel__badge {
  display: inline-block;
  padding: 2px 8px;
  background: rgba(184, 0, 0, 0.8);
  color: #FFFFFF;
  font-size: 0.625rem;
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: 2px;
  margin-bottom: 6px;
}

.cc-video-carousel__card-title {
  font-family: 'Oswald', sans-serif;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #E0E0E0;
  text-transform: uppercase;
  line-height: 1.3;
  margin-bottom: 4px;
}

.cc-video-carousel__date {
  font-size: 0.6875rem;
  color: #666666;
}

.cc-video-carousel__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(13, 13, 13, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
  transition: all 0.3s ease;
}

.cc-video-carousel__nav:hover {
  background: #B80000;
  border-color: #B80000;
}

.cc-video-carousel__nav--prev {
  left: -16px;
}

.cc-video-carousel__nav--next {
  right: -16px;
}

.cc-video-carousel__empty {
  text-align: center;
  color: #666666;
  padding: 48px 0;
}

@media (max-width: 991px) {
  .cc-video-carousel__card {
    flex: 0 0 calc((100% - 32px) / 3);
    min-width: 180px;
  }
}

@media (max-width: 575px) {
  .cc-video-carousel__card {
    flex: 0 0 calc(100% - 32px);
    min-width: 260px;
  }
}

/* --- CTA Banner Block Template --- */
.cc-cta-banner__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 0;
}

.cc-cta-banner__container {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
  padding: 48px 24px;
  text-align: center;
}

.cc-cta-banner--western {
  border: 3px solid transparent;
  border-image: repeating-linear-gradient(
    45deg,
    #C8956C 0px,
    #A07050 4px,
    #DDB08A 8px,
    #C8956C 12px
  ) 3;
}

.cc-cta-banner__title {
  font-family: 'Rye', cursive;
  font-size: 2rem;
  color: #D4A843;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  margin-bottom: 12px;
}

.cc-cta-banner__subtitle {
  font-size: 1.125rem;
  color: #E0E0E0;
  margin-bottom: 24px;
}

.cc-cta-banner__action {
  margin-top: 16px;
}

.cc-cta-banner__button {
  display: inline-block;
  padding: 14px 36px;
  background: #B80000;
  color: #FFFFFF;
  font-family: 'Oswald', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: 4px;
  border: 2px solid #B80000;
  text-decoration: none;
  transition: all 0.3s ease;
}

.cc-cta-banner__button:hover {
  background: #D42A2A;
  color: #FFFFFF;
  box-shadow: 0 0 20px rgba(184, 0, 0, 0.4);
  transform: translateY(-2px);
}

/* --- Text Block Template --- */
.cc-text-block__container {
  margin: 0 auto;
}

.cc-text-block--align-center { text-align: center; }
.cc-text-block--align-center .cc-text-block__container { margin: 0 auto; }
.cc-text-block--align-left .cc-text-block__container { margin-left: 0; }
.cc-text-block--align-right .cc-text-block__container { margin-left: auto; margin-right: 0; }

.cc-text-block__content {
  font-size: 1rem;
  line-height: 1.7;
  color: #E0E0E0;
}

.cc-text-block__content h1,
.cc-text-block__content h2,
.cc-text-block__content h3,
.cc-text-block__content h4 {
  margin-top: 1.5em;
  margin-bottom: 0.5em;
}

.cc-text-block__content p {
  margin-bottom: 1em;
}

.cc-text-block__content a {
  color: #D4A843;
}

.cc-text-block__content a:hover {
  color: #E8C36A;
}

.cc-text-block__content blockquote {
  border-left: 3px solid #D4A843;
  padding-left: 20px;
  margin: 24px 0;
  font-style: italic;
  color: #B0B0B0;
}

/* --- Newsletter Block Template --- */
.cc-newsletter__title {
  font-family: 'Rye', cursive;
  color: #D4A843;
}

.cc-newsletter__subtitle {
  color: #B0B0B0;
  margin-bottom: 24px;
}

.cc-newsletter__form {
  display: flex;
  gap: 0;
  max-width: 500px;
  margin: 0 auto;
}

.cc-newsletter__input {
  flex: 1;
  padding: 14px 16px;
  background: #242424;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-right: none;
  border-radius: 4px 0 0 4px;
  color: #FFFFFF;
  font-size: 1rem;
  outline: none;
}

.cc-newsletter__input:focus {
  border-color: #D4A843;
}

.cc-newsletter__button {
  padding: 14px 24px;
  background: #B80000;
  color: #FFFFFF;
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border: none;
  border-radius: 0 4px 4px 0;
  cursor: pointer;
  transition: background 0.3s ease;
}

.cc-newsletter__button:hover {
  background: #D42A2A;
}

@media (max-width: 575px) {
  .cc-newsletter__form {
    flex-direction: column;
    gap: 8px;
  }
  .cc-newsletter__input {
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
  }
  .cc-newsletter__button {
    border-radius: 4px;
  }
}

/* --- Category Slider Block Template --- */
.cc-category-slider__container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 16px;
}

.cc-category-slider__title {
  font-family: 'Oswald', sans-serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: #FFFFFF;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.cc-category-slider__track {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 8px;
}

.cc-category-slider__track::-webkit-scrollbar {
  display: none;
}

.cc-category-slider__item {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: #1A1A1A;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  color: #E0E0E0;
  text-decoration: none;
  font-family: 'Oswald', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.cc-category-slider__item:hover {
  background: #242424;
  border-color: #D4A843;
  color: #D4A843;
}

.cc-category-slider__count {
  font-size: 0.75rem;
  color: #666666;
  background: rgba(255, 255, 255, 0.05);
  padding: 2px 8px;
  border-radius: 12px;
}

/* --- Streaming Platforms Block Template --- */
.cc-streaming-platforms__container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 16px;
}

.cc-streaming-platforms__title {
  font-family: 'Oswald', sans-serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: #FFFFFF;
  text-transform: uppercase;
  margin-bottom: 24px;
  text-align: center;
}

.cc-streaming-platforms__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.cc-streaming-platforms__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 16px 24px;
  background: #1A1A1A;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.3s ease;
  min-width: 140px;
}

.cc-streaming-platforms__item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  border-color: rgba(212, 168, 67, 0.2);
}

.cc-streaming-platforms__logo {
  max-height: 40px;
  max-width: 100px;
  object-fit: contain;
}

.cc-streaming-platforms__name {
  font-family: 'Oswald', sans-serif;
  font-size: 0.8125rem;
  color: #FFFFFF;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* --- Video Player Block Template --- */
.cc-video-player__embed {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  border-radius: 12px;
  overflow: hidden;
}

.cc-video-player__iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.cc-video-player__wrapper {
  border-radius: 12px;
  overflow: hidden;
}

.cc-video-player__video {
  width: 100%;
  display: block;
}

/* --- Image Gallery Block Template --- */
.cc-image-gallery__container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 16px;
}

.cc-image-gallery__title {
  font-family: 'Oswald', sans-serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: #FFFFFF;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.cc-image-gallery__grid {
  display: grid;
  grid-template-columns: repeat(var(--cc-columns, 3), 1fr);
  gap: 16px;
}

.cc-image-gallery__item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  margin: 0;
}

.cc-image-gallery__link {
  display: block;
}

.cc-image-gallery__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
  transition: transform 0.4s ease;
}

.cc-image-gallery__item:hover .cc-image-gallery__image {
  transform: scale(1.05);
}

.cc-image-gallery__caption {
  font-size: 0.8125rem;
  color: #B0B0B0;
  padding: 8px 0;
  text-align: center;
}

@media (max-width: 767px) {
  .cc-image-gallery__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .cc-image-gallery__grid {
    grid-template-columns: 1fr;
  }
}

/* --- Video Featured Block Template --- */
.cc-video-featured__container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 16px;
}

.cc-video-featured__title {
  font-family: 'Oswald', sans-serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: #FFFFFF;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.cc-video-featured__layout {
  display: grid;
  gap: 32px;
}

@media (min-width: 768px) {
  .cc-video-featured--left .cc-video-featured__layout,
  .cc-video-featured--right .cc-video-featured__layout {
    grid-template-columns: 3fr 2fr;
  }
  .cc-video-featured--right .cc-video-featured__player {
    order: 2;
  }
  .cc-video-featured--right .cc-video-featured__info {
    order: 1;
  }
}

.cc-video-featured__player {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
}

.cc-video-featured__poster {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.cc-video-featured__play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(184, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.cc-video-featured__play-btn:hover {
  background: #B80000;
  transform: translate(-50%, -50%) scale(1.1);
}

.cc-video-featured__play-icon {
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 14px 0 14px 24px;
  border-color: transparent transparent transparent #FFFFFF;
  margin-left: 4px;
}

.cc-video-featured__duration {
  position: absolute;
  bottom: 12px;
  right: 12px;
  padding: 4px 8px;
  background: rgba(0, 0, 0, 0.8);
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 4px;
}

.cc-video-featured__video-title {
  font-family: 'Oswald', sans-serif;
  font-size: 1.5rem;
  color: #FFFFFF;
  margin-bottom: 12px;
}

.cc-video-featured__excerpt {
  color: #999999;
  line-height: 1.7;
  margin-bottom: 20px;
}

.cc-video-featured__link {
  display: inline-block;
  padding: 10px 24px;
  background: #B80000;
  color: #FFFFFF;
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: 4px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.cc-video-featured__link:hover {
  background: #D42A2A;
  color: #FFFFFF;
}

/* --- Trending Videos Block Template --- */
.cc-trending-videos__container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 16px;
}

.cc-trending-videos__title {
  font-family: 'Oswald', sans-serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: #FFFFFF;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.cc-trending-videos__list {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: trending;
}

.cc-trending-videos__item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
}

.cc-trending-videos__item:hover {
  background: rgba(255, 255, 255, 0.02);
  transform: translateX(4px);
}

.cc-trending-videos__rank {
  font-family: 'Oswald', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: #444444;
  min-width: 48px;
  text-align: center;
}

.cc-trending-videos__item:nth-child(-n+3) .cc-trending-videos__rank {
  color: #D4A843;
}

.cc-trending-videos__item:first-child {
  background: linear-gradient(90deg, rgba(212, 168, 67, 0.08), transparent 60%);
}

.cc-trending-videos__item:first-child .cc-trending-videos__rank {
  font-size: 2.5rem;
}

.cc-trending-videos__link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  flex: 1;
}

.cc-trending-videos__thumb {
  position: relative;
  width: 120px;
  flex-shrink: 0;
  border-radius: 6px;
  overflow: hidden;
}

.cc-trending-videos__image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.cc-trending-videos__duration {
  position: absolute;
  bottom: 4px;
  right: 4px;
  padding: 2px 6px;
  background: rgba(0, 0, 0, 0.8);
  color: #FFFFFF;
  font-size: 0.6875rem;
  border-radius: 3px;
}

.cc-trending-videos__info {
  flex: 1;
}

.cc-trending-videos__item-title {
  font-family: 'Oswald', sans-serif;
  font-size: 1rem;
  color: #E0E0E0;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.cc-trending-videos__views {
  font-size: 0.75rem;
  color: #666666;
}

/* --- Divider Block Template --- */
.cc-divider {
  padding: 16px 0;
}

.cc-divider__line {
  border: none;
  border-top-width: 2px;
}

.cc-divider--western .cc-divider__ornament {
  display: block;
  margin: 0 auto;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    #C8956C 20%,
    #D4A843 50%,
    #C8956C 80%,
    transparent
  );
  position: relative;
}

.cc-divider--western .cc-divider__ornament::after {
  content: '\2726';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #0D0D0D;
  padding: 0 12px;
  color: #D4A843;
  font-size: 1rem;
}

/* --- Spacer Block Template --- */
.cc-spacer {
  padding: 0 !important;
}

/* --- Ad Block Template --- */
.cc-ad-block__label {
  display: block;
  text-align: center;
  font-size: 0.6875rem;
  color: #666666;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

.cc-ad-block__content {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* --- Sidebar Widget Block Template --- */
.cc-sidebar-widget__header {
  margin-bottom: 24px;
}

.cc-sidebar-widget__title {
  font-family: 'Oswald', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #FFFFFF;
  text-transform: uppercase;
}

.cc-sidebar-widget__content {
  color: #E0E0E0;
}

/* --- Builder Content Container --- */
.cc-builder-content {
  width: 100%;
}

.cc-builder-content > .cc-block {
  padding-left: 16px;
  padding-right: 16px;
}

.cc-builder-content > .cc-block--hero,
.cc-builder-content > .cc-block--cta-banner {
  padding-left: 0;
  padding-right: 0;
}

/* ==========================================================================
   Responsive: Tablet (max-width: 768px)
   ========================================================================== */
@media (max-width: 768px) {
  :root {
    --ccb-section-gap: 40px;
    --ccb-section-padding: 32px 0;
  }

  .cc-hero__title {
    font-size: clamp(1.6rem, 6vw, 2.5rem) !important;
  }

  .cc-hero__subtitle {
    font-size: 1.1rem;
  }

  .cc-hero__description {
    font-size: 1rem;
    padding: 0 16px;
  }

  .cc-hero__cta {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .cc-hero__button--secondary,
  .cc-button--outline {
    margin-left: 0;
  }

  .cc-streaming-platforms__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }

  .cc-cta-banner__title {
    font-size: 1.75rem;
  }

  .cc-newsletter__form .cc-newsletter__field-group {
    flex-direction: column;
  }

  .cc-newsletter__privacy {
    text-align: center;
  }
}

/* ==========================================================================
   Responsive: Mobile (max-width: 480px)
   ========================================================================== */
@media (max-width: 480px) {
  :root {
    --ccb-section-padding: 24px 0;
  }

  .cc-hero {
    min-height: 70vh !important;
  }

  .cc-hero__title {
    font-size: clamp(1.4rem, 8vw, 1.8rem) !important;
    word-break: break-word;
    letter-spacing: 0.02em;
  }

  .cc-hero__subtitle {
    font-size: 0.95rem;
  }

  .cc-hero__description {
    font-size: 0.9rem;
    line-height: 1.6;
  }

  .cc-hero__button,
  .cc-button {
    padding: 12px 28px;
    font-size: 0.875rem;
    width: 100%;
    text-align: center;
    box-sizing: border-box;
  }

  .cc-streaming-platforms__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .cc-streaming-platforms__title {
    font-size: 1.25rem;
  }

  .cc-streaming-platforms__subtitle {
    font-size: 0.9rem;
  }

  .cc-cta-banner__title {
    font-size: 1.4rem;
  }

  .cc-cta-banner__subtitle {
    font-size: 0.9rem;
  }

  .cc-image-gallery__header h2 {
    font-size: 1.25rem;
  }

  .cc-newsletter__title {
    font-size: 1.3rem;
  }

  .cc-newsletter__subtitle {
    font-size: 0.9rem;
  }

  .cc-newsletter__input {
    width: 100%;
  }

  .cc-newsletter__button {
    width: 100%;
  }

  .cc-text-block h2 {
    font-size: 1.4rem;
  }

  .cc-text-block p {
    font-size: 0.95rem;
  }

  .cc-trending-videos__thumb {
    width: 80px;
  }

  .cc-trending-videos__rank {
    font-size: 1.5rem;
    min-width: 36px;
  }

  .cc-builder-content > .cc-block {
    padding-left: 12px;
    padding-right: 12px;
  }
}


/* ==========================================================================
   PREMIUM WESTERN THEME — Ultra Modern Overrides
   ========================================================================== */

/* --------------------------------------------------------------------------
   P1. Hero Slideshow / Carousel
   -------------------------------------------------------------------------- */
.cc-hero__slideshow {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.cc-hero__slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
  will-change: opacity;
}

.cc-hero__slide.cc-active {
  opacity: 1;
}

/* Ken Burns subtle zoom effect on active slide */
@keyframes cc-kenBurns {
  0% { transform: scale(1); }
  100% { transform: scale(1.05); }
}

.cc-hero__slide.cc-active {
  animation: cc-kenBurns 8s ease-out forwards;
}

/* Ensure hero overlay doesn't block scroll */
.cc-hero__overlay {
  pointer-events: none;
}

/* Slideshow indicators */
.cc-hero__indicators {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 5;
}

.cc-hero__indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  border: 1px solid rgba(212, 168, 67, 0.4);
  cursor: pointer;
  transition: all 0.3s ease;
}

.cc-hero__indicator.cc-active {
  background: #D4A843;
  box-shadow: 0 0 12px rgba(212, 168, 67, 0.6);
  transform: scale(1.2);
}

/* Hero premium title glow */
.cc-hero__title {
  text-shadow: 0 0 40px rgba(212, 168, 67, 0.3), 2px 2px 4px rgba(0, 0, 0, 0.8) !important;
}

/* Hero premium subtitle */
.cc-hero__subtitle {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(1rem, 3vw, 1.5rem) !important;
  letter-spacing: 0.25em;
  color: #E8C874 !important;
  text-transform: uppercase;
  font-weight: 300;
}

/* Hero premium description */
.cc-hero__description {
  font-size: clamp(0.9rem, 2vw, 1.1rem) !important;
  color: #C4B8A8 !important;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Hero premium CTA button */
.cc-hero__button.cc-button--primary {
  background: linear-gradient(135deg, #C41E1E 0%, #8B0000 100%) !important;
  border: 2px solid rgba(212, 168, 67, 0.4) !important;
  padding: 16px 48px !important;
  font-size: 1rem !important;
  font-family: 'Oswald', sans-serif !important;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 6px !important;
  box-shadow: 0 4px 20px rgba(184, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease !important;
  position: relative;
  overflow: hidden;
}

.cc-hero__button.cc-button--primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
  transition: left 0.6s ease;
}

.cc-hero__button.cc-button--primary:hover::before {
  left: 100%;
}

.cc-hero__button.cc-button--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(184, 0, 0, 0.6), 0 0 20px rgba(212, 168, 67, 0.2);
  border-color: rgba(212, 168, 67, 0.7) !important;
}

/* --------------------------------------------------------------------------
   P2. Premium Image Gallery
   -------------------------------------------------------------------------- */
.cc-image-gallery {
  padding: 60px 24px !important;
}

.cc-image-gallery__header {
  text-align: center;
  margin-bottom: 40px !important;
}

.cc-image-gallery__header h2 {
  font-family: 'Rye', cursive !important;
  color: #D4A843 !important;
  font-size: clamp(1.4rem, 4vw, 2.2rem) !important;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}

.cc-image-gallery__grid {
  display: grid !important;
  grid-template-columns: repeat(var(--cc-gallery-columns, 3), 1fr) !important;
  gap: 20px !important;
  max-width: 1200px;
  margin: 0 auto;
}

.cc-image-gallery__item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 2/3;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(212, 168, 67, 0.1);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.cc-image-gallery__item:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.7), 0 0 20px rgba(212, 168, 67, 0.15);
  border-color: rgba(212, 168, 67, 0.4);
  z-index: 2;
}

.cc-image-gallery__item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, 0.7) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.cc-image-gallery__item:hover::after {
  opacity: 1;
}

.cc-image-gallery__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.cc-image-gallery__item:hover .cc-image-gallery__image {
  transform: scale(1.1);
}

.cc-image-gallery__link {
  display: block;
  width: 100%;
  height: 100%;
}

/* --------------------------------------------------------------------------
   P3. Premium Streaming Platforms
   -------------------------------------------------------------------------- */
.cc-streaming-platforms {
  padding: 60px 24px !important;
  background: linear-gradient(180deg, rgba(46, 40, 32, 0.5) 0%, transparent 100%);
}

.cc-streaming-platforms__header {
  text-align: center;
  margin-bottom: 40px !important;
}

.cc-streaming-platforms__title {
  font-family: 'Oswald', sans-serif !important;
  font-size: clamp(1.2rem, 3vw, 1.8rem) !important;
  color: #FFFFFF !important;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 400;
}

.cc-streaming-platforms__subtitle {
  color: #5A4E42 !important;
  font-size: 1rem;
  margin-top: 8px;
}

.cc-streaming-platforms__grid {
  display: flex !important;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px !important;
  max-width: 1100px;
  margin: 0 auto;
}

.cc-streaming-platforms__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 20px 16px;
  background: rgba(42, 34, 24, 0.6);
  border: 1px solid rgba(212, 168, 67, 0.1);
  border-radius: 12px;
  min-width: 100px;
  transition: all 0.3s ease;
  text-decoration: none !important;
}

.cc-streaming-platforms__card:hover {
  background: rgba(42, 34, 24, 0.9);
  border-color: rgba(212, 168, 67, 0.4);
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4), 0 0 15px rgba(212, 168, 67, 0.1);
}

.cc-streaming-platforms__logo {
  max-height: 40px !important;
  width: auto;
  filter: brightness(1.1) contrast(1.05);
  transition: filter 0.3s ease;
}

.cc-streaming-platforms__card:hover .cc-streaming-platforms__logo {
  filter: brightness(1.3) contrast(1.1);
}

.cc-streaming-platforms__name {
  font-family: 'Oswald', sans-serif;
  font-size: 0.75rem;
  color: #FFFFFF;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* --------------------------------------------------------------------------
   P4. Premium CTA Banner
   -------------------------------------------------------------------------- */
.cc-cta-banner {
  padding: 80px 24px !important;
  text-align: center;
  background: linear-gradient(180deg, #2A241E 0%, #322B22 50%, #2A241E 100%) !important;
  position: relative;
}

.cc-cta-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212, 168, 67, 0.3), transparent);
}

.cc-cta-banner__title {
  font-family: 'Rye', cursive !important;
  color: #D4A843 !important;
  font-size: clamp(1.3rem, 4vw, 2rem) !important;
  margin-bottom: 16px;
  line-height: 1.3;
}

.cc-cta-banner__subtitle {
  color: #C4B8A8 !important;
  font-size: 1.05rem !important;
  max-width: 600px;
  margin: 0 auto 32px;
  line-height: 1.7;
}

.cc-cta-banner__button {
  display: inline-block;
  background: linear-gradient(135deg, #C41E1E 0%, #8B0000 100%) !important;
  color: #FFFFFF !important;
  border: 2px solid rgba(212, 168, 67, 0.4) !important;
  padding: 16px 48px !important;
  font-family: 'Oswald', sans-serif !important;
  font-size: 1rem !important;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 6px !important;
  box-shadow: 0 4px 20px rgba(184, 0, 0, 0.4);
  transition: all 0.3s ease !important;
  text-decoration: none;
}

.cc-cta-banner__button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(184, 0, 0, 0.6), 0 0 20px rgba(212, 168, 67, 0.2);
  border-color: rgba(212, 168, 67, 0.7) !important;
}

/* --------------------------------------------------------------------------
   P5. Premium Western Divider
   -------------------------------------------------------------------------- */
.cc-divider--western .cc-divider__western {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 20px 0;
}

.cc-divider--western .cc-divider__rope {
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(212, 168, 67, 0.4), transparent);
}

.cc-divider--western .cc-divider__star {
  color: #D4A843;
  font-size: 1.2rem;
  text-shadow: 0 0 10px rgba(212, 168, 67, 0.4);
}

/* --------------------------------------------------------------------------
   P6. Premium Text Block
   -------------------------------------------------------------------------- */
.cc-text-block {
  padding: 40px 24px !important;
}

.cc-text-block__content h2,
.cc-text-block__content h3 {
  font-family: 'Rye', cursive;
  color: #D4A843;
}

.cc-text-block__content p {
  color: #C4B8A8;
  line-height: 1.8;
}

/* --------------------------------------------------------------------------
   P7. Header Navigation Premium
   -------------------------------------------------------------------------- */
.cc-header__menu {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.cc-header__menu-item a {
  display: block;
  padding: 8px 20px;
  font-family: 'Oswald', sans-serif;
  font-size: 0.9375rem;
  font-weight: 500;
  color: #2A2118;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  text-decoration: none;
  border-radius: 4px;
  transition: all 0.25s ease;
  position: relative;
}

.cc-header__menu-item a:hover {
  color: #9E7A2A;
  background: rgba(158, 122, 42, 0.08);
}

.cc-header__menu-item a::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 20px;
  right: 20px;
  height: 2px;
  background: #D4A843;
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.cc-header__menu-item a:hover::after {
  transform: scaleX(1);
}

/* Blog link special styling */
.cc-header__blog-link {
  background: linear-gradient(135deg, #C41E1E, #8B0000) !important;
  color: #FFFFFF !important;
  border-radius: 6px !important;
  padding: 8px 24px !important;
  font-weight: 600 !important;
  border: 1px solid rgba(212, 168, 67, 0.3);
}

.cc-header__blog-link:hover {
  background: linear-gradient(135deg, #D42A2A, #A01818) !important;
  box-shadow: 0 4px 15px rgba(184, 0, 0, 0.4);
}

.cc-header__blog-link::after {
  display: none !important;
}

/* --------------------------------------------------------------------------
   P7b. Mobile Hamburger & Mobile Menu
   -------------------------------------------------------------------------- */

/* Hamburger button — hidden on desktop */
.cc-header__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  gap: 6px;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1002;
  position: relative;
}

.cc-header__hamburger-line {
  display: block;
  width: 26px;
  height: 2.5px;
  background: #2A2118;
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center;
}

/* Hamburger active state (X) */
.cc-header__hamburger--active .cc-header__hamburger-line:nth-child(1) {
  transform: translateY(8.5px) rotate(45deg);
}
.cc-header__hamburger--active .cc-header__hamburger-line:nth-child(2) {
  opacity: 0;
}
.cc-header__hamburger--active .cc-header__hamburger-line:nth-child(3) {
  transform: translateY(-8.5px) rotate(-45deg);
}

/* Mobile menu overlay */
.cc-header__mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}
.cc-header__mobile-overlay--visible {
  opacity: 1;
  visibility: visible;
}

/* Mobile menu panel */
.cc-header__mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 300px;
  max-width: 85vw;
  height: 100vh;
  background: #FAF8F5;
  z-index: 1001;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  overflow-y: auto;
  padding: 100px 24px 32px;
  box-shadow: -4px 0 24px rgba(0, 0, 0, 0.15);
}
.cc-header__mobile-menu--open {
  transform: translateX(0);
}

.cc-header__mobile-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex !important;
  flex-direction: column !important;
  gap: 0 !important;
}

.cc-header__mobile-menu li {
  border-bottom: 1px solid #EDE8E0;
}

.cc-header__mobile-menu li a {
  display: block !important;
  padding: 16px 8px !important;
  font-family: 'Oswald', sans-serif;
  font-size: 1.1rem !important;
  font-weight: 500 !important;
  color: #2A2118 !important;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-decoration: none;
  transition: color 0.2s ease;
  background: none !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.cc-header__mobile-menu li a:hover {
  color: #9E7A2A !important;
  background: rgba(158, 122, 42, 0.06) !important;
}

.cc-header__mobile-menu li a::after {
  display: none !important;
}

.cc-header__mobile-menu .cc-header__blog-link {
  display: inline-block !important;
  margin-top: 16px;
  text-align: center;
  background: linear-gradient(135deg, #C41E1E, #8B0000) !important;
  color: #FFFFFF !important;
  border-radius: 6px !important;
  padding: 12px 24px !important;
}

/* Responsive: show hamburger, hide desktop nav on mobile */
@media (max-width: 768px) {
  .cc-header__hamburger {
    display: flex;
  }
  .cc-header__nav {
    display: none !important;
  }
}

/* --------------------------------------------------------------------------
   P8. Premium Responsive Overrides
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
  .cc-image-gallery__grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
  }

  .cc-streaming-platforms__grid {
    gap: 12px !important;
  }

  .cc-streaming-platforms__card {
    min-width: 80px;
    padding: 14px 10px;
  }

  .cc-streaming-platforms__logo {
    max-height: 28px !important;
  }

  .cc-hero__indicators {
    bottom: 20px;
  }

  .cc-hero__button.cc-button--primary {
    padding: 14px 36px !important;
    font-size: 0.9rem !important;
  }
}

@media (max-width: 480px) {
  .cc-image-gallery__grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px !important;
  }

  .cc-streaming-platforms__card {
    min-width: 70px;
    padding: 10px 8px;
  }

  .cc-cta-banner {
    padding: 48px 16px !important;
  }
}

/* ==========================================================================
   Vertical Carousel — Two columns scrolling in opposite directions
   ========================================================================== */

.cc-image-gallery--vertical-carousel {
  padding: var(--cc-space-3xl) 0;
  overflow: hidden;
}

.cc-image-gallery--vertical-carousel .cc-image-gallery__header {
  text-align: center;
  margin-bottom: var(--cc-space-2xl);
}

.cc-image-gallery--vertical-carousel .cc-image-gallery__title {
  font-family: 'Rye', cursive;
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: var(--cc-text-white);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.cc-vcarousel {
  display: flex;
  gap: 20px;
  justify-content: center;
  max-width: 520px;
  margin: 0 auto;
  height: 600px;
  overflow: hidden;
  position: relative;
}

/* Fade top/bottom edges */
.cc-vcarousel::before,
.cc-vcarousel::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 80px;
  z-index: 2;
  pointer-events: none;
}
.cc-vcarousel::before {
  top: 0;
  background: linear-gradient(to bottom, var(--cc-bg-dark), transparent);
}
.cc-vcarousel::after {
  bottom: 0;
  background: linear-gradient(to top, var(--cc-bg-dark), transparent);
}

.cc-vcarousel__col {
  flex: 1;
  overflow: hidden;
  position: relative;
}

.cc-vcarousel__track {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Column 1: scroll UP */
.cc-vcarousel__col--up .cc-vcarousel__track {
  animation: cc-vscroll-up 25s linear infinite;
}

/* Column 2: scroll DOWN — start offset */
.cc-vcarousel__col--down .cc-vcarousel__track {
  animation: cc-vscroll-down 25s linear infinite;
}

@keyframes cc-vscroll-up {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-50%);
  }
}

@keyframes cc-vscroll-down {
  0% {
    transform: translateY(-50%);
  }
  100% {
    transform: translateY(0);
  }
}

.cc-vcarousel__item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
}

.cc-vcarousel__item img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  aspect-ratio: 2 / 3;
  object-fit: cover;
}

.cc-vcarousel__caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px 14px;
  background: linear-gradient(to top, rgba(0,0,0,0.75), transparent);
  color: #FFFFFF;
  font-family: 'Oswald', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-radius: 0 0 12px 12px;
}

/* Pause on hover */
.cc-vcarousel:hover .cc-vcarousel__track {
  animation-play-state: paused;
}

/* Mobile: keep carousel but smaller */
@media (max-width: 768px) {
  .cc-image-gallery--vertical-carousel .cc-vcarousel {
    height: 450px;
    gap: 12px;
    max-width: 100%;
    padding: 0 12px;
  }

  .cc-vcarousel__item {
    border-radius: 8px;
  }

  .cc-image-gallery--vertical-carousel .cc-image-gallery__grid--mobile {
    display: none;
  }
}

@media (min-width: 769px) {
  .cc-image-gallery--vertical-carousel .cc-image-gallery__grid--mobile {
    display: none;
  }
}
