@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;900&family=Inter:wght@400;500;600;700&display=swap');

:root {
    --primary-red: #E74C64;
    --hover-red: #D63A53;
    --logo-blue: #3F4DB8;
    --black: #1D1D1D;
    --dark-gray: #555555;
    --light-gray: #F7F7F7;
    --border-gray: #EAEAEA;
    --footer-black: #181818;
    --footer-text: #CCCCCC;
    --white: #FFFFFF;
    --max-width: 1320px;
    --content-width: 1260px;
    --sidebar-width: 290px;
    --card-radius: 8px;
    --btn-radius: 6px;
    --input-radius: 6px;
    --card-shadow: 0 4px 15px rgba(0,0,0,0.08);
    --card-hover-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--black);
    background: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

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

ul, ol {
    list-style: none;
}

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

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 30px;
}

.content-wrap {
    display: flex;
    gap: 30px;
}

.main-content {
    flex: 1;
    min-width: 0;
}

.sidebar {
    width: var(--sidebar-width);
    flex-shrink: 0;
}

/* ===================== TOP BAR ===================== */
.top-bar {
    height: 40px;
    background: var(--white);
    border-bottom: 1px solid var(--border-gray);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
}

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

.top-bar-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.breaking-news-badge {
    background: var(--primary-red);
    color: var(--white);
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.breaking-headline {
    color: var(--dark-gray);
    font-weight: 500;
    white-space: nowrap;
}

.breaking-news-marquee {
    overflow: hidden;
    max-width: 400px;
    position: relative;
}

.breaking-news-marquee .breaking-headline {
    display: inline-block;
    animation: marqueeScroll 15s linear infinite;
}

@keyframes marqueeScroll {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

.top-bar-center {
    color: var(--dark-gray);
    font-size: 13px;
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.top-bar-right .social-icons {
    display: flex;
    gap: 8px;
}

.top-bar-right .social-icons a {
    color: var(--dark-gray);
    font-size: 13px;
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.top-bar-right .social-icons a:hover {
    color: var(--white);
    background: var(--primary-red);
}

.newsletter-btn-top {
    background: var(--primary-red);
    color: var(--white);
    border: none;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.newsletter-btn-top:hover {
    background: var(--hover-red);
}

.dark-mode-toggle {
    background: none;
    border: 1px solid var(--border-gray);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    color: var(--dark-gray);
    transition: all 0.3s ease;
}

.dark-mode-toggle:hover {
    background: var(--light-gray);
    border-color: var(--dark-gray);
}

/* ===================== HEADER ===================== */
.main-header {
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 30px;
    max-width: var(--max-width);
    margin: 0 auto;
}

.header-left {
    display: flex;
    flex-direction: column;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    font-weight: 900;
    color: var(--logo-blue);
    line-height: 1;
}

.tagline {
    font-size: 12px;
    color: var(--dark-gray);
    margin-top: 2px;
}

.header-ad {
    width: 728px;
    height: 90px;
    border-radius: var(--card-radius);
    overflow: hidden;
    background: linear-gradient(135deg, #f0f4ff 0%, #fce4ec 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 8px;
}

.header-ad span {
    font-size: 13px;
    color: var(--dark-gray);
    font-weight: 500;
}

.header-ad .ad-btn {
    background: var(--logo-blue);
    color: var(--white);
    border: none;
    padding: 6px 18px;
    border-radius: var(--btn-radius);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
}

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

.header-icon-btn {
    width: 48px;
    height: 48px;
    border-radius: var(--btn-radius);
    border: 1px solid var(--border-gray);
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 18px;
    color: var(--black);
    transition: all 0.3s ease;
}

.header-icon-btn:hover {
    background: var(--light-gray);
    border-color: var(--dark-gray);
}

.subscribe-btn {
    background: var(--primary-red);
    color: var(--white);
    border: none;
    padding: 12px 24px;
    border-radius: var(--btn-radius);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
    white-space: nowrap;
}

.subscribe-btn:hover {
    background: var(--hover-red);
}

/* ===================== NAVIGATION ===================== */
.main-nav {
    height: 52px;
    background: var(--white);
    border-top: 1px solid var(--border-gray);
    border-bottom: 1px solid var(--border-gray);
    position: sticky;
    top: 0;
    z-index: 100;
}

.main-nav .container {
    display: flex;
    align-items: center;
    height: 100%;
}

.nav-menu {
    display: flex;
    align-items: center;
    height: 100%;
}

.nav-item {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.nav-item > a {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 0 16px;
    height: 100%;
    font-size: 15px;
    font-weight: 600;
    color: var(--black);
    transition: color 0.3s ease;
    white-space: nowrap;
}

.nav-item > a:hover,
.nav-item.active > a {
    color: var(--primary-red);
}

.nav-item.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 16px;
    right: 16px;
    height: 3px;
    background: var(--primary-red);
    border-radius: 3px 3px 0 0;
}

.nav-item .dropdown-arrow {
    font-size: 10px;
    transition: transform 0.3s ease;
}

.nav-item:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.nav-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 200px;
    border-radius: 0 0 var(--card-radius) var(--card-radius);
    box-shadow: var(--card-shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-5px);
    transition: all 0.3s ease;
    z-index: 200;
}

.nav-item:hover .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-dropdown a {
    display: block;
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 500;
    color: var(--black);
    transition: all 0.3s ease;
}

.nav-dropdown a:hover {
    background: var(--light-gray);
    color: var(--primary-red);
    padding-left: 20px;
}

/* ===================== HERO SECTION ===================== */
.hero-section {
    padding: 30px 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    height: 420px;
}

.hero-main {
    position: relative;
    border-radius: var(--card-radius);
    overflow: hidden;
    cursor: pointer;
}

.hero-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.hero-main:hover img {
    transform: scale(1.05);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.2) 50%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
}

.category-badge {
    display: inline-block;
    background: var(--primary-red);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
    width: fit-content;
}

.hero-overlay h2 {
    font-size: 52px;
    font-weight: 700;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hero-overlay p {
    color: rgba(255,255,255,0.8);
    font-size: 15px;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hero-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    color: rgba(255,255,255,0.7);
    font-size: 13px;
}

.hero-meta .author {
    font-weight: 600;
    color: var(--white);
}

.hero-sub-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 20px;
    height: 420px;
}

.hero-sub-card {
    position: relative;
    border-radius: var(--card-radius);
    overflow: hidden;
    cursor: pointer;
}

.hero-sub-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.hero-sub-card:hover img {
    transform: scale(1.05);
}

.hero-sub-card .hero-overlay {
    padding: 16px;
}

.hero-sub-card .hero-overlay h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--white);
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 8px;
}

/* ===================== SIDEBAR ===================== */
.widget {
    background: var(--white);
    border-radius: var(--card-radius);
    box-shadow: var(--card-shadow);
    padding: 24px;
    margin-bottom: 24px;
}

.widget-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary-red);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.search-widget .search-form {
    display: flex;
    gap: 0;
}

.search-widget input {
    flex: 1;
    border: 1px solid var(--border-gray);
    border-right: none;
    padding: 10px 14px;
    border-radius: var(--input-radius) 0 0 var(--input-radius);
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    outline: none;
    transition: border-color 0.3s ease;
}

.search-widget input:focus {
    border-color: var(--primary-red);
}

.search-widget button {
    background: var(--primary-red);
    color: var(--white);
    border: none;
    padding: 10px 16px;
    border-radius: 0 var(--input-radius) var(--input-radius) 0;
    cursor: pointer;
    font-size: 15px;
    transition: background 0.3s ease;
}

.search-widget button:hover {
    background: var(--hover-red);
}

/* Sidebar Tabs */
.widget-tabs {
    display: flex;
    gap: 0;
    border-bottom: 2px solid var(--border-gray);
    margin-bottom: 16px;
}

.widget-tab {
    flex: 1;
    padding: 8px 0;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    color: var(--dark-gray);
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    background: none;
    border-top: none;
    border-left: none;
    border-right: none;
}

.widget-tab.active,
.widget-tab:hover {
    color: var(--primary-red);
    border-bottom-color: var(--primary-red);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.sidebar-post-item {
    display: flex;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-gray);
    transition: transform 0.3s ease;
}

.sidebar-post-item:last-child {
    border-bottom: none;
}

.sidebar-post-item:hover {
    transform: translateX(3px);
}

.sidebar-post-thumb {
    width: 70px;
    height: 70px;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
}

.sidebar-post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sidebar-post-info h4 {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.sidebar-post-info .post-meta {
    font-size: 12px;
    color: var(--dark-gray);
    display: flex;
    align-items: center;
    gap: 4px;
}

.sidebar-post-info .post-meta i {
    font-size: 11px;
}

/* Categories Widget */
.category-list-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-gray);
    transition: all 0.3s ease;
}

