/*
 * SportMedia Developer — main.css
 * ═══════════════════════════════════════════════════════
 * Standalone theme stylesheet (no MVP dependency)
 *
 * სექციები:
 * 01. CSS Variables
 * 02. Reset & Typography
 * 03. Layout (container, grid, sections)
 * 04. Federation Marquee
 * 05. Logo
 * 06. Header & Navigation
 * 07. Fly-out Menu
 * 08. Inline Search
 * 09. Menu Icons
 * 10. Hero Row (slider + sidebar)
 * 11. Sidebar News
 * 12. Section Headers
 * 13. News Grid
 * 14. Hero Card
 * 15. Standard Card
 * 16. Load More Button
 * 17. Category Modules
 * 18. Article (single post)
 * 19. Archive & Pagination
 * 20. 404 Page
 * 21. Federation Logos Section
 * 22. Channels Grid (widget)
 * 23. Footer
 * 24. Back to Top
 * 25. Edit Mode (admin)
 * 26. Scrollbar & Selection
 * 27. Animations
 * 28. Responsive (1100px)
 * 29. Responsive (768px)
 * 30. Responsive (600px)
 * ═══════════════════════════════════════════════════════ */

/* ═══ 01. CSS Variables ═══ */
:root {
    --sm-navy: #0A3858;
    --sm-navy-deep: #0F2C47;
    --sm-dark: #303843;
    --sm-gold: #FDCA4D;
    --sm-gold-deep: #F8AF24;
    --sm-gold-pale: rgba(253,202,77,0.1);
    --sm-text: #303843;
    --sm-text-light: #848484;
    --sm-bg: #f0f2f5;
    --sm-white: #ffffff;
    --sm-font-title: 'BPG WEB 002 Caps', 'FiraGO', sans-serif;
    --sm-font-body: 'BPG Glaho WEB', 'FiraGO', sans-serif;
}

/* ═══ 02. Reset & Typography ═══ */
*, *::before, *::after { box-sizing: border-box; }

body {
    margin: 0;
    padding: 0;
    background: var(--sm-bg);
    color: var(--sm-text);
    font-family: var(--sm-font-body);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--sm-font-title);
    line-height: 1.3;
    margin: 0 0 0.5em;
}

a { color: var(--sm-navy); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--sm-gold-deep); }

img { max-width: 100%; height: auto; display: block; }

ul, ol { margin: 0; padding: 0; list-style: none; }

button { cursor: pointer; font-family: inherit; }

/* ═══ 03. Layout ═══ */
.sm-site { min-height: 100vh; display: flex; flex-direction: column; }
.sm-main { flex: 1; }
.sm-container { max-width: 1260px; margin: 0 auto; padding: 0 20px; }
.sm-content-area { padding: 20px 0; }

.sm-section { margin-bottom: 30px; }
.sm-section--slider { margin-bottom: 0; }

/* ── 70/30 Layout ── */
.sm-layout-70-30 {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 24px;
    align-items: start;
}
.sm-layout-main { min-width: 0; }
.sm-layout-sidebar { min-width: 0; }
.sm-layout-sidebar-sticky {
    position: sticky;
    top: 80px;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--sm-gold) transparent;
}
.sm-layout-sidebar-sticky::-webkit-scrollbar { width: 4px; }
.sm-layout-sidebar-sticky::-webkit-scrollbar-thumb { background: var(--sm-gold); border-radius: 4px; }

/* Sticky widget blocks */
.sm-sticky-widget {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    overflow: hidden;
}
.sm-sticky-section {
    padding: 0;
}
.sm-sticky-section + .sm-sticky-section {
    border-top: 1px solid #eee;
}
.sm-sticky-header {
    background: var(--sm-navy);
    color: #fff;
    padding: 12px 16px;
    font-family: var(--sm-font-title);
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.sm-sticky-header i {
    color: var(--sm-gold);
    font-size: 0.9rem;
}
.sm-sticky-body { padding: 10px 12px; }
.sm-sticky-fed-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    padding: 14px;
}
.sm-sticky-fed-grid .sm-sidebar-fed-item img {
    width: 100%;
    height: 50px;
    object-fit: contain;
}

/* Sidebar news items (single post sidebar) */
.sm-sidebar-news-item {
    display: flex;
    gap: 10px;
    padding: 10px 14px;
    border-bottom: 1px solid #f0f0f0;
    text-decoration: none;
    color: inherit;
    transition: background 0.2s;
}
.sm-sidebar-news-item:hover { background: #f8f9fa; }
.sm-sidebar-news-thumb {
    width: 70px;
    height: 50px;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
}
.sm-sidebar-news-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.sm-sidebar-news-text { flex: 1; min-width: 0; }
.sm-sidebar-news-title {
    font-family: var(--sm-font-body);
    font-size: 0.8rem;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 4px;
    color: var(--sm-navy);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.sm-sidebar-news-item:hover .sm-sidebar-news-title { color: var(--sm-gold-deep); }
.sm-sidebar-news-time {
    font-size: 0.65rem;
    color: #999;
}
.sm-sidebar-news-time i { margin-right: 3px; }

/* ═══ 04. Federation Marquee ═══ */
.sm-fed-marquee-wrap {
    background: var(--sm-navy-deep);
    overflow: hidden;
    padding: 6px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}
.sm-fed-marquee {
    overflow: hidden;
    position: relative;
    white-space: nowrap;
    will-change: transform;
}
.sm-fed-marquee-track {
    display: inline-flex;
    animation: sm-marquee 40s linear infinite;
    gap: 18px;
    align-items: center;
    will-change: transform;
}
.sm-fed-marquee-track:hover { animation-play-state: paused; }
.sm-fed-marquee-item {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    transition: transform 0.2s, opacity 0.2s;
    opacity: 0.7;
}
.sm-fed-marquee-item:hover {
    transform: scale(1.25);
    opacity: 1;
}
.sm-fed-marquee-item img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255,255,255,0.15);
    transition: border-color 0.2s;
    background: #fff;
}
.sm-fed-marquee-item:hover img {
    border-color: rgba(255,255,255,0.5);
}

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

/* ═══ 05. Logo ═══ */
.sm-logo {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none !important;
    padding: 6px 0;
}
.sm-logo-img {
    width: 36px;
    height: 36px;
    object-fit: contain;
    display: block;
    border-radius: 4px;
}
.sm-logo-text {
    font-family: var(--sm-font-title);
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    line-height: 1;
}
.sm-logo-sport { color: var(--sm-white); }
.sm-logo-media { color: var(--sm-gold); }
.sm-logo-dot { color: var(--sm-gold); font-size: 1.6rem; }
.sm-logo-live {
    display: inline-block;
    background: #e53935;
    color: #fff !important;
    font-size: 0.42em;
    font-weight: 800;
    letter-spacing: 0.08em;
    padding: 3px 7px 2px;
    border-radius: 4px;
    vertical-align: super;
    line-height: 1;
    animation: sm-live-pulse 1.5s ease-in-out infinite;
    box-shadow: 0 0 8px rgba(229,57,53,0.5);
}
@keyframes sm-live-pulse {
    0%,100% { opacity: 1; box-shadow: 0 0 8px rgba(229,57,53,0.5); }
    50% { opacity: 0.7; box-shadow: 0 0 16px rgba(229,57,53,0.8); }
}
.sm-logo-title { clip: rect(0,0,0,0); position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; }

