.wc-companies-area .brand-logo-item img {
    filter: unset;
    -webkit-filter: unset;
}

.wc-companies-area .brand-logo-item:hover {
    box-shadow: none;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    -ms-box-shadow: none;
    -o-box-shadow: none;
}

.wc-companies-area .brand-logo-item:hover img {
    filter: unset;
    -webkit-filter: unset;
}

/* Fix 1: Replace 'stretch' - not supported on iOS */
.logo-section .col {
    height: auto;
    align-self: stretch; /* this works cross-browser */
}

/* Fix 2: Replace align-content with flex-direction: column */
.logo-section-container {
    height: 100%;
    display: flex;
    flex-direction: column;      /* stack title on top, logo on bottom */
    justify-content: space-between; /* works reliably on iOS */
    align-items: center;         /* replaces justify-content: center */
    flex-wrap: nowrap;
}

.logo-section-title {
    height: 56px;
}

.logo-section-item {
    margin-top: auto;
    margin-bottom: auto;
}

.wc-pricing-col > div {
    min-height: 270px;
}

#counter-section:not(.wc-home-stats) .col {
    justify-items: center;
    text-align: center;
}

/* Home index — stats ribbon (dark premium strip on light section) */
.wc-key-features-area {
    overflow: hidden;
    background:
        linear-gradient(145deg, #023d2c 0%, var(--wc-primary) 42%, #012a1f 100%);
    box-shadow:
        0 4px 0 rgba(255, 255, 255, 0.06) inset,
        0 28px 64px rgba(1, 41, 31, 0.35);
}
.wc-home-stats.wc-home-stats-ribbon {
    position: relative;
    padding: clamp(2rem, 5vw, 3.25rem);
    /* border-radius: 24px; */

}

.wc-home-stats-ribbon-glow {
    position: absolute;
    inset: -40% -20% auto auto;
    width: min(90vw, 520px);
    height: min(90vw, 520px);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(125, 206, 160, 0.28) 0%, transparent 68%);
    pointer-events: none;
}

.wc-home-stats-ribbon-noise {
    position: absolute;
    inset: 0;
    opacity: 0.07;
    background-image: url('../images/shape/shape-border-grid.png');
    background-size: auto;
    background-repeat: repeat;
    pointer-events: none;
    mix-blend-mode: overlay;
}

.wc-home-stats-ribbon-kicker {
    display: inline-block;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.72);
    margin-bottom: 0.75rem;
}

.wc-home-stats-ribbon-heading {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.15;
    color: #fff;
    text-wrap: balance;
}

.wc-home-stats-ribbon-lead {
    font-size: clamp(0.9rem, 1.6vw, 1rem);
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.78);
    max-width: 28rem;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 992px) {
    .wc-home-stats-ribbon-lead {
        margin-left: 0;
    }
}

.wc-home-stats-ribbon-intro {
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
}

.wc-home-stats-ribbon-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

@media (min-width: 992px) {
    .wc-home-stats-ribbon-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 14px;
    }
}

.wc-stat-pill {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.25rem 0.85rem 1.35rem;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0.04) 100%);
    border: 1px solid rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.wc-stat-pill::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.35), transparent 45%, transparent);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0.7;
}

.wc-stat-pill:hover {
    transform: translateY(-4px);
    border-color: rgba(125, 206, 160, 0.45);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.28);
}

.wc-stat-pill-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-bottom: 0.65rem;
    border-radius: 12px;
    font-size: 1.1rem;
    color: #cff5dc;
    background: rgba(0, 0, 0, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.wc-stat-pill-label {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.58);
    margin: 0 0 0.4rem;
}

.wc-home-stats-ribbon .wc-stat-pill-counter.counter {
    flex-wrap: wrap;
    justify-content: center;
    align-items: baseline;
    gap: 4px;
}

.wc-home-stats-ribbon .wc-stat-pill-counter .counter-value {
    display: inline-flex;
    align-items: baseline;
    gap: 4px;
    white-space: nowrap;
}

