/*
 Theme Name:   COOL Child Theme
 Theme URI:    https://www.partonecollective.com/
 Description:  Child theme for COOL
 Author:       P1C
 Template:     coolmedia
 Version:      1.0.0
*/

html {
    scroll-behavior: smooth;
}
main {
    background: white;
    /*padding-top: 96px;*/
}
/* —————————————————————————————————————
        CUSTOM SPACERS
   ————————————————————————————————————— */
.custom-spacer-130px {
    height: 130px;
    background: white;
}
.custom-spacer-100px {
    height: 100px;
    background: white;
}
.custom-spacer-80px {
    height: 80px;
    background: white;
}
.custom-spacer-60px {
    height: 60px;
    background: white;
}
.custom-spacer-40px {
    height: 40px;
    background: white;
}

/* ── Mega Menu Wrapper ── */
.mega-menu {
	display: flex;
	flex-direction: column;
	width: 700px;
	background-color: #282828;
	border-radius: 12px 12px;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

.menu-item-has-children {
    position: relative;
}

/* ── Mega Menu Banner (top-submenu-content) ── */
.top-submenu-content {
    width: 100%;
    padding: 12px 12px 0 12px;
}

.top-submenu-inner {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    background-image: url('/wp-content/themes/coolmedia-child-theme/src/img/platform-mega-menu-banner-flattened.png');
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    padding: 25px 20px 20px;
    background-blend-mode: hue;
    height: 70px;
}

.mega-menu-logo {
    height: 28px;
    width: auto;
}

.mega-menu-cta {
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    letter-spacing: 0.02em;
    transition: opacity 0.2s ease;
}

.mega-menu-cta .mega-menu-cta-arrow {
    float: right;
    margin: 0 0 0 10px;
    transition: transform 0.2s ease;
    background-color: white;
    -webkit-mask-image: url('/wp-content/themes/coolmedia-child-theme/src/img/arrow-narrow-right-black.svg');
    mask-image: url('/wp-content/themes/coolmedia-child-theme/src/img/arrow-narrow-right-black.svg');
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    width: 22px;
    height: 22px;
}
.mega-menu-cta:hover .mega-menu-cta-arrow {
    /*opacity: 0.75;*/
    transform: translateX(3px);
}

header .header-navbar ul li a.mega-menu-cta:hover {
    color: #fff !important;
}

/* ── Fixed header ── */
#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

/* ── Header scroll state ── */
#header {
    transition: background-color 0.3s ease;
    background: transparent !important;
}

#header.header--scrolled {
    background: rgba(0, 0, 0, 0.95) !important;
}

.hero {
    height: 550px !important;
}
.hero h1 {
    top: 43% !important;
}

/* ── Header CTA button span text ── */
#header .header-main-btn > span {
    -webkit-text-fill-color: #fff !important;
    background-clip: unset !important;
    -webkit-background-clip: unset !important;
    background-image: none !important;
    color: #fff;
    font-weight: 700 !important;
}

#header .header-main-btn:hover > span {
    -webkit-text-fill-color: transparent !important;
    background-image: linear-gradient(97.91deg, #D94A21 4.66%, #FD8C2D 12.29%, #3A9F99 48.99%) !important;
    background-clip: text !important;
    -webkit-background-clip: text !important;
}

/* ── Mega Menu Columns (bottom-submenu-content) ── */
.bottom-submenu-content {
    display: flex;
    flex-direction: row;
    padding: 24px 24px 35px 24px;
    gap: 0;
}

/* ── Mega Menu Individual Column ── */
.mega-menu-column {
    flex: 1;
    padding: 0 24px;
    position: relative;
}

/* Mega Menu Dotted dividers between columns */
.mega-menu-column + .mega-menu-column::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    border-left: 1px dashed rgba(255, 255, 255, 0.2);
}

/* ── Mega Menu Column Icon ── */
.mega-menu-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 12px;
    display: block;
}

/* ── Mega Menu Column Heading ── */
.mega-menu-heading {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 30px 0;
    padding: 0;
    letter-spacing: 0.01em;
}

.mega-menu-column:nth-child(1) .mega-menu-heading {
    color: #e8622a;
}

.mega-menu-column:nth-child(2) .mega-menu-heading {
    color: #e8a020;
}

.mega-menu-column:nth-child(3) .mega-menu-heading {
    color: #3abfb1;
}

/* ── Mega Menu Column Links ── */
.mega-menu-column ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mega-menu-column ul li a {
    color: #cccccc;
    font-size: 14px;
    font-weight: 400;
    text-decoration: none;
    line-height: 1.4;
    transition: color 0.2s ease;
    display: block;
}

.mega-menu-column ul li a:hover {
    color: #ffffff;
}

/* Mega Menu - Make sure sub-menu is positioned correctly for the pointer to work */
.sub-menu-nav {
    position: absolute;
    top: 100%;
    left: 0;
    padding: 12px 0;
    min-width: 220px;
    z-index: 999;
	border: none !important;
    outline: none !important;
}

.sub-menu-nav li a {
    display: block;
    padding: 0 20px 0;
    color: #cccccc;
    font-size: 14px;
    text-decoration: none;
    transition: color 0.2s ease;
    white-space: nowrap;
}

.sub-menu-nav li a:hover {
    color: #ffffff;
}

header .menu-item-has-children .mega-menu-wrapper,
header .menu-item-has-children .sub-menu-wrapper {
    position: fixed;
    overflow: visible !important;
    z-index: 999;
}

header .menu-item-has-children .mega-menu-wrapper {
    top: calc(var(--header-height, 86px) - 10px);
}

header .menu-item-has-children .sub-menu-wrapper {
    top: calc(var(--header-height, 86px) - 10px);
}

.mega-menu-wrapper,
.sub-menu-wrapper {
    display: none;
}

.sub-menu-wrapper {
    background: #1a1a1a;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    min-width: 220px;
}

.menu-item-has-children:hover .mega-menu-wrapper,
.menu-item-has-children:hover .sub-menu-wrapper {
    display: block;
}

/* ── Pointer for both mega menu and regular submenus ── */
.submenu-pointer {
    position: absolute;
    top: -14px;
    left: var(--pointer-left, 40px);
    transform: translateX(-50%);
    width: 28px;
    height: 16px;
	max-width: none !important;
}

.cool-ai-logo-wrapper {
	display: flex;
	flex-direction: row; /* Horizontal (default, but explicit) */
	gap: 14px;
	align-items: left; /* Vertical alignment */
	justify-content: flex-start; /* Horizontal alignment */
  }

.mega-menu-logo-tagline {
	font-size: 1rem;
}

/* ── Regular sub-menu (Solutions, Insights, About) ── */
@media screen and (min-width: 992px) {
    header .header-navbar .menu-item.menu-item-has-children .mega-menu {
        min-width: 700px;
        left: auto;
    }
    header .header-navbar .menu-item.menu-item-has-children .sub-menu-nav {
        background-color: #282828;
        border-radius: 12px;
        padding: 30px 0 28px;
    }
    header .header-navbar .menu-item.menu-item-has-children .sub-menu-nav li {
        padding: 0 20px 0;
    }
}

header .header-navbar .menu-item.menu-item-has-children:hover > a {
    color: rgb(33, 159, 158) !important;
}

header .menu-item-has-children .sub-menu-wrapper .sub-menu-nav {
    display: flex !important;
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
}

.mega-menu-column ul {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 20px;
}

li.mega-menu-item {
    margin-right: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

li.mega-menu-item a, ul.sub-menu-nav li.menu-item a {
    color: #888 !important;
}

/* Fix sticky sections — override parent's ScrollMagic-dependent top value */
.our-brands .section-list .list-item-wrap {
    position: sticky;
    top: 0;
    min-height: 100vh;
}

.our-brands .section-list .list-item-wrap:nth-child(1) { z-index: 1; }
.our-brands .section-list .list-item-wrap:nth-child(2) { z-index: 2; }
.our-brands .section-list .list-item-wrap:nth-child(3) { z-index: 3; }

/* —— Footer Styles —— */
#menu-footer-main-v-2 .footer-sub-menu {
    margin: 8px 0 0;
}
.sub-menu .footer-sub-menu-lvl2 {
    margin: 0 !important;
}

footer .menu-item a:hover {
    color: #219F9E !important;
}

.footer-social-links {
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: center;
    margin: 32px 0;
  }
  .footer-social-links a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    /*border: 1px solid white;*/
    border-radius: 100%;
  }
  .footer-social-links a:hover {
    background-color: #fff;
  }
  .footer-social-links a:hover .footer-social-linkedin, .footer-social-links a:hover .footer-social-facebook, .footer-social-links a:hover .footer-social-twitter {
    background-color: #000;
  }
  /*.footer-social-links a:hover {
    border: 1px solid #000;
    background: #000;
    filter: invert(1);
  }*/
  .footer-social-linkedin {
    width: 17px;
    height: 17px;
    background-color: #fff;
    -webkit-mask-image: url('/wp-content/themes/coolmedia-child-theme/src/img/linkedin-social.svg');
    mask-image: url('/wp-content/themes/coolmedia-child-theme/src/img/linkedin-social.svg');
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
  }
  .footer-social-facebook {
    width: 10px;
    height: 17px;
    background-color: #fff;
    -webkit-mask-image: url('/wp-content/themes/coolmedia-child-theme/src/img/facebook-social.svg');
    mask-image: url('/wp-content/themes/coolmedia-child-theme/src/img/facebook-social.svg');
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
  }
  .footer-social-twitter {
    width: 16px;
    height: 16px;
    background-color: #fff;
    -webkit-mask-image: url('/wp-content/themes/coolmedia-child-theme/src/img/x-social.svg');
    mask-image: url('/wp-content/themes/coolmedia-child-theme/src/img/x-social.svg');
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
  }
  .sub-menu .menu-item {
    margin: 8px 0;
  }
  .footer-nav ul li a {
    font-size: .75rem !important;
    line-height: 1rem !important;
  }
  #menu-footer-main .menu-item {
    margin: 0 0 8px;
  }

/* —— HP Hero Content Styles —— */
.hero-paragraph {
    color: white;
    padding: 40px 0 0;
    line-height: 1.7;
    filter: drop-shadow(4px 4px 15px rgba(0, 0, 0, 0.5));
}

h1, h1 span {
    font-size: 3.125rem !important;
    line-height: 4rem !important;
    filter: drop-shadow(4px 4px 15px rgba(0, 0, 0, 0.5));
}

h1 span, .h1-title span {
    background-image: linear-gradient(97.91deg, #D94A21 4.66%, #FD8C2D 12.29%, #3A9F99 48.99%) !important;
}

h1 p {
    font-weight: 700;
}

.key-messaging {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 16px;
    opacity: 0.4;
    font-size: 24px;
    line-height: 69px;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 20px;
}

.key-messaging .divider {
    opacity: 0.5; /* extra dim on the pipe separators if needed */
    margin: 0 !important;
}

/* ── HP_Slider Flexible Block Sections: Titles ── */
.our-brands {
    background: black;
}

.our-brands .subtitle-create, .our-brands .subtitle-activate, .our-brands .subtitle-optimize  {
    font-family: Axiforma;
    font-weight: 900;
    font-size: 18px;
    line-height: 1;
    margin: 16px 0 12px;
    letter-spacing: 2px;
}

.our-brands .subtitle-create {
    color: rgba(238, 73, 40, 1);
}

.our-brands .subtitle-activate {
    color: rgba(243, 143, 31, 1);
}

.our-brands .subtitle-optimize {
    color: rgba(33, 159, 158, 1);
}

.container.our-brands-content .home-tabs-btn-wrap {
    margin: 20px 0 0;
}
.container.our-brands-content .home-tabs-btn-wrap .btn.btn-secondary {
    margin: 0 auto;
}

/* HP_Slider Section Content Column */
div.column ul {
    margin-bottom: 40px !important;
}

.home-tabs-btn-wrap {
    flex-direction: row;
    align-items: center;
}

.btn-secondary {
    margin-top: 20px !important;
    display: flex !important;
    align-items: center;
    gap: 10px;
}
.home-tabs-btn-wrap .btn.btn-secondary {
    display: flex !important;
}
.btn.btn-secondary {
    display: inline-block !important;
}

  .btn-secondary .outline-button-arrow {
    width: 24px;
    height: 24px;
    background-color: #fff;
    -webkit-mask-image: url('/wp-content/themes/coolmedia-child-theme/src/img/arrow-narrow-right-black.svg');
    mask-image: url('/wp-content/themes/coolmedia-child-theme/src/img/arrow-narrow-right-black.svg');
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    transition: all 0.2s ease-in-out;
  }

  .btn-secondary:hover .outline-button-arrow {
    background: #000;
}

/* ── DCO Theme Styles —— */
.modal-wrapper {
	position: fixed;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	background-color: #00000033;
	z-index: 30;
	display: none;
}
body.modal-open {
	overflow: hidden;
	padding-right: 16px;
}
.modal-open .modal-wrapper.active-modal {
	display: block;
}
.modal-container {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
}
.modal-header {
	position: relative;
}
.modal-header .close {
	position: absolute;
	right: 0;
	bottom: 12px;
	cursor: pointer;
	background: #fff;
	border-radius: 4px;
}
.modal-header .close svg {
	display: block;
}
#modal-video video {
	max-width: calc(100vw - 40px);
	max-height: 70vh;
}
.features-img__wrapper[data-modal] {
	cursor: pointer;
}
.features-after-block {
	border: 2px solid #DFDFDF;
	padding: 18px 28px;
	margin-top: 30px;
	border-radius: 20px;
}
.features-after-block__title {
	display: flex;
	align-items: center;
	column-gap: 20px;
}
.features-after-block__title h3 {
	margin: 0;
	font-size: 18px;
	line-height: 27px;
	color: #FF9933;
}
.features-after-block__title h3 {
	margin: 0;
	font-size: 18px;
	line-height: 27px;
	color: #FF9933;
}
.features-after-block__content {
	margin-top: 15px;
}
.features-after-block .features-after-block__content p {
	font-size: 16px;
	line-height: 24px;
}

/* —— Media Theme Styles —— */
.color-text {
	background: linear-gradient(97.91deg, #E55E79 7.66%, #3B2C77 100%);
	-webkit-text-fill-color: transparent;
	-webkit-background-clip: text;
	background-clip: text;
	display: inline;
}

.single-press-releases .social-links a:not(:hover) {
	filter: brightness(0%);
}

.post-header .social-links a:not(:hover) {
	filter: brightness(100%);
}

/*.social-links a {
    border: 1px solid white !important;
}*/
.social-links a:hover {
    border: 1px solid #219F9E !important;
    background: #219F9E !important;
}

/* —— Hero 2 Styles —— */
.hero-section-2 {
    position: relative;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin-top: 0 !important; /*-96px*/
    height: 720px;
    overflow: visible !important;
}
.hero-section-2:before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 0 !important;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, #000000 90%);
    z-index: 1;
}
.hero-section-2 video {
    position: absolute;
    /*height: calc(100% - 86px) !important;*/
}
.hero-section-2 .hero-content {
    padding-top: 205px;
}
.hero-section .hero-content {
    padding-top: 168px !important;
}
.container.hero-content.hero-content-an {
    padding-top: 205px !important;
}

