/* ===================================================================
   KYOKUSHIN BANGLADESH — Frontend Stylesheet
   Clean & Structured | Light theme with dark accents
   =================================================================== */

:root {
    --crimson: #C41E3A;
    --crimson-dark: #9B1B30;
    --gold: #D4A843;
    --ink: #1a1a2e;
    --charcoal: #2d2d3f;
    --body-bg: #f8f8fa;
    --white: #ffffff;
    --border: #e4e4e8;
    --text: #3a3a4a;
    --text-light: #7a7a8a;
    --font-main: 'Barlow', sans-serif;
    --font-condensed: 'Barlow Condensed', sans-serif;
    --font-bengali: 'Noto Sans Bengali', sans-serif;
}

body { font-family: var(--font-main); color: var(--text); background: var(--body-bg); }

/* === TOP BAR === */
.top-bar { background: var(--ink); padding: 8px 0; font-size: 0.78rem; }
.top-bar-left span { color: rgba(255,255,255,0.6); }
.top-bar-left i { color: var(--crimson); margin-right: 4px; }
.top-bar-right a { color: rgba(255,255,255,0.6); margin-left: 16px; text-decoration: none; transition: color 0.3s; }
.top-bar-right a:hover { color: var(--gold); }
.iko-link { font-size: 0.72rem; letter-spacing: 0.05em; text-transform: uppercase; }

/* === NAVBAR === */
.main-nav {
    box-shadow: 0 10px 32px rgba(18,16,26,0.08);
    border-bottom: 1px solid rgba(196,30,58,0.14);
    padding: 0;
    background: rgba(255,255,255,0.96) !important;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}
.main-nav .container {
    min-height: 82px;
}
.brand-mark { display: flex; align-items: center; gap: 12px; }
.brand-icon {
    width: 52px;
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(196,30,58,0.04) 0%, rgba(196,30,58,0.1) 100%);
    border: 1px solid rgba(196,30,58,0.12);
}
.brand-text { display: flex; flex-direction: column; }
.brand-name { font-size: 1.14rem; font-weight: 600; color: var(--ink); letter-spacing: 0.02em; line-height: 1.05; }
.brand-name strong { font-weight: 700; }
.brand-sub { font-size: 0.65rem; color: var(--text-light); letter-spacing: 0.12em; text-transform: uppercase; }
.main-nav .navbar-nav {
    align-items: center;
    gap: 4px;
}
.main-nav .nav-item {
    position: relative;
}
.main-nav .nav-item.dropdown::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    height: 18px;
}
.main-nav .nav-link {
    font-family: var(--font-condensed);
    font-weight: 600;
    font-size: 0.88rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text);
    padding: 12px 16px !important;
    margin: 0 1px;
    border-radius: 999px;
    transition: color 0.25s, background 0.25s, transform 0.25s;
    position: relative;
}
.main-nav .nav-link::after {
    content: '';
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 7px;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--crimson), #ef6a52);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.25s ease;
}
.main-nav .nav-link:hover,
.main-nav .nav-link.active,
.main-nav .show > .nav-link,
.main-nav .dropdown-hover > .nav-link {
    color: var(--crimson);
    background: rgba(196,30,58,0.06);
}
.main-nav .nav-link:hover::after,
.main-nav .nav-link.active::after,
.main-nav .show > .nav-link::after,
.main-nav .dropdown-hover > .nav-link::after {
    transform: scaleX(1);
}
.main-nav .dropdown-toggle::before {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -13px;
    width: 10px;
    height: 10px;
    background: #fff;
    border-left: 1px solid rgba(24,22,21,0.08);
    border-top: 1px solid rgba(24,22,21,0.08);
    transform: translateX(-50%) rotate(45deg);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}
.main-nav .show > .dropdown-toggle::before,
.main-nav .dropdown-hover > .dropdown-toggle::before {
    opacity: 1;
}
.dropdown-menu {
    margin-top: 14px !important;
    padding: 10px;
    min-width: 230px;
    border: 1px solid rgba(24,22,21,0.08);
    border-radius: 18px;
    box-shadow: 0 18px 40px rgba(18,16,26,0.1);
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}
@media (min-width: 992px) {
    .main-nav .nav-item.dropdown-hover > .dropdown-menu {
        display: block;
    }
}
.dropdown-item {
    font-size: 0.84rem;
    padding: 11px 14px;
    border-radius: 12px;
    color: var(--text);
    font-family: var(--font-condensed);
    letter-spacing: 0.04em;
}
.dropdown-item:hover,
.dropdown-item:focus {
    background: rgba(196,30,58,0.06);
    color: var(--crimson);
}
.main-nav .btn-outline-danger,
.main-nav .btn-danger {
    min-height: 42px;
    padding: 12px 18px;
    border-radius: 999px;
    font-family: var(--font-condensed);
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-size: 0.8rem;
}