.wc-home-stats-ribbon .wc-stat-pill-counter .counter-prefix,
.wc-home-stats-ribbon .wc-stat-pill-counter .odometer {
    font-size: clamp(1.8rem, 4.6vw, 2.6rem);
    font-weight: 700;
    line-height: 1.1;
    color: #fff !important;
    text-shadow: 0 2px 24px rgba(0, 0, 0, 0.25);
}

.wc-home-stats-ribbon .wc-stat-pill-counter .counter-suffix {
    font-size: clamp(0.95rem, 2.2vw, 1.2rem);
    line-height: 1.2;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.88) !important;
    align-self: flex-end;
    padding-bottom: 0.12em;
}

@media (prefers-reduced-motion: reduce) {
    .wc-stat-pill:hover {
        transform: none;
    }
}

.wc-about-area > figure > img {
    opacity: 0.5;;
}

.wc-contact-card-area .col {
    height: stretch;
}

.wc-contact-card-area .card {
    height: 100%;
}

.accommodation-section .col {
    height: stretch;
}

#media-content {
    text-align: justify;
}

#media-content img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0;
}

/* Makes all media embeds responsive 16:9 */
.ck-content figure.media,
figure.media {
    width: 100%;
    aspect-ratio: 16 / 9;
}

figure.media > div,
figure.media iframe {
    width: 100% !important;
    height: 300px !important;
}

@media (min-width: 768px) { 
    figure.media > div,
    figure.media iframe {
        height: 400px !important;
    }
}

@media (min-width: 992px) {
    figure.media > div,
    figure.media iframe {
        height: 300px !important;
    }
}

@media (min-width: 1200px) {
    figure.media > div,
    figure.media iframe {
        height: 400px !important;
    }
}

@media (min-width: 1400px) {
    figure.media > div,
    figure.media iframe {
        height: 470px !important;
    }
}


.bg-platinum {
    background-color: #E5E4E2 !important;
}

.bg-gold {
    background-color: #D4AF37 !important;
}

.bg-silver {
    background-color: #C0C0C0 !important;
}

.bg-bronze {
    background-color: #CD7F32 !important;
}


.iti {
    width: 100% !important;
    display: block;
}

.iti input.phone-input {
    width: 100% !important;
}

.iti__country-container,
.iti__dropdown-content {
    z-index: 1065 !important;
}


.select2-container--bootstrap-5 .select2-selection {
    min-height: calc(1.5em + .75rem + 21px) !important;
}

.select2-container--bootstrap-5 .select2-selection--single .select2-selection__rendered {
    line-height: 2.5 !important;
}

.select2-container--bootstrap-5.select2-container--focus .select2-selection, .select2-container--bootstrap-5.select2-container--open .select2-selection {
    outline: 0;
    box-shadow: 0px 0px 0px 1px var(--wc-primary);
    border-color: var(--wc-primary);
}

.select2-container--bootstrap-5 .select2-dropdown .select2-search .select2-search__field:focus {
    outline: 0;
    box-shadow: 0px 0px 0px 1px var(--wc-primary);
    border-color: var(--wc-primary);
}

.select2-container--bootstrap-5 .select2-dropdown {
    border-color: var(--wc-primary);
}

.select2-container--bootstrap-5 .select2-dropdown .select2-results__options .select2-results__option.select2-results__option--selected, .select2-container--bootstrap-5 .select2-dropdown .select2-results__options .select2-results__option[aria-selected=true]:not(.select2-results__option--highlighted) {
    background-color: var(--wc-primary);
    color: var(--wc-white);
}


.form-check .form-check-input[type="checkbox"] ~ .form-check-label::before {
    background-color: var(--bs-body-bg);
}

.small-image {
    width: 100%;
    height: 420px;
    object-fit: cover;
}

@media screen and (max-width: 991.98px) {
    .small-image {
        height: 350px;
    }
}

@media screen and (max-width: 767.98px) {
    .small-image {
        height: 300px;
    }
}

