.cp-widget-container {
    font-family: inherit;
}

/* Header Section */
.cp-header-section.cp-header-classic-dark,
.cp-header-section:not(.cp-header-un-hybrid) {
    /* Fallback background, usually overridden by Elementor settings */
    background-color: #0b3d2c;
    background-image: radial-gradient(circle, rgba(255,255,255,0.08) 2px, transparent 2px);
    background-size: 20px 20px;
    color: #ffffff;
    padding: 60px 40px;
    border-radius: 20px;
    text-align: center;
    margin-bottom: 40px;
}

.cp-header-icon {
    font-size: 40px;
    color: #4ade80;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

.cp-header-icon svg {
    width: 40px;
    height: 40px;
    fill: #4ade80;
}

.cp-header-section.cp-header-classic-dark .cp-heading,
.cp-header-section:not(.cp-header-un-hybrid) .cp-heading {
    font-size: 32px;
    font-weight: 700;
    margin: 0 0 15px 0;
    color: #ffffff;
}

.cp-header-section.cp-header-classic-dark .cp-description,
.cp-header-section:not(.cp-header-un-hybrid) .cp-description {
    font-size: 16px;
    color: #a0b6ae;
    max-width: 600px;
    margin: 0 auto 30px auto;
    line-height: 1.6;
}

.cp-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.cp-tag {
    background-color: #145942;
    color: #4ade80;
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 500;
}

/* =========================================
   UN SDG Master Hybrid Header (Recommended)
   ========================================= */
.cp-header-section.cp-header-un-hybrid {
    background-color: #ffffff !important;
    background-image: none !important;
    padding: 0 !important;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 4px 20px rgba(16, 26, 46, 0.04);
    margin-bottom: 40px;
}

/* Top UN Blue Ribbon Bar */
.cp-un-ribbon {
    background-color: #009EDB;
    padding: 10px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.cp-un-ribbon-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.cp-un-ribbon-flag {
    font-size: 14px;
    line-height: 1;
}

.cp-un-ribbon-right {
    font-size: 10px;
    letter-spacing: 1px;
    opacity: 0.95;
    font-weight: 700;
}

/* UN Card Body Content */
.cp-un-body {
    padding: 36px 32px 32px;
}

.cp-header-un-hybrid .cp-sdg-logo-wrap {
    margin-bottom: 18px;
    display: flex;
    justify-content: center;
}

.cp-header-un-hybrid .cp-sdg-logo {
    height: 46px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    display: block;
}

.cp-header-un-hybrid .cp-heading {
    font-size: 26px;
    font-weight: 800;
    color: #0f172a !important;
    margin: 0 0 10px 0;
    letter-spacing: -0.3px;
    line-height: 1.3;
}

.cp-header-un-hybrid .cp-description {
    font-size: 14px;
    color: #475569 !important;
    max-width: 660px;
    margin: 0 auto 24px auto;
    line-height: 1.6;
}

/* 6 Official SDG Tiles Grid */
.cp-sdg-tiles-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 14px;
    max-width: 860px;
    margin: 0 auto 16px auto;
}

.cp-sdg-tile {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(16, 26, 46, 0.06);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    background-color: #f8fafc;
}

.cp-sdg-tile:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 12px 24px rgba(16, 26, 46, 0.14);
}

.cp-sdg-tile img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}

.cp-sdg-tagline {
    font-size: 11px;
    font-weight: 600;
    color: #94a3b8;
    margin-top: 10px;
    letter-spacing: 0.3px;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .cp-sdg-tiles-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
        max-width: 520px;
    }
    .cp-header-un-hybrid .cp-heading {
        font-size: 22px;
    }
}

@media (max-width: 767px) {
    .cp-un-ribbon {
        flex-direction: column;
        gap: 4px;
        text-align: center;
        padding: 8px 16px;
    }
    .cp-un-ribbon-right {
        font-size: 9px;
    }
    .cp-un-body {
        padding: 24px 16px;
    }
    .cp-sdg-tiles-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .cp-header-un-hybrid .cp-sdg-logo {
        height: 36px;
    }
    .cp-header-un-hybrid .cp-heading {
        font-size: 20px;
    }
}

/* Cards Grid */
.cp-cards-grid {
    display: grid;
    /* Fallback grid if Elementor styles aren't loaded */
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    align-items: stretch;
}

.cp-card {
    background: #ffffff;
    border: 1px solid #f0f0f0;
    border-radius: 14px;
    padding: 0;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    text-decoration: none; 
    color: inherit;
    height: 100%;
}

.cp-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(16, 26, 46, 0.08);
}

/* Focus styles for accessibility */
.cp-card:focus-visible {
    outline: 3px solid #087b5b;
    outline-offset: 2px;
}

/* Cover Image Wrapper - Clean Design A */
.cp-card-img-wrap {
    position: relative;
    width: 100%;
    height: 210px;
    overflow: hidden;
    background-color: #f1f5f9;
}

.cp-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 15%;
    display: block;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.cp-card:hover .cp-card-img {
    transform: scale(1.04);
}

/* Card Body Content */
.cp-card-body {
    padding: 22px 24px 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.cp-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}

.cp-program-type {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cp-status-badge {
    font-size: 10px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    text-transform: uppercase;
}

.cp-card-title-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.cp-country-flag {
    width: 24px;
    height: auto;
    border-radius: 3px;
    object-fit: cover;
}

.cp-country-name {
    font-size: 20px;
    font-weight: 700;
    margin: 0;
    color: #111827;
}

.cp-card-description {
    font-size: 14px;
    color: #6b7280;
    margin: 0;
    line-height: 1.5;
}

/* =========================================
   SDG Goal Cards Layout (Modern Humanitarian)
   ========================================= */
.cp-card.cp-card-sdg-mode {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(16, 26, 46, 0.04);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.cp-card.cp-card-sdg-mode:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 32px -8px rgba(16, 26, 46, 0.12), 0 4px 8px -2px rgba(16, 26, 46, 0.04);
}

/* Fallback Cover Placeholder */
.cp-card-img-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background-size: cover;
}

.cp-card-placeholder-pattern {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(0, 0, 0, 0.06) 1.5px, transparent 1.5px);
    background-size: 16px 16px;
}

.cp-card-placeholder-badge {
    position: relative;
    z-index: 2;
    padding: 6px 16px;
    border-radius: 20px;
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

/* SDG Card Header */
.cp-card-sdg-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 12px;
}

