/* ===== CSS VARIABLES & RESET ===== */
:root {
    --black: #000000;
    --white: #ffffff;
    --gray-100: #f8f9fa;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-400: #ced4da;
    --gray-500: #adb5bd;
    --gray-600: #6c757d;
    --gray-700: #495057;
    --gray-800: #343a40;
    --gray-900: #212529;
    --accent: #d4af37; /* Gold accent for highlights */
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.12);
    --radius: 8px;
    --radius-lg: 12px;
    --transition: all 0.3s ease;
    --header-height: 80px;
    --content-width: 800px; /* ADDED FROM DETAIL PAGE */
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--gray-800);
    line-height: 1.7;
    background-color: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: var(--black);
    line-height: 1.3;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul, ol {
    margin-left: 20px;
    margin-bottom: 25px;
}

li {
    margin-bottom: 10px;
}

ul {
    list-style: none;
}

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

.container {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 30px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 20px;
}

.section-title {
    font-size: 2.8rem;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 2px;
    background-color: var(--accent);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--gray-600);
    max-width: 700px;
    margin: 0 auto;
    font-weight: 400;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    outline: none;
    font-family: 'Poppins', sans-serif;
    letter-spacing: 0.5px;
}

.btn-primary {
    background-color: var(--black);
    color: var(--white);
    border: 2px solid var(--black);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--black);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.btn-secondary {
    background-color: transparent;
    color: var(--black);
}

.btn-secondary:hover {
    background-color: var(--black);
    color: var(--white);
    transform: translateY(-3px);
}

.category-tag {
    display: inline-block;
    padding: 6px 16px;
    background-color: var(--black);
    color: var(--white);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.read-time {
    display: inline-flex;
    align-items: center;
    color: var(--gray-600);
    font-size: 0.9rem;
}

.read-time i {
    margin-right: 5px;
}

/* ===== HEADER & NAVIGATION ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--white);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    height: var(--header-height);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--black);
    display: flex;
    align-items: center;
    letter-spacing: 1px;
}

.logo span {
    color: var(--accent);
    font-weight: 800;
}

.logo-icon {
    margin-right: 10px;
    font-size: 1.8rem;
    color: var(--accent);
}

.main-nav {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    gap: 40px;
}

.nav-link {
    font-weight: 600;
    font-size: 1.05rem;
    position: relative;
    padding: 5px 0;
    color: var(--gray-800);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--black);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.search-btn, .menu-toggle {
    background: none;
    border: none;
    font-size: 1.2rem;
    color: var(--black);
    cursor: pointer;
    transition: var(--transition);
}

.search-btn:hover, .menu-toggle:hover {
    color: var(--accent);
}

.menu-toggle {
    display: none;
}

/* ===== DARK SECTION STYLES ===== */
.section-dark {
    background-color: var(--black);
    color: var(--white);
}

.section-dark .section-title,
.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark h4 {
    color: var(--white);
}

.section-dark .section-subtitle,
.section-dark p {
    color: var(--gray-300);
}

.section-dark .category-tag {
    background-color: var(--accent);
    color: var(--black);
}

/* ===== HERO SECTION - FIXED 16:9 ===== */
.hero {
    padding-top: calc(var(--header-height) + 60px);
    padding-bottom: 100px;
    background-color: var(--white);
    position: relative;
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.hero-content h1 {
    font-size: 3.8rem;
    margin-bottom: 25px;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--gray-600);
    margin-bottom: 35px;
    max-width: 600px;
    font-weight: 400;
}

.hero-stats {
    display: flex;
    gap: 50px;
    margin-top: 50px;
}

.stat-item h3 {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 5px;
    font-weight: 800;
}

.stat-item p {
    font-size: 1rem;
    color: var(--gray-600);
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.hero-image {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
}

/* Fixed 16:9 Image Container */
.hero-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

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

.hero-badge {
    position: absolute;
    top: 25px;
    right: 25px;
    background-color: var(--black);
    color: var(--white);
    padding: 10px 22px;
    border-radius: var(--radius);
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 1px;
    z-index: 2;
}

/* ===== FEATURED CATEGORIES ===== */
.categories {
    background-color: var(--white);
}

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

.category-card {
    background-color: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
    border: 1px solid var(--gray-200);
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}

/* 16:9 Image Container */
.category-img {
    position: relative;
    overflow: hidden;
}

.category-img::before {
    content: '';
    display: block;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
}

.category-img img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.category-content {
    padding: 25px;
}

.category-content h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.category-content p {
    color: var(--gray-600);
    font-size: 0.95rem;
    margin-bottom: 15px;
    line-height: 1.6;
}

.category-count {
    display: flex;
    align-items: center;
    color: var(--gray-500);
    font-size: 0.9rem;
    font-weight: 500;
}

.category-count i {
    margin-right: 8px;
    color: var(--accent);
}

/* ===== TRENDING ARTICLES - FIXED SLIDER ===== */
.trending-articles {
    background-color: var(--black);
    color: var(--white);
}

.trending-slider-container {
    position: relative;
}

.swiper {
    width: 100%;
    height: 450px;
    padding: 20px 10px 60px;
}

.trending-slide {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Trending Card Layout - Image Right, Content Left */
.trending-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    background-color: var(--gray-900);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    height: 400px;
    width: 100%;
    border: 1px solid var(--gray-800);
}

.trending-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    border-color: var(--accent);
}

.trending-content {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.trending-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.trending-content h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    line-height: 1.4;
    color: var(--white);
}

.trending-excerpt {
    color: var(--gray-300);
    font-size: 1rem;
    margin-bottom: 25px;
    line-height: 1.7;
}

.trending-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.trending-author {
    display: flex;
    align-items: center;
}

.author-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 12px;
    border: 2px solid var(--accent);
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h4 {
    font-size: 1rem;
    margin-bottom: 2px;
    color: var(--white);
    font-weight: 600;
}

.author-info p {
    font-size: 0.85rem;
    color: var(--gray-500);
    margin: 0;
}

.trending-stats {
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--gray-500);
    font-size: 0.9rem;
}