/* === MOBILE HAMBURGER BUTTON === */
.mobile-menu-btn { background: none; border: none; padding: 6px 4px; display: flex; flex-direction: column; justify-content: center; gap: 5px; cursor: pointer; width: 38px; height: 38px; }
.mobile-menu-btn span { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: all 0.3s; }
.mobile-menu-btn span:first-child { width: 100%; }
.mobile-menu-btn span:nth-child(2) { width: 72%; }
.mobile-menu-btn span:last-child { width: 100%; }
.mobile-menu-btn:hover span { background: var(--crimson); }
.mobile-menu-btn:hover span:nth-child(2) { width: 100%; }

/* === MOBILE DRAWER === */
/* Override Bootstrap offcanvas CSS variables */
#mobileDrawer {
    --bs-offcanvas-bg: var(--ink);
    --bs-offcanvas-color: rgba(255,255,255,0.75);
    --bs-offcanvas-width: 290px;
    display: flex;
    flex-direction: column;
}

#mobileDrawer .mobile-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    flex-shrink: 0;
    background: rgba(0,0,0,0.2);
}

#mobileDrawer .mobile-drawer-close {
    background: none;
    border: none;
    color: rgba(255,255,255,0.5);
    font-size: 1rem;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.2s;
    flex-shrink: 0;
}
#mobileDrawer .mobile-drawer-close:hover { color: #fff; background: rgba(255,255,255,0.1); }

/* Reset Bootstrap's offcanvas-body padding */
#mobileDrawer .offcanvas-body {
    padding: 8px 0 0;
    overflow-y: auto;
    flex: 1;
}
#mobileDrawer .offcanvas-body::-webkit-scrollbar { width: 3px; }
#mobileDrawer .offcanvas-body::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.12); border-radius: 3px; }

/* Nav links */
#mobileDrawer .mobile-nav {
    display: flex;
    flex-direction: column;
}

#mobileDrawer .mobile-nav-link {
    display: flex !important;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 12px 20px;
    color: rgba(255,255,255,0.72) !important;
    font-family: var(--font-condensed);
    font-size: 0.88rem;
    font-weight: 500;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    text-decoration: none !important;
    background: none;
    border: none;
    border-left: 3px solid transparent;
    transition: all 0.2s;
    box-shadow: none;
    outline: none;
    cursor: pointer;
    line-height: 1.4;
}
#mobileDrawer .mobile-nav-link i.fa, #mobileDrawer .mobile-nav-link i.fas, #mobileDrawer .mobile-nav-link i.fab {
    width: 16px;
    text-align: center;
    font-size: 0.78rem;
    color: rgba(255,255,255,0.3);
    flex-shrink: 0;
}
#mobileDrawer .mobile-nav-link:hover {
    color: #fff !important;
    background: rgba(255,255,255,0.05);
    border-left-color: rgba(196,30,58,0.6);
}
#mobileDrawer .mobile-nav-link.active {
    color: #fff !important;
    background: rgba(196,30,58,0.12);
    border-left-color: var(--crimson);
}
#mobileDrawer .mobile-nav-link.active i.fa,
#mobileDrawer .mobile-nav-link.active i.fas { color: var(--crimson); }

/* Accordion toggle */
#mobileDrawer .mobile-nav-toggle { justify-content: space-between; }
#mobileDrawer .mobile-nav-toggle > span { display: flex; align-items: center; gap: 10px; }
#mobileDrawer .toggle-icon { font-size: 0.65rem; color: rgba(255,255,255,0.25); transition: transform 0.25s; margin-left: auto; }
#mobileDrawer .mobile-nav-toggle.open .toggle-icon { transform: rotate(180deg); color: rgba(255,255,255,0.5); }

/* Sub-menu */
#mobileDrawer .mobile-nav-sub {
    display: none;
    background: rgba(0,0,0,0.3);
}
#mobileDrawer .mobile-nav-sub.show { display: block; }

#mobileDrawer .mobile-nav-sub-link {
    display: block !important;
    width: 100%;
    padding: 10px 20px 10px 46px;
    color: rgba(255,255,255,0.5) !important;
    font-size: 0.8rem;
    font-family: var(--font-condensed);
    letter-spacing: 0.05em;
    text-decoration: none !important;
    border-left: 3px solid transparent;
    transition: all 0.2s;
}
#mobileDrawer .mobile-nav-sub-link:hover {
    color: #fff !important;
    background: rgba(255,255,255,0.05);
    border-left-color: rgba(196,30,58,0.5);
}