/*@media screen and (min-width: 1700px) {
    .hero-section .hero-content {
      padding-top: 120px !important;
    }
  }
@media screen and (min-width: 1700px) {
    .hero-section-2 .hero-content {
      padding-top: 120px !important;
    }
}
@media screen and (min-width: 1400px) {
    .hero-section-2 .hero-content {
      padding-top: 120px;
    }
}*/
@media screen and (min-width: 1200px) {
    .hero-section-2 .hero-content {
      /*padding-top: 120px;*/
      display: flex;
      justify-content: space-between;
      /*flex-wrap: wrap;*/
      gap: 64px;
    }
    .hero-section-2 .hero-content > div:first-of-type {
      width: calc(60% - 32px);
    }
    .hero-section-2 .hero-content > div:last-of-type {
      width: calc(40% - 32px);
    }
}

/* —— Standalone Header + Subtitle —— */
.container.cool-standalone-header-subtitle__header {
    text-align: center;
}
.container.cool-standalone-header-subtitle__header h2.section-title span {
    display: inline;
}
.container.cool-standalone-header-subtitle__header div.section-description-text p {
    padding-bottom: 15px;
}

/* —— About Us Hero — Button Wrap —— */
.about-us-hero-btn-wrap {
    flex-direction: row;
    align-items: center;
}
.about-us-hero-btn-wrap .btn.btn-secondary {
    display: flex !important;
}
.hero-paragraph p {
    margin-bottom: 20px;
}

/* —— About Us - TEAM —— */
.team-section.about-us {
    padding: 160px 0 80px !important;
}

.partners-section {
    background: white;
    margin: 0 !important;
    padding: 60px 0;
  }

.partners-section p {
    text-align: left !important;
    margin-bottom: 51px !important;
}

.partners-section p.center-align {
    text-align: center !important;
}

/* —— Hero Images —— */
.hero-images {
    position: relative;
    align-content: space-evenly;
}
.hero-images-2 {
    position: relative;
    align-content: space-evenly;
    margin-top: 45px;
}

.hero-section-2 .hero-images-part-1 {
    position: absolute;
    max-width: 180px;
    top: 100px;
    left: -30px;
}

.hero-section-2 .hero-images-part-2 {
    left: -60px;
}

/*@media screen and (min-width: 1400px) {
  .hero-section-2 .hero-images-part-1, .hero-section-2 .hero-images-part-2 {
    max-width: 180px;
  }
  .hero-section-2 .hero-images-part-1 {
    position: absolute;
    top: 60px;
    left: -60px;
  }
}*/
/*@media screen and (min-width: 1200px) {
    .hero-section-2 .hero-images-part-1, .hero-section-2 .hero-images-part-2 {
        max-width: 180px;
      }
    .hero-section-2 .hero-images-part-1 {
      position: absolute;
      top: 60px;
      left: -60px;
    }
}*/

/* —— Four Column Feature Grid —— */
.solution-col__icon {
    position: relative;
}
.solution-col__icon img {
    display: block;
}
.solution-col__icon img.sol-icon-animated {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0;
}
.solution-col:hover .sol-icon-static {
    opacity: 0;
}
.solution-col:hover .sol-icon-animated {
    opacity: 1;
}
.solution-columns {
    display: flex;
    flex-direction: row;
    gap: 65px;
    /*grid-template-columns: repeat(4, 1fr);*/
    /*border: 1px solid rgba(255,255,255,0.08);*/
    /*border-radius: 16px;*/
    position: relative;
    margin: 40px auto 100px;
    max-width: 1200px;
}

/* ── Individual column ── */
.solution-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 28px 36px;
    /*border-right: 1px solid rgba(255,255,255,0.08);*/
}
.solution-col:last-child {
    border-right: none;
}

/* ── Icon circle ── */
.solution-col__icon {
    width: 150px;
    height: 150px;
    /*border: 1px solid rgba(255,255,255,0.08);*/
    /*border-radius: 50%;*/
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px;
    background: black;
}
.solution-col__icon img {
    object-fit: contain;
}

/* ── Text ── */
.solution-col__title {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 14px;
    text-align: center;
}
.solution-col__desc {
    font-size: 1rem;
    line-height: 1.4;
    text-align: center;
}

/* ── Curve connectors ── */
.solution-connector {
    position: absolute;
    top: 90px;        /* adjust to align with centre of icon circle */
    /*width: 80px;*/
    /*height: 50px;*/
    transform: translateX(-60%);
    pointer-events: none;
    z-index: 0;
}
.solution-connector--1 { left: 25% !important; }
.solution-connector--2 { left: 50% !important; top: 160px; }
.solution-connector--3 { left: 77% !important; }

.solution-connector img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* —— Large Top Menu —— */
.our-brands .top-menu .top-menu-item {
    background-color: #141414 !important;
    padding: 60px !important;
}

/* —— Global Text Styles —— */
.section-description-text {
    font-size: 1.2rem;
    line-height: 1.7;
    padding-top: 20px;
    text-align: center;
    width: 75%;
    margin: 0 auto;
}

.section-description-text span {
    font-size: 1.7rem;
    color: #219F9E;
}

.swiper-slide.no-featured {
    width: 342px !important;
    margin-right: 24px !important;
    padding-right: 10px !important;
}

