/* --- ცვლადები ფერებისთვის (Light Mode - Default) --- */
:root {
    --bg-color: #e5e9f0; 
    --text-color: #333;
    --header-bg: #111827; 
    --header-text: #ffffff;
    --primary-color: #a50044; 
    --secondary-color: #004d98; 
    --box-bg: #ffffff;
    --border-color: #d1d8e0;
    --meta-color: #6b7280;
    --footer-text: #cbd5e1;
}

/* --- ცვლადები ფერებისთვის (Dark Mode) --- */
.dark-mode {
    --bg-color: #121212;
    --text-color: #e2e8f0;
    --header-bg: #000000;
    --header-text: #f8fafc;
    --box-bg: #1e1e1e;
    --border-color: #333;
    --meta-color: #94a3b8;
    --footer-text: #cbd5e1;
}

html, body { 
    width: 100%; 
    margin: 0; 
    padding: 0;
}

*, *::before, *::after {
    box-sizing: border-box;
}

body, h1, h2, h3, h4, h5, h6, p, ul, ol, figure, blockquote {
    margin: 0;
    padding: 0;
}

body { 
    font-family: 'Noto Sans Georgian', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--bg-color); 
    color: var(--text-color); 
    transition: background-color 0.3s, color 0.3s;
}

button, input, select, textarea {
    font-family: inherit;
}

html.preload, html.preload *, body.preload, body.preload * {
    transition: none !important;
}

a { 
    text-decoration: none; 
    color: inherit; 
    transition: color 0.3s ease, background-color 0.3s ease; 
}

/* Full-width კონტეინერი (1800px) */
.container { width: 95%; margin: 0 auto; max-width: 1800px; }

.site-wrapper { width: 100%; position: relative; }

/* --- ჰედერი --- */
header {
    background-color: var(--header-bg);
    color: var(--header-text);
    padding: 15px 0;
    position: sticky; top: 0; z-index: 100;
    transition: background-color 0.3s;
}

/* --- ლოგო (Desktop) --- */
.site-branding {
    display: flex;
    align-items: center;
}

.logo-link {
    display: block;
    background-image: url('../../../uploads/logo.svg'); 
    background-repeat: no-repeat;
    background-position: left center;
    background-size: contain; 
    width: 200px; 
    height: 40px;
    transition: transform 0.3s;
}

.logo-link:hover {
    transform: scale(1.03); 
}

.site-title {
    position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
    overflow: hidden; clip: rect(0, 0, 0, 0); border: 0;
}