/* Auth + footer sections */
#mobileDrawer .mobile-drawer-auth {
    padding: 16px 20px;
    border-top: 1px solid rgba(255,255,255,0.08);
    margin-top: 8px;
}

#mobileDrawer .mobile-drawer-footer {
    padding: 14px 20px;
    border-top: 1px solid rgba(255,255,255,0.08);
    flex-shrink: 0;
}
#mobileDrawer .mobile-drawer-footer a {
    color: rgba(255,255,255,0.4) !important;
    font-size: 0.88rem;
    text-decoration: none !important;
    transition: color 0.2s;
}
#mobileDrawer .mobile-drawer-footer a:hover { color: var(--gold) !important; }
#mobileDrawer .mobile-drawer-footer p { color: rgba(255,255,255,0.4); font-size: 0.76rem; margin-bottom: 4px; }
#mobileDrawer .mobile-drawer-footer p i { color: var(--crimson); margin-right: 4px; }

/* === PAGE HEADER === */
.page-header { background: var(--ink); color: white; padding: 48px 0 40px; }
.page-header h2 { font-family: var(--font-condensed); font-weight: 600; font-size: 2rem; letter-spacing: 0.04em; margin-bottom: 8px; }
.page-header .breadcrumb { font-size: 0.8rem; }
.page-header .breadcrumb a { color: var(--gold); text-decoration: none; }
.page-header .breadcrumb-item.active { color: rgba(255,255,255,0.5); }
.page-header .breadcrumb-item+.breadcrumb-item::before { color: rgba(255,255,255,0.3); }

/* === SECTIONS === */
.section-padding { padding: 72px 0; }
.section-label { font-family: var(--font-condensed); font-size: 0.75rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--crimson); font-weight: 600; margin-bottom: 6px; }
.section-title { font-family: var(--font-condensed); font-size: 2rem; font-weight: 600; color: var(--ink); letter-spacing: 0.02em; margin-bottom: 12px; }
.section-title-sm { font-family: var(--font-condensed); font-size: 1.5rem; font-weight: 600; color: var(--ink); }
.section-divider { width: 50px; height: 3px; background: var(--crimson); border-radius: 2px; }
.text-gold { color: var(--gold) !important; }
.bg-dark-section { background: var(--ink); }

/* === BUTTONS === */
.btn-primary-custom { background: var(--crimson); color: white; border: none; font-family: var(--font-condensed); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.82rem; padding: 10px 28px; border-radius: 6px; transition: all 0.3s; }
.btn-primary-custom:hover { background: var(--crimson-dark); color: white; transform: translateY(-1px); }
.btn-outline-custom { border: 1.5px solid var(--ink); color: var(--ink); font-family: var(--font-condensed); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.82rem; padding: 10px 28px; border-radius: 6px; transition: all 0.3s; background: transparent; }
.btn-outline-custom:hover { background: var(--ink); color: white; }
.read-more-link { font-family: var(--font-condensed); font-size: 0.82rem; font-weight: 600; letter-spacing: 0.06em; color: var(--crimson); text-decoration: none; transition: color 0.3s; }
.read-more-link:hover { color: var(--crimson-dark); }

/* === HERO SLIDER === */
.hero-slide { height: 520px; background-size: cover; background-position: center; display: flex; align-items: center; position: relative; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(26,26,46,0.8) 0%, rgba(26,26,46,0.3) 100%); }
.hero-content { position: relative; z-index: 2; color: white; max-width: 600px; }
.hero-content h1 { font-family: var(--font-condensed); font-size: 3rem; font-weight: 700; letter-spacing: 0.04em; }
.hero-subtitle { font-size: 1.1rem; opacity: 0.8; margin-top: 8px; }

/* === STAT CARDS === */
.stat-card { background: var(--white); border: 1px solid var(--border); border-radius: 12px; padding: 28px 20px; text-align: center; transition: all 0.3s; }
.stat-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.06); }
.stat-card.accent { background: var(--ink); border-color: transparent; }
.stat-card.accent .stat-number { color: var(--gold); }
.stat-card.accent .stat-label { color: rgba(255,255,255,0.6); }
.stat-number { display: block; font-family: var(--font-condensed); font-size: 2.4rem; font-weight: 700; color: var(--crimson); line-height: 1; }
.stat-label { display: block; font-size: 0.8rem; color: var(--text-light); margin-top: 8px; text-transform: uppercase; letter-spacing: 0.08em; }

