/**
 * KOP Hero — styles. v3.1.2
 * Structural rules are scoped (.kop-outer-wrap .x) + !important so they
 * outrank Elementor's flat class selectors and any theme CSS.
 */

/* ── Outer wrapper ── */
.kop-outer-wrap {
    position: relative;
    display: block;
    width: 100%;
    font-family: "Noto Sans", sans-serif;
}

/* ════════════════════════════════════════════════════════
   HERO WRAP — CSS Grid.
   Col 1 = slider (1fr)    Col 2 = glass panel (30%)
   Row 1 = content (1fr)   Row 2 = ticker (auto)
   ════════════════════════════════════════════════════════ */
.kop-outer-wrap .kop-hero-wrap {
    display: grid !important;
    grid-template-columns: 1fr 30% !important;
    grid-template-rows: 1fr auto !important;
    height: 680px !important;
    overflow: hidden !important;
    width: 100% !important;
    box-sizing: border-box !important;
    transition: grid-template-columns .45s cubic-bezier(.4, 0, .2, 1);
}

.kop-outer-wrap.panel-hidden .kop-hero-wrap { grid-template-columns: 1fr 0px !important; }
.kop-outer-wrap.panel-hidden .kop-glass-panel { overflow: hidden; border-left: none; }
.kop-outer-wrap.panel-hidden .kop-slide-blur-zone { opacity: 0; }
.kop-outer-wrap.panel-hidden .kop-slide-content   { width: 90%; }
.kop-outer-wrap.panel-hidden .kop-dots            { left: 50%; }

.kop-outer-wrap .kop-slider-wrap {
    grid-column: 1 !important;
    grid-row: 1 !important;
    position: relative !important;
    overflow: hidden !important;
    min-height: 0 !important;
    min-width: 0 !important;
}

.kop-outer-wrap .kop-hero-ticker {
    grid-column: 1 / 3 !important;
    grid-row: 2 !important;
}
.kop-hero-ticker > div {
    border-top: none !important;
    box-shadow: none !important;
}

.kop-outer-wrap .kop-glass-panel {
    grid-column: 2 !important;
    grid-row: 1 / 3 !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
    min-height: 0 !important;
    min-width: 0 !important;
    background: rgba(255, 255, 255, .97);
    border-left: 1px solid rgba(200, 210, 230, .6);
    z-index: 15;
    box-shadow: -2px 0 4px rgba(0,0,0,.06), -8px 0 24px rgba(0,0,0,.14);
}

/* ── Progress bar ── */
.kop-progress {
    position: absolute;
    bottom: 0; left: 0;
    height: 3px; width: 0%;
    background: linear-gradient(90deg, #e8002d, #ff6b6b);
    z-index: 30;
    transition: width linear;
    box-shadow: 0 0 8px rgba(232, 0, 45, .7);
}

/* ── Slider ── */
.kop-slider {
    position: absolute;
    inset: 0;
    overflow: hidden;
}
.kop-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-color: #0d1f3c; /* placeholder while lazy bg loads */
    opacity: 0;
    transition: opacity 1s ease;
    pointer-events: none;
    transform-origin: center center;
}
.kop-slide.active {
    opacity: 1;
    pointer-events: auto;
    animation: kopKenBurns 6s ease-out forwards;
}
@keyframes kopKenBurns {
    from { transform: scale(1.0) translate(0, 0); }
    to   { transform: scale(1.07) translate(-1%, -.5%); }
}

/* ── Slide overlay: bottom gradient only ── */
.kop-slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(4, 12, 35, .88) 0%,
        rgba(4, 12, 35, .55) 22%,
        rgba(4, 12, 35, .12) 50%,
        rgba(4, 12, 35, 0)   70%
    );
    z-index: 1;
}

.kop-slide-blur-zone {
    position: absolute;
    top: 0; right: 0; bottom: 0;
    width: 40px;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 2;
    pointer-events: none;
    transition: opacity .45s;
}

/* ── Logo badge ── */
.kop-hero-badge {
    position: absolute;
    left: 68px; top: 0;
    width: 185px;
    height: calc(50% - 100px);
    z-index: 10;
    pointer-events: none;
    display: flex;
    justify-content: center;
    align-items: center;
}
.kop-hero-badge-logo {
    width: 120px; height: 120px;
    object-fit: contain; display: block;
    mix-blend-mode: screen;
    filter: brightness(1.1) contrast(1.05);
    opacity: .88;
}