/* ═══ 06. Header & Navigation ═══ */
.sm-header {
    background: var(--sm-navy);
    box-shadow: 0 2px 8px rgba(10,56,88,0.15);
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* Top nav */
.sm-top-nav {
    background: var(--sm-navy);
    border-bottom: 3px solid var(--sm-gold);
}
.sm-top-nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0;
    min-height: 56px;
}
.sm-top-nav-left {
    display: flex;
    align-items: center;
    gap: 16px;
}
.sm-top-nav-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Social links in nav */
.sm-nav-social {
    display: flex;
    align-items: center;
    gap: 4px;
}
.sm-nav-social a {
    color: var(--sm-white);
    font-size: 18px;
    padding: 8px 6px;
    transition: color 0.2s;
    text-decoration: none;
}
.sm-nav-social a:hover { color: var(--sm-gold); }

/* Category header on archive pages */
.sm-cat-head h1 {
    color: var(--sm-white);
    font-weight: 700;
    font-size: 1rem;
    margin: 0;
}

/* Bottom nav (menu) */
.sm-bot-nav {
    background: var(--sm-navy-deep);
    border-top: 1px solid rgba(255,255,255,0.1);
}
.sm-nav-menu {
    position: relative;
    padding-right: 60px;
}
.sm-nav-menu .menu {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}
.sm-nav-menu .menu li a {
    display: block;
    color: var(--sm-white);
    font-family: var(--sm-font-title);
    font-weight: 500;
    font-size: 0.92rem;
    letter-spacing: 0.02em;
    padding: 14px 10px;
    border-bottom: 2px solid transparent;
    transition: all 0.2s ease;
    white-space: nowrap;
    text-decoration: none;
}
.sm-nav-menu .menu li:hover > a,
.sm-nav-menu .menu li.current-menu-item > a {
    color: var(--sm-gold);
    border-bottom: 2px solid var(--sm-gold);
}

/* Sub-menus */
.sm-nav-menu .menu li ul.sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--sm-navy-deep);
    border-top: 2px solid var(--sm-gold);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    z-index: 999;
    min-width: 200px;
}
.sm-nav-menu .menu li:hover > ul.sub-menu { display: block; }
.sm-nav-menu .menu li ul.sub-menu li { display: block; }
.sm-nav-menu .menu li ul.sub-menu li a {
    color: rgba(255,255,255,0.85);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    font-size: 0.9rem;
    padding: 12px 18px;
}
.sm-nav-menu .menu li ul.sub-menu li a:hover {
    color: var(--sm-gold);
    background: rgba(255,255,255,0.05);
}

/* Fly toggle (hamburger) */
.sm-fly-toggle {
    display: none;
    background: none;
    border: none;
    width: 30px;
    height: 24px;
    position: relative;
    cursor: pointer;
    padding: 0;
}
.sm-fly-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--sm-white);
    position: absolute;
    left: 0;
    transition: all 0.3s ease;
}
.sm-fly-toggle span:nth-child(1) { top: 0; }
.sm-fly-toggle span:nth-child(2) { top: 8px; }
.sm-fly-toggle span:nth-child(3) { top: 8px; }
.sm-fly-toggle span:nth-child(4) { top: 16px; }

/* ═══ 07. Fly-out Menu ═══ */
.sm-fly-menu {
    position: fixed;
    top: 0;
    left: -320px;
    width: 300px;
    height: 100%;
    background: linear-gradient(180deg, var(--sm-navy) 0%, var(--sm-navy-deep) 100%);
    z-index: 10000;
    transition: left 0.3s ease;
    overflow-y: auto;
    box-shadow: 4px 0 20px rgba(0,0,0,0.3);
}
.sm-fly-menu.sm-active { left: 0; }
.sm-fly-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: var(--sm-navy);
    border-bottom: 3px solid var(--sm-gold);
}
.sm-fly-logo .sm-logo-text { font-size: 1rem; }
.sm-fly-logo .sm-logo-img { width: 28px; height: 28px; }
.sm-fly-close {
    background: none;
    border: none;
    color: var(--sm-white);
    font-size: 22px;
    padding: 4px;
    cursor: pointer;
    transition: color 0.2s;
}
.sm-fly-close:hover { color: var(--sm-gold); }
.sm-fly-search {
    padding: 16px 20px;
}
.sm-fly-search form {
    display: flex;
}
.sm-fly-search input[type="search"] {
    flex: 1;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.15);
    border-right: none;
    border-radius: 6px 0 0 6px;
    padding: 10px 14px;
    color: var(--sm-white);
    font-size: 0.85rem;
    outline: none;
}
.sm-fly-search input::placeholder { color: rgba(255,255,255,0.4); }
.sm-fly-search button[type="submit"] {
    background: var(--sm-gold);
    color: var(--sm-navy);
    border: 1px solid var(--sm-gold);
    border-radius: 0 6px 6px 0;
    padding: 10px 14px;
    cursor: pointer;
}
.sm-fly-nav { padding: 0 20px; }
.sm-fly-menu-list { list-style: none; margin: 0; padding: 0; }
.sm-fly-menu-list li a {
    display: flex;
    align-items: center;
    color: rgba(255,255,255,0.85);
    font-family: var(--sm-font-title);
    font-size: 0.9rem;
    font-weight: 500;
    padding: 13px 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    transition: all 0.2s;
    text-decoration: none;
}
.sm-fly-menu-list li a:hover {
    color: var(--sm-gold);
    padding-left: 8px;
}
.sm-fly-menu-list li.current-menu-item > a {
    color: var(--sm-gold);
    border-left: 3px solid var(--sm-gold);
    padding-left: 12px;
}
.sm-fly-social {
    display: flex;
    gap: 12px;
    padding: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 16px;
}
.sm-fly-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.6);
    font-size: 16px;
    text-decoration: none;
    transition: all 0.2s;
}
.sm-fly-social a:hover {
    background: var(--sm-gold);
    color: var(--sm-navy);
}
.sm-fly-fade {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}
.sm-fly-fade.sm-active {
    opacity: 1;
    visibility: visible;
}