.trending-stats span {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Right side image container */
.trending-image {
    height: 100%;
    overflow: hidden;
    position: relative;
}

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

.trending-card:hover .trending-image img {
    transform: scale(1.05);
}

/* Swiper navigation buttons */
.swiper-button-next, .swiper-button-prev {
    color: var(--white);
    background-color: var(--black);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1px solid var(--gray-800);
    transition: var(--transition);
}

.swiper-button-next:hover, .swiper-button-prev:hover {
    background-color: var(--accent);
    color: var(--black);
    border-color: var(--accent);
}

.swiper-button-next::after, .swiper-button-prev::after {
    font-size: 1.2rem;
    font-weight: 700;
}

/* Swiper pagination */
.swiper-pagination {
    bottom: 10px !important;
}

.swiper-pagination-bullet {
    background-color: var(--gray-600);
    opacity: 1;
    width: 10px;
    height: 10px;
}

.swiper-pagination-bullet-active {
    background-color: var(--accent);
}

/* ===== ADSENSE AD UNITS ===== */
.ad-section {
    padding: 50px 0;
}

.ad-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.ad-unit {
    background-color: var(--gray-100);
    border: 2px dashed var(--gray-300);
    border-radius: var(--radius);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px;
    text-align: center;
    color: var(--gray-600);
}

.ad-label {
    font-size: 0.8rem;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 10px;
    font-weight: 600;
}

.ad-unit.horizontal {
    width: 100%;
    max-width: 728px;
    height: 90px;
}

.ad-unit.rectangle {
    width: 300px;
    height: 250px;
}

.ad-unit.leaderboard {
    width: 100%;
    max-width: 970px;
    height: 90px;
}

/* ===== EDITOR'S PICKS ===== */
.editor-picks {
    background-color: var(--white);
}

.editor-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.featured-editor-pick {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-200);
}

/* 16:9 Image Container */
.featured-img {
    position: relative;
    overflow: hidden;
}

.featured-img::before {
    content: '';
    display: block;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
}

.featured-img img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.featured-editor-pick:hover .featured-img img {
    transform: scale(1.05);
}

.featured-content {
    padding: 40px;
}

.featured-content h2 {
    font-size: 2.2rem;
    margin-bottom: 18px;
    line-height: 1.3;
}

.featured-content p {
    color: var(--gray-600);
    margin-bottom: 25px;
    font-size: 1.05rem;
    line-height: 1.7;
}

.editor-sidebar {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.sidebar-pick {
    display: flex;
    gap: 20px;
    background-color: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--gray-200);
}

.sidebar-pick:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}

/* Square Image for Sidebar */
.sidebar-img {
    width: 120px;
    height: 120px;
    flex-shrink: 0;
    overflow: hidden;
}

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

.sidebar-pick:hover .sidebar-img img {
    transform: scale(1.1);
}

.sidebar-content {
    padding: 18px 18px 18px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.sidebar-content h4 {
    font-size: 1.15rem;
    margin-bottom: 10px;
    line-height: 1.4;
}

.sidebar-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 0.85rem;
    color: var(--gray-600);
    font-weight: 500;
}

/* ===== BEAUTY TIPS SECTION ===== */
.beauty-tips {
    background-color: var(--black);
}

.beauty-tips-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.tip-card {
    background-color: var(--gray-900);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--gray-800);
    height: 100%;
}

.tip-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}

/* 16:9 Image Container */
.tip-img {
    position: relative;
    overflow: hidden;
}

.tip-img::before {
    content: '';
    display: block;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
}

.tip-img img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.tip-content {
    padding: 30px;
}

.tip-content h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--white);
}

.tip-content p {
    color: var(--gray-400);
    margin-bottom: 20px;
    line-height: 1.6;
}

/* ===== CELEBRITY STYLE ===== */
.celebrity-style {
    background-color: var(--white);
}

.celebrity-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.celebrity-card {
    background-color: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--gray-200);
}

.celebrity-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}

/* 16:9 Image Container */
.celebrity-img {
    position: relative;
    overflow: hidden;
}

.celebrity-img::before {
    content: '';
    display: block;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
}

.celebrity-img img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.celebrity-tag {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: var(--black);
    color: var(--white);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    z-index: 2;
}

.celebrity-content {
    padding: 20px;
}