.header-content { display: flex; justify-content: space-between; align-items: center; position: relative; }
.header-left { display: flex; align-items: center; gap: 15px; }
.hamburger-btn { display: none; font-size: 24px; cursor: pointer; color: #fbbf24; transition: opacity 0.3s; }
.hamburger-btn:hover { opacity: 0.8; }

.main-menu { display: flex; list-style: none; gap: 25px; }
.main-menu li { position: relative; }

.main-menu a { 
    font-weight: 600; 
    padding: 10px 0; 
    color: var(--header-text); 
    display: block; 
    white-space: nowrap; 
}
.main-menu a:hover { color: #fbbf24; }

.sub-menu {
    position: absolute; top: 100%; left: 0;
    background-color: var(--header-bg); box-shadow: 0 8px 20px rgba(0,0,0,0.3);
    list-style: none; 
    min-width: 220px; 
    width: max-content; 
    border-radius: 8px; overflow: hidden;
    padding: 10px 0; border-top: 3px solid var(--primary-color); z-index: 101;
    visibility: hidden; opacity: 0; transform: translateY(15px);
    transition: visibility 0.3s, opacity 0.3s ease, transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.main-menu li.menu-item-has-children > a::after {
    content: 'expand_more';
    font-family: 'Material Symbols Outlined';
    font-weight: normal;
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
    line-height: 1;
    font-size: 10px;
    margin-left: 7px;
    display: inline-block;
    transition: transform 0.3s ease;
    vertical-align: middle;
}

.sub-menu a { padding: 10px 20px; font-weight: normal; }
.sub-menu a:hover { background-color: rgba(255, 255, 255, 0.1); color: #fbbf24; }

/* დესკტოპის ჩამოსაშლელი მენიუს ანიმაცია */
@media (min-width: 769px) { 
    .main-menu li:hover .sub-menu { 
        visibility: visible; 
        opacity: 1; 
        transform: translateY(0); 
    } 
}

.header-right { display: flex; align-items: center; gap: 18px; }
.header-right i { font-size: 20px; cursor: pointer; color: var(--header-text); transition: color 0.3s; }
.header-right i:hover { color: #fbbf24; }
#darkModeToggle { display: inline-flex; align-items: center; justify-content: center; line-height: 1; margin-top: 0; padding: 0; }

.age-restriction-header {
    display: flex; align-items: center; justify-content: center;
    border: 2px solid var(--header-text); border-radius: 50%;
    width: 32px; height: 32px; font-size: 13px; font-weight: 800;
    color: var(--header-text); cursor: help; opacity: 0.9; margin-left: 5px;
}

.total-block-link { position: absolute; top: 0; left: 0; right: 0; bottom: 0; z-index: 5; }

/* --- დესკტოპის სლაიდერი --- */
.desktop-slider-wrapper { margin: 40px 0 20px 0; display: block; }
.hover-slider-section { display: flex; gap: 15px; height: 480px; width: 100%; }
.hover-slide {
    flex: 1; position: relative; border-radius: 16px; overflow: hidden; cursor: pointer;
    transition: flex 0.6s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.3s; 
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.hover-slider-section:not(:hover) .hover-slide:first-child { flex: 3.5; }
.hover-slide:hover { flex: 3.5; }

.hover-slide-overlay {
    position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.4) 100%); z-index: 1; transition: background 0.4s ease;
}
.hover-slider-section:not(:hover) .hover-slide:first-child .hover-slide-overlay,
.hover-slide:hover .hover-slide-overlay { background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.85) 100%); }

.hover-slide-content {
    position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%); width: 600px; max-width: 90%; z-index: 2;
    display: flex; flex-direction: column; align-items: center; text-align: center; opacity: 0; pointer-events: none; transition: opacity 0.3s ease;
}
.hover-slide-title { font-size: 28px; font-weight: 700; line-height: 1.3; color: #fff; margin-bottom: 12px; text-shadow: 1px 1px 3px rgba(0,0,0,0.8); word-break: break-word; }
.hover-slide-meta { display: flex; gap: 15px; font-size: 15px; color: var(--meta-color); }
.hover-slider-section:not(:hover) .hover-slide:first-child .hover-slide-content,
.hover-slide:hover .hover-slide-content { opacity: 1; pointer-events: auto; transition-delay: 0.2s; }

/* --- მობილურის სლაიდერი --- */
.mobile-slider-wrapper { display: none; margin: 20px 0; border-radius: 12px; overflow: hidden; width: 100%; }
.mobile-swiper { width: 100%; height: 380px; }
.mobile-swiper .swiper-slide { position: relative; display: flex; flex-direction: column; justify-content: flex-end; padding: 25px; box-sizing: border-box; }
.mobile-swiper-overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.85) 100%); z-index: 1; }
.mobile-swiper-content { position: relative; z-index: 2; text-align: center; }
.mobile-swiper-title { font-size: 20px; font-weight: 700; color: #fff; margin-bottom: 10px; text-shadow: 1px 1px 3px rgba(0,0,0,0.8); word-break: break-word; }
.mobile-swiper-meta { display: flex; justify-content: center; gap: 15px; font-size: 13px; color: var(--meta-color); }
.swiper-button-next, .swiper-button-prev { color: rgba(255,255,255,0.8) !important; background-color: transparent !important; width: 35px; height: 35px; }
.swiper-button-next:after, .swiper-button-prev:after { font-size: 16px; font-weight: bold; }

/* --- მატჩების ბლოკი --- */
.matches-block { display: flex; justify-content: space-between; gap: 20px; margin: 30px 0 40px 0; width: 100%; }
.match-card {
    flex: 1; min-width: 0; position: relative; background-color: var(--box-bg); border: 1px solid var(--border-color);
    border-radius: 12px; padding: 35px 20px 20px; text-align: center; box-shadow: 0 4px 15px rgba(0,0,0,0.03); transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.match-card.prev { border-top: 4px solid var(--primary-color); }
.match-card.next { border-top: 4px solid var(--secondary-color); }
.match-card:hover { transform: translateY(-3px); box-shadow: 0 6px 15px rgba(0,0,0,0.08); }

.match-label {
    position: absolute; top: 0; left: 50%; transform: translateX(-50%);
    color: #ffffff; padding: 5px 25px; font-size: 12px; font-weight: 800;
    border-radius: 0 0 12px 12px; text-transform: uppercase; letter-spacing: 0.5px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.15); white-space: nowrap;
}
.match-card.prev .match-label { background-color: var(--primary-color); }
.match-card.next .match-label { background-color: var(--secondary-color); }

.teams { display: flex; justify-content: center; align-items: center; gap: 25px; font-size: 18px; font-weight: bold; margin-top: 10px; flex-wrap: wrap; }
.team { display: flex; align-items: center; gap: 12px; }
.team img { width: 50px; height: 50px; object-fit: contain; }
.match-card.is-clickable { cursor: pointer; }
.match-card-link { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 10; }
.score-time {
    background-color: var(--bg-color);
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 24px;
    color: var(--text-color);
    min-width: 90px;
    transition: background-color 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    line-height: 1.2;
}
.match-card .score-text { font-size: 24px; font-weight: 800; }
.match-card .live-badge { color: #ef4444; font-size: 11px; font-weight: bold; margin-top: 3px; animation: pulse 2s infinite; }
.match-card .local-match-date { font-size: 13px; font-weight: 700; color: var(--meta-color, #94a3b8); margin-bottom: 3px; letter-spacing: 0.5px; }
.match-card .local-match-time { font-size: 19px; font-weight: 800; color: var(--text-color); }

/* =========================================
   CONTENT LAYOUT (Main + Sidebar)
   ========================================= */
.content-layout {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
    align-items: flex-start;
    width: 100%;
}
body:not(.home) .content-layout {
    margin-top: 40px;
}
@media (max-width: 768px) {
    body:not(.home) .content-layout {
        margin-top: 25px;
    }
}

/* --- Archive & Tag Header Box --- */
.archive-header-box {
    background: var(--box-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 22px 25px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
}
.archive-header-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary-color, #a50044) 0%, var(--secondary-color, #004d98) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 20px;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(165, 0, 68, 0.25);
}
.archive-header-label {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--meta-color);
    margin-bottom: 4px;
}
.archive-header-title {
    font-size: 24px;
    font-weight: 800;
    margin: 0;
    color: var(--text-color);
    line-height: 1.2;
}
.archive-header-desc {
    font-size: 14px;
    color: var(--meta-color);
    margin-top: 6px;
    line-height: 1.5;
}
@media (max-width: 768px) {
    .archive-header-box {
        padding: 16px 18px;
        gap: 12px;
    }
    .archive-header-icon {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
    .archive-header-title {
        font-size: 20px;
    }
}

.main-content {
    flex: 1; 
    min-width: 0; 
}
.sidebar {
    width: 380px; 
    flex-shrink: 0;
    position: sticky;
    top: 100px; 
    align-self: flex-start; 
    height: fit-content; 
}

.section-header {
    font-size: 18px; font-weight: 800; margin-bottom: 20px; color: var(--text-color);
    display: flex; align-items: center; gap: 10px; border-bottom: 2px solid var(--border-color); padding-bottom: 10px;
}

/* --- საიდბარის მატჩების ვიჯეტი --- */
.sidebar-match {
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-color);
    transition: background-color 0.3s, border-color 0.3s;
}
.sidebar-match:last-of-type { border-bottom: none; }
.sidebar-match:hover { background-color: rgba(128, 128, 128, 0.03); }
.sidebar-match.active-match {
    background-color: rgba(165, 0, 68, 0.04); 
    border-left: 3px solid var(--primary-color);
}
.sm-top {
    font-size: 11px; color: var(--meta-color); margin-bottom: 12px;
    text-transform: uppercase; font-weight: 700; text-align: center; letter-spacing: 0.5px;
}
.sm-teams { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.sm-team { display: flex; flex-direction: column; align-items: center; width: 35%; gap: 6px; }
.sm-team img { width: 38px; height: 38px; object-fit: contain; }
.sm-team span { font-size: 11.5px; font-weight: 700; text-align: center; color: var(--text-color); line-height: 1.2; }
.sm-score-time { width: 30%; text-align: center; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.sm-local-time { font-size: 20px; font-weight: 800; color: var(--text-color); }
.sm-status { font-size: 10px; color: #10b981; font-weight: 700; margin-top: 4px; text-transform: uppercase; }
.active-match .sm-status { color: var(--primary-color); }
.sm-all-matches {
    display: block; text-align: center; padding: 12px; background-color: var(--bg-color);
    color: var(--text-color); font-size: 13px; font-weight: 600; border-top: 1px solid var(--border-color);
    border-bottom-left-radius: 12px; border-bottom-right-radius: 12px;
}
.sm-all-matches:hover { color: var(--primary-color); }
.sm-all-matches i { font-size: 10px; margin-left: 5px; }

/* --- სიახლეების Grid --- */
.news-grid { 
    display: grid; 
    grid-template-columns: repeat(2, 1fr); 
    gap: 25px; 
    margin-bottom: 40px; 
    width: 100%;
}
.news-item {
    position: relative; height: 350px; border-radius: 12px; overflow: hidden; display: flex; min-width: 0;
    flex-direction: column; justify-content: flex-end; padding: 25px; color: #fff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}
.news-item:hover { transform: translateY(-5px); box-shadow: 0 8px 25px rgba(0,0,0,0.2); }
.news-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.2) 40%, rgba(0,0,0,0.95) 100%);
    z-index: 1; transition: background 0.3s;
}
.news-content { position: relative; z-index: 3; }
.news-title { margin-bottom: 12px; text-shadow: 1px 1px 3px rgba(0,0,0,0.8); word-break: break-word; }
.news-title a { font-size: 20px; font-weight: 700; line-height: 1.4; color: #fff; }
.news-meta { display: flex; justify-content: space-between; font-size: 13px; color: var(--meta-color); border-top: 1px solid rgba(255,255,255,0.2); padding-top: 12px; }
.meta-item { display: flex; align-items: center; gap: 6px; }

/* --- პაგინაცია --- */
.pagination { display: flex; justify-content: center; align-items: center; gap: 10px; margin-bottom: 30px; flex-wrap: wrap; }
.pagination .page-numbers { 
    background-color: var(--box-bg); 
    border: 1px solid var(--border-color); 
    padding: 10px 18px; 
    border-radius: 8px; 
    font-weight: bold; 
    color: var(--text-color);
}
.pagination a.page-numbers:hover { 
    background-color: var(--primary-color); 
    color: #fff; 
    border-color: var(--primary-color); 
}
.pagination .current { 
    background-color: var(--primary-color); 
    color: #fff; 
    border-color: var(--primary-color); 
    cursor: default;
}
.pagination .dots { border-color: transparent; background-color: transparent; padding: 10px 5px; }

/* --- Sidebar Widget --- */
.widget {
    background-color: var(--box-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    transition: background-color 0.3s, border-color 0.3s;
}
.popular-item {
    display: flex; gap: 15px; padding-bottom: 15px; margin-bottom: 15px;
    border-bottom: 1px solid var(--border-color); align-items: center; transition: transform 0.2s, border-color 0.3s;
}
.popular-item:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: none; }
.popular-item:hover { transform: translateX(5px); }
.popular-thumb { width: 80px; height: 70px; border-radius: 8px; object-fit: cover; flex-shrink: 0; }
.popular-info { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.popular-title {
    font-size: 14px; font-weight: 700; line-height: 1.4; color: var(--text-color);
    margin-bottom: 8px; transition: color 0.2s;
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.popular-item:hover .popular-title { color: var(--primary-color); }
.popular-meta { font-size: 12px; color: var(--meta-color); display: flex; gap: 12px; }

/* --- ფუტერი --- */
footer { background-color: var(--header-bg); color: var(--footer-text); padding: 40px 0 20px; margin-top: 40px; border-top: 4px solid var(--primary-color); transition: background-color 0.3s; }
.footer-content { display: flex; flex-direction: column; align-items: center; gap: 25px; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; font-size: 14px; }
.footer-links a:hover { color: #fbbf24; }
.footer-rec-link { color: var(--primary-color, #a50044); font-weight: 700; }
.footer-socials { display: flex; gap: 20px; font-size: 22px; }
.footer-socials a { color: var(--footer-text); transition: color 0.3s, transform 0.3s; }
.footer-socials a:hover { color: #fbbf24; transform: translateY(-3px); }
.footer-bottom { width: 100%; border-top: 1px solid rgba(255, 255, 255, 0.1); padding-top: 20px; text-align: center; font-size: 13px; }

/* --- SCROLL TO TOP --- */
.scroll-to-top {
    position: fixed; bottom: 30px; right: 30px; width: 45px; height: 45px;
    background-color: var(--primary-color); color: #ffffff; border-radius: 50%;
    display: flex; align-items: center; justify-content: center; font-size: 20px;
    cursor: pointer; box-shadow: 0 4px 15px rgba(0,0,0,0.3); z-index: 99;
    opacity: 0; visibility: hidden; transform: translateY(20px); transition: all 0.3s ease;
}
.scroll-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.scroll-to-top:hover { background-color: var(--secondary-color); transform: translateY(-5px); }

/* --- ძებნის ანიმაცია --- */
.search-container { display: flex; align-items: center; position: relative; }
.search-form { width: 0; overflow: hidden; transition: width 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), opacity 0.3s; opacity: 0; }
.search-form.active { width: 150px; opacity: 1; margin-right: 5px; }
.search-input { width: 100%; padding: 6px 10px; border-radius: 4px; border: 1px solid rgba(255,255,255,0.2); background: rgba(255,255,255,0.1); color: #fff; outline: none; font-size: 14px; }
.search-toggle-btn { display: inline-flex; align-items: center; justify-content: center; background: none; border: none; cursor: pointer; color: var(--header-text); font-size: 18px; padding: 0; transition: color 0.3s; }
.search-toggle-btn:hover { color: #fbbf24; }

/* --- შიდა გვერდის (single.php) სურათის ბლოკი --- */
.single-hero-image {
    position: relative; width: 100%; height: 450px; border-radius: 12px; overflow: hidden;
    margin-bottom: 30px; box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.hero-content {
    position: absolute; bottom: 0; left: 0; width: 100%; padding: 35px 30px 25px;
    z-index: 3; display: flex; flex-direction: column; justify-content: flex-end; color: #ffffff;
}
.single-title { font-size: 32px; font-weight: 700; line-height: 1.3; margin-bottom: 15px; text-shadow: 1px 1px 3px rgba(0,0,0,0.8); }
.hero-meta { display: flex; gap: 15px; color: #cbd5e1; font-size: 14px; border-top: 1px solid rgba(255,255,255,0.2); padding-top: 15px; }

/* =========================================
   ტიპოგრაფია: შიდა და სტატიკური გვერდებისთვის
   ========================================= */
.post-content p { margin-bottom: 20px; line-height: 1.7; }
.post-content h2, .post-content h3, .post-content h4 { margin-top: 35px; margin-bottom: 15px; font-weight: 700; color: var(--text-color); }
.post-content h2 { font-size: 24px; }
.post-content h3 { font-size: 20px; }
.post-content ul, .post-content ol { margin-bottom: 20px; padding-left: 25px; }
.post-content li { margin-bottom: 8px; line-height: 1.6; }
.post-content p a, .post-content li a { color: var(--primary-color); text-decoration: underline; font-weight: 600; }
.post-content p a:hover, .post-content li a:hover { color: var(--secondary-color); text-decoration: none; }
.post-content img { max-width: 100%; height: auto; border-radius: 8px; margin-bottom: 20px; }
.post-content blockquote {
    border-left: 4px solid var(--primary-color); padding: 15px 20px; background-color: var(--box-bg);
    margin-bottom: 20px; font-style: italic; color: var(--meta-color); transition: background-color 0.3s;
}

/* =========================================
   განრიგის გვერდის სტილები (Schedule Page)
   ========================================= */
.schedule-list { display: flex; flex-direction: column; gap: 20px; margin-bottom: 40px; }
.schedule-card {
    display: flex; align-items: center; background-color: var(--box-bg); border: 1px solid var(--border-color);
    border-radius: 12px; padding: 20px 25px; box-shadow: 0 4px 15px rgba(0,0,0,0.02);
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s, background-color 0.3s;
}
.schedule-card:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(0,0,0,0.06); }
.schedule-card.next-match { border-left: 5px solid var(--secondary-color); }

.schedule-date { display: flex; flex-direction: column; align-items: center; justify-content: center; min-width: 70px; padding-right: 20px; border-right: 1px solid var(--border-color); }
.s-day { font-size: 28px; font-weight: 800; color: var(--text-color); line-height: 1; }
.s-month { font-size: 14px; font-weight: 600; text-transform: uppercase; color: var(--meta-color); margin-top: 5px; }
.schedule-teams { flex: 1; display: flex; align-items: center; justify-content: center; gap: 30px; padding: 0 20px; }
.s-team { display: flex; align-items: center; gap: 12px; font-size: 18px; font-weight: 700; width: 40%; color: var(--text-color); }
.s-team:first-child { justify-content: flex-end; text-align: right; }
.s-team:last-child { justify-content: flex-start; text-align: left; }
.s-team img { width: 45px; height: 45px; object-fit: contain; }
.s-home { color: var(--primary-color); }

.s-score-box { display: flex; flex-direction: column; align-items: center; justify-content: center; min-width: 100px; }
.s-score, .s-time { font-size: 26px; font-weight: 800; color: var(--text-color); background-color: var(--bg-color); padding: 5px 20px; border-radius: 8px; line-height: 1.2; transition: background-color 0.3s; }
.s-time { font-size: 20px; }
.s-status { font-size: 11px; font-weight: 700; text-transform: uppercase; margin-top: 8px; letter-spacing: 0.5px; color: #10b981; } 
.s-status.upcoming { color: var(--meta-color); }

.schedule-info { display: flex; flex-direction: column; gap: 8px; min-width: 200px; padding-left: 20px; border-left: 1px solid var(--border-color); font-size: 13px; color: var(--meta-color); }
.schedule-info i { width: 16px; text-align: center; color: var(--primary-color); margin-right: 5px; }

/* =========================================
   საკონტაქტო ფორმის სტილები
   ========================================= */
.bcf-container { max-width: 600px; margin: 30px 0; }
.bcf-group { margin-bottom: 20px; }
.bcf-group label { display: block; margin-bottom: 8px; font-weight: 600; color: var(--text-color); }
.bcf-group input, .bcf-group textarea { width: 100%; padding: 12px 15px; border: 1px solid var(--border-color); border-radius: 8px; background-color: var(--box-bg); color: var(--text-color); box-sizing: border-box; font-family: inherit; font-size: 15px; transition: border-color 0.3s, background-color 0.3s, color 0.3s; }
.bcf-group input:focus, .bcf-group textarea:focus { outline: none; border-color: var(--primary-color); }
.bcf-btn { padding: 12px 30px; background-color: var(--primary-color); color: #ffffff; border: none; border-radius: 8px; cursor: pointer; font-weight: 700; font-size: 16px; transition: background-color 0.3s, transform 0.2s; }
.bcf-btn:hover { background-color: var(--secondary-color); transform: translateY(-2px); }
.bcf-success { color: #10b981; background-color: rgba(16, 185, 129, 0.1); padding: 15px; border-radius: 8px; font-weight: 600; margin-bottom: 20px; }
.bcf-error { color: #ef4444; background-color: rgba(239, 68, 68, 0.1); padding: 15px; border-radius: 8px; font-weight: 600; margin-bottom: 20px; }

.standings-container iframe { display: block; border: none; }

/* =========================================
   კომენტარების სექცია
   ========================================= */
.comments-area { margin-top: 40px; }
.comments-title { font-size: 20px; color: var(--text-color); margin-bottom: 25px; font-weight: 700; }
.comment-list { list-style: none; padding: 0; margin: 0 0 30px 0; }

.comment-list li.comment {
    background-color: var(--box-bg); border: 1px solid var(--border-color); border-radius: 12px;
    padding: 20px; margin-bottom: 25px; box-shadow: 0 4px 10px rgba(0,0,0,0.02); transition: background-color 0.3s, border-color 0.3s;
}

.custom-comment-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 15px; padding-bottom: 15px; border-bottom: 1px dashed var(--border-color); }
.custom-comment-avatar img { border-radius: 50%; width: 48px; height: 48px; object-fit: cover; border: 2px solid var(--bg-color); transition: border-color 0.3s; flex-shrink: 0; }
.custom-comment-info { flex: 1; min-width: 0; margin-left: 12px; }
.custom-comment-author { font-size: 16px; font-weight: 800; color: var(--text-color); margin-bottom: 4px; display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.custom-comment-author a { transition: color 0.3s; }
.custom-comment-author a:hover { color: var(--primary-color); }

.custom-comment-date { font-size: 12px; color: var(--meta-color); display: flex; align-items: center; }

.custom-comment-badge-wrap { flex-shrink: 0; margin-left: auto; }
.custom-comment-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    color: var(--meta-color, #64748b);
    background-color: var(--bg-color, #f8fafc);
    border: 1px solid var(--border-color, #e2e8f0);
    padding: 3px 8px;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.2s ease;
    user-select: none;
    line-height: 1.2;
}
.custom-comment-number:hover {
    color: #fff;
    background-color: var(--primary-color, #a50044);
    border-color: var(--primary-color, #a50044);
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(165, 0, 68, 0.25);
}

/* კომენტარის განათება (Highlight Flash) */
.comment:target > .custom-comment-body,
.comment.bm-highlight-flash > .custom-comment-body {
    animation: bmCommentFlash 2.5s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes bmCommentFlash {
    0% {
        box-shadow: 0 0 0 3px var(--primary-color, #a50044), 0 8px 24px rgba(165, 0, 68, 0.2);
        background-color: rgba(165, 0, 68, 0.07);
    }
    100% {
        box-shadow: 0 4px 10px rgba(0,0,0,0.02);
        background-color: var(--box-bg);
    }
}

.custom-comment-reply a { background-color: rgba(165, 0, 68, 0.08); color: var(--primary-color); padding: 8px 15px; border-radius: 8px; font-size: 12px; font-weight: 700; transition: all 0.3s; }
.custom-comment-reply a:hover { background-color: var(--primary-color); color: #fff; transform: translateY(-2px); }

.custom-comment-text { font-size: 14.5px; line-height: 1.6; color: var(--text-color); }
.custom-comment-text p { margin-bottom: 10px; }
.custom-comment-text p:last-child { margin-bottom: 0; }

.comment-list .children { list-style: none; margin-top: 25px; margin-left: 50px; padding-left: 20px; border-left: 3px solid var(--primary-color); }
.comment-list .children li.comment { background-color: transparent; border: none; box-shadow: none; padding: 0; margin-bottom: 25px; }
.comment-list .children li.comment:last-child { margin-bottom: 0; }

.comment-form-group { margin-bottom: 15px; }
.comment-form-group label { display: block; margin-bottom: 5px; color: var(--text-color); font-weight: 600; }
.comment-form-group input, .comment-form-group textarea {
    width: 100%; padding: 12px; border: 1px solid var(--border-color); border-radius: 8px;
    background-color: var(--bg-color); color: var(--text-color); font-family: inherit;
    box-sizing: border-box; transition: border-color 0.3s, background-color 0.3s, color 0.3s;
}
.comment-form-group input:focus, .comment-form-group textarea:focus { outline: none; border-color: var(--primary-color); }
.submit-comment-btn { padding: 12px 25px; background-color: var(--primary-color); color: #fff; border: none; border-radius: 8px; cursor: pointer; font-weight: 700; font-size: 15px; transition: background-color 0.3s, transform 0.2s; }
.submit-comment-btn:hover { background-color: var(--secondary-color); transform: translateY(-2px); }

/* =========================================
   Header-ის ავტორიზაციის იკონკა
   ========================================= */
.auth-icon-container { position: relative; display: inline-flex; align-items: center; cursor: pointer; }
.auth-main-icon i, .auth-main-icon span { display: flex; align-items: center; justify-content: center; font-size: 20px; color: #ffffff; transition: color 0.3s; line-height: 1; }
.auth-main-icon:hover i, .auth-main-icon:hover span { color: #fbbf24; }

.auth-quick-login { padding: 15px; min-width: 260px; }
.auth-quick-login .login-username, .auth-quick-login .login-password { margin-bottom: 12px; }
.auth-quick-login label { display: block; font-size: 13px; color: var(--text-color); margin-bottom: 5px; font-weight: 600; }
.auth-quick-login input[type="text"], .auth-quick-login input[type="password"] {
    width: 100%; padding: 8px 10px; border: 1px solid var(--border-color); border-radius: 6px;
    background-color: var(--bg-color); color: var(--text-color); font-size: 14px; box-sizing: border-box;
    transition: border-color 0.3s, background-color 0.3s, color 0.3s;
}
.auth-quick-login input[type="text"]:focus, .auth-quick-login input[type="password"]:focus { outline: none; border-color: var(--primary-color); }
.auth-quick-login .login-remember { font-size: 12px; color: var(--meta-color); margin-bottom: 15px; display: flex; align-items: center; gap: 5px; }
.auth-quick-login .login-submit input[type="submit"] { width: 100%; padding: 10px; background-color: var(--primary-color); color: #fff; border: none; border-radius: 6px; font-weight: 700; cursor: pointer; transition: background-color 0.3s; }
.auth-quick-login .login-submit input[type="submit"]:hover { background-color: var(--secondary-color); }

.auth-register-link { text-align: center; margin-top: 15px; border-top: 1px solid var(--border-color); padding-top: 15px; }
.auth-register-link a { padding: 0; border: none; font-size: 13px; color: var(--meta-color); text-decoration: underline; }
.auth-dropdown .auth-register-link a:hover { background-color: transparent; color: var(--primary-color); }

.auth-dropdown {
    position: absolute; top: 150%; right: 0; background-color: var(--box-bg); min-width: 150px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15); border-radius: 8px; border: 1px solid var(--border-color);
    opacity: 0; visibility: hidden; transform: translateY(10px); transition: all 0.3s ease; z-index: 1000;
    display: flex; flex-direction: column; overflow: hidden;
}
.auth-icon-container.active .auth-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.auth-dropdown a { padding: 12px 15px; color: var(--text-color); font-size: 14px; font-weight: 600; transition: background-color 0.2s, color 0.2s; border-bottom: 1px solid var(--border-color); }
.auth-dropdown a:last-child { border-bottom: none; }
.auth-dropdown a:hover { background-color: var(--border-color); color: var(--primary-color); }

/* =========================================
   სოციალური ავტორიზაცია და რეგისტრაცია (Google, Facebook)
   ========================================= */
.bm-social-login-wrapper {
    width: 100%;
    margin-bottom: 12px;
}
.bm-social-context-form {
    max-width: 420px;
    margin: 20px auto 10px;
    padding: 15px 0;
}
.bm-social-buttons {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}
.bm-social-buttons-large {
    gap: 12px;
}
.bm-social-btn {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 9px 14px !important;
    border-radius: 6px;
    font-size: 13.5px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    box-sizing: border-box;
    transition: all 0.25s ease !important;
    cursor: pointer;
    border: 1px solid transparent !important;
    border-bottom: 1px solid transparent !important;
}
.bm-social-context-header .bm-social-btn {
    padding: 8px 12px !important;
    font-size: 13px !important;
}
.bm-social-btn:hover {
    transform: translateY(-1.5px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}
.bm-social-btn:active {
    transform: translateY(0);
}
.bm-social-icon {
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Google Button Styling */
.bm-google-btn {
    background-color: var(--bg-color) !important;
    color: var(--text-color) !important;
    border-color: var(--border-color) !important;
}
.bm-google-btn:hover {
    background-color: rgba(234, 67, 53, 0.08) !important;
    border-color: #ea4335 !important;
    color: #ea4335 !important;
}
.bm-google-btn .bm-social-icon i {
    color: #ea4335;
}

/* Facebook Button Styling */
.bm-facebook-btn {
    background-color: #1877f2 !important;
    color: #ffffff !important;
}
.bm-facebook-btn:hover {
    background-color: #1569d6 !important;
    color: #ffffff !important;
}
.bm-facebook-btn .bm-social-icon i {
    color: #ffffff;
}

/* 2-Column Grid for Gen Z Buttons */
.bm-social-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    width: 100%;
}
.bm-social-grid-2 .bm-social-btn {
    padding: 8px 10px !important;
    font-size: 13px !important;
}

/* Discord Button Styling (Gen Z Favorite) */
.bm-discord-btn {
    background-color: #5865f2 !important;
    color: #ffffff !important;
}
.bm-discord-btn:hover {
    background-color: #4752c4 !important;
    color: #ffffff !important;
}
.bm-discord-btn .bm-social-icon i {
    color: #ffffff;
}

/* Apple Button Styling */
.bm-apple-btn {
    background-color: #000000 !important;
    color: #ffffff !important;
    border: 1px solid #333333 !important;
}
body.dark-mode .bm-apple-btn {
    background-color: #ffffff !important;
    color: #000000 !important;
    border-color: #ffffff !important;
}
.bm-apple-btn:hover {
    opacity: 0.88 !important;
}
.bm-apple-btn .bm-social-icon i {
    color: inherit;
}

/* TikTok Button Styling */
.bm-tiktok-btn {
    background-color: #010101 !important;
    color: #ffffff !important;
    border: 1px solid #222 !important;
}
.bm-tiktok-btn:hover {
    background-color: #ff0050 !important;
    color: #ffffff !important;
}
.bm-tiktok-btn .bm-social-icon i {
    color: #ffffff;
}

/* Twitter / X Button Styling */
.bm-twitter-btn {
    background-color: #14171a !important;
    color: #ffffff !important;
}
.bm-twitter-btn:hover {
    background-color: #1da1f2 !important;
    color: #ffffff !important;
}
.bm-twitter-btn .bm-social-icon i {
    color: #ffffff;
}

/* Auth Divider */
.bm-auth-divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 12px 0 14px;
    color: var(--meta-color);
    font-size: 12px;
    font-weight: 600;
}
.bm-auth-divider-top {
    margin: 15px 0 16px;
}
.bm-auth-divider::before,
.bm-auth-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid var(--border-color);
}
.bm-auth-divider span {
    padding: 0 10px;
}

/* =========================================
   ლა ლიგის ცხრილი და ბომბარდირები
   ========================================= */
.bm-laliga-stats-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 20px; margin-bottom: 40px; }
@media (max-width: 992px) {
    .bm-laliga-stats-grid { grid-template-columns: 1fr; }
}
.bm-table-responsive { overflow-x: auto; }
.bm-standings-table { width: 100%; border-collapse: collapse; font-size: 14px; text-align: center; white-space: nowrap; }
.bm-standings-table th { background-color: var(--bg-color); color: var(--meta-color); padding: 12px 10px; font-weight: 700; border-bottom: 2px solid var(--border-color); transition: background-color 0.3s, border-color 0.3s; text-align: center; }
.bm-standings-table td { padding: 12px 10px; border-bottom: 1px solid var(--border-color); color: var(--text-color); vertical-align: middle; transition: border-color 0.3s; text-align: center; }
.bm-standings-table tr:last-child td { border-bottom: none; }
.bm-standings-table tr:hover td { background-color: rgba(0,0,0,0.02); }
body.dark-mode .bm-standings-table tr:hover td { background-color: rgba(255,255,255,0.03); }
.bm-team-name-cell { text-align: left !important; font-weight: 700; white-space: normal; }
.bm-pts-cell { font-weight: 800; color: var(--text-color); font-size: 15px; text-align: center; }

.bm-barca-row td { background-color: rgba(165, 0, 68, 0.05); }
.bm-barca-row .bm-team-name-cell, .bm-barca-row .bm-pts-cell { color: var(--primary-color); }

.bm-scorers-list { display: flex; flex-direction: column; gap: 12px; }
.bm-scorer-card { display: flex; align-items: center; padding: 10px 15px; background-color: var(--bg-color); border-radius: 8px; border: 1px solid var(--border-color); transition: transform 0.2s, background-color 0.3s, border-color 0.3s; }
.bm-scorer-card:hover { transform: translateX(5px); }
.bm-scorer-rank { font-size: 16px; font-weight: 800; color: var(--meta-color); width: 25px; }
.bm-scorer-img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; margin-right: 15px; border: 2px solid var(--border-color); transition: border-color 0.3s; }
.bm-placeholder { display: flex; align-items: center; justify-content: center; background-color: var(--border-color); color: var(--meta-color); }
.bm-scorer-info { flex: 1; min-width: 0; }
.bm-scorer-name { font-size: 15px; font-weight: 700; color: var(--text-color); margin-bottom: 2px; }
.bm-scorer-team { font-size: 12px; color: var(--meta-color); }
.bm-scorer-goals { font-size: 20px; font-weight: 800; color: var(--text-color); }

.bm-barca-scorer { border-left: 4px solid var(--primary-color); background-color: rgba(165, 0, 68, 0.03); }
.bm-barca-scorer .bm-scorer-goals { color: var(--primary-color); }

/* =========================================
   სტატიის თეგები
   ========================================= */
.post-tags, .tags-links, .tags {
    list-style: none; padding-left: 0; display: block; line-height: 1.8; margin-bottom: 20px; color: #6b7280; font-size: 14px; 
}
.post-tags a { color: #6b7280; transition: color 0.3s ease; }
.post-tags a:hover { color: var(--primary-color); }

/* =========================================
   მსგავსი სიახლეები
   ========================================= */
.related-posts-section { margin-top: 50px; padding-top: 30px; border-top: 1px solid var(--border-color); transition: border-color 0.3s; }
.related-title { font-size: 20px; margin-bottom: 25px; color: var(--text-color); font-weight: 800; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.related-card {
    background: var(--box-bg); border: 1px solid var(--border-color); border-radius: 12px;
    overflow: hidden; transition: transform 0.3s, box-shadow 0.3s, background-color 0.3s, border-color 0.3s;
}
.related-card:hover { transform: translateY(-5px); box-shadow: 0 8px 20px rgba(0,0,0,0.05); }
.related-thumb { display: block; height: 160px; background-color: var(--border-color); background-size: cover; background-position: center; transition: background-color 0.3s; }
.related-info { padding: 15px; }
.related-post-title {
    display: block; font-size: 15px; font-weight: 700; color: var(--text-color); margin-bottom: 10px; line-height: 1.4; transition: color 0.3s;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.related-post-title:hover { color: var(--primary-color); }
.related-date { font-size: 12px; color: var(--meta-color); }

/* =========================================
   კომენტარების სექციის გამყოფი
   ========================================= */
.comments-section-divider { margin-top: 50px; margin-bottom: 30px; padding-top: 30px; border-top: 3px solid var(--primary-color); display: flex; align-items: center; }
.comments-main-title { font-size: 24px; font-weight: 800; color: var(--text-color); margin: 0; }
.comments-main-title i { color: var(--primary-color); margin-right: 10px; }

/* =========================================
   მატჩის დამატებითი ინფორმაციის ბლოკი (Next Match)
   ========================================= */
.nextmatchtime-block {
    background-color: rgba(165, 0, 68, 0.04); border-left: 4px solid var(--primary-color);
    padding: 18px 20px; margin-top: 10px; margin-bottom: 25px; border-radius: 0 8px 8px 0;
}
.nextmatchtime-block ul { list-style: none; padding-left: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 15px 25px; }
.nextmatchtime-block li { font-size: 14px; color: var(--text-color); display: flex; align-items: center; }
.nextmatchtime-block li i { color: var(--primary-color); margin-right: 8px; font-size: 15px; }
.nextmatchtime-block a { color: var(--text-color); font-weight: 600; transition: color 0.3s ease; }
.nextmatchtime-block a:hover { color: var(--primary-color); text-decoration: underline; }

/* =========================================
   Match Centre: Flashscore Style
   ========================================= */
.fs-details-container { display: flex; flex-direction: column; gap: 20px; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; }
.fs-section { background-color: var(--box-bg); border: 1px solid var(--border-color); border-radius: 8px; overflow: hidden; transition: background-color 0.3s, border-color 0.3s; }
.fs-section-header { background-color: #f1f5f9; color: #334155; padding: 10px 15px; font-size: 13px; font-weight: 700; text-transform: uppercase; text-align: center; border-bottom: 1px solid var(--border-color); letter-spacing: 0.5px; transition: background-color 0.3s, border-color 0.3s; }
body.dark-mode .fs-section-header { background-color: #1a1a1a; color: #94a3b8; }

.fs-timeline-container { position: relative; padding: 20px 0; }
.fs-timeline-line { position: absolute; top: 0; bottom: 0; left: 50%; width: 1px; background-color: var(--border-color); transform: translateX(-50%); transition: background-color 0.3s; }
.fs-event-row { display: flex; align-items: center; justify-content: center; padding: 8px 15px; position: relative; z-index: 2; transition: background-color 0.2s; }
.fs-event-row:hover { background-color: rgba(0,0,0,0.02); }
.fs-event-time { width: 40px; height: 24px; background-color: #f8fafc; border: 1px solid var(--border-color); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; color: var(--text-color); margin: 0 15px; z-index: 3; transition: background-color 0.3s, border-color 0.3s; }
body.dark-mode .fs-event-time { background-color: #2dd4bf20; border-color: #333; }
.fs-event-detail { flex: 1; display: flex; align-items: center; font-size: 13px; color: var(--text-color); }
.fs-home-detail { justify-content: flex-end; text-align: right; }
.fs-away-detail { justify-content: flex-start; text-align: left; }
.fs-empty-detail { visibility: hidden; }
.fs-icon { margin: 0 8px; font-size: 14px; flex-shrink: 0; }
.fs-player { font-weight: 600; white-space: normal; word-break: break-word; line-height: 1.3; }

.fs-stats-container { padding: 15px 20px; }
.fs-stat-item { margin-bottom: 18px; }
.fs-stat-item:last-child { margin-bottom: 0; }
.fs-stat-text { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; font-size: 13px; }
.fs-stat-label { flex: 1; text-align: center; color: var(--text-color); font-weight: 400; }
.fs-stat-num { width: 40px; font-weight: 700; color: var(--text-color); }
.fs-stat-num:first-child { text-align: left; }
.fs-stat-num:last-child { text-align: right; }
.fs-stat-bars { display: flex; gap: 4px; height: 6px; }
.fs-bar-wrapper { flex: 1; background-color: #e2e8f0; border-radius: 3px; overflow: hidden; display: flex; transition: background-color 0.3s; }
body.dark-mode .fs-bar-wrapper { background-color: #333; }
.fs-bar-left { justify-content: flex-end; }
.fs-bar-right { justify-content: flex-start; }
.fs-bar-fill { height: 100%; transition: width 0.5s ease; }

.fs-lineups-container { display: flex; background: var(--bg-color); transition: background-color 0.3s; }
.fs-lineup-column { flex: 1; background: var(--box-bg); transition: background-color 0.3s; }
.fs-lineup-column:first-child { border-right: 1px solid var(--border-color); }
.fs-team-header { padding: 20px; text-align: center; border-bottom: 3px solid var(--border-color); background: var(--bg-color); transition: background-color 0.3s, border-color 0.3s; }
.fs-home-header { border-bottom-color: var(--primary-color); }
.fs-away-header { border-bottom-color: var(--secondary-color); }
.fs-team-title { font-size: 18px; font-weight: 800; color: var(--text-color); margin-bottom: 8px; text-transform: uppercase; }
.fs-coach { font-size: 12px; color: var(--meta-color); font-weight: 600; }
.fs-players-group { padding: 0; }
.fs-group-title { font-size: 12px; font-weight: 800; color: var(--text-color); background: #f8fafc; padding: 10px 20px; text-transform: uppercase; border-bottom: 1px solid var(--border-color); letter-spacing: 0.5px; transition: background-color 0.3s, border-color 0.3s; }
body.dark-mode .fs-group-title { background: #1a1a1a; }
.fs-missing-title { color: #ef4444; background: rgba(239, 68, 68, 0.05); }
body.dark-mode .fs-missing-title { background: rgba(239, 68, 68, 0.1); }
.fs-players-list { display: flex; flex-direction: column; }
.fs-player-row { display: flex; align-items: center; padding: 12px 20px; font-size: 14px; font-weight: 600; color: var(--text-color); border-bottom: 1px solid var(--border-color); transition: background 0.2s, border-color 0.3s; }
.fs-player-row:last-child { border-bottom: none; }
.fs-player-row:hover { background: rgba(0,0,0,0.02); }
body.dark-mode .fs-player-row:hover { background: rgba(255,255,255,0.02); }
.fs-player-row i { width: 24px; text-align: center; margin-right: 12px; font-size: 13px; }
.fs-player-row > span.material-symbols-outlined { width: 24px; text-align: center; margin-right: 12px; font-size: 18px; }

.fs-shirt-barca { background: linear-gradient(90deg, #004d98 50%, #a50044 50%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; display: inline-block; }
.fs-shirt-opponent { color: #111; }
body.dark-mode .fs-shirt-opponent { color: #f8fafc; }
.fs-sub-icon { color: var(--meta-color); font-size: 12px; }
.fs-missing-icon { color: #ef4444; }
.fs-missing-list .fs-player-row { color: var(--meta-color); display: block; line-height: 1.6; }
.fs-player-row span i { width: auto; margin-right: 0; margin-left: 10px; font-size: 12px; }

/* =========================================
   მთავარი ტაბლო
   ========================================= */
.mc-scoreboard {
    background: var(--box-bg); border: 1px solid var(--border-color); border-radius: 16px;
    padding: 30px; box-shadow: 0 8px 30px rgba(0,0,0,0.04); margin-bottom: 30px;
    position: relative; overflow: hidden; transition: background-color 0.3s, border-color 0.3s;
}
.mc-scoreboard::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 6px; background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 100%); }
.mc-scoreboard-top { display: flex; justify-content: center; align-items: center; gap: 15px; margin-bottom: 35px; }
.mc-tournament-badge { background: rgba(165, 0, 68, 0.08); color: var(--primary-color); padding: 6px 16px; border-radius: 20px; font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.5px; transition: background-color 0.3s; }
body.dark-mode .mc-tournament-badge { background: rgba(255, 255, 255, 0.1); color: var(--text-color); }
.mc-date { font-size: 14px; font-weight: 600; color: var(--meta-color); }
.mc-main-row { display: flex; justify-content: center; align-items: center; gap: 60px; }
.mc-team-col { display: flex; flex-direction: column; align-items: center; width: 160px; }
.mc-team-logo { width: 100px; height: 100px; object-fit: contain; margin-bottom: 18px; transition: transform 0.3s; }
.mc-team-logo:hover { transform: scale(1.05); }
.mc-team-name { font-size: 20px; font-weight: 800; color: var(--text-color); text-align: center; line-height: 1.3; margin: 0; }
.mc-score-col { display: flex; flex-direction: column; align-items: center; }
.mc-vs { font-size: 28px; font-weight: 800; color: var(--meta-color); margin-bottom: 15px; }
.mc-score-display { display: flex; align-items: center; gap: 15px; font-size: 56px; font-weight: 900; color: var(--text-color); line-height: 1; margin-bottom: 15px; }
.mc-score-num { background: var(--bg-color); padding: 10px 20px; border-radius: 12px; border: 1px solid var(--border-color); min-width: 70px; text-align: center; transition: background-color 0.3s, border-color 0.3s; }
.mc-score-divider { font-size: 32px; color: var(--meta-color); }
.mc-status-badge { padding: 6px 16px; border-radius: 20px; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.5px; }
.mc-status-badge.upcoming { background: var(--bg-color); color: var(--meta-color); border: 1px solid var(--border-color); }
.mc-status-badge.ongoing { background: #ef4444; color: #fff; animation: pulse 2s infinite; }
.mc-status-badge.finished { background: #10b981; color: #fff; }

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(239, 68, 68, 0); }
    100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

.mc-scoreboard-bottom { display: flex; justify-content: center; gap: 30px; margin-top: 35px; padding-top: 25px; border-top: 1px dashed var(--border-color); transition: border-color 0.3s; }
.mc-info-item { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--meta-color); }

/* =========================================
   Top Match Banner
   ========================================= */
.top-match-banner.premium-matchday {
    background: linear-gradient(135deg, #001a3b 0%, #00305c 100%); border-bottom: 4px solid #a50044;
    padding: 15px 0; position: relative; overflow: hidden; box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2); color: #ffffff;
}
.tmb-watermark { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); font-size: 85px; font-weight: 900; color: rgba(255, 255, 255, 0.03); pointer-events: none; letter-spacing: 5px; white-space: nowrap; z-index: 0; }
.tmb-container { max-width: 1200px; margin: 0 auto; padding: 0 20px; display: flex; align-items: center; justify-content: space-between; position: relative; z-index: 1; }
.tmb-info { display: flex; flex-direction: column; width: 220px; }
.tmb-tournament { font-size: 11px; font-weight: 800; color: #fca311; text-transform: uppercase; letter-spacing: 1px; }
.tmb-date { font-size: 13px; color: #cbd5e1; font-weight: 600; margin-top: 4px; }
.tmb-date i { margin-right: 5px; }
.tmb-main { display: flex; align-items: center; justify-content: center; gap: 25px; flex: 1; transition: transform 0.3s ease; }
.tmb-main:hover { transform: scale(1.03); }
.tmb-team { display: flex; align-items: center; gap: 15px; width: 190px; }
.tmb-home { justify-content: flex-end; text-align: right; }
.tmb-away { justify-content: flex-start; text-align: left; }
.tmb-name { font-size: 17px; font-weight: 800; color: #ffffff; text-shadow: 0 2px 4px rgba(0,0,0,0.3); }
.tmb-team img { width: 38px; height: 38px; object-fit: contain; filter: drop-shadow(0 2px 5px rgba(0,0,0,0.3)); }
.tmb-score-box { display: flex; align-items: center; justify-content: center; background: rgba(0, 0, 0, 0.3); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 10px; padding: 8px 20px; min-width: 90px; position: relative; box-shadow: inset 0 2px 10px rgba(0,0,0,0.2); }
.tmb-score-box.ongoing { border-color: #ef4444; background: rgba(239, 68, 68, 0.15); box-shadow: 0 0 15px rgba(239, 68, 68, 0.3); }
.tmb-score, .tmb-vs { font-size: 22px; font-weight: 900; color: #ffffff; letter-spacing: 1px; }
.tmb-divider { color: #94a3b8; margin: 0 4px; }
.tmb-live-dot { position: absolute; top: -5px; right: -5px; width: 12px; height: 12px; background: #ef4444; border-radius: 50%; border: 2px solid #001a3b; animation: pulse-live 1.5s infinite; }

@keyframes pulse-live { 0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7); } 70% { transform: scale(1.1); box-shadow: 0 0 0 8px rgba(239, 68, 68, 0); } 100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); } }
.tmb-score-box.ongoing .tmb-score, .tmb-score-box.ongoing .tmb-vs { animation: text-glow 2s ease-in-out infinite alternate; }
@keyframes text-glow { from { text-shadow: 0 0 2px rgba(255, 255, 255, 0.2); } to { text-shadow: 0 0 10px rgba(255, 255, 255, 0.8), 0 0 20px rgba(239, 68, 68, 0.5); } }

.tmb-action { width: 220px; text-align: right; }
.tmb-btn { background: #a50044; color: #ffffff; padding: 9px 20px; border-radius: 25px; font-size: 12px; font-weight: 800; transition: all 0.3s; text-transform: uppercase; box-shadow: 0 4px 10px rgba(165, 0, 68, 0.4); }
.tmb-btn:hover { background: #c20050; transform: translateY(-2px); box-shadow: 0 6px 15px rgba(165, 0, 68, 0.6); }

/* =========================================
   სტატიკური გვერდების ახალი სექციები 
   (გაწმენდილი !important-ებისგან)
   ========================================= */

/* ბარსამანიას შემადგენლობა */
.squad-container { width: 100%; margin-bottom: 40px; }
.squad-section { margin-bottom: 30px; }
.squad-container .position-header {
    background: linear-gradient(90deg, #004d98 0%, #a50044 100%); color: #ffffff;
    padding: 12px 18px; font-size: 16px; font-weight: 800; border-radius: 6px;
    margin-bottom: 12px; text-transform: uppercase; display: block;
}
.squad-container a.player-row {
    display: flex; align-items: center; padding: 15px 10px;
    border-bottom: 1px solid rgba(128, 128, 128, 0.15); transition: all 0.2s ease;
    text-decoration: none; color: inherit;
}
.squad-container a.player-row span.name { flex-grow: 1; font-weight: 600; font-size: 16px; }
.squad-container a.player-row span.number { width: 45px; font-weight: 800; font-size: 18px; color: #004d98; }
.squad-container a.player-row span.arrow { color: #a50044; opacity: 0.5; }
.squad-container a.player-row:hover { background: rgba(128, 128, 128, 0.08); padding-left: 15px; }

/* ისტორიის კალენდარი */
.history-calendar { width: 100%; margin-bottom: 40px; }
.month-section { margin-bottom: 35px; }
.month-header {
    background: linear-gradient(90deg, #004d98 0%, #a50044 100%); color: #ffffff;
    padding: 14px 20px; font-size: 18px; font-weight: 800; border-radius: 8px;
    margin-bottom: 15px; text-transform: uppercase; box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
}
.month-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 10px; width: 100%; }
.month-grid br, .month-grid p { display: none; }
.month-grid a {
    display: flex; align-items: center; justify-content: center; width: 100%; height: 80px; 
    font-size: 24px; background: rgba(128, 128, 128, 0.05); font-weight: 800;
    border-radius: 8px; border: 1px solid rgba(128, 128, 128, 0.15); transition: all 0.2s ease;
    text-decoration: none; color: inherit;
}
.month-grid a:hover {
    background: #a50044; color: #ffffff; border-color: #a50044;
    transform: translateY(-3px); box-shadow: 0 6px 12px rgba(165, 0, 68, 0.25);
}

/* ტიტულების კაბინეტი */
.titles-container { width: 100%; margin-bottom: 40px; }
.record-note { text-align: right; font-size: 14px; font-style: italic; color: #a50044; margin-bottom: 15px; font-weight: 600; }
.titles-grid { display: grid; grid-template-columns: 1fr; gap: 15px; width: 100%; }
.title-card {
    display: flex; align-items: center; background: rgba(128, 128, 128, 0.04);
    border: 1px solid rgba(128, 128, 128, 0.15); border-radius: 12px; padding: 15px 20px; 
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.title-card:hover { transform: translateY(-3px); box-shadow: 0 6px 16px rgba(0, 77, 152, 0.12); border-color: rgba(0, 77, 152, 0.3); }
.title-img { width: 80px; height: 80px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; margin-right: 20px; }
.title-img img { max-width: 100%; max-height: 100%; object-fit: contain; filter: drop-shadow(0 4px 6px rgba(128, 128, 128, 0.3)); }
.title-info { flex-grow: 1; }
.title-info h3 { margin: 0 0 6px 0; font-size: 18px; font-weight: 800; }
.title-info .years { margin: 0; font-size: 14px; line-height: 1.5; opacity: 0.7; }
.title-count { font-size: 34px; font-weight: 900; color: #a50044; text-align: center; min-width: 50px; margin-left: 15px; }

/* ნომრების ისტორია */
.squad-numbers-history { width: 100%; margin-bottom: 40px; }
.squad-num-header {
    background: linear-gradient(90deg, #004d98 0%, #a50044 100%); color: #ffffff;
    padding: 14px 20px; font-size: 18px; font-weight: 800; border-radius: 8px;
    margin-bottom: 20px; text-transform: uppercase; box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
}
.num-history-row {
    display: flex; align-items: flex-start; background: rgba(128, 128, 128, 0.04);
    border: 1px solid rgba(128, 128, 128, 0.15); border-radius: 12px; padding: 15px 20px;
    margin-bottom: 12px; transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.num-history-row:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0, 77, 152, 0.08); border-color: rgba(0, 77, 152, 0.3); }
.num-badge {
    flex-shrink: 0; width: 60px; height: 60px; display: flex; align-items: center; justify-content: center;
    background: rgba(0, 77, 152, 0.08); color: #004d98; font-size: 26px; font-weight: 900;
    border-radius: 10px; margin-right: 20px; border: 2px solid rgba(0, 77, 152, 0.2);
}
.num-players { flex-grow: 1; font-size: 15px; line-height: 1.6; padding-top: 4px; }
.num-players img { width: 16px; height: auto; vertical-align: baseline; margin: 0 3px; opacity: 0.8; }

/* ელ კლასიკოს ისტორია */
.el-clasico-history { width: 100%; margin-bottom: 40px; }
.ec-stats-banner { display: grid; grid-template-columns: repeat(5, 1fr); gap: 15px; margin-bottom: 30px; }
.ec-stat-item {
    background: rgba(128, 128, 128, 0.05); border: 1px solid rgba(128, 128, 128, 0.15);
    border-radius: 12px; padding: 20px 10px; text-align: center; transition: transform 0.2s;
    box-shadow: 0 4px 10px rgba(0,0,0,0.02);
}
.ec-stat-item:hover { transform: translateY(-3px); }
.ec-stat-item.ec-win { border-bottom: 4px solid #10b981; }
.ec-stat-item.ec-draw { border-bottom: 4px solid #94a3b8; }
.ec-stat-item.ec-loss { border-bottom: 4px solid #ef4444; }
.ec-stat-value { font-size: 28px; font-weight: 900; margin-bottom: 5px; }
.ec-stat-item.ec-win .ec-stat-value { color: #10b981; }
.ec-stat-item.ec-loss .ec-stat-value { color: #ef4444; }
.ec-stat-label { font-size: 13px; font-weight: 700; text-transform: uppercase; opacity: 0.7; }
.ec-table-wrapper { width: 100%; overflow-x: auto; background: rgba(128, 128, 128, 0.02); border: 1px solid rgba(128, 128, 128, 0.15); border-radius: 12px; }
.ec-table { width: 100%; border-collapse: collapse; text-align: center; white-space: nowrap; font-size: 14.5px; }
.ec-table th { background: rgba(128, 128, 128, 0.08); padding: 15px; font-weight: 800; text-transform: uppercase; font-size: 13px; letter-spacing: 0.5px; border-bottom: 2px solid rgba(128, 128, 128, 0.15); }
.ec-table td { padding: 12px 15px; border-bottom: 1px solid rgba(128, 128, 128, 0.1); vertical-align: middle; }
.ec-table tr:last-child td { border-bottom: none; }
.ec-table tr:hover { background: rgba(128, 128, 128, 0.06); }
.ec-table td.match-teams { font-weight: 700; }
.ec-table td.sc { font-weight: 900; font-size: 16px; }
.ec-table td.sc a:hover { opacity: 0.7; text-decoration: underline; }
.ec-table tr.w td.sc { color: #10b981; }
.ec-table tr.l td.sc { color: #ef4444; }
.ec-table tr.d td.sc { opacity: 0.8; }
.bdg { padding: 5px 12px; border-radius: 20px; font-size: 11px; font-weight: 800; text-transform: uppercase; }
.w-bdg { background: rgba(16, 185, 129, 0.15); color: #10b981; }
.l-bdg { background: rgba(239, 68, 68, 0.15); color: #ef4444; }
.d-bdg { background: rgba(128, 128, 128, 0.15); opacity: 0.8; }

/* ტრანსფერები */
.transfers-container { width: 100%; margin-bottom: 40px; }
.transfers-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; margin-bottom: 40px; }
.transfer-box { background: rgba(128, 128, 128, 0.03); border: 1px solid rgba(128, 128, 128, 0.15); border-radius: 12px; overflow: hidden; box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02); }
.t-header { padding: 16px 20px; color: #ffffff; font-size: 18px; font-weight: 800; text-transform: uppercase; display: flex; justify-content: space-between; align-items: center; letter-spacing: 0.5px; }
.t-in .t-header { background: linear-gradient(90deg, #10b981 0%, #059669 100%); }
.t-out .t-header { background: linear-gradient(90deg, #ef4444 0%, #dc2626 100%); }
.t-row { display: flex; align-items: center; padding: 14px 20px; border-bottom: 1px solid rgba(128, 128, 128, 0.1); transition: background-color 0.2s; }
.t-row:hover:not(.t-head):not(.t-total) { background: rgba(128, 128, 128, 0.06); }
.t-player { flex: 2; font-weight: 700; font-size: 15px; }
.t-club { flex: 1.5; font-size: 14px; opacity: 0.8; }
.t-fee { flex: 1; text-align: right; font-size: 15px; font-weight: 800; }
.highlight-fee { font-family: monospace; font-size: 16px; }
.type-loan { color: #f59e0b; font-size: 13px; text-transform: uppercase; }
.type-free { color: #10b981; font-size: 13px; text-transform: uppercase; }
.t-head { background: rgba(128, 128, 128, 0.05); font-size: 12px; text-transform: uppercase; font-weight: 800; opacity: 0.6; padding: 10px 20px; }
.t-total { background: rgba(128, 128, 128, 0.08); border-bottom: none; padding: 18px 20px; }
.t-total-label { flex: 3.5; font-weight: 800; text-transform: uppercase; font-size: 14px; }
.t-total .total-fee { font-size: 18px; font-family: monospace; }
.transfers-archive { background: rgba(128, 128, 128, 0.03); border: 1px solid rgba(128, 128, 128, 0.15); border-radius: 12px; padding: 25px; text-align: center; }
.archive-title { font-size: 18px; font-weight: 800; margin-bottom: 20px; }
.archive-links { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.archive-links a { display: inline-block; padding: 8px 16px; background: rgba(128, 128, 128, 0.08); border: 1px solid rgba(128, 128, 128, 0.15); border-radius: 20px; font-size: 14px; font-weight: 600; transition: all 0.2s ease; }
.archive-links a:hover { background: #004d98; color: #ffffff; border-color: #004d98; transform: translateY(-2px); }

/* რეკორდების გვერდი */
.records-wrapper { width: 100%; margin-bottom: 40px; }
.records-header { display: flex; justify-content: flex-end; margin-bottom: 20px; }
.update-date { font-size: 13px; color: var(--meta-color); font-weight: 600; background: rgba(128, 128, 128, 0.08); padding: 6px 12px; border-radius: 6px; }
.update-date i { margin-right: 5px; }
.records-legend { display: flex; flex-wrap: wrap; gap: 15px; background: rgba(128, 128, 128, 0.04); border: 1px solid rgba(128, 128, 128, 0.15); padding: 20px; border-radius: 12px; margin-bottom: 40px; }
.leg-item { display: flex; align-items: center; font-size: 13px; font-weight: 600; }
.leg-color { width: 14px; height: 14px; border-radius: 4px; margin-right: 8px; }
.leg-icon { font-size: 16px; font-weight: 900; color: #a50044; margin-right: 5px; }
.bg-blau { background-color: #004d98; }
.bg-negre { background-color: #1a1a1a; }
.bg-groc { background-color: #f59e0b; }
.bg-grana { background-color: #a50044; }
.records-main-title { text-align: center; font-size: 26px; font-weight: 900; margin: 50px 0 30px; color: #a50044; text-transform: uppercase; letter-spacing: 1px; }
.records-sub-title { font-size: 20px; font-weight: 800; margin: 40px 0 20px; padding-bottom: 10px; border-bottom: 2px solid rgba(128, 128, 128, 0.15); }
.records-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 20px; margin-bottom: 40px; }
.record-card { background: rgba(128, 128, 128, 0.03); border: 1px solid rgba(128, 128, 128, 0.12); border-left-width: 5px; border-radius: 8px; padding: 18px 20px; display: flex; flex-direction: column; justify-content: center; transition: transform 0.2s ease, box-shadow 0.2s ease; }
.record-card:hover { transform: translateY(-3px); box-shadow: 0 6px 15px rgba(0, 0, 0, 0.05); }
.rec-blau { border-left-color: #004d98; }
.rec-negre { border-left-color: #1a1a1a; }
.rec-groc { border-left-color: #f59e0b; }
.rec-grana { border-left-color: #a50044; }
.rec-title { font-size: 14px; opacity: 0.8; margin-bottom: 8px; line-height: 1.5; }
.rec-value { font-size: 17px; font-weight: 800; line-height: 1.4; }
.rec-value sup { color: #a50044; font-size: 14px; font-weight: 900; }

/* ლეგენდები */
.legends-container { width: 100%; margin-bottom: 40px; }
.legends-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.legend-card { background: rgba(128, 128, 128, 0.03); border: 1px solid rgba(128, 128, 128, 0.15); border-radius: 12px; padding: 20px; transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease; }
.legend-card:hover { transform: translateY(-3px); box-shadow: 0 6px 16px rgba(0, 77, 152, 0.1); border-color: rgba(0, 77, 152, 0.3); }
.legend-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px; padding-bottom: 15px; border-bottom: 1px dashed rgba(128, 128, 128, 0.2); }
.legend-name { font-size: 17px; font-weight: 800; transition: color 0.2s ease; flex-grow: 1; padding-right: 10px; line-height: 1.3; }
.legend-name:hover { color: #a50044; }
.legend-position { font-size: 11px; padding: 5px 10px; border-radius: 20px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.5px; white-space: nowrap; }
.pos-fw { background: rgba(165, 0, 68, 0.1); color: #a50044; }
.pos-mf { background: rgba(0, 77, 152, 0.1); color: #004d98; }
.pos-df { background: rgba(16, 185, 129, 0.15); color: #059669; }
.pos-gk { background: rgba(245, 158, 11, 0.15); color: #b45309; }
.legend-stats { display: flex; justify-content: space-between; text-align: center; }
.stat-box { display: flex; flex-direction: column; gap: 5px; flex: 1; }
.stat-label { font-size: 12px; text-transform: uppercase; font-weight: 700; opacity: 0.6; }
.stat-value { font-size: 16px; font-weight: 800; }

/* მწვრთნელები და პრეზიდენტები (საერთო სტილები ბარათებისთვის) */
.coaches-container, .presidents-container { width: 100%; margin-bottom: 40px; }
.coaches-grid, .presidents-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.coach-card, .president-card {
    background: rgba(128, 128, 128, 0.03); border: 1px solid rgba(128, 128, 128, 0.15);
    border-radius: 12px; padding: 18px; transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    display: flex; flex-direction: column; justify-content: space-between;
}
.coach-card:hover, .president-card:hover { transform: translateY(-4px); box-shadow: 0 6px 15px rgba(0, 77, 152, 0.08); border-color: rgba(0, 77, 152, 0.3); }
.coach-header, .pres-header {
    display: flex; justify-content: space-between; align-items: flex-start;
    margin-bottom: 12px; border-bottom: 1px dashed rgba(128, 128, 128, 0.2); padding-bottom: 12px;
}
.coach-name, .pres-name { font-size: 16px; font-weight: 800; line-height: 1.3; padding-right: 10px; }
.coach-nat { font-size: 11px; background: rgba(128, 128, 128, 0.08); padding: 4px 8px; border-radius: 6px; font-weight: 700; opacity: 0.8; white-space: nowrap; }
.coach-time, .pres-time { font-size: 13px; font-weight: 600; margin-bottom: 12px; opacity: 0.7; display: flex; align-items: center; gap: 6px; }
.coach-titles, .pres-titles { font-size: 13.5px; font-weight: 700; color: #a50044; line-height: 1.4; display: flex; align-items: flex-start; gap: 8px; margin-top: auto; }
.no-titles { opacity: 0.5; font-weight: 500; font-style: italic; color: inherit; }

/* RankMath Breadcrumbs სტილები */
.bm-breadcrumbs { margin-bottom: 20px; font-size: 13px; color: var(--meta-color); line-height: 1.5; }
.bm-breadcrumbs p { margin: 0; }
.bm-breadcrumbs a { color: var(--text-color); font-weight: 600; transition: color 0.2s ease; }
.bm-breadcrumbs a:hover { color: var(--primary-color); }
.bm-breadcrumbs .separator { margin: 0 8px; color: var(--meta-color); opacity: 0.6; }
.bm-breadcrumbs .last { color: var(--meta-color); }

/* =========================================
   DARK MODE სტილების კორექცია
   ========================================= */
@media (prefers-color-scheme: dark) {
    .squad-container a.player-row span.number { color: #ffb81c; }
    .squad-container a.player-row { border-bottom-color: rgba(255, 255, 255, 0.1); }
    .num-history-row { background: rgba(255, 255, 255, 0.03); border-color: rgba(255, 255, 255, 0.1); }
    .num-history-row:hover { box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4); border-color: rgba(255, 255, 255, 0.2); }
    .num-badge { background: rgba(255, 184, 28, 0.1); color: #ffb81c; border-color: rgba(255, 184, 28, 0.3); }
    .num-players img { filter: brightness(1.2); }
    .bg-negre { background-color: #a3a3a3; }
    .rec-negre { border-left-color: #a3a3a3; }
    .record-card { background: rgba(255, 255, 255, 0.02); border-color: rgba(255, 255, 255, 0.1); }
    .record-card:hover { box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4); }
    .records-sub-title { border-bottom-color: rgba(255, 255, 255, 0.1); }
    .pos-fw { background: rgba(255, 102, 136, 0.15); color: #ff6688; }
    .pos-mf { background: rgba(102, 179, 255, 0.15); color: #66b3ff; }
    .pos-df { background: rgba(16, 185, 129, 0.2); color: #34d399; }
    .pos-gk { background: rgba(251, 191, 36, 0.2); color: #fbbf24; }
    .legend-name:hover { color: #ff6688; }
    .coach-card, .president-card { background: rgba(255, 255, 255, 0.02); border-color: rgba(255, 255, 255, 0.1); }
    .coach-card:hover, .president-card:hover { box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4); border-color: rgba(255, 255, 255, 0.2); }
    .coach-titles, .pres-titles { color: #ff6688; }
    .coach-titles.no-titles, .pres-titles.no-titles { color: inherit; }
}

/* =========================================
   რესპონსივი (ტაბლეტი და მობილური)
   ========================================= */
@media (max-width: 1024px) {
    .content-layout { flex-direction: column; align-items: stretch; }
    .main-content { width: 100%; }
    .sidebar { display: none !important; }
    .hover-slide-content { width: 450px; } 
    .hover-slide-title { font-size: 22px; }
    .schedule-teams { flex-direction: column; gap: 15px; }
    .s-team { width: 100%; justify-content: center !important; text-align: center !important; flex-direction: column-reverse; }
    .s-team:last-child { flex-direction: column; }
    .s-score-box { margin: 10px 0; }
    .transfers-grid { grid-template-columns: 1fr; gap: 20px; }
}

@media (max-width: 768px) {
    html, body, .site-wrapper { overflow-x: hidden; }
    .container { width: 92%; padding: 0; } 
    .news-grid { grid-template-columns: 1fr; gap: 15px; }
    .news-item { height: 280px; padding: 20px; } 
    .news-title { font-size: 18px; }
    .hamburger-btn { display: block; }
    .logo { width: auto; overflow: visible; display: flex; }
    .site-logo { height: 40px; width: auto; max-width: none; }
    .header-right { gap: 12px; }
    .header-right i { font-size: 18px; }
    .age-restriction-header { width: 28px; height: 28px; font-size: 11px; }

    .main-menu { 
        position: absolute; top: 100%; left: 0; width: 100%; 
        background-color: var(--header-bg); flex-direction: column; gap: 0; 
        border-top: 1px solid rgba(255,255,255,0.1); box-shadow: 0 10px 20px rgba(0,0,0,0.5); 
        padding: 0; max-height: 0; opacity: 0; visibility: hidden; overflow: hidden;
        transition: max-height 0.4s ease, opacity 0.3s ease, padding 0.4s ease;
    }
    .main-menu.active { max-height: 2000px; overflow-y: auto; opacity: 1; visibility: visible; padding: 10px 0; }
    .main-menu li { width: 100%; border-bottom: 1px solid rgba(255,255,255,0.05); }
    .main-menu a { padding: 15px 25px; white-space: normal; }
    .main-menu li.menu-item-has-children > a { display: flex; justify-content: space-between; align-items: center; }
    .main-menu li.menu-item-has-children > a::after { content: 'chevron_right'; font-size: 12px; margin-left: 0; }
    .main-menu li.active-dropdown > a::after { transform: rotate(90deg); }
    
    .sub-menu { 
        position: relative; box-shadow: none; border-top: none; 
        background-color: rgba(255,255,255,0.05); border-radius: 0; padding: 0;
        max-height: 0; opacity: 1; visibility: visible; transform: translateY(0);
        overflow: hidden; transition: max-height 0.4s ease; width: 100%; min-width: 100%;
    }
    .sub-menu a { padding-left: 40px; }
    .main-menu li.active-dropdown .sub-menu { max-height: 1500px; }
    
    .desktop-slider-wrapper { display: none; }
    .mobile-slider-wrapper { display: block; }
    .mobile-swiper { height: 300px; } 
    
    .matches-block { flex-direction: column; gap: 20px; margin: 20px 0; }
    .teams { gap: 15px; }
    .team span { display: none; } 
    .team img { width: 55px; height: 55px; } 
    .score-time { padding: 5px 15px; font-size: 22px; min-width: 80px; }
    .pagination a { padding: 8px 12px; } 
    .scroll-to-top { bottom: 20px; right: 20px; width: 40px; height: 40px; font-size: 16px; }

    .logo-link { width: 35px; height: 35px; background-position: left center; background-size: auto 100%; }
    header { position: sticky !important; top: 0 !important; z-index: 999 !important; }
    body, html, .site-wrapper { overflow-x: clip !important; }

    .single-hero-image { height: 300px; border-radius: 0; margin-left: -4%; margin-right: -4%; width: 108%; }
    .hero-content { padding: 25px 20px 20px; }
    .single-title { font-size: 22px; }

    .schedule-card { flex-direction: column; padding: 20px; position: relative; }
    .schedule-card.next-match { border-left: 1px solid var(--border-color); border-top: 4px solid var(--secondary-color); }
    .schedule-date { flex-direction: row; gap: 10px; border-right: none; border-bottom: 1px solid var(--border-color); padding-right: 0; padding-bottom: 15px; margin-bottom: 15px; width: 100%; }
    .s-month { margin-top: 0; align-self: flex-end; margin-bottom: 3px; }
    .schedule-teams { flex-direction: row; width: 100%; padding: 0; }
    .s-team span { display: none; } 
    .s-team img { width: 50px; height: 50px; }
    .schedule-info { border-left: none; border-top: 1px solid var(--border-color); padding-left: 0; padding-top: 15px; margin-top: 15px; width: 100%; align-items: center; text-align: center; }

    .comment-list .children { margin-left: 15px; padding-left: 15px; }
    .custom-comment-header { align-items: flex-start; }
    .custom-comment-reply a { padding: 6px 10px; font-size: 11px; }

    .related-grid { grid-template-columns: 1fr; gap: 0; }
    .related-thumb, .related-date { display: none !important; }
    .related-card { background: transparent; border: none; border-bottom: 1px dashed var(--border-color); border-radius: 0; box-shadow: none; transform: none; }
    .related-card:last-child { border-bottom: none; }
    .related-info { padding: 15px 0; }
    .related-post-title { font-size: 15px; font-weight: 600; margin-bottom: 0; padding-left: 20px; position: relative; -webkit-line-clamp: 3; }
    .related-post-title::before { content: '■'; color: var(--primary-color); position: absolute; left: 0; top: 2px; font-size: 11px; }

    .nextmatchtime-block ul { flex-direction: column; gap: 10px; }

    .fs-lineups-container { flex-direction: row; }
    .fs-lineup-column:first-child { border-right: 1px solid var(--border-color); border-bottom: none; }
    .fs-event-time { margin: 0 5px; width: 30px; font-size: 10px; }
    .fs-icon { margin: 0 4px; }
    .fs-team-header { padding: 15px 10px; }
    .fs-team-title { font-size: 14px; margin-bottom: 5px; }
    .fs-coach { font-size: 11px; }
    .fs-group-title { padding: 8px 10px; font-size: 11px; letter-spacing: 0; }
    .fs-player-row { padding: 10px 8px; font-size: 12.5px; }
    .fs-player-row i { margin-right: 6px; font-size: 11px; }
    .fs-player-row > span.material-symbols-outlined { margin-right: 6px; font-size: 15px; }
    .fs-player-row span i { margin-left: 3px; font-size: 10px; }

    .mc-main-row { gap: 20px; }
    .mc-team-col { width: 100px; }
    .mc-team-logo { width: 60px; height: 60px; }
    .mc-team-name { font-size: 14px; }
    .mc-score-display { font-size: 36px; gap: 8px; margin-bottom: 10px; }
    .mc-score-num { padding: 8px 12px; min-width: 50px; border-radius: 8px; }
    .mc-scoreboard-bottom { flex-direction: column; align-items: center; gap: 15px; margin-top: 25px; padding-top: 20px; }
    .mc-scoreboard { padding: 20px; }

    .tmb-info, .tmb-action, .tmb-watermark { display: none; } 
    .tmb-container { justify-content: center; padding: 12px 15px; }
    .tmb-team { width: auto; }
    .tmb-name { display: none; } 
    .tmb-main { gap: 15px; }
    .top-match-banner.premium-matchday { padding: 15px 0; background: repeating-linear-gradient( 45deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.03) 10px, transparent 10px, transparent 20px ), linear-gradient(135deg, #001a3b 0%, #00305c 100%); }

    /* მობილურისთვის სპეციფიკური კორექციები სტატიკური გვერდებისთვის */
    .t-row { padding: 12px 15px; }
    .t-player { font-size: 14px; flex: 1.5; }
    .t-club { font-size: 12px; flex: 1; }
    .t-fee { font-size: 14px; flex: 1.2; }
    .highlight-fee { font-size: 14px; }
    .t-total-label { font-size: 13px; }
    .t-total .total-fee { font-size: 16px; }
    .archive-links a { padding: 6px 12px; font-size: 13px; }
    
    .ec-stats-banner { grid-template-columns: repeat(2, 1fr); }
    .ec-stats-banner .ec-stat-item:first-child { grid-column: 1 / -1; }
    .ec-table th, .ec-table td { padding: 10px; font-size: 13px; }
    .ec-table td.sc { font-size: 14px; }

    .records-grid { grid-template-columns: 1fr; gap: 15px; }
    .record-card { padding: 15px; }
    .records-main-title { font-size: 22px; margin: 35px 0 20px; }
    .records-sub-title { font-size: 18px; margin: 30px 0 15px; }
    .records-legend { padding: 15px; gap: 10px; }

    .legends-grid { grid-template-columns: 1fr; gap: 15px; }
    .legend-card { padding: 15px; }
    .legend-name { font-size: 16px; }
    .stat-value { font-size: 15px; }

    .coaches-grid, .presidents-grid { grid-template-columns: 1fr; gap: 15px; }
    .coach-card, .president-card { padding: 15px; }
    .coach-name, .pres-name { font-size: 17px; }

    .month-grid { grid-template-columns: repeat(5, 1fr); gap: 6px; }
    .month-grid a { height: 55px; font-size: 18px; }

    .title-card { padding: 12px 15px; }
    .title-img { width: 60px; height: 60px; margin-right: 15px; }
    .title-info h3 { font-size: 16px; }
    .title-count { font-size: 28px; min-width: 40px; }

    .num-history-row { padding: 12px 15px; }
    .num-badge { width: 45px; height: 45px; font-size: 20px; margin-right: 15px; }
    .num-players { font-size: 14px; padding-top: 2px; }
}

/* --- კონტაქტის გვერდის სტილები (დესკტოპზე ოპტიმიზებული) --- */
.contact-page-wrapper {
    margin: 40px 0;
    width: 100%;
}

.contact-header {
    text-align: center;
    margin-bottom: 50px;
}

.contact-header h2 {
    font-size: 32px;
    font-weight: 800;
    color: var(--text-color);
    margin-bottom: 12px;
}

.contact-header p {
    color: var(--meta-color);
    font-size: 18px;
}

.contact-grid {
    display: grid;
    /* დესკტოპზე ვაფიქსირებთ 3 სვეტს, რომ თანაბრად შეივსოს სიგანე */
    grid-template-columns: repeat(3, 1fr); 
    gap: 30px;
    width: 100%;
}

.contact-card {
    background-color: var(--box-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 40px 25px;
    display: flex;
    flex-direction: column; /* ელემენტები ერთმანეთის ქვეშ უკეთ ჩანს */
    align-items: center;
    text-align: center;
    gap: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}

.contact-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.1);
    border-color: var(--primary-color);
}

.contact-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    flex-shrink: 0;
    margin-bottom: 10px;
}

/* ფერები იკონკებისთვის */
.contact-icon.phone { background-color: rgba(16, 185, 129, 0.1); color: #10b981; }
.contact-icon.mail { background-color: rgba(165, 0, 68, 0.1); color: var(--primary-color); }
.contact-icon.facebook { background-color: rgba(0, 77, 152, 0.1); color: var(--secondary-color); }

.contact-info {
    width: 100%;
}

.contact-info h3 {
    font-size: 15px;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--meta-color);
    margin-bottom: 12px;
    letter-spacing: 1px;
}

.contact-info a {
    font-size: 17px;
    font-weight: 700;
    color: var(--text-color);
    transition: color 0.2s;
    display: block; /* ლინკები ახალ ხაზზე */
    margin-bottom: 5px;
    word-break: break-all;
}

.contact-info a:hover {
    color: var(--primary-color);
}

.contact-info .divider {
    display: none; /* დესკტოპზე აღარ გვჭირდება გამყოფი ხაზი */
}

/* --- რესპონსივი (ტაბლეტი და მობილური) --- */
@media (max-width: 1024px) {
    .contact-grid {
        grid-template-columns: repeat(2, 1fr); /* ტაბლეტზე 2 სვეტი */
    }
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr; /* მობილურზე 1 სვეტი */
    }
    
    .contact-card {
        padding: 30px 20px;
    }

    .contact-header h2 {
        font-size: 26px;
    }
}

/* --- კომენტარის პასუხის გაუქმების ღილაკი --- */
#cancel-comment-reply-link {
    display: inline-block;
    margin-left: 15px;
    font-size: 13px;
    font-weight: 700;
    color: #ef4444;
    transition: color 0.3s;
    vertical-align: middle;
}
#cancel-comment-reply-link:hover {
    color: #b91c1c;
    text-decoration: underline;
}

/* კომენტარის ახალი ფუტერი */
.bm-comment-footer-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 15px;
    padding-top: 12px;
    border-top: 1px solid var(--border-color, #f3f4f6);
    font-size: 13px;
    color: var(--meta-color, #6b7280);
}

/* ღილაკების გაზრდილი არეალი (მსხვილი თითებისთვის) */
.bm-comment-like-btn,
.bm-comment-reply-wrapper a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: inherit;
    text-decoration: none;
    background: none;
    border: none;
    padding: 8px 12px;
    margin: -8px -12px; /* ვიზუალური სისუფთავისთვის */
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.2s ease, color 0.2s ease;
    font-family: inherit;
}

.bm-comment-like-btn:hover,
.bm-comment-reply-wrapper a:hover {
    background: var(--box-bg, #f9fafb);
    color: var(--primary-color, #a50044);
}

.bm-comment-like-btn i,
.bm-comment-reply-wrapper a i {
    font-size: 14px;
}

/* ==========================================
   კომენტარის დატოვების ფორმის დიზაინი
========================================== */

/* 1. დაშორება სათაურსა და ველს შორის */
#respond #reply-title {
    margin-bottom: 20px !important;
    display: block;
}

/* 2. კომენტარის ველის ჩარჩო და ვიზუალი */
#respond textarea#comment {
    border: 1px solid #9ca3af !important; /* უფრო მუქი, შესამჩნევი ნაცრისფერი ჩარჩო */
    background-color: var(--box-bg, #ffffff);
    border-radius: 8px; /* მომრგვალებული კუთხეები */
    padding: 15px;
    width: 100%;
    color: var(--text-color, #1f2937);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.02); /* ძალიან მსუბუქი შიდა ჩრდილი სიღრმისთვის */
    transition: all 0.3s ease;
}

/* 3. ეფექტი ველზე დაკლიკებისას (Focus) */
#respond textarea#comment:focus {
    border-color: var(--primary-color, #a50044) !important; /* ბარსას ფერი ჩარჩოზე */
    box-shadow: 0 0 0 3px rgba(165, 0, 68, 0.15) !important; /* ნათება ჩარჩოს გარშემო */
    outline: none;
}

/* =========================================
   კომენტარების ავტორიზაციის ბმულის დიზაინი
   ========================================= */
.must-log-in a {
    color: var(--primary-color, #a50044) !important;
    font-weight: 800;
    text-decoration: underline;
    text-underline-offset: 4px; /* ხაზს ოდნავ ქვემოთ ჩამოსწევს, რომ ასოები არ გადაჭრას */
    transition: all 0.3s ease;
}

.must-log-in a:hover {
    color: var(--secondary-color, #004d98) !important;
    text-decoration-color: var(--secondary-color, #004d98) !important;
}

/* =========================================
   WordPress-ის სურათების სტანდარტული განლაგება
   ========================================= */
.post-content img.aligncenter,
.post-content .aligncenter img,
figure.aligncenter {
    display: block !important;
    margin-left: auto !important;
    margin-right: auto !important;
    clear: both;
}

.post-content img.alignleft,
.post-content .alignleft img,
figure.alignleft {
    float: left;
    margin-right: 20px;
    margin-bottom: 20px;
}

.post-content img.alignright,
.post-content .alignright img,
figure.alignright {
    float: right;
    margin-left: 20px;
    margin-bottom: 20px;
}

/* Gutenberg-ის ტექსტისა და ბლოკების გაცენტრების მხარდაჭერა */
.post-content .has-text-align-center {
    text-align: center;
}

/* =========================================
   Changelog / Timeline გვერდის დიზაინი
   ========================================= */
.changelog-timeline {
    position: relative;
    max-width: 800px;
    margin: 40px auto;
    padding-left: 35px;
}

/* ვერტიკალური ხაზი შუაში */
.changelog-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 8px;
    width: 2px;
    background: var(--border-color, #d1d8e0);
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
}

/* დროის ღერძის წერტილები (ბარსელონას ფერში) */
.timeline-item::before {
    content: '';
    position: absolute;
    top: 5px;
    left: -33px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--primary-color, #a50044);
    border: 3px solid var(--bg-color);
    box-shadow: 0 0 0 2px var(--primary-color, #a50044);
    z-index: 2;
    transition: background-color 0.3s, border-color 0.3s;
}

.timeline-date {
    font-size: 14px;
    font-weight: 800;
    color: var(--meta-color, #6b7280);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* კონტენტის ყუთი */
.timeline-content {
    background: var(--box-bg, #ffffff);
    border: 1px solid var(--border-color, #d1d8e0);
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s, border-color 0.3s;
}

.timeline-content:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.06);
    border-color: var(--primary-color, #a50044);
}

.timeline-content h3 {
    margin-top: 0;
    font-size: 18px;
    font-weight: 800;
    color: var(--text-color, #333);
    margin-bottom: 15px;
    border-bottom: 1px dashed var(--border-color, #d1d8e0);
    padding-bottom: 12px;
    transition: border-color 0.3s, color 0.3s;
}

/* სიის სტილები */
.timeline-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.timeline-content li {
    margin-bottom: 15px;
    font-size: 14.5px;
    color: var(--text-color, #333);
    line-height: 1.6;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    transition: color 0.3s;
}

.timeline-content li:last-child {
    margin-bottom: 0;
}

/* ფერადი თეგები (Badges) */
.cl-badge {
    font-size: 11px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 6px;
    text-transform: uppercase;
    white-space: nowrap;
    margin-top: 2px;
    display: inline-block;
}

.cl-added { background: rgba(16, 185, 129, 0.15); color: #10b981; }
.cl-fixed { background: rgba(0, 77, 152, 0.15); color: var(--secondary-color, #004d98); }
.cl-removed { background: rgba(239, 68, 68, 0.15); color: #ef4444; }

/* რესპონსივი მობილურისთვის */
@media (max-width: 768px) {
    .changelog-timeline {
        padding-left: 25px;
    }
    .changelog-timeline::before {
        left: 3px;
    }
    .timeline-item::before {
        left: -28px;
        width: 12px;
        height: 12px;
    }
    .timeline-content {
        padding: 20px;
    }
    .timeline-content li {
        flex-direction: column;
        gap: 6px;
    }
}

/* =========================================
   დაგეგმილი სიახლეების (Planned) სტილი
   ========================================= */
.cl-planned { 
    background: rgba(245, 158, 11, 0.15); 
    color: #f59e0b; 
}

/* დაგეგმილის ყუთის ვიზუალური გამოყოფა */
.timeline-planned .timeline-content {
    border: 1px dashed var(--primary-color, #a50044);
    background: rgba(165, 0, 68, 0.02);
}

/* დაგეგმილის ღერძის წერტილის დიზაინი */
.timeline-planned::before {
    background: var(--bg-color);
    border-style: dashed;
}

/* =========================================
   სატურნირო ცხრილის რესპონსივი მობილურისთვის
   ========================================= */
@media (max-width: 768px) {
    /* მე-4 (მ), მე-5 (ფ), მე-6 (წ) და მე-7 (ბ/ს) სვეტების დამალვა */
    .bm-standings-table th:nth-child(4),
    .bm-standings-table td:nth-child(4),
    .bm-standings-table th:nth-child(5),
    .bm-standings-table td:nth-child(5),
    .bm-standings-table th:nth-child(6),
    .bm-standings-table td:nth-child(6),
    .bm-standings-table th:nth-child(7),
    .bm-standings-table td:nth-child(7) {
        display: none !important;
    }
    
    /* მობილურზე გუნდის სახელის ველისთვის მეტი სივრცის მიცემა */
    .bm-standings-table th, 
    .bm-standings-table td {
        padding: 10px 5px !important;
    }
}

/* =========================================
   Ultimate Member - პროფილის კომენტარების დიზაინი
   ========================================= */
.um-profile-body.comments .um-item {
    background-color: var(--box-bg) !important;
    border: 1px solid var(--border-color) !important;
    border-radius: 12px !important;
    padding: 20px !important;
    margin-bottom: 25px !important;
    box-shadow: 0 4px 10px rgba(0,0,0,0.02) !important;
    transition: background-color 0.3s, border-color 0.3s !important;
}

.um-profile-body.comments .um-item:hover {
    background-color: rgba(128, 128, 128, 0.02) !important;
}

body.dark-mode .um-profile-body.comments .um-item:hover {
    background-color: rgba(255, 255, 255, 0.02) !important;
}

/* თარიღი და სტატიის ბმული (Header ნაწილი) */
.um-profile-body.comments .um-item-meta {
    font-size: 12px !important;
    color: var(--meta-color) !important;
    margin-bottom: 15px !important;
    padding-bottom: 15px !important;
    border-bottom: 1px dashed var(--border-color) !important;
    display: flex;
    align-items: center;
    gap: 5px;
}

.um-profile-body.comments .um-item-meta a {
    color: var(--primary-color) !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    transition: color 0.3s !important;
}

.um-profile-body.comments .um-item-meta a:hover {
    color: var(--secondary-color) !important;
    text-decoration: underline !important;
}

/* უშუალოდ კომენტარის ტექსტი */
.um-profile-body.comments .um-item-link {
    font-size: 14.5px !important;
    line-height: 1.6 !important;
    color: var(--text-color) !important;
    font-weight: normal !important;
    display: block !important;
}

/* წავშალოთ UM-ის სტანდარტული, უშნო ხაზები */
.um-profile-body.comments .um-item-link a {
    color: inherit !important;
    text-decoration: none !important;
}

/* =========================================
   მომხმარებლის სტატუსების თეგები (Badges)
   ========================================= */
.bm-user-status {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-left: 8px;
    vertical-align: middle;
}

.bm-user-status .material-symbols-outlined,
.bm-user-status i { font-size: 13px; line-height: 1; vertical-align: middle; }

/* ფერების გრადაცია */
.bm-user-status.status-rookie { background: rgba(16, 185, 129, 0.15); color: #10b981; }
.bm-user-status.status-fan { background: rgba(0, 77, 152, 0.15); color: var(--secondary-color, #004d98); }
.bm-user-status.status-cule { background: rgba(165, 0, 68, 0.15); color: var(--primary-color, #a50044); }
.bm-user-status.status-veteran { background: rgba(245, 158, 11, 0.15); color: #f59e0b; }
.bm-user-status.status-legend { background: rgba(234, 179, 8, 0.2); color: #ca8a04; border: 1px solid rgba(234, 179, 8, 0.3); }

/* მუქი რეჟიმისთვის ლეგენდის ფერის კორექცია */
body.dark-mode .bm-user-status.status-legend { color: #facc15; }

/* =========================================
   მთავარი გვერდის მატჩების ბლოკის სტილები
========================================= */

/* ბარსელონას ფერებში გარდამავალი ჩრდილი პრემიუმ ბანერისთვის */
@keyframes barcaGlow {
    0% { box-shadow: 0 0 15px rgba(0, 77, 152, 0.5); border-color: #004d98; }
    50% { box-shadow: 0 0 25px rgba(165, 0, 68, 0.7); border-color: #a50044; }
    100% { box-shadow: 0 0 15px rgba(0, 77, 152, 0.5); border-color: #ffd500; }
}

.top-match-banner.is-matchday {
    animation: barcaGlow 3s infinite alternate;
}

@keyframes matchdayPulse {
    0% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.6); }
    70% { box-shadow: 0 0 0 12px rgba(239, 68, 68, 0); }
    100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

@keyframes iconPulse {
    0% { opacity: 0.5; }
    100% { opacity: 1; transform: scale(1.1); }
}

.pulse-icon {
    animation: iconPulse 1s infinite alternate;
}

/* გოლების ბლოკის დიზაინი პრემიუმ ბანერში */
.tmb-highlights-wrapper {
    width: 100%; max-width: 650px; margin: 20px auto 0;
    border-top: 1px dashed rgba(255,255,255,0.2);
    padding-top: 15px; display: flex; justify-content: space-between;
    font-size: 13px; color: #cbd5e1; font-weight: 600; z-index: 2;
}

/* გოლების ბლოკის დიზაინი სტანდარტულ ბარათებში */
.match-highlights {
    display: flex; justify-content: space-between;
    margin-top: 18px; padding-top: 12px;
    border-top: 1px dashed var(--border-color);
    font-size: 11.5px; color: var(--meta-color); font-weight: 600;
}
.hi-home { text-align: right; flex: 1; padding-right: 12px; }
.hi-away { text-align: left; flex: 1; padding-left: 12px; border-left: 1px solid var(--border-color); }
.tmb-highlights-wrapper .hi-away { border-left-color: rgba(255,255,255,0.2); }

@media (max-width: 768px) {
    .match-highlights, .tmb-highlights-wrapper {
        flex-direction: column; gap: 8px; text-align: center;
    }
    .hi-home, .hi-away { text-align: center; padding: 0; border: none !important; }
    .hi-away { border-top: 1px solid rgba(128,128,128,0.1) !important; padding-top: 8px; }
    .tmb-highlights-wrapper .hi-away { border-top-color: rgba(255,255,255,0.2) !important; }
    
    /* VS-ის ნაცვლად საათის სწორად გამოჩენა */
    .score-time { padding: 8px 15px !important; font-size: 20px !important; }
}

/* =========================================
   სტატიის შიგნით მატჩის ჰაბის (ბმულების) ბლოკი
========================================= */
.article-match-hub {
    background: #ffffff; /* თეთრი ფონი */
    border: 1px solid #e2e8f0;
    border-left: 5px solid #a50044; /* ბარსელონას შინდისფერი */
    border-radius: 10px;
    margin: 30px 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

/* ზედა ზოლი - თარიღი და დრო */
.amh-header {
    background: #f8fafc;
    padding: 15px 20px;
    border-bottom: 1px solid #edf2f7;
    font-size: 15px;
    color: #1e293b;
    display: flex;
    align-items: center;
}

.amh-header i {
    color: #004d98; /* ბარსელონას ლურჯი */
    margin-right: 10px;
    font-size: 18px;
}

.amh-header strong {
    color: #a50044;
    margin-left: 5px;
}

/* ბმულების კონტეინერი */
.amh-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
    padding: 20px;
}

/* ინდივიდუალური ღილაკები */
.amh-link {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1f5f9;
    color: #334155 !important;
    padding: 12px 15px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none !important;
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0; /* ერთიანი ჩარჩო ყველასთვის */
}

.amh-link i, .amh-link .material-symbols-outlined {
    margin-right: 10px;
    font-size: 16px;
    color: #64748b;
    transition: color 0.3s ease;
}

/* ჰოვერ ეფექტები */
.amh-link:hover {
    background: #a50044;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 12px rgba(165, 0, 68, 0.2);
}

.amh-link:hover i, .amh-link:hover .material-symbols-outlined {
    color: #ffffff;
}

/* მობილური ვერსია */
@media (max-width: 600px) {
    .amh-links {
        grid-template-columns: 1fr;
    }
    
    .amh-header {
        justify-content: center;
        text-align: center;
    }
    
    .amh-link {
        padding: 15px;
    }
}

/* პულსაციის ეფექტი ხატულასთვის */
.pulse-icon {
    animation: iconPulse 1.5s infinite alternate;
}

@keyframes iconPulse {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(1.2); opacity: 1; }
}

/* =========================================
   Dark Mode სტილები მატჩის ჰაბისთვის
========================================= */

/* თუ შენს საიტზე Dark Mode კლასი სხვაა (მაგ: .dark), შეცვალე შესაბამისად */
body.dark-mode .article-match-hub {
    background: #1a202c; /* მუქი ფონი */
    border-color: #2d3748;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

body.dark-mode .amh-header {
    background: #2d3748;
    border-bottom-color: #4a5568;
    color: #edf2f7;
}

body.dark-mode .amh-header i {
    color: #63b3ed; /* ოდნავ ღია ლურჯი უკეთესი კონტრასტისთვის */
}

body.dark-mode .amh-links {
    background: transparent;
}

body.dark-mode .amh-link {
    background: #2d3748;
    color: #edf2f7 !important;
    border-color: #4a5568; /* ერთნაირი ჩარჩო ბნელ რეჟიმშიც */
}

body.dark-mode .amh-link i, body.dark-mode .amh-link .material-symbols-outlined {
    color: #a0aec0;
}

/* ჰოვერ ეფექტი Dark Mode-ში */
body.dark-mode .amh-link:hover {
    background: #a50044; /* ბარსელონას შინდისფერი რჩება აქცენტად */
    color: #ffffff !important;
    border-color: #a50044;
}

body.dark-mode .amh-link:hover i, body.dark-mode .amh-link:hover .material-symbols-outlined {
    color: #ffffff;
}

/* =========================================
   სტატიის მოკლე შეჯამების ბლოკი ("მოკლედ")
========================================= */
.post-short-summary {
    background: #fffbeb;
    border: 1px solid #fef3c7;
    border-left: 5px solid #d97706;
    border-radius: 10px;
    margin: 25px 0;
    padding: 18px 22px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    transition: background-color 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.post-short-summary-header {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 800;
    color: #d97706;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.post-short-summary-header i {
    font-size: 15px;
}

.post-short-summary-content {
    font-size: 16px;
    font-weight: 500;
    line-height: 1.65;
    color: #1e293b;
}

body.dark-mode .post-short-summary {
    background: rgba(251, 191, 36, 0.08);
    border: 1px solid rgba(251, 191, 36, 0.15);
    border-left: 5px solid #fbbf24;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
}

body.dark-mode .post-short-summary-header {
    color: #fbbf24;
}

body.dark-mode .post-short-summary-content {
    color: #f1f5f9;
}

        table {
            width: 100%;
            border-collapse: collapse;
            margin: 25px 0;
            font-size: 14px;
        }
        th, td {
            padding: 12px 15px;
            text-align: left;
            border-bottom: 1px solid #e1e8ed;
        }
        th {
            background-color: #1a2530;
            color: #ffffff;
            text-transform: uppercase;
            font-size: 12px;
            letter-spacing: 0.5px;
        }


/* Header Refactored Inline Styles */
/* ==================================================== */
.header-site-title {
    margin: 0;
    padding: 0;
    line-height: 1;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.header-right-icons {
    display: flex;
    align-items: center;
    gap: 15px;
}

.dark-mode-toggle-icon {
    font-size: 20px;
    cursor: pointer;
}

/* Matchday Banner - Header */
.hmb-wrapper {
    position: relative;
    margin: 30px auto 40px auto;
    z-index: 10;
}

.hmb-badge-wrapper {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
}

.hmb-badge {
    color: #fff;
    padding: 6px 25px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
    white-space: nowrap;
}

.hmb-banner-inner {
    margin: 0;
    border-radius: 12px;
    position: relative;
    border: 2px solid transparent;
    overflow: hidden;
}

body.dark-mode .hmb-banner-inner {
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.8), 0 0 15px rgba(0, 77, 152, 0.2);
}

.hmb-link-overlay {
    position: absolute;
    inset: 0;
    z-index: 10;
    cursor: pointer;
}

.hmb-container-inner {
    flex-wrap: wrap;
    padding-top: 15px;
    position: relative;
    z-index: 1;
}

.hmb-top-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.hmb-time-text {
    font-size: 22px;
    font-weight: 900;
    color: #fff;
    letter-spacing: 1px;
}

.hmb-btn-inline {
    display: inline-flex;
}

/* ==================================================== */
/* Premium Hero Match - Refactored Inline Styles */
/* ==================================================== */
.premium-hero-match {
    position: relative;
    width: 100%;
    height: 480px;
    border-radius: 16px;
    overflow: hidden;
    margin: 40px 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    display: flex;
    flex-direction: column;
    justify-content: center;
    border: 1px solid transparent;
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

body.dark-mode .premium-hero-match {
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.8), 0 0 25px rgba(0, 77, 152, 0.2);
    background-color: #161822;
}

body.dark-mode .premium-hero-match.is-matchday {
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.8), 0 0 30px rgba(165, 0, 68, 0.25);
}

.phm-bg-image {
    position: absolute;
    inset: 0;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 0;
}

.phm-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,26,59,0.92) 0%, rgba(0,0,0,0.88) 100%);
    z-index: 1;
}

.phm-link-overlay {
    position: absolute;
    inset: 0;
    z-index: 10;
    cursor: pointer;
}

.phm-badge-wrapper {
    position: absolute;
    top: 25px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.phm-badge {
    color: #fff;
    padding: 8px 30px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
    white-space: nowrap;
}

.phm-content-wrapper {
    position: relative;
    z-index: 15;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding: 0 20px;
}

.phm-meta-info {
    display: flex;
    gap: 20px;
    color: #cbd5e1;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
    flex-wrap: wrap;
    justify-content: center;
}

.phm-teams-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    width: 100%;
}

.phm-team-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    flex: 1;
    text-align: right;
}

.phm-team-col:last-child {
    text-align: left;
}

.phm-team-logo {
    width: 110px;
    height: 110px;
    object-fit: contain;
    filter: drop-shadow(0 5px 15px rgba(0,0,0,0.4));
}

.phm-team-name {
    font-size: 26px;
    font-weight: 900;
    color: #fff;
    text-shadow: 0 2px 5px rgba(0,0,0,0.5);
    text-align: center;
}

.tmb-score-box {
    padding: 15px 30px;
    min-width: 180px;
    text-align: center;
    border-radius: 16px;
    background: rgba(0,0,0,0.5);
    border: 2px solid rgba(255,255,255,0.1);
    backdrop-filter: blur(5px);
}

/* ==============================================
   World Cup 2026 Temporary Styles
   ============================================== */

.wc-news-item {
    position: relative;
    border-radius: 12px;
    border: 2px solid #FE0033;
    z-index: 1;
}

.wc-news-item::after {
    content: 'WC 2026';
    position: absolute;
    top: 10px;
    right: 10px;
    background: #FE0033;
    color: #fff;
    padding: 4px 10px;
    font-size: 13px;
    font-weight: 900;
    border-radius: 8px;
    z-index: 5;
    box-shadow: 0 4px 10px rgba(254, 0, 51, 0.4);
    letter-spacing: 1px;
}

/* მსოფლიო ჩემპიონატის გვერდზე ანიმაციების გათიშვა */
body.wc-mode-active .news-item {
    transition: none;
}
body.wc-mode-active .news-item:hover {
    transform: none !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1) !important;
}
body.wc-mode-active .news-item:hover img {
    transform: none !important;
}

/* პაგინაციის შესწორება ღია რეჟიმში WC Mode-სთვის */
body.wc-mode-active .pagination a, 
body.wc-mode-active .pagination span {
    background-color: rgba(255,255,255,0.05) !important;
    color: #ffffff !important;
    border-color: rgba(255,255,255,0.1) !important;
}
body.wc-mode-active .pagination .current {
    background-color: #FE0033 !important;
    border-color: #FE0033 !important;
    color: #ffffff !important;
}

/* ფეხბურთელების ჩამონათვალის შეკვეცა მობილურზე */
@media (max-width: 768px) {
    .wc-players-grid:not(.show-all) .wc-player-card:nth-child(n+4) {
        display: none !important;
    }
}
.wc-show-all-btn {
    display: none;
    width: 100%;
    padding: 12px;
    background: rgba(255,255,255,0.05);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    margin-top: 15px;
    font-weight: 700;
    cursor: pointer;
    text-align: center;
    transition: background 0.3s;
}
@media (max-width: 768px) {
    .wc-show-all-btn {
        display: block;
    }
}
.wc-show-all-btn:hover {
    background: rgba(255,255,255,0.1);
}

/* World Cup Mode Active Global Styles */
body.wc-mode-active {
    background-color: #120A2B;
    background-image: radial-gradient(circle at top left, rgba(57, 43, 179, 0.15) 0%, transparent 40%),
                      radial-gradient(circle at bottom right, rgba(254, 0, 51, 0.1) 0%, transparent 40%);
    --bg-color: #120A2B;
    --card-bg: #1B1240;
    --text-color: #ffffff;
    --meta-color: #a0aec0;
    --border-color: rgba(255,255,255,0.05);
    --primary-color: #FE0033;
    --hover-bg: rgba(255,255,255,0.05);
}

/* Header style for World Cup Mode */
body.wc-mode-active header {
    background-color: rgba(18, 10, 43, 0.85);
    border-bottom: 2px solid;
    border-image: linear-gradient(to right, #2D1460, #FE0033, #00B16A, #392BB3) 1;
}

body.wc-mode-active .logo-link .site-title {
    color: #fff;
}
.wc-matches-grid { grid-template-columns: repeat(3, 1fr) !important; }

@media (max-width: 1200px) {
    .wc-groups-grid { grid-template-columns: repeat(2, 1fr) !important; }
    .wc-matches-grid { grid-template-columns: repeat(2, 1fr) !important; }
}

@media (max-width: 768px) {
    .wc-groups-grid { grid-template-columns: 1fr !important; }
    .wc-matches-grid { grid-template-columns: 1fr !important; }
    
    .wc-matches-grid .sc-name { display: none !important; }
    .wc-matches-grid .sc-team { justify-content: center !important; }
    .wc-matches-grid .sc-team.sc-home { justify-content: flex-end !important; }
    .wc-matches-grid .sc-team.sc-away { justify-content: flex-start !important; }
}

.wc-show-all-btn.desktop-visible {
    display: block !important;
}

@media (min-width: 769px) {
    .wc-groups-btn { display: none !important; }
}

@media (max-width: 768px) {
    .wc-groups-grid:not(.show-all) .bm-table-responsive:nth-child(n+3) { display: none; }
}

/* ==========================================================================
   CENTRALIZED STYLES MOVED FROM PHP TEMPLATES
   ========================================================================== */

/* 1. Sidebar On This Day Widget */
.bm-otd-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 15px;
}
.bm-otd-text {
    font-size: 14px;
    color: var(--text-color, #4b5563);
    line-height: 1.6;
    margin-bottom: 15px;
}
.bm-otd-readmore {
    font-size: 13px;
    font-weight: 700;
}
.bm-otd-readmore a {
    color: var(--primary-color, #a50044);
    text-decoration: none;
    transition: opacity 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.bm-otd-readmore a:hover {
    opacity: 0.8;
}

/* 2. Homepage Premium Hero Match */
.premium-hero-match:hover .phm-bg-image { transform: scale(1.04); }
.phm-btn {
    background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2);
    color: #fff; padding: 10px 20px; border-radius: 8px; font-size: 13px; font-weight: 700;
    transition: all 0.3s; backdrop-filter: blur(5px); display: inline-flex; align-items: center; gap: 8px;
}
.phm-btn:hover { background: rgba(255,255,255,0.2); transform: translateY(-2px); color: #fff; }

@media (max-width: 768px) {
    .premium-hero-match { height: auto; padding: 70px 10px 30px; margin: 20px 0; border-radius: 12px; }
    body.dark-mode .premium-hero-match {
        border: 1px solid rgba(255, 255, 255, 0.16);
        box-shadow: 0 8px 28px rgba(0, 0, 0, 0.9), 0 0 18px rgba(0, 77, 152, 0.25);
    }
    body.dark-mode .premium-hero-match .phm-overlay {
        background: linear-gradient(to bottom, rgba(10, 28, 58, 0.95) 0%, rgba(16, 18, 26, 0.92) 100%);
    }
    .phm-meta-info { gap: 10px !important; font-size: 11px !important; margin-bottom: 20px !important; }
    .phm-teams-wrapper { gap: 10px !important; }
    .phm-team-col { gap: 8px !important; }
    .phm-team-logo { width: 75px !important; height: 75px !important; } 
    .phm-team-name { display: none !important; }
    .tmb-score-box { padding: 10px 15px !important; min-width: 140px !important; }
    .tmb-score-box span { font-size: 26px !important; }
    .tmb-highlights-wrapper { flex-direction: column; text-align: center; margin-top: 20px !important; }
    .hi-home { padding: 0 0 10px 0 !important; text-align: center !important; }
    .hi-away { padding: 10px 0 0 0 !important; border-left: none !important; border-top: 1px dashed rgba(255,255,255,0.2); text-align: center !important; }
    .phm-btn-group { gap: 10px !important; margin-top: 25px !important; }
    .phm-btn { padding: 8px 12px !important; font-size: 12px !important; }
}

/* 4. Tournament Grid & Table Responsiveness */
@media (max-width: 768px) {
    .content-layout > main > div[style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
    }
}

/* 5. World Cup Hub Layout & Dark Mode Enforcement */
.wc-hub-container .content-layout {
    grid-template-columns: 1fr !important;
}
.wc-hub-container .main-content {
    max-width: 100%;
}
.wc-hub-container .news-grid {
    grid-template-columns: repeat(3, 1fr) !important;
}
@media (max-width: 992px) {
    .wc-hub-container .news-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}
@media (max-width: 768px) {
    .wc-hub-container .news-grid {
        grid-template-columns: 1fr !important;
    }
}
body.page-template-template-worldcup {
    --bg-color: #121212 !important;
    --text-color: #e2e8f0 !important;
    --header-bg: #000000 !important;
    --header-text: #f8fafc !important;
    --box-bg: #1e1e1e !important;
    --border-color: #333 !important;
    --meta-color: #94a3b8 !important;
    --footer-text: #cbd5e1 !important;
}
body.page-template-template-worldcup .theme-toggle-btn,
body.page-template-template-worldcup #darkModeToggle {
    display: none !important;
}

/* 6. Player Profile Styles */
.player-profile-wrapper { color: var(--text-color); }
.player-hero {
    position: relative; width: 100%; height: 450px;
    background-size: cover; background-position: top center;
    border-radius: 16px; overflow: hidden; margin-bottom: 60px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}
.player-hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(0, 26, 59, 0.95) 0%, rgba(0, 26, 59, 0.4) 50%, rgba(0, 0, 0, 0) 100%);
    display: flex; flex-direction: column; justify-content: flex-end; padding: 40px;
}
.player-number-watermark {
    position: absolute; right: -20px; bottom: -40px; font-size: 280px; font-weight: 900;
    color: rgba(255, 255, 255, 0.09); line-height: 1; pointer-events: none;
}
.player-hero-content { position: relative; z-index: 2; }
.player-name {
    font-size: 52px; font-weight: 900; color: #ffffff; margin: 0 0 10px 0;
    letter-spacing: -1px; text-transform: uppercase; text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}
.player-badges { display: flex; gap: 15px; flex-wrap: wrap; }
.player-badge {
    background: rgba(255, 255, 255, 0.15); backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2); color: #fff; padding: 6px 16px;
    border-radius: 20px; font-size: 13px; font-weight: 700; display: flex; align-items: center; gap: 8px;
}
.player-quick-stats {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
    margin-top: -80px; position: relative; z-index: 10; padding: 0 30px;
}
.quick-stat-box {
    background: var(--box-bg); border: 1px solid var(--border-color); border-radius: 12px;
    padding: 20px; text-align: center; box-shadow: 0 8px 20px rgba(0,0,0,0.06); transition: transform 0.3s;
}
.quick-stat-box:hover { transform: translateY(-5px); }
.qs-value { display: block; font-size: 32px; font-weight: 900; color: var(--primary-color); line-height: 1; margin-bottom: 5px; }
.qs-label { font-size: 13px; font-weight: 700; color: var(--meta-color); text-transform: uppercase; }
.qs-update { grid-column: 1 / -1; text-align: right; font-size: 11px; color: var(--meta-color); margin-top: -10px; font-style: italic; }
.player-content-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 40px; margin-top: 40px; }
.player-bio h3 { color: var(--primary-color); font-size: 22px; font-weight: 800; margin-top: 35px; margin-bottom: 15px; border-bottom: 2px solid rgba(165, 0, 68, 0.1); padding-bottom: 8px; }
.player-bio h3:first-child { margin-top: 0; }
.player-bio p { font-size: 16px; line-height: 1.8; color: var(--text-color); margin-bottom: 20px; }
.player-bio ul { list-style: none; padding-left: 0; margin-bottom: 25px; }
.player-bio ul li { position: relative; padding-left: 25px; margin-bottom: 10px; font-size: 16px; line-height: 1.6; }
.player-bio ul li::before { content: 'check_circle'; font-family: 'Material Symbols Outlined'; font-weight: 900; color: var(--secondary-color); position: absolute; left: 0; top: 2px; font-size: 14px; }
.player-fact-box { background: var(--box-bg); border: 1px solid var(--border-color); border-radius: 16px; overflow: hidden; position: sticky; top: 100px; }
.fact-box-header { background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%); color: #fff; padding: 20px; text-align: center; font-size: 18px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; }
.fact-list { list-style: none; padding: 0; margin: 0; }
.fact-list li { display: flex; justify-content: space-between; padding: 15px 20px; border-bottom: 1px solid var(--border-color); font-size: 14px; }
.fact-list li:last-child { border-bottom: none; }
.fact-label { font-weight: 700; color: var(--meta-color); display: flex; align-items: center; gap: 8px; }
.fact-label i { color: var(--primary-color); width: 16px; text-align: center; }
.fact-value { font-weight: 800; color: var(--text-color); text-align: right; }
.player-titles-section { margin-top: 50px; background: var(--box-bg); border: 1px solid var(--border-color); border-radius: 16px; padding: 30px; margin-bottom: 40px; }
.titles-header { text-align: center; font-size: 24px; font-weight: 900; margin-bottom: 30px; color: var(--text-color); }
.titles-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.team-titles h5 { font-size: 18px; font-weight: 800; color: var(--text-color); margin-bottom: 15px; display: flex; align-items: center; gap: 10px; }
.team-titles h5 img { width: 24px; height: 24px; }
.title-item { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 12px; padding: 12px; background: rgba(0,0,0,0.02); border-radius: 8px; border-left: 3px solid #fca311; }
body.dark-mode .title-item { background: rgba(255,255,255,0.02); }
.title-icon { color: #fca311; font-size: 20px; margin-top: 2px; }
.title-info strong { display: block; font-size: 14px; color: var(--text-color); margin-bottom: 3px; }
.title-info span { font-size: 13px; color: var(--meta-color); font-weight: 600; }

@media (max-width: 992px) {
    .player-content-grid { grid-template-columns: 1fr; }
    .player-fact-box { position: relative; top: 0; margin-bottom: 30px; }
    .titles-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .player-hero { height: 350px; margin-bottom: 30px; border-radius: 0; margin-left: -4%; width: 108%; }
    .player-name { font-size: 32px; }
    .player-quick-stats { grid-template-columns: 1fr 1fr; margin-top: 0; padding: 0; }
    .player-number-watermark { font-size: 150px; bottom: -20px; }
}

/* =========================================
   Global Toast Notification System
   ========================================= */
.bm-toast-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 999999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
    max-width: 420px;
    width: calc(100% - 32px);
}
@media (max-width: 768px) {
    .bm-toast-container {
        bottom: 20px;
        right: 16px;
        left: 16px;
        width: auto;
        max-width: 100%;
    }
}
.bm-toast {
    pointer-events: auto;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: var(--box-bg, #ffffff);
    color: var(--text-color, #1e293b);
    border: 1px solid var(--border-color, #e2e8f0);
    border-radius: 10px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.15), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    font-size: 13.5px;
    line-height: 1.4;
    animation: bmToastSlideIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    transition: transform 0.25s ease, opacity 0.25s ease;
}
.bm-toast.bm-toast-hiding {
    opacity: 0;
    transform: translateY(12px) scale(0.95);
}
.bm-toast-icon {
    font-size: 22px;
    flex-shrink: 0;
}
.bm-toast-success .bm-toast-icon { color: #10b981; }
.bm-toast-error .bm-toast-icon { color: #ef4444; }
.bm-toast-warning .bm-toast-icon { color: #f59e0b; }
.bm-toast-info .bm-toast-icon { color: var(--primary-color, #a50044); }
.bm-toast-content {
    flex: 1;
}
.bm-toast-close {
    background: none;
    border: none;
    color: var(--meta-color, #94a3b8);
    cursor: pointer;
    padding: 2px 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    border-radius: 4px;
    transition: color 0.15s;
}
.bm-toast-close:hover {
    color: var(--text-color, #1e293b);
}
@keyframes bmToastSlideIn {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.92);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* =========================================
   World Cup Player Card
   ========================================= */
.wc-player-card {
    background: var(--box-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
}
.wc-player-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

/* =========================================
   Match Predictions Input Styling
   ========================================= */
input.pred-input {
    -moz-appearance: textfield;
    appearance: textfield;
}
input.pred-input::-webkit-outer-spin-button,
input.pred-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}