/* ═══ 08. Inline Search ═══ */
.sm-nav-actions {
    display: flex;
    align-items: center;
    gap: 4px;
}
.sm-search-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
}
.sm-search-toggle {
    background: none;
    border: none;
    color: var(--sm-white);
    font-size: 18px;
    cursor: pointer;
    padding: 8px 10px;
    transition: color 0.2s;
}
.sm-search-toggle:hover { color: var(--sm-gold); }
.sm-search-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    width: 300px;
    background: var(--sm-white);
    border-radius: 6px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
    padding: 10px;
    display: none;
    z-index: 9999;
}
.sm-search-dropdown.sm-active { display: block; }
.sm-search-dropdown form {
    display: flex;
    gap: 0;
}
.sm-search-dropdown input[type="search"] {
    flex: 1;
    border: 2px solid var(--sm-navy);
    border-right: none;
    border-radius: 6px 0 0 6px;
    padding: 10px 14px;
    font-size: 0.9rem;
    outline: none;
    font-family: var(--sm-font-body);
}
.sm-search-dropdown input[type="search"]:focus { border-color: var(--sm-gold); }
.sm-search-dropdown button[type="submit"] {
    background: var(--sm-navy);
    color: var(--sm-white);
    border: 2px solid var(--sm-navy);
    border-radius: 0 6px 6px 0;
    padding: 10px 14px;
    cursor: pointer;
    transition: background 0.2s;
}
.sm-search-dropdown button[type="submit"]:hover {
    background: var(--sm-gold);
    border-color: var(--sm-gold);
    color: var(--sm-navy);
}

/* ═══ 09. Menu Icons ═══ */
.sm-menu-icon {
    margin-right: 5px;
    font-size: 0.85em;
    opacity: 0.8;
    color: var(--sm-gold);
}
.sm-menu-icon-svg {
    display: inline-block;
    width: 14px;
    height: 14px;
    margin-right: 5px;
    vertical-align: -2px;
    opacity: 0.8;
    transition: opacity 0.2s;
}
.sm-menu-icon-svg svg {
    width: 100%;
    height: 100%;
    fill: var(--sm-gold);
}
.sm-nav-menu .menu li:hover .sm-menu-icon,
.sm-nav-menu .menu li:hover .sm-menu-icon-svg { opacity: 1; }

/* Overflow burger */
.sm-more-burger {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: var(--sm-white);
    font-size: 20px;
    padding: 10px 14px;
    z-index: 100;
    background: var(--sm-navy-deep);
}
.sm-more-burger:hover { color: var(--sm-gold); }
.sm-more-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--sm-navy-deep);
    min-width: 200px;
    border-radius: 0 0 6px 6px;
    box-shadow: 0 6px 16px rgba(0,0,0,0.3);
    border-top: 2px solid var(--sm-gold);
    z-index: 9999;
}
.sm-more-dropdown.sm-active { display: block; }
.sm-more-dropdown ul { list-style: none; margin: 0; padding: 0; }
.sm-more-dropdown ul li { display: block; }
.sm-more-dropdown ul li a {
    display: block;
    padding: 12px 18px;
    color: rgba(255,255,255,0.85);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    font-size: 0.9rem;
    white-space: nowrap;
    text-decoration: none;
}
.sm-more-dropdown ul li a:hover { color: var(--sm-gold); }

/* ═══ 10. Hero Row (70/30 slider + sidebar) ═══ */
.sm-hero-row {
    display: flex;
    gap: 16px;
    margin-bottom: 25px;
}
.sm-hero-slider {
    flex: 0 0 70%;
    max-width: 70%;
}
.sm-hero-sidebar {
    flex: 0 0 calc(30% - 16px);
    max-width: calc(30% - 16px);
}

/* Slider */
.sm-slider {
    position: relative;
    width: 100%;
    height: 440px;
    border-radius: 8px;
    overflow: hidden;
    background: var(--sm-navy);
}
.sm-slider-viewport {
    position: relative;
    width: 100%;
    height: 100%;
}
.sm-slide {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.6s ease;
    z-index: 1;
}
.sm-slide.sm-active {
    opacity: 1;
    z-index: 2;
}
.sm-slide-link {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
    text-decoration: none;
}
.sm-slide-img,
.sm-slide-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.sm-slide-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 60px 40px 30px;
    background: linear-gradient(to top, rgba(10,56,88,0.95) 0%, rgba(10,56,88,0.5) 50%, transparent 100%);
    z-index: 3;
}
.sm-slide-title {
    color: var(--sm-white);
    font-family: var(--sm-font-title);
    font-size: 1.7rem;
    font-weight: 800;
    line-height: 1.2;
    text-shadow: 0 2px 6px rgba(0,0,0,0.3);
    margin: 0;
}

/* Slider arrows */
.sm-slider-prev,
.sm-slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(10,56,88,0.6);
    color: var(--sm-white);
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}
.sm-slider-prev { left: 16px; }
.sm-slider-next { right: 16px; }
.sm-slider-prev:hover,
.sm-slider-next:hover { background: var(--sm-gold); color: var(--sm-navy); }

/* Slider dots */
.sm-slider-dots {
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}
.sm-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
}
.sm-dot.sm-active,
.sm-dot:hover {
    background: var(--sm-gold);
    transform: scale(1.3);
}

/* ═══ 11. Sidebar News ═══ */
.sm-sidebar-news {
    background: var(--sm-white);
    border-radius: 8px;
    padding: 14px 16px;
    height: 440px;
    overflow-y: auto;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}