.testimonials {
    background-color: #000 !important;
}
.testimonials h2 {
    font-weight: 700 !important;
    color: #fff !important;
}
.testimonials h2 span {
    font-weight: 700 !important;
    background: linear-gradient(97.91deg, #D94A21 30.66%, #FD8C2D 35.29%, #3A9F99 70.99%) !important;
    -webkit-background-clip: text !important;
}
.testimonialslist__wrapper {
    padding: 24px 0 120px !important;
}

/* —— CONTACT US PAGE —— */
.contact-us-section .form-title {
    margin: 0 0 20px;
}
.contact-us-section .container .form-wrapper {
    margin-top: 60px;
}
.contact-us-section .container .form-description {
    font-size: 1.2rem;
    line-height: 1.7;
    padding-top: 0;
    text-align: center;
    width: 75%;
    margin: 0 auto;
    color: white;
}

/* —— HP_2 Logo Slider —— */
.partners-section .partners-logo .logo-items {
    display: flex !important;
}
.partners-section .partners-logo .logo-items {
    animation: 200s slides infinite linear !important;
}
#logo-slider-2::before {
    background: linear-gradient(90deg, #fff 39%, rgba(255, 255, 255, 0) 100%) !important;
}
#logo-slider-2::after {
    background: linear-gradient(270deg, #fff 38%, rgba(255, 255, 255, 0) 100%) !important;
  
}

/* ========================================
   Archive Pages
   ======================================== */
.wp-video,
.mejs-container {
    width: 100% !important;
    max-width: 100% !important;
}

.wp-video video,
.mejs-mediaelement video {
    width: 100% !important;
    height: auto !important;
}
.post-content-area a {
    color: #FD8C2D !important;
}
.single .post-header {
    padding-top: 170px !important;
}
.single-post-header-wrapper {
    background: black;
}
.btn.btn-primary .outline-button-arrow-left {
    width: 20px;
    height: 21px;
    background-color: #fff;
    -webkit-mask-image: url('/wp-content/themes/coolmedia-child-theme/src/img/arrow-narrow-left-black.svg');
    mask-image: url('/wp-content/themes/coolmedia-child-theme/src/img/arrow-narrow-left-black.svg');
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    /*transition: all 0.2s ease-in-out;
    transform: rotate(180deg);*/
    float: left;
    margin-right: 10px;
    transition: transform 0.2s ease;
}
.btn.btn-primary:hover .outline-button-arrow-left {
    /*background: #219F9E;*/
    transform: translateX(-3px);
}
/*.btn.btn-primary:hover {
    border-color: #219F9E !important;
}*/
.btn.btn-primary {
    position: relative !important;
    border: none !important;
    /*border-color: #dfdfdf;*/
    background-color: transparent !important;
}
.post-nav .btn.btn-primary::before {
    content: "";
    position: absolute;
    inset: 0;
    padding: 2px;
    background: linear-gradient(97.91deg, #D94A21 7.66%, #FD8C2D 42.29%, #3A9F99 75.99%);
    border-radius: inherit;
    mask: conic-gradient(#000 0 0) content-box exclude, conic-gradient(#000 0 0);
    z-index: 2;
}
.btn-primary span {
    background-image: none !important;
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
    -webkit-background-clip: unset !important;
}
.featured-content__wrapper a.btn.btn-primary span {
    color: black !important;
    -webkit-text-fill-color: black !important;
}
.featured-content__wrapper a.btn.btn-primary::before {
    content: "";
    position: absolute;
    inset: 0;
    padding: 2px;
    background: linear-gradient(97.91deg, #D94A21 7.66%, #FD8C2D 42.29%, #3A9F99 75.99%);
    border-radius: inherit;
    mask: conic-gradient(#000 0 0) content-box exclude, conic-gradient(#000 0 0);
    z-index: 2;
}

/* —— Press Releases —— */
.featured {
    background: white !important;
}
.featured .container .post-divider {
    padding: 60px 0 0 !important;
}
.featured-separator::before, .featured-separator::after {
    background-color: white !important;
}
a.posts-item {
    display: block;
    text-decoration: none;
    color: inherit;
}
a.posts-item:hover h2 {
    text-decoration: none;
}
.posts {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    background: white !important;
    padding: 76px 0 !important;
}
.posts-lists {
    row-gap: 36px !important;
}
.posts-lists .post-item, .featured-wrapper::after {
    background: #dfdfdf !important;
}
.post-content__wrapper {
    padding: 24px 24px 8px !important;
}
.post-content__wrapper h2 {
    font-size: 1.125rem !important;
    line-height: 1.4 !important;
}

/* Press releases card hover */
a.posts-item {
    border: 2px solid #DFDFDF;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.posts-item.post-item::after {
    background: #dfdfdf !important; /* e6a817 */
}
a.posts-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
    border-color: #e6a817 !important;
    text-decoration: none;
}

a.posts-item:hover h2 {
    text-decoration: none;
}

a.posts-item:focus,
a.posts-item:active,
a.posts-item:visited {
    text-decoration: none;
    color: inherit;
}

.featured-content__wrapper, .post-content__wrapper {
    background-color: white !important;
}
.featured-content__wrapper h2, .post-content__wrapper h2, .post-date {
    color: black !important;
    margin-bottom: 30px;
}
.nav-links.posts-pagination__wrapper a {
    color: black !important;
    background-color: #dfdfdf !important;
    border: 2px solid #dfdfdf !important;
}
.nav-links.posts-pagination__wrapper .current {
    color: white !important;
}

/* —— Case Studies —— */
.post-content {
    color: #000;
    padding-top: 100px !important;
    padding-bottom: 100px !important;
}

/* ========================================
   Features block
   ======================================== */
.features {
    padding: 0; /*100px 0 130px*/
    overflow: hidden;
    background: white;
}
.features-wrapper {
    display: flex;
    flex-direction: column;
    row-gap: 180px;
}
.features-item {
    display: flex;
    column-gap: 60px;
    align-items: center;
}
.features-item.__reverse {
    flex-direction: row-reverse;
}
.features-img__wrapper {
    width: auto;
    display: flex;
    align-items: center;
}
.features-img__wrapper img {
    display: block;
    width: 100%;
}
.features-item.__reverse .features-img__wrapper img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}
.features-content__wrapper {
    width: 520px;
    min-width: 520px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.features-content__wrapper h2 {
    font-size: 50px;
    line-height: 60px;
    margin-bottom: 27px;
}
.features-content__wrapper h2 .color-dark {
    background: none !important;
    background-image: none !important;
    -webkit-text-fill-color: black !important;
    color: black !important;
    -webkit-background-clip: unset !important;
    background-clip: unset !important;
}
.features-content__wrapper p {
    margin: 0 0 29px;
    font-size: 18px;
    line-height: 29px;
}
.features-content__wrapper p:last-child {
    margin: 0;
}
.features-content__suptitle {
    font-size: 18px;
    line-height: 1.2;
    font-weight: 900;
    margin-bottom: 24px;
}
.features-content__list {
    margin: 24px 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    row-gap: 16px;
}
.features-content__item {
    font-size: 18px;
    line-height: 28px;
    position: relative;
    padding-left: 42px;
}

/* FAQ accordion */
.faq-area {
    margin-top: 24px;
}
.faq-item {
    padding: 18px 0;
    border-bottom: 1px solid #DFDFDF;
}
.faq-item.open {
    position: relative;
    border-bottom: 1px solid transparent;
}
.faq-item.open::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(97.91deg, #D94A21 30.66%, #FD8C2D 35.29%, #3A9F99 70.99%);
}
.faq-question {
    position: relative;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.2;
    margin: 0;
    padding-right: 40px;
    cursor: pointer;
    user-select: none;
}
.faq-question:after {
    background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='7' width='2' height='16' fill='black'/%3E%3Crect x='16' y='7' width='2' height='16' transform='rotate(90 16 7)' fill='black'/%3E%3C/svg%3E%0A");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    content: '';
    position: absolute;
    right: 0;
    width: 16px;
    height: 16px;
    top: 50%;
    margin-top: -8px;
    transition: transform 0.3s ease;
}
.faq-item.open .faq-question:after {
    background-image: url("data:image/svg+xml,%3Csvg width='16' height='2' viewBox='0 0 16 2' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='16' width='2' height='16' transform='rotate(90 16 0)' fill='black'/%3E%3C/svg%3E%0A");
}
.faq-answer {
    display: none;
    color: #000000;
    margin: 16px 0 0;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    user-select: none;
    padding-right: 40px;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.4s ease;
}
.faq-item.open .faq-answer {
    display: block;
    max-height: 1200px;
    opacity: 1;
}

/* Responsive */
@media (max-width: 992px) {
    .features-item.__reverse,
    .features-item {
        flex-direction: column;
    }
    .features-img__wrapper {
        width: 90%;
        min-width: 90%;
    }
    .features-content__wrapper {
        width: 100%;
        min-width: 100%;
    }
    .features-content__wrapper h2 {
        font-size: 36px;
        line-height: 44px;
        margin-bottom: 9px;
    }
    .features-content__wrapper p {
        font-size: 16px;
        line-height: 26px;
    }
    .features-img__wrapper {
        margin-bottom: 24px;
    }
}

/* —— Parallax Background —— */
.bg-parallax {
    background-attachment: fixed !important;
    background-repeat: no-repeat !important;
    background-size: cover !important;
    background-position: bottom center !important;
}
.key-metrics::after {
    z-index: 1 !important;
}

.metrics-wrapper::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 1px;
    width: 100%;
    background: #636363;
}

/* ========================================
   Solutions Block 
   ======================================== */
.solutions--no-slider .solution__list {
    display: flex !important;
    transform: none !important;
    overflow: visible !important;
}
.solutions--no-slider .swiper-wrapper {
    transform: none !important;
    display: flex !important;
    flex-wrap: nowrap !important;
}
.solutions--no-slider .swiper-navigation {
    display: none;
}
.solutions--no-slider .solution-subtitle--channels .solution-subtitle__item {
    opacity: 0;
    transition: opacity 0.3s ease;
}
.solutions--no-slider .solution-subtitle--channels .solution-subtitle__item.__active {
    opacity: 1;
}

.solution-subtitle.solution-subtitle--channels {
    background: white !important;
    height: 100%;
    padding-top: 1px;
}
.solution__wrapper .solution-subtitle__item .brands {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.solution__wrapper .solution-subtitle__item .divider {
    margin: 33px 0 44px;
}

.solutions {
    padding-top: 0; /*174px*/
    padding-bottom: 90px;
    background: white;
}
.solutions h2 {
    font-size: 50px;
    line-height: 55px;
    margin-top: 0;
    text-align: center;
    letter-spacing: .5px;
    margin-bottom: 12px;
}
.solutions h2 span {
    display: inline !important;
}
span.color-dark {
    color: #000000;
    background-clip: unset;
    -webkit-text-fill-color: #000;
    background: transparent;
    display: inline-block;
}
.solution__header p {
    margin: 0 auto;
    max-width: 948px;
    text-align: center;
    font-size: 20px;
    line-height: 32px;
}
.solution__icon-ai {
    display: block;
    margin: 0 auto 12px;
}
.solution__item-img-wrapper {
    position: relative;
    height: 125px;
}
.solution__item img {
    position: absolute;
    height: 125px;
    width: 125px;
    left: 50%;
    margin-left: -62px;
    display: block;
    object-fit: contain;
}
.solution__item-img-animate {
    background-color: #fff;
    opacity: 0;
}
.solution__item.__active .solution__item-img-animate,
.solution__item:hover .solution__item-img-animate,
.solution__item.swiper-slide-active .solution__item-img-animate {
    opacity: 1;
}
.solution__item h3 {
    font-size: 1.25rem !important;
    padding-top: 10px;
    text-align: center;
    margin: 0 auto;
    max-width: 200px;
}
.solution__item-content-wrapper {
    display: flex;
    justify-content: center;
    flex-direction: column;
    height: 100%;
    width: 100%;
    box-sizing: border-box;
    position: relative;
    z-index: 3;
    background-color: #fff;
    border-radius: 18px;
}
.solution__item {
    flex: 1;
    position: relative;
    border-radius: 20px;
    row-gap: 12px;
    background-color: #ffffff;
    height: 220px;
    width: 220px;
    min-width: 220px;
    min-height: 220px;
    display: flex;
    padding: 3px;
    overflow: hidden;
}
.solution__item:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #DFDFDF;
}
.solution__item.__active:before,
.solution__item:hover:before {
    background: linear-gradient(90.91deg, #D94A21 7.66%, #FD8C2D 42.29%, #3A9F99 75.99%); /* linear-gradient(97.91deg, #44BDB6 7.66%, #235AFF 100%) */
}
.solution__item.__active img,
.solution__item:hover img {
    filter: brightness(1);
}
.solution-subtitle {
    max-width: 906px;
    margin: 29px auto 0;
}
.solution-subtitle__item {
    display: none;
    text-align: center;
}
.solution-subtitle__item p {
    margin: 0 0 24px;
    font-size: 16px;
    line-height: 24px;
}
.solution-subtitle__item p:last-child {
    margin: 0;
}
.solution .swiper-slide {
    opacity: 1 !important;
}
.solution-subtitle__item.__active {
    display: block !important;
}
.solution__list {
    margin: 34px 0 0;
    flex-wrap: wrap;
    justify-content: center;
    column-gap: 16px;
    row-gap: 24px;
    position: relative;
}
.solution__list .swiper-wrapper {
    column-gap: 0;
}
.swiper-wrapper {
    height: auto !important;
}
.solution__item {
    min-width: 225px;
}
.solution__list:before,
.solution__list:after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 90px;
    background: linear-gradient(270deg, #FFFFFF 7.5%, rgba(255, 255, 255, 0) 100%);
    z-index: 2;
}
.solution__list:before {
    right: auto;
    left: 0;
    transform: rotate(180deg);
}
.solutions .swiper-navigation {
    position: relative;
    display: flex;
    justify-content: center;
    column-gap: 15px;
    margin-top: 24px;
}
.solutions .solution-button-prev:after,
.swiper-rtl .solution-button-next:after,
.solutions .solution-button-next:after,
.swiper-rtl .solution-button-prev:after {
    content: unset;
}
.solutions .solution-button-prev,
.solutions .solution-button-next {
    position: relative;
    left: unset;
    right: unset;
    top: unset;
    bottom: unset;
    width: 50px;
    height: 50px;
    display: flex;
    border-radius: 50%;
    font-size: 20px;
    line-height: 32px;
    background-color: #DFDFDF;
    color: #000000;
    margin-top: 0;
    transition: background-color .3s;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.solutions .solution-button-prev:hover,
.solutions .solution-button-next:hover {
    background-color: #C4C4C4;
}

@media (max-width: 1199px) {
    .solution__item {
        height: 180px;
        width: 180px;
    }
}
@media (max-width: 768px) {
    .solutions {
        margin-bottom: 97px;
    }
    .solutions h2 {
        font-size: 36px;
        line-height: 44px;
        letter-spacing: 0;
    }
    .solution__header p {
        font-size: 16px;
        line-height: 24px;
        margin: 0 40px;
    }
    .solution__list {
        flex-direction: column;
        margin: 34px 0 0;
        row-gap: 21px;
    }
    .solution__item {
        height: auto;
        width: 100%;
        box-sizing: border-box;
        padding: 3px;
        row-gap: 0;
    }
    .solution__item h3 {
        font-size: 22px;
        line-height: 26px;
    }
    .solution__item img,
    .solution__item-img-wrapper {
        height: 90px;
        width: 90px;
    }
    .solution__item img {
        margin-left: -45px;
    }
    .solution__item p {
        max-height: 0;
        overflow: hidden;
        transition: max-height .5s, margin-top .1s;
        margin: 0;
        font-size: 14px;
        line-height: 21px;
        color: #636363;
    }
    .solution__item-content-wrapper {
        padding: 16px;
        align-items: center;
    }
    .solution__item.__active p {
        margin-top: 10px;
        max-height: 500px;
    }
    .solutions .swiper-wrapper {
        position: relative;
        padding-bottom: 10px;
    }
    .solutions .swiper-pagination {
        bottom: 0;
        left: 50%;
        margin-left: -50%;
    }
}
@media (min-width: 1200px) {
    .solution-subtitle__item > div:first-of-type {
        min-height: 120px;
    }
}

/* ========================================
   Solutions_Channels Block
   ======================================== */
   .channels-button-prev, .channels-button-next {
    position: relative;
    left: unset;
    right: unset;
    top: unset;
    bottom: unset;
    width: 50px;
    height: 50px;
    display: flex;
    border-radius: 50%;
    font-size: 20px;
    line-height: 32px;
    background-color: #DFDFDF;
    color: #000;
    margin-top: 0;
    transition: background-color .3s;
    align-items: center;
    justify-content: center;
    cursor: pointer;
  }
  .solution__powered-by-ai {
    text-align: center;
    padding: 10px 0 20px;
  }
  .solution__description {
    font-size: 16px !important;
    line-height: 24px !important;
    text-align: center;
  }
  .solution__description p {
    margin-top: 15px;
  }
  .solutions.solutions--channels {
    padding-top: 0; /*100px*/
    padding-bottom: 0; /*60px*/
    background: white;
  }

/* =============================================
   Publisher Solutions Block
   ============================================= */
.pub-solutions__description p {
    font-size: 1rem;
}
.pub-solutions .solution__header {
    text-align: center;
    margin-bottom: 48px;
}

.pub-solutions__grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.pub-solutions__card {
    position: relative;
    flex: 0 0 calc(20% - 16px);
    min-width: 160px;
    padding: 3px;
    border-radius: 20px;
    background-color: #ffffff;
    overflow: hidden;
    cursor: pointer;
}

.pub-solutions__card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #DFDFDF;
}

.pub-solutions__card--active::before,
.pub-solutions__card:hover::before {
    background: linear-gradient(90.91deg, #D94A21 7.66%, #FD8C2D 42.29%, #3A9F99 75.99%);
}

.pub-solutions__card-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    border-radius: 18px;
    position: relative;
    z-index: 3;
    padding: 29px 17px 28px;
    box-sizing: border-box;
    text-align: center;
}

.pub-solutions__card-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}
.pub-solutions__card-icon {
    position: relative;
}
.pub-solutions__card-icon img.pub-icon-animated {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0;
}
.pub-solutions__card:hover .pub-icon-static {
    opacity: 0;
}
.pub-solutions__card:hover .pub-icon-animated {
    opacity: 1;
}

.pub-solutions__card-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.pub-solutions__card-title {
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.35;
    margin: 0;
    color: #1a1a1a;
}

.pub-solutions__descriptions {
    margin-top: 40px;
    text-align: center;
    max-width: 860px;
    margin-left: auto;
    margin-right: auto;
}

.pub-solutions__descriptions .pub-solutions__description {
    display: none;
}

.pub-solutions__descriptions .pub-solutions__description.__active {
    display: block !important;
}

/* ── Responsive ── */
@media (max-width: 991px) {
    .pub-solutions__card {
        flex: 0 0 calc(33.333% - 14px);
    }
}

@media (max-width: 600px) {
    .pub-solutions__card {
        flex: 0 0 calc(50% - 10px);
    }
}

/* ========================================
   Campaign 2 Block
   ======================================== */
/* Fix h2 title on one line */
.campaign h2 span {
    display: inline !important;
}

/* Constrain card and center it properly */
.campaign .swiper-slide {
    display: flex;
    justify-content: center;
    padding: 0 40px;
    box-sizing: border-box;
}

/* Full border radius on gradient bg */
.campaign .campaign-bg {
    border-radius: 24px !important;
}

/* Constrain nav to same width as card */
.campaign .nav-holder {
    max-width: 1189px;
    margin: 0 auto;
    padding: 16px 20px 16px 157px;
    box-sizing: border-box;
    width: 100%;
}

/* Image hangs outside left edge of gradient card */
.campaign .campaign-img__wrapper {
    margin-left: -60px;
    flex-shrink: 0;
    width: 300px;
    position: relative;
    z-index: 2;
    border-radius: 24px;
    overflow: hidden;
}

.campaign {
    padding-top: 120px;
    padding-bottom: 0;
    position: relative;
    background: white;
}
.campaign:after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    top: 500px;
    background-color: #000000;
    height: auto;
    width: 100%;
    z-index: 0;
    background: #000 url('/wp-content/themes/coolmedia-child-theme/src/img/Star Background.png');
}
.campaign h2 {
    text-align: center;
    margin-bottom: 0;
}
.campaign .campaign__wrapper {
    position: relative;
    z-index: 1;
}
.campaign .campaign-slide__wrapper {
    max-width: 1189px;
    display: flex;
    position: relative;
    column-gap: 55px;
    margin: 100px auto;
    align-items: flex-start;
}
.campaign .campaign-bg {
    position: absolute;
    width: 87%;
    height: 120%;
    border-radius: 24px;
    background: #222;
    /*background: linear-gradient(97.91deg, #44BDB6 7.66%, #235AFF 100%);*/
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    /*box-shadow: 0px 0px 45px 0px rgba(0, 0, 0, 0.10);*/
}
.campaign .campaign-img__wrapper {
    position: relative;
    z-index: 1;
    flex-shrink: 0;
    width: 300px;
    margin-left: 20px;
}
.campaign .campaign-img__wrapper img {
    width: 100%;
    height: auto; /*419px*/
    max-height: 500px;
    display: block;
}
.campaign .campaign-content__wrapper {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 20px 30px 0 0;
    flex: 1;
}
.campaign .icons-holder {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    /*gap: 20px;*/
    margin-bottom: 40px;
}
.campaign .icons-holder img {
    height: auto;
    width: auto;
}
.campaign .campaign-content__wrapper .icon {
    width: 70px;
}
.campaign .campaign-content__wrapper .campaign-content {
    width: 85%;
}
.campaign .campaign-content p {
    color: #fff;
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 32px;
}
.campaign-content br {
    margin-bottom: 30px;
 }
.campaign-content span#source-name {
    font-size: 1.6rem;
    float: left;
    clear: left;
    line-height: 2rem;
}
.campaign-content span.source {
    float: left;
    clear: left;
}
.campaign .btn-holder {
    display: flex;
    flex-direction: row;
    gap: 16px;
}
.campaign .btn-holder .primary-btn {
    display: inline-flex;
    align-items: center;
    background: #fff;
    color: #000;
    font-weight: 600;
    font-size: 16px;
    padding: 14px 28px 10px;
    border-radius: 12px;
    text-decoration: none;
    transition: opacity 0.2s ease;
}
.campaign .btn-holder .primary-btn:hover { opacity: 0.85; }
.campaign .btn-holder .secondary-btn {
    display: inline-flex;
    align-items: center;
    background: transparent;
    color: #fff;
    font-weight: 600;
    font-size: 16px;
    padding: 14px 28px 10px;
    border-radius: 12px;
    border: 2px solid #fff;
    text-decoration: none;
    transition: opacity 0.2s ease;
}
.campaign .btn-holder .primary-btn span {
    background: linear-gradient(97.91deg, #D94A21 30.66%, #FD8C2D 35.29%, #3A9F99 70.99%);
    background-clip: border-box;
    -webkit-background-clip: text;
    -webkit-text-fill-color: rgba(0, 0, 0, 0);
    font-weight: 600;
    font-size: 16px;
    position: relative;
}
.campaign .btn-holder .secondary-btn:hover { opacity: 0.75; }
.campaign .nav-holder {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding: 16px 20px 16px 157px;
    position: relative;
    margin-bottom: 100px;
    z-index: 1;
}
.campaign .swiper-pagination {
    position: relative !important;
    top: unset !important;
    left: unset !important;
    text-align: left;
    width: auto;
}
.campaign .swiper-pagination .swiper-pagination-bullet {
    width: 21px;
    height: 21px;
    margin: 0 8px !important;
    background: #636363;
    opacity: 1;
}
.campaign .swiper-pagination .swiper-pagination-bullet-active {
    background: linear-gradient(97.91deg, #44BDB6 7.66%, #219F9E 100%);
    border: 2px solid white;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.25);
}
.campaign .nav-btn {
    display: flex;
    gap: 12px;
}
.campaign .testimonials-button-prev,
.campaign .testimonials-button-next {
    position: relative;
    top: unset;
    left: unset;
    right: unset;
    width: 50px;
    height: 50px;
    margin-top: 0;
    cursor: pointer;
}
.campaign .testimonials-button-prev:after,
.campaign .testimonials-button-next:after {
    content: unset;
}

@media (max-width: 992px) {
    .campaign .campaign-slide__wrapper {
        flex-direction: column;
        margin: 0 20px;
    }
    .campaign .campaign-img__wrapper {
        width: 100%;
        margin-left: 0;
    }
    .campaign .campaign-content__wrapper {
        padding: 32px 24px;
    }
}

/* =========================================
   FRANCHISING SECTION
   copied from index-page.css (live site)
   ========================================= */
/* Adjustments - Header Above & Centered */
.franchising h2, .franchising__section-header.aos-init.aos-animate h2 {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 8px;
    text-align: center;
    color: inherit;
}
.franchising-desc {
    font-size: 1rem;
    line-height: 1.7;
    padding-top: 20px;
    text-align: center;
    width: 70%;
    margin: 0 auto;
}
.franchising__section-header {
    margin-bottom: 50px;
}

.franchising {
    background: white;
    padding-top: 0; /*100px*/
    padding-bottom: 0; /*60px*/
}
/*.franchising h2 {
    font-size: 50px;
    line-height: 55px;
    margin-bottom: 22px;
}*/
.franchising-desc .color-orange {
    font-weight: 700;
}
.franchising__wrapper {
    display: flex;
    column-gap: 80px;
}
.franchising__col {
    width: 100%;
}
.franchising__col.__col-image {
    margin-top: 58px;
}
.franchising-img {
    display: none;
    text-align: center;
}
.franchising-img.__active {
    display: block;
}
.franchising-list {
    padding: 0;
    margin: 0;
    list-style: none;
}
.franchising-list {
    margin-top: 27px;
}
.franchising-item {
    border-radius: 20px;
    margin-bottom: 14px;
    padding: 3px;
    position: relative;
    background-clip: padding-box;
    cursor: pointer;
}
.franchising-item:last-child {
    margin-bottom: 0;
}
.franchising-item__wrapper {
    padding: 18px 32px 20px 40px;
    position: relative;
    z-index: 3;
    background-color: #fff;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
}
.franchising-item:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #DFDFDF;
    z-index: 1;
    border-radius: 20px;
}
.franchising-item:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(97.91deg, #D94A21 30.66%, #FD8C2D 35.29%, #3A9F99 70.99%);
    opacity: 0;
    z-index: 2;
    border-radius: 19px;
    transition: opacity;
}
.franchising-item:hover:after,
.__active.franchising-item:after {
    opacity: 1;
}
.franchising-item__content p {
    font-size: 18px;
    line-height: 24px;
}
.franchising-item__header {
    display: flex;
    align-items: center;
    column-gap: 24px;
}
.franchising-item__header img {
    width: 60px;
    height: auto;
}
.franchising-item__header h3 {
    margin: 0;
}
.franchising-item__state {
    width: 20px;
    height: 20px;
    margin-left: auto;
    background-position: center;
    background-repeat: no-repeat;
    background-image: url("data:image/svg+xml,%3Csvg width='21' height='20' viewBox='0 0 21 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='9.07947' width='2' height='20' fill='black'/%3E%3Crect x='20.0795' y='9' width='2' height='20' transform='rotate(90 20.0795 9)' fill='black'/%3E%3C/svg%3E%0A");
}
.__active .franchising-item__state {
    background-image: url("data:image/svg+xml,%3Csvg width='21' height='2' viewBox='0 0 21 2' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='20.3617' width='2' height='20' transform='rotate(90 20.3617 0)' fill='black'/%3E%3C/svg%3E%0A");
}
.franchising-item__content {
    display: block;
    overflow: hidden;
    max-height: 0;
    transition: max-height .5s, margin .3s;
    font-size: 18px;
    line-height: 24px;
    font-family: 'Inter', sans-serif;
    letter-spacing: 0.4px;
    margin-top: 0;
}
.__active .franchising-item__content {
    max-height: 240px;
    margin-top: 23px;
}

/* Franchising responsive */
@media (max-width: 992px) {
    .franchising-img {
        margin-top: 30px;
    }
}
@media (max-width: 768px) {
    .desktop-show {
        display: none;
    }
    .mobile-show {
        display: block;
    }
}
@media (min-width: 1200px) {
    .franchising-img {
        margin-top: 0;
    }
}

/* =========================================
   CONTENT ACCORDION SECTION
   ========================================= */
.content-accordion__icon {
    margin-bottom: 20px;
}
.content-accordion__icon img {
    height: 38px;
    width: auto;
}
.content-accordion__col--image video {
    width: 100%;
    max-height: 520px;
    object-fit: cover;
    border-radius: 16px;
}
.content-accordion__intro-list {
    padding: 0 !important;
    margin: 0 0 30px;
    list-style: none;
}

.content-accordion {
    background: white;
    padding-top: 0; /*40px*/
    padding-bottom: 0; /*80px*/
}
.content-accordion h2 {
    font-size: 50px;
    line-height: 55px;
    margin-bottom: 22px;
}
.content-accordion__wrapper {
    display: flex;
    column-gap: 80px;
    align-items: center;
}
.content-accordion__col {
    width: 100%;
}
.content-accordion__col--image {
    margin-top: 58px;
}
.content-accordion__col--image img {
    width: 100%;
    height: auto;
    display: block;
}
.content-accordion__desc {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 27px;
}

/* List */
.content-accordion__list {
    padding: 0;
    margin: 0;
    list-style: none;
}

/* Item */
.content-accordion__item {
    border-radius: 20px;
    margin-bottom: 24px;
    position: relative;
    cursor: pointer;
    background: #fff;
    border: 1px solid #DFDFDF;
    transition: box-shadow 0.3s;
}
.content-accordion__item:last-child {
    margin-bottom: 0;
}

/* Gradient top border on active — pseudo-element trick */
.content-accordion__item:before {
    content: '';
    position: absolute;
    top: -4px;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 22px;
    background: linear-gradient(97.91deg, #FF9933 7.66%, #3B8C77 100%);
    opacity: 0;
    transition: opacity 0.3s;
    z-index: -1;
}
.content-accordion__item {
    isolation: isolate;
}
.__active.content-accordion__item:before,
.content-accordion__item:hover:before {
    opacity: 1;
}
.__active.content-accordion__item,
.content-accordion__item:hover {
    box-shadow: 12px 12px 25px rgba(0, 0, 0, 0.08);
}
.__active.content-accordion__item {
    border-color: transparent;
}

/* Inner wrapper */
.content-accordion__item-wrapper {
    padding: 32px 40px;
    position: relative;
    z-index: 2;
    background: #fff;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
}

/* Header row */
.content-accordion__item-header {
    display: flex;
    align-items: center;
    column-gap: 16px;
}
.content-accordion__item-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
}

/* Number badge */
.content-accordion__number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 50%;
    border: 2px solid #DFDFDF;
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
    color: #1A1A2E;
    transition: border-color 0.3s, color 0.3s;
    background: #fff;
}
.__active .content-accordion__number,
.content-accordion__item:hover .content-accordion__number {
    border-color: #3B8C77;
    color: #3B8C77;
}