.cp-card-sdg-main {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cp-card-sdg-tile {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    object-fit: contain;
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.cp-card-sdg-titles {
    display: flex;
    flex-direction: column;
}

.cp-card-goal-num {
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    line-height: 1;
    margin-bottom: 3px;
}

.cp-card-title-wrap .cp-sdg-card-title,
.cp-sdg-card-title {
    font-size: 17px;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
    line-height: 1.25;
}

.cp-card-pillar-badge {
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    padding: 4px 9px;
    border-radius: 20px;
    white-space: nowrap;
    flex-shrink: 0;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

/* Active Countries Chips */
.cp-card-countries-wrap {
    margin-top: auto;
    padding-top: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.cp-card-countries-label {
    font-size: 11px;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    flex-shrink: 0;
}

.cp-card-countries-tags {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.cp-card-country-chip {
    background-color: #f8fafc;
    color: #334155;
    font-size: 11px;
    font-weight: 600;
    padding: 2.5px 8px;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
    display: inline-flex;
    align-items: center;
    line-height: 1.4;
}

/* Card Action Footer */
.cp-card-footer {
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
}

.cp-card-action-text {
    font-weight: 700;
    transition: color 0.2s ease;
}

.cp-card-action-arrow {
    font-size: 14px;
    font-weight: 800;
    transition: transform 0.25s ease;
}

.cp-card:hover .cp-card-action-arrow {
    transform: translateX(4px);
}

/* =========================================
   SDG Card Style 2: UN Color Top Band (Selected)
   ========================================= */
.cp-card.cp-card-style-2 {
    border-radius: 18px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    height: 100%;
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.cp-card.cp-card-style-2:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 36px -8px rgba(15, 23, 42, 0.12), 0 4px 8px -2px rgba(15, 23, 42, 0.04);
}

/* 1. Cover Photo at Top of Card */
.cp-card-style-2 .cp-card-img-wrap {
    width: 100%;
    height: 210px;
    position: relative;
    overflow: hidden;
    background-color: #f1f5f9;
    border-top-left-radius: 18px;
    border-top-right-radius: 18px;
}

.cp-card-style-2 .cp-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 15%;
    display: block;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.cp-card-style-2:hover .cp-card-img {
    transform: scale(1.04);
}

/* 2. UN Goal Color Band Underneath Photo (No Tile Clutter) */
.cp-card-color-band {
    padding: 11px 18px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    color: #ffffff;
    min-height: 40px;
    border-radius: 0;
}

.cp-card-band-title {
    font-size: 11.5px;
    font-weight: 900;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    line-height: 1.25;
    color: #ffffff;
}

.cp-card-band-icon-wrap {
    display: none !important;
}

/* 3. Body */
.cp-card-style-2 .cp-card-body {
    padding: 18px 20px 14px 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.cp-card-style-2 .cp-card-description {
    font-size: 13.5px;
    color: #475569;
    line-height: 1.55;
    margin: 0 0 14px 0;
}

.cp-card-style-2 .cp-card-countries-wrap {
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.cp-card-style-2 .cp-card-country-chip {
    font-size: 11px;
    font-weight: 700;
    padding: 3.5px 9px;
    border-radius: 6px;
    border: 1px solid;
    display: inline-flex;
    align-items: center;
    line-height: 1.35;
}

/* 4. Action Footer (Concept No. 1 Style) */
.cp-card-style-2 .cp-card-footer {
    padding: 14px 20px 16px 20px;
    border-top: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    margin-top: auto;
}

.cp-card-style-2 .cp-card-action-text {
    font-size: 12px;
    font-weight: 700;
    transition: color 0.2s ease;
}

.cp-card-style-2 .cp-card-action-arrow {
    font-size: 14px;
    font-weight: 800;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.cp-card-style-2:hover .cp-card-action-arrow {
    transform: translateX(4px);
}

/* Responsive adjustments for header padding */
@media (max-width: 767px) {
    .cp-header-section {
        padding: 40px 20px;
    }
}

/* =========================================
   Service Cards Widget (Widget 2)
   ========================================= */

.sc-widget-container {
    font-family: inherit;
    width: 100%;
}

.sc-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.sc-card {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 32px 28px;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
    box-sizing: border-box;
}

.sc-card:hover, .sc-card.is-featured {
    transform: translateY(-8px);
    box-shadow: 0 20px 35px -10px rgba(16, 185, 129, 0.12);
    border-color: #10b981;
}

/* Focus styles for accessibility */
.sc-card:focus-visible {
    outline: 3px solid #10b981;
    outline-offset: 2px;
}

.sc-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    background-color: #ecfdf5;
    border-radius: 12px;
    margin-bottom: 22px;
    transition: background-color 0.3s ease, color 0.3s ease, fill 0.3s ease;
}

.sc-icon svg {
    width: 24px;
    height: 24px;
    fill: #10b981;
    transition: fill 0.3s ease;
}
.sc-icon i {
    font-size: 24px;
    color: #10b981;
    transition: color 0.3s ease;
}

.sc-card:hover .sc-icon,
.sc-card.is-featured .sc-icon {
    background-color: #10b981;
}

.sc-card:hover .sc-icon svg,
.sc-card.is-featured .sc-icon svg {
    fill: #ffffff;
}

.sc-card:hover .sc-icon i,
.sc-card.is-featured .sc-icon i {
    color: #ffffff;
}

.sc-title {
    font-size: 20px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 10px 0;
    transition: color 0.3s ease;
}

.sc-card:hover .sc-title,
.sc-card.is-featured .sc-title {
    color: #10b981;
}

.sc-description {
    font-size: 14px;
    color: #64748b;
    margin: 0 0 24px 0;
    line-height: 1.6;
    flex-grow: 1;
}

.sc-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #10b981;
    text-decoration: none;
    margin-top: auto;
    transition: color 0.2s ease;
}

.sc-card:hover .sc-link {
    text-decoration: underline;
}

.sc-link svg {
    fill: #10b981;
    transition: transform 0.2s ease, fill 0.2s ease;
}

.sc-card:hover .sc-link svg {
    transform: translateX(4px);
}

@media (max-width: 1024px) {
    .sc-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .sc-cards-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .sc-card {
        padding: 24px 20px;
    }
}


/* =========================================
   Process Steps Widget (Widget 3)
   ========================================= */

.ps-widget-container {
    font-family: inherit;
    width: 100%;
}

.ps-steps-wrapper {
    display: grid;
    /* Elementor Responsive Control takes over column count and gaps */
    /* Fallbacks: */
    grid-template-columns: repeat(6, 1fr);
    column-gap: 20px;
    row-gap: 40px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 1024px) {
    .ps-steps-wrapper { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 767px) {
    .ps-steps-wrapper { grid-template-columns: 1fr; }
}

.ps-step {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.ps-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background-color: #f0f9f4;
    border: 2px solid #145942;
    border-radius: 50%;
    margin-bottom: 20px;
}

.ps-icon i { font-size: 32px; color: #145942; }
.ps-icon svg { width: 32px; height: 32px; fill: #145942; }

.ps-title { font-size: 18px; font-weight: 700; color: #1f2937; margin: 0 0 10px 0; }
.ps-description { font-size: 14px; color: #94a3b8; line-height: 1.5; margin: 0; }

.ps-arrow {
    position: absolute;
    top: 40px; /* Overridden by Elementor based on icon size */
    right: -10px; /* Overridden by Elementor based on column gap */
    transform: translate(50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.ps-arrow svg {
    fill: #cbd5e1;
    width: 20px;
    height: 20px;
}

.ps-arrow-down { display: none; }

@media (max-width: 1024px) and (min-width: 768px) {
    /* Option 3: Snake Layout (Only applied when enabled for 6 items) */
    
    /* Reverse visual order of Row 2 (items 4, 5, 6) */
    .ps-snake-layout .ps-step:nth-child(4) { order: 6; }
    .ps-snake-layout .ps-step:nth-child(5) { order: 5; }
    .ps-snake-layout .ps-step:nth-child(6) { order: 4; }
    
    /* Item 3 points DOWN to Item 4 */
    .ps-snake-layout .ps-step:nth-child(3) .ps-arrow { 
        top: auto !important;
        right: 50% !important;
        bottom: -20px !important;
        transform: translate(50%, 50%) !important;
    }
    .ps-snake-layout .ps-step:nth-child(3) .ps-arrow-right { display: none; }
    .ps-snake-layout .ps-step:nth-child(3) .ps-arrow-down { display: block; }
    
    /* Item 4 and 5 point LEFT instead of right */
    .ps-snake-layout .ps-step:nth-child(4) .ps-arrow,
    .ps-snake-layout .ps-step:nth-child(5) .ps-arrow {
        right: auto !important;
        left: -10px;
        transform: translate(-50%, -50%);
    }
    .ps-snake-layout .ps-step:nth-child(4) .ps-arrow-right,
    .ps-snake-layout .ps-step:nth-child(5) .ps-arrow-right {
        transform: rotate(180deg);
    }
}

@media (max-width: 767px) {
    .ps-step { order: 0 !important; } /* Reset order on mobile */
    .ps-arrow {
        top: auto !important;
        bottom: -20px;
        right: 50% !important;
        left: auto !important;
        transform: translate(50%, 50%) !important;
    }
    .ps-arrow-right { display: none !important; }
    .ps-arrow-down { display: block !important; }
    
    .ps-hide-mobile-arrows .ps-arrow {
        display: none !important;
    }
}


/* =========================================
   PARTNER MARQUEE WIDGET
   ========================================= */

.pm-widget-container {
    overflow: hidden;
}

.pm-header {
    text-align: center;
    margin-bottom: 40px;
}

.pm-subtitle {
    display: block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 8px;
}

.pm-title {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
}

.pm-marquee-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.pm-fade-left, .pm-fade-right {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100px;
    z-index: 2;
    pointer-events: none;
}
.pm-fade-left {
    left: 0;
}
.pm-fade-right {
    right: 0;
}

@keyframes pm-marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.pm-marquee-track {
    display: flex;
    min-width: 200%;
    width: max-content;
    animation: pm-marquee 20s linear infinite;
}

.pm-pause-hover:hover {
    animation-play-state: paused;
}

.pm-marquee-group {
    display: flex;
    align-items: center;
    justify-content: space-around;
    flex: 1;
}

.pm-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.pm-logo a {
    display: flex;
    align-items: center;
    justify-content: center;
}

.pm-logo img {
    width: auto;
    object-fit: contain;
}

.pm-logo-text {
    font-size: 24px;
    font-weight: 900;
    margin: 0;
}

/* Hover & Grayscale Logic */
.pm-logo.pm-gray {
    filter: grayscale(100%) opacity(60%);
}
.pm-logo.pm-hover-color:hover {
    filter: grayscale(0%) opacity(100%);
    transform: scale(1.05);
}

/* =========================================
   SECURE PAYMENT BADGE WIDGET
   ========================================= */

.pb-widget-container {
    display: flex;
    width: 100%;
}

.pb-inner {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.pb-inner.pb-inline {
    flex-direction: row;
    align-items: center;
}

.pb-inner.pb-stacked {
    flex-direction: column;
    align-items: center;
}

.pb-label {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.pb-lock svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.pb-text {
    font-size: 13px;
    color: #94a3b8;
    white-space: nowrap;
}

.pb-gateways {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.pb-gateway {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.pb-gateway a {
    display: flex;
    align-items: center;
    justify-content: center;
}

.pb-gateway img {
    height: 24px;
    width: auto;
    object-fit: contain;
}

.pb-gateway-text {
    font-size: 14px;
    font-weight: 700;
    color: #64748b;
}

.pb-gateway.pb-gray {
    filter: grayscale(100%);
}
.pb-gateway.pb-gray:hover {
    filter: grayscale(0%);
}

.pb-sep {
    display: block;
    width: 1px;
    height: 20px;
    flex-shrink: 0;
}

/* =========================================
   IMPACT JOURNEY WIDGET
   ========================================= */

.ij-widget-container {
    font-family: inherit;
    width: 100%;
}

.ij-steps-wrapper {
    display: flex;
    flex-direction: column;
}

.ij-step {
    display: flex;
    flex-direction: row;
}

.ij-icon-col {
    position: relative;
    flex-shrink: 0;
    width: 64px;
    margin-right: 30px;
}

.ij-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: 2px solid;
    background-color: #ffffff;
    z-index: 2;
    position: relative;
    transition: all 0.3s ease;
}

.ij-icon svg { width: 24px; height: 24px; }
.ij-icon i { font-size: 24px; }

/* The vertical connecting line */
.ij-icon-col::after {
    content: '';
    position: absolute;
    top: 64px;
    bottom: 0; /* Stretches to bottom of column */
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    background-color: #e2e8f0;
    z-index: 1;
}

/* Hide line for last item */
.ij-step:last-child .ij-icon-col::after {
    display: none;
}

.ij-content {
    flex: 1;
    padding-top: 4px; /* Align cap height of title with top of circle */
    padding-bottom: 40px; /* Vertical gap between steps */
}

.ij-step:last-child .ij-content {
    padding-bottom: 0;
}

.ij-title {
    font-size: 22px;
    font-weight: 800;
    margin: 0 0 12px 0;
    line-height: 1.2;
}

.ij-desc {
    font-size: 16px;
    line-height: 1.6;
    color: #64748b;
    margin: 0;
}

@media (max-width: 767px) {
    .ij-icon-col {
        width: 48px;
        margin-right: 20px;
    }
    .ij-icon {
        width: 48px;
        height: 48px;
    }
    .ij-icon svg { width: 18px; height: 18px; }
    .ij-icon i { font-size: 18px; }
    
    .ij-icon-col::after { top: 48px; }
    
    .ij-content {
        padding-top: 0px; /* Align cap height on mobile */
        padding-bottom: 30px;
    }
    
    .ij-title { font-size: 18px; margin-bottom: 8px; }
    .ij-desc { font-size: 15px; }
}

/* =========================================
   COUNTRY BUBBLES WIDGET
   ========================================= */

.cb-widget-container {
    font-family: inherit;
    width: 100%;
}

.cb-bubbles-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
}

/* Base item styles */
.cb-item {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    text-decoration: none;
    transition: all 0.3s ease;
    box-sizing: border-box;
    box-shadow: 0 4px 10px -2px rgba(0, 0, 0, 0.05);
}
.cb-item:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 25px -5px rgba(16, 185, 129, 0.15); /* Soft green glow */
    border-color: #10b981;
    z-index: 10;
}

/* -----------------------------
   BUBBLE LAYOUT 
   ----------------------------- */
.cb-item.cb-layout-bubble {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    text-align: center;
    padding: 20px;
}
.cb-item.cb-layout-bubble .cb-flag {
    margin-bottom: 12px;
}
.cb-item.cb-layout-bubble .cb-emoji {
    font-size: 32px;
    line-height: 1;
}
.cb-item.cb-layout-bubble .cb-img {
    height: 32px;
    width: auto;
    object-fit: contain;
}
.cb-item.cb-layout-bubble .cb-title {
    font-size: 18px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 4px 0;
}
.cb-item.cb-layout-bubble .cb-desc {
    font-size: 14px;
    color: #64748b;
    margin: 0;
    line-height: 1.4;
}

/* -----------------------------
   PILL LAYOUT 
   ----------------------------- */
.cb-item.cb-layout-pill {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    padding: 8px 16px;
    border-radius: 8px;
    width: auto;
    height: auto;
}
.cb-item.cb-layout-pill .cb-dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    background-color: #10b981;
    border-radius: 50%;
    margin-right: 8px;
    flex-shrink: 0;
}
.cb-item.cb-layout-pill .cb-flag {
    margin-bottom: 0;
    margin-right: 8px;
    display: flex;
    align-items: center;
}
.cb-item.cb-layout-pill .cb-emoji {
    font-size: 16px;
    line-height: 1;
}
.cb-item.cb-layout-pill .cb-img {
    height: 16px;
    width: auto;
    object-fit: contain;
}
.cb-item.cb-layout-pill .cb-title {
    font-size: 14px;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
}

@media (max-width: 767px) {
    .cb-bubbles-wrapper { gap: 12px; }
    
    .cb-item.cb-layout-bubble {
        width: 150px;
        height: 150px;
        padding: 10px;
    }
    .cb-item.cb-layout-bubble .cb-flag { margin-bottom: 8px; }
    .cb-item.cb-layout-bubble .cb-emoji { font-size: 24px; }
    .cb-item.cb-layout-bubble .cb-img { height: 24px; }
    .cb-item.cb-layout-bubble .cb-title { font-size: 16px; }
    .cb-item.cb-layout-bubble .cb-desc { font-size: 12px; }
    
    .cb-item.cb-layout-pill {
        padding: 6px 14px;
    }
    .cb-item.cb-layout-pill .cb-title { font-size: 13px; }
}

/* =========================================
   STAFF GRID WIDGET
   ========================================= */
.sg-widget-container {
    font-family: inherit;
    width: 100%;
}

.sg-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.sg-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 220px; /* Base width for natural centering */
    text-decoration: none;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.sg-item:hover {
    transform: scale(1.05);
}

.sg-avatar {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    border: 2px solid #e2e8f0;
    background-color: #f8fafc;
    overflow: hidden;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.3s ease;
}

.sg-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 15%;
    transform: scale(var(--sg-item-zoom, var(--sg-img-zoom, 1.55))) translate(var(--sg-item-x, var(--sg-img-x, 0%)), var(--sg-item-y, var(--sg-img-y, 6%)));
    display: block;
    transition: transform 0.3s ease;
}

.sg-item:hover .sg-avatar {
    border-color: #10b981;
    box-shadow: 0 0 0 1px #10b981; /* Creates a 3px visual border without layout shift */
}

.sg-title {
    font-size: 18px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 4px 0;
    line-height: 1.25;
}

.sg-position {
    font-size: 14px;
    font-weight: 600;
    color: #087b5b;
    margin: 0 0 3px 0;
    line-height: 1.35;
}

.sg-subtitle {
    font-size: 13px;
    color: #64748b;
    margin: 0;
    line-height: 1.3;
}

@media (max-width: 1024px) {
    .sg-item { width: calc(50% - 15px); }
}

@media (max-width: 767px) {
    .sg-grid { gap: 40px; }
    .sg-item { width: 100%; }
    .sg-avatar { width: 140px; height: 140px; margin-bottom: 16px; }
    .sg-title { font-size: 17px; }
    .sg-subtitle { font-size: 14px; }
}

/* =========================================
   COMPLIANCE CARDS WIDGET
   ========================================= */
.cc-widget-container {
    font-family: inherit;
    width: 100%;
}

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

.cc-card {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 32px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.cc-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.05);
    border-color: #10b981;
}

.cc-icon-wrap {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background-color: #ecfdf5;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: background-color 0.3s ease;
}

.cc-icon-wrap i {
    font-size: 24px;
    color: #10b981;
}

.cc-icon-wrap svg {
    width: 28px;
    height: 28px;
    fill: #10b981;
}

.cc-title {
    font-size: 18px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 8px 0;
    line-height: 1.3;
}

.cc-subtitle {
    font-size: 14px;
    color: #64748b;
    margin: 0;
    line-height: 1.5;
}

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

@media (max-width: 767px) {
    .cc-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .cc-card {
        padding: 24px 16px;
    }
    
    .cc-icon-wrap {
        width: 56px;
        height: 56px;
        margin-bottom: 20px;
    }
    
    .cc-icon-wrap i { font-size: 20px; }
    .cc-icon-wrap svg { width: 24px; height: 24px; }
    
    .cc-title { font-size: 16px; }
    .cc-subtitle { font-size: 13px; }
}

/* =========================================
   CONTACT FORM WIDGET
   ========================================= */

.cf-widget-container {
    display: flex;
    justify-content: center;
    width: 100%;
    font-family: inherit;
}

.cf-card {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 48px 40px;
    width: 100%;
    max-width: 760px;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.03);
    box-sizing: border-box;
}

.cf-header {
    text-align: left;
    margin-bottom: 28px;
}

.cf-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 4px 12px;
    border-radius: 9999px;
    background-color: #ecfdf5;
    border: 1px solid #d1fae5;
    color: #047857;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}

.cf-badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #10b981;
}

.cf-title {
    font-size: 28px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 8px 0;
    line-height: 1.25;
}

.cf-subtitle {
    font-size: 15px;
    color: #64748b;
    margin: 0;
    line-height: 1.5;
}

.cf-input-icon-wrap {
    position: relative;
    width: 100%;
}

.cf-input-icon-wrap .cf-input-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: #94a3b8;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cf-input-icon-wrap .cf-input-icon svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.cf-input-icon-wrap .cf-input {
    padding-left: 42px;
}

.cf-label-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 8px;
}

.cf-label-row .cf-label {
    margin-bottom: 0;
}

.cf-char-count {
    font-size: 12px;
    color: #94a3b8;
    font-variant-numeric: tabular-nums;
    transition: color 0.2s ease;
}

.cf-char-count.is-warning {
    color: #f59e0b;
    font-weight: 700;
}

.cf-consent-wrap {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: -4px;
    margin-bottom: 16px;
}

.cf-consent-checkbox {
    width: 16px;
    height: 16px;
    margin-top: 2px;
    accent-color: #10b981;
    cursor: pointer;
    flex-shrink: 0;
}

.cf-consent-label {
    font-size: 12px;
    color: #475569;
    line-height: 1.5;
    cursor: pointer;
    user-select: none;
}

.cf-consent-label a {
    color: #10b981;
    text-decoration: underline;
    text-underline-offset: 2px;
    font-weight: 600;
}

.cf-consent-label a:hover {
    color: #059669;
}

.cf-footer-status {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: #94a3b8;
    padding-top: 14px;
    margin-bottom: 18px;
    border-top: 1px solid #f1f5f9;
}

.cf-autosave-indicator {
    display: flex;
    align-items: center;
    gap: 6px;
}

.cf-autosave-indicator svg {
    width: 13px;
    height: 13px;
    fill: #10b981;
}

.iltizam-contact-form {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.cf-row {
    display: flex;
    gap: 20px;
    width: 100%;
    margin-bottom: 20px;
}

.cf-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.cf-field {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-bottom: 20px;
}

.cf-label {
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 8px;
    display: block;
}

.cf-req {
    color: #ef4444;
    margin-left: 2px;
}

.cf-input,
.cf-select,
.cf-textarea {
    width: 100%;
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 13px 16px;
    font-size: 15px;
    color: #0f172a;
    font-family: inherit;
    box-sizing: border-box;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.cf-input::placeholder,
.cf-textarea::placeholder {
    color: #94a3b8;
}

.cf-input:focus,
.cf-select:focus,
.cf-textarea:focus {
    border-color: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
}

.cf-input.is-invalid,
.cf-select.is-invalid,
.cf-textarea.is-invalid {
    border-color: #ef4444 !important;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15) !important;
}

.cf-select-wrap {
    position: relative;
    width: 100%;
}

.cf-select {
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    padding-right: 44px;
    background-color: #ffffff;
}

.cf-select-arrow {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: #64748b;
}

.cf-textarea {
    resize: vertical;
    min-height: 120px;
    line-height: 1.5;
}

.cf-submit-wrap {
    margin-top: 6px;
    margin-bottom: 0;
}

.cf-submit-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    background-color: #10b981;
    color: #ffffff;
    border: 1px solid transparent;
    border-radius: 10px;
    padding: 16px 24px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.1s ease, box-shadow 0.2s ease;
    font-family: inherit;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.2);
}

.cf-submit-btn:hover {
    background-color: #059669;
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
}

.cf-submit-btn:active {
    transform: scale(0.99);
}

.cf-submit-btn.is-loading {
    opacity: 0.75;
    cursor: not-allowed;
}

.cf-btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.cf-btn-icon svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

/* Notice / Alert styling */
.cf-notice {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    border-radius: 10px;
    margin-bottom: 24px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.45;
    animation: cfFadeIn 0.3s ease-in-out;
}

@keyframes cfFadeIn {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: translateY(0); }
}

.cf-notice-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.cf-notice-success {
    background-color: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #047857;
}

.cf-notice-error {
    background-color: #fef2f2;
    border: 1px solid #fecaca;
    color: #b91c1c;
}

@media (max-width: 767px) {
    .cf-card {
        padding: 32px 20px;
        border-radius: 16px;
    }
    .cf-header {
        margin-bottom: 24px;
    }
    .cf-title {
        font-size: 24px;
    }
    .cf-row {
        flex-direction: column;
        gap: 20px;
        margin-bottom: 0;
    }
    .cf-col {
        margin-bottom: 20px;
    }
    .cf-submit-btn {
        padding: 14px 20px;
        font-size: 15px;
    }
}

/* =========================================
   Contact Info & Bank Details Cards (Equal Height)
   ========================================= */
.elementor-widget-iltizam_contact_info,
.elementor-widget-iltizam_bank_details {
    height: 100%;
}

.elementor-widget-iltizam_contact_info .elementor-widget-container,
.elementor-widget-iltizam_bank_details .elementor-widget-container {
    height: 100%;
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
}

.ci-card {
    border: 2px solid #10b981;
    border-radius: 15px;
    padding: 30px;
    background-color: #ffffff;
    height: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
}
.ci-card-title {
    font-size: 20px;
    font-weight: 700;
    color: #1e293b;
    margin-top: 0;
    margin-bottom: 25px;
}
.ci-items-wrap {
    display: flex;
    flex-direction: column;
    gap: 24px;
    justify-content: flex-start;
}
.ci-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}
.ci-icon-box {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background-color: #ecfdf5;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.ci-icon-box i {
    font-size: 20px;
    color: #10b981;
}
.ci-icon-box svg {
    width: 20px;
    height: 20px;
    fill: #10b981;
}
.ci-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.ci-label {
    font-size: 11px;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.ci-value {
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.5;
}

/* =========================================
   Bank Details Card Widget
   ========================================= */
.bd-card {
    border: 2px solid #10b981;
    border-radius: 15px;
    padding: 30px;
    background-color: #ffffff;
    height: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
}
.bd-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}
.bd-icon i {
    font-size: 22px;
    color: #10b981;
}
.bd-icon svg {
    width: 22px;
    height: 22px;
    fill: #10b981;
}
.bd-title {
    font-size: 20px;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
}
.bd-desc {
    font-size: 14px;
    color: #64748b;
    margin-bottom: 25px;
    line-height: 1.6;
}
.bd-acc-name-box {
    background-color: #ecfdf5;
    border-radius: 10px;
    padding: 15px 20px;
    margin-bottom: 20px;
}
.bd-label {
    font-size: 11px;
    font-weight: 600;
    color: #10b981;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}
.bd-value {
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
}
.bd-banks-wrap {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 25px;
}
.bd-bank-box {
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}
.bd-bank-main {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}
.bd-bank-logo-wrap {
    width: 44px;
    height: 44px;
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
    flex-shrink: 0;
    box-shadow: 0 1px 3px rgba(0,0,0,0.03);
}
.bd-bank-logo {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
}
.bd-bank-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}
.bd-bank-name {
    font-size: 11px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.bd-bank-acc {
    font-size: 17px;
    font-weight: 700;
    color: #0f172a;
    font-family: monospace, monospace;
    letter-spacing: 1px;
}
.bd-copy-btn {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    color: #64748b;
    cursor: pointer;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    transition: all 0.2s ease;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}
.bd-copy-btn svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    fill: none;
    display: block;
}
.bd-copy-btn:hover {
    color: #10b981;
    background: #ecfdf5;
    border-color: #a7f3d0;
}
.bd-copy-tooltip {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-5px);
    background: #1e293b;
    color: white;
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 4px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s, transform 0.2s;
    pointer-events: none;
}
.bd-copy-btn.copied .bd-copy-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}
.bd-footer {
    font-size: 12px;
    color: #94a3b8;
    margin-top: auto;
    padding-top: 16px;
}

/* intl-tel-input override */
.iti {
    width: 100%;
}
.iti__country-list {
    z-index: 100 !important;
}

/* =========================================
   THE MINIMALIST READER (POLICY & Q&A WIDGET)
   ========================================= */
.tr-reader-widget {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    font-family: inherit;
    box-sizing: border-box;
}

/* Optional Slim Sticky Top Progress Line */
.tr-sticky-line {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background-color: transparent;
    z-index: 999999;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

body.admin-bar .tr-sticky-line {
    top: 32px;
}

@media screen and (max-width: 782px) {
    body.admin-bar .tr-sticky-line {
        top: 46px;
    }
}

.tr-sticky-fill {
    height: 100%;
    width: 0%;
    background-color: #10b981;
    transition: width 0.1s ease-out;
}

/* Reader Main Content Header */
.tr-header {
    text-align: center;
    margin-bottom: 36px;
    padding: 0 16px;
}

.tr-title {
    font-size: 34px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 10px 0;
    line-height: 1.25;
}

.tr-subtitle {
    font-size: 15px;
    color: #64748b;
    margin: 0 auto;
    max-width: 620px;
    line-height: 1.6;
}

/* Reading Content Card */
.tr-reader-card {
    width: 100%;
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
}

/* Progress Bar Embedded on the Card Top Border */
.tr-card-progress-track {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background-color: #f1f5f9;
}

.tr-card-progress-fill {
    height: 100%;
    width: 0%;
    background-color: #10b981;
    transition: width 0.1s ease-out;
}

.tr-section-header {
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 16px;
    margin-bottom: 28px;
}

.tr-section-title {
    font-size: 24px;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
    letter-spacing: -0.3px;
}

/* Items List */
.tr-qna-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.tr-qna-item {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.tr-qna-question {
    font-size: 17px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.45;
    margin: 0;
    display: flex;
    align-items: flex-start;
    gap: 6px;
}

.tr-qna-answer {
    background-color: #f8fafc;
    border: 1px solid #f1f5f9;
    border-radius: 14px;
    padding: 18px 22px;
    font-size: 14px;
    color: #475569;
    line-height: 1.65;
}

.tr-qna-answer-prefix {
    font-weight: 700;
    color: #1e293b;
    margin-right: 4px;
}

/* Reader Footer Callout */
.tr-reader-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #f1f5f9;
    padding-top: 24px;
    margin-top: 36px;
    font-size: 13px;
    color: #64748b;
    flex-wrap: wrap;
    gap: 12px;
}

.tr-reader-footer a {
    color: #10b981;
    font-weight: 700;
    text-decoration: none;
}

.tr-reader-footer a:hover {
    text-decoration: underline;
}

.tr-back-to-top {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 22px;
    font-family: var(--e-global-typography-primary-font-family, 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
    cursor: pointer;
    border-radius: 99px; /* Pill shape matching staging theme buttons */
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-sizing: border-box;
    text-decoration: none;
    user-select: none;
}

/* Preset 1: Theme Soft Emerald Pill (Default - Matches staging .ac-btn) */
.tr-back-to-top,
.tr-back-to-top.tr-btn-theme_soft {
    background: #ecfdf5;
    color: #059669;
    border: 1.5px solid #059669;
    box-shadow: 0 2px 6px rgba(5, 150, 105, 0.08);
}

.tr-back-to-top:hover,
.tr-back-to-top.tr-btn-theme_soft:hover {
    background: #059669;
    color: #ffffff;
    border-color: #059669;
    box-shadow: 0 6px 16px rgba(5, 150, 105, 0.28);
    transform: translateY(-2px);
}

/* Preset 2: Theme Solid Emerald Pill (Matches primary CTA) */
.tr-back-to-top.tr-btn-theme_solid {
    background: #059669;
    color: #ffffff;
    border: 1.5px solid #059669;
    box-shadow: 0 3px 10px rgba(5, 150, 105, 0.25);
}

.tr-back-to-top.tr-btn-theme_solid:hover {
    background: #047857;
    border-color: #047857;
    color: #ffffff;
    box-shadow: 0 6px 18px rgba(4, 120, 87, 0.35);
    transform: translateY(-2px);
}

/* Preset 3: Theme White / Slate Pill (Matches staging Bank Transfer button) */
.tr-back-to-top.tr-btn-theme_outline {
    background: #ffffff;
    color: #1f2937;
    border: 1.5px solid #d7e0ea;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.05);
}

.tr-back-to-top.tr-btn-theme_outline:hover {
    background: #ecfdf5;
    color: #059669;
    border-color: #059669;
    box-shadow: 0 4px 14px rgba(5, 150, 105, 0.15);
    transform: translateY(-2px);
}

.tr-back-to-top:active {
    transform: translateY(0);
}

.tr-back-to-top svg {
    width: 14px;
    height: 14px;
    stroke: currentColor;
    stroke-width: 2.2;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform 0.2s ease;
}

.tr-back-to-top:hover svg {
    transform: translateY(-2px);
}

@media (max-width: 767px) {
    .tr-reader-card {
        padding: 24px 18px;
        border-radius: 18px;
    }
    .tr-title {
        font-size: 26px;
    }
    .tr-qna-question {
        font-size: 15px;
    }
    .tr-qna-answer {
        padding: 14px 16px;
        font-size: 13px;
    }
}

/* =========================================
   ILTIZAM REPORTS & AUDITS SHOWCASE WIDGET
   ========================================= */
.ir-reports-widget {
    width: 100%;
    box-sizing: border-box;
    font-family: inherit;
}

/* Tabs Bar Wrapper */
.ir-tabs-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 32px;
    width: 100%;
}

/* Style 1: Capsule Pill (Default - Apple / Linear inspired) */
body .ir-reports-widget .ir-tabs-bar,
.ir-reports-widget .ir-tabs-bar {
    display: inline-flex !important;
    max-width: 100% !important;
    overflow-x: auto !important;
    background-color: #f1f5f9 !important;
    padding: 5px !important;
    border-radius: 9999px !important;
    border: 1px solid #e2e8f0 !important;
    gap: 4px !important;
    box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.04) !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
}

body .ir-reports-widget .ir-tabs-bar::-webkit-scrollbar,
.ir-reports-widget .ir-tabs-bar::-webkit-scrollbar {
    display: none !important;
}

/* Style 2: Floating Pills */
body .ir-reports-widget .ir-tabs-bar.ir-tabs-style-buttons,
.ir-reports-widget .ir-tabs-bar.ir-tabs-style-buttons {
    background-color: transparent !important;
    padding: 0 !important;
    border: none !important;
    box-shadow: none !important;
    gap: 8px !important;
}

body .ir-reports-widget .ir-tabs-style-buttons .ir-tab-btn,
.ir-reports-widget .ir-tabs-style-buttons .ir-tab-btn {
    background-color: #ffffff !important;
    border: 1.5px solid #e2e8f0 !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04) !important;
}

body .ir-reports-widget .ir-tabs-style-buttons .ir-tab-btn.ir-tab-active,
.ir-reports-widget .ir-tabs-style-buttons .ir-tab-btn.ir-tab-active {
    background-color: #d90b3f !important;
    border-color: #d90b3f !important;
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(217, 11, 63, 0.35) !important;
}

/* Style 3: Minimal Underline */
body .ir-reports-widget .ir-tabs-bar.ir-tabs-style-underline,
.ir-reports-widget .ir-tabs-bar.ir-tabs-style-underline {
    background-color: transparent !important;
    padding: 0 0 1px 0 !important;
    border: none !important;
    border-bottom: 2px solid #e2e8f0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    gap: 20px !important;
}

body .ir-reports-widget .ir-tabs-style-underline .ir-tab-btn,
.ir-reports-widget .ir-tabs-style-underline .ir-tab-btn {
    border-radius: 0 !important;
    padding: 8px 12px 12px 12px !important;
    border-bottom: 2.5px solid transparent !important;
    margin-bottom: -2px !important;
}

body .ir-reports-widget .ir-tabs-style-underline .ir-tab-btn.ir-tab-active,
.ir-reports-widget .ir-tabs-style-underline .ir-tab-btn.ir-tab-active {
    background-color: transparent !important;
    color: #d90b3f !important;
    border-bottom-color: #d90b3f !important;
    box-shadow: none !important;
    transform: none !important;
}

body .ir-reports-widget .ir-tabs-style-underline .ir-tab-btn.ir-tab-active .ir-tab-counter,
.ir-reports-widget .ir-tabs-style-underline .ir-tab-btn.ir-tab-active .ir-tab-counter {
    background-color: #fbe7ec !important;
    color: #d90b3f !important;
}

/* Bulletproof Button Reset for All Themes */
body .ir-reports-widget .ir-tab-btn,
body .ir-reports-widget button.ir-tab-btn,
.ir-reports-widget .ir-tab-btn,
.ir-reports-widget button.ir-tab-btn {
    border: 0 !important;
    border-width: 0 !important;
    border-style: none !important;
    border-color: transparent !important;
    outline: none !important;
    box-shadow: none !important;
    background: transparent !important;
    background-color: transparent !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    margin: 0 !important;
    border-radius: 9999px !important;
    padding: 9px 20px !important;
    font-family: inherit;
    font-size: 13.5px;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: #64748b;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
    white-space: nowrap !important;
    text-decoration: none !important;
    user-select: none !important;
    line-height: 1.25;
}

body .ir-reports-widget .ir-tab-btn:hover:not(.ir-tab-active),
.ir-reports-widget .ir-tab-btn:hover:not(.ir-tab-active) {
    color: #0f172a !important;
    background-color: rgba(255, 255, 255, 0.7) !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05) !important;
}

body .ir-reports-widget .ir-tab-btn.ir-tab-active,
body .ir-reports-widget button.ir-tab-btn.ir-tab-active,
.ir-reports-widget .ir-tab-btn.ir-tab-active,
.ir-reports-widget button.ir-tab-btn.ir-tab-active {
    background-color: #d90b3f !important;
    color: #ffffff !important;
    border-radius: 9999px !important;
    box-shadow: 0 4px 14px -2px rgba(217, 11, 63, 0.38), 0 1px 2px rgba(0, 0, 0, 0.08) !important;
    font-weight: 700;
    transform: translateY(-1px) !important;
}

/* Tab Counter Badge */
body .ir-reports-widget .ir-tab-counter,
.ir-reports-widget .ir-tab-counter {
    font-size: 11px !important;
    font-weight: 700 !important;
    padding: 2px 7.5px !important;
    border-radius: 9999px !important;
    background-color: #e2e8f0 !important;
    color: #64748b !important;
    line-height: 1.2 !important;
    transition: all 0.2s ease !important;
}

body .ir-reports-widget .ir-tab-active .ir-tab-counter,
.ir-reports-widget .ir-tab-active .ir-tab-counter {
    background-color: rgba(255, 255, 255, 0.25) !important;
    color: #ffffff !important;
}

/* Year Filter Bar */
.ir-year-filter-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f1f5f9;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.ir-year-filter-btns {
    display: flex;
    align-items: center;
    gap: 6px;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.ir-year-filter-btns::-webkit-scrollbar {
    display: none;
}

.ir-year-label {
    font-size: 12px;
    font-weight: 700;
    color: #94a3b8;
    margin-right: 4px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.ir-year-label svg {
    width: 12px;
    height: 12px;
    stroke: currentColor;
    flex-shrink: 0;
}

body .ir-reports-widget .ir-year-btn,
.ir-reports-widget .ir-year-btn {
    border: 0 !important;
    outline: none !important;
    box-shadow: none !important;
    border-radius: 9999px !important;
    padding: 5px 13px !important;
    font-size: 11.5px !important;
    font-weight: 700 !important;
    background-color: #f1f5f9 !important;
    color: #64748b !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 3px !important;
}

body .ir-reports-widget .ir-year-btn:hover,
.ir-reports-widget .ir-year-btn:hover {
    background-color: #e2e8f0 !important;
    color: #0f172a !important;
}

body .ir-reports-widget .ir-year-btn.ir-year-active,
.ir-reports-widget .ir-year-btn.ir-year-active {
    background-color: #0f172a !important;
    color: #ffffff !important;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.2) !important;
}

.ir-year-btn-count {
    font-size: 10px;
    opacity: 0.75;
}

.ir-count-label {
    font-size: 12px;
    color: #94a3b8;
    font-weight: 500;
}

.ir-count-number {
    font-weight: 700;
    color: #334155;
}

/* Panels */
.ir-panels-container {
    width: 100%;
}

.ir-panel {
    transition: opacity 0.2s ease;
}

.ir-panel.ir-panel-active {
    display: block;
    opacity: 1;
}

.ir-panel.ir-panel-hidden {
    display: none !important;
}

/* 1. Impact Reports Grid */
.ir-impact-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
    width: 100%;
}

@media (max-width: 1024px) {
    .ir-impact-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 18px;
    }
}

@media (max-width: 640px) {
    .ir-impact-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
}

.ir-impact-card {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.ir-impact-card:hover {
    transform: translateY(-4px);
}

.ir-cover-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 212 / 300;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(226, 232, 240, 0.85);
    background-color: #f8fafc;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.ir-impact-card:hover .ir-cover-wrap {
    box-shadow: 0 16px 32px -8px rgba(15, 23, 42, 0.14);
    border-color: #cbd5e1;
}

.ir-cover-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.ir-impact-card:hover .ir-cover-img {
    transform: scale(1.05);
}

/* Floating "View Flipbook" Hover Pill */
.ir-hover-pill {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    opacity: 0;
    pointer-events: none;
    background: rgba(15, 23, 42, 0.88);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 9999px;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 5;
}

.ir-impact-card:hover .ir-hover-pill {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.ir-hover-pill svg {
    width: 14px;
    height: 14px;
    stroke: currentColor;
    flex-shrink: 0;
}

.ir-cover-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    background: #f1f5f9;
}

.ir-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 10.5px;
    font-weight: 800;
    padding: 3px 9px;
    border-radius: 9999px;
    line-height: 1.2;
    z-index: 2;
    letter-spacing: 0.2px;
}

.ir-badge-country {
    background-color: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    color: #0f172a;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.6);
}

.ir-badge-programme {
    background-color: #10b981;
    color: #ffffff;
    box-shadow: 0 2px 6px rgba(16, 185, 129, 0.3);
}

.ir-badge-annual {
    background-color: #d90b3f;
    color: #ffffff;
    box-shadow: 0 2px 6px rgba(217, 11, 63, 0.3);
}

.ir-impact-info {
    margin-top: 10px;
}

.ir-impact-title {
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s ease;
}

.ir-impact-card:hover .ir-impact-title {
    color: #d90b3f;
}

.ir-impact-flag {
    margin-right: 4px;
    display: inline-block;
}

.ir-impact-year {
    font-size: 12px;
    color: #64748b;
    font-weight: 600;
    margin: 3px 0 0 0;
}

/* 2. Financial Reports Grid */
.ir-financial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    width: 100%;
}