@media screen and (max-width: 768px) {
    .wc-auth-area.common-section {
        padding-bottom: 40px;
    }
}

/* ============================================================
   COUNTDOWN — PREMIUM REDESIGN
   ============================================================ */

/* Override old circle-based rules */
.countdown-container .circle,
.countdown-container .time-label,
.countdown-container .time-unit,
.countdown-container .circle svg,
.countdown-container .circle circle,
.countdown-container .circle .bg,
.countdown-container .circle .progress {
    all: unset;
    display: none !important;
}

/* Brochure download section */
.wc-brochure-download-section {
    position: relative;
    overflow: hidden;
    padding: 64px 0 0;
    background:
        linear-gradient(180deg, #ffffff 0%, var(--wc-light-alt) 100%);
}

.wc-brochure-download-panel {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: clamp(1.35rem, 3vw, 2rem);
    border: 1px solid rgba(1,89,65,0.14);
    border-left: 10px solid var(--wc-primary);
    border-radius: 24px;
    background: rgba(255,255,255,0.94);
    box-shadow:
        0 22px 60px rgba(1,41,31,0.12),
        inset 0 1px 0 rgba(255,255,255,0.9);
    overflow: hidden;
}

.wc-brochure-download-panel::before {
    content: '';
    position: absolute;
    right: 24px;
    top: 50%;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: rgba(1,89,65,0.06);
    transform: translateY(-50%);
    pointer-events: none;
}

.wc-brochure-copy {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 22px;
}

.wc-brochure-icon {
    width: clamp(72px, 10vw, 96px);
    height: clamp(72px, 10vw, 96px);
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    color: var(--wc-black-green);
    background: var(--wc-brand);
    border-radius: 22px;
    box-shadow: 0 14px 34px rgba(236,235,65,0.28);
}

.wc-brochure-icon i {
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1;
}

.wc-brochure-title {
    position: relative;
    z-index: 2;
    font-size: clamp(1.8rem, 4vw, 3.8rem);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -0.05em;
    color: var(--wc-black-green);
    margin-bottom: 0;
    text-wrap: balance;
}

.wc-brochure-download-panel .wc-btn {
    position: relative;
    z-index: 2;
    flex-shrink: 0;
}

@media (max-width: 991px) {
    .wc-brochure-download-panel {
        align-items: stretch;
        flex-direction: column;
    }

    .wc-brochure-download-panel .wc-btn {
        justify-content: center;
        width: fit-content;
    }
}

@media (max-width: 575px) {
    .wc-brochure-copy {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* Section wrapper */
.wc-countdown-section {
    padding-top: 70px;
    padding-bottom: 70px;
    background-color: var(--wc-light-alt);
    /* background-image: url('../images/shape/shape-border-grid.png'); */
    background-size: auto;
    background-repeat: repeat;
    background-blend-mode: multiply;
    overflow: hidden;
    position: relative;
}

.wc-countdown-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 60% at 50% 100%, rgba(1,89,65,0.13) 0%, transparent 70%);
    pointer-events: none;
}

/* Heading block */
.countdown-wrapper {
    position: relative;
    z-index: 2;
}

.countdown-heading-wrap {
    margin-bottom: 48px;
}

.countdown-eyebrow {
    display: inline-block;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--wc-primary);
    background: rgba(1,89,65,0.10);
    border: 1px solid rgba(1,89,65,0.18);
    padding: 5px 18px;
    border-radius: 100px;
    margin-bottom: 14px;
}

.countdown-main-title {
    font-size: 52px;
    font-weight: 800;
    color: var(--wc-black-green);
    line-height: 1.1;
    margin-bottom: 12px;
    font-family: var(--wc-ff-heading);
}

@media (min-width: 768px) {
    .countdown-main-title { font-size: 72px; }
}
@media (min-width: 1200px) {
    .countdown-main-title { font-size: 88px; }
}

.countdown-subtitle {
    font-size: 32px;
    color: var(--wc-muted);
    margin: 0;
    font-weight: 700;
}