/* +/- state icon */
.content-accordion__state {
    width: 20px;
    height: 20px;
    min-width: 20px;
    margin-left: auto;
    background-position: center;
    background-repeat: no-repeat;
    background-image: url("data:image/svg+xml,%3Csvg width='21' height='20' viewBox='0 0 21 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='9.07947' width='2' height='20' fill='black'/%3E%3Crect x='20.0795' y='9' width='2' height='20' transform='rotate(90 20.0795 9)' fill='black'/%3E%3C/svg%3E");
}
.__active .content-accordion__state {
    background-image: url("data:image/svg+xml,%3Csvg width='21' height='2' viewBox='0 0 21 2' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='20.3617' width='2' height='20' transform='rotate(90 20.3617 0)' fill='black'/%3E%3C/svg%3E");
}

/* Accordion content */
.content-accordion__item-content {
    overflow: hidden;
    max-height: 0;
    transition: max-height .5s ease, margin .3s ease;
    margin-top: 0;
}
.__active .content-accordion__item-content {
    max-height: 600px;
    margin-top: 16px;
}

/* Content text */
.content-accordion__text {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 16px;
}
.content-accordion__text p {
    margin: 0 0 12px;
}

/* Checklist */
.content-accordion__checklist {
    padding: 0;
    margin: 0;
    list-style: none;
}
.content-accordion__check-item {
    display: flex;
    align-items: flex-start;
    column-gap: 12px;
    font-size: 15px;
    line-height: 1.7;
    padding: 8px 0;
}
.content-accordion__check-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    margin-top: 1px;
}