@media (max-width: 900px) {
    .ir-financial-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .ir-financial-grid {
        grid-template-columns: 1fr;
    }
}

.ir-fin-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    border-radius: 16px;
    border: 1.5px solid #e2e8f0;
    background-color: #ffffff;
    text-decoration: none;
    color: inherit;
    transition: all 0.25s ease;
    box-sizing: border-box;
}

.ir-fin-card:hover {
    border-color: #d90b3f;
    box-shadow: 0 8px 24px rgba(217, 11, 63, 0.08);
    transform: translateY(-2px);
}

.ir-fin-icon-box {
    width: 48px;
    height: 54px;
    border-radius: 12px;
    background-color: #fbe7ec;
    color: #d90b3f;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.ir-fin-icon-box svg {
    width: 24px;
    height: 28px;
    display: block;
    transition: transform 0.2s ease;
}

.ir-fin-card:hover .ir-fin-icon-box {
    transform: scale(1.06);
}

.ir-fin-content {
    flex: 1;
    min-width: 0;
}

.ir-fin-title {
    font-size: 15px;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.2s ease;
}

.ir-fin-card:hover .ir-fin-title {
    color: #d90b3f;
}

.ir-fin-subtitle {
    font-size: 12px;
    color: #64748b;
    margin: 3px 0 0 0;
}

