/**
 * KSTPA Public Website — Flagship Homepage Stylesheet (V4 Refinement)
 * Author: Antigravity
 * Version: 4.0 (Production Institutional)
 * Alignment: Owner Visual Benchmark (media_1791806150429_b2028408.jpg)
 */

/* ==========================================================================
   1. DYNAMIC FLAGSHIP HERO CAROUSEL (CR-02 & CR-10)
   ========================================================================== */

.kstpa-hero-carousel-section {
    position: relative;
    background: var(--kstpa-pub-hero-bg, var(--kstpa-pub-primary-deep, #570013));
    color: #ffffff;
    overflow: hidden;
    border-bottom: 3px solid var(--kstpa-gold);
    margin: 0;
    padding: 0;
}

.kstpa-hero-carousel-wrap {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
    min-height: clamp(395px, 31vw, 455px);
    width: 100%;
    margin: 0;
    padding: 0;
}

.kstpa-carousel-slide {
    grid-column: 1;
    grid-row: 1;
    width: 100%;
    height: 100%;
    min-height: clamp(395px, 31vw, 455px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.65s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.65s ease;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.kstpa-carousel-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.kstpa-carousel-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center 28%;
    background-repeat: no-repeat;
    transform: scale(1);
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 0;
}

.kstpa-carousel-slide.active .kstpa-carousel-bg {
    transform: scale(1.02);
}

.kstpa-carousel-overlay {
    position: absolute;
    inset: 0;
    background: var(--kstpa-pub-hero-overlay, linear-gradient(
        90deg,
        rgba(15, 3, 6, 0.84) 0%,
        rgba(15, 3, 6, 0.60) 44%,
        rgba(15, 3, 6, 0.22) 76%,
        rgba(15, 3, 6, 0.08) 100%
    )),
    linear-gradient(
        180deg,
        rgba(15, 3, 6, 0.30) 0%,
        transparent 30%,
        transparent 70%,
        rgba(15, 3, 6, 0.48) 100%
    );
    z-index: 1;
    pointer-events: none;
}

.kstpa-carousel-container {
    position: relative;
    z-index: 2;
    padding-top: 2.35rem;
    padding-bottom: 3.5rem;
    width: 100%;
}

.kstpa-carousel-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.kstpa-carousel-text {
    max-width: 760px;
    min-width: 0;
    z-index: 2;
}

.kstpa-carousel-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(215, 166, 67, 0.18);
    border: 1px solid rgba(215, 166, 67, 0.45);
    padding: 0.3rem 0.9rem;
    border-radius: var(--kstpa-radius-full);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--kstpa-pub-accent, #F8D98C);
    letter-spacing: 0.3px;
    margin-bottom: 0.85rem;
    backdrop-filter: blur(4px);
}

.kstpa-pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--kstpa-gold);
    display: inline-block;
    box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.7);
    animation: kstpaPulse 2s infinite;
}

@keyframes kstpaPulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 8px rgba(212, 175, 55, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(212, 175, 55, 0);
    }
}

.kstpa-carousel-title {
    font-size: clamp(1.85rem, 3.1vw, 2.75rem);
    font-weight: 800;
    line-height: 1.18;
    color: #ffffff;
    margin-bottom: 0.85rem;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
    overflow-wrap: anywhere;
}

.kstpa-carousel-kannada {
    font-size: 1.05rem;
    font-weight: 600;
    color: #e2e8f0;
    margin-bottom: 0.75rem;
    line-height: 1.4;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
}

.kstpa-carousel-desc {
    font-size: 1rem;
    line-height: 1.58;
    color: rgba(255, 255, 255, 0.94);
    margin-bottom: 1.45rem;
    max-width: 660px;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.4);
    overflow-wrap: anywhere;
}