.celebrity-content h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.celebrity-content p {
    color: var(--gray-600);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ===== LATEST ARTICLES WITH SIDEBAR ===== */
.latest-articles {
    background-color: var(--white);
    padding: 30px 0;
}

.articles-container {
    display: grid;
    grid-template-columns: 9fr 3fr;
    gap: 40px;
}

/* Main content column (col-md-9) */
.main-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.content-header {
    margin-bottom: 30px;
    border-bottom: 2px solid var(--gray-200);
    padding-bottom: 20px;
}

.content-header h2 {
    font-size: 2.5rem;
    color: var(--black);
    margin-bottom: 10px;
}

.content-header p {
    color: var(--gray-600);
    font-size: 1.1rem;
    max-width: 800px;
}

/* Article list */
.article-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.article-item {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 30px;
    background-color: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--gray-200);
}

.article-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}

.article-image {
    position: relative;
    overflow: hidden;
}

.article-image::before {
    content: '';
    display: block;
    padding-top: 75%; /* 4:3 Aspect Ratio */
}

.article-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.article-item:hover .article-image img {
    transform: scale(1.1);
}

.article-details {
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.article-details h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    line-height: 1.4;
    color: var(--black);
}

.article-excerpt {
    color: var(--gray-600);
    font-size: 0.95rem;
    margin-bottom: 20px;
    line-height: 1.6;
}

.article-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.article-author {
    display: flex;
    align-items: center;
}

.article-author-avatar {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 10px;
    border: 2px solid var(--accent);
}

.article-author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-author-info h4 {
    font-size: 0.9rem;
    margin-bottom: 2px;
    color: var(--black);
    font-weight: 600;
}

.article-author-info p {
    font-size: 0.8rem;
    color: var(--gray-500);
    margin: 0;
}

.article-stats {
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--gray-500);
    font-size: 0.85rem;
}

.article-stats span {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Sidebar (col-md-3) */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.sidebar-widget {
    background-color: var(--white);
    border-radius: var(--radius);
    padding: 25px;
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-200);
}

.widget-title {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--black);
    position: relative;
    padding-bottom: 10px;
}

.widget-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--accent);
}

/* Popular posts widget */
.popular-posts {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.popular-post {
    display: flex;
    gap: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--gray-200);
}

.popular-post:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.popular-post-image {
    width: 70px;
    height: 70px;
    border-radius: var(--radius);
    overflow: hidden;
    flex-shrink: 0;
}

.popular-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.popular-post:hover .popular-post-image img {
    transform: scale(1.1);
}

.popular-post-content h4 {
    font-size: 0.95rem;
    margin-bottom: 5px;
    line-height: 1.4;
}

.popular-post-content p {
    color: var(--gray-500);
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Categories widget */
.categories-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.category-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    background-color: var(--gray-100);
    border-radius: var(--radius);
    transition: var(--transition);
    color: var(--gray-700);
}

.category-link:hover {
    background-color: var(--accent);
    color: var(--black);
    transform: translateX(5px);
}