.ir-fin-download {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    flex-shrink: 0;
}

.ir-fin-download svg {
    width: 15px;
    height: 15px;
    stroke: currentColor;
    display: block;
    transition: transform 0.2s ease;
}

.ir-fin-card:hover .ir-fin-download {
    color: #ffffff !important;
    background-color: #d90b3f !important;
    border-color: #d90b3f !important;
    box-shadow: 0 4px 12px rgba(217, 11, 63, 0.35) !important;
    transform: translateY(-1px);
}

.ir-fin-card:hover .ir-fin-download svg {
    transform: translateY(1px);
}

/* 3. Corporate Documents Grid */
.ir-corporate-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
}

@media (max-width: 640px) {
    .ir-corporate-grid {
        grid-template-columns: 1fr;
    }
}

.ir-corp-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 22px;
    border-radius: 16px;
    border: 1.5px solid #e2e8f0;
    background-color: #ffffff;
    text-decoration: none;
    color: inherit;
    transition: all 0.25s ease;
    box-sizing: border-box;
}

.ir-corp-card:hover {
    border-color: #d90b3f;
    box-shadow: 0 8px 24px rgba(217, 11, 63, 0.08);
    transform: translateY(-2px);
}

.ir-corp-icon-box {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background-color: #f1f5f9;
    color: #334155;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.ir-corp-icon-box svg {
    width: 22px;
    height: 22px;
    stroke: currentColor;
    display: block;
}