/* === EVENT CARDS === */
.event-card { background: var(--white); border-radius: 12px; overflow: hidden; border: 1px solid var(--border); transition: all 0.3s; height: 100%; }
.event-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.08); transform: translateY(-3px); }
.event-image { height: 180px; background-size: cover; background-position: center; position: relative; }
.event-badge { position: absolute; top: 12px; left: 12px; background: var(--crimson); color: white; font-size: 0.7rem; padding: 4px 12px; border-radius: 4px; font-family: var(--font-condensed); letter-spacing: 0.08em; text-transform: uppercase; }
.event-body { padding: 20px; }
.event-date { margin-bottom: 12px; }
.event-date .day { font-family: var(--font-condensed); font-size: 2rem; font-weight: 700; color: var(--crimson); line-height: 1; }
.event-date .month { display: block; font-size: 0.75rem; color: var(--text-light); text-transform: uppercase; letter-spacing: 0.08em; }
.event-body h5 { font-size: 1rem; margin-bottom: 8px; }
.event-body h5 a { color: var(--ink); text-decoration: none; }
.event-body h5 a:hover { color: var(--crimson); }
.event-venue { font-size: 0.82rem; color: var(--text-light); }
.event-venue i { color: var(--crimson); margin-right: 4px; }
.countdown-badge { background: rgba(196,30,58,0.08); color: var(--crimson); font-size: 0.75rem; padding: 4px 10px; border-radius: 4px; font-weight: 600; }

/* === COUNTDOWN TIMER === */
.countdown-event-card { background: var(--ink); color: white; border-radius: 12px; padding: 32px; text-align: center; margin-bottom: 16px; }
.countdown-event-card h5 { font-family: var(--font-condensed); letter-spacing: 0.04em; }
.countdown-timer { display: flex; justify-content: center; gap: 16px; margin-top: 16px; }
.cd-cell { text-align: center; }
.cd-val { display: block; font-family: var(--font-condensed); font-size: 2.5rem; font-weight: 700; color: var(--gold); line-height: 1; }
.cd-label { font-size: 0.65rem; letter-spacing: 0.15em; text-transform: uppercase; color: rgba(255,255,255,0.5); }

/* === ACHIEVEMENT CARDS === */
.achievement-card { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08); border-radius: 12px; padding: 28px 20px; text-align: center; transition: all 0.3s; }
.bg-dark-section .achievement-card { color: white; }
.achievement-icon { font-size: 2rem; margin-bottom: 12px; }
.achievement-icon .gold { color: #FFD700; }
.achievement-icon .silver { color: #C0C0C0; }
.achievement-icon .bronze { color: #CD7F32; }
.achievement-meta { font-size: 0.8rem; color: var(--text-light); }
.achievement-position { background: rgba(212,168,67,0.15); color: var(--gold); font-size: 0.75rem; padding: 3px 10px; border-radius: 4px; font-weight: 600; }
.achievement-athlete { font-size: 0.82rem; margin-top: 8px; }
.achievement-year { font-size: 0.72rem; color: var(--text-light); display: block; margin-top: 4px; }

/* === NEWS CARDS === */
.news-card { background: var(--white); border-radius: 12px; overflow: hidden; border: 1px solid var(--border); transition: all 0.3s; height: 100%; }
.news-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.08); }
.news-image { height: 200px; background-size: cover; background-position: center; }
.news-body { padding: 20px; }
.news-date { font-size: 0.75rem; color: var(--text-light); text-transform: uppercase; letter-spacing: 0.06em; }
.news-category { font-size: 0.72rem; background: rgba(196,30,58,0.08); color: var(--crimson); padding: 2px 8px; border-radius: 3px; margin-left: 8px; }
.news-body h5 { font-size: 1rem; margin: 8px 0; }
.news-body h5 a { color: var(--ink); text-decoration: none; }
.news-body h5 a:hover { color: var(--crimson); }
.news-body p { font-size: 0.88rem; color: var(--text-light); }

/* === BRANCH CARDS === */
.branch-card { background: var(--white); border: 1px solid var(--border); border-radius: 12px; padding: 28px; text-align: center; transition: all 0.3s; }
.branch-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.06); transform: translateY(-3px); }
.branch-icon { font-size: 2rem; color: var(--crimson); margin-bottom: 12px; }
.hq-badge { background: var(--gold); color: white; font-size: 0.65rem; padding: 3px 8px; border-radius: 3px; text-transform: uppercase; letter-spacing: 0.08em; }
.branch-address { font-size: 0.85rem; color: var(--text-light); margin-top: 8px; }
.branch-detail-card { background: var(--white); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; height: 100%; }
.branch-image { height: 180px; background-size: cover; background-position: center; position: relative; }
.hq-badge-abs { position: absolute; top: 12px; right: 12px; background: var(--gold); color: white; padding: 4px 10px; border-radius: 4px; font-size: 0.7rem; font-weight: 700; }
.branch-detail-body { padding: 20px; }
.branch-phone, .branch-instructor { font-size: 0.85rem; color: var(--text-light); margin: 4px 0; }
.branch-phone i, .branch-instructor i, .branch-address i { color: var(--crimson); margin-right: 6px; width: 16px; }