.category-list-item:last-child {
    border-bottom: none;
}

.category-list-item a {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 500;
    color: var(--black);
    transition: color 0.3s ease;
}

.category-list-item a:hover {
    color: var(--primary-red);
}

.category-list-item a i {
    width: 20px;
    text-align: center;
    color: var(--primary-red);
    font-size: 14px;
}

.category-list-item .count {
    background: var(--light-gray);
    color: var(--dark-gray);
    font-size: 12px;
    font-weight: 600;
    padding: 2px 10px;
    border-radius: 12px;
}

.view-all-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid var(--border-gray);
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-red);
    transition: gap 0.3s ease;
}

.view-all-link:hover {
    gap: 10px;
}

/* Newsletter Widget */
.newsletter-widget {
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--hover-red) 100%);
    color: var(--white);
}

.newsletter-widget .widget-title {
    color: var(--white);
    border-bottom-color: rgba(255,255,255,0.3);
}

.newsletter-widget p {
    font-size: 14px;
    margin-bottom: 16px;
    opacity: 0.9;
    line-height: 1.5;
}

.newsletter-form input {
    width: 100%;
    border: none;
    padding: 12px 14px;
    border-radius: var(--input-radius);
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    margin-bottom: 10px;
    outline: none;
}

.newsletter-form button {
    width: 100%;
    background: var(--black);
    color: var(--white);
    border: none;
    padding: 12px;
    border-radius: var(--input-radius);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.newsletter-form button:hover {
    background: #333;
}

.newsletter-form .privacy-text {
    font-size: 11px;
    opacity: 0.7;
    margin-top: 8px;
    text-align: center;
}

/* ===================== SECTION TITLES ===================== */
.section-header {
    margin-bottom: 24px;
}

.section-header h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--black);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    padding-bottom: 10px;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--primary-red);
    border-radius: 3px;
}