.sm-sidebar-news::-webkit-scrollbar { width: 4px; }
.sm-sidebar-news::-webkit-scrollbar-thumb { background: var(--sm-navy); border-radius: 4px; }
.sm-sidebar-news-title {
    font-family: var(--sm-font-title);
    color: var(--sm-navy);
    font-size: 0.85rem;
    font-weight: 700;
    margin: 0 0 12px;
    padding-bottom: 8px;
    border-bottom: 3px solid var(--sm-gold);
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 6px;
}
.sm-sb-title-icon { color: var(--sm-gold); font-size: 0.85em; }
.sm-sidebar-item {
    display: flex;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid #eaedf0;
    text-decoration: none;
    align-items: center;
    transition: background 0.15s;
}
.sm-sidebar-item:first-of-type { padding-top: 0; }
.sm-sidebar-item:last-child { border-bottom: none; }
.sm-sidebar-item:hover {
    background: var(--sm-gold-pale);
    margin: 0 -8px;
    padding-left: 8px;
    padding-right: 8px;
    border-radius: 4px;
}
.sm-sidebar-item-img {
    flex: 0 0 62px;
    width: 62px;
    height: 46px;
    border-radius: 5px;
    overflow: hidden;
}
.sm-sidebar-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.2s;
}
.sm-sidebar-item:hover .sm-sidebar-item-img img { transform: scale(1.06); }
.sm-sidebar-item-text { flex: 1; min-width: 0; }
.sm-sb-cat {
    display: inline-block;
    font-family: var(--sm-font-title);
    font-size: 0.55rem;
    font-weight: 800;
    color: var(--sm-gold-deep);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 1px;
}
.sm-sb-title {
    font-family: var(--sm-font-title);
    color: var(--sm-navy);
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1.25;
    margin: 0 0 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.sm-sidebar-item:hover .sm-sb-title { color: var(--sm-gold-deep); }
.sm-sb-author {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 3px;
}
.sm-sb-author-badge {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    background: var(--sm-gold);
    color: var(--sm-navy);
    font-family: var(--sm-font-title);
    font-size: 0.52rem;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 12px;
    white-space: nowrap;
}
.sm-sb-author-icon {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    object-fit: contain;
    flex-shrink: 0;
}
.sm-sb-time {
    font-family: var(--sm-font-body);
    font-size: 0.52rem;
    color: #aaa;
    white-space: nowrap;
}
.sm-sb-time::before { content: '\00B7'; margin-right: 3px; color: #ccc; }

/* ── Sidebar Extra (30% bar below main sidebar) ── */
.sm-sidebar-extra {
    background: #f0f2f5;
    border-radius: 0;
    margin-top: 8px;
    box-shadow: none;
    overflow: hidden;
    border-top: 3px solid #dde0e4;
}
.sm-extra-section + .sm-extra-section {
    border-top: 1px solid #eaedf0;
}
.sm-extra-header {
    background: #f0f2f5;
    color: #f0f2f5;
    padding: 2px 4px;
    font-family: var(--sm-font-title);
    font-size: 1px;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 1px;
    line-height: 1px;
}
.sm-extra-header i { color: #f0f2f5; font-size: 1px; }
.sm-extra-body { padding: 2px; }

/* ── Sidebar Extra scoped overrides (hide popular in slider bar) ── */
.sm-sidebar-extra .sm-popular-item--img {
    gap: 1px;
    padding: 1px 0;
    border-bottom: none;
}
.sm-sidebar-extra .sm-popular-item--img:hover {
    background: #f0f2f5;
}
.sm-sidebar-extra .sm-popular-thumb {
    flex: 0 0 1px;
    width: 1px;
    height: 1px;
    border-radius: 0;
    background: #f0f2f5;
}
.sm-sidebar-extra .sm-popular-thumb-img {
    width: 1px;
    height: 1px;
}
.sm-sidebar-extra .sm-popular-thumb-placeholder {
    width: 1px;
    height: 1px;
    color: #f0f2f5;
    font-size: 1px;
}
.sm-sidebar-extra .sm-popular-rank {
    flex: 0 0 1px;
    width: 1px;
    height: 1px;
    font-size: 1px;
    background: #f0f2f5;
    color: #f0f2f5;
}
.sm-sidebar-extra .sm-popular-item--img:nth-child(1) .sm-popular-rank,
.sm-sidebar-extra .sm-popular-item--img:nth-child(2) .sm-popular-rank {
    background: #f0f2f5;
    color: #f0f2f5;
}
.sm-sidebar-extra .sm-popular-text { line-height: 1px; }
.sm-sidebar-extra .sm-popular-cat {
    font-size: 1px;
    color: #f0f2f5;
    line-height: 1px;
}
.sm-sidebar-extra .sm-popular-title {
    font-size: 1px;
    color: #f0f2f5;
    line-height: 1px;
}
.sm-sidebar-extra .sm-popular-time {
    font-size: 1px;
    color: #f0f2f5;
    line-height: 1px;
}
.sm-sidebar-extra .sm-popular-time i { font-size: 1px; color: #f0f2f5; }

/* ── Popular posts with thumbnails (shared/global) ── */
.sm-popular-item--img {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #eaedf0;
    text-decoration: none;
    transition: background 0.15s;
}
.sm-popular-item--img:last-child { border-bottom: none; }
.sm-popular-item--img:hover {
    background: var(--sm-gold-pale);
    margin: 0;
    padding-left: 6px;
    padding-right: 6px;
    border-radius: 8px;
}
.sm-popular-thumb {
    flex: 0 0 64px;
    width: 64px;
    height: 64px;
    border-radius: 8px;
    overflow: hidden;
    background: var(--sm-bg);
}
.sm-popular-thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.2s;
}
.sm-popular-item--img:hover .sm-popular-thumb-img { transform: scale(1.06); }
.sm-popular-thumb-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ccc;
    font-size: 22px;
}
.sm-popular-rank {
    flex: 0 0 26px;
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--sm-navy);
    color: var(--sm-gold);
    font-family: var(--sm-font-title);
    font-size: 12px;
    font-weight: 800;
    border-radius: 50%;
    margin-top: 0;
}
.sm-popular-item--img:nth-child(1) .sm-popular-rank { background: var(--sm-gold); color: var(--sm-navy); }
.sm-popular-item--img:nth-child(2) .sm-popular-rank { background: var(--sm-gold-deep); color: var(--sm-navy); }
.sm-popular-text { flex: 1; min-width: 0; line-height: 1.3; }
.sm-popular-cat {
    display: inline-block;
    font-family: var(--sm-font-title);
    font-size: 10px;
    font-weight: 800;
    color: var(--sm-gold-deep);
    text-transform: uppercase;
    letter-spacing: 0;
    margin-bottom: 0;
    line-height: 1;
}
.sm-popular-title {
    font-family: var(--sm-font-title);
    color: var(--sm-navy);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.35;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.sm-popular-item--img:hover .sm-popular-title { color: var(--sm-gold-deep); }
.sm-popular-time {
    font-size: 11px;
    color: #aaa;
    margin-top: 0;
    display: block;
    line-height: 1;
}
.sm-popular-time i { margin-right: 4px; font-size: 10px; }

/* Federation cards list */
.sm-fed-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}
.sm-fed-card {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px;
    border-radius: 8px;
    background: var(--sm-bg);
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
}
.sm-fed-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    background: var(--sm-gold-pale);
}
.sm-fed-card-img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    background: #fff;
    flex-shrink: 0;
    border: 2px solid var(--sm-gold);
}
.sm-fed-card-name {
    font-family: var(--sm-font-title);
    font-size: 0.58rem;
    font-weight: 700;
    color: var(--sm-navy);
    line-height: 1.2;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.sm-fed-card:hover .sm-fed-card-name { color: var(--sm-gold-deep); }

/* ── Timeline catmod spacing ── */
.sm-catmod--timeline {
    margin: 24px 0;
}

/* ═══ 12. Section Headers ═══ */
.sm-section-header { margin-bottom: 24px; }
.sm-section-header-inner {
    display: flex;
    align-items: center;
    gap: 10px;
}
.sm-live-dot {
    width: 10px;
    height: 10px;
    background: #e53e3e;
    border-radius: 50%;
    animation: smPulse 1.5s ease infinite;
    flex-shrink: 0;
}
@keyframes smPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(229,62,62,0.5); }
    50% { box-shadow: 0 0 0 6px rgba(229,62,62,0); }
}
.sm-section-title {
    font-family: var(--sm-font-title);
    font-size: 1.3rem;
    color: var(--sm-navy);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin: 0;
    padding: 0;
}
.sm-section-accent {
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--sm-gold), var(--sm-gold-deep));
    border-radius: 2px;
    margin-top: 8px;
}