/* ---- Countdown container ---- */
.countdown-container {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 0;
    flex-wrap: nowrap;
    width: auto !important;
    border-radius: 0 !important;
    background: none !important;
    margin-bottom: 0 !important;
}

/* ---- Individual block ---- */
.countdown-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

/* ---- The card ---- */
.countdown-card {
    position: relative;
    width: 130px;
    height: 130px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, #003d2b 0%, #015941 55%, #026b4f 100%);
    border-radius: 22px;
    border: 1px solid rgba(236,235,65,0.22);
    box-shadow:
        0 8px 32px rgba(1,89,65,0.28),
        0 2px 8px rgba(0,0,0,0.18),
        inset 0 1px 0 rgba(255,255,255,0.08);
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.countdown-card:hover {
    transform: translateY(-4px);
    box-shadow:
        0 16px 48px rgba(1,89,65,0.38),
        0 4px 12px rgba(0,0,0,0.22),
        inset 0 1px 0 rgba(255,255,255,0.10);
}

/* Animated top accent line */
.countdown-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, #eceb41 50%, transparent 100%);
    border-radius: 22px 22px 0 0;
    opacity: 0.9;
}

/* Radial glow */
.countdown-glow {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(236,235,65,0.30) 0%, transparent 70%);
    pointer-events: none;
    animation: cdGlowPulse 2.4s ease-in-out infinite alternate;
}

@keyframes cdGlowPulse {
    from { opacity: 0.5; transform: translateX(-50%) scale(0.9); }
    to   { opacity: 1;   transform: translateX(-50%) scale(1.2); }
}

.countdown-number {
    position: relative;
    z-index: 2;
    font-family: var(--wc-ff-number);
    font-size: 54px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1;
    letter-spacing: -2px;
    text-shadow: 0 2px 12px rgba(236,235,65,0.25);
}

/* ---- Label below card ---- */
.countdown-label {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--wc-primary);
}

/* ---- Separator dots ---- */
.countdown-sep {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 0 12px;
    margin-bottom: 28px; /* aligns vertically with card centre */
}

.sep-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--wc-primary);
    opacity: 0.5;
    animation: cdSepBlink 1s ease-in-out infinite alternate;
}
.sep-dot:nth-child(2) {
    animation-delay: 0.5s;
}
@keyframes cdSepBlink {
    from { opacity: 0.25; }
    to   { opacity: 0.85; }
}

/* ---- Responsive ---- */
@media (max-width: 991px) {
    .countdown-card {
        width: 110px;
        height: 110px;
        border-radius: 18px;
    }
    .countdown-number {
        font-size: 44px;
    }
}

@media (max-width: 767px) {
    .wc-countdown-section {
        padding-top: 50px;
        padding-bottom: 50px;
    }
    .countdown-container {
        gap: 0;
    }
    .countdown-card {
        width: 78px;
        height: 78px;
        border-radius: 14px;
    }
    .countdown-number {
        font-size: 30px;
        letter-spacing: -1px;
    }
    .countdown-label {
        font-size: 9px;
        letter-spacing: 1.5px;
    }
    .countdown-sep {
        padding: 0 6px;
        gap: 6px;
        margin-bottom: 22px;
    }
    .sep-dot {
        width: 5px;
        height: 5px;
    }
}

@media (max-width: 420px) {
    .countdown-card {
        width: 64px;
        height: 64px;
        border-radius: 11px;
    }
    .countdown-number {
        font-size: 24px;
        letter-spacing: -0.5px;
    }
    .countdown-sep {
        padding: 0 4px;
    }
}

/* ---- CSP-friendly utilities (no HTML style="") ---- */
.igem-border-bottom-dashed {
    border-bottom-style: dashed !important;
}
.igem-border-style-dashed {
    border-style: dashed;
}
.igem-min-h-100 {
    min-height: 100%;
}
.igem-h-1px {
    height: 1px;
}
.igem-lh-15 {
    line-height: 1.5;
}
.igem-newsletter-icon-mt {
    margin-top: 3px;
}
.igem-newsletter-submit-m {
    margin: 8px;
}
.igem-map-iframe {
    width: 100% !important;
    border: 0 !important;
}