/* Image Column */
.content-accordion__col--image img {
    width: auto;
    max-height: 100%;
    object-fit: cover;
    object-position: center;
    /*border-radius: 16px;*/
}
.content-accordion__col.content-accordion__col--image.desktop-show {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Responsive */
@media (max-width: 768px) {
    .content-accordion__col--image.desktop-show {
        display: none !important;
    }
    .content-accordion__col--image.mobile-show {
        display: block;
        margin-bottom: 24px;
    }
    .content-accordion h2 {
        font-size: 32px;
        line-height: 1.2;
    }
    .content-accordion__wrapper {
        flex-direction: column;
    }
    .content-accordion__item-wrapper {
        padding: 24px 20px;
    }
}
@media (min-width: 769px) {
    .content-accordion__col--image.mobile-show {
        display: none;
    }
}

/* =========================================
   CONTENT ACCORDION REVERSED
   ========================================= */
.content-accordion--reversed .content-accordion__wrapper {
    flex-direction: row-reverse;
}

/* ========================================
   Feature Columns Block  (feature_columns.php)
   ======================================== */
.feat-section {
    background: #fff;
    padding-top: 0; /*120px*/
    padding-bottom: 0; /*60px*/
}

/* ── Centred heading + sub-text ── */
.feat-section__header {
    text-align: center;
    max-width: 860px;
    margin: 0 auto 60px;
}

.feat-section__header .section-title {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 8px;
    text-align: center;
    color: inherit;
}

.feat-section__header .section-title span {
    display: block;
    background: linear-gradient(97.91deg, #D94A21 30.66%, #FD8C2D 35.29%, #3A9F99 70.99%);
    -webkit-text-fill-color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
}

@media screen and (min-width: 992px) {
    .feat-section__header .section-title {
        font-size: 42px;
    }
}

@media screen and (min-width: 1200px) {
    .feat-section__header .section-title {
        font-size: 48px;
    }
}

@media screen and (min-width: 1700px) {
    .feat-section__header .section-title {
        font-size: 52px;
    }
}

/* ── Four-column grid ── */
.feat-columns {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ── Individual column ── */
.feat-col__icon {
    position: relative;
}
.feat-col__icon img.feat-icon-animated {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0;
}
.feat-col:hover .feat-icon-static {
    opacity: 0;
}
.feat-col:hover .feat-icon-animated {
    opacity: 1;
}

.feat-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    padding: 20px 16px 24px;
}

/* ── Icon wrapper ── */
.feat-col__icon {
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.feat-col__icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* ── Title ── */
.feat-col__title {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.35;
    text-align: center;
    margin-bottom: 14px;
    color: #000;
}

/* ── Description ── */
.feat-col__desc {
    font-size: 0.9375rem;
    line-height: 1.5;
    text-align: center;
    color: #444;
}

/* ── Responsive ── */
@media (max-width: 991px) {
    .feat-columns {
        flex-wrap: wrap;
        gap: 32px;
    }
    .feat-col {
        flex: 0 0 calc(50% - 16px);
    }
}

@media (max-width: 575px) {
    .feat-col {
        flex: 0 0 100%;
    }
}

/* ========================================
   CTA Cards Block  (cta_cards.php)
   ======================================== */
.cta-card__image {
    width: 100%;
    height: 112px;
    overflow: hidden;
    position: relative;
    background: #e8e8e8;
    border-radius: 22px 22px 0 0; /* match your card's top border-radius */
}

.cta-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.cta-cards-section .form-img {
    z-index: 999;
    position: relative;
}
.cta-cards-section {
    position: relative;
    background: #fff;
    padding: 0 26px;
}

.cta-cards-section::after {
    content: "";
    position: absolute !important;
    left: 0;
    right: 0;
    bottom: 0;
    top: 420px;
    background: #000 url('/wp-content/themes/coolmedia-child-theme/src/img/Star Background.png');
    height: auto;
    width: 100%;
    z-index: 0;
  }

/* ── Centred heading + sub-text ── */
.cta-cards__header {
    text-align: center;
    max-width: 860px;
    margin: 0 auto 60px;
}

.cta-cards__header .section-title {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 8px;
    text-align: center;
    color: inherit;
}

.cta-cards__header .section-title span {
    display: block;
    background: linear-gradient(97.91deg, #E55E79 7.66%, #3B2C77 100%);
    -webkit-text-fill-color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
}

@media screen and (min-width: 992px) {
    .cta-cards__header .section-title {
        font-size: 42px;
    }
}

@media screen and (min-width: 1200px) {
    .cta-cards__header .section-title {
        font-size: 48px;
    }
}

@media screen and (min-width: 1700px) {
    .cta-cards__header .section-title {
        font-size: 52px;
    }
}

/* ── Card grid — single row, columns split evenly ── */
.cta-cards__grid {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 20px;
}

/* ── Card outer — handles the border + gradient hover via pseudo-element ── */
.cta-card {
    flex: 1;
    position: relative;
    border-radius: 24px;
    padding: 2px;
    background: #dfdfdf;
    transition: background 0.3s ease;
}

.cta-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 24px;
    background: linear-gradient(97.91deg, #D94A21 7.66%, #FD8C2D 42.29%, #3A9F99 75.99%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.cta-card:hover::before {
    opacity: 1;
}

/* ── Card inner — white fill sits on top of the pseudo-element ── */
.cta-card__inner {
    position: relative;
    z-index: 1;
    background: #fff;
    border-radius: 22px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0;
    height: 100%;
    box-sizing: border-box;
}
.cta-card_info {
    padding: 20px 42px 40px;
}

/* ── Icon ── */
.cta-card__icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.cta-card__icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* ── Title ── */
.cta-card__title {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.35;
    text-align: left;
    margin-top: 20px;
    margin-bottom: 14px;
    color: #000;
}

/* ── Description ── */
.cta-card__desc {
    font-size: 0.9375rem;
    line-height: 1.5;
    text-align: left;
    color: #444;
}

a.cta-card {
    text-decoration: none;
}

/* ── Responsive ── */
@media (max-width: 991px) {
    .cta-cards__grid {
        flex-wrap: wrap;
        gap: 20px;
    }
    .cta-card {
        flex: 0 0 calc(50% - 10px);
    }
}

@media (max-width: 575px) {
    .cta-card {
        flex: 0 0 100%;
    }
}

/* ========================================
   Media Channels Grid Block  (media_channels_grid.php)
   ======================================== */

   .media-channel-grid-section {
    background: #fff;
    padding-top: 0; /*80px*/
    padding-bottom: 0; /*80px*/
}

/* ── Centred heading + sub-text ── */
.media-channel-grid__header {
    text-align: center;
    max-width: 860px;
    margin: 0 auto 60px;
}

.media-channel-grid__header .section-title {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 8px;
    text-align: center;
    color: inherit;
}

.media-channel-grid__header .section-title span {
    display: block;
    background: linear-gradient(97.91deg, #D94A21 30.66%, #FD8C2D 35.29%, #3A9F99 70.99%);
    -webkit-text-fill-color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
}

@media screen and (min-width: 992px) {
    .media-channel-grid__header .section-title {
        font-size: 42px;
    }
}

@media screen and (min-width: 1200px) {
    .media-channel-grid__header .section-title {
        font-size: 48px;
    }
}

@media screen and (min-width: 1700px) {
    .media-channel-grid__header .section-title {
        font-size: 52px;
    }
}

/* ── Outer wrap ── */
.media-channel-grid__wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ── Five-column grid, wraps to additional rows automatically ── */
.media-channel-grid__grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin: 0 0 0;
    padding: 50px 20px 0;
}

/* ── Card outer — gradient border on hover + active ── */
.media-channel-card__icon {
    position: relative;
}
.media-channel-card__icon img.card-icon-animated {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0;
}
.media-channel-card:hover .card-icon-static {
    opacity: 0;
}
.media-channel-card:hover .card-icon-animated {
    opacity: 1;
}

.media-channel-card {
    position: relative;
    border-radius: 16px;
    padding: 2px;
    background: #e0e0e0;
    cursor: pointer;
    text-decoration: none;
    display: block;
    transition: background 0.3s ease;
}

.media-channel-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    background: linear-gradient(97.91deg, #EE4928 7.66%, #219F9E 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.media-channel-card:hover::before,
.media-channel-card--active::before {
    opacity: 1;
}

/* ── Card inner — white fill ── */
.media-channel-card__inner {
    position: relative;
    z-index: 1;
    background: #fff;
    border-radius: 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 32px 16px 24px;
    height: 100%;
    box-sizing: border-box;
}

/* ── Icon — large as per mockup ── */
.media-channel-card__icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.media-channel-card__icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* ── Title ── */
.media-channel-card__title {
    font-size: 0.9375rem;
    font-weight: 700;
    line-height: 1.4;
    text-align: center;
    margin: 0;
    color: #000;
}

/* ── Per-card description area ── */
.media-channel-grid__card-desc {
    min-height: 60px;
    text-align: center;
    font-size: 1rem;
    line-height: 1.7;
    color: #444;
    margin-bottom: 40px;
    padding: 0 40px;
    transition: opacity 0.25s ease;
}

.media-channel-grid__card-desc p {
    margin: 0;
}

/* ── Static bottom content ── */
.media-channel-grid__static-content {
    text-align: center;
    font-size: 1rem;
    line-height: 1.7;
    color: #444;
    padding: 0 40px;
    border-top: 1px solid #e0e0e0;
    padding-top: 40px;
}

.media-channel-grid__static-content p {
    margin: 0 0 16px;
}

.media-channel-grid__static-content p:last-child {
    margin: 0;
}

/* ── Responsive ── */
@media (max-width: 1199px) {
    .media-channel-grid__grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 767px) {
    .media-channel-grid__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

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

    .media-channel-grid__card-desc,
    .media-channel-grid__static-content {
        padding: 0;
    }

    .media-channel-grid__static-content {
        padding-top: 32px;
    }
}

/* ==========================================================================
   Two Column Experience Block (.tce-)
   Add to: coolmedia-child-theme/style.css
   ========================================================================== */

   .tce-section {
    padding: 0; /*80px 0 120px*/
    background: #fff;
}

.tce-inner {
    display: flex;
    align-items: flex-start;
    gap: 0 60px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

/* ── Columns ── */

.tce-col--left,
.tce-col--right {
    flex: 1;
}

.tce-col--left {
    text-align: right;
}

.tce-col--right {
    text-align: left;
}

.tce-col--center {
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: center;
    flex-shrink: 0;
}

/* ── Heading ── */

.tce-heading {
    /*font-family: 'Axiforma', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);*/
    font-weight: 700;
    color: #1a1a1a;
    /*line-height: 1.2;*/
    margin: 0 0 24px;
}

/* Words wrapped in <span> by the editor get the gradient treatment */
.tce-heading span {
    display: inline;
}

/* ── Body copy ── */

.tce-body {
    font-family: 'Axiforma', sans-serif;
    font-size: clamp(0.9rem, 1.2vw, 1rem);
    line-height: 1.65;
    color: #444;
    margin: 0 auto;
    max-width: 420px;
}

.tce-col--left .tce-body {
    margin-left: auto; /* push text block to the right */
}

/* ── Center image ── */

.tce-center-image {
    display: block;
    width: clamp(100px, 10vw, 160px);
    height: auto;
    object-fit: contain;
}

/* Placeholder shown when no image is set in ACF */
.tce-center-placeholder {
    width: 120px;
    height: 120px;
    border: 2px dashed #ccc;
    border-radius: 4px;
    opacity: 0.4;
}

/* ── Responsive ── */

@media (max-width: 900px) {
    .tce-inner {
        flex-direction: column;
        align-items: center;
        gap: 40px 0;
    }

    .tce-col--left,
    .tce-col--right {
        width: 100%;
        text-align: center;
    }

    .tce-col--left .tce-body {
        margin: 0 auto;
    }

    .tce-col--center {
        order: 0; /* -1 */
    }
}

/* ============================================================
   solutions--products block
   Add to: coolmedia-child-theme/style.css
   ============================================================ */
.products-section__title span {
    background: linear-gradient(97.91deg, #D94A21 30.66%, #FD8C2D 35.29%, #3A9F99 70.99%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ── Section shell ── */
.solutions--products {
    position: relative;
    padding: 0 0 0; /* bottom-pad handled by gradient border */
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    overflow: hidden;
}

/* Dark overlay so text stays readable over the BG image */
.solutions--products::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 0;
}

.solutions--products .container {
    position: relative;
    z-index: 1;
    padding: 140px 0 80px;
}

/* ── Header — identical to solutions_channels ── */
/* (relies on the shared .solution__header / .solution__powered-by-ai /
   .solution__subtitle rules already in the parent theme) */

/* ── Product grid ── */
.products__grid {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: start;
    gap: 60px;
    margin-top: 80px;
    padding-bottom: 72px; /* breathing room above the gradient border */
}



/* ── Individual product item ── */
.products__item-icon {
    position: relative;
}
.products__item-icon img.prod-icon-animated {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0;
}
.products__item:hover .prod-icon-static {
    opacity: 0;
}
.products__item:hover .prod-icon-animated {
    opacity: 1;
}

.products__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
    flex: 0 0 26%;
}

/* Icon wrapper */
.products__item-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 116px;
    height: 116px;
    background: #ffffff;
    border-radius: 24px;
    padding: 10px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
    flex-shrink: 0;
    overflow: hidden;
}

.products__item-icon img {
    width: 170px;
    height: 170px;
    object-fit: contain;
}

/* Title */
.products__item-title {
    font-size: 1.25rem;     /* 18px */
    font-weight: 700;
    color: #ffffff;
    margin: 10px 0 0;
    line-height: 1.35;
}

/* Description */
.products__item-desc {
    font-size: 0.9375rem;    /* 15px */
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.75);
    margin: 0;
}

.products__item-desc p {
    margin: 0;
}

/* ── Gradient border at the bottom of the section ── */
.products__gradient-border {
    position: relative;
    z-index: 1;
    height: 10px;
    width: 100%;
    background: linear-gradient(
        90deg,
        #e8622a 0%,       /* orange  — match your brand */
        #d4a843 25%,      /* gold */
        #4caf8a 60%,      /* teal */
        #3a7bd5 100%      /* blue */
    );
}

/* ── Responsive ── */
@media (max-width: 640px) {
    .solutions--products {
        padding-top: 56px;
    }

    .products__grid {
        margin-top: 40px;
        padding-bottom: 56px;
        gap: 80px;
        width: 80%;
        margin: 0 auto;
    }

    .products__item {
        flex: 0 1 100%;
    }
}

/* ── Dark text override — white in this section ── */
.solutions--products .color-dark {
    color: #ffffff ;
}

/* ── products-section__ header overrides ── */
/* These mirror the parent theme's solution__header rules but are
   scoped to this block so future edits stay isolated */
.products-section__header {
    color: white;
}
.products-section__header.solution__header span.color-dark {
    color: white !important;
    -webkit-text-fill-color: white !important;
  }

.products-section__powered-by-ai {
    /* inherits from solution__powered-by-ai */
}

.products-section__subtitle {
    /* inherits from solution__subtitle */
}

/* =============================================
   CASE STUDIES GRID
   ============================================= */
.case-studies .container h2 span {
    display: inline;
}

.case-studies {
    position: relative;
    padding-top: 120px;
    padding-bottom: 0;
    background: white;
    margin-top: -80px;
}

.case-studies::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    top: 420px; /*500px*/
    background: #000 url('/wp-content/themes/coolmedia-child-theme/src/img/Star Background.png');
    height: auto;
    width: 100%;
    z-index: 0;
}

.case-studies--no-flare::after {
    display: none;
}

.case-studies .container {
    position: relative;
    z-index: 1;
}

.case-studies h2 {
    text-align: center;
    margin-bottom: 50px;
}

.case-studies__subtitle {
    text-align: center;
    color: #ccc;
    font-size: 18px;
    margin-bottom: 60px;
}

.case-studies__grid {
    /*display: grid;
    grid-template-columns: repeat(3, 1fr);*/
    display: flex;
    flex-direction: row;
    gap: 32px;
    margin-bottom: 60px;
}

.case-studies--no-flare .case-studies__grid {
    justify-content: center;
}

/* Card */
.case-studies__card {
    display: flex;
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    border: 2px solid #DFDFDF;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    position: relative;
    flex-direction: column;
    width: 22rem;
}

.case-studies__card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
    border-color: #dfdfdf; /* #e6a817 */
    text-decoration: none;
}

.case-studies__card:focus,
.case-studies__card:active,
.case-studies__card:visited {
    text-decoration: none;
    color: inherit;
}

/* Card image area */
.case-studies__card-img {
    width: 100%;
    height: 112px;
    aspect-ratio: 16 / 10;
    background: #e8e8e8;
    overflow: hidden;
    position: relative;
}

.case-studies__card-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.case-studies__card-label {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 60%;
    max-height: 60%;
    object-fit: contain;
    z-index: 2;
}

/* Card body */
.case-studies__card-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.case-studies__card-title {
    font-size: 18px;
    font-weight: 700;
    color: #111;
    line-height: 1.4;
    margin-bottom: auto;
    padding-bottom: 12px;
}

.case-studies__card-date {
    font-size: 14px;
    color: #666;
}

/* Button row */
a.secondary-btn {
    text-decoration: none;
}
.case-studies__btn-wrap {
    display: flex;
    justify-content: center;
    padding-bottom: 100px;
}
.case-studies__btn-wrap a.secondary-btn::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 14px;
    background: linear-gradient(97.91deg, #D94A21 7.66%, #FD8C2D 42.29%, #3A9F99 75.99%);
    z-index: -1;
}
.case-studies__btn-wrap a.secondary-btn {
    border: none !important;
    position: relative;
    background: #000 !important;
    /*background-image: linear-gradient(97.91deg, #D94A21 7.66%, #FD8C2D 42.29%, #3A9F99 75.99%);*/
    padding: 16px 20px 12px;
    border-radius: 12px;
}
.case-studies__btn-wrap a.secondary-btn span {
    /*display: block;
    background: #000;
    border-radius: 10px;
    padding: 16px 20px 12px;*/
    color: transparent;
    background-image: linear-gradient(97.91deg, #D94A21 7.66%, #FD8C2D 42.29%, #3A9F99 75.99%);
    -webkit-background-clip: text !important;
    background-clip: text !important;
}

/* Responsive */
@media (max-width: 900px) {
    .case-studies__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 580px) {
    .case-studies__grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   Publisher Solutions Grid Block
   ======================================== */

   .solutions--publisher-grid {
    padding-top: 0;
    padding-bottom: 90px;
}

.publisher-grid__list {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    column-gap: 16px;
    margin: 34px 0 0;
    position: relative;
}

.publisher-grid__item {
    position: relative;
    border-radius: 20px;
    background-color: #ffffff;
    height: 220px;
    width: 220px;
    min-width: 0;
    flex: 0 0 220px;
    display: flex;
    padding: 3px;
    overflow: hidden;
    cursor: pointer;
    box-sizing: border-box;
}

.publisher-grid__item:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #DFDFDF;
}

.publisher-grid__item.__active:before,
.publisher-grid__item:hover:before {
    background: linear-gradient(90.91deg, #D94A21 7.66%, #FD8C2D 42.29%, #3A9F99 75.99%);
}

.publisher-grid__item .solution__item-content-wrapper {
    position: relative;
    z-index: 3;
    background-color: #fff;
    border-radius: 18px;
    display: flex;
    justify-content: center;
    flex-direction: column;
    height: 100%;
    width: 100%;
    box-sizing: border-box;
}

.publisher-grid__item.__active img,
.publisher-grid__item:hover img {
    filter: brightness(1);
}

.publisher-grid__item.__active .solution__item-img-animate,
.publisher-grid__item:hover .solution__item-img-animate {
    opacity: 1;
}

/* Description area */
.publisher-grid__descriptions {
    max-width: 906px;
    margin: 29px auto 0;
    min-height: 80px;
}

.publisher-grid__description {
    display: none;
    text-align: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.publisher-grid__description.__active {
    display: block;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.publisher-grid__description p {
    margin: 0 0 24px;
    font-size: 16px;
    line-height: 24px;
}

.publisher-grid__description p:last-child {
    margin: 0;
}

@media (min-width: 1200px) {
    .publisher-grid__description > div:first-of-type {
        min-height: 120px;
    }
}

@media (max-width: 1199px) {
    .publisher-grid__item {
        flex: 0 0 180px;
        height: 180px;
        width: 180px;
    }
}

@media (max-width: 768px) {
    .solutions--publisher-grid {
        margin-bottom: 60px;
    }
    .publisher-grid__list {
        flex-wrap: wrap;
        flex-direction: column;
        row-gap: 21px;
    }
    .publisher-grid__item {
        flex: unset;
        height: auto;
        width: 100%;
        box-sizing: border-box;
    }
}

/* =============================================
   Large Image Block
============================================= */
.large-image-block__image-wrap--pt-none   { padding-top: 0; }
.large-image-block__image-wrap--pt-small  { padding-top: 24px; }
.large-image-block__image-wrap--pt-medium { padding-top: 48px; }
.large-image-block__image-wrap--pt-large  { padding-top: 80px; }

.large-image-block__image-wrap--small  { max-width: 600px;  margin: 0 auto; }
.large-image-block__image-wrap--medium { max-width: 800px;  margin: 0 auto; }
.large-image-block__image-wrap--large  { max-width: 1100px; margin: 0 auto; }
.large-image-block__image-wrap--full   { max-width: 100%; }

.large-image-block {
    /*padding: 80px 20px;*/
    text-align: center;
    background: #fff;
}

.large-image-block__inner {
    max-width: 1200px;
    margin: 0 auto;
}

/* Heading — WYSIWYG output */
.large-image-block__heading {
    margin-bottom: 24px;
}

.large-image-block__heading h2 {
    max-width: 900px;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.15;
    margin: 0 auto;
    color: #111;
}

/* Gradient span — controlled via <span> in WYSIWYG */
.large-image-block__heading h2 span {
    background: linear-gradient(90deg, #e8603c, #c8a96e, #4db6ac);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline;
}

/* Subtitle */
.large-image-block__subtitle {
    max-width: 900px;
    margin: 0 auto;
}

.large-image-block__subtitle p {
    font-size: clamp(1rem, 1.5vw, 1.125rem);
    line-height: 1.7;
    color: #444;
    max-width: 720px;
    margin: 0 auto 12px;
}

/* Image */
.large-image-block__image-wrap {
    /*border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);*/
}

.large-image-block__image {
    width: 100%;
    height: auto;
    display: block;
}

/* Responsive */
@media (max-width: 768px) {
    .large-image-block {
        padding: 60px 16px;
    }
}

/* ============================================================
   measurement_slider block
   ============================================================ */

/* ── Section shell ── */
.measurement-slider {
    position: relative;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    overflow: hidden;
}

/* Dark overlay */
.measurement-slider::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 0;
}

.measurement-slider .container {
    position: relative;
    z-index: 1;
    padding: 140px 0 80px;
}

/* ── Header ── */
.measurement-slider__header {
    color: white;
}

.measurement-slider__header h2 {
    color: #ffffff;
    text-align: center;
}

.measurement-slider__header h2 span {
    display: inline;
}

.measurement-slider__header.solution__header span.color-dark {
    color: white !important;
    -webkit-text-fill-color: white !important;
}

.measurement-slider__header .solution__subtitle {
    color: rgba(255, 255, 255, 0.85);
}

/* ── Swiper container ── */
.measurement-slider__swiper {
    margin: 48px 0 0;
    position: relative;
}

.measurement-slider__swiper .swiper-wrapper {
    height: auto !important;
}

/* Fade edges like solution__list */
.measurement-slider__swiper:before,
.measurement-slider__swiper:after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 90px;
    background: linear-gradient(270deg, rgba(0,0,0,0.6) 7.5%, rgba(0,0,0,0) 100%);
    z-index: 2;
    pointer-events: none;
}

.measurement-slider__swiper:before {
    right: auto;
    left: 0;
    transform: rotate(180deg);
}

/* ── Slide item ── */
.measurement-slider__item {
    display: flex;
    opacity: 1 !important;
}

.measurement-slider__item-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
    padding: 40px 0;
    /*background: rgba(255, 255, 255, 0.07);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);*/
    width: 100%;
    box-sizing: border-box;
    transition: background 0.3s ease, border-color 0.3s ease;
}

.measurement-slider__item.__active .measurement-slider__item-inner,
.measurement-slider__item.swiper-slide-active .measurement-slider__item-inner,
.measurement-slider__item:hover .measurement-slider__item-inner {
    /*background: rgba(255, 255, 255, 0.13);
    border-color: rgba(255, 255, 255, 0.3);*/
}

/* ── Icon ── */
.measurement-slider__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 96px;
    flex-shrink: 0;
}

.measurement-slider__icon img {
    width: 90px;
    height: 90px;
    object-fit: contain;
}

/* ── Title ── */
.measurement-slider__title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    line-height: 1.35;
}

/* ── Description ── */
.measurement-slider__desc {
    font-size: 0.9375rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.75);
    margin: 0;
}

.measurement-slider__desc p {
    margin: 0;
}

/* ── Gradient border ── */
.measurement-slider__gradient-border {
    position: relative;
    z-index: 1;
    height: 10px;
    width: 100%;
    background: linear-gradient(
        90deg,
        #e8622a 0%,
        #d4a843 25%,
        #4caf8a 60%,
        #3a7bd5 100%
    );
}

/* ── Dark text override ── */
.measurement-slider .color-dark {
    color: #ffffff;
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .measurement-slider .container {
        padding: 56px 0 40px;
    }

    .measurement-slider__swiper {
        margin-top: 32px;
    }

    .measurement-slider__icon img {
        width: 120px;
        height: 120px;
    }
}

.measurement-slider__title,
.measurement-slider__desc {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.measurement-slider__item.__active .measurement-slider__title,
.measurement-slider__item.__active .measurement-slider__desc {
    opacity: 1;
}

/* ============================================================
   cool_solution block — ICON COLUMNS w/ CONNECTORS
   ============================================================ */
.cool-solution {
    background: white;
}
.cool-solution__header {
    text-align: center;
}
.container.cool-solution__header h2.section-title span {
    display: inline;
}
/* ── Cool Solution Block ── */
.cool-solution__columns {
    display: flex;
    flex-direction: row;
    gap: 0;
    position: relative;
    justify-content: center;
    margin: 20px auto 0;
    max-width: 1200px;
}

/* ── Individual column ── */
.cool-solution__col {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 28px 36px;
    width: 30%;
}
.cool-solution__col:last-child {
    border-right: none;
}

/* ── Icon ── */
.cool-solution__col-icon {
    width: 150px;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px;
}
.cool-solution__col-icon img {
    object-fit: contain;
}

/* ── Text ── */
.cool-solution__col-title {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 14px;
    text-align: center;
}
.cool-solution__col-desc {
    font-size: 1rem;
    line-height: 1.4;
    text-align: center;
    width: 60%;
}
.cool-solution .section-description-text p {
    margin-bottom: 15px;
}

/* ── Curve connectors ── */
.cool-solution__connector {
    position: absolute;
    top: 90px;
    transform: translateX(-60%);
    pointer-events: none;
    z-index: 0;
}
.cool-solution__connector--1 { left: 37% !important; }
.cool-solution__connector--2 { left: 66% !important; top: 140px; }
/*.cool-solution__connector--3 { left: 77% !important; }*/

.cool-solution__connector img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.team-section {
    margin-top: -10px !important;
    background: #000 !important;
}
.history {
    background-color: #000 !important;
}

/* ============================================================
   cool_solution block v.2 — 4 COLUMNS w/ CONNECTORS
   ============================================================ */
/* ── Cool Solution 4-Column Block ── */
.cool-solution-4col__header {
    text-align: center;
}

.cool-solution-4col__header h2.section-title span {
    display: inline;
}

.cool-solution-4col__columns {
    display: flex;
    flex-direction: row;
    gap: 65px;
    position: relative;
    justify-content: center;
    margin: 40px auto 0;
    max-width: 1200px;
}

/* ── Individual column ── */
.cool-solution-4col__col {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 28px 36px;
}
.cool-solution-4col__col:last-child {
    border-right: none;
}

/* ── Icon ── */
.cool-solution-4col__col-icon {
    width: 150px;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px;
    /*background: black;*/
}
.cool-solution-4col__col-icon img {
    object-fit: contain;
}

/* ── Text ── */
.cool-solution-4col__col-title {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 14px;
    text-align: center;
}
.cool-solution-4col__col-desc {
    font-size: 1rem;
    line-height: 1.4;
    text-align: center;
}

/* ── Curve connectors ── */
.cool-solution-4col__connector {
    position: absolute;
    top: 90px;
    transform: translateX(-60%);
    pointer-events: none;
    z-index: 0;
}
.cool-solution-4col__connector--1 { left: 25% !important; }
.cool-solution-4col__connector--2 { left: 50% !important; top: 160px; }
.cool-solution-4col__connector--3 { left: 75% !important; }

.cool-solution-4col__connector img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* =============================================================
   Creations page template — RESOURCES
   ============================================================= */

/* Creations — filter buttons + search in one row */
.filter-block .filter-block-wrapper .filter-buttons {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: 16px;
    padding-bottom: 0 !important;
    border-bottom: none !important;
}
.filter-block .filter-block-wrapper .filter-buttons .search-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    justify-content: flex-end;
}
.filter-block .filter-block-wrapper .filter-buttons .search-wrapper input {
    width: 90%;
    max-width: none;
}

/* Hero */
.hero.centered-column {
    min-height: 550px;
    height: auto;
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
}
@media (max-width: 992px) {
    .hero.centered-column {
        min-height: auto;
    }
}
.hero.centered-column .hero-bg__wrapper {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}
.hero.centered-column .hero-bg__wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.hero.centered-column .container {
    position: relative;
    z-index: 1;
    width: 100%;
}
.hero.centered-column .hero-holder {
    text-align: center;
    padding: 80px 0;
}
.hero.centered-column .heading h1 {
    color: #fff;
}

/* Divider */
.divider {
    padding: 0;
}
.divider img {
    width: 100%;
    display: block;
}
.divider img.mobile {
    display: none;
}
@media (max-width: 768px) {
    .divider img:not(.mobile) {
        display: none;
    }
    .divider img.mobile {
        display: block;
    }
}

/* Filter block */
.filter-block {
    padding: 0;
}
.filter-block .filter-block-wrapper {
    padding: 45px 24px 24px !important;
}

/* Post type toggle buttons */
.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
}
.post-type-buttons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.post-type-btn {
    padding: 10px 20px;
    border-radius: 12px;
    border: 2px solid #DFDFDF;
    background: #fff;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    color: #000;
    transition: border-color 0.2s, background 0.2s;
}
.post-type-btn span {
    pointer-events: none;
}
.post-type-btn.active,
.post-type-btn:hover {
    border-color: transparent;
    background: linear-gradient(#fff, #fff) padding-box,
                linear-gradient(97.91deg, #D94A21 4.66%, #FD8C2D 12.29%, #3A9F99 48.99%);
    border: 2px solid transparent;
}
/*.post-type-btn.active span,
.post-type-btn:hover span {
    background-image: linear-gradient(97.91deg, #D94A21 4.66%, #FD8C2D 12.29%, #3A9F99 48.99%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}*/

/* Search */
.search-wrapper {
    display: flex;
    gap: 8px;
    align-items: center;
}
.search-input {
    padding: 10px 14px;
    border: 2px solid #DFDFDF;
    border-radius: 8px;
    font-size: 16px;
    outline: none;
    transition: border-color 0.2s;
    width: 220px;
}
.search-input:focus {
    border-color: #E55E79;
}
.search-submit {
    padding: 10px 20px;
    border-radius: 12px;
    border: 2px solid transparent;
    background: linear-gradient(97.91deg, #D94A21 4.66%, #FD8C2D 12.29%, #3A9F99 48.99%);
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    transition: opacity 0.2s;
}
.search-submit:hover {
    opacity: 0.85;
}
.filter-block .filter-block-wrapper .filter-buttons .search-wrapper input:focus, .filter-block .filter-block-wrapper .filter-buttons .search-wrapper input:focus-visible, .filter-block .filter-block-wrapper .filter-buttons .search-wrapper input:focus-within {
    border: 1px solid #219F9E;
}
.filter-block .filter-block-wrapper .filter-buttons .search-wrapper .search-submit {
    border-radius: 12px !important;
}
.filter-block .filter-block-wrapper .filter-buttons .search-wrapper .search-submit::after {
    background: #219F9E; /* linear-gradient(90deg, #D94A21 4.66%, #FD8C2D 40.29%, #3A9F99 100%) !important */
}

/* Taxonomy filter groups */
.filters {
    position: relative;
}
.mobile-holder {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.filter-group {
    position: relative;
    border: 2px solid #DFDFDF;
    border-radius: 12px;
    min-width: 180px;
}
.filter-group .input-holder {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    cursor: pointer;
    gap: 12px;
}
.filter-group .input-holder .title {
    font-size: 15px;
    font-weight: 600;
    white-space: nowrap;
}
.filter-group .input-holder .input-text {
    font-weight: 700;
    background-image: linear-gradient(97.91deg, #D94A21 4.66%, #FD8C2D 12.29%, #3A9F99 48.99%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Dropdown sub-items */
.filter-group .sub-item-holder {
    display: none;
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    z-index: 10;
    background: #fff;
    border: 2px solid #DFDFDF;
    border-radius: 12px;
    padding: 16px;
    min-width: 220px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}
.filter-group.open .sub-item-holder {
    display: block;
}
.filter-group .sub-item-holder label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    padding: 6px 0;
    cursor: pointer;
}
.filter-group .sub-item-holder label input {
    margin: 0;
    margin-bottom: 4px;
    accent-color: #E55E79;
}
.filter-group .cta-btn-holder {
    display: flex;
    gap: 8px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #DFDFDF;
}
.filter-group .cta-btn-holder .btn {
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border: 2px solid transparent;
    background: linear-gradient(97.91deg, #D94A21 4.66%, #FD8C2D 12.29%, #3A9F99 48.99%);
    color: #fff;
}
.filter-group .cta-btn-holder .transparent-btn {
    background: #fff;
    border: 2px solid #DFDFDF;
    color: #000;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.filter-group .cta-btn-holder .transparent-btn:hover {
    border-color: #E55E79;
}

/* Mobile filters toggle */
.filters-mobile-btn {
    display: none;
    margin-top: 12px;
}
.filters-mobile-btn a {
    font-size: 15px;
    font-weight: 600;
    color: #000;
    text-decoration: underline;
    cursor: pointer;
}
.filters-mobile-btn .hide-btn {
    display: none;
}
.filters-mobile-btn.is-open .show-btn {
    display: none;
}
.filters-mobile-btn.is-open .hide-btn {
    display: inline;
}
@media (max-width: 768px) {
    .filters-mobile-btn {
        display: block;
    }
    .mobile-holder {
        display: none;
    }
    .mobile-holder.is-visible {
        display: flex;
        flex-direction: column;
    }
    .filter-group {
        width: 100%;
    }
    .filter-group .sub-item-holder {
        position: static;
        box-shadow: none;
        border: none;
        border-top: 1px solid #DFDFDF;
        border-radius: 0;
        padding: 12px 0 0;
    }
}

/* Active filter tags */
.filter-results-list {
    padding: 16px 0 0;
}
.filter-results-list-holder {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    min-height: 32px;
}
.filter-block .filter-block-wrapper .filter-buttons .post-type-buttons .post-type-btn {
    border-radius: 14px !important;
}
.filter-block .filter-block-wrapper .filter-buttons .post-type-buttons .post-type-btn.active {
    background: #219F9E !important;
    border: 1px solid #219F9E !important;
}
.filter-block .filter-block-wrapper .filter-buttons .post-type-buttons .post-type-btn::before {
    background: linear-gradient(97.91deg, #219F9E 7.66%, #219F9E 100%) !important;
    border-radius: 13px !important;
}
.filter-block .post-type-btn:focus,
.filter-block .post-type-btn:focus-visible,
.filter-block .post-type-btn:active {
    outline: none !important;
    box-shadow: none !important;
}
#clear-all {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #219F9E;
    text-decoration: none;
}

/* Results grid */
.filter-results-block {
    padding: 0 0 130px;
}
#filter-results {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
@media (min-width: 1200px) {
    #filter-results {
        grid-template-columns: repeat(4, 1fr);
    }
}
@media (max-width: 640px) {
    #filter-results {
        grid-template-columns: 1fr;
    }
}

/* Load More */
#load-more {
    text-align: center;
    margin-top: 48px;
}
#load-more .cta-btn {
    display: inline-flex;
    padding: 12px 32px;
    border-radius: 12px;
    border: 2px solid transparent;
    background: linear-gradient(#fff, #fff) padding-box,
                linear-gradient(97.91deg, #D94A21 4.66%, #FD8C2D 12.29%, #3A9F99 48.99%) border-box;
    cursor: pointer;
    text-decoration: none;
}
#load-more .cta-btn span {
    font-size: 16px;
    font-weight: 600;
    background-image: linear-gradient(97.91deg, #fff 4.66%, #fff 12.29%, #fff 48.99%); /* linear-gradient(97.91deg, #D94A21 4.66%, #FD8C2D 12.29%, #3A9F99 48.99%) */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
#load-more .cta-btn:hover {
    background: linear-gradient(97.91deg, #D94A21 4.66%, #FD8C2D 12.29%, #3A9F99 48.99%);
}
#load-more .cta-btn:hover span {
    background-image: none;
    -webkit-text-fill-color: #3A9F99;
}
.filter-results-block #load-more .cta-btn {
    border-radius: 14px !important;
    background: linear-gradient(97.91deg, #3A9F99 7.66%, #3A9F99 100%) !important;
}
.filter-results-block #load-more .cta-btn::after {
    border-radius: 12px !important;
}

/* =============================================================
   Creations grid card (template-parts/item.php) — RESOURCES
   ============================================================= */
.filter-results-block #filter-results a {
    text-decoration: none !important;
}
.filter-results-block #filter-results .item::before {
    background: none !important;
}
.creations-item {
    border: 2px solid #DFDFDF;
    border-radius: 24px;
    overflow: hidden;
    transition: border-color 0.3s;
    background: #fff;
    transition: border-color 0.3s, transform 0.25s ease, box-shadow 0.25s ease;
}
.filter-results-block #filter-results .item:hover {
    border: 2px solid #dfdfdf !important; /* e6a817 */
  }