/* ===================== FEATURED POSTS ===================== */
.featured-section {
    padding: 20px 0;
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.featured-card {
    border-radius: var(--card-radius);
    overflow: hidden;
    background: var(--white);
    box-shadow: var(--card-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.featured-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--card-hover-shadow);
}

.featured-card-img {
    height: 120px;
    overflow: hidden;
}

.featured-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.featured-card:hover .featured-card-img img {
    transform: scale(1.1);
}

.featured-card-body {
    padding: 14px;
}

.featured-card-body .category-badge {
    font-size: 10px;
    padding: 2px 8px;
    margin-bottom: 8px;
}

.featured-card-body h3 {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.featured-card-body .post-meta {
    font-size: 12px;
    color: var(--dark-gray);
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ===================== LATEST ARTICLES ===================== */
.latest-section {
    padding: 20px 0;
}

.latest-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.latest-card {
    display: flex;
    gap: 20px;
    padding: 20px;
    border-radius: var(--card-radius);
    background: var(--white);
    box-shadow: var(--card-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.latest-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--card-hover-shadow);
}

.latest-card-thumb {
    width: 200px;
    height: 150px;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
}

.latest-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.latest-card:hover .latest-card-thumb img {
    transform: scale(1.05);
}

.latest-card-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.latest-card-body .category-badge {
    font-size: 10px;
    padding: 2px 8px;
    margin-bottom: 10px;
    width: fit-content;
}

.latest-card-body h3 {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.latest-card-body p {
    font-size: 14px;
    color: var(--dark-gray);
    line-height: 1.5;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.latest-card-body .post-meta {
    font-size: 12px;
    color: var(--dark-gray);
    display: flex;
    align-items: center;
    gap: 12px;
}

/* ===================== FEATURED CATEGORIES ===================== */
.categories-section {
    padding: 30px 0;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.category-card {
    background: var(--white);
    border-radius: var(--card-radius);
    box-shadow: var(--card-shadow);
    padding: 30px 20px;
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.category-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--card-hover-shadow);
}

.category-card i {
    font-size: 36px;
    color: var(--primary-red);
    margin-bottom: 14px;
    transition: transform 0.3s ease;
}

.category-card:hover i {
    transform: scale(1.15);
}

.category-card h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 6px;
}

.category-card span {
    font-size: 13px;
    color: var(--dark-gray);
}

/* ===================== FOOTER ===================== */
.site-footer {
    background: var(--footer-black);
    color: var(--footer-text);
    padding: 60px 0 0;
    margin-top: 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 40px;
}

.footer-col h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary-red);
}

.footer-about .logo {
    font-size: 28px;
    margin-bottom: 12px;
    display: block;
}

.footer-about p {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 16px;
    opacity: 0.8;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--footer-text);
    font-size: 14px;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--primary-red);
    border-color: var(--primary-red);
    color: var(--white);
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    font-size: 14px;
    color: var(--footer-text);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.footer-links a::before {
    content: '\f105';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 11px;
    opacity: 0.5;
}

.footer-links a:hover {
    color: var(--primary-red);
    padding-left: 4px;
}

.footer-post-item {
    display: flex;
    gap: 10px;
    margin-bottom: 14px;
}

.footer-post-thumb {
    width: 60px;
    height: 60px;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
}

.footer-post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.footer-post-item h4 {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--white);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.footer-post-item .post-meta {
    font-size: 11px;
    color: var(--footer-text);
    margin-top: 4px;
}

.instagram-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
}

