
        /* =============================== */
        /* GLOBAL STYLES */
        /* =============================== */

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: Arial, system-ui, -apple-system, 'Segoe UI', Roboto;
        }

        body {
            background: #fff;
            color: #111;
            overflow-x: hidden;
        }


        /* =============================== */
        /* HEADER */
        /* =============================== */

        .top-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 14px 18px;
            border-bottom: 1px solid #ececec;
            background: #fff;
        }

        /* Left + Right groups */
        .left-group,
        .right-group {
            display: flex;
            align-items: center;
            gap: 14px;
        }

        .menu-btn,
        .search-btn {
            background: none;
            border: none;
            font-size: 20px;
            cursor: pointer;
        }

        /* Center Logo */
        .center-logo {
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .circle {
            width: 38px;
            height: 38px;
            border-radius: 50%;
            background: linear-gradient(45deg, #43cea2, #185a9d, #ff6fd8);
        }

        .logo-text {
            font-size: 11px;
            line-height: 1.1;
        }

        .logo-text div:first-child {
            font-weight: 700;
            letter-spacing: 0.5px;
        }

        .logo-text div:last-child {
            letter-spacing: 1px;
        }

        /* Buttons */
        .subscribe-btn {
            background: linear-gradient(45deg, #1de9b6, #1dc4e9);
            padding: 8px 12px;
            border-radius: 4px;
            color: #fff;
            text-decoration: none;
            font-weight: 700;
        }

        .login-btn {
            border: 1px solid #000;
            padding: 8px 12px;
            border-radius: 4px;
            text-decoration: none;
            color: #000;
            font-weight: 600;
        }


        /* =============================== */
        /* NAV BAR – SINGLE ROW + HIDE SCROLLBAR */
        /* =============================== */

        .nav-bar {
            overflow-x: auto;
            white-space: nowrap;
            -webkit-overflow-scrolling: touch;
            border-bottom: 1px solid #e8e8e8;
            background: #fff;

            /* Hide scrollbar (All browsers) */
            scrollbar-width: none;
            /* Firefox */
            -ms-overflow-style: none;
            /* IE & Edge */
        }

        .nav-bar::-webkit-scrollbar {
            display: none;
            /* Chrome & Safari */
        }

        .nav-bar ul {
            display: flex;
            flex-wrap: nowrap;
            list-style: none;
            gap: 80px;
            padding: 12px 15px;
            justify-content: center;
        }

        .nav-bar li {
            flex: 0 0 auto;
            white-space: nowrap;
            font-weight: 600;
            cursor: pointer;
            padding: 5px 0;
            font-size: 15px;
        }

        .nav-bar li:hover {
            color: #0b66c3;
        }


        /* =============================== */
        /* MOBILE RESPONSIVE */
        /* =============================== */

        @media (max-width: 600px) {

            .top-header {
                padding: 12px 14px;
            }

            /* Center logo — keep UX clean */
            .center-logo {
                position: absolute;
                left: 50%;
                transform: translateX(-50%);
            }

            /* Reduce spacing */
            .left-group,
            .right-group {
                gap: 10px;
            }

            /* Hide text buttons to reduce clutter */
            .about,
            .edition {
                display: none;
            }

            .subscribe-btn {
                padding: 6px 10px;
                font-size: 13px;
            }

            .login-btn {
                padding: 6px 10px;
                font-size: 13px;
            }

            /* Compact Nav */
            .nav-bar ul {
                gap: 28px;
                padding: 10px 12px;
                margin-left: 375px;
            }

            .nav-bar li {
                font-size: 14px;
            }
        }
    



    
    /* Search wrapper container */
.search-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    margin-left: 50px;
}

/* Search icon */
.search-icon {
    font-size: 18px;
    cursor: pointer;
    color: #333;
    transition: color .3s;
}

/* Hidden input initially */
.search-input {
    width: 0;
    opacity: 0;
    border: none;
    border-bottom: 1px solid #ccc;
    padding: 6px 0 6px 8px;
    font-size: 15px;
    background: transparent;
    outline: none;

    /* Smooth expand animation */
    transition: width .35s ease, opacity .25s ease;
}

/* Expanded state */
.search-wrapper.active .search-input {
    width: 190px;
    opacity: 1;
    border-bottom-color: #111;
}

/* Change icon color when active */
.search-wrapper.active .search-icon {
    color: #0b66c3;
}

/* MOBILE SIZE */
@media (max-width: 600px) {
    .search-wrapper.active .search-input {
        width: 130px;
    }
}



    
        .category-title {
            font-size: 28px;
            font-weight: bold;
            margin-bottom: 15px;
        /*    border-left: 5px solid #000;*/
            padding-left: 10px;
        }
        .post-card img {
            width: 100%;
            border-radius: 8px;
        }
        .load-more-btn {
            margin-top: 15px;
        } 


       

/* CATEGORY TITLE */
.category-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Static RED double line (full width, no animation) */
.category-wrapper::after {
    content: "";
    flex-grow: 1;
    height: 8px;
    background:
        linear-gradient(#ff2626, #ff2626) 0 0 / 100% 2px no-repeat,
        linear-gradient(#ff2626, #ff2626) 0 6px / 100% 2px no-repeat;
}

/* Title text */
.category-title {
    font-size: 22px;
    font-weight: 600;
    color: #ff2626;
    position: relative;
    cursor: pointer;
}

/* Animated underline only under the text */
.category-title::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0%;
    height: 2px;
    background: #ff2626;
    transition: width 0.3s ease;
}

/* Hover effect */
.category-title:hover::after {
    width: 100%;
    font-weight: bold;
}

    