.ir-corp-card:hover .ir-corp-icon-box {
    background-color: #d90b3f;
    color: #ffffff;
}

.ir-corp-content {
    flex: 1;
    min-width: 0;
}

.ir-corp-title {
    font-size: 15px;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
    transition: color 0.2s ease;
}

.ir-corp-card:hover .ir-corp-title {
    color: #d90b3f;
}

.ir-corp-desc {
    font-size: 12px;
    color: #64748b;
    margin: 3px 0 0 0;
}

.ir-corp-arrow {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.ir-corp-arrow svg {
    width: 15px;
    height: 15px;
    stroke: currentColor;
    display: block;
    transition: transform 0.2s ease;
}

.ir-corp-card:hover .ir-corp-arrow {
    color: #d90b3f;
}

.ir-corp-card:hover .ir-corp-arrow svg {
    transform: translateX(3px);
}

/* 4. Disclaimer Footer */
.ir-disclaimer-wrap {
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid #f1f5f9;
    text-align: center;
}

.ir-disclaimer-text {
    font-size: 13px;
    color: #64748b;
    margin: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex-wrap: wrap;
    line-height: 1.5;
}

.ir-disclaimer-icon {
    width: 15px;
    height: 15px;
    color: #94a3b8;
    stroke: #94a3b8;
    vertical-align: -2px;
    display: inline-block;
    flex-shrink: 0;
}

.ir-disclaimer-link {
    color: #d90b3f;
    font-weight: 700;
    text-decoration: none;
}

.ir-disclaimer-link:hover {
    text-decoration: underline;
}

/* Mobile Adjustments */
@media (max-width: 767px) {
    body .ir-reports-widget .ir-tabs-bar {
        padding: 4px !important;
    }
    body .ir-reports-widget .ir-tab-btn {
        padding: 7px 14px !important;
        font-size: 12px !important;
        gap: 6px !important;
    }
    body .ir-reports-widget .ir-tab-counter {
        font-size: 10px !important;
        padding: 1px 6px !important;
    }
    .ir-cover-wrap {
        border-radius: 12px;
    }
    .ir-badge {
        font-size: 9px;
        padding: 2px 7px;
        top: 6px;
        left: 6px;
    }
    .ir-hover-pill {
        display: none !important; /* Mobile uses direct tap */
    }
    .ir-impact-title {
        font-size: 12.5px;
    }
    .ir-impact-year {
        font-size: 11px;
    }
    .ir-fin-card {
        padding: 14px;
        gap: 12px;
    }
    .ir-fin-icon-box {
        width: 42px;
        height: 46px;
        font-size: 17px;
    }
    .ir-fin-title {
        font-size: 13.5px;
    }
    .ir-corp-card {
        padding: 16px;
        gap: 12px;
    }
    .ir-corp-icon-box {
        width: 42px;
        height: 42px;
        font-size: 16px;
    }
    .ir-corp-title {
        font-size: 13.5px;
    }
    .ir-disclaimer-text {
        font-size: 12px;
    }
}

/* =========================================
   ILTIZAM FIELD GALLERY MARQUEE WIDGET
   ========================================= */
.igm-wrap {
    --igm-red: #D90B3F;
    --igm-red-hover: #B00732;
    --igm-red-subtle: #FBE7EC;
    --igm-dark: #101A2E;
    --igm-muted: #64748B;
    --igm-bg: #F8FAFC;
    --igm-border: #E2E8F0;
    width: 100%;
    box-sizing: border-box;
    background-color: var(--igm-bg);
    color: var(--igm-dark);
    padding: 10px 0 60px;
    overflow: hidden;
    font-family: inherit;
    position: relative;
    border: none;
}

.igm-head {
    max-width: 760px;
    margin: 0 auto 46px;
    padding: 0 24px;
    text-align: center;
}

.igm-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--igm-red);
    background: var(--igm-red-subtle);
    padding: 6px 18px;
    border-radius: 999px;
    margin-bottom: 16px;
    box-shadow: 0 2px 6px rgba(217, 11, 63, 0.08);
}

.igm-eyebrow-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--igm-red);
    display: inline-block;
}

.igm-title {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 800;
    line-height: 1.22;
    letter-spacing: -0.02em;
    margin: 0 0 14px;
    color: var(--igm-dark);
}

.igm-sub {
    font-size: 16px;
    line-height: 1.6;
    color: var(--igm-muted);
    margin: 0 auto;
    max-width: 580px;
}

.igm-rows {
    position: relative;
    padding: 10px 0;
    width: 100%;
    overflow: hidden;
}

/* Fading gradient edges */
.igm-fade-left,
.igm-fade-right {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 14%;
    z-index: 5;
    pointer-events: none;
}