/* === LEADER CARDS === */
.leader-card { background: var(--white); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; transition: all 0.3s; }
.leader-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.08); }
.leader-photo { height: 260px; overflow: hidden; background: #e9ecef; }
.leader-photo img { width: 100%; height: 100%; object-fit: cover; }
.leader-placeholder { height: 100%; display: flex; align-items: center; justify-content: center; font-size: 4rem; color: #ccc; }
.leader-info { padding: 20px; }
.leader-designation { font-family: var(--font-condensed); font-size: 0.7rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--crimson); }
.leader-info h5 { font-size: 1.1rem; margin: 4px 0; }
.leader-title { font-size: 0.85rem; color: var(--text-light); }
.leader-rank { background: rgba(196,30,58,0.08); color: var(--crimson); font-size: 0.72rem; padding: 3px 8px; border-radius: 3px; }

/* === MEMBER CARDS === */
.member-card { text-align: center; padding: 20px; }
.member-photo { width: 100px; height: 100px; border-radius: 50%; overflow: hidden; margin: 0 auto 12px; border: 3px solid var(--border); }
.member-photo img { width: 100%; height: 100%; object-fit: cover; }
.member-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; background: #e9ecef; color: #ccc; font-size: 2rem; }
.member-card h6 { margin-bottom: 4px; }
.member-designation { font-size: 0.8rem; color: var(--text-light); }

/* === GALLERY === */
.gallery-album-card { display: block; text-decoration: none; border-radius: 12px; overflow: hidden; border: 1px solid var(--border); transition: all 0.3s; }
.gallery-album-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.08); transform: translateY(-3px); }
.album-cover { height: 220px; background-size: cover; background-position: center; background-color: #e9ecef; position: relative; }
.album-overlay { position: absolute; inset: 0; background: rgba(26,26,46,0.4); display: flex; align-items: flex-end; padding: 16px; opacity: 0; transition: opacity 0.3s; }
.gallery-album-card:hover .album-overlay { opacity: 1; }
.photo-count { color: white; font-size: 0.82rem; }
.album-info { padding: 16px; background: white; }
.album-info h5 { font-size: 1rem; color: var(--ink); margin-bottom: 4px; }
.album-date { font-size: 0.78rem; color: var(--text-light); }

/* === LIGHTBOX === */
.lightbox-modal { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.92); z-index: 9999; align-items: center; justify-content: center; flex-direction: column; }
.lightbox-modal.active { display: flex; }
.lightbox-modal img { max-width: 90%; max-height: 80vh; object-fit: contain; }
.lightbox-close { position: absolute; top: 20px; right: 20px; background: none; border: none; color: white; font-size: 2.5rem; cursor: pointer; z-index: 10; }
.lightbox-prev, .lightbox-next { position: absolute; top: 50%; transform: translateY(-50%); background: none; border: none; color: white; font-size: 3rem; cursor: pointer; padding: 20px; z-index: 10; }
.lightbox-prev { left: 10px; }
.lightbox-next { right: 10px; }
.lightbox-caption { color: rgba(255,255,255,0.7); text-align: center; margin-top: 16px; font-size: 0.9rem; }

/* === SIDEBAR NAV === */
.sidebar-nav-list { background: var(--white); border: 1px solid var(--border); border-radius: 12px; padding: 20px; position: sticky; top: 100px; }
.sidebar-nav-list h6 { font-family: var(--font-condensed); font-size: 0.75rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--text-light); margin-bottom: 12px; }
.sidebar-nav-list ul { list-style: none; padding: 0; margin: 0; }
.sidebar-nav-list li a { display: block; padding: 8px 12px; font-size: 0.88rem; color: var(--text); text-decoration: none; border-radius: 6px; transition: all 0.2s; }
.sidebar-nav-list li a:hover { background: rgba(196,30,58,0.05); color: var(--crimson); }
.sidebar-nav-list li a.active { background: var(--crimson); color: white; }

