* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Inter', sans-serif;
}

body {
    font-family: 'Inter', sans-serif;
    background: #ffffff;

}

.story-card:hover h2,
.story-card:hover h3 {
    color: #D32F2F;
    transition: color 0.2s ease;
}

.img-zoom-container {
    overflow: hidden;
}

.img-zoom-container img {
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.story-card:hover img {
    transform: scale(1.05);
}

.border-t-news {
    border-top: 1px solid #e5e7eb;
}

.border-b-news {
    border-bottom: 1px solid #e5e7eb;
}

.border-r-news {
    border-right: 1px solid #e5e7eb;
}

.line-clamp-1 {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 4px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #d30d0d;
    border-radius: 2px;
}

::-webkit-scrollbar-thumb:hover {
    background: #9b0707;
}

.ad-slot {
    width: 100%;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.ad-slot iframe {
    max-width: 100%;
}

.professional-header {
    background: #fff;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 3px solid #c40000;
}

.top-bar {
    max-width: 1280px;
    margin: 0 auto;
    padding: 12px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    position: relative;
}

.social-icons {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.social-icons a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    border-radius: 50%;
    color: #666;
    transition: all 0.2s ease;
    text-decoration: none;
}

.social-icons a:hover {
    background: #c40000;
    color: #fff;
    transform: translateY(-2px);
}

.icon {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.logo {
    flex-shrink: 0;
    text-align: center;
}

.logo a {
    text-decoration: none;
    display: inline-block;
}

.logo img {
    max-height: 50px;
    width: auto;
}

.logo h1 {
    font-size: 1.5rem;
    color: #c40000;
    margin: 0;
}

.right-actions {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-shrink: 0;
}

.search-container {
    position: relative;
}

.search-icon {
    padding: 8px;
    border-radius: 50%;
    cursor: pointer;
    background: none;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.search-icon:hover {
    background: #f5f5f5;
}

.search-icon svg {
    width: 22px;
    height: 22px;
    stroke: #666;
    fill: none;
    stroke-width: 2;
}

.search-dropdown {
    display: none;
    position: absolute;
    right: 0;
    top: calc(100% + 10px);
    width: 400px;
    max-width: 90vw;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    border-top: 3px solid #c40000;
    z-index: 1001;
    overflow: hidden;
}

.search-dropdown.active {
    display: block;
    animation: slideDown 0.25s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.search-box {
    display: flex;
    padding: 15px;
    background: #fff;
    border-bottom: 1px solid #eef2f6;
}

.search-box input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid #e0e4e8;
    border-radius: 8px 0 0 8px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s;
}

.search-box input:focus {
    border-color: #c40000;
}

.search-box button {
    background: #c40000;
    color: #fff;
    border: none;
    padding: 0 20px;
    border-radius: 0 8px 8px 0;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.2s;
}

.search-box button:hover {
    background: #a00000;
}

#searchResults {
    max-height: 400px;
    overflow-y: auto;
}

.search-item {
    padding: 12px 15px;
    border-bottom: 1px solid #f0f2f5;
    cursor: pointer;
    transition: background 0.2s;
}

.search-item:hover {
    background: #f8f9fa;
}

.search-item-title {
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 4px;
}

.search-item-excerpt {
    font-size: 13px;
    color: #666;
}

.loading,
.no-results {
    padding: 20px;
    text-align: center;
    color: #999;
    font-size: 14px;
}

.mobile-menu-btn {
    border: none;
    background: none;
    cursor: pointer;
    padding: 8px;
    display: none;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: #333;
    margin: 5px 0;
    transition: 0.2s;
}

.nav-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 320px;
    height: 100%;
    background: #fff;
    transform: translateX(-100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 4px 0 25px rgba(0, 0, 0, 0.1);
    z-index: 2000;
    overflow-y: auto;
}

.nav-bar.active {
    transform: translateX(0);
}

.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #eef2f6;
}

.sidebar-title {
    font-size: 18px;
    font-weight: 600;
    color: #c40000;
}

.close-btn {
    font-size: 28px;
    border: none;
    background: none;
    cursor: pointer;
    color: #666;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.2s;
}

.close-btn:hover {
    background: #f5f5f5;
}

.sidebar-socials {
    padding: 20px;
    border-bottom: 1px solid #eef2f6;
}

.sidebar-social-icons {
    display: flex;
    gap: 12px;
}

.sidebar-social-icons a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    border-radius: 50%;
    color: #555;
    transition: all 0.2s;
    text-decoration: none;
}

.sidebar-social-icons a:hover {
    background: #c40000;
    color: #fff;
    transform: translateY(-2px);
}

.search-mobile {
    padding: 20px;
    border-bottom: 1px solid #eef2f6;
}

.search-mobile .search-box {
    padding: 0;
    background: #f8f9fa;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e0e4e8;
}

.search-mobile input {
    border: none;
    padding: 12px 15px;
    background: transparent;
}

.search-mobile button {
    background: #c40000;
    color: #fff;
    border: none;
    padding: 0 20px;
    cursor: pointer;
    font-weight: 600;
}

.nav-menu {
    list-style: none;
    padding: 0;
}

.nav-item {
    border-bottom: 1px solid #f0f2f5;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    color: #333;
    transition: all 0.2s;
}

.nav-link span:first-child {
    width: 24px;
    text-align: center;
    font-size: 18px;
}

.nav-link:hover {
    background: #f8f9fa;
    padding-left: 25px;
}

.nav-link.active {
    background: #fff5f5;
    color: #c40000;
    border-left: 3px solid #c40000;
}

.menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    z-index: 1500;
    backdrop-filter: blur(2px);
}