/* ═══ 13. News Grid ═══ */
.sm-news-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

/* ═══ 14. Hero Card ═══ */
.sm-card--hero {
    grid-column: 1 / -1;
    border-radius: 14px;
    overflow: hidden;
    animation: smSlideUp 0.6s ease both;
}
.sm-card--hero .sm-card__link {
    display: block;
    position: relative;
    min-height: 400px;
    overflow: hidden;
    color: inherit;
    text-decoration: none;
}
.sm-card--hero .sm-card__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}
.sm-card--hero:hover .sm-card__img { transform: scale(1.04); }
.sm-card--hero .sm-card__overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 80px 36px 30px;
    background: linear-gradient(0deg, rgba(10,56,88,0.94) 0%, rgba(10,56,88,0.5) 55%, transparent 100%);
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 1;
}
.sm-card--hero .sm-card__cat {
    display: inline-block;
    align-self: flex-start;
    background: var(--sm-gold);
    color: var(--sm-navy);
    font-family: var(--sm-font-title);
    font-size: 0.65rem;
    font-weight: 800;
    padding: 5px 16px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.sm-card--hero .sm-card__title {
    color: #fff;
    font-family: var(--sm-font-title);
    font-size: 1.8rem;
    font-weight: 800;
    line-height: 1.25;
    margin: 0;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.sm-card--hero .sm-card__meta {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 4px;
}
.sm-card--hero .sm-card__author {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--sm-gold);
    font-family: var(--sm-font-title);
    font-size: 0.7rem;
    font-weight: 700;
    background: none;
    padding: 0;
}
.sm-card--hero .sm-card__time {
    color: rgba(255,255,255,0.7);
    font-family: var(--sm-font-body);
    font-size: 0.68rem;
}
.sm-card--hero .sm-card__time i { color: rgba(255,255,255,0.5); margin-right: 3px; }
.sm-card--hero .sm-card__author-ico {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    object-fit: contain;
    border: 1px solid var(--sm-gold);
}

/* ═══ 15. Standard Card ═══ */
.sm-card--std {
    background: var(--sm-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: smSlideUp 0.6s ease both;
}
.sm-card--std:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 36px rgba(0,0,0,0.13);
}
.sm-card__thumb {
    display: block;
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    line-height: 0;
    text-decoration: none;
}
.sm-card__thumb .sm-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}
.sm-card--std:hover .sm-card__thumb .sm-card__img { transform: scale(1.08); }
.sm-card__thumb .sm-card__cat {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: rgba(10,56,88,0.88);
    color: var(--sm-gold);
    font-family: var(--sm-font-title);
    font-size: 0.58rem;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    z-index: 2;
    backdrop-filter: blur(4px);
}
.sm-card__body {
    padding: 16px 18px 18px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.sm-card__body .sm-card__title {
    margin: 0 0 8px;
    font-family: var(--sm-font-title);
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.35;
}
.sm-card__body .sm-card__title a {
    color: var(--sm-navy);
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s;
}
.sm-card--std:hover .sm-card__title a { color: var(--sm-gold-deep); }
.sm-card__excerpt {
    font-family: var(--sm-font-body);
    font-size: 0.78rem;
    color: var(--sm-text-light);
    line-height: 1.55;
    margin: 0 0 auto;
    padding-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.sm-card__meta {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.sm-card__author {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: var(--sm-gold);
    color: var(--sm-navy);
    font-family: var(--sm-font-title);
    font-size: 0.6rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    white-space: nowrap;
    text-decoration: none;
    transition: background 0.2s;
}
.sm-card__author:hover { background: var(--sm-gold-deep); }
.sm-card__author-ico {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    object-fit: contain;
    flex-shrink: 0;
}
.sm-card__time {
    font-family: var(--sm-font-body);
    font-size: 0.62rem;
    color: var(--sm-text-light);
    white-space: nowrap;
}
.sm-card__time i { color: #bbb; margin-right: 3px; font-size: 0.56rem; }

/* ═══ 16. Load More Button ═══ */
.sm-load-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 16px;
    margin-top: 24px;
    background: var(--sm-navy);
    color: var(--sm-white);
    font-family: var(--sm-font-title);
    font-size: 0.82rem;
    font-weight: 700;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    position: relative;
    overflow: hidden;
}
.sm-load-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(253,202,77,0.2), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}
.sm-load-btn:hover { background: var(--sm-gold); color: var(--sm-navy); }
.sm-load-btn:hover::before { transform: translateX(100%); }
.sm-load-btn.sm-loading { opacity: 0.6; pointer-events: none; }

/* ═══ 17. Category Modules ═══ */
.sm-catmod {
    margin: 30px 0;
    padding: 0;
    border-radius: 16px;
    overflow: hidden;
    background: var(--cm-light);
    box-shadow: 0 2px 16px rgba(0,0,0,0.06);
    animation: smSlideUp 0.6s ease both;
}
.sm-catmod-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 24px;
    background: linear-gradient(135deg, var(--cm-dark) 0%, var(--cm-mid) 100%);
}
.sm-catmod-header-inner {
    display: flex;
    align-items: center;
    gap: 12px;
}
.sm-catmod-stripe {
    width: 4px;
    height: 28px;
    background: var(--cm-text);
    border-radius: 2px;
    opacity: 0.7;
}
.sm-catmod-icon {
    font-size: 1.2rem;
    color: var(--cm-text);
    opacity: 0.85;
}
.sm-catmod-title {
    font-family: var(--sm-font-title);
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--cm-text);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin: 0;
    padding: 0;
}
.sm-catmod-all {
    font-family: var(--sm-font-title);
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--cm-text);
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.2s;
    white-space: nowrap;
}
.sm-catmod-all:hover { opacity: 1; }
.sm-catmod-all i { margin-left: 4px; font-size: 0.6rem; transition: transform 0.2s; }
.sm-catmod-all:hover i { transform: translateX(3px); }
.sm-catmod-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 0;
    padding: 16px;
}
.sm-catmod-hero {
    border-radius: 12px;
    overflow: hidden;
    margin-right: 16px;
}
.sm-catmod-hero__link {
    display: block;
    position: relative;
    height: 100%;
    min-height: 320px;
    text-decoration: none;
    color: inherit;
    overflow: hidden;
}
.sm-catmod-hero__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.sm-catmod-hero:hover .sm-catmod-hero__img { transform: scale(1.05); }
.sm-catmod-hero__overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 60px 24px 22px;
    background: linear-gradient(0deg, var(--cm-dark) 0%, rgba(0,0,0,0.3) 60%, transparent 100%);
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.sm-catmod-hero__title {
    color: #fff;
    font-family: var(--sm-font-title);
    font-size: 1.35rem;
    font-weight: 800;
    line-height: 1.3;
    margin: 0;
    text-shadow: 0 1px 6px rgba(0,0,0,0.4);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.sm-catmod-hero__meta {
    display: flex;
    align-items: center;
    gap: 12px;
}
.sm-catmod-author {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--cm-text);
    font-family: var(--sm-font-title);
    font-size: 0.65rem;
    font-weight: 700;
    background: var(--cm-mid);
    padding: 3px 10px;
    border-radius: 20px;
    white-space: nowrap;
}
.sm-catmod-author__ico {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    object-fit: contain;
}
.sm-catmod-time {
    font-family: var(--sm-font-body);
    font-size: 0.6rem;
    color: rgba(255,255,255,0.7);
    white-space: nowrap;
}
.sm-catmod-time i { margin-right: 3px; font-size: 0.55rem; }
.sm-catmod-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.sm-catmod-item {
    background: var(--sm-white);
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.25s, box-shadow 0.25s;
}
.sm-catmod-item:hover {
    transform: translateX(4px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}
.sm-catmod-item__link {
    display: flex;
    align-items: stretch;
    text-decoration: none;
    color: inherit;
    gap: 0;
}
.sm-catmod-item__thumb {
    flex: 0 0 90px;
    height: 76px;
    overflow: hidden;
    line-height: 0;
}
.sm-catmod-item__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.sm-catmod-item:hover .sm-catmod-item__img { transform: scale(1.08); }
.sm-catmod-item__body {
    flex: 1;
    min-width: 0;
    padding: 10px 14px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
}
.sm-catmod-item__title {
    font-family: var(--sm-font-title);
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--sm-navy);
    line-height: 1.35;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s;
}
.sm-catmod-item:hover .sm-catmod-item__title { color: var(--cm-mid); }
.sm-catmod-item .sm-catmod-time { color: var(--sm-text-light); }