.instagram-grid a {
    position: relative;
    border-radius: 6px;
    overflow: hidden;
    aspect-ratio: 1;
}

.instagram-grid a img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.instagram-grid a:hover img {
    transform: scale(1.1);
}

.instagram-grid a::after {
    content: '\f16d';
    font-family: 'Font Awesome 6 Brands';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 18px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.instagram-grid a:hover::after {
    opacity: 1;
}

.footer-bottom {
    background: #111;
    margin-top: 40px;
    padding: 16px 0;
}

.footer-bottom .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
    color: var(--footer-text);
    opacity: 0.8;
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

.footer-bottom-links a {
    color: var(--footer-text);
    font-size: 13px;
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: var(--primary-red);
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--primary-red);
    color: var(--white);
    border: none;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 4px 12px rgba(231,76,100,0.4);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--hover-red);
    transform: translateY(-3px);
}

/* ===================== SEARCH POPUP ===================== */
.search-popup {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.search-popup.active {
    opacity: 1;
    visibility: visible;
}

.search-popup-content {
    background: var(--white);
    padding: 30px;
    border-radius: var(--card-radius);
    width: 90%;
    max-width: 600px;
    transform: translateY(-20px);
    transition: transform 0.3s ease;
}

.search-popup.active .search-popup-content {
    transform: translateY(0);
}

.search-popup-content .search-form-popup {
    display: flex;
    gap: 0;
}

.search-popup-content input {
    flex: 1;
    border: 2px solid var(--border-gray);
    border-right: none;
    padding: 14px 18px;
    border-radius: var(--input-radius) 0 0 var(--input-radius);
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    outline: none;
}

.search-popup-content input:focus {
    border-color: var(--primary-red);
}

.search-popup-content button {
    background: var(--primary-red);
    color: var(--white);
    border: none;
    padding: 14px 24px;
    border-radius: 0 var(--input-radius) var(--input-radius) 0;
    font-size: 18px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.search-popup-content button:hover {
    background: var(--hover-red);
}

.search-popup-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: var(--white);
    font-size: 30px;
    cursor: pointer;
}

/* ===================== MOBILE NAV ===================== */
.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav {
    position: fixed;
    top: 0;
    left: -300px;
    width: 300px;
    height: 100%;
    background: var(--white);
    z-index: 2001;
    overflow-y: auto;
    transition: left 0.3s ease;
    padding: 20px;
}

.mobile-nav.active {
    left: 0;
}

.mobile-nav-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-gray);
    margin-bottom: 16px;
}

.mobile-nav-close {
    background: none;
    border: none;
    font-size: 22px;
    cursor: pointer;
    color: var(--black);
}

.mobile-nav-menu a {
    display: block;
    padding: 12px 0;
    font-size: 16px;
    font-weight: 600;
    color: var(--black);
    border-bottom: 1px solid var(--border-gray);
    transition: color 0.3s ease;
}

.mobile-nav-menu a:hover {
    color: var(--primary-red);
}

/* ===================== PAGINATION ===================== */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 40px 0;
}

.pagination a,
.pagination span {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--input-radius);
    font-size: 14px;
    font-weight: 600;
    color: var(--black);
    background: var(--white);
    border: 1px solid var(--border-gray);
    transition: all 0.3s ease;
}