.creations-item:hover {
    border-color: #e6a817;
    /*background: linear-gradient(#fff, #fff) padding-box,
                linear-gradient(97.91deg, #D94A21 4.66%, #FD8C2D 12.29%, #3A9F99 48.99%) border-box;*/
    border: 2px solid #e6a817 !important; /*transparent*/
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
}
.creations-item .item-image {
    width: 100%;
    height: 110px;
    border-radius: 0;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
}
.creations-item .item-image img {
    max-height: 64px;
    height: auto;
    width: auto;
    max-width: 70%;
    margin: 0 auto;
    border-radius: 0;
}
.creations-item .item-wrapper {
    padding: 16px;
}
.creations-item .item-wrapper .title {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #219F9E !important;
    /*background-image: linear-gradient(97.91deg, #D94A21 4.66%, #FD8C2D 12.29%, #3A9F99 48.99%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;*/
    margin-bottom: 6px;
}
.creations-item .item-wrapper p {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    color: #000;
    margin: 0;
}

/* ========================================================================
    Page Hero – Video Block  (.phv-)
=========================================================================== */

/* ── Section shell ── */
.phv-section {
    position: relative;
    width: 100%;
    min-height: 680px;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: visible;
    background: #000;
    padding-bottom: 200px;
}

/* ── Background video ── */
.phv-bg-video-wrapper {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.phv-bg-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Dark gradient overlay — matches the coolmedia.ai look */
.phv-bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.45) 0%,
        rgba(0, 0, 0, 0.15) 55%,
        rgba(0, 0, 0, 0.72) 100%
    );
}