/* === SIDEBAR PANEL === */
.sidebar-panel { background: var(--white); border: 1px solid var(--border); border-radius: 12px; padding: 20px; }
.sidebar-panel h6 { font-family: var(--font-condensed); letter-spacing: 0.08em; margin-bottom: 16px; }
.related-news-item { padding: 10px 0; border-bottom: 1px solid var(--border); }
.related-news-item:last-child { border: none; }
.related-news-item a { color: var(--ink); text-decoration: none; font-size: 0.9rem; }
.related-news-item a:hover { color: var(--crimson); }

/* === ARTICLE === */
.article-meta { font-size: 0.82rem; color: var(--text-light); }
.article-meta i { color: var(--crimson); margin-right: 4px; }
.content-body { line-height: 1.8; font-size: 0.95rem; }
.content-body h3, .content-body h4 { margin-top: 24px; margin-bottom: 12px; }
.content-body img { max-width: 100%; border-radius: 8px; margin: 16px 0; }

/* === CONTACT === */
.contact-info-panel { background: var(--ink); color: white; border-radius: 12px; padding: 32px; }
.contact-info-panel h5 { margin-bottom: 24px; }
.contact-item { display: flex; gap: 14px; margin-bottom: 20px; }
.contact-item i { color: var(--crimson); font-size: 1.1rem; margin-top: 3px; }
.contact-item p { font-size: 0.88rem; color: rgba(255,255,255,0.7); margin: 0; }
.contact-form-panel { background: var(--white); border: 1px solid var(--border); border-radius: 12px; padding: 32px; }
.contact-form-panel h5 { margin-bottom: 24px; }