.pagination a:hover,
.pagination span.current {
    background: var(--primary-red);
    color: var(--white);
    border-color: var(--primary-red);
}

/* ===================== SINGLE POST ===================== */
.post-hero {
    height: 400px;
    border-radius: var(--card-radius);
    overflow: hidden;
    margin-bottom: 30px;
    position: relative;
}

.post-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-hero .hero-overlay h2 {
    font-size: 42px;
}

.post-content {
    font-size: 16px;
    line-height: 1.8;
    color: var(--black);
}

.post-content p {
    margin-bottom: 20px;
}

.post-content h2,
.post-content h3 {
    margin: 30px 0 15px;
}

.post-content img {
    border-radius: var(--card-radius);
    margin: 20px 0;
}

/* ===================== PAGE TITLE ===================== */
.page-title-section {
    background: var(--light-gray);
    padding: 40px 0;
    text-align: center;
}

.page-title-section h1 {
    font-size: 32px;
    font-weight: 700;
    color: var(--black);
}

.page-title-section .breadcrumb {
    font-size: 14px;
    color: var(--dark-gray);
    margin-top: 8px;
}

.page-title-section .breadcrumb a {
    color: var(--primary-red);
}

/* ===================== DARK MODE ===================== */
body.dark-mode {
    background: #1a1a2e;
    color: #e0e0e0;
}

body.dark-mode .top-bar,
body.dark-mode .main-header,
body.dark-mode .main-nav,
body.dark-mode .widget,
body.dark-mode .featured-card,
body.dark-mode .latest-card,
body.dark-mode .category-card,
body.dark-mode .search-popup-content {
    background: #16213e;
}

body.dark-mode .logo {
    color: var(--logo-blue);
}

body.dark-mode .nav-item > a {
    color: #e0e0e0;
}

body.dark-mode .hero-overlay h2,
body.dark-mode .hero-overlay h3,
body.dark-mode h3,
body.dark-mode .section-header h2 {
    color: #e0e0e0;
}

body.dark-mode .top-bar {
    border-bottom-color: #2a2a4a;
}

body.dark-mode .main-nav {
    border-color: #2a2a4a;
}

body.dark-mode .widget-title {
    border-bottom-color: var(--primary-red);
    color: #e0e0e0;
}

body.dark-mode .sidebar-post-info h4,
body.dark-mode .latest-card-body h3,
body.dark-mode .featured-card-body h3,
body.dark-mode .category-card h3,
body.dark-mode .footer-col h3 {
    color: #e0e0e0;
}

body.dark-mode .category-list-item a {
    color: #e0e0e0;
}

body.dark-mode .category-list-item .count {
    background: #2a2a4a;
    color: #e0e0e0;
}

body.dark-mode .header-icon-btn {
    background: #16213e;
    border-color: #2a2a4a;
    color: #e0e0e0;
}

body.dark-mode .search-widget input {
    background: #1a1a2e;
    border-color: #2a2a4a;
    color: #e0e0e0;
}

body.dark-mode .page-title-section {
    background: #16213e;
}

body.dark-mode .page-title-section h1 {
    color: #e0e0e0;
}

body.dark-mode .pagination a,
body.dark-mode .pagination span {
    background: #16213e;
    border-color: #2a2a4a;
    color: #e0e0e0;
}

/* ============================================================================
   POST TAGS
   ============================================================================ */
.post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 30px 0;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.tag-chip {
    display: inline-block;
    background: #f0f4ff;
    color: #3F4DB8;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
}

.tag-chip:hover {
    background: #3F4DB8;
    color: #fff;
}

/* ============================================================================
   SOCIAL SHARING
   ============================================================================ */
.social-sharing {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 0;
    margin: 10px 0 30px;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    flex-wrap: wrap;
}

.share-label {
    font-size: 14px;
    font-weight: 700;
    color: #333;
    white-space: nowrap;
}

.share-label i {
    margin-right: 4px;
    color: #3F4DB8;
}