/* Bottom colour sweep — the orange/teal stripe seen in the mockup */
.phv-bg-video-wrapper::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 8px;
    background: linear-gradient(90deg, #D94A21 0%, #FD8C2D 30%, #3A9F99 70%, #2bbdb5 100%);
    z-index: 1;
}

/* ── Content area (sits above the video) ── */
.phv-content-wrapper {
    position: relative;
    z-index: 2;
    width: 100%;
    padding-top: 160px;
    padding-bottom: 80px;
    display: flex;
    justify-content: center;
}

.phv-inner {
    max-width: 860px;
    width: 90%;
    text-align: center;
}

/* ── "Powered by AI" badge ── */
.phv-badge {
    display: flex;
    justify-content: center;
    margin-bottom: 24px;
}

.phv-badge__img {
    height: 36px;
    width: auto;
}

/* ── H2 heading ── */
.phv-heading {
    font-size: 42px;
    font-weight: 700;
    line-height: 1.15;
    color: #fff;
    margin: 0 0 28px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Gradient <span> inside the heading */
.phv-heading span {
    display: inline;
    background-image: linear-gradient(97.91deg, #D94A21 4.66%, #FD8C2D 12.29%, #3A9F99 48.99%);
    -webkit-background-clip: text !important;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ── Subtitle ── */
.phv-subtitle {
    font-size: 1.2rem;
    font-weight: 400;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
    max-width: 740px;
    margin: 0 auto;
}

/* ── Feature video panel (overlaps the section below) ── */
.phv-feature-video-wrapper {
    position: absolute;
    bottom: -280px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    width: 60%;
    max-width: 1020px;
}

.phv-feature-video-inner {
    position: relative;
    width: 100%;
    aspect-ratio: 15 / 9;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.55);
    border: none; /*2px solid transparent*/
    background:
       none; /* linear-gradient(#1a1a1a, #1a1a1a) padding-box,
       linear-gradient(90deg, #D94A21, #FD8C2D, #3A9F99) border-box*/
}

.phv-feature-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Push the next block down to clear the overlapping video */
.phv-section + * {
    padding-top: 120px !important;
}

/* =============================================
   RESPONSIVE — Page Hero Video
   ============================================= */
@media screen and (max-width: 1199px) {
    .phv-content-wrapper {
        padding-top: 140px;
        padding-bottom: 60px;
    }
    .phv-heading {
        font-size: 36px;
    }
    .phv-feature-video-wrapper {
        width: 90%;
        bottom: -380px;
    }
}

@media screen and (max-width: 767px) {
    .phv-section {
        min-height: auto;
        padding-bottom: 160px;
    }
    .phv-content-wrapper {
        padding-top: 110px;
        padding-bottom: 40px;
    }
    .phv-heading {
        font-size: 28px;
    }
    .phv-subtitle {
        font-size: 15px;
    }
    .phv-feature-video-wrapper {
        width: 92%;
        bottom: -220px;
    }
    .phv-badge__img {
        height: 28px;
    }
    .phv-section + * {
        padding-top: 80px !important;
    }
}

/* ============================================
   Image Overlay Columns Block
   ============================================ */

.img-overlay-cols {
    padding: 60px 20px;
    background-color: #fff;
}

.img-overlay-cols__inner {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

/* Subtitle */
.img-overlay-cols__subtitle {
    font-size: 16px;
    font-weight: 700;
    font-style: italic;
    color: #1a1a2e;
    margin-bottom: 48px;
}

/* Two-column grid */
.img-overlay-cols__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10%;
}

/* Each column */
.img-overlay-cols__col {
    position: relative;
}

/* Image wrap — the stacking context */
.img-overlay-cols__image-wrap {
    position: relative;
    display: inline-block;
    width: 100%;
    isolation: isolate;
    margin-bottom: 24px;
}

/* Main (background) image */
.img-overlay-cols__main-img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 12px;
}

/* Overlay (floating card) image — sits on top */
.img-overlay-cols__overlay-img {
    position: absolute;
    top: 25%;
    transform: translateY(-50%);
    width: 38%;
    height: auto;
    border-radius: 12px;
    /*box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);*/
    z-index: 2;
}

/* Overlay position: right (default) */
.img-overlay-cols__image-wrap--right .img-overlay-cols__overlay-img {
    right: 5%;
    left: auto;
}

/* Overlay position: left */
.img-overlay-cols__image-wrap--left .img-overlay-cols__overlay-img {
    left: 5%;
    right: auto;
}

/* Column title */
.img-overlay-cols__col-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #e8622a;
    margin: 0;
    line-height: 1.6;
}

/* Column body text */
.img-overlay-cols__col-body {
    font-size: 1rem;
    font-weight: 400;
    color: #000;
    line-height: 1.6;
    margin: 0;
}
.img-overlay-info-wrapper {
    width: 70%;
    margin: 0 auto 30px;
}

/* Responsive */
@media (max-width: 900px) {
    .img-overlay-cols__grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .img-overlay-cols__overlay-img {
        width: 40%;
    }
}

@media (max-width: 600px) {
    .img-overlay-cols__subtitle {
        font-size: 14px;
    }

    .img-overlay-cols__overlay-img {
        width: 45%;
    }

    .img-overlay-cols__col-title {
        font-size: 15px;
    }

    .img-overlay-cols__col-body {
        font-size: 14px;
    }
}

/* =============================================
   CTA FOOTER BANNER
   ============================================= */
.cta-footer-banner {
    padding: 60px 40px 0;
    background: #000 url('/wp-content/themes/coolmedia-child-theme/src/img/Star Background.png');
}

.cta-footer-banner__inner {
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 16px;
    padding: 40px 48px;
    gap: 32px;
    box-shadow: 0 20px 60px 0 rgba(0, 0, 0, 0.15);
    position: relative;
    z-index: 1;
}

.cta-footer-banner__outline {
    position: relative;
    max-width: 1200px;
    margin: -150px auto 0;
}

.cta-footer-banner__outline-border {
    position: absolute;
    inset: 0;
    border-radius: 20px;
    border: 2px solid #FD8C2D;
    background: transparent;
    transform: translate(25px, 25px);
    z-index: 0;
}

.cta-footer-banner__icon {
    flex-shrink: 0;
}

.cta-footer-banner__icon img {
    width: 100px;
    height: auto;
    display: block;
}

.cta-footer-banner__text {
    flex: 1;
    margin-right: 10%;
}

.cta-footer-banner__text p {
    margin: 0;
    font-size: 18px;
    line-height: 1.5;
    color: #333;
}

.cta-footer-banner__text p .cta-banner-span {
    background: linear-gradient(97.91deg, #D94A21 7.66%, #FD8C2D 42.29%, #3A9F99 75.99%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    display: inline;
}

.cta-footer-banner__button-wrap {
    flex-shrink: 0;
    position: relative;
}

.cta-footer-banner__button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    /*border: 2px solid #FD8C2D;*/
    border-radius: 12px;
    padding: 14px 20px 10px;
    font-weight: 700;
    font-size: 16px;
    color: #333;
    text-decoration: none;
    white-space: nowrap;
    text-decoration: none !important;
}

.cta-footer-banner__button:hover {
    color: #333;
}