.category-count {
    background-color: var(--white);
    color: var(--black);
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Newsletter widget */
.newsletter-widget {
    background-color: var(--black);
    color: var(--white);
}

.newsletter-widget .widget-title {
    color: var(--white);
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.newsletter-input {
    padding: 12px 15px;
    border-radius: var(--radius);
    border: none;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    background-color: var(--gray-900);
    color: var(--white);
}

.newsletter-input:focus {
    outline: none;
    box-shadow: 0 0 0 2px var(--accent);
}

.newsletter-btn {
    padding: 12px 20px;
    background-color: var(--accent);
    color: var(--black);
    border: none;
    border-radius: var(--radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-family: 'Poppins', sans-serif;
}

.newsletter-btn:hover {
    background-color: var(--white);
    transform: translateY(-3px);
}

/* Social widget */
.social-widget .social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.social-widget .social-link {
    width: 40px;
    height: 40px;
    background-color: var(--gray-100);
    color: var(--black);
}

.social-widget .social-link:hover {
    background-color: var(--accent);
    color: var(--black);
}

/* ===== POPULAR TAGS ===== */
.popular-tags {
    background-color: var(--black);
}

.tags-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    max-width: 900px;
    margin: 0 auto;
}

.tag {
    display: inline-block;
    padding: 12px 25px;
    background-color: var(--gray-900);
    color: var(--gray-300);
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.95rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--gray-800);
}

.tag:hover {
    background-color: var(--accent);
    color: var(--black);
    transform: translateY(-3px);
    border-color: var(--accent);
}

/* ===== FOOTER ===== */
.footer {
    background-color: var(--black);
    color: var(--white);
    padding-top: 30px;
    border-top: 1px solid var(--gray-900);
}

.footer-top {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 60px;
    margin-bottom: 30px;
}

.footer-column h3 {
    color: var(--white);
    font-size: 1.4rem;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

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

.footer-logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 25px;
    display: block;
    letter-spacing: 1px;
}

.footer-logo span {
    color: var(--accent);
    font-weight: 800;
}

.footer-about p {
    color: var(--gray-400);
    margin-bottom: 30px;
    font-size: 0.95rem;
    line-height: 1.7;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background-color: var(--gray-900);
    border-radius: 50%;
    font-size: 1.1rem;
    transition: var(--transition);
    border: 1px solid var(--gray-800);
}

.social-link:hover {
    background-color: var(--accent);
    color: var(--black);
    transform: translateY(-5px);
    border-color: var(--accent);
}

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

.footer-links a {
    color: var(--gray-400);
    transition: var(--transition);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
}

.footer-links a:hover {
    color: var(--accent);
    padding-left: 5px;
}

.footer-links a i {
    margin-right: 10px;
    width: 20px;
    color: var(--accent);
}

.footer-bottom {
    border-top: 1px solid var(--gray-900);
    padding: 35px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.copyright {
    color: var(--gray-500);
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.footer-menu {
    display: flex;
    gap: 30px;
}

.footer-menu a {
    color: var(--gray-500);
    font-size: 0.9rem;
    transition: var(--transition);
    letter-spacing: 0.5px;
}

.footer-menu a:hover {
    color: var(--accent);
}

/* ===== HERO V2 - LARGER IMAGE ===== */
.hero-v2 {
    padding-top: calc(var(--header-height) + 40px);
    padding-bottom: 0;
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background-color: var(--white);
}

.hero-v2-container {
    position: relative;
    z-index: 10;
    max-width: 650px;
    padding: 40px;
    background-color: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    margin-left: 5%;
    margin-top: 5%;
    margin-bottom: 1%;
}

.hero-v2-title {
    font-size: 3rem;
    margin-bottom: 25px;
    line-height: 1.15;
    color: var(--black);
    font-weight: 800;
}

.hero-v2-subtitle {
    font-size: 1rem;
    color: var(--gray-700);
    margin-bottom: 35px;
    font-weight: 400;
    line-height: 1.7;
}

.hero-v2-btns {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-v2-image-container {
    position: absolute;
    top: 0;
    right: 0;
    width: 70%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.hero-v2-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s ease;
}

.hero-v2:hover .hero-v2-image {
    transform: scale(1.03);
}

.hero-v2-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.hero-v2-badge {
    position: absolute;
    top: 40px;
    right: 40px;
    background-color: var(--black);
    color: var(--white);
    padding: 12px 28px;
    border-radius: var(--radius);
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 1.5px;
    z-index: 3;
    text-transform: uppercase;
}

/* Hero Stats */
.hero-v2-stats {
    display: flex;
    gap: 60px;
    border-top: 1px solid var(--gray-300);
    padding-top: 40px;
}

.hero-v2-stat-item h3 {
    font-size: 3rem;
    color: var(--accent);
    margin-bottom: 8px;
    font-weight: 800;
    font-family: 'Poppins', sans-serif;
}

.hero-v2-stat-item p {
    font-size: 1.05rem;
    color: var(--gray-600);
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    font-weight: 600;
}

/* ===== ENHANCED EDITOR'S PICKS ===== */
.editor-picks-v2 {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 50%, #f5f5f5 100%);
    position: relative;
    overflow: hidden;
}

.editor-picks-v2::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, var(--accent) 0%, transparent 70%);
    opacity: 0.05;
    border-radius: 50%;
    transform: translate(150px, -150px);
}

.editor-picks-v2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 200px;
    height: 200px;
    background: linear-gradient(45deg, var(--black) 0%, transparent 70%);
    opacity: 0.03;
    border-radius: 50%;
    transform: translate(-100px, 100px);
}

.editor-picks-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 30px;
}

.editor-picks-title-container {
    max-width: 600px;
}

.editor-picks-title {
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.1;
    display: flex;
    flex-direction: column;
}

.editor-picks-title-main {
    font-size: 2.2rem;
    color: var(--gray-600);
    font-weight: 400;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.editor-picks-title-sub {
    font-size: 3.5rem;
    color: var(--black);
    font-weight: 800;
    position: relative;
    display: inline-block;
}

.editor-picks-title-sub::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 80px;
    height: 3px;
    background-color: var(--accent);
}

.featured-author-info{
   width: 100%;
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.editor-picks-description {
    font-size: 1.1rem;
    color: var(--gray-600);
    line-height: 1.7;
    max-width: 500px;
}

.editor-picks-filter {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 12px 24px;
    background: transparent;
    border: 2px solid var(--gray-300);
    border-radius: 30px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    color: var(--gray-600);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    height: 50px;
}

.filter-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-2px);
}

.filter-btn.active {
    background-color: var(--black);
    color: var(--white);
    border-color: var(--black);
}

.filter-btn.active:hover {
    background-color: var(--gray-800);
    border-color: var(--gray-800);
    color: var(--white);
    transform: translateY(-2px);
}

.editor-picks-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 50px;
}

/* Featured Pick */
.featured-editor-pick-v2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    padding: 40px;
    position: relative;
    z-index: 2;
}

.featured-editor-content {
    display: flex;
    flex-direction: column;
}

.editor-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--accent), #c19b2e);
    color: var(--black);
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.85rem;
    margin-bottom: 30px;
    width: fit-content;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.2);
}

.editor-badge i {
    font-size: 1rem;
}

.featured-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.featured-category {
    background-color: var(--black);
    color: var(--white);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.featured-date {
    color: var(--gray-600);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
}

.featured-title {
    font-size: 2.2rem;
    margin-bottom: 20px;
    line-height: 1.3;
    color: var(--black);
}

.featured-excerpt {
    color: var(--gray-600);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 30px;
    flex-grow: 1;
}

.featured-author {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
}

.featured-author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--accent);
}

.featured-author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-author-info h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    font-weight: 600;
}

.featured-author-info p {
    color: var(--gray-600);
    font-size: 0.9rem;
}

.featured-stats {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--gray-200);
}

.stat {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--gray-600);
    font-weight: 500;
}

.stat i {
    color: var(--accent);
}