/* Hero slick autoplay progress — class-driven (avoids jQuery .css under strict CSP) */
@keyframes igem-wc-hero-progress-fill {
    from {
        width: 0%;
    }
    to {
        width: 100%;
    }
}
.wc-slider-progress-bar.igem-hero-progress-run {
    width: 0%;
    animation: igem-wc-hero-progress-fill 4000ms linear forwards;
}

/* ParallaxScroll (vendors.js): transform lives in CSS; JS only sets --ps-* variables */
[data-parallax] {
    --ps-x: 0px;
    --ps-y: 0px;
    --ps-z: 0px;
    --ps-rx: 0deg;
    --ps-ry: 0deg;
    --ps-rz: 0deg;
    --ps-sx: 1;
    --ps-sy: 1;
    --ps-sz: 1;
    transform: translate3d(var(--ps-x), var(--ps-y), var(--ps-z)) rotateX(var(--ps-rx)) rotateY(var(--ps-ry))
        rotateZ(var(--ps-rz)) scaleX(var(--ps-sx)) scaleY(var(--ps-sy)) scaleZ(var(--ps-sz));
    -webkit-transform: translate3d(var(--ps-x), var(--ps-y), var(--ps-z)) rotateX(var(--ps-rx))
        rotateY(var(--ps-ry)) rotateZ(var(--ps-rz)) scaleX(var(--ps-sx)) scaleY(var(--ps-sy)) scaleZ(var(--ps-sz));
}

.wc-services-area .services-stroke-text[data-parallax] {
    transform: translateY(-50%) translate3d(var(--ps-x), var(--ps-y), var(--ps-z)) rotateX(var(--ps-rx))
        rotateY(var(--ps-ry)) rotateZ(var(--ps-rz)) scaleX(var(--ps-sx)) scaleY(var(--ps-sy)) scaleZ(var(--ps-sz));
    -webkit-transform: translateY(-50%) translate3d(var(--ps-x), var(--ps-y), var(--ps-z)) rotateX(var(--ps-rx))
        rotateY(var(--ps-ry)) rotateZ(var(--ps-rz)) scaleX(var(--ps-sx)) scaleY(var(--ps-sy)) scaleZ(var(--ps-sz));
}

[data-parallax-perspective] {
    perspective: var(--ps-perspective, 800px);
    -webkit-perspective: var(--ps-perspective, 800px);
}

/* Dots.generate (vendors.js): layout + appearance in CSS; JS sets --mp-* / --dot-* only */
@property --dot-top {
    syntax: "<length-percentage>";
    inherits: false;
    initial-value: 0px;
}
@property --dot-left {
    syntax: "<length-percentage>";
    inherits: false;
    initial-value: 0px;
}
@property --dot-size {
    syntax: "<length-percentage>";
    inherits: false;
    initial-value: 7px;
}
@property --dot-op {
    syntax: "<number>";
    inherits: false;
    initial-value: 1;
}
@property --dot-bg {
    syntax: "<color>";
    inherits: false;
    initial-value: transparent;
}

.moving-particles {
    position: relative;
    overflow: hidden;
    width: var(--mp-w, 100%);
    height: var(--mp-h, 100%);
    box-sizing: border-box;
}

.moving-particles__dot {
    position: absolute;
    top: var(--dot-top);
    left: var(--dot-left);
    width: var(--dot-size);
    height: var(--dot-size);
    border-radius: 50%;
    background-color: var(--dot-bg);
    opacity: var(--dot-op);
    box-sizing: border-box;
    pointer-events: none;
}

/* cursorFollower (main.js): JS sets --cf-x/--cf-y on #cursor-follower only */
.wc-contact-text-area #cursor-follower {
    left: var(--cf-x, 50%);
    top: var(--cf-y, 50%);
}