.cta-footer-banner__button::before {
    content: "";
    position: absolute;
    inset: 0;
    padding: 2px;
    background: linear-gradient(97.91deg, #D94A21 7.66%, #FD8C2D 42.29%, #3A9F99 75.99%);
    border-radius: inherit;
    mask: conic-gradient(#000 0 0) content-box exclude, conic-gradient(#000 0 0);
    z-index: 2;
}

.cta-footer-banner__arrow {
    width: 18px;
    height: 18px;
    margin-bottom: 3px;
    background-color: #000;
    -webkit-mask-image: url('/wp-content/themes/coolmedia-child-theme/src/img/cta-footer-banner-arrow.svg');
    mask-image: url('/wp-content/themes/coolmedia-child-theme/src/img/cta-footer-banner-arrow.svg');
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    transition: transform 0.2s ease;
}

.cta-footer-banner__button:hover .cta-footer-banner__arrow {
    transform: translateX(3px);
}

.container.policy-header h1 span {
    display: inline;
    filter: none;
}

/* ======================================================================================================================================================= */

/* =========================================================================================================================================================
    CUSTOM — Responsive Styles Start Here
========================================================================================================================================================== */

/* ======================================================================================================================================================= */

@media (max-width: 1199px) {
    .mega-menu-column + .mega-menu-column::before {
        display: none;
    }
}

/* =============================================
   RESPONSIVE NAV — mobile menu below 1200px
   ============================================= */
   .mobile-only {
    display: none;
}
@media (max-width: 991px) {
    .mobile-only {
        display: block !important;
    }
    .container.hero-content div h1 {
        margin-bottom: 0px;
    }
}

   @media (max-width: 1199px) {
    header.sticky {
        position: relative !important;
    }
    header .header-navbar .menu-item.menu-item-has-children::after, header .header-navbar .menu-item.menu-item-has-children.active::after {
        right: 26px !important;
    }
    .mega-menu .bottom-submenu-content {
        background: #282828 !important;
        border-radius: 14px !important;
        padding: 30px 0 !important;
    }
    li.mega-menu-item {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }

    /* Hide ALL dropdowns by default */
    .mega-menu-wrapper,
    .sub-menu-wrapper, .submenu-pointer {
        display: none !important;
        position: static !important;
    }

    /* When parent <li> is active, reveal inline */
    .menu-item-has-children.active .mega-menu-wrapper,
    .menu-item-has-children.active .sub-menu-wrapper {
        display: block !important;
        position: static !important;
        width: 100% !important;
        left: auto !important;
        top: auto !important;
        background: rgba(255,255,255,0.06) !important;
        box-shadow: none !important;
        border-radius: 0 !important;
        border: none !important;
        padding: 0 !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    /* Hide all mega-menu card chrome */
    .mega-menu,
    .top-submenu-content,
    .mega-menu-icon,
    .mega-menu-heading,
    .submenu-pointer,
    .bottom-submenu-content {
        all: unset !important;
        display: block !important;
        margin: 10px 0 !important;
    }

    /* Reset column layout to stacked */
    .mega-menu-column {
        display: block !important;
        width: 100% !important;
        padding: 0 !important;
        border: none !important;
    }

    /* Hide icons and column headers on mobile */
    .mega-menu-icon,
    .mega-menu-heading,
    .top-submenu-content,
    .submenu-pointer {
        display: none !important;
    }

    /* Flatten column ul */
    .mega-menu-column ul,
    .sub-menu-nav {
        list-style: none !important;
        margin: 0 !important;
        padding: 0 !important;
        display: block !important;
    }

    /* Sub-link styles */
    .mega-menu-item a,
    .sub-menu-nav .menu-item a {
        display: block !important;
        padding: 20px 24px !important;
        color: #fff !important;
        font-size: 16px !important;
        font-weight: 400 !important;
        text-decoration: none !important;
        border-bottom: none; /* 1px solid rgba(255,255,255,0.08) !important */
        background: transparent !important;
    }

    .mega-menu-item a:hover,
    .sub-menu-nav .menu-item a:hover,
    .current-menu-item > a {
        color: #4ecdc4 !important;
    }

}

/* ———————— SUBMENU TYPE 2 ———————— */

@media (max-width: 1199px) {

    /* Force sub-menu-wrapper out of flow entirely */
    .header-navbar .sub-menu-wrapper {
        display: none !important;
        position: static !important;
        visibility: hidden !important;
        pointer-events: none !important;
    }

    /* Override any inline styles the parent JS might be injecting */
    .header-navbar li:not(.active) .sub-menu-wrapper {
        display: none !important;
        visibility: hidden !important;
    }

    /* When active — show inline */
    .header-navbar .menu-item-has-children.active .sub-menu-wrapper {
        display: block !important;
        position: static !important;
        visibility: visible !important;
        pointer-events: auto !important;
        background: #282828 !important;
        box-shadow: none !important;
        border-radius: 14px !important;
        left: auto !important;
        top: auto !important;
        width: 100% !important;
        padding: 0 !important;
        margin: 10px 0 !important;
    }

    /* Sub-menu-nav sits flush */
    .header-navbar .menu-item-has-children.active .sub-menu-nav {
        display: block !important;
        position: static !important;
        padding: 0 !important;
        margin: 0 !important;
        list-style: none !important;
    }

    header .header-navbar .menu-item.menu-item-has-children .sub-menu-nav {
        padding: 20px 0 !important;
    }

}

@media screen and (max-width: 991px) {
    .header-navbar ul li.current-menu-item a {
      color: #219F9E !important;
    }
}

/* =============================================
   RESPONSIVE - Hero_2
   ============================================= */
/* —— Hero Section 2 — Responsive —— */
@media screen and (max-width: 1199px) {
    .hero-images-2 {
        margin: 0 auto !important;
    }
    .hero-paragraph {
        padding: 40px 0 60px;
        width: 62%;
    }
    .hero-section-2 h1 {
        width: 70%;
    }
    .hero-section-2 {
        height: auto !important;
        overflow: hidden !important;
        padding-bottom: 60px !important;
    }

    .hero-section-2 .hero-content {
        display: flex;
        flex-direction: column;
        /*padding-top: 160px !important;*/
    }

    .hero-images-2 {
        margin-top: 40px;
        max-width: 480px;
        width: 100%;
    }

    .hero-section-2 .hero-images-main {
        max-width: 100%;
        height: auto;
    }

    .hero-section-2 .hero-images-part-1 {
        max-width: 130px;
        top: 60px;
        left: -15px;
    }

    .hero-section-2 .hero-images-part-2 {
        max-width: 130px;
        left: -20px;
    }
}

@media screen and (max-width: 992px) {
    .hero-section-2 h1 {
        width: 100%;
        text-align: center;
    }
    .key-messaging span {
        margin: 0 auto !important;
    }
    .hero-paragraph {
        text-align: center !important;
        width: 80%;
        margin: 0 auto;
    }
}

@media screen and (max-width: 767px) {
    /*.hero-section-2 .hero-content {
        padding-top: 130px !important;
    }*/

    .hero-images-2 {
        max-width: 340px;
    }

    .hero-section-2 .hero-images-part-1 {
        max-width: 100px;
        top: 40px;
        left: -10px;
    }

    .hero-section-2 .hero-images-part-2 {
        max-width: 100px;
        left: -15px;
    }

    #menu-footer-main-v-2 .footer-sub-menu {
        margin: 0;
    }
}

/* =============================================
   RESPONSIVE - Metrics Block
   ============================================= */
@media screen and (max-width: 1199px) {
    .metrics-wrapper::before {
        display: none !important;
    }
}

/* =============================================
   RESPONSIVE - Solutions Slider Block
   ============================================= */
@media screen and (max-width: 768px) {
    .solution__wrapper .solution-subtitle__item .brands {
        flex-direction: column;
        gap: 60px;
    }
    .solutions {
        margin-bottom: 0 !important;
    }
}

/* =============================================
   RESPONSIVE - Testimonials 2
   ============================================= */
@media screen and (max-width: 992px) {
    .campaign .campaign-img__wrapper img {
        max-height: 419px !important;
        margin: 0 auto !important;
    }
    /*.campaign .campaign-bg {
        width: 100% !important;
        height: calc(100% - 242px) !important;
        right: 3% !important; -->comment this line out<--
        transform: none !important;
    }*/
    .campaign .swiper-slide {
        padding: 0 0;
    }
    .campaign .swiper-pagination {
        display: none;
    }
    .campaign .nav-holder {
        justify-content: center;
        padding: 16px 20px 16px;
    }
}

/* ========================================================================================================================
   HOME SLIDER — RESPONSIVE STYLES
   ======================================================================================================================== */

   @media (max-width: 991px) {
    #header {
        position: relative !important;
    }
    .hero-section {
        padding-bottom: 200px !important;
    }

    /* — Solution Columns: 2-up grid — */
    .solution-columns {
        flex-wrap: wrap;
        gap: 0;
        margin: 40px auto 60px;
    }
    .solution-col {
        width: 50%;
        flex: 0 0 50%;
        padding: 32px 20px;
    }

    /* Hide curve connectors — they don't work in a wrapped layout */
    .solution-connector {
        display: none;
    }

    /* — Top Menu: stack vertically — */
    .our-brands .top-menu {
        flex-direction: column;
    }
    .our-brands .top-menu .top-menu-item {
        padding: 32px 40px !important;
    }
    .our-brands .top-menu .top-menu-item__inner {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 24px;
    }
    .top-menu-item__icon,
    .top-menu-item__icon img {
        width: 180px !important;
        height: 180px !important;
    }
    .top-menu-item__icon img {
        margin-left: -40px !important;
        left: 25% !important;
    }
    .our-brands .top-menu .top-menu-item__inner h3 {
        font-size: 18px;
        margin: 0;
    }

    /* — our-brands header section — */
    .section-description-text {
        width: 90%;
    }
}

@media (max-width: 767px) {
    .container.hero-content.hero-content-an, .hero-section-2 .hero-content {
        padding-top: 180px !important;
    }
    .key-messaging {
        font-size: 1.5rem !important;
        line-height: 1.8rem !important;
        text-align: center;
    }

    /* — Solution Columns: single column — */
    .solution-col {
        width: 100%;
        flex: 0 0 100%;
        padding: 24px 20px;
    }

    /* — Top Menu: reduce padding further — */
    .our-brands .top-menu .top-menu-item {
        padding: 24px 24px !important;
    }
    .top-menu-item__icon,
    .top-menu-item__icon img {
        width: 180px !important;
        height: 180px !important;
    }
    .top-menu-item__icon img {
        margin-left: -32px !important;
    }

    /* — our-brands header section — */
    .section-description-text {
        width: 100%;
    }

    /* — List items: disable sticky stacking, let them flow — */
    .our-brands .section-list .list-item-wrap {
        position: relative;
        min-height: unset;
    }

    /* — Slide number stats grid: single column — */
    .slide-number > div {
        width: 100% !important;
    }
}

@media (max-width: 566px) {
    .key-messaging {
        flex-direction: column !important;
        margin-bottom: 50px !important;
    }
    .key-messaging .divider {
        transform: rotate(90deg);
    }
}

@media (max-width: 479px) {

    /* — Top Menu: compact on small phones — */
    .our-brands .top-menu .top-menu-item {
        padding: 20px 16px !important;
    }
    .our-brands .top-menu .top-menu-item__inner h3 {
        font-size: 16px;
    }
    .top-menu-item__icon,
    .top-menu-item__icon img {
        width: 130px !important;
        height: 130px !important;
    }
    .top-menu-item__icon img {
        margin-left: -25% !important;
    }

    /* — our-brands intro — */
    .our-brands-content .home-tabs-btn-wrap .btn.btn-secondary {
        width: 100%;
        justify-content: center;
    }
}

/* ========================================================================================================================
   CONTENT ACCORDION (+ REVERSED) — RESPONSIVE STYLES
   ======================================================================================================================== */

   @media (max-width: 991px) {

    /* Tighten the two-column gap before it fully collapses */
    .content-accordion__wrapper {
        column-gap: 40px;
        align-items: flex-start;
    }

    /* Scale h2 down one step */
    .content-accordion h2 {
        font-size: 38px;
        line-height: 1.2;
    }

    /* Tighten item padding */
    .content-accordion__item-wrapper {
        padding: 24px 28px;
    }
}

@media (max-width: 767px) {

    /* Stack columns — already handled at 768px in existing CSS,
       this reinforces and extends it at our standard breakpoint */
    .content-accordion__wrapper {
        flex-direction: column;
        column-gap: 0;
    }

    /* Cancel row-reverse on the reversed variant when stacked */
    .content-accordion--reversed .content-accordion__wrapper {
        flex-direction: column;
    }

    /* h2 already at 32px in existing 768px rule — keep it */

    /* Desc font size */
    .content-accordion__desc {
        font-size: 16px;
    }

    /* Mobile image: add bottom margin for spacing above accordion list */
    .content-accordion__col--image.mobile-show {
        margin-bottom: 28px;
        width: 100%;
    }

    /* Accordion item wrapper padding */
    .content-accordion__item-wrapper {
        padding: 20px 16px;
    }

    /* Item header h3 */
    .content-accordion__item-header h3 {
        font-size: 17px;
    }
}

@media (max-width: 479px) {

    /* h2 tightest size on small phones */
    .content-accordion h2 {
        font-size: 28px;
        line-height: 1.2;
    }

    /* Item padding */
    .content-accordion__item-wrapper {
        padding: 16px 14px;
    }

    /* Number badge slightly smaller */
    .content-accordion__number {
        width: 30px;
        height: 30px;
        min-width: 30px;
        font-size: 13px;
    }

    /* Check items: tighten gap on small phones */
    .content-accordion__check-item {
        column-gap: 8px;
        font-size: 14px;
    }
}

/* ============================================================
   COOL SOLUTION BLOCK (3-col) — RESPONSIVE STYLES
   ============================================================ */

   @media (max-width: 991px) {

    /* Single column */
    .cool-solution__columns {
        flex-wrap: wrap;
    }
    .cool-solution__col {
        width: 100%;
        padding: 24px 16px;
    }

    .cool-solution__col-desc {
        width: 100%;
    }

    .cool-solution__col-icon {
        width: 130px;
        height: 130px;
    }

    /* Hide connectors */
    .cool-solution__connector {
        display: none;
    }
}

@media (max-width: 479px) {

    .cool-solution__col {
        padding: 20px 12px;
    }

    .cool-solution__col-icon {
        width: 110px;
        height: 110px;
        margin-bottom: 20px;
    }
}

/* ============================================================
   COOL SOLUTION 4-COL BLOCK — RESPONSIVE STYLES
   ============================================================ */

   @media (max-width: 991px) {

    /* Single column */
    .cool-solution-4col__columns {
        flex-wrap: wrap;
        gap: 0;
    }
    .cool-solution-4col__col {
        width: 100%;
        flex: 0 0 100%;
        padding: 24px 16px;
    }

    .cool-solution-4col__col-icon {
        width: 130px;
        height: 130px;
    }

    /* Hide connectors */
    .cool-solution-4col__connector {
        display: none;
    }
}

@media (max-width: 479px) {

    .cool-solution-4col__col {
        padding: 20px 12px;
    }

    .cool-solution-4col__col-icon {
        width: 110px;
        height: 110px;
        margin-bottom: 20px;
    }
}

/* ============================================================
   CASE STUDIES GRID + SECTION — RESPONSIVE STYLES
   ============================================================ */

   @media (max-width: 991px) {

    .case-studies {
        padding-top: 80px;
        margin-top: 1px;
    }

    /* 2-up flex wrap */
    .case-studies__grid {
        flex-wrap: wrap;
    }
    .case-studies__card {
        width: calc(50% - 16px);
    }

    .case-studies h2 {
        margin-bottom: 32px;
    }
    .case-studies__subtitle {
        margin-bottom: 40px;
    }
}

@media (max-width: 767px) {

    .case-studies {
        padding-top: 60px;
    }

    /* Single column */
    .case-studies__grid {
        flex-direction: column;
        gap: 24px;
    }
    .case-studies__card {
        width: 100%;
    }

    .case-studies__btn-wrap {
        padding-bottom: 60px;
    }
}

@media (max-width: 479px) {

    .case-studies__card-body {
        padding: 16px;
    }
    .case-studies__card-title {
        font-size: 16px;
    }
    .case-studies__btn-wrap {
        padding-bottom: 40px;
    }
}

/* ============================================================
   TESTIMONIALS 2 (campaign) — RESPONSIVE STYLES
   ============================================================ */

   @media (max-width: 991px) {

    .campaign {
        padding-top: 80px;
    }

    /* Stack image above content */
    .campaign .campaign-slide__wrapper {
        flex-direction: column;
        margin: 40px 20px;
        column-gap: 0;
    }

    /* Image: full width, centred */
    .campaign .campaign-img__wrapper {
        width: auto;
        margin: 0 auto;
    }
    .campaign .campaign-img__wrapper img {
        max-height: 419px;
        margin: 0 auto;
    }

    /* Background card: fill the content area below the image */
    .campaign .campaign-bg {
        width: 100%;
        height: calc(100% - 242px);
        transform: none;
        top: unset;
        bottom: 0;
    }

    /* Content wrapper */
    .campaign .campaign-content__wrapper {
        padding: 32px 24px;
    }

    /* Content text width: release the 85% constraint */
    .campaign .campaign-content__wrapper .campaign-content {
        width: 100%;
    }

    /* Nav: hide pagination, centre arrows */
    .campaign .swiper-slide {
        padding: 0;
    }
    .campaign .swiper-pagination {
        display: none;
    }
    .campaign .nav-holder {
        justify-content: center;
        padding: 16px 20px;
        margin-bottom: 60px;
    }
}

@media (max-width: 767px) {

    .campaign .campaign-slide__wrapper {
        margin: 24px 0;
    }

    .campaign .campaign-content p {
        font-size: 16px;
    }

    /* Buttons: stack vertically */
    .campaign .btn-holder {
        flex-direction: column;
        gap: 12px;
    }
    .campaign .btn-holder .primary-btn,
    .campaign .btn-holder .secondary-btn {
        width: 100%;
        justify-content: center;
    }

    .campaign .icons-holder {
        margin-bottom: 24px;
    }

    .campaign .nav-holder {
        margin-bottom: 40px;
    }
}

@media (max-width: 479px) {

    .campaign .campaign-content__wrapper {
        padding: 24px 16px;
    }

    .campaign .campaign-content p {
        font-size: 15px;
        margin-bottom: 20px;
    }

    .campaign .btn-holder .primary-btn,
    .campaign .btn-holder .secondary-btn {
        font-size: 15px;
        padding: 12px 20px 9px;
    }
}

/* ============================================================
   RESOURCES (CREATIONS) PAGE — RESPONSIVE STYLES
   ============================================================ */
   @media (max-width: 992px) {
    .filter-block .filter-block-wrapper .filters .filters-mobile-btn {
        display: none !important;
    }
    .filter-block .filter-block-wrapper .filter-buttons .search-wrapper input {
        width: 100%;
    }
    .filter-block .filter-block-wrapper .filter-buttons {
        align-items: baseline;
    }
    .header-navbar ul li.current-menu-item {
        background: none !important;
    }
}

   @media (max-width: 991px) {

    .header-navbar ul li.current-menu-item a, .menu-item.menu-item-type-post_type.menu-item-object-page.current-menu-item.page_item.page-item-16178.current_page_item a {
        color: #219F9E !important;
    }

    /* Filter bar: allow post-type buttons and search to wrap */
    .filter-block .filter-block-wrapper .filter-buttons {
        flex-wrap: wrap;
    }

    /* Search wrapper: take full row width when wrapped */
    .filter-block .filter-block-wrapper .filter-buttons .search-wrapper {
        flex: 1 1 100%;
        justify-content: flex-start;
    }

    /* Search input: fill available space */
    .filter-block .filter-block-wrapper .filter-buttons .search-wrapper input {
        flex: 1;
    }

    /* Results grid: 2-col stays as-is (already default), fine at tablet */
}

@media (max-width: 767px) {

    /* Filter bar: stack everything, tight gap */
    .filter-block .filter-block-wrapper {
        padding: 32px 16px 16px !important;
    }
    .filter-block .filter-block-wrapper .filter-buttons {
        gap: 10px;
    }

    /* Search input + button sit flush together */
    .filter-block .filter-block-wrapper .filter-buttons .search-wrapper {
        gap: 6px;
    }
    .filter-block .filter-block-wrapper .filter-buttons .search-wrapper input {
        flex: 1;
        min-width: 0;
    }

    /* Hide "Show advanced search settings" — filters are shown inline */
    .filters-mobile-btn a.show-btn {
        display: none;
    }

    /* Results grid: single column */
    #filter-results {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 479px) {
    .post-nav {
        align-items: baseline !important;
        flex-direction: column;
        gap: 30px;
    }

    /* Post type buttons: stretch full width */
    .post-type-buttons {
        width: 100%;
    }
    .post-type-btn {
        flex: 1;
        text-align: center;
        padding: 10px 12px;
        font-size: 15px;
    }

    /* Search submit: don't shrink */
    .search-submit {
        padding: 10px 14px;
        font-size: 15px;
        white-space: nowrap;
    }
}

/* ============================================================
   CTA FOOTER BANNER — RESPONSIVE STYLES
   ============================================================ */

   @media (max-width: 991px) {
    .cool-solution-4col__col-desc {
        width: 80%;
    }

    /* Reduce outer padding and pull-up offset */
    .cta-footer-banner {
        padding: 40px 24px 0;
    }
    .cta-footer-banner__outline {
        margin-top: -100px;
    }

    /* Tighten inner padding and gap */
    .cta-footer-banner__inner {
        padding: 32px 36px;
        gap: 24px;
    }

    /* Release the right margin on text */
    .cta-footer-banner__text {
        margin-right: 0;
        margin-bottom: 40px;
    }

    /* Scale back the decorative offset border */
    .cta-footer-banner__outline-border {
        transform: translate(16px, 16px);
    }
}

@media (max-width: 767px) {
    .custom-spacer-130px {
        height: 100px;
    }
    .custom-spacer-80px, .custom-spacer-100px {
        height: 60px;
    }

    /* Stack: centered column */
    .cta-footer-banner__inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 28px 24px;
        gap: 20px;
    }

    .cta-footer-banner__text p {
        font-size: 16px;
    }

    /* Hide decorative offset border — clips awkwardly when stacked
    .cta-footer-banner__outline-border {
        display: none;
    }*/
}

@media (max-width: 479px) {
    .phv-feature-video-wrapper {
        bottom: -100px;
    }

    .cta-footer-banner {
        padding: 32px 16px 0;
    }
    .cta-footer-banner__outline {
        margin-top: -60px;
    }
    .cta-footer-banner__inner {
        padding: 24px 16px;
    }

    .cta-footer-banner__icon img {
        width: 72px;
    }

    .cta-footer-banner__text p {
        font-size: 15px;
    }
}