.featured-read-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: var(--black);
    color: var(--white);
    padding: 16px 32px;
    border-radius: var(--radius);
    font-weight: 600;
    transition: all 0.3s ease;
    width: fit-content;
}

.featured-read-btn:hover {
    background-color: var(--accent);
    color: var(--black);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.3);
}

.featured-read-btn i {
    transition: transform 0.3s ease;
}

.featured-read-btn:hover i {
    transform: translateX(5px);
}

.featured-editor-image {
    position: relative;
}

.image-frame {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    height: 400px;
}

.image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.featured-editor-pick-v2:hover .image-frame img {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.2), transparent);
}

.image-caption {
    position: absolute;
    bottom: 20px;
    left: 20px;
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 500;
    z-index: 2;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

/* Sidebar Picks */
.editor-picks-sidebar {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.sidebar-pick-v2 {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 20px;
    background: var(--white);
    border-radius: var(--radius);
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    z-index: 1;
}

.sidebar-pick-v2:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--accent);
}

.sidebar-pick-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--gray-200);
    font-family: 'Poppins', sans-serif;
    line-height: 1;
    transition: color 0.3s ease;
}

.sidebar-pick-v2:hover .sidebar-pick-number {
    color: var(--accent);
}

.sidebar-pick-content {
    display: flex;
    flex-direction: column;
}

.sidebar-pick-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.sidebar-category {
    background-color: var(--gray-100);
    color: var(--gray-700);
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.sidebar-read-time {
    color: var(--gray-500);
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.sidebar-pick-content h4 {
    font-size: 1.2rem;
    margin-bottom: 12px;
    line-height: 1.4;
    color: var(--black);
}

.sidebar-excerpt {
    color: var(--gray-600);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 15px;
    flex-grow: 1;
}

.sidebar-pick-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid var(--gray-200);
}

.sidebar-author {
    color: var(--gray-700);
    font-weight: 600;
    font-size: 0.9rem;
}

.sidebar-save-btn {
    background: transparent;
    border: none;
    color: var(--gray-400);
    cursor: pointer;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.sidebar-save-btn:hover {
    color: var(--accent);
}

.sidebar-pick-image {
    width: 80px;
    height: 80px;
    border-radius: var(--radius);
    overflow: hidden;
    flex-shrink: 0;
}

.sidebar-pick-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.sidebar-pick-v2:hover .sidebar-pick-image img {
    transform: scale(1.1);
}

.editor-picks-view-all {
    text-align: center;
    margin-top: 40px;
}

.view-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    color: var(--black);
    padding: 16px 40px;
    border-radius: 30px;
    font-weight: 600;
    border: 2px solid var(--black);
    transition: all 0.3s ease;
    font-size: 1.05rem;
}

.view-all-btn:hover {
    background-color: var(--black);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.view-all-btn i {
    transition: transform 0.3s ease;
}

.view-all-btn:hover i {
    transform: translateX(5px);
}

/* ===== DETAIL PAGE SPECIFIC STYLES ===== */

/* ===== ARTICLE HEADER ===== */
.article-header {
    padding-top: 40px;
    padding-bottom: 60px;
    background-color: var(--gray-100);
    position: relative;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 30px;
    font-size: 0.95rem;
    color: var(--gray-600);
}

.breadcrumb a {
    color: var(--gray-600);
    transition: var(--transition);
}

.breadcrumb a:hover {
    color: var(--accent);
}

.breadcrumb .separator {
    color: var(--gray-400);
}

.article-title {
    font-size: 3.2rem;
    margin-bottom: 25px;
    line-height: 1.2;
}

.article-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
}

.author-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--accent);
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-details h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: var(--black);
}

.author-details p {
    color: var(--gray-600);
    font-size: 0.95rem;
    margin: 0;
}

.meta-details {
    display: flex;
    align-items: center;
    gap: 20px;
    color: var(--gray-600);
    font-size: 0.95rem;
}

.meta-details span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.featured-image {
    margin-top: 40px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    position: relative;
}

.featured-image::before {
    content: '';
    display: block;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
}

.featured-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-captionn {
    text-align: center;
    color: var(--gray-600);
    font-size: 0.9rem;
    font-style: italic;
    margin-top: 20px;
    margin-bottom: -70px;
}

/* ===== ARTICLE CONTENT ===== */
.article-content-section {
    padding: 20px 0;
}

.article-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--gray-800);
}

.article-content > * {
    margin-bottom: 25px;
}

.article-content h2 {
    font-size: 2.2rem;
    margin-top: 50px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--gray-200);
}

.article-content h3 {
    font-size: 1.6rem;
    margin-top: 40px;
    margin-bottom: 15px;
}

.article-content p {
    margin-bottom: 25px;
}

.article-content blockquote {
    border-left: 4px solid var(--accent);
    padding-left: 25px;
    margin: 40px 0;
    font-style: italic;
    font-size: 1.3rem;
    color: var(--gray-700);
    font-family: 'Playfair Display', serif;
}

.article-content img {
    border-radius: var(--radius);
    margin: 40px 0;
    box-shadow: var(--shadow);
}

.article-content .inline-image {
    max-width: 100%;
    height: auto;
}

.article-content ul, .article-content ol {
    margin-left: 30px;
    margin-bottom: 30px;
}

.article-content li {
    margin-bottom: 12px;
}