/* ── Panel toggle ── */
.kop-panel-toggle {
    position: absolute;
    top: 50%; right: 0;
    transform: translateY(-50%);
    z-index: 35;
    width: 22px; height: 48px;
    background: rgba(255, 255, 255, .85);
    border: 1px solid rgba(0, 0, 0, .1);
    border-right: none;
    border-radius: 8px 0 0 8px;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    box-shadow: -3px 0 12px rgba(0, 0, 0, .12);
    transition: background .2s, border-color .2s;
    padding: 0;
}
.kop-panel-toggle:hover { background: rgba(255, 255, 255, 1); }
.kop-panel-toggle svg   { width: 11px; height: 11px; transition: transform .35s ease; stroke: #0d1f3c; fill: none; }
.kop-outer-wrap.panel-hidden .kop-panel-toggle     { background: rgba(4, 12, 35, .7); border-color: rgba(255,255,255,.25); }
.kop-outer-wrap.panel-hidden .kop-panel-toggle svg { transform: scaleX(-1); stroke: #fff; }

/* ── Slide content ── */
@keyframes kopTitleIn {
    from { opacity: 0; transform: translateY(18px); }
    to   { opacity: 1; transform: translateY(0); }
}
.kop-slide-tag  { display: none; }
.kop-slide-meta { font-size: 11px; font-weight: 600; color: rgba(255,255,255,.65); letter-spacing: .5px; opacity: 0; }
.kop-slide.active .kop-slide-meta { animation: kopTitleIn .55s ease .2s forwards; }
.kop-slide-content {
    position: absolute;
    bottom: 72px; left: 0;
    width: 85%; padding: 0 40px 20px 36px;
    display: flex; flex-direction: column; gap: 13px;
    z-index: 10;
    align-items: center; text-align: center;
    transition: width .45s cubic-bezier(.4, 0, .2, 1);
}
.kop-slide-title {
    font-size: clamp(18px, 2.3vw, 30px);
    font-weight: 900; color: #fff; margin: 0; line-height: 1.3;
    text-shadow: 0 2px 16px rgba(0,0,0,.8);
    cursor: pointer; transition: color .2s;
    background: none; border: none; padding: 0;
    text-align: center; font-family: "Noto Sans", sans-serif;
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical;
    overflow: hidden; width: 100%; word-break: break-word; white-space: normal;
    opacity: 0;
}
.kop-slide.active .kop-slide-title { animation: kopTitleIn .55s ease .35s forwards; }
.kop-slide-title:hover { color: #cfe2ff; } /* light blue-white, replaces yellow */

/* ── Action bar ── */
.kop-action-bar {
    position: absolute;
    top: 50%; left: 68px;
    transform: translateY(-50%);
    display: flex; flex-direction: column; gap: 10px;
    z-index: 25;
    transition: transform .45s cubic-bezier(.4,0,.2,1), opacity .35s;
}
.kop-action-toggle {
    position: absolute;
    top: 50%; left: 0;
    transform: translateY(-50%);
    z-index: 35;
    width: 22px; height: 48px;
    background: rgba(4,12,35,.55);
    border: 1px solid rgba(255,255,255,.2); border-left: none;
    border-radius: 0 8px 8px 0;
    cursor: pointer; display: flex; align-items: center; justify-content: center;
    box-shadow: 3px 0 12px rgba(0,0,0,.2);
    transition: background .2s, border-color .2s; padding: 0;
}
.kop-action-toggle:hover { background: rgba(255,255,255,.18); }
.kop-action-toggle svg   { width: 11px; height: 11px; transition: transform .35s ease; stroke: #fff; fill: none; }
.kop-outer-wrap.actions-hidden .kop-action-bar     { transform: translateY(-50%) translateX(-220px); opacity: 0; pointer-events: none; }
.kop-outer-wrap.actions-hidden .kop-action-toggle  { left: 0; background: rgba(4,12,35,.7); border-color: rgba(255,255,255,.25); border-radius: 0 8px 8px 0; }
.kop-outer-wrap.actions-hidden .kop-action-toggle svg { transform: scaleX(-1); }

.kop-action-btn {
    display: flex; align-items: center; gap: 13px;
    padding: 14px 20px 14px 16px;
    background: rgba(255,255,255,.12);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,.25); border-radius: 14px;
    cursor: pointer; color: #fff; font-family: "Noto Sans", sans-serif;
    text-align: left;
    transition: all .3s cubic-bezier(.34,1.56,.64,1);
    box-shadow: 0 4px 24px rgba(0,0,0,.25), inset 0 1px 0 rgba(255,255,255,.2);
    min-width: 185px; position: relative; overflow: hidden;
}
.kop-action-btn::before {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,.18) 0%, rgba(255,255,255,0) 60%);
    opacity: 0; transition: opacity .3s;
}
.kop-action-btn:hover::before { opacity: 1; }
.kop-action-btn:hover {
    transform: translateX(8px) scale(1.03);
    background: rgba(255,255,255,.22); border-color: rgba(255,255,255,.45);
    box-shadow: 0 8px 32px rgba(0,0,0,.3), inset 0 1px 0 rgba(255,255,255,.3);
}
.kop-action-btn:active                              { transform: translateX(4px) scale(.99); }
.kop-action-btn.kop-live-btn                        { background: rgba(232,0,45,.25); border-color: rgba(232,0,45,.6); }
.kop-action-btn.kop-live-btn:hover                  { background: rgba(232,0,45,.45); border-color: rgba(232,0,45,.9); }
.kop-action-icon                                    { width: 40px; height: 40px; border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.kop-action-icon svg                                { width: 22px; height: 22px; }
.kop-action-btn.kop-live-btn .kop-action-icon       { background: rgba(232,0,45,.5); }
.kop-action-btn:not(.kop-live-btn) .kop-action-icon { background: rgba(255,255,255,.15); }
.kop-action-text  { display: flex; flex-direction: column; gap: 2px; }
.kop-action-label { font-size: 13px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; color: #fff; line-height: 1; }
.kop-action-sub   { font-size: 10px; font-weight: 400; color: rgba(255,255,255,.6); letter-spacing: .3px; }

@keyframes kopPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: .2; transform: scale(1.6); }
}
.kop-live-dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: #ff3355; box-shadow: 0 0 10px rgba(255,50,85,.9);
    animation: kopPulse 1.2s ease-in-out infinite;
    position: absolute; top: 10px; right: 12px;
}