/* ═══ 18. Article (single post) ═══ */
.sm-article {
    background: var(--sm-white);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 2px 16px rgba(0,0,0,0.06);
    margin-bottom: 30px;
}
.sm-article__hero { line-height: 0; }
.sm-article__hero-img {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
}
.sm-article__body { padding: 30px 36px 40px; }
.sm-article__header { margin-bottom: 30px; }
.sm-article__cat {
    display: inline-block;
    background: var(--sm-gold);
    color: var(--sm-navy);
    font-family: var(--sm-font-title);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 4px;
    letter-spacing: 0.04em;
    margin-bottom: 16px;
    text-decoration: none;
}
.sm-article__cat:hover { background: var(--sm-gold-deep); }
.sm-article__title {
    font-family: var(--sm-font-title);
    color: var(--sm-navy);
    font-size: 1.8rem;
    font-weight: 800;
    line-height: 1.25;
    margin: 0 0 12px;
}
.sm-article__excerpt {
    font-family: var(--sm-font-body);
    color: var(--sm-text-light);
    font-size: 1rem;
    line-height: 1.5;
    margin: 0 0 18px;
}
.sm-article__meta {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    background: linear-gradient(135deg, rgba(10,56,88,0.04) 0%, rgba(253,202,77,0.06) 100%);
    border: 1px solid rgba(10,56,88,0.08);
    border-left: 3px solid var(--sm-gold);
    border-radius: 0 8px 8px 0;
    padding: 12px 18px;
}
.sm-article__author {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: var(--sm-font-title);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--sm-navy);
}
.sm-article__author-ico {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: contain;
    border: 2px solid var(--sm-gold);
}
.sm-article__date {
    font-family: var(--sm-font-body);
    font-size: 0.82rem;
    color: var(--sm-text-light);
}
.sm-article__date i { margin-right: 4px; color: var(--sm-gold); }
.sm-article__content {
    font-family: var(--sm-font-body);
    font-size: 1rem;
    line-height: 1.75;
    color: var(--sm-text);
}
.sm-article__content p { margin: 0 0 1.2em; }
.sm-article__content img { border-radius: 8px; margin: 20px 0; }
.sm-article__content a { color: var(--sm-gold-deep); text-decoration: underline; }
.sm-article__content h2,
.sm-article__content h3,
.sm-article__content h4 {
    color: var(--sm-navy);
    margin-top: 1.5em;
}
.sm-article__content blockquote {
    border-left: 4px solid var(--sm-gold);
    margin: 1.5em 0;
    padding: 1em 1.5em;
    background: var(--sm-gold-pale);
    border-radius: 0 8px 8px 0;
    font-style: italic;
}

/* Share buttons */
.sm-article__share {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}
.sm-share-label {
    font-family: var(--sm-font-title);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--sm-navy);
}
.sm-share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.2s;
}
.sm-share-fb { background: #1877f2; color: #fff; }
.sm-share-tw { background: #000; color: #fff; }
.sm-share-wa { background: #25d366; color: #fff; }
.sm-share-btn:hover { transform: translateY(-2px); opacity: 0.85; }

/* Tags */
.sm-article__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 20px;
}
.sm-tag {
    display: inline-block;
    background: var(--sm-bg);
    color: var(--sm-navy);
    font-family: var(--sm-font-body);
    font-size: 0.75rem;
    padding: 4px 12px;
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.2s;
}
.sm-tag:hover { background: var(--sm-gold-pale); color: var(--sm-gold-deep); }

/* Related posts */
.sm-related {
    margin-top: 20px;
}
.sm-related-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

/* ═══ 19. Archive & Pagination ═══ */
.sm-archive { padding: 20px 0; }
.sm-pagination {
    margin-top: 30px;
    text-align: center;
}
.sm-pagination .nav-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}
.sm-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    font-family: var(--sm-font-title);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--sm-navy);
    background: var(--sm-white);
    text-decoration: none;
    transition: all 0.2s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.sm-pagination .page-numbers:hover,
.sm-pagination .page-numbers.current {
    background: var(--sm-gold);
    color: var(--sm-navy);
}
.sm-no-results {
    text-align: center;
    padding: 80px 20px;
    color: var(--sm-text-light);
}
.sm-no-results i { margin-bottom: 20px; color: var(--sm-navy); opacity: 0.3; }
.sm-no-results p { font-size: 1.1rem; margin: 10px 0; }

