        /* Alapstílusok */
        *,
        *::before,
        *::after {
            box-sizing: border-box;
        }

        /* Az alapvető stílusok, amelyek az egész oldalra vonatkoznak */
        body {
            background-color: #ffffff;
            /* Fehér háttérszín */
            color: #333;
            /* Sötétszürke szöveg */
            font-family: 'Poppins', sans-serif;
            /* Modern betűtípus */
            margin: 0;
            /* Nincs külső margó */
            padding: 0;
            /* Nincs belső margó */
            transition: background-color 0.3s, color 0.3s;
            /* Sima átmenet a színek között */
        }

        body {
            background-color: #ffffff;
            color: #333;
            font-family: 'Poppins', sans-serif;
            margin: 0;
            padding: 0;
            transition: background-color 0.3s, color 0.3s;
        }

        /* 🌙 Dark mode további színjavítások */
        body.dark-mode .single-content,
        body.dark-mode .feature-lead,
        body.dark-mode .news-excerpt,
        body.dark-mode .feature-title,
        body.dark-mode .news-title,
        body.dark-mode .single-meta {
            color: #e0e0e0;
            /* Világos szürke, jól olvasható sötét háttéren */
        }

        body.dark-mode .feature-category,
        body.dark-mode .news-category,
        body.dark-mode .section-title,
        body.dark-mode .video-title {
            color: #66bb6a;
            /* Világos Nigéria-zöld, hogy élénk maradjon */
        }

        body.dark-mode a {
            color: #80e27e;
            /* Világosabb zöld a linkeknek dark módban */
        }

        body.dark-mode a:hover {
            color: #a5d6a7;
            /* Hover hatás világosabb árnyalat */
        }

        /* Dark mode: kártyák sötétebb háttérrel */
        body.dark-mode .news-card {
            background-color: #1e1e1e;
        }

        /* Dark mode: kártyák szövege világosabb */
        body.dark-mode .news-title,
        body.dark-mode .news-excerpt {
            color: #e0e0e0;
        }

        /* Dark mode: kártyák kategória címke */
        body.dark-mode .news-category {
            color: #80e27e;
        }

        /* 🌙 Dark mode: bal oldali nagy hír doboz */
        body.dark-mode .left-feature {
            background-color: #1e1e1e;
            /* Sötét szürke háttér */
        }

        /* 🌙 Dark mode: jobb oldali videó doboz */
        body.dark-mode .right-feature {
            background-color: #1e1e1e;
            /* Ugyanaz a sötét háttér */
        }

        /* 🌙 Dark mode: featured szövegek */
        body.dark-mode .feature-category,
        body.dark-mode .feature-title a,
        body.dark-mode .feature-lead a,
        body.dark-mode .video-title {
            color: #e0e0e0;
            /* Világos szöveg */
        }

        /* 🌙 Dark mode: featured címek hover */
        body.dark-mode .feature-title a:hover,
        body.dark-mode .feature-lead a:hover {
            color: #a5d6a7;
            /* Világos zöld hover */
        }


        header,
        footer {
            background-color: #008751;
            color: white;
            padding: 10px;
            text-align: center;
        }

        .header-container {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 10px;
        }

        .logo img {
            width: 100px;
            height: auto;
        }

        .search-container input[type="text"] {
            height: 32px;
            padding: 4px 8px;
            font-size: 14px;
            border: 1px solid #ddd;
            border-radius: 4px;
            background-color: #f8f8f8;
            color: #333;
        }

        main {
            text-align: center;
            padding: 10px;
        }

        /* -------- Nyitóoldal felső rész (main-top) -------- */
        .main-top {
            /* Alapbeállítás: mobilon egymás alá esnek a blokkok */
            display: flex;
            flex-direction: column;
            gap: 20px;
            max-width: 1200px;
            margin: 0 auto;
            /* Középre zárás, hogy szépen illeszkedjen a layout */
        }

        /* Bal oldali nagy hír + jobbra a szöveg */
        .left-feature {
            display: flex;
            flex-direction: column;
            /* Mobilon a kép és a szöveg is egymás alatt */
            gap: 10px;
            background-color: #f1f1f1;
            /* Finom háttérszín, hogy kiemelkedjen */
            border-radius: 5px;
            padding: 10px;
        }

        .feature-image img {
            width: 100%;
            height: auto;
            display: block;
            border-radius: 5px;
        }

        .feature-category {
            color: #008751;
            /* Nigéria zöld a kategóriának */
            font-weight: bold;
            display: inline-block;
            margin-bottom: 5px;
        }

        .feature-title {
            font-size: 1.4rem;
            margin: 5px 0;
            color: #333;
        }

        .feature-lead {
            font-size: 1rem;
            line-height: 1.4;
            color: #555;
            margin-bottom: 0;
        }

        /* Jobb oldali YouTube videó */
        .right-feature {
            display: flex;
            flex-direction: column;
            gap: 10px;
            background-color: #f1f1f1;
            border-radius: 5px;
            padding: 10px;
        }

        .feature-video iframe {
            border-radius: 5px;
            border: none;
        }

        .video-title {
            color: #008751;
            font-weight: bold;
            margin: 0;
        }

        .dark-mode-toggle {
            background: none;
            border: none;
            color: white;
            font-size: 20px;
            cursor: pointer;
            margin-top: 10px;
        }

        /* Dark mode javítva */
        body.dark-mode {
            background-color: #121212;
            color: #eaeaea;
        }

        body.dark-mode header,
        body.dark-mode footer {
            background-color: #004d33;
        }

        body.dark-mode .search-container input[type="text"] {
            background-color: #333;
            border-color: #555;
            color: #fff;
        }


        /* Navbar */
        .navbar {
            width: 100%;
            position: relative;
            z-index: 1000;
        }

        .navbar-container {
            max-width: 1200px;
            margin: 0 auto;
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 10px;
        }

        /* Márkanév mobil nézetben is látszik */
        .navbar-brand {
            color: #006840;
            text-decoration: none;
            font-size: 18px;
            font-weight: bold;
        }

        /* Hamburger gomb mobilon látszik alapból */
        .navbar-toggler {
            display: block;
            font-size: 24px;
            background: none;
            border: none;
            color: #006840;
            cursor: pointer;
        }


        /* Mobil nézetben a menü alapból rejtett */
        .navbar-nav {
            list-style: none;
            position: absolute;
            top: 50px;
            /* közvetlen a hamburger alatt */
            right: 0;
            background-color: #006840;
            width: 100%;
            flex-direction: column;
            max-height: 0;
            /* animálható tulajdonság */
            overflow-y: auto;
            transition: max-height 0.5s ease;
            padding: 0;
            margin: 0;
            opacity: 0;
        }

        .navbar-nav li {
            border-bottom: 1px solid rgba(255, 255, 255, 0.2);
        }

        .navbar-nav li a {
            color: #ffffff;
            text-decoration: none;
            display: block;
            padding: 10px;
        }

        .navbar-nav li:last-child {
            border-bottom: none;
        }

        /* Mobilnézet nyitott állapot */
        .navbar-nav.open {
            max-height: 500px;
            /* elég nagy érték a lassú animációhoz, ha hosszabb, görgethető */
            opacity: 1;
            overflow-y: auto;
            transition: max-height 0.5s ease;
            /* Lassú nyílás animáció */
        }


        /* 
   Szekciócím 
   (ha szeretnéd, formázhatod zöldre, nagyobbra, stb.)
*/
        .section-heading {
            font-size: 1.4rem;
            color: #008751;
            text-align: left;
            margin: 10px auto 5px;
            max-width: 1200px;
            padding: 0 10px;
        }

        .main-top {
            display: block;
        }

        .main-top-inner {
            display: flex;
            flex-direction: column;
            /* mobilra */
        }

        @media (min-width: 1024px) {
            .main-top-inner {
                flex-direction: row;
                gap: 20px;
            }
        }


        .section-title {
            font-size: 1.4rem;
            color: #008751;
            /* Nigéria zöld */
            text-align: left;
            margin: 20px auto 10px;
            max-width: 1200px;
            padding: 0 10px;
        }

        /* Konténer, ami magában foglalja a 8 cikkes rácsot és a top stories sávot */
        .eight-news-container {
            display: block;
            /* Mobilon alapesetben egymás alatt a tartalom */
            max-width: 1200px;
            margin: 0 auto;
            gap: 20px;
        }

        /* A cikkek rácsa */
        .eight-news-grid {
            display: grid;
            grid-template-columns: 1fr;
            /* Mobilon 1 oszlop */
            gap: 20px;
            padding: 0 10px;
            /* hogy ne tapadjon a képernyő széléhez */
        }

        /* Egy cikk kártya */
        .news-card {
            background-color: #f1f1f1;
            border-radius: 5px;
            overflow: hidden;
            padding: 10px;
            display: flex;
            flex-direction: column;
            gap: 5px;
            transition: box-shadow 0.3s;
        }

        .news-card:hover {
            box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
        }

        .news-image img {
            width: 100%;
            height: auto;
            border-radius: 5px;
        }

        .news-category {
            color: #006840;
            font-size: 0.85rem;
            font-weight: bold;
        }

        .news-title {
            margin: 0;
            font-size: 1rem;
            color: #333;
        }

        .news-excerpt {
            margin: 5px 0 0;
            font-size: 0.9rem;
            color: #555;
        }

        /* TOP STORIES asztali doboz */
        .top-stories {
            background-color: #006840;
            /* Nigéria-zöld háttér */
            color: #ffffff;
            margin-top: 20px;
            /* Térköz felül */
            border-radius: 8px;
            /* Kerekített sarkok */
            padding: 20px;
            /* Belső margó, hogy a szöveg ne érjen a széléhez */
        }

        /* Cím elkülönítése */
        .top-stories h3 {
            margin-top: 0;
            /* Ne legyen extra térköz fent */
            margin-bottom: 10px;
            /* Térköz a cím és a lista között */
            padding-bottom: 10px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.3);
            /* Vékony fehér vonal a cím alatt */
            font-size: 1.2rem;
        }

        /* Lista alapbeállítások */
        .top-stories ul {
            list-style: none;
            margin: 0;
            padding: 0;
            text-align: left;
            /* Balra igazítjuk a linkeket */
        }

        /* Listaelemek stílusa */
        .top-stories li {
            position: relative;
            padding-left: 20px;
            margin-bottom: 10px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.2);
            padding-bottom: 10px;
            /* Elválasztó vonal és némi tér a linkek között */
        }

        /* Az utolsó elem alatti vonalat nem mindig szeretnénk, ezért levehetjük */
        .top-stories li:last-child {
            border-bottom: none;
        }

        /* Dekoratív pont vagy ikon a sor elején */
        .top-stories li::before {
            content: "•";
            position: absolute;
            left: 0;
            top: 0;
            color: #ffffff;
            font-size: 1.2rem;
            line-height: 1.2rem;
        }

        /* A linkek színe és hover-effektje */
        .top-stories li a {
            color: #ffffff;
            text-decoration: none;
        }

        .top-stories li a:hover {
            text-decoration: underline;
        }

        .top-stories .giveaway-ad {
            margin: 0 0 1rem 0;
            padding: .5rem;
            border: 1px solid rgba(0, 0, 0, .18);
            border-radius: 8px;
            background: var(--card-bg, #fff);
        }

        .top-stories .giveaway-ad .responsive-ad {
            max-width: 100%;
            height: auto;
            display: block;
            border-radius: 6px;
        }

        /* Két oszlopos elrendezés – bal: hírek, jobb: sidebar (Top Stories + hirdetés) */
        .news-and-aside-wrapper {
            display: flex;
            gap: 1rem;
            align-items: flex-start;
        }

        /* Bal oszlop nő, jobb fix szélesség (ugyanaz a szélesség, mint a Top Stories doboz) */
        .index-news-groups {
            flex: 1 1 0;
            min-width: 0;
        }

        .sidebar-col {
            flex: 0 0 340px;
            max-width: 340px;
            width: 340px;
        }

        /* állítsd 320/340-re, ami nálad a zöld panel szélessége */

        /* Mobilon egymás alatt */
        @media (max-width: 900px) {
            .news-and-aside-wrapper {
                flex-direction: column;
            }

            .sidebar-col {
                flex: 0 1 auto;
                width: 100%;
                max-width: 100%;
            }
        }

        /* Hirdetés doboz – diszkrét keret, a zöld panel szélességére feszül */
        .giveaway-ad {
            margin: 0 0 1rem 0;
            padding: .5rem;
            border: 1px solid rgba(0, 0, 0, .18);
            border-radius: 8px;
            background: var(--card-bg, #fff);
        }

        .giveaway-ad .responsive-ad {
            display: block;
            max-width: 100%;
            height: auto;
            border-radius: 6px;
        }







        /* ----- Közepes kijelző ----- */
        @media (min-width: 768px) {
            .header-container {
                flex-direction: row;
                justify-content: space-between;
                max-width: 95%;
                margin: 0 auto;
            }

            .navbar-brand {
                margin-right: 25px;
                /* Ennyi logikus hely elég az elválasztáshoz */
                border-right: 1px solid #ddd;
                /* finom elválasztóvonal */
                padding-right: 15px;
                /* vizuális elválasztás a linkektől */
            }


            /* Menü mindig látható, vízszintesen */
            .navbar-nav {
                position: static;
                display: flex !important;
                flex-direction: row;
                gap: 15px;
                max-height: none;
                /* Nincs korlátozás, mindig látható */
                background-color: transparent;
                /* háttér eltávolítva asztali nézetben */
                opacity: 1;
                overflow: visible;
            }

            .navbar-nav li {
                border-bottom: none;
            }

            .navbar-nav li a {
                color: #006840;
                /* Link színe asztali nézetben */
                padding: 0;
            }

            .navbar-toggler {
                display: none;
                /* Hamburger eltüntetve */
            }

            .main-top {
                flex-direction: row;
                /* Egymás mellett, ha elég hely van */
            }

            .left-feature {
                flex: 2;
                /* Kétszer akkora hely, mint a jobb oldali */
                flex-direction: row;
                /* Kép balra, szöveg jobbra */
            }

            .feature-image {
                flex: 1;
            }

            .feature-content {
                flex: 1;
                display: flex;
                flex-direction: column;
                justify-content: center;
                /* Igazítás a közép felé */
                padding: 0 10px;
            }

            .right-feature {
                flex: 1;
                /* Feleakkora, mint a bal oldali */
            }


            .top-stories {
                margin-top: 0;
                /* ne csússzon le */
            }

            .eight-news-grid {
                grid-template-columns: repeat(2, 1fr);
                /* Két oszlop a cikkekből tableten */
                padding: 0;
            }
        }





        /* ----- Nagy kijelző ----- */
        @media (min-width: 1024px) {
            .header-container {
                max-width: 1200px;
            }

            .eight-news-grid {
                grid-template-columns: repeat(4, 1fr);
                /* Négy oszlop a cikkekből asztalin (4 x 2 = 8 db) */
            }
        }


        /* 🔗 Linkek alapértelmezett stílusa */
        a {
            color: #006840;
            text-decoration: none;
            transition: color 0.3s ease;
        }

        a:hover {
            color: #004d33;
            text-decoration: underline;
        }

        /* 📢 Kiemelt címek (main-top és kártya) */
        .feature-title a,
        .news-title a {
            font-weight: bold;
            font-size: 1.1rem;
        }

        /* 📰 Bevezető szöveg és excerpt */
        .feature-lead a,
        .news-excerpt a {
            color: #444;
        }


        .single-news {
            max-width: 860px;
            margin: 0 auto;
            text-align: left;
            padding: 10px;
        }

        .single-title {
            color: #006840;
            font-size: 1.8rem;
            margin-bottom: 5px;
        }

        .single-meta {
            font-size: 0.9rem;
            margin-bottom: 6px;
        }

        .single-image {
            aspect-ratio: 16 / 9;
            background-color: #f5f5f5;
            border: 1px solid #ccc;
            border-radius: 6px;
            overflow: hidden;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .single-image img {
            width: 100%;
            height: 100%;
            object-fit: contain;
            /* vagy 'cover' ha ki akarod tölteni */
            display: block;
        }

        .single-content {
            font-size: 1.05rem;
            line-height: 1.6;
            color: #333;
        }

        .video-wrapper {
            position: relative;
            width: 100%;
            padding-bottom: 56.25%;
            /* 16:9 arány */
            height: 0;
            overflow: hidden;
            border-radius: 5px;
        }

        .video-wrapper iframe {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            border: 0;
        }



        /* ===== Share gombok – egységes, Nigéria-zöld tematika ===== */
        .news-share {
            display: flex;
            gap: 8px;
            align-items: center;
            flex-wrap: wrap;
        }

        .share-btn {
            --fg: #006840;
            /* Nigeria zöld */
            --bg: #ffffff;
            --bd: rgba(0, 0, 0, .12);
            width: 36px;
            height: 36px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            border-radius: 10px;
            border: 1px solid var(--bd);
            background: var(--bg);
            color: var(--fg);
            box-shadow: 0 1px 2px rgba(0, 0, 0, .06);
            transition: transform .12s ease, box-shadow .12s ease, background .12s ease, color .12s ease;
            cursor: pointer;
            position: relative;
        }

        .share-btn svg {
            width: 18px;
            height: 18px;
            fill: currentColor;
            display: block;
        }

        .share-btn:hover {
            background: #e9f5ef;
            color: #008751;
            box-shadow: 0 2px 6px rgba(0, 0, 0, .12);
            transform: translateY(-1px);
        }

        .share-btn:active {
            transform: translateY(0);
        }

        .share-btn:focus {
            outline: none;
            box-shadow: 0 0 0 3px rgba(0, 135, 81, .25);
        }

        body.dark-mode .share-btn {
            --bg: #1e1e1e;
            --bd: rgba(255, 255, 255, .12);
            --fg: #a5d6a7;
            color: var(--fg);
            background: var(--bg);
            border-color: var(--bd);
        }

        body.dark-mode .share-btn:hover {
            background: #0f2f25;
            color: #b6f2c2;
        }

        /* Tooltip / visszajelzés */
        .share-btn.show-tip::after {
            content: attr(data-tip);
            position: absolute;
            top: -28px;
            left: 50%;
            transform: translateX(-50%);
            background: #008751;
            color: #fff;
            font-size: 11px;
            padding: 3px 6px;
            border-radius: 6px;
            white-space: nowrap;
            box-shadow: 0 2px 6px rgba(0, 0, 0, .2);
        }

        body.dark-mode .share-btn.show-tip::after {
            background: #0f2f25;
        }

        /* ===== Like gomb egységes kinézettel ===== */
        .like-row {
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .btn-like {
            /* ugyanaz a „kártya” mint a share-btn */
            width: 36px;
            height: 36px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            border-radius: 10px;
            border: 1px solid rgba(0, 0, 0, .12);
            background: #fff;
            color: #006840;
            cursor: pointer;
            transition: transform .12s ease, box-shadow .12s ease, background .12s ease, color .12s ease;
        }

        .btn-like:hover {
            background: #e9f5ef;
            color: #008751;
            box-shadow: 0 2px 6px rgba(0, 0, 0, .12);
            transform: translateY(-1px);
        }

        .btn-like:focus {
            outline: none;
            box-shadow: 0 0 0 3px rgba(0, 135, 81, .25);
        }

        /* tetszés szerint: „aktív” (lájkolt) állapot */
        .btn-like.is-liked {
            background: #e6f7ee;
            color: #008751;
            border-color: rgba(0, 135, 81, .3);
        }

        .btn-like svg {
            width: 18px;
            height: 18px;
            fill: currentColor;
        }

        /* Like számláló és címke */
        .like-row .like-count {
            min-width: 1.2rem;
            text-align: right;
        }

        .like-row .like-label {
            opacity: .8;
            font-size: .9rem;
        }

        body.dark-mode .btn-like {
            background: #1e1e1e;
            border-color: rgba(255, 255, 255, .12);
            color: #a5d6a7;
        }

        body.dark-mode .btn-like:hover {
            background: #0f2f25;
            color: #b6f2c2;
        }

        body.dark-mode .btn-like.is-liked {
            background: #123c2e;
            color: #b6f2c2;
            border-color: rgba(128, 214, 174, .35);
        }

        /* ✅ Képernyőolvasó-only segédosztály (rejti a belső feliratokat) */
        .sr-only {
            position: absolute;
            width: 1px;
            height: 1px;
            padding: 0;
            margin: -1px;
            overflow: hidden;
            clip: rect(0, 0, 0, 0);
            white-space: nowrap;
            border: 0;
        }

        /* ✅ Biztonsági öv: a 36×36 gomb ne engedjen ki semmi szöveget */
        .share-btn,
        .btn-like {
            overflow: hidden;
            font-size: 0;
            /* ha mégis bekerülne szöveg, ne látszódjon */
        }

        .share-btn svg,
        .btn-like svg {
            font-size: 16px;
            /* ikon méret visszaállítása */
        }

        /* (opció) a Like „aktív” állapot színezése */
        .btn-like.is-liked svg {
            color: #e53935;
            fill: #e53935;
        }




        /* 📰 Hír doboz kerete */
        .single-card {
            background-color: #fff;
            border-radius: 8px;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
            padding: 20px;
            max-width: 860px;
            margin: 0 auto 20px;
        }

        body.dark-mode .single-card {
            background-color: #1c1c1c;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
        }

        .card-header {
            margin-bottom: 15px;
            text-align: left;
            padding-left: 5px;
        }

        body.dark-mode .card-header {
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        }

        .card-meta-share {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 15px;
            flex-wrap: wrap;
        }

        .card-meta-share .single-meta {
            font-size: 0.9rem;
        }

        .news-share {
            display: flex;
            gap: 10px;
            align-items: center;
        }

        .news-share svg {
            width: 24px;
            height: 24px;
        }

        .single-content {
            text-align: left;
            font-size: 1.05rem;
            line-height: 1.6;
        }

        /* 🔖 Index oldali hírbadge - main.php */
        .index-news-image-wrapper {
            position: relative;
        }

        .index-news-badge {
            position: absolute;
            bottom: 8px;
            left: 8px;
            background-color: #008751;
            /* Nigeria zöld */
            color: #ffffff;
            font-size: 0.55rem;
            /* eredetileg 0.75rem */
            font-weight: bold;
            padding: 3px 6px;
            /* eredetileg 4px 8px */
            border-radius: 3px;
            /* finomabb sarok */
            z-index: 1;
            box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
        }

        /* 🌙 Dark mode támogatás */
        body.dark-mode .index-news-badge {
            background-color: #198754;
            color: #e0e0e0;
        }

        .index-news-image-wrapper {
            position: relative;
            aspect-ratio: 16 / 9;
            overflow: hidden;
            border-radius: 5px;
            background: none;
        }

        .index-news-image-wrapper img {
            width: 100%;
            height: 100%;
            object-fit: contain;
            /* A teljes kép látszik, de lehetnek fehér/szürke sávok */
            background: none;
        }




        .index-news-grid {
            display: grid;
            gap: 20px;
            margin-bottom: 0;
            padding: 0 10px;
        }

        /* 💡 A grid-cols-3 / 4 dinamikus vezérlés */
        .grid-cols-3 {
            grid-template-columns: repeat(1, 1fr);
        }

        .grid-cols-4 {
            grid-template-columns: repeat(1, 1fr);
        }

        @media (min-width: 768px) {
            .grid-cols-3 {
                grid-template-columns: repeat(2, 1fr);
            }

            .grid-cols-4 {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        @media (min-width: 1024px) {
            .grid-cols-3 {
                grid-template-columns: repeat(3, 1fr);
            }

            .grid-cols-4 {
                grid-template-columns: repeat(4, 1fr);
            }
        }

        .news-and-aside-wrapper {
            display: flex;
            flex-direction: column;
            gap: 30px;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 10px;
        }

        .index-news-groups {
            display: flex;
            flex-direction: column;
            gap: 30px;
        }

        /* 🖥 Asztali nézet: hírek balra, top-stories jobbra */
        @media (min-width: 1024px) {
            .news-and-aside-wrapper {
                flex-direction: row;
                align-items: flex-start;
            }

            .index-news-groups {
                flex: 3;
            }

            .top-stories {
                flex: 1;
                margin-top: 0;
            }
        }

        /* Grid osztályok */
        .index-news-grid {
            display: grid;
            width: 100%;
            gap: 20px;
        }

        .grid-cols-3 {
            grid-template-columns: repeat(1, 1fr);
        }

        .grid-cols-4 {
            grid-template-columns: repeat(1, 1fr);
        }

        @media (min-width: 768px) {
            .grid-cols-3 {
                grid-template-columns: repeat(2, 1fr);
            }

            .grid-cols-4 {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        @media (min-width: 1024px) {
            .grid-cols-3 {
                grid-template-columns: repeat(3, 1fr);
            }

            .grid-cols-4 {
                grid-template-columns: repeat(4, 1fr);
            }
        }

        .news-date {
            font-size: 0.9rem;
            color: #666;
        }

        body.dark-mode .news-date {
            color: #ccc;
        }

        .language-switcher {
            text-align: right;
            padding: 5px 15px;
            background-color: #f5f5f5;
            font-weight: bold;
        }

        .language-switcher a {
            margin: 0 5px;
            color: #006840;
            text-decoration: none;
            font-size: 0.9rem;
        }

        .language-switcher a:hover {
            color: #004d33;
            text-decoration: underline;
        }

        /* 🌙 Dark mode támogatás */
        body.dark-mode .language-switcher {
            background-color: #1e1e1e;
        }

        body.dark-mode .language-switcher a {
            color: #80e27e;
        }

        body.dark-mode .language-switcher a:hover {
            color: #a5d6a7;
        }

        .news-tags {
            margin-top: 20px;
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
        }

        .news-tag {
            background-color: #f1f1f1;
            color: #333;
            font-size: 0.85rem;
            padding: 6px 10px;
            border-radius: 4px;
            text-decoration: none;
            transition: background 0.3s;
        }

        .news-tag:hover {
            background-color: #c8e6c9;
            color: #006840;
        }

        body.dark-mode .news-tag {
            background-color: #2a2a2a;
            color: #e0e0e0;
        }

        body.dark-mode .news-tag:hover {
            background-color: #198754;
        }

        /* 🔴 YouTube badge ikon a képek jobb alsó sarkában */
        .youtube-badge {
            position: absolute;
            bottom: 12px;
            right: 12px;
            background-color: white;
            border-radius: 50%;
            padding: 4px;
            width: 28px;
            height: 28px;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
            z-index: 5;
        }

        .youtube-badge svg {
            width: 18px;
            height: 18px;
            display: block;
            color: red;
            fill: red;
        }

        body.dark-mode .youtube-badge {
            background-color: #1e1e1e;
        }

        .left-feature .feature-image,
        .index-news-image-wrapper {
            position: relative;
        }

        .left-feature .feature-image a,
        .index-news-image-wrapper a {
            position: relative;
            display: inline-block;
        }

        .youtube-badge {
            position: absolute;
            left: 8px;
            bottom: 2px;
            background: transparent !important;
            padding: 0 !important;
            border-radius: 0 !important;
            box-shadow: none !important;
            display: inline;
            /* vagy flex: ha centírozás kell */
        }

        .youtube-badge svg {
            width: 24px;
            height: 24px;
            fill: red;
            background: transparent !important;
            box-shadow: none !important;
            border-radius: 0 !important;
        }


        .youtube-badge-featured {
            background: none !important;
            padding: 0 !important;
            border-radius: 0 !important;
            border: none;
        }


        .news-card-youtube-icon {
            position: absolute;
            right: 4px;
            bottom: 4px;
            z-index: 2;
        }

        .news-card-youtube-icon svg {
            width: 22px;
            height: 22px;
            fill: red;
        }

        .scroll-to-top {
            position: fixed;
            bottom: 2rem;
            right: 1.5rem;
            z-index: 999;
            display: none;
            background-color: #0a472e;
            /* Nigerian green */
            color: white;
            border: none;
            border-radius: 50%;
            font-size: 1.5rem;
            padding: 0.7rem 1rem;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
            cursor: pointer;
            transition: opacity 0.3s, transform 0.3s;
        }

        .scroll-to-top:hover {
            background-color: #088243;
        }

        .scroll-to-top.show {
            display: block;
        }

        .skeleton-loader {
            width: 100%;
            height: 225px;
            background: linear-gradient(90deg, #e0e0e0 25%, #f0f0f0 50%, #e0e0e0 75%);
            background-size: 200% 100%;
            animation: shimmer 1.5s infinite;
        }

        @keyframes shimmer {
            0% {
                background-position: -200% 0;
            }

            100% {
                background-position: 200% 0;
            }
        }

        /* ---------------------------------------------------------------- */
        /* 📱 RESZPONZÍV BEÁGYAZOTT TARTALMAK (Mobil és Desktop) */
        /* ---------------------------------------------------------------- */

        /* A beágyazást tartalmazó fő konténer */
        .embedded-content {
            margin: 25px 0;
            overflow: hidden;
            display: flex;
            justify-content: center;
        }

        /* Általános szabály minden iframe-re */
        .embedded-content iframe {
            max-width: 100%;
            min-width: 100%;
            border: none;
        }

        /* Facebook beágyazások */
        /*.fb-post,*/
        .fb-video,
        .fb-page {
            min-width: 100% !important;
            max-width: 100% !important;
        }

        /* Twitter beágyazások */
        .twitter-tweet {
            width: 100% !important;
            min-width: 100% !important;
        }

        /* Telegram beágyazások */
        .telegram-widget {
            width: 100% !important;
            min-width: 100% !important;
        }

        /* YouTube beágyazások */
        .youtube-embed {
            position: relative;
            padding-bottom: 56.25%;
            /* 16:9 arány */
            height: 0;
            overflow: hidden;
            width: 100%;
        }

        .youtube-embed iframe {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
        }

        /* Rumble beágyazások */
        .rumble-embed {
            position: relative;
            padding-bottom: 56.25%;
            /* 16:9 arány */
            height: 0;
            overflow: hidden;
            width: 100%;
        }

        .rumble-embed iframe {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
        }

        /* ====== Csak mobil nézetben (768px szélesség alatt) érvényesül ====== */
        /* Mobil nézetben (768px alatt) */
        @media (max-width: 768px) {

            /* Facebook beágyazások */
            /*.fb-post,*/
            .fb-video,
            .fb-page {
                width: 100% !important;
                min-width: 100% !important;
            }

            /* Twitter beágyazások */
            .twitter-tweet {
                width: 100% !important;
                min-width: 100% !important;
            }

            /* Minden beágyazott tartalom középre igazítása */
            .embedded-content {
                justify-content: center;
            }
        }

        /* Telegram és X helyőrzők elrejtése a publikus oldalon */
        .telegram-placeholder,
        .x-placeholder {
            display: none;
        }





        /* === Comments 2.0 – kártyás, mobil-first, dark-mode === */
        .comments-card {
            background: #fff;
            border-radius: 12px;
            box-shadow: 0 4px 14px rgba(0, 0, 0, .06);
            padding: 16px;
            margin-top: 24px
        }

        body.dark-mode .comments-card {
            background: #191919;
            box-shadow: 0 6px 20px rgba(0, 0, 0, .45)
        }

        .cmt-title {
            display: flex;
            align-items: center;
            gap: .6rem;
            margin: 0 0 12px;
            font-weight: 700;
            font-size: 1.2rem
        }

        .cmt-count {
            background: #008751;
            color: #fff;
            font-size: .85rem;
            padding: .15rem .5rem;
            border-radius: 999px
        }

        .cmt-list {
            display: flex;
            flex-direction: column;
            gap: 12px
        }

        .cmt-empty {
            padding: 14px;
            text-align: center;
            color: #6b7280
        }

        body.dark-mode .cmt-empty {
            color: #9aa3ac
        }

        .cmt {
            display: grid;
            grid-template-columns: 40px 1fr;
            gap: 12px;
            background: #f7f9f8;
            border: 1px solid #e7efec;
            border-radius: 10px;
            padding: 12px
        }

        body.dark-mode .cmt {
            background: #121212;
            border-color: #2a2a2a
        }

        .cmt-avatar {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 700;
            background: #008751;
            color: #fff;
            user-select: none
        }

        .cmt-head {
            display: flex;
            align-items: center;
            gap: .5rem;
            font-weight: 600;
            margin-bottom: 2px
        }

        .cmt-name {
            color: #0a472e
        }

        .cmt-sep {
            height: 10px
        }

        @media(min-width:768px) {
            .cmt-sep {
                height: 14px
            }
        }

        body.dark-mode .cmt-name {
            color: #9be6b8
        }

        .cmt-date {
            font-size: .85rem;
            color: #6b7280
        }

        body.dark-mode .cmt-date {
            color: #9aa3ac
        }

        .cmt-body {
            white-space: pre-wrap;
            line-height: 1.55;
            color: #222
        }

        body.dark-mode .cmt-body {
            color: #ddd
        }

        /* űrlap maradhat, csak finomhangolás */
        .comment-form .field {
            display: flex;
            flex-direction: column;
            gap: 6px;
            margin-bottom: 12px
        }

        .comment-form input[type="text"],
        .comment-form input[type="email"],
        .comment-form textarea {
            display: block;
            width: 100%;
            max-width: 100%;
            box-sizing: border-box;
            /* ← ez a lényeg */
            padding: 10px;
            border: 1px solid #ddd;
            border-radius: 6px;
            background: #fff;
            color: #333;
        }

        body.dark-mode .comment-form input[type="text"],
        body.dark-mode .comment-form input[type="email"],
        body.dark-mode .comment-form textarea {
            background: #2a2a2a;
            color: #eee;
            border-color: #444;
        }

        .comment-rules {
            font-size: .9rem;
            color: #666;
            margin: 6px 0 12px
        }

        body.dark-mode .comment-rules {
            color: #aaa
        }

        .btn-primary {
            background: #008751;
            color: #fff;
            border: none;
            border-radius: 8px;
            padding: 10px 14px;
            font-size: 1rem;
            cursor: pointer;
            transition: filter .2s
        }

        .btn-primary:hover {
            filter: brightness(1.1)
        }

        .comment-msg {
            margin-top: 10px;
            min-height: 1.2em
        }


        /* A szerkesztőben használt közösségi média placeholderek elrejtése a frontend oldalon */
        .facebook-placeholder,
        .x-placeholder,
        .telegram-placeholder {
            display: none !important;
        }


        /* ================================================================ */
        /* FACEBOOK BEÁGYAZÁS JAVÍTÁSOK (Reszponzivitás és Dark Mode) */
        /* ================================================================ */

        /* A Facebook beágyazást tartalmazó span elem stílusai.
   Ez a konténer kap egy maximális szélességet és egy fehér hátteret. */
        .single-content .fb-post {
            display: inline-block;
            /* Hogy a text-align:center működjön rá */
            width: 100%;
            max-width: 500px;
            /* A poszt maximális szélessége, hogy ne nyúljon túl nagyra asztali nézetben */
            background-color: #ffffff;
            /* Alapértelmezett fehér háttér */
            border-radius: 8px;
            /* Lekerekített sarkok, hogy illeszkedjen a dizájnhoz */
            padding: 1px;
            /* Apró padding, hogy a belső tartalom ne érjen a széléhez */
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
            /* Finom árnyék */
            overflow: hidden;
            /* Biztosítja, hogy a belső iframe ne lógjon ki */
        }

        /* Dark mode esetén is megmarad a fehér háttér,
   így a poszt szövege olvasható marad. */
        body.dark-mode .single-content .fb-post {
            background-color: #ffffff;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
            /* Kicsit erősebb árnyék sötét háttéren */
        }

        /* A Facebook által generált iframe reszponzívvá tétele.
   Ez biztosítja, hogy az iframe kitöltse a fenti konténert. */
        .single-content .fb-post iframe {
            width: 100% !important;
            max-width: 100%;
        }


        /* Facebook post reszponzív wrapper */
        .responsive-fb-post {
            width: 100%;
            max-width: 520px;
            margin: 0 auto;
            box-sizing: border-box;

        }

        .responsive-fb-post>.fb-post,
        .responsive-fb-post>iframe {
            width: 100% !important;
            min-width: 220px !important;
            max-width: 100% !important;
            box-sizing: border-box;
        }


        /* A wrapper ne lépje túl a szülő szélességét */
        .fb-embed-wrap {
            max-width: 100%;
            width: 100%;
        }

        /* Biztonsági öv – ha az iframe fix szélességgel érkezik, próbáljuk 100%-ra húzni */
        .fb-embed-wrap iframe {
            max-width: 100% !important;
        }


        .x-embed-wrap,
        .tg-embed-wrap {
            width: 100%;
            max-width: 100%;

        }

        .x-embed-wrap iframe,
        .tg-embed-wrap iframe,
        .x-embed-wrap blockquote {
            max-width: 100% !important;
        }

        /* Igazítható külső wrapper */
        .single-content .embed-align {
            width: 100%;
            max-width: 100%;
        }

        .single-content .embed-align.align-left {
            text-align: left;
        }

        .single-content .embed-align.align-center {
            text-align: center;
        }

        .single-content .embed-align.align-right {
            text-align: right;
        }

        /* A belső doboz legyen inline-block és AUTO szélességű */
        .single-content .embed-align>.x-embed-wrap,
        .single-content .embed-align>.tg-embed-wrap {
            display: inline-block;
            max-width: 100%;
            width: auto !important;
            /* felülírja a régi inline width:100%-ot */
            vertical-align: top;
        }

        /* Biztonsági öv: a renderelt elemek ne lógjanak ki */
        .single-content .x-embed-wrap iframe,
        .single-content .x-embed-wrap blockquote.twitter-tweet,
        .single-content .tg-embed-wrap iframe {
            max-width: 100% !important;
        }

        /* A Twitter saját blockquote-ja is „középre állhat”, ha kell */
        .single-content blockquote.twitter-tweet {
            margin-left: auto !important;
            margin-right: auto !important;
        }

        /* Giveaway ad blokk (Top Stories felett jobb oldalon) */
        .giveaway-ad {
            text-align: center;
            margin: 0 0 1rem 0;
            padding: 0.5rem;
            border: 1px solid rgba(0, 0, 0, 0.2);
            border-radius: 8px;
            background: var(--card-bg, #fff);
        }

        .giveaway-ad img.responsive-ad {
            max-width: 100%;
            height: auto;
            border-radius: 6px;
        }


        /* A jobb oszlop már létezik – csak a kampány doboz */
        .ntvi-campaign {
            display: none;
            /* JS kapcsolja be */
            margin: 0 0 1rem 0;
            padding: .5rem;
            border: 1px solid rgba(0, 0, 0, .18);
            border-radius: 8px;
            background: var(--card-bg, #fff);
        }

        .ntvi-campaign.show {
            display: block;
        }

        .ntvi-campaign .campaign-img {
            display: block;
            max-width: 100%;
            height: auto;
            border-radius: 6px;
        }