.share-buttons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.share-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.share-facebook { background: #1877F2; }
.share-twitter { background: #000; }
.share-linkedin { background: #0A66C2; }
.share-pinterest { background: #E60023; }
.share-whatsapp { background: #25D366; }
.share-email { background: #666; }
.share-copy { background: #3F4DB8; }

/* ============================================================================
   COMMENTS SECTION
   ============================================================================ */
.comments-section {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid #eee;
}

.comments-section .section-header h2 {
    font-size: 22px;
    font-weight: 700;
    color: #222;
    margin: 0 0 24px;
}

.comments-section .section-header h2 i {
    color: #3F4DB8;
    margin-right: 8px;
}

.comments-list {
    margin-bottom: 30px;
}

.comment-item {
    display: flex;
    gap: 14px;
    padding: 20px 0;
    border-bottom: 1px solid #f0f0f0;
}

.comment-item:last-child {
    border-bottom: none;
}

.comment-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3F4DB8, #7C3AED);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    flex-shrink: 0;
}

.comment-body {
    flex: 1;
    min-width: 0;
}

.comment-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 6px;
}

.comment-author {
    font-weight: 700;
    color: #222;
    font-size: 15px;
}

.comment-date {
    font-size: 12px;
    color: #999;
}

.comment-text {
    font-size: 14px;
    line-height: 1.7;
    color: #444;
    margin-bottom: 8px;
    word-wrap: break-word;
}

.comment-reply-btn {
    background: none;
    border: none;
    color: #3F4DB8;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    padding: 4px 0;
    transition: color 0.2s;
}

.comment-reply-btn:hover {
    color: #7C3AED;
}

.comment-replies {
    margin-top: 12px;
    padding-left: 16px;
    border-left: 3px solid #f0f4ff;
}

.comment-replies .comment-item {
    padding: 12px 0;
}

.comment-replies .comment-avatar {
    width: 34px;
    height: 34px;
    font-size: 14px;
}

.comments-empty {
    text-align: center;
    padding: 40px 20px;
    color: #999;
    background: #fafafa;
    border-radius: 8px;
    margin-bottom: 30px;
}

.comments-empty i {
    font-size: 40px;
    display: block;
    margin-bottom: 12px;
    color: #ccc;
}

.reply-form {
    margin-top: 12px;
    padding: 16px;
    background: #f8f9fa;
    border-radius: 8px;
}

.reply-form input,
.reply-form textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 13px;
    font-family: inherit;
    margin-bottom: 8px;
    box-sizing: border-box;
    transition: border-color 0.2s;
}

.reply-form input:focus,
.reply-form textarea:focus {
    outline: none;
    border-color: #3F4DB8;
}

.reply-form textarea {
    resize: vertical;
    min-height: 60px;
}

/* ============================================================================
   COMMENT FORM
   ============================================================================ */
.comment-form-wrap {
    background: #f8f9fa;
    padding: 28px;
    border-radius: 12px;
    border: 1px solid #eee;
}

.comment-form-wrap h3 {
    font-size: 18px;
    font-weight: 700;
    color: #222;
    margin: 0 0 20px;
}

.comment-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 12px;
}

.comment-form-wrap input,
.comment-form-wrap textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    box-sizing: border-box;
    transition: border-color 0.2s, box-shadow 0.2s;
    background: #fff;
}

.comment-form-wrap input:focus,
.comment-form-wrap textarea:focus {
    outline: none;
    border-color: #3F4DB8;
    box-shadow: 0 0 0 3px rgba(63,77,184,0.1);
}

.comment-form-wrap textarea {
    resize: vertical;
    min-height: 100px;
    margin-bottom: 12px;
}

.comment-form-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.comment-form-note {
    font-size: 12px;
    color: #888;
}

.comment-form-note i {
    margin-right: 4px;
}

.btn-comment-submit {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: #3F4DB8;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-comment-submit:hover {
    background: #2d3a9e;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(63,77,184,0.3);
}

.btn-comment-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.comment-success {
    margin-top: 16px;
    padding: 14px 18px;
    background: #f0fff4;
    border: 1px solid #28a745;
    border-radius: 8px;
    color: #155724;
    font-size: 14px;
}

.comment-success i {
    margin-right: 6px;
}

/* ============================================================================
   RESPONSIVE: COMMENTS & SHARING
   ============================================================================ */
@media (max-width: 768px) {
    .social-sharing {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .comment-form-row {
        grid-template-columns: 1fr;
    }

    .comment-form-footer {
        flex-direction: column;
        align-items: flex-start;
    }

    .btn-comment-submit {
        width: 100%;
        justify-content: center;
    }

    .comment-item {
        gap: 10px;
    }

    .comment-avatar {
        width: 36px;
        height: 36px;
        font-size: 15px;
    }

    .comment-replies {
        padding-left: 10px;
    }
}