/* ═══ 20. 404 Page ═══ */
.sm-404 {
    text-align: center;
    padding: 80px 20px;
}
.sm-404__inner {
    max-width: 500px;
    margin: 0 auto;
}
.sm-404__code {
    font-family: var(--sm-font-title);
    font-size: 6rem;
    font-weight: 800;
    color: var(--sm-navy);
    line-height: 1;
    margin: 0 0 10px;
    opacity: 0.2;
}
.sm-404__text {
    font-family: var(--sm-font-title);
    font-size: 1.5rem;
    color: var(--sm-navy);
    margin: 0 0 10px;
}
.sm-404__desc {
    font-size: 1rem;
    color: var(--sm-text-light);
    margin: 0 0 30px;
}
.sm-404__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--sm-navy);
    color: var(--sm-white);
    font-family: var(--sm-font-title);
    font-size: 0.85rem;
    font-weight: 700;
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s;
}
.sm-404__btn:hover { background: var(--sm-gold); color: var(--sm-navy); }

/* ═══ 21. Federation Logos Section ═══ */
.sm-federation-section {
    padding: 35px 0;
    background: var(--sm-white);
    margin: 30px 0;
    border-top: 3px solid var(--sm-gold);
}
.sm-federation-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 30px;
    padding: 20px 0;
}
.sm-federation-logo {
    text-align: center;
    flex: 0 0 auto;
    transition: transform 0.2s;
}
.sm-federation-logo:hover { transform: translateY(-3px); }
.sm-federation-logo img {
    max-height: 70px;
    max-width: 120px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(30%);
    opacity: 0.85;
    transition: all 0.3s;
}
.sm-federation-logo:hover img { filter: grayscale(0%); opacity: 1; }
.sm-federation-logo p {
    color: var(--sm-text-light);
    font-size: 0.78rem;
    font-weight: 500;
    margin-top: 8px;
}
.sm-federation-logo a { text-decoration: none; color: inherit; }

/* ═══ 22. Channels Grid (widget) ═══ */
.sm-channels-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    padding: 14px;
}
.sm-channel-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 10px 6px;
    border-radius: 8px;
    background: var(--sm-bg);
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
}
.sm-channel-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    background: var(--sm-gold-pale);
}
.sm-channel-item img {
    width: 44px;
    height: 44px;
    object-fit: contain;
    border-radius: 50%;
    background: #fff;
    padding: 3px;
    border: 2px solid var(--sm-gold);
}
.sm-channel-name {
    font-family: var(--sm-font-title);
    font-size: 0.52rem;
    font-weight: 700;
    color: var(--sm-navy);
    text-align: center;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

/* ═══ 23. Footer ═══ */
.sm-footer {
    background: linear-gradient(180deg, #07304d 0%, #041e30 100%);
    border-top: 4px solid var(--sm-gold);
    margin-top: auto;
}
.sm-footer-main { padding: 50px 0 40px; }
.sm-footer-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr 1fr;
    gap: 40px;
    align-items: flex-start;
}

/* Col 1: Logo */
.sm-footer-logo-col {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.sm-footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}
.sm-footer-logo .sm-logo-img { width: 42px; height: 42px; border-radius: 8px; }
.sm-footer-logo .sm-logo-text { font-size: 1.3rem; }
.sm-footer-logo .sm-logo-sport { color: #fff; font-family: var(--sm-font-title); font-weight: 800; }
.sm-footer-logo .sm-logo-media { color: var(--sm-gold); font-family: var(--sm-font-title); font-weight: 800; }
.sm-footer-logo .sm-logo-dot { color: rgba(255,255,255,0.4); font-weight: 300; }
.sm-footer-logo .sm-logo-live {
    color: #fff;
    background: #e53935;
    padding: 1px 6px;
    border-radius: 3px;
    font-size: 0.55em;
    font-family: var(--sm-font-title);
    font-weight: 700;
    letter-spacing: 0.06em;
    vertical-align: middle;
}
.sm-footer-tagline {
    font-family: var(--sm-font-body);
    color: rgba(255,255,255,0.5);
    font-size: 0.82rem;
    margin: 0;
    line-height: 1.4;
}
.sm-footer-social {
    display: flex;
    gap: 10px;
    margin-top: 4px;
}
.sm-footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.6);
    font-size: 15px;
    transition: all 0.25s;
    text-decoration: none;
}
.sm-footer-social a:hover {
    background: var(--sm-gold);
    color: var(--sm-navy);
    transform: translateY(-2px);
}

/* Col 2: Categories */
.sm-footer-heading {
    font-family: var(--sm-font-title);
    color: var(--sm-gold);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin: 0 0 18px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(253,202,77,0.25);
}
.sm-footer-cats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px 20px;
}
.sm-footer-cat-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    border-radius: 6px;
    color: rgba(255,255,255,0.7);
    font-family: var(--sm-font-body);
    font-size: 0.78rem;
    text-decoration: none;
    transition: all 0.2s;
}
.sm-footer-cat-link:hover {
    background: rgba(253,202,77,0.1);
    color: var(--sm-gold);
    padding-left: 14px;
}
.sm-fcat-icon {
    font-size: 0.65rem;
    color: var(--sm-gold);
    width: 16px;
    text-align: center;
    flex: 0 0 16px;
    opacity: 0.7;
}
.sm-footer-cat-link:hover .sm-fcat-icon { opacity: 1; }

/* Col 3: Contact */
.sm-footer-contact-col {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.sm-footer-contact-logo { display: flex; justify-content: center; }
.sm-footer-contact-logo img {
    width: 70px;
    height: 70px;
    border-radius: 14px;
    background: rgba(255,255,255,0.05);
    padding: 6px;
}
.sm-footer-contact-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.sm-footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: rgba(255,255,255,0.7);
    font-family: var(--sm-font-body);
    font-size: 0.8rem;
    text-decoration: none;
    transition: color 0.2s;
    line-height: 1.4;
}
a.sm-footer-contact-item:hover { color: var(--sm-gold); }
.sm-footer-contact-item i {
    color: var(--sm-gold);
    font-size: 0.75rem;
    width: 16px;
    text-align: center;
    flex: 0 0 16px;
    margin-top: 2px;
}

/* Bottom bar */
.sm-footer-bottom {
    background: rgba(0,0,0,0.25);
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 14px 0;
}
.sm-footer-bottom-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
.sm-footer-copyright { flex: 1; }
.sm-footer-copyright span {
    font-family: var(--sm-font-body);
    color: rgba(255,255,255,0.4);
    font-size: 0.72rem;
}
.sm-footer-counter { flex: 0 0 auto; display: flex; align-items: center; }
.sm-footer-credit { flex: 1; text-align: right; }
.sm-footer-smarketer-logo {
    height: 28px;
    width: auto;
    opacity: 0.6;
    transition: opacity 0.2s;
}
.sm-footer-smarketer-logo:hover { opacity: 1; }

