/* COMPONENT WRAPPER */
.homepage-feature-campaign {
  --razer-green: #44D62C;
  --razer-green-dark: #2ea81e;
  --tile-w: 304px;
  --tile-h: 160px;
  --tile-gap: 24px;
  position: relative;
  width: 100%;
  max-width: 1920px;
  min-height: 920px;
  overflow: hidden;
  background: #000;
  margin: 0 auto;
  /* VIEWS */
  .campaign-view {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    padding: 0 1rem;
    transition: opacity 0.5s ease;
  }
  .campaign-view[inert] {
    opacity: 0;
    pointer-events: none;
  }
  .campaign-view:not([inert]) {
    opacity: 1;
    pointer-events: auto;
  }
  /* Focusable tabpanel (tabindex="0") — inset outline so it isn't clipped at the section edge */
  .view-product:focus { outline: none; }
  .view-product:focus-visible {
    outline: 2px solid var(--razer-green);
    outline-offset: -4px;
  }
  /* PICTURE / IMAGE */
  .campaign-picture {
    position: absolute;
    inset: 0;
    z-index: 0;
    height: 75vh;
    min-height: 920px;
  }
  .campaign-picture.campaign-picture--mobile-only{
    display: none;
  }
  /* Incoming product image during a crossfade (added/removed by script.js) */
  .campaign-picture--incoming {
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.25s ease;
  }
  .campaign-picture--incoming.is-visible { opacity: 1; }
  @media (prefers-reduced-motion: reduce) {
    .campaign-picture--incoming { transition-duration: 0.01s; }
  }
  .hfc__video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;    
  }
  .campaign-picture img {
    width: 100vw;
    max-width: 100%;
    height: 75vh;
    -o-object-fit: cover;
    object-fit: cover;
    -o-object-position: center bottom;
    object-position: center bottom;
     min-height: 920px;
     max-height: 920px;
  }
  /* OVERLAY GRADIENT */
  .campaign-overlay {
    position: absolute;
 	  top: 0;
	  left: 0;
	  right: 0;
	  height: 300px;
    background: linear-gradient(
      to bottom, 
      rgba(0, 0, 0, 0.8) 0%, 
      rgba(0, 0, 0, 0.5) 50%, 
      rgba(0, 0, 0, 0) 100%
    );
	  pointer-events: none;
	  z-index: 1;
  }
  /* Play / Pause Button */
  /* Anchored relative to the 1200 px inner container */
  .hfc__playback-wrap {
    position: absolute;
    bottom: 14rem;
    /* Right edge of the 1200 px container */
    right: max(calc((100% - 1200px) / 2), clamp(1rem, 4vw, 2.5rem));
    z-index: 3;
  }
  .hfc__playback-btn {
    width: clamp(2rem, 3.5vw, 2.75rem);
    height: clamp(2rem, 3.5vw, 2.75rem);
    border-radius: 50%;
    border: none;
    background: #44D62C;
    color: #000000;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }
  .hfc__playback-btn:hover {
    background: #73e161;
  }
  .hfc__playback-btn:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 3px;
  }
  .hfc__playback-btn:active { transform: scale(.97); }
  /* SVG icons inside the button */
  .hfc__playback-btn svg {
    width: 55%;
    height: 55%;
    fill: currentColor;
    flex-shrink: 0;
    min-width: 17px;
  }
  .hfc__playback-btn .icon-pause { display: block; }
  .hfc__playback-btn .icon-play { display: none; }
  .hfc__playback-btn[data-state="paused"] .icon-play  { display: block; }
  .hfc__playback-btn[data-state="paused"] .icon-pause { display: none; }
  /* Make the wrapper relative so the badge positions correctly */
  .hfc__playback-btn { position: relative; }
  /* FRONT VIEW CONTENT */
  .view-front .campaign-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    padding-top: 3rem;
    flex: 1;
    margin: 0 auto;
    max-width: 1200px;
  }
  .view-front .campaign-content.hfc-has-ribbon {
    margin-top: 1.5rem;
  }
  .hfc-ribbon {
		 font-family: "Titillium Web",RazerF5,Arial,Helvetica,sans-serif;
    display: inline-flex;
    background: #ff9c07;
    color: #000000;
    font-size: .875rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 0 8px;
    margin-bottom: 1rem;
    height: 1.625rem;
    align-items: center;
  }
  .campaign-headline {
    font-family: RazerF5,Arial,Helvetica,sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #FFFFFF;
    text-transform: uppercase;
    line-height: 1.05;
    padding-bottom: 5px;
  }
  .lowercase-exception { text-transform: lowercase; }
  .campaign-content.text-black {
    .campaign-headline, .campaign-body {
      color: #000000;
    }
    /* Light backgrounds: darker fill so the green label stays readable */
    .campaign-cta-secondary {
      background-color: rgba(0, 0, 0, 0.7);
    }
    .campaign-cta-secondary:hover, .campaign-cta-secondary:focus-visible {
      background: #122f0d;
    }
  }
  .campaign-body {
    font-family: Roboto,Arial,Helvetica,sans-serif;
    font-size: 1.125rem;
    line-height: 1.5rem;
    font-weight: 400;
    max-width: 1140px;
    color: #BBBBBB;
    margin-bottom: 1.3rem;
  }
  .hfc__actions {
    display: flex;
    flex-wrap: wrap;
    gap: clamp(1rem, 1.5vw, 1.5rem);
    justify-content: center;
  }
  .campaign-cta {
    font-family: "Titillium Web",RazerF5,Arial,Helvetica,sans-serif;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    line-height: 1;
    font-weight: 700;
    text-transform: uppercase;
    padding: 0 1rem;
    height: 44px;
    min-height: 44px;
    cursor: pointer;
    text-decoration: none;
    border-radius: 3px;
    min-width: 5rem;
    white-space: nowrap;
    text-decoration: none !important;
    outline-offset: 3px;
    transition: background-color 0.3s ease;
  }
  .campaign-cta-primary {
    background: #44D62C;
    color: #000000 !important;
    border-color: #44D62C;
  }
  .campaign-cta-secondary {
    background-color: rgba(0, 0, 0, 0.5);
    color: #44D62C;
    border: 2px solid #44D62C;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
  }
  .campaign-cta:hover, .campaign-cta:focus-visible { background: #73e161; }
  .campaign-cta-secondary:hover, .campaign-cta-secondary:focus-visible {
    background: #122f0d;
  }
  .campaign-cta:focus-visible, .campaign-cta-secondary:focus-visible {
    outline: 2px solid #44D62C;
  }
  /* Bottom gradient scrim — separates background image from buttons/tiles */
  .view-product::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 300px;
    background: linear-gradient(to top, rgba(0,0,0,1) 0%, rgba(0,0,0,0.9) 35%, rgba(0,0,0,0.6) 65%, rgba(0,0,0,0) 100%);
    pointer-events: none;
    z-index: 1;
  }
  &.no-main-campaign-layout .view-product::after {
    display: none;
  }
  /* PRODUCT VIEW CONTENT */
  .view-product .campaign-content {
    transition: opacity 0.3s ease, transform 0.3s ease;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    text-align: left;
    flex: 1;
    margin: 0 auto;
    width: 1200px;
    max-width: 100%;
    padding: 0 2.5rem 13rem;
    h3 {
      font: 500 2rem/1.2 RazerF5,Arial,Helvetica,sans-serif;
      color: #ffffff;
      text-transform: uppercase;
    }
  }
  /*
  .view-product .product-action-row .campaign-cta-primary {
    box-shadow: 0 0 0 2px #111;
  }*/
  @media (max-width: 768px) {
    .view-product .campaign-content {
      max-width: 80%;
      padding: 0 1.5rem 15rem;
      margin: 0 auto;
      .product-bodycopy {
        width: 100%;
      }
    }
    .view-product .campaign-content:not(.has-quote) {
      padding-left: 0;
      padding-right: 0;
    }
  } 
  .product-bodycopy {
    font-family: "Roboto";
    position: relative;;
    margin-bottom: 1.25rem;
    width: 50%;
    font-family: Roboto,Arial,Helvetica,sans-serif;
    font-size: 1.125rem;
    line-height: 1.5rem;
    font-weight: 400;
    color: #BBBBBB;
    padding-right: 2rem;
    blockquote {
      position: relative;
      font: 700 30px/32px RazerF5,Arial,Helvetica,sans-serif;
      text-transform: uppercase;
      color: #FFFFFF;
      text-align: left;
      unicode-bidi: normal;
    }
    blockquote::before, blockquote::after {
      content: " ";
      display: inline-block;
      background-size: contain;
      background-repeat: no-repeat;
      background-position-y: top;
    }
    blockquote::before {
      vertical-align: 0;
      margin: 0;
      position: absolute;
      height: 23px;
      width: 100%;
      max-width: 65px;
      left: -75px;
      top: 3px;
      background-position-x: right;
      background-image: url(https://razer-assets2.s3.us-west-1.amazonaws.com/images/common/esport-quote-open.png);
    }
    blockquote::after {
      height: 23px;
      width: 100%;
      bottom: 4px;
      position: absolute;
      max-width: 24px;
      line-height: 1;
      background-position-x: left;
      background-image: url(https://razer-assets2.s3.us-west-1.amazonaws.com/images/common/esport-quote-close.png);
      margin-left: 5px;
    }
  }
  .product-footnote {
    font-size: 1rem;
    font-weight: 400;
    margin-bottom: 0.25rem;
    color: #BBBBBB;
  }
  .product-footnote .footnote-author {
    font-size: 1.25rem;
    color: #44D62C;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 0.25rem;
    display: block;
  }
  .product-footnote .footnote-title {
    font-size: 0.75rem;
    color: #FFFFFF;
    text-transform: uppercase;
    font-weight: 500;
    letter-spacing: 0.25px;
    margin-bottom: 1rem;
    display: block;
  }
  /* Badge */
  .product-icon img {
    width: 150px;
    height: auto;
    display: block;
  }
  /* Product view inline action buttons */
  .product-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
  }
  /* Back link */
  .back-link {
    position: absolute;
    z-index: 10;
    bottom: calc(var(--tile-h) + var(--tile-gap) + 3rem);
    left: max(calc((100% - 1200px) / 2), 2rem);
    color: #FFFFFF;
    font-size: 0.875rem;
    text-decoration: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.35em;
    transition: color 0.2s;
    background: none;
    border: none;
    outline-offset: 3px;
  }
	 .back-link:hover .back-link-text { color: #fff; text-decoration: underline;}
  .back-link-icon { font-size: 1rem; line-height: 1; color: #44D62C; text-decoration: none; }
  .back-link:focus-visible { outline: 2px solid var(--razer-green); }
  /* Product view bottom-right action row */
  .product-action-row {
    position: absolute;
    z-index: 10;
    bottom: calc(var(--tile-h) + var(--tile-gap) + 3.125rem);
    right: max(calc((100% - 1200px) / 2), 2rem);
    display: flex;
    gap: 1.5rem;
  }
  /* PRODUCT TILES STRIP */
  .tiles-strip {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10;
    padding: 0 0 1.875rem;
  }
  .tiles-track-wrapper {
    position: relative;
    overflow: hidden;
    padding: 10px 2rem;
    max-width: 1200px;
    margin: 0 auto;
  }
  .tiles-track {
    display: flex;
    gap: var(--tile-gap);
    transition: transform 0.35s cubic-bezier(.25,.46,.45,.94);
    cursor: grab;
    user-select: none;
    align-items: flex-start;
  }
  .tiles-track.is-dragging { cursor: grabbing; transition: none; }
  /* Center when all tiles fit */
  .tiles-track.tiles-centered { justify-content: center; }
  /* TILE */
  .tile-wrapper {
    flex: 0 0 var(--tile-w);
    height: var(--tile-h);
    position: relative;
    border-radius: 10px;
    transition: filter 0.15s ease;
  }
  .tile-wrapper:has([role="tab"][aria-selected="true"]) {
    filter: drop-shadow(0 0 5px rgba(68, 214, 44, 0.8));
  }
  .product-tile {
    width: 100%;
    height: 100%;
    background: #000000;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding-top: 0;
    vertical-align: top;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    clip-path: inset(0 round 10px);
    transform: translateZ(0);
    border: none;
    border-radius: 10px;
  }
  .product-tile:focus-visible { outline: none; }
  /* Distinct from the selected state (green border + glow): solid white ring with a gap,
     so focus is visible even on the already-selected tile (e.g. no-main-campaign-layout,
     where the first tile opens selected). Fits inside the wrapper's 10px gutter. */
  .tile-wrapper:has(.product-tile:focus-visible) {
    outline: 2px solid #FFFFFF;
    outline-offset: 4px;
    border-radius: 14px;
  }
  .tile-glow-border {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 10;
  }
  .tile-glow-border rect {
    x: 0;
    y: 0;
    width: 100%;
    height: 100%;
    rx: 10.5px;
    fill: none;
    stroke: #333333;
    stroke-width: 3;
    transition: stroke 0.3s ease;
  }
  @media (hover: hover) {
    .product-tile:hover .tile-glow-border rect {
      stroke: #ffffff;
    }
  }
  .tile-wrapper a.product-tile:hover {
    text-decoration: none;
  }
  [role="tab"][aria-selected="true"] .tile-glow-border rect {
    stroke: var(--razer-green);
  }
  .tile-img {
    width: auto;
    height: 106px;
    margin: 0 auto;
    object-fit: contain;
    pointer-events: none;
    padding: 0 0.5rem 0rem;
    flex-shrink: 0;
  }
  .tile-name {	
		font-family: RazerF5;
    font-size: 1rem;
    font-weight: 400;
    text-transform: uppercase;
    text-align: center;
    color: #fff;
		line-height: 1.2;
    padding: 0.25rem 1rem 0.75rem;
    flex-grow: 1;
    width: 100%;
    display: grid;
    place-items: center;
    height: auto;
  }
}
:lang(ko-KR) .view-product .product-bodycopy blockquote,
:lang(zh-CN) .view-product .product-bodycopy blockquote {
 line-height: 34px;
}
/* RESPONSIVE */
/*
@media (min-width: 1800px) {
  .product-bodycopy blockquote {
      font: 700 40px/45px RazerF5,Arial,Helvetica,sans-serif !important;
  }
}
*/
@media (max-width: 1400px) {
  .homepage-feature-campaign, .homepage-feature-campaign .campaign-picture img {
    min-height: 768px;
  }
  .homepage-feature-campaign .campaign-headline {
    font-size: 2rem;
  }
  .homepage-feature-campaign .campaign-body {
    font-size: 1rem;
    line-height: 1.25rem;
  }
}
@media (max-width: 1024px) {
  .homepage-feature-campaign {
     --tile-w: 304px;
     --tile-gap: 8px;
     --tile-h2: 160px;
     .tile-img { height: 106px; }
     .tiles-track-wrapper { padding-inline: 1rem !important; }
     .tiles-strip { padding-bottom: 0.875rem !important;}
     .view-product .product-bodycopy {
        width: 50%;
     }
     .product-action-row { 
        gap: 1rem; 
        bottom: 205px;
        right: 1rem !important;
     }
     .hfc__playback-wrap {
       bottom: 205px;
     }
     .back-link {
      left: 1rem;
     }
  } 
}
@media (max-width: 900px) {
  .homepage-feature-campaign {
    .view-front .campaign-picture img {
      object-position: center 80%;
      -o-object-position: center 80%;
    }
    .view-product .campaign-picture {
      height: auto;
      min-height: unset;
    }
    .view-product .campaign-picture img {
      min-height: unset;
      width: 100%;
      height: auto;
      -o-object-position: top;
      object-position: top;
    }
    .view-product .campaign-content {
      width: 100%;
      max-width: 100%;
      padding-top: var(--product-img-h, 21rem);
      justify-content: flex-start;
      padding-bottom: unset;
      padding-right: 0;
      .product-bodycopy {
          width: 100%;
          margin-bottom: 1rem;
          padding-right: 1.5rem;
      }
      .product-icon {
        display: none;
      }
    }
  }
}
@media (max-width: 768px) {
  .homepage-feature-campaign, .homepage-feature-campaign .campaign-picture img {
    min-height: 768px;
  }
  .homepage-feature-campaign .campaign-picture.campaign-picture--mobile-only{
      display: block;
  }
  .homepage-feature-campaign .hfc-video--desktop-only {
    display: none;
  }
  .homepage-feature-campaign { 
     --tile-w: 360px; 
     --tile-h: 200px; 
     .tile-img { height: 146px; }
     .product-action-row { 
        gap: 1rem; 
        bottom: 244px;
        right: 1rem !important;
     }
     .hfc__playback-wrap {
       bottom: 244px;
     }
  }
  .view-product .product-bodycopy {
    blockquote {
      font: 700 1.5rem/1.625rem RazerF5,Arial,Helvetica,sans-serif;
      margin-bottom: 0;
    }
    blockquote::before {
      display: inline-block;
      height: 17px;
      top: 1px;
      left: -70px;
    }
    blockquote::after {
      display: inline-block;
      height: 17px;
      bottom: 6px;
    }
  }
:lang(ko-KR) .view-product .product-bodycopy blockquote,
	:lang(ja-JP) .view-product .product-bodycopy blockquote,
	:lang(zh-TW) .view-product .product-bodycopy blockquote,
	:lang(zh-HK) .view-product .product-bodycopy blockquote,
	:lang(zh-CN) .view-product .product-bodycopy blockquote {
        line-height: 1.2 !important;
    }
}
@media (max-width: 480px) {
  .homepage-feature-campaign {
     --tile-w: 248px; 
     --tile-h: 120px; 
    aspect-ratio: unset;
    min-height: 700px;
    .product-action-row {
        left: 0 !important;
        right: 0 !important;
        justify-content: center;
    }
    .back-link {
        top: 0 !important;
        bottom: unset !important;
        left: 0 !important;
        right: 0 !important;
        width: 100%;
        height: 2.5rem;
        background: #000;
        padding: 0 1rem;
    }
    .tile-img { 
      height: 74px;
      transform: scale(1.5);
      transition: transform 0.2s ease-in-out;
      transform-origin: top;
    }
    [role="tab"][aria-selected="true"] .tile-img {
      transform: scale(1);
    }
    .tile-name {
      opacity: 0;
      font-size: 0.875rem;
      transition: opacity 0.2s ease, visibility 0.2s ease;
    }
    .tiles-strip {
      padding-bottom: 0.5rem !important;
      transition: top 0.35s ease;
    }
    [role="tab"][aria-selected="true"] .tile-name {
      opacity: 1;
    }
    .product-action-row, .hfc__playback-wrap { 
        bottom: 154px;
    }
    .view-product .campaign-content h3 {
      font-size: 1.5rem;
    }
    .view-product .campaign-picture {
      top: 2.5rem;
      height: calc(75% - 2.5rem);
      min-height: unset;
    }
    .view-product .campaign-picture img {
      min-height: unset;
      height: 250px;
      width: 100%;
      -o-object-position: top;
      object-position: top;
    }
    .view-product .campaign-content {
      padding-top: calc(var(--product-img-h, 19.5rem) + 2.5rem);
      padding-left: 1.5rem;
    }
    .view-product .campaign-content .product-bodycopy {
      padding-right: 0.5rem;
    }
  }
}
@media (max-width: 480px) and (hover: hover) {
  .homepage-feature-campaign .product-tile:hover .tile-img { transform: scale(1); }
  .homepage-feature-campaign .product-tile:hover .tile-name { opacity: 1; }
}
:lang(zh-CN), :lang(pt-BR), :lang(es-MX), :lang(ar-MENA), :lang(en-MENA) {
  .homepage-feature-campaign .campaign-cta-secondary {
    display: none;
  }
}
/* ── RTL (Arabic / ar-MENA) ─────────────────────────────────────────────── */
:lang(ar-MENA) .homepage-feature-campaign {
  .back-link {
    left: unset;
    right: max(calc((100% - 1200px) / 2), 2rem);
  }
  .product-action-row {
    right: unset;
    left: max(calc((100% - 1200px) / 2), 2rem);
  }
  .hfc__playback-wrap {
    right: unset;
    left: max(calc((100% - 1200px) / 2), clamp(1rem, 4vw, 2.5rem));
  }
  .view-product .campaign-content {
    text-align: right;
    align-items: flex-end;
  }
  .product-bodycopy {
    padding-right: 2rem;
    padding-left: 0;
    width: 45%;
  }
  .product-footnote {
    width: 45%;
    padding-right: 2rem;
  }
  .product-bodycopy blockquote {
    text-align: right;
    line-height: 1.2 !important;
  }
  .product-bodycopy blockquote::before {
    left: unset;
    right: -75px;
    background-position-x: left;
    background-image: url(https://razer-assets2.s3.us-west-1.amazonaws.com/images/common/esport-quote-close.png);
  }
  .product-bodycopy blockquote::after {
    margin-left: 0;
    margin-right: 5px;
    background-position-x: right;
    background-image: url(https://razer-assets2.s3.us-west-1.amazonaws.com/images/common/esport-quote-open.png);
  }
}
@media (max-width: 1024px) {
  :lang(ar-MENA) .homepage-feature-campaign {
    .view-product .product-bodycopy {
      width: 50%;
    }
    .product-action-row {
      left: unset !important;
      right: 1rem !important;
    }
    .back-link {
      right: unset;
      left: 1rem;
    }
  }
}
@media (max-width: 900px) {
  :lang(ar-MENA) .homepage-feature-campaign {
    .view-product .campaign-content {
      width: 100%;
      max-width: 100%;
    }
    .view-product .product-bodycopy {
      width: 100%;
      padding-right: 1.5rem;
      padding-left: 0;
    }
    .product-footnote {
      width: 100%;
      padding-right: 0;
    }
  }
}
@media (max-width: 480px) {
  :lang(ar-MENA) .homepage-feature-campaign {
    .product-action-row {
      left: 0 !important;
      right: 0 !important;
      justify-content: center;
    }
    .view-product .campaign-content {
      padding-left: unset;
      padding-right: 1.5rem;
    }
    .view-product .campaign-content .product-bodycopy {
      padding-left: 1rem;
      padding-right: 0;
    }
    .product-bodycopy blockquote::before {
      left: unset;
      right: -70px;
    }
  }
}
@media (min-width: 1200px) {
  .homepage-feature-campaign .tile-wrapper {
    flex: 0 1 var(--tile-w);
  }
}
@media (min-width: calc(1200px + 4rem)) {
  /* Keep a 10px gutter inside the overflow:hidden wrapper so the focus outline
     (outline-offset 3px) and the selected drop-shadow (5px) of the first/last tiles
     aren't clipped. max-width grows by the same 20px so tiles still span exactly 1200px. */
  .homepage-feature-campaign .tiles-track-wrapper {
    padding-inline: 10px;
    max-width: calc(1200px + 20px);
  }
}
/* ── PRODUCT VIEW: HEADER + TAGLINE LAYOUT ──────────────────────────────────
   Child with meta_data.header_tagline_view_class = "yes".
   Header + longText_1 top-centred like view-front, CTAs directly underneath. */
.homepage-feature-campaign .view-product.view-product--tagline {
  .campaign-content {
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    width: auto;
    max-width: 1200px;
    padding: 3rem 0 0; /* more room when a ribbon is used — see .hfc-tagline-has-ribbon */
  }
  .product-tagline {
    font-family: RazerF5,Arial,Helvetica,sans-serif;
    font-size: 1.5rem;
    line-height: 2rem;
    font-weight: 400;
    max-width: 1140px;
    color: #FFFFFF;
    margin-bottom: 1rem;
  }
  .campaign-content.text-black {
    .campaign-headline, .product-tagline { color: #000000; }
  }
  .campaign-content.text-black ~ .product-legal { color: rgba(0, 0, 0, 0.75); }
  .product-bodycopy { display: none; }
  /* Ribbon above the headline — same look/spacing as view-front (.hfc-ribbon) */
  .product-ribbon[hidden] { display: none; } /* .hfc-ribbon sets display, which overrides [hidden] */
  /* Keep the h2 at the same spot with or without a ribbon: the ribbon pulls itself up
     into the content's top padding by its own height + bottom margin (1.625rem + 1rem) */
  .product-ribbon { margin-top: -2.625rem; }
  /* Ribbon, headline and tagline fade in place, matching the 0.25s background crossfade.
     The CTA row and legal line are not faded. */
  .campaign-content, .product-ribbon, .campaign-headline, .product-tagline {
    transition: opacity 0.25s ease;
  }
  .product-action-row {
    position: static;
    flex-wrap: wrap;
    justify-content: center;
    gap: clamp(1rem, 1.5vw, 1.5rem);
  }
  /* tile height + track wrapper padding (10px × 2) + strip bottom padding */
  --hfc-strip-h: calc(var(--tile-h) + 20px + 1.875rem);
  /* Legal / copyright line (text_1) — sits just above the tiles strip, watermark style */
  .product-legal {
    position: absolute;
    z-index: 2;
    left: 0;
    right: 0;
    bottom: calc(var(--hfc-strip-h) + 0.5rem);
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    text-align: center;
    font-family: Roboto,Arial,Helvetica,sans-serif;
    font-size: 0.875rem;
    line-height: 1.4;
    letter-spacing: 0.02em;
    color: rgba(255, 255, 255, 0.75);
    p { margin: 0; }
    a { color: inherit; text-decoration: underline; }
  }
}
@media (max-width: 1024px) {
  .homepage-feature-campaign .view-product.view-product--tagline {
    --hfc-strip-h: calc(var(--tile-h) + 20px + 0.875rem);
  }
}
:lang(ar-MENA) .homepage-feature-campaign .view-product.view-product--tagline .campaign-content {
  text-align: center;
  align-items: center;
}
@media (max-width: 900px) {
  /* Full-bleed background, same as view-front */
  .homepage-feature-campaign .view-product.view-product--tagline {
    .campaign-picture {
      top: 0;
      height: 75vh;
      min-height: 768px;
    }
    .campaign-picture img {
      width: 100%;
      height: 75vh;
      min-height: 768px;
      max-height: 920px;
      -o-object-position: center 80%;
      object-position: center 80%;
    }
    .campaign-content { padding: 3rem 1rem 0; }
  }
}
@media (max-width: 768px) {
  /* Tablet / mobile: image + text on top, tiles strip below it (no overlap) */
  .homepage-feature-campaign:has(.view-product--tagline:not([inert])) {
    height: 768px;
    min-height: 0;
  }
  .homepage-feature-campaign .view-product.view-product--tagline {
    .campaign-content { max-height: calc(100% - var(--hfc-strip-h)); }
    .campaign-picture {
      top: 0;
      height: calc(100% - var(--hfc-strip-h));
      min-height: 0;
    }
    .campaign-picture img {
      height: 100%;
      min-height: 0;
      max-height: none;
    }
  }
  /* Fade the image into black where it meets the strip, not over the tiles */
  .homepage-feature-campaign .view-product.view-product--tagline::after {
    bottom: var(--hfc-strip-h);
    height: 150px;
  }
}
@media (max-width: 480px) {
  /* Component capped at 700px on mobile */
  .homepage-feature-campaign:has(.view-product--tagline:not([inert])) {
    height: 700px;
  }
  .homepage-feature-campaign .view-product.view-product--tagline {
    /* tile height + track wrapper padding (10px × 2) + strip bottom padding */
    --hfc-strip-h: calc(var(--tile-h) + 20px + 0.5rem);
    .campaign-content { padding: 3.625rem 0.5rem 0; } /* clears the mobile back-link bar */
    .product-tagline {
      font-size: 1.1875rem;
      line-height: 1.3;
    }
    .product-legal { font-size: 0.6875rem; }
  }
} 
/* Ribbon room — only when at least one tagline child has a ribbon (class set by script.js).
   Applied to every tagline child, with or without its own ribbon, so the h2 stays at the same spot. */
.homepage-feature-campaign.hfc-tagline-has-ribbon .view-product.view-product--tagline .campaign-content {
  padding-top: 4.125rem; /* ribbon 1.5rem from the top (4.125 - 2.625) */
}
@media (max-width: 480px) {
  /* Default layout has the 2.5rem back-link bar at the top: ribbon sits 1.5rem below it */
  .homepage-feature-campaign.hfc-tagline-has-ribbon:not(.no-main-campaign-layout) .view-product.view-product--tagline .campaign-content {
    padding-top: 6.625rem; /* 2.5rem bar + 1.5rem + 2.625rem ribbon */
  }
}