.igm-fade-left {
    left: 0;
    background: linear-gradient(90deg, var(--igm-bg, #F8FAFC) 0%, rgba(248, 250, 252, 0) 100%);
}

.igm-fade-right {
    right: 0;
    background: linear-gradient(270deg, var(--igm-bg, #F8FAFC) 0%, rgba(248, 250, 252, 0) 100%);
}

.igm-track {
    display: flex;
    width: max-content;
    margin-bottom: 20px;
    will-change: transform;
    transform: translate3d(0, 0, 0);
}

.igm-track:last-child {
    margin-bottom: 0;
}

.igm-rows.igm-pause-hover:hover .igm-track {
    animation-play-state: paused;
}

.igm-track-left {
    animation: igm-anim-left 70s linear infinite;
}

.igm-track-right {
    animation: igm-anim-right 80s linear infinite;
}

.igm-card {
    flex: 0 0 auto;
    width: 320px;
    height: 215px;
    margin-right: 20px;
    border-radius: 18px;
    overflow: hidden;
    background: #0F172A;
    border: 1px solid var(--igm-border);
    box-shadow: 0 8px 20px -4px rgba(16, 26, 46, 0.08), 0 4px 8px -4px rgba(16, 26, 46, 0.04);
    position: relative;
    text-decoration: none;
    display: block;
    cursor: pointer;
    box-sizing: border-box;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, border-color 0.4s ease;
}

.igm-track-right .igm-card {
    width: 385px;
    height: 245px;
}

.igm-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 32px -10px rgba(217, 11, 63, 0.22), 0 8px 12px -4px rgba(16, 26, 46, 0.06);
    border-color: #FBE7EC;
}

/* Enforce 100% full-bleed cover on all card images, preventing theme height:auto overrides */
.igm-wrap .igm-card img,
.elementor .igm-wrap .igm-card img,
.igm-card img {
    width: 100% !important;
    height: 100% !important;
    min-width: 100% !important;
    min-height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    object-fit: cover !important;
    object-position: center center !important;
    display: block !important;
    aspect-ratio: auto !important;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.igm-wrap .igm-card:hover img,
.elementor .igm-wrap .igm-card:hover img,
.igm-card:hover img {
    transform: scale(1.06);
}

.igm-card-caption {
    position: absolute;
    inset: auto 0 0 0;
    padding: 30px 16px 14px;
    background: linear-gradient(180deg, transparent 0%, rgba(16, 26, 46, 0.88) 100%);
    color: #FFFFFF;
    font-size: 13px;
    font-weight: 600;
    opacity: 0;
    transform: translateY(6px);
    transition: all 0.3s ease;
    pointer-events: none;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 8px;
    z-index: 2;
}

.igm-card:hover .igm-card-caption {
    opacity: 1;
    transform: translateY(0);
}

.igm-card-caption span {
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

.igm-card-cat {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    background: rgba(217, 11, 63, 0.88);
    color: #FFFFFF;
    padding: 2px 8px;
    border-radius: 999px;
    font-weight: 700;
    white-space: nowrap;
    flex-shrink: 0;
}

.igm-cta {
    text-align: center;
    margin-top: 44px;
    padding: 0 24px;
}

.igm-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: var(--igm-red);
    color: #FFFFFF !important;
    font-family: inherit;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 0.2px;
    padding: 14px 34px;
    border-radius: 30px;
    text-decoration: none !important;
    box-shadow: 0px 4px 14px 0px var(--igm-btn-shadow, rgba(217, 11, 63, 0.28));
    transition: all 0.25s ease;
    cursor: pointer;
    user-select: none;
}

.igm-btn:hover {
    background-color: var(--igm-red-hover);
    box-shadow: 0px 6px 20px 0px var(--igm-btn-hover-shadow, rgba(217, 11, 63, 0.4));
    transform: translateY(-2px);
}

.igm-btn svg {
    transition: transform 0.25s ease;
    stroke: currentColor;
    flex-shrink: 0;
}

.igm-btn:hover svg {
    transform: translateX(4px);
}

@keyframes igm-anim-left {
    from { transform: translate3d(0, 0, 0); }
    to { transform: translate3d(-50%, 0, 0); }
}

@keyframes igm-anim-right {
    from { transform: translate3d(-50%, 0, 0); }
    to { transform: translate3d(0, 0, 0); }
}

/* Tablet Responsive */
@media (max-width: 1024px) {
    .igm-card { width: 280px; height: 190px; margin-right: 16px; }
    .igm-track-right .igm-card { width: 330px; height: 215px; }
    .igm-fade-left, .igm-fade-right { width: 10%; }
}

/* Mobile Responsive */
@media (max-width: 640px) {
    .igm-wrap { padding: 6px 0 40px; }
    .igm-head { margin-bottom: 28px; padding: 0 18px; }
    .igm-title { font-size: 26px; }
    .igm-sub { font-size: 14px; }
    .igm-track { margin-bottom: 14px; }
    .igm-card { width: 220px; height: 150px; margin-right: 12px; border-radius: 14px; }
    .igm-track-right .igm-card { width: 255px; height: 170px; }
    .igm-fade-left, .igm-fade-right { width: 7%; }
    .igm-cta { margin-top: 32px; }
    .igm-btn { padding: 12px 28px; font-size: 14px; }
    .igm-card-caption { padding: 20px 12px 10px; font-size: 12px; }
    .igm-card-cat { font-size: 10px; padding: 2px 6px; }
}

@media (prefers-reduced-motion: reduce) {
    .igm-track-left, .igm-track-right { animation: none; }
    .igm-rows { overflow-x: auto; -webkit-overflow-scrolling: touch; }
}

/* =========================================
   ILTIZAM INSTAGRAM STORIES & FEED WIDGET (CONCEPT 2)
   ========================================= */
.iig-wrap {
    --iig-red: #D90B3F;
    --iig-red-hover: #B00732;
    --iig-navy: #101A2E;
    --iig-slate: #64748B;
    --iig-border: #E2E8F0;
    --iig-bg: #FFFFFF;
    width: 100%;
    box-sizing: border-box;
    background-color: var(--iig-bg);
    color: var(--iig-navy);
    font-family: inherit;
    position: relative;
    padding: 60px 20px;
}

.iig-container {
    max-width: 1240px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}

/* Header */
.iig-head {
    max-width: 720px;
    margin: 0 auto 36px;
    text-align: center;
}

.iig-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background-color: #E9F7F2;
    color: #087B5B;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 999px;
    margin-bottom: 14px;
}

.iig-eyebrow-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: #087B5B;
    display: inline-block;
}

.iig-title {
    font-size: clamp(26px, 3.6vw, 36px);
    font-weight: 800;
    color: var(--iig-navy);
    line-height: 1.25;
    margin: 0 0 10px;
    letter-spacing: -0.01em;
}

.iig-sub {
    font-size: 15px;
    line-height: 1.6;
    color: var(--iig-slate);
    margin: 0 auto;
    max-width: 580px;
}

/* Story Highlights */
.iig-stories-wrap {
    overflow-x: auto;
    padding-bottom: 16px;
    margin-bottom: 36px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.iig-stories-wrap::-webkit-scrollbar {
    display: none;
}

.iig-stories-track {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 24px;
    width: max-content;
    margin: 0 auto;
    padding: 4px 6px;
}

.iig-story-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
    user-select: none;
    outline: none;
    transition: transform 0.25s ease;
}

.iig-story-ring {
    width: 78px;
    height: 78px;
    border-radius: 50%;
    padding: 2.5px;
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
    box-sizing: border-box;
}

.iig-story-item:hover .iig-story-ring {
    transform: scale(1.06);
    box-shadow: 0 8px 18px rgba(220, 39, 67, 0.25);
}

.iig-story-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2.5px solid #FFFFFF;
    overflow: hidden;
    background: #F1F5F9;
    box-sizing: border-box;
}

.iig-story-avatar img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
}

.iig-story-label {
    font-size: 13px;
    font-weight: 700;
    color: var(--iig-navy);
    transition: color 0.2s ease;
    white-space: nowrap;
}

.iig-story-item:hover .iig-story-label {
    color: var(--iig-red);
}

/* Feed Grid */
.iig-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.iig-card {
    background: #FFFFFF;
    border: 1px solid var(--iig-border);
    border-radius: 18px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 4px 14px rgba(16, 26, 46, 0.04);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease;
    box-sizing: border-box;
}

.iig-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 30px -8px rgba(16, 26, 46, 0.12);
    border-color: var(--iig-red);
}

.iig-card-media {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #F8FAFC;
}

.iig-card-media a {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    position: relative;
}

.iig-card-media img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.iig-card:hover .iig-card-media img {
    transform: scale(1.08) !important;
}

.iig-location-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    color: var(--iig-navy);
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 999px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    display: inline-flex;
    align-items: center;
    gap: 5px;
    z-index: 2;
}

.iig-location-badge i {
    color: var(--iig-red);
    font-size: 11px;
}

.iig-video-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(16, 26, 46, 0.78);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    color: #FFFFFF;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
    z-index: 2;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.iig-video-badge i {
    margin-left: 2px;
}

.iig-card:hover .iig-video-badge {
    background: var(--iig-red);
    transform: scale(1.1);
}

.iig-card-overlay {
    position: absolute;
    inset: 0;
    background: rgba(16, 26, 46, 0.42);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    font-size: 32px;
    z-index: 1;
}

.iig-card:hover .iig-card-overlay {
    opacity: 1;
}

.iig-card-body {
    padding: 16px 18px 12px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.iig-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    color: var(--iig-slate);
    margin-bottom: 8px;
    font-weight: 500;
}

.iig-likes {
    color: var(--iig-navy);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 4px;
}

.iig-likes i {
    color: var(--iig-red);
    font-size: 11px;
}

.iig-format-tag {
    color: #475569;
    font-weight: 600;
    font-size: 11px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #F1F5F9;
    padding: 2px 8px;
    border-radius: 6px;
    letter-spacing: 0.2px;
}

.iig-format-tag i {
    color: #64748B;
    font-size: 10px;
}

.iig-caption {
    font-size: 13px;
    line-height: 1.55;
    color: #334155;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.iig-card-footer {
    padding: 12px 18px;
    border-top: 1px solid #F1F5F9;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    background: #FAFCFE;
}

.iig-view-link {
    font-weight: 700;
    color: var(--iig-red);
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.iig-view-link:hover {
    color: var(--iig-red-hover);
    transform: translateY(-1px);
}

/* Call to Action Button */
.iig-cta {
    text-align: center;
    margin-top: 40px;
}

.iig-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 32px;
    border-radius: 999px;
    border: 1px solid #CBD5E1;
    color: var(--iig-navy);
    background-color: #FFFFFF;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.25s ease;
    cursor: pointer;
}

.iig-cta-btn:hover {
    border-color: var(--iig-red) !important;
    color: #FFFFFF !important;
    background-color: var(--iig-red) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(217, 11, 63, 0.28);
}

.iig-cta-btn i {
    font-size: 16px;
}

/* Story Lightbox Modal */
.iig-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 999999;
}