/* === INNER PAGE V2 === */
.inner-v2-section {
    position: relative;
    padding: 56px 0;
    background:
        radial-gradient(circle at top left, rgba(196,30,58,0.05), transparent 18%),
        linear-gradient(180deg, #fffdf9 0%, #f8f2ea 100%);
}
.inner-v2-section::before,
.inner-v2-section::after {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ff6b57;
    opacity: 0.95;
}
.inner-v2-section::before { top: 28px; left: 8%; }
.inner-v2-section::after { top: 40px; right: 8%; }
.inner-v2-intro { text-align: center; margin-bottom: 30px; }
.inner-v2-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #b3202d;
    font-family: var(--font-condensed);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 10px;
}
.inner-v2-kicker::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ff6b57;
}
.inner-v2-title {
    color: #171311;
    font-family: var(--font-condensed);
    font-size: clamp(2.3rem, 4vw, 3.5rem);
    line-height: 1.08;
    margin-bottom: 12px;
}
.inner-v2-copy {
    max-width: 760px;
    margin: 0 auto;
    color: #6e625e;
    line-height: 1.85;
}
.inner-v2-panel,
.inner-v2-sidebar,
.inner-v2-card,
.inner-v2-article {
    border: 1px solid rgba(24,22,21,0.08);
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(255,255,255,0.94) 0%, #ffffff 100%);
    box-shadow: 0 20px 40px rgba(23,19,17,0.07);
}
.inner-v2-panel,
.inner-v2-sidebar,
.inner-v2-article { padding: 26px; }
.inner-v2-sidebar h6,
.inner-v2-block-title,
.inner-v2-card h3,
.inner-v2-card h4,
.inner-v2-card h5,
.inner-v2-card h6,
.inner-v2-article h3,
.inner-v2-article h4 {
    font-family: var(--font-condensed);
    color: #171311;
}
.inner-v2-sidebar h6 {
    font-size: 0.82rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #b3202d;
    margin-bottom: 16px;
}
.inner-v2-sidebar ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.inner-v2-sidebar a {
    display: block;
    padding: 12px 14px;
    border-radius: 14px;
    color: #3a3a4a;
    text-decoration: none;
    background: #fbf7f0;
    transition: all 0.2s ease;
}
.inner-v2-sidebar a:hover,
.inner-v2-sidebar a.active {
    background: rgba(196,30,58,0.08);
    color: #b3202d;
}
.inner-v2-body,
.inner-v2-article,
.inner-v2-card p,
.inner-v2-panel p { color: #6e625e; line-height: 1.8; }
.inner-v2-media {
    width: 100%;
    border-radius: 22px;
    object-fit: cover;
    box-shadow: 0 16px 34px rgba(23,19,17,0.08);
}
.inner-v2-grid-card {
    height: 100%;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.inner-v2-grid-card:hover {
    transform: translateY(-6px);
    border-color: rgba(179,32,45,0.18);
    box-shadow: 0 26px 52px rgba(23,19,17,0.1);
}
.inner-v2-card-body { padding: 22px; }
.inner-v2-pill,
.inner-v2-meta span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    background: #f8f2ea;
    line-height: 1;
}
.inner-v2-pill {
    color: #b3202d;
    font-family: var(--font-condensed);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.inner-v2-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 12px;
    margin-bottom: 16px;
    color: #6e625e;
    font-size: 0.88rem;
}
.inner-v2-meta i { color: #ff7b1f; }
.inner-v2-divider {
    height: 1px;
    margin: 0 0 18px;
    background: linear-gradient(90deg, rgba(179,32,45,0.16), rgba(24,22,21,0.08));
}
.inner-v2-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #171311;
    font-family: var(--font-condensed);
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
}
.inner-v2-link:hover { color: #b3202d; }
.inner-v2-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 50px;
    padding: 0 24px;
    border-radius: 999px;
    background: linear-gradient(135deg, #b3202d, #d43a46);
    color: #fff;
    text-decoration: none;
    font-family: var(--font-condensed);
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    box-shadow: 0 16px 32px rgba(179,32,45,0.22);
    border: 0;
}
.inner-v2-btn-outline {
    background: #fff;
    color: #b3202d;
    border: 1px solid rgba(179,32,45,0.22);
    box-shadow: 0 12px 24px rgba(23,19,17,0.06);
}
.inner-v2-btn:hover { color: #fff; transform: translateY(-2px); }
.inner-v2-btn-outline:hover { background: #b3202d; border-color: #b3202d; }
.inner-v2-empty {
    padding: 56px 20px;
    border-radius: 24px;
    border: 1px dashed rgba(24,22,21,0.14);
    background: rgba(255,255,255,0.74);
    text-align: center;
    color: #6e625e;
}
.inner-v2-pagination .pagination { justify-content: center; gap: 8px; }
.inner-v2-pagination .page-link {
    min-width: 44px;
    height: 44px;
    border-radius: 999px !important;
    border: 1px solid rgba(24,22,21,0.08);
    color: #171311;
    box-shadow: none;
}
.inner-v2-pagination .page-item.active .page-link {
    background: linear-gradient(135deg, #b3202d, #d43a46);
    border-color: transparent;
    color: #fff;
}
.inner-v2-cover {
    position: relative;
    aspect-ratio: 1 / 0.72;
    background: linear-gradient(135deg, rgba(179,32,45,0.18), rgba(195,154,67,0.14)), #ece8e1;
    background-size: cover;
    background-position: center;
}
@media (max-width: 767.98px) {
    .inner-v2-section { padding: 42px 0; }
    .inner-v2-panel,
    .inner-v2-sidebar,
    .inner-v2-article { padding: 22px; }
}

/* === BELT TEST === */
.belt-test-section { background: var(--white); border: 1px solid var(--border); border-radius: 12px; padding: 32px; }
.belt-test-item { padding: 16px 0; border-bottom: 1px solid var(--border); }
.belt-test-item:last-child { border: none; }
.belt-test-item h6 { font-size: 0.95rem; margin-bottom: 8px; }

/* === FILTER BAR === */
.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; }

/* === FOOTER === */
.site-footer {
    position: relative;
    background:
        radial-gradient(circle at top left, rgba(255,255,255,0.04), transparent 20%),
        radial-gradient(circle at bottom right, rgba(255,255,255,0.03), transparent 18%),
        #121212;
    color: rgba(255,255,255,0.72);
    overflow: hidden;
}
.site-footer::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20px 20px, rgba(255,255,255,0.015) 0 2px, transparent 2px),
        radial-gradient(circle at 60px 60px, rgba(255,255,255,0.012) 0 2px, transparent 2px);
    background-size: 120px 120px;
    pointer-events: none;
}
.footer-top {
    position: relative;
    z-index: 1;
    padding: 68px 0 44px;
}
.footer-panel {
    height: 100%;
    padding-right: 24px;
}
.footer-links-panel {
    position: relative;
    overflow: hidden;
    border-radius: 22px;
    padding: 28px 28px 24px 40px;
    background:
        linear-gradient(135deg, rgba(255,255,255,0.035), rgba(255,255,255,0.01)),
        rgba(255,255,255,0.015);
}
.footer-links-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
    background-size: 22px 22px;
    mask-image: radial-gradient(circle at center, rgba(0,0,0,0.85), transparent 82%);
    opacity: 0.35;
    pointer-events: none;
}
.footer-links-panel::after {
    content: "";
    position: absolute;
    right: -48px;
    bottom: -48px;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(240, 18, 18, 0.22) 0%, transparent 70%);
    pointer-events: none;
}
.footer-links-panel > * {
    position: relative;
    z-index: 1;
}
.footer-top .col-lg-4:nth-child(2) .footer-panel,
.footer-top .col-lg-4:nth-child(3) .footer-panel {
    border-left: 1px solid rgba(255,255,255,0.12);
    padding-left: 40px;
}
.footer-top h6 {
    font-family: var(--font-condensed);
    font-size: 1.9rem;
    margin-bottom: 10px;
    color: #fff;
    letter-spacing: 0;
    text-transform: none;
}
.footer-divider {
    width: 100px;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, #f01212 0%, #d70606 100%);
    margin-bottom: 24px;
}
.footer-contact-block {
    margin-bottom: 18px;
}
.footer-contact-block strong {
    display: block;
    color: #fff;
    font-family: var(--font-condensed);
    font-size: 1.18rem;
    margin-bottom: 6px;
}
.footer-contact-block p {
    margin: 0;
    color: rgba(255,255,255,0.68);
    font-size: 1rem;
    line-height: 1.7;
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li + li { margin-top: 10px; }
.footer-links-columns {
    columns: 2;
    column-gap: 36px;
}
.footer-links-columns li {
    break-inside: avoid;
}
.footer-links li a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 1rem;
    line-height: 1.6;
    transition: color 0.3s;
}
.footer-links li a:hover { color: #fff; }
.footer-social {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}
.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #fff;
    color: #4a4a4a;
    transition: all 0.3s;
    text-decoration: none;
}
.footer-social a:hover {
    background: var(--crimson);
    color: #fff;
    transform: translateY(-2px);
}
.footer-subscribe-title {
    color: #fff;
    font-family: var(--font-condensed);
    font-size: 1.5rem;
    line-height: 1.35;
    margin-bottom: 18px;
}
.footer-subscribe-copy {
    color: rgba(255,255,255,0.68);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 22px;
}
.footer-subscribe-form {
    display: grid;
    gap: 18px;
}
.footer-subscribe-input {
    width: 100%;
    min-height: 58px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.16);
    background: #f1f1f1;
    color: #1a1a1a;
    padding: 0 24px;
    font-size: 1rem;
}
.footer-subscribe-input::placeholder {
    color: #8b8b8b;
}
.footer-subscribe-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 56px;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, #f01212 0%, #d70606 100%);
    color: #fff;
    font-family: var(--font-condensed);
    font-size: 1.02rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 16px 28px rgba(215,6,6,0.22);
}
.footer-subscribe-btn:hover { transform: translateY(-2px); }
.footer-bottom {
    position: relative;
    z-index: 1;
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 22px 0;
}
.footer-bottom p {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.5);
    margin: 0;
}
.footer-bottom a {
    color: #ff3a3a;
    text-decoration: none;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
    .hero-slide { height: 360px; }
    .hero-content h1 { font-size: 2rem; }
    .section-padding { padding: 48px 0; }
    .countdown-timer { gap: 8px; }
    .cd-val { font-size: 1.8rem; }
    .footer-top { padding: 54px 0 34px; }
    .footer-top .col-lg-4 .footer-panel { border-left: 0 !important; padding-left: 0 !important; padding-right: 0; }
    .footer-links-panel { padding: 24px 22px; }
    .footer-top h6 { font-size: 1.55rem; }
    .footer-links-columns { columns: 1; }
    .footer-bottom .container { gap: 10px; text-align: center; justify-content: center !important; }
}

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

/* === CKEDITOR IMAGE STYLES === */
.ck-content figure.image,
figure.image { display: table; margin: 0.9em auto; }
.ck-content figure.image img,
figure.image img { display: block; max-width: 100%; height: auto; }
.ck-content figure.image figcaption,
figure.image figcaption { caption-side: bottom; display: table-caption; text-align: center; font-size: 0.8em; color: #777; padding: 0.3em; }
.ck-content figure.image.image-style-align-left,
figure.image.image-style-align-left { float: left; margin-right: 1.5em; margin-bottom: 0.5em; }
.ck-content figure.image.image-style-align-right,
figure.image.image-style-align-right { float: right; margin-left: 1.5em; margin-bottom: 0.5em; }
.ck-content figure.image.image-style-side,
figure.image.image-style-side { float: right; margin-left: 1.5em; margin-bottom: 0.5em; max-width: 50%; }
.ck-content figure.image.image-style-block,
figure.image.image-style-block { display: block; margin: 1em auto; float: none; clear: both; }
.ck-content::after,
.page-content::after { content: ''; display: table; clear: both; }