.highlight-box {
    background-color: var(--gray-100);
    border-left: 4px solid var(--accent);
    padding: 30px;
    margin: 40px 0;
    border-radius: 0 var(--radius) var(--radius) 0;
}

.highlight-box h4 {
    color: var(--black);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

/* ===== SHARE BAR ===== */
.share-bar {
    position: sticky;
    top: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.share-label {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    font-weight: 600;
    color: var(--gray-600);
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.share-icons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.share-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-700);
    font-size: 1.1rem;
    transition: var(--transition);
    border: 1px solid var(--gray-200);
}

.share-icon:hover {
    background-color: var(--accent);
    color: var(--black);
    transform: translateY(-3px);
}

/* ===== CONTENT LAYOUT ===== */
.content-layout {
    display: grid;
    grid-template-columns: 1fr 0.4fr;
    gap: 40px;
    position: relative;
}

/* ===== AUTHOR BIO ===== */
.author-bio {
    background-color: var(--gray-100);
    padding: 40px;
    border-radius: var(--radius);
    margin-top: 60px;
    border-left: 4px solid var(--accent);
}

.author-bio-content {
    display: flex;
    align-items: center;
    gap: 25px;
}

.bio-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--accent);
    flex-shrink: 0;
}

.bio-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bio-text h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--black);
}

.bio-text p {
    color: var(--gray-700);
    margin-bottom: 15px;
}

.bio-social {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.bio-social a {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background-color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--black);
    transition: var(--transition);
}

.bio-social a:hover {
    background-color: var(--accent);
    transform: translateY(-3px);
}

/* ===== RELATED ARTICLES ===== */
.related-articles {
    background-color: var(--black);
    color: var(--white);
    padding: 100px 0;
}

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

.related-card {
    background-color: var(--gray-900);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid var(--gray-800);
}

.related-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent);
}

.related-image {
    height: 200px;
    overflow: hidden;
}

.related-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.related-content {
    padding: 25px;
}

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

.related-content h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--white);
    line-height: 1.4;
}

.related-content p {
    color: var(--gray-400);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ===== COMMENTS SECTION ===== */
.comments-section {
    padding: 80px 0;
    background-color: var(--white);
}

.comments-container {
    max-width: var(--content-width);
    margin: 0 auto;
}

.comments-title {
    font-size: 2.2rem;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--gray-200);
}

.comment-form {
    background-color: var(--gray-100);
    padding: 40px;
    border-radius: var(--radius);
    margin-bottom: 60px;
}

.form-title {
    font-size: 1.5rem;
    margin-bottom: 25px;
    color: var(--black);
}

.form-group {
    margin-bottom: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-input, .form-textarea {
    width: 100%;
    padding: 15px;
    border-radius: var(--radius);
    border: 1px solid var(--gray-300);
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
}

.form-input:focus, .form-textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.2);
}

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