.iig-modal.is-active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.iig-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(16, 26, 46, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.iig-modal-dialog {
    position: relative;
    z-index: 2;
    max-width: 440px;
    width: 90%;
    background: #FFFFFF;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
    animation: iigModalIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes iigModalIn {
    from { opacity: 0; transform: scale(0.92) translateY(12px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

.iig-modal-close {
    position: absolute;
    top: 12px;
    right: 14px;
    z-index: 10;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(16, 26, 46, 0.65);
    color: #FFFFFF;
    border: none;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.iig-modal-close:hover {
    background: var(--iig-red);
}

.iig-modal-content {
    display: flex;
    flex-direction: column;
}

.iig-modal-media {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #0F172A;
}

.iig-modal-media img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
}

.iig-modal-info {
    padding: 24px;
}

.iig-modal-header {
    margin-bottom: 12px;
}

.iig-modal-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 700;
    color: var(--iig-red);
    background: #FBE7EC;
    padding: 3px 10px;
    border-radius: 999px;
    margin-bottom: 8px;
}

.iig-modal-title {
    font-size: 20px;
    font-weight: 800;
    color: var(--iig-navy);
    margin: 0;
}

.iig-modal-desc {
    font-size: 14px;
    line-height: 1.6;
    color: #475569;
    margin: 0 0 20px;
}

.iig-modal-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px 20px;
    background: var(--iig-red);
    color: #FFFFFF !important;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none !important;
    transition: background 0.2s;
}

.iig-modal-link:hover {
    background: var(--iig-red-hover);
}

body.iig-modal-open {
    overflow: hidden;
}

/* Tablet Responsive */
@media (max-width: 1024px) {
    .iig-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .iig-stories-track {
        gap: 18px;
    }
}

/* Mobile Responsive */
@media (max-width: 640px) {
    .iig-wrap {
        padding: 40px 16px;
    }
    .iig-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .iig-stories-track {
        justify-content: flex-start;
        padding: 4px 10px;
        gap: 14px;
    }
    .iig-story-ring {
        width: 66px;
        height: 66px;
    }
    .iig-story-label {
        font-size: 12px;
    }
    .iig-cta-btn {
        width: 100%;
        justify-content: center;
        padding: 13px 20px;
    }
}

/* =========================================
   ADMIN-ONLY INSTAGRAM WARNING BANNER
   ========================================= */
.iig-admin-warning {
    margin: 0 auto 32px auto;
    max-width: 960px;
    background: #FFFDF5;
    border: 1px solid #FDE68A;
    border-left: 5px solid #F59E0B;
    border-radius: 12px;
    padding: 16px 20px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    box-shadow: 0 4px 16px rgba(245, 158, 11, 0.08);
    font-family: inherit;
    text-align: left;
    box-sizing: border-box;
}

.iig-admin-warning-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    background: #FEF3C7;
    color: #D97706;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    margin-top: 2px;
}

.iig-admin-warning-content {
    flex: 1;
    min-width: 0;
}

.iig-admin-warning-top {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 8px;
}

.iig-admin-warning-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #DC2626;
    color: #FFFFFF;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 4px;
}

.iig-admin-warning-badge i {
    font-size: 9px;
}

.iig-admin-warning-title {
    font-size: 15px;
    font-weight: 700;
    color: #92400E;
}

.iig-admin-warning-msg {
    margin: 0 0 12px 0;
    font-size: 13px;
    line-height: 1.5;
    color: #334155;
    word-break: break-word;
}

.iig-admin-warning-label {
    font-weight: 600;
    color: #78350F;
    margin-right: 6px;
}

.iig-admin-warning-msg code {
    background: #FEF3C7;
    color: #B45309;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 12px;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.iig-admin-warning-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    padding-top: 10px;
    border-top: 1px dashed #FDE68A;
    font-size: 12px;
}

.iig-admin-warning-status {
    color: #059669;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.iig-admin-retry-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #FFFFFF;
    border: 1px solid #D97706;
    color: #B45309 !important;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none !important;
    transition: all 0.2s ease;
    cursor: pointer;
}

.iig-admin-retry-btn:hover {
    background: #FEF3C7;
    color: #92400E !important;
    transform: translateY(-1px);
}

@media (max-width: 640px) {
    .iig-admin-warning {
        padding: 14px 16px;
        gap: 12px;
    }
    .iig-admin-warning-footer {
        flex-direction: column;
        align-items: flex-start;
    }
    .iig-admin-retry-btn {
        width: 100%;
        justify-content: center;
    }
}

/* TikTok Feed: Administrator Disconnect Warning Banner (Only visible to WP Admins) */
.itk-admin-warning {
    margin: 0 auto 28px auto;
    max-width: 960px;
    background: #FFFDF5;
    border: 1px solid #FDE68A;
    border-left: 5px solid #F59E0B;
    border-radius: 12px;
    padding: 16px 20px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    box-shadow: 0 4px 16px rgba(245, 158, 11, 0.08);
    font-family: inherit;
    text-align: left;
    box-sizing: border-box;
}

.itk-admin-warning-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    background: #FEF3C7;
    color: #D97706;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    margin-top: 2px;
}

.itk-admin-warning-content {
    flex: 1;
    min-width: 0;
}

.itk-admin-warning-top {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 8px;
}

.itk-admin-warning-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #DC2626;
    color: #FFFFFF;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 4px;
}

.itk-admin-warning-badge i {
    font-size: 9px;
}

.itk-admin-warning-title {
    font-size: 15px;
    font-weight: 700;
    color: #92400E;
}

.itk-admin-warning-msg {
    margin: 0 0 12px 0;
    font-size: 13px;
    line-height: 1.5;
    color: #334155;
    word-break: break-word;
}

.itk-admin-warning-label {
    font-weight: 600;
    color: #78350F;
    margin-right: 6px;
}

.itk-admin-warning-msg code {
    background: #FEF3C7;
    color: #B45309;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 12px;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.itk-admin-warning-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    padding-top: 10px;
    border-top: 1px dashed #FDE68A;
    font-size: 12px;
}

.itk-admin-warning-status {
    color: #059669;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.itk-admin-retry-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #FFFFFF;
    border: 1px solid #D97706;
    color: #B45309 !important;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none !important;
    transition: all 0.2s ease;
    cursor: pointer;
}

.itk-admin-retry-btn:hover {
    background: #FEF3C7;
    color: #92400E !important;
    transform: translateY(-1px);
}

@media (max-width: 640px) {
    .itk-admin-warning {
        padding: 14px 16px;
        gap: 12px;
    }
    .itk-admin-warning-footer {
        flex-direction: column;
        align-items: flex-start;
    }
    .itk-admin-retry-btn {
        width: 100%;
        justify-content: center;
    }
}

/* ==========================================================================
   TIKTOK FEED & PROFILE HUB WIDGET (Concept 4 • Staging Emerald Theme)
   ========================================================================== */
.itk-wrap {
    width: 100%;
    position: relative;
    box-sizing: border-box;
    font-family: inherit;
}

.itk-container {
    max-width: 1240px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}

/* 1. Optional Section Header */
.itk-head {
    text-align: center;
    margin-bottom: 36px;
}

.itk-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #E9F7F2;
    color: #087B5B;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    padding: 6px 14px;
    border-radius: 9999px;
    margin-bottom: 12px;
    border: 1px solid #A7F3D0;
}

.itk-eyebrow-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #087B5B;
}

.itk-title {
    font-size: 28px;
    font-weight: 800;
    color: #101A2E;
    letter-spacing: -0.5px;
    margin: 0 0 10px 0;
    line-height: 1.25;
}

.itk-sub {
    font-size: 14px;
    color: #64748B;
    max-width: 580px;
    margin: 0 auto;
    line-height: 1.55;
}

/* 2. TikTok Profile Hub Card */
.itk-profile-card {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 24px;
    padding: 26px 32px;
    margin-bottom: 28px;
    box-shadow: 0 4px 20px -2px rgba(16, 26, 46, 0.05);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    box-sizing: border-box;
    transition: box-shadow 0.3s ease;
}

.itk-profile-left {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1;
    min-width: 280px;
}

.itk-avatar-wrap {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    border: 3px solid #059669;
    position: relative;
    flex-shrink: 0;
    box-shadow: 0 4px 14px rgba(5, 150, 105, 0.18);
    background: #FFFFFF;
    box-sizing: border-box;
    padding: 0;
}

.itk-avatar-inner {
    width: 100%;
    height: 100%;
    border-radius: 50% !important;
    overflow: hidden !important;
    background: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    -webkit-mask-image: -webkit-radial-gradient(white, black);
    box-sizing: border-box;
}

.itk-avatar-img {
    width: 100% !important;
    height: 100% !important;
    border-radius: 50% !important;
    object-fit: contain !important;
    padding: 4px;
    box-sizing: border-box;
    display: block !important;
}

.itk-avatar-badge {
    position: absolute;
    bottom: -2px;
    right: -2px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #059669;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    border: 2px solid #FFFFFF;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
    z-index: 2;
}

.itk-profile-info {
    flex: 1;
    min-width: 0;
}

.itk-profile-title-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.itk-username {
    font-size: 20px;
    font-weight: 800;
    color: #101A2E;
    text-decoration: none !important;
    letter-spacing: -0.3px;
    transition: color 0.2s ease;
}

.itk-username:hover {
    color: #059669;
}

.itk-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #E9F7F2;
    color: #087B5B;
    border: 1px solid #A7F3D0;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 9999px;
}

.itk-badge i {
    font-size: 10px;
}

.itk-bio {
    font-size: 13.5px;
    color: #64748B;
    line-height: 1.5;
    margin: 5px 0 0 0;
    max-width: 540px;
}

.itk-stats {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 10px;
    font-size: 12.5px;
    color: #64748B;
    flex-wrap: wrap;
}

.itk-stat-item {
    display: inline-flex;
    align-items: baseline;
    gap: 4px;
}

.itk-stat-num {
    font-weight: 800;
    color: #047857;
    font-size: 13.5px;
}

.itk-stat-lbl {
    color: #64748B;
}

.itk-stat-sep {
    color: #CBD5E1;
    font-size: 10px;
}

/* Follow Button */
.itk-follow-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #059669;
    color: #FFFFFF !important;
    font-size: 13px;
    font-weight: 700;
    padding: 12px 24px;
    border-radius: 9999px;
    text-decoration: none !important;
    white-space: nowrap;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 14px rgba(5, 150, 105, 0.22);
    flex-shrink: 0;
}

.itk-follow-btn i {
    font-size: 14px;
}

.itk-follow-btn:hover {
    background: #047857;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(5, 150, 105, 0.32);
    color: #FFFFFF !important;
}

/* 3. Video Cards Grid */
.itk-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
    box-sizing: border-box;
}

/* Individual Video Card */
.itk-card {
    position: relative;
    display: block;
    aspect-ratio: 9 / 16;
    border-radius: 18px;
    overflow: hidden;
    background: #0F172A;
    border: 1px solid #E2E8F0;
    box-shadow: 0 4px 16px -2px rgba(16, 26, 46, 0.08);
    text-decoration: none !important;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, border-color 0.3s ease;
    box-sizing: border-box;
}

.itk-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px -8px rgba(16, 26, 46, 0.18);
    border-color: #A7F3D0;
}

.itk-card-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: 0.92;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.itk-card:hover .itk-card-img {
    transform: scale(1.06);
}

.itk-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.90) 0%, rgba(0, 0, 0, 0.25) 50%, rgba(0, 0, 0, 0.45) 100%);
    pointer-events: none;
}

/* Top View Badge */
.itk-view-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(6, 78, 59, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #6EE7B7;
    font-size: 10.5px;
    font-weight: 700;
    padding: 3.5px 10px;
    border-radius: 9999px;
    border: 1px solid rgba(16, 185, 129, 0.35);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.itk-view-badge i {
    font-size: 9px;
}

/* Center Play Hover Indicator */
.itk-card-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.45);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 2;
    pointer-events: none;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.itk-card-play i {
    margin-left: 3px;
}

.itk-card:hover .itk-card-play {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.05);
}

/* Bottom Content Info */
.itk-card-bottom {
    position: absolute;
    bottom: 14px;
    left: 14px;
    right: 14px;
    z-index: 2;
    color: #FFFFFF;
}

.itk-card-tag {
    display: block;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: #34D399;
    margin-bottom: 4px;
}

.itk-card-caption {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.42;
    color: #FFFFFF;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.itk-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 11.5px;
    color: #CBD5E1;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    padding-top: 9px;
    margin-top: 9px;
}

.itk-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.itk-meta-likes {
    color: #34D399;
    font-weight: 600;
}

.itk-meta-comments {
    color: #E2E8F0;
    font-weight: 500;
}

.itk-meta-watch {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-size: 10.5px;
    font-weight: 700;
    color: #6EE7B7;
    opacity: 0.9;
    transition: opacity 0.2s ease;
}

.itk-card:hover .itk-meta-watch {
    opacity: 1;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .itk-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }
    .itk-profile-card {
        padding: 22px 24px;
        gap: 20px;
    }
}