.menu-overlay.active {
    display: block;
    animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .top-bar {
        padding: 12px 16px;
    }

    .social-icons {
        display: none;
    }

    .search-container {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .logo {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }

    .logo img {
        max-height: 50px;
    }

    .nav-bar {
        width: 100%;
        max-width: 320px;
    }
}

@media (min-width: 769px) {
    .mobile-menu-btn {
        display: none;
    }

    .search-mobile {
        display: none;
    }
}

@media (max-width: 480px) {
    .logo img {
        max-height: 50px;
    }

    .nav-bar {
        width: 100%;
        max-width: 100%;
    }
}

::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #c40000;
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: #a00000;
}

/* ================= SECTION GRID ================= */
.two-col-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

.category-block {
    width: 100%;
}

/* ================= TITLE ================= */
.cat-title {
    font-size: 13px;
    font-weight: bold;
    border-top: 2px solid #000;
    padding-top: 10px;
    margin-bottom: 15px;
    text-transform: uppercase;
}

/* ================= TOP PART ================= */
.top-part {
    display: flex;
    gap: 15px;
}

/* ================= BIG POST ================= */
.big-post {
    position: relative;
    flex: 1;
    max-height: 240px;
    overflow: hidden;
}

.big-post img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;

    /* fallback */
    line-height: 1.4em;
    max-height: 2.8em;
}

/* ================= OVERLAY ================= */
.overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 12px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: #fff;
}

.overlay a {
    color: #fff;
    font-size: 14px;
    font-weight: bold;
    text-decoration: none;
    display: block;
}

.overlay span {
    font-size: 11px;
    opacity: 0.85;
}

/* ================= SIDE LIST ================= */
.side-list {
    flex: 1;
}

.side-item {
    border-bottom: 1px solid #eee;
    padding: 10px 0;
}

.side-item a {
    font-size: 13px;
    color: #000;
    text-decoration: none;
    display: block;
}

.side-item a:hover {
    color: #e11d2a;
}

.side-item span {
    font-size: 11px;
    color: #777;
}

/* ================= BOTTOM CARDS ================= */
.bottom-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-top: 15px;
}

.card img {
    width: 100%;
    height: 120px;
    object-fit: cover;
}

/* TABLET */
@media (max-width: 768px) {
    .card img {
        height: 100px;
    }
}

/* SMALL MOBILE */
@media (max-width: 480px) {
    .card img {
        height: 90px;
    }
}

.card p {
    font-size: 12px;
    margin-top: 6px;
}

.card p a {
    text-decoration: none;
    color: #000;
}

.card p a:hover {
    color: #e11d2a;
}

.card span {
    font-size: 11px;
    color: #777;
}

/* ================= LINE CLAMP ================= */
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ================= HOVER EFFECT ================= */
.big-post img,
.card img {
    transition: transform 0.4s ease;
}

.big-post:hover img,
.card:hover img {
    transform: scale(1.05);
}

/* TABLET */
@media (max-width: 1024px) {
    .two-col-section {
        grid-template-columns: 1fr;
    }
}

/* MOBILE */
@media (max-width: 768px) {

    .top-part {
        flex-direction: column;
    }

    .bottom-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .overlay a {
        font-size: 13px;
    }
}

/* SMALL MOBILE */
@media (max-width: 480px) {

    .bottom-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .cat-title {
        font-size: 12px;
    }

    .side-item a {
        font-size: 14px;
    }
}

#footer h3 {
    letter-spacing: 1px;
}

#footer ul li a {
    transition: all 0.25s ease;
}

#footer ul li a:hover {
    transform: translateX(3px);
}

#footer ul li a {
    position: relative;
}

#footer ul li a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 0;
    height: 1px;
    background: #fff;
    transition: width .25s ease;
}

#footer ul li a:hover::after {
    width: 100%;
}

/* Custom hover states */
#footer .social-icon:hover {
    background: #ffffff;
    color: #000000;
    transform: translateY(-2px);
}

#footer input[type="email"]:focus {
    border-color: #3f3f46;
    box-shadow: none;
}

/* Premium subtle divider glow */
#footer .border-custom-divider {
    border-color: rgba(255, 255, 255, .08);
}