.kstpa-carousel-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.kstpa-carousel-actions .kstpa-btn-gold {
    background: linear-gradient(135deg, var(--kstpa-pub-accent, #D7A643) 0%, var(--kstpa-pub-accent-hover, #C29334) 100%);
    color: var(--kstpa-pub-primary-deep, #17243D);
    font-weight: 800;
    padding: 0.72rem 1.55rem;
    border-radius: var(--kstpa-radius-md);
    box-shadow: 0 4px 16px rgba(215, 166, 67, 0.35);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all var(--kstpa-transition-fast);
}

.kstpa-carousel-actions .kstpa-btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 22px rgba(215, 166, 67, 0.5);
    color: var(--kstpa-pub-primary-deep, #060e1a);
}

.kstpa-carousel-actions .kstpa-btn-outline-white {
    background: rgba(255, 255, 255, 0.08);
    border: 1.5px solid rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(4px);
    color: #ffffff;
    font-weight: 700;
    padding: 0.7rem 1.4rem;
    border-radius: var(--kstpa-radius-md);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all var(--kstpa-transition-fast);
}

.kstpa-carousel-actions .kstpa-btn-outline-white:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: #ffffff;
    color: #ffffff;
    transform: translateY(-2px);
}

/* ==========================================================================
   1B. CEREMONIAL CREED STRIP (Relocated Below Hero for Maximum Prestige)
   ========================================================================== */
.kstpa-creed-strip {
    background: var(--kstpa-cream-surface, #FBF8F3);
    border-top: none;
    border-bottom: 1px solid rgba(215, 166, 67, 0.35);
    padding: 1.35rem 0;
    position: relative;
    z-index: 10;
    margin-top: 0;
}

.kstpa-creed-card {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 1.75rem;
    background: #FFFFFF;
    border: 1.5px solid var(--kstpa-pub-accent, #D7A643);
    border-radius: var(--kstpa-radius-lg);
    padding: 1.25rem 2rem;
    box-shadow: 0 6px 20px rgba(133, 5, 31, 0.06);
}

.kstpa-creed-mark {
    font-size: 2rem;
    color: var(--kstpa-pub-accent, #D7A643);
    line-height: 1;
    opacity: 0.9;
}

.kstpa-creed-quote {
    font-family: var(--kstpa-font-serif, Georgia, serif);
    font-size: 1.18rem;
    font-weight: 700;
    color: var(--kstpa-pub-primary, #85051F);
    line-height: 1.35;
    margin: 0 0 0.25rem 0;
    font-style: italic;
}

.kstpa-creed-description {
    font-size: 0.85rem;
    line-height: 1.48;
    color: var(--kstpa-pub-text-secondary, #4A5568);
    margin: 0;
}

.kstpa-creed-seal {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding-left: 1.75rem;
    border-left: 1.5px solid rgba(133, 5, 31, 0.12);
}

.kstpa-creed-seal-img {
    height: 48px;
    width: auto;
    object-fit: contain;
}

.kstpa-creed-seal-text strong {
    display: block;
    color: var(--kstpa-pub-primary, #85051F);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.kstpa-creed-seal-text small {
    display: block;
    color: var(--kstpa-pub-text-muted, #718096);
    font-size: 0.75rem;
    line-height: 1.3;
}

/* Carousel Controls (Prev/Next Arrows & Indicators) */
.kstpa-carousel-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(11, 26, 48, 0.45);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    cursor: pointer;
    z-index: 10;
    transition: all var(--kstpa-transition-fast);
}

.kstpa-carousel-nav-btn:hover,
.kstpa-carousel-nav-btn:focus-visible {
    background: var(--kstpa-gold);
    color: var(--kstpa-pub-primary-deep);
    border-color: var(--kstpa-gold);
    outline: none;
    transform: translateY(-50%) scale(1.08);
    box-shadow: 0 4px 14px rgba(212, 175, 55, 0.4);
}

.kstpa-carousel-prev {
    left: 1.25rem;
}

.kstpa-carousel-next {
    right: 1.25rem;
}

.kstpa-carousel-indicators-wrap {
    position: absolute;
    bottom: 0.95rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    z-index: 10;
    background: rgba(11, 26, 48, 0.58);
    backdrop-filter: blur(6px);
    padding: 0.3rem 0.85rem;
    border-radius: var(--kstpa-radius-full);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.kstpa-carousel-pause-btn {
    background: transparent;
    border: none;
    color: #ffffff;
    cursor: pointer;
    font-size: 0.78rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    transition: all 0.2s ease;
    padding: 0;
}

.kstpa-carousel-pause-btn:hover,
.kstpa-carousel-pause-btn:focus-visible {
    color: var(--kstpa-gold);
    background: rgba(255, 255, 255, 0.15);
    outline: none;
}

.kstpa-carousel-indicators {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.kstpa-carousel-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: all var(--kstpa-transition-fast);
}

.kstpa-carousel-dot.active,
.kstpa-carousel-dot:hover {
    background: var(--kstpa-gold);
    width: 24px;
    border-radius: 5px;
}

/* ==========================================================================
   2. ASSOCIATION QUICK FACTS / 4 STATS RIBBON (V7 Equalized Grid & Counters)
   ========================================================================== */

.kstpa-stats-ribbon {
    margin-top: 0;
    padding: 1.75rem 0 2.25rem 0;
    background-color: var(--kstpa-bg-page, #FAF8F5);
    position: relative;
    z-index: 12;
    margin-bottom: 0;
    border-bottom: 1px solid rgba(133, 5, 31, 0.08);
}

.kstpa-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.25rem;
    align-items: stretch;
}

.kstpa-stat-card {
    background: #ffffff;
    border-radius: var(--kstpa-radius-lg);
    padding: 1.35rem 1.35rem;
    box-shadow: 0 8px 24px rgba(44, 10, 16, 0.07);
    border: 1px solid rgba(133, 5, 31, 0.12);
    border-top: 4px solid var(--kstpa-pub-accent, #C99700);
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    height: 100%;
    min-width: 0;
    box-sizing: border-box;
    transition: all var(--kstpa-transition-fast);
}

.kstpa-stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 34px rgba(44, 10, 16, 0.14);
}

.kstpa-stat-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--kstpa-radius-md);
    background-color: rgba(201, 151, 0, 0.12);
    color: var(--kstpa-pub-accent, #C99700);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.kstpa-stat-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1;
    min-width: 0;
    height: 100%;
}

.kstpa-stat-content h3,
.kstpa-stat-value {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--kstpa-pub-primary, #85051F);
    line-height: 1.12;
    margin: 0 0 0.25rem 0;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.01em;
}

.kstpa-stat-content p,
.kstpa-stat-label {
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--kstpa-navy);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    line-height: 1.3;
    margin: 0 0 0.35rem 0;
    overflow-wrap: anywhere;
}

.kstpa-stat-caption {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--kstpa-text-muted, #64748b);
    line-height: 1.35;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: auto;
    font-variant-numeric: tabular-nums;
}

.kstpa-stat-caption i {
    color: var(--kstpa-pub-accent, #C99700);
    font-size: 0.72rem;
}

.kstpa-stat-caption strong {
    color: var(--kstpa-pub-primary, #85051F);
    font-weight: 800;
}

/* ==========================================================================
   3. EDITORIAL TRIO: FOUNDER, PRESIDENT & FEATURED EVENTS
   ========================================================================== */

.kstpa-leadership-section {
    padding: 2.25rem 0 4.25rem 0;
    background-color: var(--kstpa-bg-page, #FAF8F5);
}

.kstpa-editorial-trio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.kstpa-leadership-card {
    background: #ffffff;
    border: 1px solid rgba(133, 5, 31, 0.12);
    border-radius: var(--kstpa-radius-xl);
    padding: 2rem;
    box-shadow: var(--kstpa-shadow-sm);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.kstpa-leadership-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--kstpa-pub-primary, #85051F) 0%, var(--kstpa-pub-accent, #C99700) 100%);
}

.kstpa-leadership-header {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 1.35rem;
}

.kstpa-leadership-avatar-wrap {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--kstpa-pub-accent, #C99700);
    box-shadow: var(--kstpa-shadow-md);
    flex-shrink: 0;
}

.kstpa-leadership-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.kstpa-leadership-kicker {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--kstpa-pub-accent, #C99700);
    display: block;
    margin-bottom: 0.2rem;
}

.kstpa-leadership-meta h3 {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--kstpa-pub-primary, #85051F);
    margin-bottom: 0.2rem;
}

.kstpa-leadership-designation {
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--kstpa-text-muted, #64748b);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: block;
}

.kstpa-leadership-body {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--kstpa-text-secondary, #4a5568);
    position: relative;
    padding-left: 1.15rem;
    border-left: 3px solid var(--kstpa-pub-accent, #C99700);
    margin-bottom: 1.35rem;
    flex-grow: 1;
}

.kstpa-leadership-body p {
    margin-bottom: 0.65rem;
}

.kstpa-leadership-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid var(--kstpa-border-subtle, rgba(0,0,0,0.06));
}

.kstpa-leadership-read-more {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--kstpa-pub-primary, #85051F);
    text-decoration: none;
    transition: color var(--kstpa-transition-fast);
}

.kstpa-leadership-read-more:hover {
    color: var(--kstpa-pub-accent, #C99700);
    text-decoration: underline;
}

/* ==========================================================================
   4. KNOWLEDGE & ACTION HUB: 4-BLOCK GRID (CR-03 Redesign)
   ========================================================================== */

.kstpa-hub-section {
    padding: 4.5rem 0 5rem 0;
    background: #ffffff;
    border-top: 1px solid var(--kstpa-border);
    border-bottom: 1px solid var(--kstpa-border);
}

.kstpa-section-header {
    margin-bottom: 3rem;
}

.kstpa-section-kicker {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--kstpa-pub-accent, #C99700);
    margin-bottom: 0.5rem;
}

.kstpa-section-title {
    font-size: 2.15rem;
    font-weight: 800;
    color: var(--kstpa-pub-primary, #85051F);
    margin-bottom: 0.5rem;
}

.kstpa-section-sub {
    font-size: 1rem;
    color: var(--kstpa-text-muted);
    max-width: 640px;
    margin: 0 auto;
}

.kstpa-section-divider {
    width: 60px;
    height: 3px;
    background: var(--kstpa-pub-accent, #C99700);
    margin: 1.25rem auto 0 auto;
    border-radius: 2px;
}

.kstpa-hub-quad-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.kstpa-hub-card {
    background: var(--kstpa-surface-alt);
    border: 1px solid var(--kstpa-border);
    border-radius: var(--kstpa-radius-lg);
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 16px rgba(11, 26, 48, 0.04);
}

.kstpa-hub-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.35rem;
    padding-bottom: 0.85rem;
    border-bottom: 2px solid var(--kstpa-border);
}

.kstpa-hub-card-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--kstpa-navy);
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin: 0;
}

.kstpa-hub-view-all {
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--kstpa-blue);
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    transition: color var(--kstpa-transition-fast);
}

.kstpa-hub-view-all:hover {
    color: var(--kstpa-navy);
}

.kstpa-hub-card-body {
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
    flex-grow: 1;
}

/* Event Item Compact */
.kstpa-event-item-compact {
    display: flex;
    gap: 1.15rem;
    align-items: flex-start;
    padding: 0.95rem;
    background: #ffffff;
    border: 1px solid var(--kstpa-border);
    border-radius: var(--kstpa-radius-md);
    transition: all var(--kstpa-transition-fast);
}

.kstpa-event-item-compact:hover {
    border-color: var(--kstpa-blue);
    box-shadow: var(--kstpa-shadow-sm);
    transform: translateY(-2px);
}

.kstpa-event-date-badge {
    background: var(--kstpa-navy);
    color: #ffffff;
    padding: 0.45rem 0.65rem;
    border-radius: var(--kstpa-radius-sm);
    text-align: center;
    min-width: 58px;
    flex-shrink: 0;
}

.kstpa-date-day {
    font-size: 1.25rem;
    font-weight: 900;
    color: var(--kstpa-gold);
    display: block;
    line-height: 1;
}

.kstpa-date-month {
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    display: block;
    margin-top: 0.2rem;
    color: #cbd5e1;
}

.kstpa-event-info {
    flex-grow: 1;
}

.kstpa-event-title-clamp {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--kstpa-navy);
    line-height: 1.35;
    margin-bottom: 0.4rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.kstpa-event-title-clamp a {
    color: var(--kstpa-navy);
    transition: color var(--kstpa-transition-fast);
}

.kstpa-event-title-clamp a:hover {
    color: var(--kstpa-blue);
}

.kstpa-event-meta-line {
    font-size: 0.75rem;
    color: var(--kstpa-text-muted);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.kstpa-badge-registration {
    background: #ecfdf5;
    color: #065f46;
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.6875rem;
}

.kstpa-badge-members-only {
    background: #fef3c7;
    color: #92400e;
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.6875rem;
}

/* News Item Compact */
.kstpa-news-item-compact {
    display: flex;
    gap: 1rem;
    align-items: center;
    padding: 0.85rem;
    background: #ffffff;
    border: 1px solid var(--kstpa-border);
    border-radius: var(--kstpa-radius-md);
    transition: all var(--kstpa-transition-fast);
}

.kstpa-news-item-compact:hover {
    border-color: var(--kstpa-blue);
    transform: translateY(-2px);
    box-shadow: var(--kstpa-shadow-sm);
}

.kstpa-news-icon-frame {
    width: 44px;
    height: 44px;
    border-radius: var(--kstpa-radius-sm);
    background: var(--kstpa-blue-light);
    color: var(--kstpa-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    flex-shrink: 0;
}

.kstpa-news-info {
    flex-grow: 1;
}

.kstpa-news-title-clamp {
    font-size: 0.875rem;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 0.25rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.kstpa-news-title-clamp a {
    color: var(--kstpa-navy);
}

.kstpa-news-title-clamp a:hover {
    color: var(--kstpa-blue);
}

.kstpa-news-date-line {
    font-size: 0.75rem;
    color: var(--kstpa-text-muted);
}

/* Notice Item Compact */
.kstpa-notice-item-compact {
    display: flex;
    gap: 1rem;
    align-items: center;
    padding: 0.85rem;
    background: #ffffff;
    border: 1px solid var(--kstpa-border);
    border-left: 3px solid var(--kstpa-gold);
    border-radius: var(--kstpa-radius-md);
    transition: all var(--kstpa-transition-fast);
}

.kstpa-notice-item-compact:hover {
    border-color: var(--kstpa-gold);
    transform: translateY(-2px);
    box-shadow: var(--kstpa-shadow-sm);
}

.kstpa-notice-icon-frame {
    width: 44px;
    height: 44px;
    border-radius: var(--kstpa-radius-sm);
    background: var(--kstpa-gold-light);
    color: var(--kstpa-gold-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    flex-shrink: 0;
}

.kstpa-notice-info {
    flex-grow: 1;
}

.kstpa-notice-title-clamp {
    font-size: 0.875rem;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 0.25rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.kstpa-notice-title-clamp a {
    color: var(--kstpa-navy);
}

.kstpa-notice-title-clamp a:hover {
    color: var(--kstpa-gold-dark);
}

.kstpa-notice-meta-line {
    font-size: 0.75rem;
    color: var(--kstpa-text-muted);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

/* Portal Links Grid */
.kstpa-portal-links-grid {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.kstpa-portal-link-btn {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 1rem;
    background: #ffffff;
    border: 1px solid var(--kstpa-border);
    border-radius: var(--kstpa-radius-md);
    color: var(--kstpa-navy);
    font-size: 0.875rem;
    font-weight: 600;
    transition: all var(--kstpa-transition-fast);
}

.kstpa-portal-link-btn:hover {
    background: var(--kstpa-blue-light);
    border-color: var(--kstpa-blue);
    color: var(--kstpa-blue);
    transform: translateX(4px);
}

.kstpa-portal-link-btn span {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.kstpa-portal-link-btn i {
    color: var(--kstpa-blue);
}

.kstpa-link-arrow {
    font-size: 0.75rem;
    opacity: 0.6;
}

/* Gallery Thumbnails Grid (CR-03 Quad Grid) */
.kstpa-gallery-thumbs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem;
}

.kstpa-gallery-thumb-item {
    position: relative;
    border-radius: var(--kstpa-radius-sm);
    overflow: hidden;
    aspect-ratio: 4 / 3;
    display: block;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    background: #e2e8f0;
}

.kstpa-gallery-thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.kstpa-gallery-thumb-item:hover img {
    transform: scale(1.08);
}

.kstpa-gallery-thumb-overlay {
    position: absolute;
    inset: auto 0 0 0;
    padding: 0.35rem 0.5rem;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.82) 100%);
    color: #ffffff;
    font-size: 0.6875rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ==========================================================================
   5. SPONSORS SHOWCASE (OWL CAROUSEL V6)
   ========================================================================== */

.kstpa-sponsors-section {
    padding: 3.75rem 0;
    background: #ffffff;
    border-top: 1px solid var(--kstpa-border, #E8DFC8);
    border-bottom: 1px solid var(--kstpa-border, #E8DFC8);
    text-align: center;
    position: relative;
}

.kstpa-sponsors-header {
    margin-bottom: 2.25rem;
}

.kstpa-sponsors-title {
    font-size: clamp(1.4rem, 3vw, 1.85rem);
    font-weight: 800;
    color: var(--kstpa-pub-primary, #85051F);
    margin-top: 0.35rem;
    margin-bottom: 0.45rem;
}

.kstpa-sponsors-sub {
    font-size: 0.9375rem;
    color: var(--kstpa-pub-text-secondary, #4A5568);
    max-width: 650px;
    margin: 0 auto 1.25rem auto;
}

.kstpa-sponsor-slide-card {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 12px 6px;
}

.kstpa-sponsor-slide-card .kstpa-sponsor-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 88px;
    background: #FFFFFF;
    border: 1.5px solid var(--kstpa-border, #E8DFC8);
    border-radius: var(--kstpa-radius-lg, 12px);
    padding: 1rem 1.75rem;
    box-shadow: 0 3px 10px rgba(133, 5, 31, 0.05);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.kstpa-sponsor-slide-card .kstpa-sponsor-badge:hover {
    border-color: var(--kstpa-pub-accent, #D7A643);
    box-shadow: 0 8px 24px rgba(215, 166, 67, 0.25);
    transform: translateY(-4px);
}

.kstpa-sponsor-slide-card .kstpa-sponsor-badge img {
    max-height: 48px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}

/* ==========================================================================
   6. MANAGING COMMITTEE PREVIEW (OWL CAROUSEL V6)
   ========================================================================== */

.kstpa-committee-section {
    padding: 4.5rem 0;
    background-color: var(--kstpa-cream-surface, #FBF8F3);
    border-bottom: 1px solid var(--kstpa-border, #E8DFC8);
    position: relative;
}

.kstpa-members-carousel .owl-stage {
    display: flex;
    justify-content: center;
    margin: 0 auto;
}

.kstpa-member-slide-card {
    padding: 12px 6px;
    height: 100%;
}

.kstpa-committee-card {
    background: #ffffff;
    border: 1.5px solid var(--kstpa-border, #E8DFC8);
    border-radius: var(--kstpa-radius-xl, 16px);
    padding: 2.25rem 1.25rem 1.75rem 1.25rem;
    text-align: center;
    box-shadow: 0 4px 16px rgba(133, 5, 31, 0.06);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    min-height: 290px;
}

.kstpa-committee-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 32px rgba(133, 5, 31, 0.14);
    border-color: var(--kstpa-pub-accent, #D7A643);
}

.kstpa-committee-avatar-wrap {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    margin: 0 auto 1.15rem auto;
    overflow: hidden;
    border: 3px solid var(--kstpa-pub-accent, #D7A643);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    background: #FFFFFF;
    flex-shrink: 0;
}

.kstpa-committee-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.kstpa-committee-name {
    font-size: 1.0625rem;
    font-weight: 800;
    color: var(--kstpa-pub-primary, #85051F);
    margin-bottom: 0.35rem;
    line-height: 1.25;
}

.kstpa-committee-role {
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--kstpa-pub-accent-hover, #C29334);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.75rem;
    display: block;
}

.kstpa-committee-zone-badge {
    display: inline-block;
    font-size: 0.6875rem;
    font-weight: 700;
    padding: 0.2rem 0.75rem;
    border-radius: var(--kstpa-radius-full, 9999px);
    background-color: rgba(133, 5, 31, 0.06);
    color: var(--kstpa-pub-primary, #85051F);
    border: 1px solid rgba(133, 5, 31, 0.15);
    margin-top: auto;
}

/* ==========================================================================
   OWL CAROUSEL ARROWS & DOTS STYLING (SHARED V6)
   ========================================================================== */
.kstpa-sponsors-section .owl-carousel,
.kstpa-committee-section .owl-carousel {
    position: relative;
    padding: 0 40px;
}

.owl-theme .owl-nav {
    margin-top: 0 !important;
}

.kstpa-sponsors-section .owl-theme .owl-nav [class*='owl-'],
.kstpa-committee-section .owl-theme .owl-nav [class*='owl-'] {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: var(--kstpa-pub-primary, #85051F) !important;
    color: var(--kstpa-pub-accent, #F8D98C) !important;
    border: 1.5px solid var(--kstpa-pub-accent, #D7A643) !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    margin: 0 !important;
    padding: 0 !important;
    font-size: 1rem !important;
    box-shadow: var(--kstpa-pub-shadow-md) !important;
    transition: all 0.25s ease !important;
    cursor: pointer;
    z-index: 10;
}

.kstpa-sponsors-section .owl-theme .owl-nav .owl-prev,
.kstpa-committee-section .owl-theme .owl-nav .owl-prev {
    left: -12px;
}

.kstpa-sponsors-section .owl-theme .owl-nav .owl-next,
.kstpa-committee-section .owl-theme .owl-nav .owl-next {
    right: -12px;
}

.kstpa-sponsors-section .owl-theme .owl-nav [class*='owl-']:hover,
.kstpa-committee-section .owl-theme .owl-nav [class*='owl-']:hover {
    background: var(--kstpa-pub-primary-deep, #570013) !important;
    color: #FFFFFF !important;
    border-color: #FFFFFF !important;
    box-shadow: var(--kstpa-pub-shadow-lg) !important;
    transform: translateY(-50%) scale(1.08) !important;
}

.owl-theme .owl-dots {
    margin-top: 1.75rem !important;
    display: flex !important;
    justify-content: center;
    align-items: center;
    gap: 6px;
}

.owl-theme .owl-dots .owl-dot span {
    width: 10px !important;
    height: 10px !important;
    margin: 0 !important;
    background: var(--kstpa-pub-primary-glow, rgba(133, 5, 31, 0.22)) !important;
    border: 1px solid var(--kstpa-pub-accent-border, rgba(215, 166, 67, 0.45)) !important;
    border-radius: 50% !important;
    transition: all 0.25s ease !important;
}

.owl-theme .owl-dots .owl-dot.active span,
.owl-theme .owl-dots .owl-dot:hover span {
    background: var(--kstpa-pub-primary, #85051F) !important;
    border-color: var(--kstpa-pub-accent, #D7A643) !important;
    width: 24px !important;
    border-radius: 8px !important;
}

/* ==========================================================================
   7. MEMBERSHIP CALL TO ACTION BANNER
   ========================================================================== */

.kstpa-cta-section {
    padding: 4.5rem 0;
    background: var(--kstpa-pub-cta-gradient, linear-gradient(135deg, #570013 0%, #85051F 54%, #A31D36 100%));
    color: #ffffff;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-top: 2px solid var(--kstpa-pub-accent, #D7A643);
    box-shadow: var(--kstpa-pub-btn-top-edge);
}

.kstpa-cta-section::before {
    content: "";
    position: absolute;
    inset: -15%;
    background: var(--kstpa-pub-panel-shine, radial-gradient(circle at 80% 25%, rgba(255, 255, 255, 0.12) 0%, transparent 60%));
    pointer-events: none;
    z-index: 1;
    transform: translate3d(calc((var(--kstpa-scroll-progress, 0.5) - 0.5) * 44px), calc((0.5 - var(--kstpa-scroll-progress, 0.5)) * 22px), 0);
}

.kstpa-cta-inner {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.kstpa-cta-title {
    font-size: 2.35rem;
    font-weight: 900;
    margin-bottom: 1.15rem;
    color: #ffffff;
}

.kstpa-cta-desc {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: #e2e8f0;
    max-width: 740px;
    margin: 0 auto 2rem auto;
}

.kstpa-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1.25rem;
    flex-wrap: wrap;
}

/* Executive KSTPA Mobile Apps Strip (V7-10) */
.kstpa-mobile-apps-strip {
    margin-top: 2.5rem;
    padding: 1.65rem 2rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1.5px solid rgba(215, 166, 67, 0.38);
    border-radius: var(--kstpa-radius-xl, 16px);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.75rem;
    text-align: left;
}

.kstpa-mobile-apps-copy {
    flex: 1;
    min-width: 0;
}

.kstpa-mobile-apps-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--kstpa-pub-accent, #F8D98C);
    margin-bottom: 0.35rem;
}

.kstpa-mobile-apps-heading {
    font-size: 1.35rem;
    font-weight: 800;
    color: #FFFFFF;
    margin: 0 0 0.3rem 0;
    line-height: 1.25;
}

.kstpa-mobile-apps-sub {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.45;
    margin: 0;
}

.kstpa-store-badges-group {
    display: flex;
    align-items: stretch;
    gap: 0.85rem;
    flex-shrink: 0;
    flex-wrap: wrap;
}

/* ==========================================================================
   8. RESPONSIVE BREAKPOINTS (CR-04 & V7 Full Screen Coverage)
   ========================================================================== */

@media (min-width: 1600px) {
    .kstpa-hero-carousel-wrap,
    .kstpa-carousel-slide {
        min-height: 465px;
    }
}

@media (max-width: 1200px) {
    .kstpa-committee-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 1024px) {
    .kstpa-hero-carousel-wrap,
    .kstpa-carousel-slide {
        min-height: 390px;
    }
    .kstpa-carousel-container {
        padding-top: 2rem;
        padding-bottom: 3.15rem;
    }
    .kstpa-carousel-grid {
        display: block;
        text-align: center;
    }
    .kstpa-carousel-text {
        max-width: 100%;
    }
    .kstpa-carousel-desc {
        margin-left: auto;
        margin-right: auto;
    }
    .kstpa-carousel-actions {
        justify-content: center;
    }
    .kstpa-creed-card {
        grid-template-columns: auto 1fr;
        gap: 1.5rem;
        padding: 1.25rem 1.75rem;
    }
    .kstpa-creed-seal {
        grid-column: 1 / -1;
        padding-left: 0;
        border-left: none;
        border-top: 1px solid rgba(133, 5, 31, 0.1);
        padding-top: 1rem;
        justify-content: center;
    }
    .kstpa-stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1rem;
    }
    .kstpa-editorial-trio-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .kstpa-hub-quad-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.25rem;
    }
    .kstpa-stat-card {
        padding: 1.25rem 1.15rem;
    }
    .kstpa-committee-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .kstpa-mobile-apps-strip {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }
    .kstpa-store-badges-group {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .kstpa-hero-carousel-wrap,
    .kstpa-carousel-slide {
        min-height: clamp(310px, 35vh, 360px);
        align-items: flex-end; /* Position compact caption near bottom so photo subject is visible */
    }
    .kstpa-carousel-bg {
        background-position: center 25% !important;
        background-size: cover !important;
    }
    .kstpa-carousel-overlay {
        /* Localized bottom vignette preserving top/center photo clarity */
        background: linear-gradient(
            180deg,
            rgba(0, 0, 0, 0) 0%,
            rgba(15, 3, 6, 0.08) 32%,
            rgba(15, 3, 6, 0.55) 65%,
            rgba(15, 3, 6, 0.92) 100%
        ) !important;
    }
    .kstpa-carousel-container {
        padding-top: 0.75rem;
        padding-bottom: 3.25rem; /* Sufficient space for indicator dots */
    }
    .kstpa-carousel-eyebrow {
        display: none !important; /* Hide decorative eyebrow to maximize photo visibility */
    }
    .kstpa-carousel-title {
        font-size: clamp(1.25rem, 3.8vw, 1.55rem);
        line-height: 1.22;
        margin-bottom: 0.35rem;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
    }
    .kstpa-carousel-kannada {
        display: none !important;
    }
    .kstpa-carousel-desc {
        font-size: 0.85rem;
        line-height: 1.35;
        margin-bottom: 0.55rem;
        display: -webkit-box;
        -webkit-line-clamp: 1;
        -webkit-box-orient: vertical;
        overflow: hidden;
        color: rgba(255, 255, 255, 0.94);
        text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
    }
    .kstpa-carousel-actions {
        display: flex;
        flex-direction: row !important;
        width: auto !important;
        gap: 0.5rem;
    }
    .kstpa-carousel-actions .kstpa-btn,
    .kstpa-carousel-actions .kstpa-carousel-readmore-btn {
        width: auto !important;
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        padding: 0.4rem 1rem !important;
        font-size: 0.825rem !important;
        min-height: 44px;
        border-radius: 6px;
    }
    .kstpa-carousel-indicators-wrap {
        bottom: 0.45rem !important;
        gap: 0.5rem !important;
        padding: 0.2rem 0.6rem !important;
    }
    .kstpa-carousel-pause-btn {
        width: 22px !important;
        height: 22px !important;
        font-size: 0.65rem !important;
    }
    .kstpa-carousel-nav-btn {
        display: none; /* Hide arrows on touch/mobile, use dots or swipe */
    }
    .kstpa-sponsors-section .owl-carousel,
    .kstpa-committee-section .owl-carousel {
        padding: 0 16px;
    }
    .kstpa-creed-card {
        grid-template-columns: 1fr;
        gap: 0.9rem;
        text-align: center;
        padding: 1.15rem;
    }
    .kstpa-creed-mark {
        display: none;
    }
    .kstpa-creed-seal {
        grid-column: auto;
        padding-left: 0;
        border-left: none;
        border-top: 1px solid rgba(133, 5, 31, 0.1);
        padding-top: 0.85rem;
        justify-content: center;
    }
    .kstpa-stats-ribbon {
        margin-top: 0;
        padding: 1.35rem 0 2rem 0;
        margin-bottom: 0;
    }
    .kstpa-stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.85rem;
    }
    .kstpa-stat-card {
        padding: 1.1rem 1rem;
    }
    .kstpa-hub-quad-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    .kstpa-hub-section {
        padding: 3rem 0 3.5rem 0;
    }
    .kstpa-section-title {
        font-size: 1.75rem;
    }
    .kstpa-leadership-card {
        padding: 1.5rem;
    }
    .kstpa-committee-grid {
        grid-template-columns: 1fr;
    }
    .kstpa-cta-title {
        font-size: 1.85rem;
    }
}

@media (max-width: 639px) {
    .kstpa-stats-grid {
        grid-template-columns: 1fr;
        gap: 0.85rem;
    }
}

@media (max-width: 480px) {
    .kstpa-hero-carousel-wrap,
    .kstpa-carousel-slide {
        min-height: clamp(245px, 40vh, 275px);
        align-items: flex-end;
    }
    .kstpa-carousel-bg {
        background-position: center 20% !important;
        background-size: cover !important;
    }
    .kstpa-carousel-overlay {
        /* Localized bottom gradient keeping upper 65% of image bright and clear */
        background: linear-gradient(
            180deg,
            rgba(0, 0, 0, 0) 0%,
            rgba(15, 3, 6, 0.04) 30%,
            rgba(15, 3, 6, 0.45) 58%,
            rgba(15, 3, 6, 0.85) 82%,
            rgba(15, 3, 6, 0.95) 100%
        ) !important;
    }
    .kstpa-carousel-container {
        padding-top: 0.35rem;
        padding-bottom: 2.95rem; /* Room for indicator dots with positive clearance */
    }
    .kstpa-carousel-eyebrow {
        display: none !important; /* Hide decorative eyebrow on mobile to maximize photo space */
    }
    .kstpa-carousel-title {
        font-size: clamp(1.125rem, 4.6vw, 1.25rem) !important; /* ~18-20px */
        line-height: 1.2 !important;
        margin-bottom: 0.2rem !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
        text-shadow: 0 2px 6px rgba(0, 0, 0, 0.85);
    }
    .kstpa-carousel-kannada {
        display: none !important;
    }
    .kstpa-carousel-desc {
        font-size: 0.78125rem !important; /* ~12.5px */
        line-height: 1.35 !important;
        margin-bottom: 0.35rem !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 1 !important; /* Single short line */
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
        color: rgba(255, 255, 255, 0.94) !important;
        text-shadow: 0 1px 4px rgba(0, 0, 0, 0.7);
    }
    .kstpa-carousel-actions {
        display: flex !important;
        flex-direction: row !important;
        width: auto !important;
        gap: 0.5rem;
        margin-top: 0.15rem !important;
        margin-bottom: 0 !important;
    }
    .kstpa-carousel-actions .kstpa-btn,
    .kstpa-carousel-actions .kstpa-carousel-readmore-btn {
        width: auto !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        min-height: 44px !important; /* 44px comfortable touch target */
        min-width: 44px !important;
        padding: 0.35rem 0.85rem !important; /* Reduced horizontal padding */
        font-size: 0.78125rem !important; /* ~12.5px */
        font-weight: 700 !important;
        border-radius: 6px !important;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3) !important;
    }
    .kstpa-carousel-indicators-wrap {
        bottom: 0.35rem !important;
        gap: 0.4rem !important;
        padding: 0.15rem 0.5rem !important;
    }
    .kstpa-carousel-pause-btn {
        width: 20px !important;
        height: 20px !important;
        font-size: 0.6rem !important;
    }
    .kstpa-carousel-dot {
        width: 14px !important;
        height: 4px !important;
    }
    .kstpa-carousel-dot.active {
        width: 24px !important;
    }
    .kstpa-stats-ribbon {
        margin-top: 0;
        padding: 1.25rem 0 1.75rem 0;
    }
    .kstpa-stat-content h3,
    .kstpa-stat-value {
        font-size: 1.5rem;
    }
    .kstpa-leadership-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    .kstpa-leadership-meta {
        text-align: center;
    }
    .kstpa-leadership-body {
        padding-left: 0;
        border-left: none;
        border-top: 2px solid var(--kstpa-gold-subtle);
        padding-top: 1rem;
    }
    .kstpa-leadership-footer {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
    .kstpa-event-item-compact {
        flex-direction: column;
    }
    .kstpa-event-date-badge {
        width: 100%;
    }
    .kstpa-cta-buttons {
        flex-direction: column;
        width: 100%;
    }
    .kstpa-cta-buttons .kstpa-btn {
        width: 100%;
        justify-content: center;
    }
    .kstpa-mobile-apps-strip {
        padding: 1.25rem 1rem;
        margin-top: 1.75rem;
    }
    .kstpa-store-badges-group {
        flex-direction: column;
        width: 100%;
    }
    .kstpa-store-badges-group .kstpa-store-badge-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 360px) {
    .kstpa-hero-carousel-wrap,
    .kstpa-carousel-slide {
        min-height: clamp(230px, 40vh, 255px);
    }
    .kstpa-carousel-container {
        padding-top: 0.25rem !important;
        padding-bottom: 2.85rem !important;
    }
    .kstpa-carousel-title {
        font-size: 1.0625rem !important; /* ~17px */
        margin-bottom: 0.2rem !important;
    }
    .kstpa-carousel-desc {
        font-size: 0.75rem !important; /* ~12px */
        line-height: 1.3 !important;
        margin-bottom: 0.3rem !important;
    }
    .kstpa-carousel-actions .kstpa-btn,
    .kstpa-carousel-actions .kstpa-carousel-readmore-btn {
        min-height: 42px !important;
        min-width: 42px !important;
        padding: 0.3rem 0.75rem !important;
    }
    .kstpa-stat-card {
        padding: 1rem;
    }
    .kstpa-stat-content h3,
    .kstpa-stat-value {
        font-size: 1.35rem;
    }
    .kstpa-cta-title {
        font-size: 1.45rem;
    }
}

/* ==========================================================================
   V8: HERO CROSSFADE, SLIDE TEXT ENTRANCE & OWL CAROUSEL REFINEMENTS
   ========================================================================== */

@media (prefers-reduced-motion: no-preference) {
    .kstpa-carousel-slide {
        transition: opacity var(--kstpa-motion-long, 720ms) var(--kstpa-motion-ease, cubic-bezier(0.22, 1, 0.36, 1)),
                    visibility var(--kstpa-motion-long, 720ms) ease;
    }

    .kstpa-hero-hydrated .kstpa-carousel-slide:not(.active) .kstpa-carousel-eyebrow,
    .kstpa-hero-hydrated .kstpa-carousel-slide:not(.active) .kstpa-carousel-title,
    .kstpa-hero-hydrated .kstpa-carousel-slide:not(.active) .kstpa-carousel-kannada,
    .kstpa-hero-hydrated .kstpa-carousel-slide:not(.active) .kstpa-carousel-desc,
    .kstpa-hero-hydrated .kstpa-carousel-slide:not(.active) .kstpa-carousel-actions {
        opacity: 0.01;
        transform: translate3d(0, 10px, 0);
    }

    .kstpa-hero-hydrated .kstpa-carousel-slide.active .kstpa-carousel-eyebrow,
    .kstpa-hero-hydrated .kstpa-carousel-slide.active .kstpa-carousel-title,
    .kstpa-hero-hydrated .kstpa-carousel-slide.active .kstpa-carousel-kannada,
    .kstpa-hero-hydrated .kstpa-carousel-slide.active .kstpa-carousel-desc,
    .kstpa-hero-hydrated .kstpa-carousel-slide.active .kstpa-carousel-actions {
        opacity: 1;
        transform: translate3d(0, 0, 0);
        transition: opacity 360ms var(--kstpa-motion-ease, cubic-bezier(0.22, 1, 0.36, 1)),
                    transform 360ms var(--kstpa-motion-ease, cubic-bezier(0.22, 1, 0.36, 1));
    }

    .kstpa-hero-hydrated .kstpa-carousel-slide.active .kstpa-carousel-title {
        transition-delay: 40ms;
    }

    .kstpa-hero-hydrated .kstpa-carousel-slide.active .kstpa-carousel-kannada,
    .kstpa-hero-hydrated .kstpa-carousel-slide.active .kstpa-carousel-desc {
        transition-delay: 80ms;
    }

    .kstpa-hero-hydrated .kstpa-carousel-slide.active .kstpa-carousel-actions {
        transition-delay: 120ms;
    }
}

/* Owl Carousel Navigation & Dot Polish */
.kstpa-owl-btn {
    transition: transform var(--kstpa-motion-fast, 170ms) var(--kstpa-motion-ease),
                background-color var(--kstpa-motion-fast, 170ms) var(--kstpa-motion-ease),
                color var(--kstpa-motion-fast, 170ms) var(--kstpa-motion-ease),
                box-shadow var(--kstpa-motion-fast, 170ms) var(--kstpa-motion-ease);
}

@media (hover: hover) and (pointer: fine) {
    .kstpa-owl-btn:hover {
        transform: scale(1.06);
    }
}

.owl-theme .owl-dots .owl-dot span {
    transition: width var(--kstpa-motion-normal, 260ms) var(--kstpa-motion-ease),
                background-color var(--kstpa-motion-normal, 260ms) var(--kstpa-motion-ease),
                transform var(--kstpa-motion-fast, 170ms) var(--kstpa-motion-ease);
}

/* =========================================================================
   CAROUSEL SLIDE DETAILS IN-PAGE MODAL (3:1 Master Banner Standard)
   ========================================================================= */
.kstpa-slide-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.78);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.kstpa-slide-modal-backdrop:not([hidden]) {
    opacity: 1;
    visibility: visible;
}

.kstpa-slide-modal-dialog {
    width: 100%;
    max-width: 760px;
    max-height: 90vh;
    overflow-y: auto;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.35);
    border: 1px solid rgba(226, 232, 240, 0.8);
    position: relative;
    transform: translateY(16px) scale(0.98);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.kstpa-slide-modal-backdrop:not([hidden]) .kstpa-slide-modal-dialog {
    transform: translateY(0) scale(1);
}

.kstpa-slide-modal-content {
    display: flex;
    flex-direction: column;
    position: relative;
}

.kstpa-slide-modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.65);
    color: #ffffff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    font-size: 14px;
    transition: background 0.2s ease, transform 0.2s ease;
}

.kstpa-slide-modal-close:hover,
.kstpa-slide-modal-close:focus {
    background: #0f172a;
    transform: scale(1.08);
}

.kstpa-slide-modal-media {
    width: 100%;
    aspect-ratio: 3 / 1;
    overflow: hidden;
    background: #0f172a;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}

.kstpa-slide-modal-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.kstpa-slide-modal-body {
    padding: 1.75rem 2rem 1.25rem;
}

.kstpa-slide-modal-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--kstpa-pub-primary, #85051F);
    background: rgba(133, 5, 31, 0.08);
    padding: 0.35rem 0.75rem;
    border-radius: 9999px;
    margin-bottom: 0.75rem;
}

.kstpa-slide-modal-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--kstpa-slate-900, #0f172a);
    line-height: 1.3;
    margin: 0 0 1rem;
    font-family: inherit;
}

.kstpa-slide-modal-text {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--kstpa-slate-700, #334155);
    white-space: pre-line;
    word-break: break-word;
}

.kstpa-slide-modal-footer {
    padding: 1rem 2rem 1.5rem;
    display: flex;
    justify-content: flex-end;
    border-top: 1px solid var(--kstpa-slate-200, #e2e8f0);
}



/* Mobile Landscape Carousel Rule (Short Viewports) */
@media (max-height: 500px) and (orientation: landscape) {
    .kstpa-hero-carousel-wrap,
    .kstpa-carousel-slide {
        min-height: clamp(195px, 54vh, 225px) !important;
        align-items: flex-end !important;
    }
    .kstpa-carousel-container {
        padding-top: 0.2rem !important;
        padding-bottom: 2.6rem !important;
    }
    .kstpa-carousel-eyebrow,
    .kstpa-carousel-kannada {
        display: none !important;
    }
    .kstpa-carousel-title {
        font-size: 1.05rem !important;
        line-height: 1.18 !important;
        margin-bottom: 0.15rem !important;
        -webkit-line-clamp: 1 !important;
    }
    .kstpa-carousel-desc {
        font-size: 0.75rem !important;
        line-height: 1.25 !important;
        margin-bottom: 0.2rem !important;
        -webkit-line-clamp: 1 !important;
    }
    .kstpa-carousel-actions {
        display: flex !important;
        margin-top: 0.1rem !important;
    }
    .kstpa-carousel-actions .kstpa-btn,
    .kstpa-carousel-actions .kstpa-carousel-readmore-btn {
        min-height: 40px !important;
        min-width: 40px !important;
        padding: 0.25rem 0.75rem !important;
        font-size: 0.75rem !important;
    }
    .kstpa-carousel-indicators-wrap {
        bottom: 0.25rem !important;
        padding: 0.15rem 0.45rem !important;
    }
    .kstpa-carousel-pause-btn {
        width: 18px !important;
        height: 18px !important;
        font-size: 0.55rem !important;
    }
    .kstpa-carousel-dot {
        width: 12px !important;
        height: 3px !important;
    }
    .kstpa-carousel-dot.active {
        width: 20px !important;
    }
}