@media (max-width: 640px) {
    .itk-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .itk-profile-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 22px 18px;
    }
    .itk-profile-left {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .itk-profile-title-row {
        justify-content: center;
    }
    .itk-bio {
        margin: 6px auto 0 auto;
    }
    .itk-stats {
        justify-content: center;
    }
    .itk-follow-btn {
        width: 100%;
        justify-content: center;
    }
    .itk-title {
        font-size: 24px;
    }

    /* Mobile Swipe Track */
    .itk-grid.itk-mobile-swipe {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        gap: 14px;
        padding: 4px 4px 14px 4px;
        margin: 0 -4px;
        scrollbar-width: none;
    }
    .itk-grid.itk-mobile-swipe::-webkit-scrollbar {
        display: none;
    }
    .itk-grid.itk-mobile-swipe .itk-card {
        flex: 0 0 78%;
        min-width: 240px;
        max-width: 300px;
        scroll-snap-align: center;
        aspect-ratio: 9 / 15.5;
    }

    /* Mobile Dots Indicator */
    .itk-dots {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 8px;
        margin-top: 14px;
    }
}

/* Dots Default Hidden on Desktop */
.itk-dots {
    display: none;
}

.itk-dot {
    width: 8px;
    height: 8px;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.22);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    outline: none;
}

.itk-dot.is-active {
    background: #10B981;
    width: 24px;
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.5);
}

/* ==========================================================================
   TikTok Feed: Video Lightbox Modal (In-Page Video Player)
   ========================================================================== */
body.itk-modal-open {
    overflow: hidden !important;
}

.itk-modal {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, visibility 0.25s ease;
    padding: 16px;
}

.itk-modal.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.itk-modal-backdrop {
    position: absolute;
    inset: 0;
    cursor: pointer;
    transition: background 0.25s ease;
}

/* Light Theme Backdrop */
.itk-modal.itk-modal-theme-light .itk-modal-backdrop {
    background: rgba(16, 26, 46, 0.72);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* Dark Theme Backdrop (Default Fallback) */
.itk-modal.itk-modal-theme-dark .itk-modal-backdrop,
.itk-modal:not(.itk-modal-theme-light) .itk-modal-backdrop {
    background: rgba(4, 12, 9, 0.88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.itk-modal-dialog {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 440px;
    border-radius: 20px;
    overflow: visible;
    transform: scale(0.94);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), background 0.2s ease, border-color 0.2s ease;
}

/* Light Theme Dialog (Matches Website Theme) */
.itk-modal.itk-modal-theme-light .itk-modal-dialog {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    box-shadow: 0 25px 65px rgba(16, 26, 46, 0.3), 0 0 35px rgba(8, 123, 91, 0.15);
}

/* Dark Theme Dialog (Cinema Theater Mode) */
.itk-modal.itk-modal-theme-dark .itk-modal-dialog,
.itk-modal:not(.itk-modal-theme-light) .itk-modal-dialog {
    background: #0B1914;
    border: 1px solid rgba(16, 185, 129, 0.28);
    box-shadow: 0 25px 65px rgba(0, 0, 0, 0.8), 0 0 35px rgba(8, 123, 91, 0.25);
}

.itk-modal.is-active .itk-modal-dialog {
    transform: scale(1);
}

/* ========================================================
   ROUND SHAPE EXIT BADGE PINNED TO DIALOG TOP-RIGHT CORNER
   (Offset over corner, perfectly visible, zero watermark overlap)
   ======================================================== */
.itk-modal-close {
    position: absolute !important;
    top: -14px !important;
    right: -14px !important;
    z-index: 100 !important;
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    max-width: 38px !important;
    min-height: 38px !important;
    max-height: 38px !important;
    border-radius: 50% !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    padding: 0 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    line-height: 1 !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    outline: none !important;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.itk-modal-close svg {
    width: 17px !important;
    height: 17px !important;
    stroke-width: 2.5 !important;
    transition: transform 0.25s ease, stroke 0.25s ease !important;
    display: block !important;
    margin: 0 auto !important;
}

/* Style 1: Staging Emerald Badge (Default - Matches Site Verified Badge) */
.itk-modal-close,
.itk-modal-close.itk-close-style-emerald {
    background: #087B5B !important;
    border: 2.5px solid #FFFFFF !important;
    color: #FFFFFF !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4), 0 0 14px rgba(8, 123, 91, 0.45) !important;
}

.itk-modal-close.itk-close-style-emerald svg,
.itk-modal-close:not([class*="itk-close-style-"]) svg {
    stroke: #FFFFFF !important;
}

.itk-modal-close.itk-close-style-emerald:hover,
.itk-modal-close:not([class*="itk-close-style-"]):hover {
    background: #066349 !important;
    border-color: #FFFFFF !important;
    transform: scale(1.15) rotate(90deg) !important;
    box-shadow: 0 6px 22px rgba(8, 123, 91, 0.7) !important;
}

/* Style 2: Crisp White Island */
.itk-modal-close.itk-close-style-white {
    background: #FFFFFF !important;
    border: 2px solid #E2E8F0 !important;
    color: #087B5B !important;
    box-shadow: 0 4px 18px rgba(16, 26, 46, 0.35) !important;
}

.itk-modal-close.itk-close-style-white svg {
    stroke: #087B5B !important;
}

.itk-modal-close.itk-close-style-white:hover {
    background: #087B5B !important;
    border-color: #087B5B !important;
    color: #FFFFFF !important;
    transform: scale(1.15) rotate(90deg) !important;
    box-shadow: 0 6px 22px rgba(8, 123, 91, 0.6) !important;
}

.itk-modal-close.itk-close-style-white:hover svg {
    stroke: #FFFFFF !important;
}

/* Style 3: Obsidian Dark Glass */
.itk-modal-close.itk-close-style-glass {
    background: rgba(11, 25, 20, 0.94) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    border: 2px solid #10B981 !important;
    color: #FFFFFF !important;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.5), 0 0 14px rgba(16, 185, 129, 0.4) !important;
}

.itk-modal-close.itk-close-style-glass svg {
    stroke: #FFFFFF !important;
}

.itk-modal-close.itk-close-style-glass:hover {
    background: #087B5B !important;
    border-color: #34D399 !important;
    transform: scale(1.15) rotate(90deg) !important;
    box-shadow: 0 6px 22px rgba(16, 185, 129, 0.75) !important;
}

.itk-modal-close:focus-visible {
    outline: 2px solid #34D399 !important;
    outline-offset: 3px !important;
}

@media (max-width: 480px) {
    .itk-modal-close {
        top: -12px !important;
        right: -8px !important;
        width: 36px !important;
        height: 36px !important;
        min-width: 36px !important;
        max-width: 36px !important;
        min-height: 36px !important;
        max-height: 36px !important;
    }
    .itk-modal-close svg {
        width: 16px !important;
        height: 16px !important;
    }
}

.itk-modal-content {
    display: flex;
    flex-direction: column;
    border-radius: 20px;
    overflow: hidden;
}

.itk-modal-player-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 9 / 16;
    max-height: 70vh;
    background: #000000;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.itk-modal-player-holder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.itk-modal-video-player {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #000000;
}

.itk-modal-iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

.itk-modal-preview {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 24px;
    background: #0a1713;
}

.itk-modal-preview-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.35;
}

.itk-modal-preview-cta {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: #ffffff;
}

.itk-modal-preview-cta i {
    font-size: 40px;
    color: #34D399;
}

.itk-modal-preview-cta span {
    font-size: 13.5px;
    color: #E2E8F0;
    font-weight: 500;
    max-width: 240px;
}

.itk-modal-preview-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 18px;
    border-radius: 9999px;
    background: #087B5B;
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
    font-size: 13px;
    transition: background 0.2s ease;
}

.itk-modal-preview-btn:hover {
    background: #059669;
    color: #ffffff;
}

/* Light Theme Bottom Meta Bar */
.itk-modal.itk-modal-theme-light .itk-modal-bar {
    padding: 14px 18px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    background: #FFFFFF;
    border-top: 1px solid #E2E8F0;
}

.itk-modal.itk-modal-theme-light .itk-modal-tag {
    display: inline-block;
    font-size: 10.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #087B5B;
    background: rgba(8, 123, 91, 0.08);
    border: 1px solid rgba(8, 123, 91, 0.2);
    padding: 2px 7px;
    border-radius: 4px;
    margin-bottom: 5px;
}

.itk-modal.itk-modal-theme-light .itk-modal-caption {
    font-size: 13.5px;
    line-height: 1.45;
    color: #1E293B;
    margin: 0;
    font-weight: 500;
    white-space: normal;
    word-wrap: break-word;
    word-break: break-word;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.itk-modal.itk-modal-theme-light .itk-modal-direct-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 12px;
    font-weight: 700;
    color: #FFFFFF;
    background: #087B5B;
    border: 1px solid #087B5B;
    padding: 8px 14px;
    border-radius: 9999px;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(8, 123, 91, 0.25);
    transition: all 0.2s ease;
    flex-shrink: 0;
    align-self: flex-start;
    margin-top: 2px;
}

.itk-modal.itk-modal-theme-light .itk-modal-direct-btn:hover {
    background: #066349;
    border-color: #066349;
    color: #FFFFFF;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(8, 123, 91, 0.35);
}

/* Dark Theme Bottom Meta Bar (Cinema Mode) */
.itk-modal.itk-modal-theme-dark .itk-modal-bar,
.itk-modal:not(.itk-modal-theme-light) .itk-modal-bar {
    padding: 13px 18px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    background: #07120e;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.itk-modal.itk-modal-theme-dark .itk-modal-tag,
.itk-modal:not(.itk-modal-theme-light) .itk-modal-tag {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #34D399;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.25);
    padding: 2px 6px;
    border-radius: 4px;
    margin-bottom: 4px;
}

.itk-modal.itk-modal-theme-dark .itk-modal-caption,
.itk-modal:not(.itk-modal-theme-light) .itk-modal-caption {
    font-size: 13px;
    line-height: 1.45;
    color: #E2E8F0;
    margin: 0;
    font-weight: 500;
    white-space: normal;
    word-wrap: break-word;
    word-break: break-word;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.itk-modal.itk-modal-theme-dark .itk-modal-direct-btn,
.itk-modal:not(.itk-modal-theme-light) .itk-modal-direct-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11.5px;
    font-weight: 700;
    color: #ffffff;
    background: rgba(16, 185, 129, 0.16);
    border: 1px solid rgba(16, 185, 129, 0.35);
    padding: 7px 13px;
    border-radius: 9999px;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.2s ease;
    flex-shrink: 0;
    align-self: flex-start;
    margin-top: 2px;
}

.itk-modal.itk-modal-theme-dark .itk-modal-direct-btn:hover,
.itk-modal:not(.itk-modal-theme-light) .itk-modal-direct-btn:hover {
    background: #087B5B;
    border-color: #10B981;
    color: #ffffff;
}

@media (max-width: 480px) {
    .itk-modal-dialog {
        max-width: 100%;
        border-radius: 16px;
    }
    .itk-modal.itk-modal-theme-light .itk-modal-bar,
    .itk-modal.itk-modal-theme-dark .itk-modal-bar,
    .itk-modal-bar {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        padding: 14px 16px;
    }
    .itk-modal-meta {
        width: 100%;
    }
    .itk-modal.itk-modal-theme-light .itk-modal-direct-btn,
    .itk-modal.itk-modal-theme-dark .itk-modal-direct-btn,
    .itk-modal-direct-btn {
        width: 100%;
        justify-content: center;
        align-self: stretch;
        margin-top: 0;
    }
}