.form-submit {
    padding: 15px 40px;
    background-color: var(--black);
    color: var(--white);
    border: none;
    border-radius: var(--radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-family: 'Poppins', sans-serif;
}

.form-submit:hover {
    background-color: var(--accent);
    color: var(--black);
    transform: translateY(-3px);
}

/* ===== ARTICLE TAGS ===== */
.article-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.article-tag {
    background: rgb(213 213 213);
    color: #000;
    padding: 4px 12px;
    border-radius: 16px;
    font-size: 0.75rem;
    font-weight: 600;
    border: 1px solid rgba(126, 217, 87, 0.2);
    transition: all 0.3s ease;
}

/* ===== DATE TIME STYLE ===== */
span.date-time-article {
    font-size: smaller;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1200px) {
    .container {
        max-width: 1140px;
    }
    
    .hero-content h1 {
        font-size: 3.2rem;
    }
    
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .celebrity-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .beauty-tips-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .trending-card {
        height: 380px;
    }
    
    .articles-container {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .main-content {
        order: 2;
    }
    
    .sidebar {
        order: 1;
    }
    
    .editor-picks-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .featured-editor-pick-v2 {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .image-frame {
        height: 350px;
    }
    
    .hero-v2-container {
        margin-left: 3%;
        max-width: 600px;
    }
    
    .hero-v2-title {
        font-size: 3.5rem;
    }
    
    .hero-v2-image-container {
        width: 65%;
    }
    
    /* Detail page responsive */
    .article-title {
        font-size: 2.8rem;
    }
    
    .related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .container {
        max-width: 960px;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .editor-grid {
        grid-template-columns: 1fr;
    }
    
    .beauty-tips-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-top {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .menu-toggle {
        display: block;
    }
    
    .main-nav {
        position: fixed;
        top: var(--header-height);
        left: -100%;
        width: 300px;
        height: calc(100vh - var(--header-height));
        background-color: var(--white);
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
        box-shadow: 5px 0 20px rgba(0, 0, 0, 0.1);
        transition: left 0.4s ease;
        z-index: 999;
    }
    
    .main-nav.active {
        left: 0;
    }
    
    .nav-list {
        flex-direction: column;
        gap: 25px;
        width: 100%;
    }
    
    /* Updated trending card for tablet */
    .trending-card {
        grid-template-columns: 1fr;
        height: auto;
        gap: 0;
    }
    
    .trending-content {
        padding: 30px;
    }
    
    .trending-image {
        height: 300px;
    }
    
    .article-item {
        grid-template-columns: 1fr 1.5fr;
    }
    
    .editor-picks-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .editor-picks-title {
        font-size: 3rem;
    }
    
    .editor-picks-title-sub {
        font-size: 3rem;
    }
    
    .featured-title {
        font-size: 1.8rem;
    }
    
    .hero-v2 {
        min-height: 80vh;
        flex-direction: column;
    }
    
    .hero-v2-container {
        margin: 0 auto;
        width: 90%;
        margin-top: 30px;
        text-align: center;
        padding: 40px 30px;
    }
    
    .hero-v2-image-container {
        position: relative;
        width: 100%;
        height: 50vh;
        order: -1;
    }
    
    .hero-v2-title {
        font-size: 3rem;
    }
    
    .hero-v2-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-v2-btns {
        justify-content: center;
    }
    
    .hero-v2-badge {
        top: 20px;
        right: 20px;
    }
    
    .hero-v2-stats {
        justify-content: center;
        flex-wrap: wrap;
        gap: 40px;
    }
    
    /* Detail page responsive */
    .content-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .share-bar {
        position: static;
        flex-direction: row;
        justify-content: center;
        margin-left: 0;
        margin-top: 40px;
        margin-bottom: 20px;
    }
    
    .share-label {
        writing-mode: horizontal-tb;
        transform: none;
        margin-right: 15px;
    }
    
    .share-icons {
        flex-direction: row;
    }
}

@media (max-width: 768px) {    
    .section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        flex-wrap: wrap;
        justify-content: center;
        gap: 30px;
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-top {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .ad-unit.horizontal {
        height: 180px;
    }
    
    .trending-content h3 {
        font-size: 1.5rem;
    }
    
    .swiper {
        height: 500px;
    }
    
    .article-item {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .article-image::before {
        padding-top: 56.25%; /* 16:9 for mobile */
    }
    
    .editor-picks-v2 {
        padding: 60px 0;
    }
    
    .editor-picks-title {
        font-size: 2.5rem;
    }
    
    .editor-picks-title-sub {
        font-size: 2.5rem;
    }
    
    .editor-picks-title-main {
        font-size: 1.8rem;
    }
    
    .featured-editor-pick-v2 {
        padding: 30px;
    }
    
    .sidebar-pick-v2 {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .sidebar-pick-number {
        position: absolute;
        top: 15px;
        right: 15px;
        font-size: 2rem;
    }
    
    .sidebar-pick-image {
        width: 100%;
        height: 150px;
        order: -1;
    }
    
    .filter-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .hero-v2 {
        min-height: auto;
        padding-top: calc(var(--header-height));
    }
    
    .hero-v2-container {
        padding: 30px 20px;
        width: 95%;
    }
    
    .hero-v2-title {
        font-size: 2.5rem;
    }
    
    .hero-v2-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-v2-btns {
        align-items: center;
        gap: 15px;
    }
    
    .hero-v2-image-container {
        height: auto;
    }
    
    .hero-v2-stat-item h3 {
        font-size: 2.5rem;
    }
    
    /* Detail page responsive */
    .article-title {
        font-size: 2.2rem;
    }
    
    .article-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .meta-details {
        flex-wrap: wrap;
    }
    
    .related-grid {
        grid-template-columns: 1fr;
    }
    
    .author-bio-content {
        flex-direction: column;
        text-align: center;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 15px;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .main-nav {
        width: 100%;
    }
    
    .featured-content {
        padding: 25px;
    }
    
    .featured-content h2 {
        font-size: 1.8rem;
    }
    
    .trending-card {
        height: auto;
    }
    
    .trending-content {
        padding: 25px;
    }
    
    .trending-content h3 {
        font-size: 1.3rem;
    }
    
    .trending-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .content-header h2 {
        font-size: 2rem;
    }
    
    .article-details h3 {
        font-size: 1.3rem;
    }
    
    .article-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .editor-picks-title {
        font-size: 2rem;
    }
    
    .editor-picks-title-sub {
        font-size: 2rem;
    }
    
    .featured-editor-pick-v2 {
        padding: 25px;
    }
    
    .featured-title {
        font-size: 1.6rem;
    }
    
    .editor-picks-filter {
        gap: 8px;
    }
    
    .filter-btn {
        padding: 8px 16px;
        font-size: 0.85rem;
    }
    
    .hero-v2-title {
        font-size: 2.2rem;
    }
    
    .hero-v2-subtitle {
        font-size: 1rem;
    }
    
    .hero-v2-stats {
        flex-direction: column;
        gap: 25px;
    }
    
    .hero-v2-badge {
        padding: 10px 20px;
        font-size: 0.9rem;
        top: 15px;
        right: 15px;
    }
    
    /* Detail page responsive */
    .article-title {
        font-size: 1.8rem;
    }
    
    .article-content h2 {
        font-size: 1.8rem;
    }
    
    .article-content h3 {
        font-size: 1.5rem;
    }
    
    .comment-form {
        padding: 25px;
    }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    animation: fadeIn 0.8s ease forwards;
}

/* Animation for Hero V2 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-v2-container {
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

.hero-v2-image {
    animation: fadeInUp 0.8s ease-out 0.1s both;
}

/* Animation for Editor's Picks */
@keyframes pickAppear {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.sidebar-pick-v2 {
    animation: pickAppear 0.6s ease-out forwards;
}

.sidebar-pick-v2:nth-child(1) { animation-delay: 0.1s; }
.sidebar-pick-v2:nth-child(2) { animation-delay: 0.2s; }
.sidebar-pick-v2:nth-child(3) { animation-delay: 0.3s; }
.sidebar-pick-v2:nth-child(4) { animation-delay: 0.4s; }

/* Filter functionality styles */
.editor-pick-hidden {
    display: none;
}

/* ===== SEARCH OVERLAY ===== */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(8px);
    z-index: 9999;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.search-overlay.active {
    display: flex;
    opacity: 1;
    align-items: center;
    justify-content: center;
}

.search-container {
    width: 90%;
    max-width: 700px;
    background: linear-gradient(145deg, #ffffff, #fafafa);
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.15);
    position: relative;
    overflow: hidden;
}

.search-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), #c19b2e, var(--accent));
    background-size: 200% 100%;
    animation: shimmer 3s infinite linear;
}

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

/* Search Header */
.search-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 40px;
}

.search-title-wrapper {
    display: flex;
    align-items: center;
    gap: 20px;
}

.search-icon-circle {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent), #c19b2e);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--black);
    font-size: 1.5rem;
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.3);
}

.search-title {
    font-size: 2.2rem;
    color: var(--black);
    margin-bottom: 5px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.search-subtitle {
    color: var(--gray-600);
    font-size: 1rem;
    margin: 0;
    opacity: 0.8;
}

.search-close-btn {
    background: var(--gray-100);
    border: 2px solid var(--gray-200);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    color: var(--gray-700);
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-close-btn:hover {
    background: var(--black);
    color: var(--white);
    border-color: var(--black);
    transform: rotate(90deg);
}

/* Search Form */
.search-form-main {
    margin-bottom: 40px;
}

.search-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background: var(--white);
    border-radius: 16px;
    border: 2px solid var(--gray-200);
    overflow: hidden;
    transition: all 0.3s ease;
}

.search-input-wrapper:focus-within {
    border-color: var(--accent);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.15);
    transform: translateY(-2px);
}

.search-input-icon {
    padding: 0 25px;
    color: var(--gray-500);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.search-input-main {
    flex: 1;
    padding: 22px 20px;
    border: none;
    background: none;
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    color: var(--gray-800);
    outline: none;
    font-weight: 500;
}

.search-input-main::placeholder {
    color: var(--gray-500);
    font-weight: 400;
}

.search-submit-main {
    background: var(--black);
    color: var(--white);
    border: none;
    padding: 0 30px;
    height: 100%;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-submit-main:hover {
    background: var(--accent);
    color: var(--black);
    padding: 0 35px;
}

/* Suggestions */
.search-suggestions-box {
    background: var(--white);
    border-radius: 16px;
    padding: 30px;
    border: 1px solid var(--gray-200);
}

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

.suggestions-header i {
    color: var(--accent);
    font-size: 1.2rem;
}

.suggestions-header h3 {
    font-size: 1.3rem;
    color: var(--black);
    margin: 0;
    font-weight: 700;
}

.suggestions-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.suggestion-tag-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: var(--gray-100);
    color: var(--gray-800);
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.suggestion-tag-item:hover {
    background: var(--accent);
    color: var(--black);
    transform: translateY(-3px);
    border-color: var(--accent);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.2);
}

.tag-icon {
    font-size: 1.1rem;
}

.tag-text {
    font-weight: 600;
    font-size: 0.95rem;
}

/* Responsive */
@media (max-width: 768px) {
    .search-container {
        padding: 30px;
        width: 95%;
        margin: 20px;
    }
    
    .search-title-wrapper {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .search-title {
        font-size: 1.8rem;
    }
    
    .search-input-main {
        padding: 18px 15px;
        font-size: 1rem;
    }
    
    .search-input-icon {
        padding: 0 15px;
    }
    
    .search-suggestions-box {
        padding: 20px;
    }
    
    .suggestions-tags {
        gap: 10px;
    }
    
    .suggestion-tag-item {
        padding: 10px 16px;
        font-size: 0.9rem;
    }
}
/* Search Submit Button Styles */
.search-submit-main {
    background: linear-gradient(135deg, var(--black) 0%, var(--gray-900) 100%);
    color: var(--white);
    border: none;
    padding: 0 32px;
    height: 100%;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.search-submit-main::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.6s ease;
}

.search-submit-main:hover {
    background: linear-gradient(135deg, var(--accent) 0%, #c19b2e 100%);
    color: var(--black);
    padding: 0 36px;
}

.search-submit-main:hover::before {
    left: 100%;
}

.search-submit-main:active {
    transform: scale(0.98);
}

.search-submit-main:focus {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

/* Icon inside button */
.search-submit-main i {
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.search-submit-main:hover i {
    transform: translateX(3px);
}

/* Text inside button */
.search-submit-main span {
    display: inline-block;
}

/* For responsive design */
@media (max-width: 768px) {
    .search-submit-main {
        padding: 0 24px;
        font-size: 0.95rem;
    }
    
    .search-submit-main:hover {
        padding: 0 28px;
    }
    
    .search-submit-main span {
        display: none; /* Hide text on mobile, show only icon */
    }
}

@media (max-width: 480px) {
    .search-submit-main {
        padding: 0 20px;
        min-width: 60px;
    }
}