/* ── Prev / Next ── */
.kop-ctrl {
    position: absolute;
    background: rgba(255,255,255,.13); backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,.3); color: #fff; font-size: 20px;
    width: 36px; height: 36px; border-radius: 50%;
    cursor: pointer; z-index: 26;
    display: flex; align-items: center; justify-content: center;
    transition: all .2s;
}
.kop-ctrl:hover { background: rgba(232,0,45,.75); border-color: transparent; }
.kop-prev       { bottom: 76px; right: 50px; }
.kop-next       { bottom: 76px; right: 8px; }

/* ── Dots ── */
.kop-dots {
    position: absolute;
    bottom: 82px; left: 50%; transform: translateX(-50%);
    display: flex; gap: 8px; z-index: 20; align-items: center;
    transition: left .45s cubic-bezier(.4,0,.2,1);
}
.kop-dot        { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.35); cursor: pointer; transition: all .35s; }
.kop-dot.active { background: #fff; width: 20px; border-radius: 4px; }

/* ═══════════════════
   GLASS PANEL INTERIOR
   ═══════════════════ */
@keyframes kopSpFadeIn  { from { opacity:0; transform:translateY(4px); } to { opacity:1; transform:translateY(0); } }
@keyframes kopSpShimmer { 0% { background-position:-200% center; } 100% { background-position:200% center; } }

.kop-sponsor-footer {
    flex-shrink: 0;
    background: linear-gradient(160deg, #050e22 0%, #0d1f3c 100%);
    border-top: 2px solid rgba(232,0,45,.5);
    padding: 5px; position: relative; overflow: hidden;
}
.kop-sponsor-footer::before {
    content: ""; position: absolute; inset: 0; z-index: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(232,0,45,.05) 50%, transparent 100%);
    background-size: 200% 100%;
    animation: kopSpShimmer 5s linear infinite; pointer-events: none;
}
.kop-sponsor-footer-label { display: none; }
.kop-sponsor-logos { display: flex; align-items: stretch; gap: 5px; position: relative; z-index: 1; }
.kop-spf-logo {
    display: flex; flex-direction: column; align-items: stretch;
    flex: 1; min-width: 0;
    background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
    border-radius: 6px; padding: 0; overflow: hidden;
    text-decoration: none !important; cursor: pointer;
    transition: all .22s cubic-bezier(.34,1.56,.64,1);
    animation: kopSpFadeIn .45s ease both;
}
.kop-spf-logo:nth-child(1) { animation-delay: .05s; }
.kop-spf-logo:nth-child(2) { animation-delay: .12s; }
.kop-spf-logo:nth-child(3) { animation-delay: .19s; }
.kop-spf-logo:nth-child(4) { animation-delay: .26s; }
.kop-spf-logo:hover        { border-color: rgba(255,255,255,.25); transform: scale(1.03); box-shadow: 0 4px 16px rgba(0,0,0,.4); }
.kop-spf-level             { display: block; width: 100%; text-align: center; font-size: 7px; font-weight: 900; letter-spacing: 1.8px; text-transform: uppercase; padding: 3px 4px; flex-shrink: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; line-height: 1.4; }
.kop-spf-level--gold       { background: linear-gradient(135deg, #c9a84c, #f5d87a); color: #3b2a00; }
.kop-spf-level--silver     { background: linear-gradient(135deg, #8e9eab, #c8d6df); color: #1a2530; }
.kop-spf-level--bronze     { background: linear-gradient(135deg, #a0522d, #cd7f32); color: #fff; }
.kop-spf-level--default    { background: rgba(232,0,45,.25); color: rgba(255,255,255,.8); }
.kop-spf-img-wrap          { flex: 1; display: flex; align-items: center; justify-content: center; padding: 5px; min-height: 50px; }
.kop-spf-logo img          { width: 100%; height: 100%; object-fit: contain; display: block; opacity: .92; transition: opacity .22s; }
.kop-spf-logo:hover img    { opacity: 1; }
.kop-spf-name              { display: none; }

/* ── Announcements ── */
@keyframes kopAnnPulse      { 0%,100% { box-shadow:0 0 0 0 rgba(234,179,8,.6); } 50% { box-shadow:0 0 0 6px rgba(234,179,8,0); } }
@keyframes kopNewBadge      { 0% { opacity:0; transform:scale(.5); } 100% { opacity:1; transform:scale(1); } }
@keyframes kopStripes       { from { background-position:0 0; } to { background-position:40px 0; } }
@keyframes kopGradientShift { 0%,100% { background-position:0 0; } 50% { background-position:0 100%; } }
@keyframes kopSweep         { 0%,100% { left:-80%; } 50% { left:120%; } }

.kop-ann-section {
    display: flex; flex-direction: column;
    flex-shrink: 0; max-height: 45%; min-height: 0;
    background: #fff; position: relative;
    box-shadow: 0 4px 16px rgba(180,83,9,.15);
}
.kop-ann-section::before {
    content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
    background: linear-gradient(180deg, #fbbf24, #d97706, #92400e, #d97706, #fbbf24);
    background-size: 100% 200%; animation: kopGradientShift 3s ease infinite; z-index: 1;
}
.kop-ann-header {
    padding: 11px 14px 10px 18px; display: flex; align-items: center; gap: 10px;
    flex-shrink: 0;
    background: linear-gradient(105deg, #78350f 0%, #b45309 45%, #d97706 100%);
    position: relative; overflow: hidden;
}
.kop-ann-header::before {
    content: ""; position: absolute; inset: 0;
    background-image: repeating-linear-gradient(60deg, rgba(255,255,255,.04) 0px, rgba(255,255,255,.04) 10px, transparent 10px, transparent 20px);
    animation: kopStripes 2s linear infinite; pointer-events: none;
}
.kop-ann-header::after {
    content: ""; position: absolute; top: 0; left: -80%; width: 60%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.12), transparent);
    animation: kopSweep 4s ease-in-out infinite;
}
.kop-ann-header-icon      { flex-shrink: 0; width: 26px; height: 26px; position: relative; z-index: 1; }
.kop-ann-header-icon svg  { width: 26px; height: 26px; }
.kop-ann-header-textblock { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; position: relative; z-index: 1; }
.kop-ann-header-label     { font-size: 8px; font-weight: 600; letter-spacing: 1.8px; text-transform: uppercase; color: rgba(254,243,199,.65); line-height: 1; }
.kop-ann-header-text      { font-size: 11px; font-weight: 900; letter-spacing: 2px; text-transform: uppercase; color: #fef3c7; line-height: 1.2; }
.kop-ann-count-badge      { background: rgba(0,0,0,.28); border: 1px solid rgba(255,255,255,.22); color: #fef3c7; font-size: 10px; font-weight: 800; border-radius: 14px; padding: 3px 9px; flex-shrink: 0; position: relative; z-index: 1; }
.kop-ann-list {
    list-style: none; margin: 0; padding: 0; overflow-y: auto; flex: 1;
    scrollbar-width: thin; scrollbar-color: rgba(217,119,6,.4) rgba(0,0,0,.04);
}
.kop-ann-list::-webkit-scrollbar       { width: 3px; }
.kop-ann-list::-webkit-scrollbar-thumb { background: rgba(217,119,6,.45); border-radius: 3px; }

@keyframes kopSlideIn {
    from { opacity: 0; transform: translateX(24px); }
    to   { opacity: 1; transform: translateX(0); }
}
.kop-ann-item {
    display: flex; align-items: flex-start; gap: 11px;
    padding: 11px 14px 11px 18px;
    border-bottom: 1px solid rgba(217,119,6,.1);
    cursor: pointer; border-left: 4px solid transparent;
    transition: all .25s ease; background: #fff;
    opacity: 0; animation: kopSlideIn .45s ease forwards;
}
.kop-ann-item:nth-child(1)          { animation-delay: .08s; }
.kop-ann-item:nth-child(2)          { animation-delay: .16s; }
.kop-ann-item:nth-child(3)          { animation-delay: .24s; }
.kop-ann-item:hover                 { background: linear-gradient(105deg, #fffbeb, #fef3c7); border-left-color: #d97706; transform: translateX(2px); }
.kop-ann-item:hover .kop-ann-title  { color: #78350f; }
.kop-ann-item:hover .kop-ann-date   { color: #b45309; }
.kop-ann-item:last-child            { border-bottom: none; }
.kop-ann-thumb-wrap                 { position: relative; flex-shrink: 0; }
.kop-ann-thumb                      { width: 56px; height: 56px; object-fit: cover; border-radius: 7px; display: block; box-shadow: 0 2px 8px rgba(0,0,0,.12); transition: transform .3s ease; }
.kop-ann-item:hover .kop-ann-thumb  { transform: scale(1.05); }
.kop-ann-no-img                     { width: 56px; height: 56px; border-radius: 7px; background: linear-gradient(135deg, #fde68a, #fbbf24); display: flex; align-items: center; justify-content: center; }
.kop-ann-new-badge {
    position: absolute; top: -6px; right: -6px;
    background: #dc2626; color: #fff;
    font-size: 7px; font-weight: 900; letter-spacing: .8px; text-transform: uppercase;
    padding: 2px 5px; border-radius: 6px;
    animation: kopNewBadge .4s cubic-bezier(.34,1.56,.64,1) .6s both;
    box-shadow: 0 2px 6px rgba(220,38,38,.45);
}
.kop-ann-info  { display: flex; flex-direction: column; gap: 4px; min-width: 0; flex: 1; }
.kop-ann-date  { font-size: 9px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: #d97706; }
.kop-ann-title {
    background: none; border: none; padding: 0;
    color: #1c1917; font-family: "Noto Sans", sans-serif;
    font-size: 13px; font-weight: 700; line-height: 1.4; text-align: left;
    cursor: pointer; transition: color .25s;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
    overflow: hidden; text-overflow: ellipsis; max-width: 100%; white-space: normal;
}

/* ── Latest News ── */
.kop-news-section      { display: flex; flex-direction: column; flex: 1; min-height: 0; }
.kop-glass-header      { padding: 13px 16px 11px; border-bottom: 2px solid #e8002d; display: flex; align-items: center; gap: 9px; flex-shrink: 0; background: #fff; }
.kop-glass-header-dot  { width: 9px; height: 9px; border-radius: 50%; background: #e8002d; box-shadow: 0 0 8px rgba(232,0,45,.7); animation: kopPulse 1.8s ease-in-out infinite; }
.kop-glass-header-text { font-size: 11px; font-weight: 800; letter-spacing: 2.5px; text-transform: uppercase; color: #0d1f3c; }

@keyframes kopShimmer {
    0%   { background-position: -400px 0; }
    100% { background-position:  400px 0; }
}
.kop-skeleton-item       { display: flex; gap: 11px; padding: 12px 16px; border-bottom: 1px solid rgba(0,0,0,.06); }
.kop-skeleton-thumb      { width: 64px; height: 64px; border-radius: 6px; flex-shrink: 0; background: linear-gradient(90deg,#f0f0f0 25%,#e0e0e0 50%,#f0f0f0 75%); background-size: 400px 100%; animation: kopShimmer 1.4s infinite; }
.kop-skeleton-lines      { flex: 1; display: flex; flex-direction: column; gap: 8px; padding-top: 6px; }
.kop-skeleton-line       { height: 10px; border-radius: 4px; background: linear-gradient(90deg,#f0f0f0 25%,#e0e0e0 50%,#f0f0f0 75%); background-size: 400px 100%; animation: kopShimmer 1.4s infinite; }
.kop-skeleton-line.short { width: 55%; }

.kop-glass-list {
    list-style: none; margin: 0; padding: 0; overflow-y: auto; flex: 1;
    scrollbar-width: thin; scrollbar-color: rgba(232,0,45,.4) rgba(0,0,0,.05);
}
.kop-glass-list::-webkit-scrollbar       { width: 4px; }
.kop-glass-list::-webkit-scrollbar-track { background: rgba(0,0,0,.04); }
.kop-glass-list::-webkit-scrollbar-thumb { background: rgba(232,0,45,.4); border-radius: 4px; }

.kop-glass-item {
    display: flex; align-items: flex-start; gap: 11px;
    padding: 12px 16px; border-bottom: 1px solid rgba(0,0,0,.07);
    cursor: pointer; border-left: 3px solid transparent;
    transition: background .2s, border-left-color .2s;
    opacity: 0; animation: kopSlideIn .45s ease forwards;
}
.kop-glass-item:nth-child(1) { animation-delay: .08s; }
.kop-glass-item:nth-child(2) { animation-delay: .16s; }
.kop-glass-item:nth-child(3) { animation-delay: .24s; }
.kop-glass-item:nth-child(4) { animation-delay: .32s; }
.kop-glass-item:nth-child(5) { animation-delay: .40s; }
.kop-glass-item:nth-child(6) { animation-delay: .48s; }
.kop-glass-item:nth-child(7) { animation-delay: .56s; }
.kop-glass-item:nth-child(8) { animation-delay: .64s; }
.kop-glass-item:hover                    { background: #e8002d; border-left-color: #9b0020; }
.kop-glass-item:hover .kop-glass-title   { color: #fff; }
.kop-glass-item:hover .kop-glass-date    { color: rgba(255,255,255,.75); }
.kop-glass-item:last-child               { border-bottom: none; }
.kop-glass-thumb   { width: 64px; height: 64px; object-fit: cover; border-radius: 6px; flex-shrink: 0; box-shadow: 0 2px 8px rgba(0,0,0,.15); display: block; transition: transform .3s ease; }
.kop-glass-no-img  { width: 64px; height: 64px; border-radius: 6px; background: #e9ecf2; flex-shrink: 0; display: block; }
.kop-glass-info    { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.kop-glass-date    { font-size: 10px; font-weight: 600; letter-spacing: .8px; text-transform: uppercase; color: #e8002d; }
.kop-glass-title {
    background: none; border: none; padding: 0;
    color: #0d1f3c; font-family: "Noto Sans", sans-serif;
    font-size: 13px; font-weight: 700; line-height: 1.4; text-align: left;
    cursor: pointer; transition: color .2s;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
    overflow: hidden; text-overflow: ellipsis; max-width: 100%; white-space: normal;
}
.kop-glass-title:hover                   { color: inherit; }
.kop-glass-item:hover .kop-glass-thumb   { transform: scale(1.06); }

/* ── Modals ── */
.kop-modal-bg      { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.75); z-index: 999999; align-items: center; justify-content: center; backdrop-filter: blur(6px); }
.kop-modal-bg.open { display: flex; }
@keyframes kopModalIn {
    from { opacity: 0; transform: scale(.88) translateY(24px); }
    to   { opacity: 1; transform: scale(1) translateY(0); }
}
.kop-modal-box { background: #fff; border-radius: 14px; max-width: 820px; width: 92%; max-height: 88vh; overflow-y: auto; position: relative; box-shadow: 0 30px 80px rgba(0,0,0,.55); animation: kopModalIn .35s cubic-bezier(.34,1.56,.64,1); }
.kop-modal-img        { width: 100%; max-height: 320px; object-fit: cover; border-radius: 14px 14px 0 0; display: block; }
.kop-modal-inner      { padding: 28px 36px 36px; }
.kop-modal-x          { position: absolute; top: 12px; right: 12px; background: rgba(0,0,0,.45); border: none; border-radius: 50%; width: 34px; height: 34px; font-size: 15px; cursor: pointer; color: #fff; z-index: 10; display: flex; align-items: center; justify-content: center; transition: background .2s; }
.kop-modal-x:hover    { background: #e8002d; }
.kop-modal-tag        { font-size: 10px; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; color: #e8002d; margin-bottom: 10px; }
.kop-modal-title      { font-family: "Noto Sans", sans-serif; font-size: clamp(18px,2.5vw,26px); font-weight: 900; color: #0d1f3c; margin: 0 0 20px; line-height: 1.3; }
.kop-modal-body       { font-size: 15px; line-height: 1.85; color: #374151; }
.kop-modal-body img   { max-width: 100%; border-radius: 6px; margin: 10px 0; }

/* ── Modal loading spinner ── */
.kop-modal-loading { display: none; padding: 40px 0; text-align: center; }
.kop-modal-loading.show { display: block; }
@keyframes kopSpin { to { transform: rotate(360deg); } }
.kop-spinner {
    display: inline-block;
    width: 36px; height: 36px;
    border: 3px solid rgba(232,0,45,.15);
    border-top-color: #e8002d;
    border-radius: 50%;
    animation: kopSpin .7s linear infinite;
}

/* ── Modal share bar ── */
.kop-modal-share {
    display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
    margin-top: 22px; padding-top: 16px;
    border-top: 1px solid rgba(0,0,0,.08);
}
.kop-modal-share-label { font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: #999; flex-shrink: 0; }
.kop-share-btn {
    display: inline-flex; align-items: center; gap: 7px;
    padding: 9px 18px; border-radius: 8px;
    font-size: 13px; font-weight: 700;
    text-decoration: none !important;
    transition: all .2s; color: #fff !important; line-height: 1;
}
.kop-share-fb       { background: #1877f2; }
.kop-share-fb:hover { background: #1463cc; color: #fff !important; }
.kop-share-x        { background: #000; }
.kop-share-x:hover  { background: #333; color: #fff !important; }
.kop-share-ig       { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); }
.kop-share-ig:hover { filter: brightness(1.12); color: #fff !important; }
.kop-share-mail        { background: #5f6b7a; }
.kop-share-mail:hover  { background: #49545f; color: #fff !important; }
.kop-share-btn svg  { width: 16px; height: 16px; fill: #fff; flex-shrink: 0; }
.kop-share-btn      { position: relative; }
.kop-copied-tip {
    position: absolute;
    bottom: calc(100% + 8px); left: 50%;
    transform: translateX(-50%);
    background: #0d1f3c; color: #fff;
    font-size: 11px; font-weight: 600;
    padding: 5px 11px; border-radius: 5px;
    white-space: nowrap;
    opacity: 0; pointer-events: none;
    transition: opacity .2s;
}
.kop-copied-tip.show { opacity: 1; }

/* ── Modal sponsors — ONE navy pill, all logos in a single full-width row ── */
.kop-modal-sponsors        { margin-top: 20px; padding-top: 14px; border-top: 1px solid rgba(0,0,0,.08); }
.kop-modal-sponsors-label  { font-size: 8px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: #bbb; margin-bottom: 10px; }
.kop-modal-sponsors-logos {
    display: flex;
    flex-wrap: nowrap;               /* one line, always */
    align-items: center;
    justify-content: space-between;  /* spread across full width */
    gap: 8px;
    width: 100%;
    box-sizing: border-box;
    background: linear-gradient(160deg, #0d1f3c 0%, #16294a 100%);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 999px;            /* the single pill */
    padding: 12px 26px;
    box-shadow: 0 2px 10px rgba(13,31,60,.2);
}
.kop-modal-spn-logo {
    display: flex; align-items: center; justify-content: center;
    flex: 1 1 0;                     /* equal share of the row, shrinks on mobile */
    min-width: 0;
    text-decoration: none !important;
    opacity: .92;
    transition: opacity .2s, transform .2s;
}
.kop-modal-spn-logo:hover { opacity: 1; transform: scale(1.06); }
.kop-modal-spn-logo img {
    height: clamp(18px, 4vw, 32px);  /* scales down fluidly on small screens */
    width: auto;
    max-width: 100%;
    object-fit: contain;
    display: block;
}
@media (max-width: 480px) {
    .kop-modal-sponsors-logos { padding: 9px 14px; gap: 5px; border-radius: 16px; }
    .kop-modal-spn-logo img   { height: 16px; }
}

/* ── Iframe modal ── */
.kop-iframe-box   { background: #0d1f3c; border-radius: 14px; width: 94vw; max-width: 1100px; height: 85vh; display: flex; flex-direction: column; position: relative; overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,.7); animation: kopModalIn .35s cubic-bezier(.34,1.56,.64,1); }
.kop-iframe-label { background: #e8002d; color: #fff; font-family: "Noto Sans",sans-serif; font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; padding: 12px 20px; flex-shrink: 0; }
#kopIframe        { flex: 1; width: 100%; border: none; background: #fff; }

/* ── Responsive ── */
@media (max-width: 1024px) {
    .kop-outer-wrap .kop-hero-wrap { grid-template-columns: 1fr 34% !important; }
}
@media (max-width: 768px) {
    .kop-outer-wrap .kop-hero-wrap {
        display: block !important;
        height: auto !important;
        overflow: visible !important;
    }
    .kop-outer-wrap .kop-slider-wrap {
        display: block !important;
        height: 460px !important;
        overflow: hidden !important;
    }
    .kop-outer-wrap .kop-hero-ticker { display: block !important; width: 100% !important; }
    .kop-outer-wrap .kop-glass-panel {
        display: flex !important;
        width: 100% !important;
        height: auto !important;
        max-height: none !important;
        border-left: none;
        border-top: 3px solid #e8002d;
        box-shadow: 0 4px 20px rgba(0,0,0,.1);
    }
    .kop-glass-list    { display: grid !important; grid-template-columns: 1fr 1fr; max-height: 300px; }
    .kop-glass-item    { border-right: 1px solid rgba(0,0,0,.06); }
    .kop-glass-item:nth-child(2n) { border-right: none; }
    .kop-ann-section   { max-height: none; border-bottom: 2px solid #0d1f3c; }
    .kop-slide-blur-zone { display: none; }
    .kop-slide-content { bottom: 168px; width: 100%; padding: 0 20px 16px; align-items: center; }
    .kop-slide-title   { font-size: clamp(16px,4vw,24px); -webkit-line-clamp: 3; text-align: center; }
    .kop-action-bar    { top: auto; bottom: 64px; left: 0; right: 0; transform: none; flex-direction: row; flex-wrap: wrap; gap: 0; background: rgba(4,12,35,.7); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid rgba(255,255,255,.12); }
    .kop-action-toggle { display: none; }
    .kop-action-btn    { flex: 0 0 50%; min-width: 0; border-radius: 0; border: none; border-right: 1px solid rgba(255,255,255,.1); border-bottom: 1px solid rgba(255,255,255,.1); padding: 11px 12px; gap: 10px; background: transparent; box-shadow: none; }
    .kop-action-btn:nth-child(2n)        { border-right: none; }
    .kop-action-btn:nth-child(3),
    .kop-action-btn:nth-child(4)         { border-bottom: none; }
    .kop-action-btn:hover                { transform: none; background: rgba(232,0,45,.3); }
    .kop-action-btn.kop-live-btn         { background: rgba(232,0,45,.2); }
    .kop-action-icon   { width: 28px; height: 28px; border-radius: 7px; }
    .kop-action-icon svg { width: 16px; height: 16px; }
    .kop-action-label  { font-size: 10px; letter-spacing: 1px; }
    .kop-action-sub    { font-size: 9px; color: rgba(255,255,255,.5); }
    .kop-live-dot      { top: 6px; right: 6px; width: 6px; height: 6px; }
    .kop-ctrl          { width: 44px; height: 44px; font-size: 18px; }
    .kop-prev          { bottom: 172px; right: 52px; }
    .kop-next          { bottom: 172px; right: 4px; }
    .kop-dots          { bottom: 176px; }
    .kop-progress      { bottom: 0; height: 2px; }
    .kop-hero-badge    { top: 10px; left: 10px; width: auto; height: auto; }
    .kop-hero-badge-logo { width: 38px; height: 38px; }
    .kop-panel-toggle  { display: none; }
    .kop-action-bar    { padding-bottom: env(safe-area-inset-bottom, 0px); }
}
@media (max-width: 480px) {
    .kop-slide-title   { font-size: clamp(15px,5vw,20px); -webkit-line-clamp: 2; }
    .kop-modal-inner   { padding: 20px 18px 24px; }
    .kop-action-label  { font-size: 9px; }
    .kop-action-sub    { display: none; }
    .kop-glass-list    { grid-template-columns: 1fr !important; }
    .kop-glass-item    { border-right: none; }
}