/* ═══ 24. Back to Top ═══ */
.sm-back-to-top {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 42px;
    height: 42px;
    background: var(--sm-navy);
    color: var(--sm-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 999;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
.sm-back-to-top.sm-visible {
    opacity: 1;
    visibility: visible;
}
.sm-back-to-top:hover {
    background: var(--sm-gold);
    color: var(--sm-navy);
    transform: translateY(-3px);
}

/* ═══ 25. Edit Mode (admin) ═══ */
.sm-edit-toggle {
    position: fixed;
    right: 16px;
    bottom: 70px;
    z-index: 99999;
    border: none;
    border-radius: 999px;
    padding: 10px 16px;
    background: var(--sm-navy);
    color: var(--sm-white);
    font-family: var(--sm-font-title);
    font-size: 12px;
    letter-spacing: 0.02em;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}
.sm-edit-toggle.sm-active {
    background: var(--sm-gold);
    color: var(--sm-navy);
}
body.sm-edit-mode [data-sm-edit] {
    position: relative;
    outline: 2px dashed rgba(253,202,77,0.85);
    outline-offset: -2px;
    cursor: pointer;
}
body.sm-edit-mode [data-sm-edit]:hover::after {
    content: attr(data-sm-edit);
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 30;
    background: rgba(10,56,88,0.92);
    color: #fff;
    font-size: 11px;
    line-height: 1;
    padding: 6px 8px;
    border-radius: 4px;
    pointer-events: none;
}

/* ═══ 26. Scrollbar & Selection ═══ */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--sm-bg); }
::-webkit-scrollbar-thumb { background: var(--sm-navy); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--sm-gold-deep); }

::selection { background: var(--sm-gold); color: var(--sm-navy); }

/* ═══ 27. Animations ═══ */
@keyframes smSlideUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes smCardFadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.sm-card-fadein { animation: smCardFadeIn 0.4s ease forwards; }

/* ═══ 28. Responsive — 1100px ═══ */
@media screen and (max-width: 1100px) {
    .sm-hero-row { flex-direction: column; }
    .sm-hero-slider { flex: 0 0 100%; max-width: 100%; }
    .sm-hero-sidebar { flex: 0 0 100%; max-width: 100%; display: flex; gap: 16px; }
    .sm-sidebar-news { height: auto; max-height: 300px; flex: 1; }
    .sm-sidebar-extra { margin-top: 0; flex: 1; }
    .sm-sidebar-extra .sm-sidebar-tab-content { max-height: 260px; }
    .sm-slider { height: 360px; }
    .sm-slide-title { font-size: 1.4rem; }
    .sm-news-grid { grid-template-columns: repeat(2, 1fr); }
    .sm-card--hero .sm-card__link { min-height: 320px; }
    .sm-card--hero .sm-card__title { font-size: 1.4rem; }
    .sm-catmod-grid { grid-template-columns: 1fr 1fr; }
    .sm-catmod-hero { margin-right: 12px; }
    .sm-catmod-hero__link { min-height: 260px; }
    .sm-related-grid { grid-template-columns: repeat(2, 1fr); }
    .sm-layout-70-30 { grid-template-columns: 1fr 280px; gap: 16px; }
}

/* ═══ 29. Responsive — 768px ═══ */
@media screen and (max-width: 768px) {
    .sm-fly-toggle { display: block; }
    .sm-bot-nav { display: none; }
    .sm-nav-social { display: none; }
    .sm-article__body { padding: 20px 20px 30px; }
    .sm-article__title { font-size: 1.4rem; }
    .sm-footer-grid { grid-template-columns: 1fr; gap: 30px; }
    .sm-footer-logo-col { align-items: center; text-align: center; }
    .sm-footer-social { justify-content: center; }
    .sm-footer-heading { text-align: center; }
    .sm-footer-cats-grid { max-width: 400px; margin: 0 auto; }
    .sm-footer-contact-col { align-items: center; text-align: center; }
    .sm-footer-contact-item { justify-content: center; }
    .sm-footer-bottom-grid { flex-direction: column; text-align: center; gap: 10px; }
    .sm-footer-credit { text-align: center; }
    .sm-layout-70-30 { grid-template-columns: 1fr; }
    .sm-layout-sidebar-sticky { position: static; max-height: none; }
    .sm-layout-70-30--article .sm-layout-sidebar { order: 2; }
}

/* ═══ 30. Responsive — 600px ═══ */
@media screen and (max-width: 600px) {
    .sm-slider { height: 260px; border-radius: 0; }
    .sm-slide-overlay { padding: 40px 20px 20px; }
    .sm-slide-title { font-size: 1.1rem; }
    .sm-slider-prev, .sm-slider-next { width: 36px; height: 36px; font-size: 14px; }
    .sm-fed-marquee-item img { width: 28px; height: 28px; }
    .sm-search-dropdown { width: 250px; right: -20px; }
    .sm-news-grid { grid-template-columns: 1fr; gap: 14px; }
    .sm-card--hero .sm-card__link { min-height: 260px; }
    .sm-card--hero .sm-card__title { font-size: 1.15rem; }
    .sm-card--hero .sm-card__overlay { padding: 50px 18px 18px; }
    .sm-card--hero .sm-card__cat { font-size: 0.58rem; padding: 3px 10px; }
    .sm-card__body { padding: 12px 14px 14px; }
    .sm-card__body .sm-card__title { font-size: 0.95rem; }
    .sm-card__excerpt { font-size: 0.72rem; }
    .sm-card__author { font-size: 0.55rem; padding: 3px 8px; }
    .sm-card__time { font-size: 0.56rem; }
    .sm-load-btn { padding: 13px; font-size: 0.76rem; border-radius: 8px; }
    .sm-section-title { font-size: 1.05rem; }
    .sm-catmod-grid { grid-template-columns: 1fr; }
    .sm-catmod-hero { margin-right: 0; margin-bottom: 12px; }
    .sm-catmod-hero__link { min-height: 220px; }
    .sm-catmod-hero__title { font-size: 1.1rem; }
    .sm-catmod-header { padding: 12px 16px; }
    .sm-catmod-title { font-size: 1rem; }
    .sm-catmod-grid { padding: 12px; }
    .sm-catmod-item__thumb { flex: 0 0 72px; height: 64px; }
    .sm-catmod-item__title { font-size: 0.72rem; }
    .sm-federation-section { margin: 15px 0; padding: 20px 0; }
    .sm-federation-logos { gap: 20px; }
    .sm-federation-logo img { max-height: 50px; max-width: 90px; }
    .sm-related-grid { grid-template-columns: 1fr; }
    .sm-404__code { font-size: 4rem; }
}

/* ═══ Admin bar fix ═══ */
.admin-bar .sm-header { top: 32px; }
@media screen and (max-width: 782px) {
    .admin-bar .sm-header { top: 46px; }
}
