/* ========================================
   CSS RESET & BASE STYLES
   ======================================== */

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

:root {
    --primary-color: #C44536;
    --secondary-color: #ff6b35;
    --accent-color: #f7931e;
    --dark-color: #1a1a1a;
    --text-color: #333;
    --light-gray: #f8f9fa;
    --border-color: #e0e0e0;
    --white: #ffffff;
    --success-color: #2ecc71;
    --info-color: #3498db;
    
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;
    
    --transition: all 0.3s ease;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.12);
}

body {
    font-family: var(--font-primary);
    line-height: 1.7;
    color: var(--text-color);
    background: var(--white);
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

.container-article {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========================================
   HEADER & NAVIGATION
   ======================================== */

.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

.top-bar {
    background: var(--primary-color);
    color: var(--white);
    padding: 12px 0;
}

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

.logo-section {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo {
    height: 40px;
    width: auto;
}

.brand-name {
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: -0.5px;
}

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

.social-links a {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    transition: var(--transition);
}

.social-links a:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-2px);
}

.navbar {
    background: var(--white);
    border-bottom: 1px solid var(--border-color);
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--dark-color);
}

.nav-menu {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-menu a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-color);
    position: relative;
}

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

.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: -16px;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary-color);
}

.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    box-shadow: var(--shadow-md);
    border-radius: 8px;
    padding: 12px 0;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
}

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

.dropdown-menu li {
    padding: 0;
}

.dropdown-menu a {
    display: block;
    padding: 10px 20px;
    font-size: 0.9rem;
}

.dropdown-menu a:hover {
    background: var(--light-gray);
}

.search-box {
    display: flex;
    align-items: center;
    background: var(--light-gray);
    border-radius: 25px;
    padding: 8px 16px;
    gap: 8px;
}

.search-box input {
    border: none;
    background: none;
    outline: none;
    font-size: 0.9rem;
    width: 200px;
}

.search-box button {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-color);
    font-size: 1rem;
}

/* ========================================
   HERO SECTION
   ======================================== */

.hero {
    background: var(--light-gray);
    padding: 40px 0;
}

.hero-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
}

.hero-featured {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    height: 600px;
}

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

.hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    color: var(--white);
}

.category-badge {
    display: inline-block;
    background: var(--primary-color);
    color: var(--white);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.hero-overlay h1 {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
}

.hero-excerpt {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 24px;
    opacity: 0.95;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background: #a33529;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.hero-sidebar {
    background: var(--white);
    border-radius: 16px;
    padding: 30px;
    height: fit-content;
    box-shadow: var(--shadow-sm);
}

.sidebar-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--dark-color);
}

.trending-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.trending-item {
    display: flex;
    gap: 16px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.trending-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.trending-number {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
}

.trending-content h4 {
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 8px;
    color: var(--dark-color);
}

.trending-content h4:hover {
    color: var(--primary-color);
}

.trending-meta {
    font-size: 0.8rem;
    color: #999;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* ========================================
   SECTIONS
   ======================================== */

.section {
    padding: 60px 0;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.section-title {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--dark-color);
    position: relative;
    padding-bottom: 12px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
}

.view-all {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

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

/* ========================================
   ARTICLE CARDS
   ======================================== */

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

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

.article-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.article-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.featured-large {
    grid-column: span 2;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
}

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

.article-image img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: var(--transition);
}

.featured-large .article-image img {
    height: 100%;
}

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

.article-image .category-badge {
    position: absolute;
    top: 16px;
    left: 16px;
}

.article-content {
    padding: 24px;
}

.article-content h3 {
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 12px;
    color: var(--dark-color);
}

.article-content h3:hover {
    color: var(--primary-color);
}

.article-content p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #666;
    margin-bottom: 16px;
}

.article-meta {
    display: flex;
    gap: 20px;
    font-size: 0.85rem;
    color: #999;
    margin-bottom: 16px;
}

.article-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.read-more {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.read-more:hover {
    gap: 10px;
}

/* ========================================
   HORIZONTAL ARTICLE CARDS
   ======================================== */

.articles-row {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.article-card-horizontal {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 24px;
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.article-card-horizontal:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(8px);
}

.article-card-horizontal .article-image img {
    height: 200px;
}

/* ========================================
   CATEGORIES SECTION
   ======================================== */

.categories-section {
    background: var(--light-gray);
}

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

.category-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

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

.category-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.category-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--dark-color);
}

.category-card p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.category-link {
    color: var(--primary-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.category-link:hover {
    gap: 10px;
}

/* ========================================
   NEWSLETTER SECTION
   ======================================== */

.newsletter-section {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: 60px 0;
}

.newsletter-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.newsletter-text h2 {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.newsletter-text p {
    font-size: 1.1rem;
    opacity: 0.95;
}

.newsletter-form {
    display: flex;
    gap: 12px;
}

.newsletter-form input {
    flex: 1;
    padding: 16px 20px;
    border: none;
    border-radius: 8px;
    font-size: 0.95rem;
    outline: none;
}

.newsletter-form .btn {
    white-space: nowrap;
    background: var(--dark-color);
}

.newsletter-form .btn:hover {
    background: #000;
}

/* ========================================
   FOOTER
   ======================================== */

.footer {
    background: var(--dark-color);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    height: 50px;
    margin-bottom: 16px;
}

.footer-column h3 {
    font-size: 1.2rem;
    margin-bottom: 16px;
}

.footer-column h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-column p {
    font-size: 0.9rem;
    line-height: 1.7;
    opacity: 0.8;
    margin-bottom: 20px;
}

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

.social-links-footer a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    transition: var(--transition);
}

.social-links-footer a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a {
    font-size: 0.9rem;
    opacity: 0.8;
    transition: var(--transition);
}

.footer-column ul li a:hover {
    opacity: 1;
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    font-size: 0.9rem;
    opacity: 0.8;
}

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

.footer-links a {
    font-size: 0.9rem;
    opacity: 0.8;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--primary-color);
}

/* ========================================
   ARTICLE PAGE STYLES
   ======================================== */

.article-header-section {
    padding: 40px 0;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: #999;
    margin-bottom: 30px;
}

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

.breadcrumb a:hover {
    text-decoration: underline;
}

.article-full {
    max-width: 100%;
}

.article-header-content {
    max-width: 900px;
    margin: 0 auto 40px;
    text-align: center;
}

.category-badge-large {
    display: inline-block;
    background: var(--primary-color);
    color: var(--white);
    padding: 8px 24px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.article-title {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--dark-color);
}

.article-subtitle {
    font-size: 1.3rem;
    line-height: 1.6;
    color: #666;
    margin-bottom: 30px;
}

.article-meta-large {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

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

.author-info img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.author-info div {
    text-align: left;
}

.author-info strong {
    display: block;
    font-size: 1rem;
    color: var(--dark-color);
}

.author-info span {
    font-size: 0.85rem;
    color: #999;
}

.article-stats {
    display: flex;
    gap: 20px;
    font-size: 0.9rem;
    color: #999;
}

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

.article-featured-image {
    margin-bottom: 50px;
}

.article-featured-image img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    border-radius: 16px;
}

.image-caption {
    text-align: center;
    font-size: 0.9rem;
    color: #999;
    margin-top: 12px;
    font-style: italic;
}

.article-body {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 50px;
    max-width: 100%;
}

.article-main-content {
    max-width: 800px;
}

.lead-paragraph {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 30px;
}

.article-main-content p {
    margin-bottom: 20px;
    line-height: 1.8;
}

.article-main-content h2 {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark-color);
    margin: 40px 0 20px;
}

.article-quote {
    background: var(--light-gray);
    padding: 30px;
    border-left: 4px solid var(--primary-color);
    margin: 40px 0;
    position: relative;
}

.article-quote i {
    font-size: 2rem;
    color: var(--primary-color);
    opacity: 0.3;
    position: absolute;
    top: 20px;
    left: 20px;
}

.article-quote p {
    font-size: 1.2rem;
    font-style: italic;
    line-height: 1.7;
    color: var(--dark-color);
    margin-bottom: 16px;
    padding-left: 40px;
}

.article-quote footer {
    font-size: 0.95rem;
    color: #666;
    font-style: normal;
    padding-left: 40px;
}

.info-box {
    background: #e3f2fd;
    border-left: 4px solid var(--info-color);
    padding: 20px;
    margin: 30px 0;
    display: flex;
    gap: 16px;
    border-radius: 8px;
}

.info-box i {
    font-size: 1.5rem;
    color: var(--info-color);
    flex-shrink: 0;
}

.info-box strong {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--dark-color);
}

.info-box p {
    margin: 0;
    font-size: 0.95rem;
}

.article-image-inline {
    margin: 40px 0;
}

.article-image-inline img {
    width: 100%;
    border-radius: 12px;
}

.article-list {
    margin: 20px 0;
    padding-left: 0;
}

.article-list li {
    padding-left: 30px;
    position: relative;
    margin-bottom: 16px;
    line-height: 1.7;
}

.article-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 40px 0;
}

.stat-card {
    background: var(--light-gray);
    padding: 30px 20px;
    border-radius: 12px;
    text-align: center;
    border-top: 4px solid var(--primary-color);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
}

.highlight-box {
    background: #fff3e0;
    border: 2px solid var(--accent-color);
    border-radius: 12px;
    padding: 30px;
    margin: 40px 0;
}

.highlight-box h3 {
    font-size: 1.4rem;
    color: var(--dark-color);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

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

.highlight-box ul {
    padding-left: 20px;
}

.highlight-box li {
    margin-bottom: 12px;
    line-height: 1.7;
    position: relative;
    padding-left: 20px;
}

.highlight-box li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: bold;
}

.article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    padding: 30px 0;
    border-top: 1px solid var(--border-color);
    margin-top: 40px;
}

.article-tags i {
    color: var(--primary-color);
    font-size: 1.1rem;
}

.tag {
    background: var(--light-gray);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--text-color);
    transition: var(--transition);
}

.tag:hover {
    background: var(--primary-color);
    color: var(--white);
}

.article-share {
    padding: 30px 0;
    border-bottom: 1px solid var(--border-color);
}

.article-share h4 {
    font-size: 1.2rem;
    margin-bottom: 16px;
    color: var(--dark-color);
}

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

.share-btn {
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--white);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.share-btn:hover {
    transform: translateY(-2px);
}

.share-btn.facebook { background: #1877f2; }
.share-btn.twitter { background: #1da1f2; }
.share-btn.linkedin { background: #0a66c2; }
.share-btn.whatsapp { background: #25d366; }
.share-btn.email { background: #6c757d; }

.author-bio {
    display: flex;
    gap: 24px;
    padding: 40px;
    background: var(--light-gray);
    border-radius: 12px;
    margin-top: 30px;
}

.author-bio img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    flex-shrink: 0;
}

.author-bio-content h4 {
    font-size: 0.85rem;
    text-transform: uppercase;
    color: var(--primary-color);
    margin-bottom: 8px;
    font-weight: 600;
}

.author-bio-content h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
    color: var(--dark-color);
}

.author-bio-content p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #666;
    margin-bottom: 16px;
}

.author-social {
    display: flex;
    gap: 12px;
}

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

.author-social a:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

/* ========================================
   ARTICLE SIDEBAR
   ======================================== */

.article-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.sidebar-widget {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 30px;
}

.widget-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary-color);
}

.related-articles {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.related-article {
    display: flex;
    gap: 12px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.related-article:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.related-article img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
}

.related-content {
    flex: 1;
}

.related-category {
    font-size: 0.75rem;
    color: var(--primary-color);
    font-weight: 600;
    text-transform: uppercase;
}

.related-content h4 {
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.4;
    margin: 6px 0;
    color: var(--dark-color);
}

.related-content h4:hover {
    color: var(--primary-color);
}

.related-date {
    font-size: 0.8rem;
    color: #999;
    display: flex;
    align-items: center;
    gap: 4px;
}

.popular-posts {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.popular-post {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.popular-number {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
    flex-shrink: 0;
}

.popular-post h4 {
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 6px;
    color: var(--dark-color);
}

.popular-post h4:hover {
    color: var(--primary-color);
}

.popular-views {
    font-size: 0.8rem;
    color: #999;
    display: flex;
    align-items: center;
    gap: 4px;
}

.newsletter-widget {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
}

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

.newsletter-widget p {
    margin-bottom: 16px;
    opacity: 0.95;
}

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

.sidebar-newsletter-form input {
    padding: 12px;
    border: none;
    border-radius: 8px;
    font-size: 0.9rem;
    outline: none;
}

.sidebar-newsletter-form .btn {
    width: 100%;
    justify-content: center;
    background: var(--dark-color);
}

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

.categories-list li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    background: var(--light-gray);
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
}

.categories-list li a:hover {
    background: var(--primary-color);
    color: var(--white);
    padding-left: 16px;
}

.categories-list li a i {
    margin-right: 8px;
}

.categories-list li a span {
    color: #999;
    font-size: 0.85rem;
}

.categories-list li a:hover span {
    color: var(--white);
}

/* ========================================
   COMMENTS SECTION
   ======================================== */

.comments-section {
    background: var(--light-gray);
    padding: 60px 0;
}

.comments-wrapper {
    max-width: 900px;
}

.comments-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 30px;
    color: var(--dark-color);
    display: flex;
    align-items: center;
    gap: 12px;
}

.comment-form-wrapper {
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 40px;
}

.comment-form-wrapper h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--dark-color);
}

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

.comment-form input,
.comment-form textarea {
    width: 100%;
    padding: 14px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-family: var(--font-primary);
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition);
}

.comment-form input:focus,
.comment-form textarea:focus {
    border-color: var(--primary-color);
}

.comment-form textarea {
    resize: vertical;
    margin-bottom: 16px;
}

.comments-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.comment {
    display: flex;
    gap: 16px;
    background: var(--white);
    padding: 24px;
    border-radius: 12px;
}

.comment img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    flex-shrink: 0;
}

.comment-content {
    flex: 1;
}

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

.comment-header h5 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark-color);
}

.comment-date {
    font-size: 0.85rem;
    color: #999;
}

.comment-content p {
    line-height: 1.7;
    margin-bottom: 12px;
}

.comment-actions {
    display: flex;
    gap: 16px;
}

.comment-actions button {
    background: none;
    border: none;
    color: #999;
    font-size: 0.85rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
}

.comment-actions button:hover {
    color: var(--primary-color);
}

/* ========================================
   MORE ARTICLES SECTION
   ======================================== */

.more-articles-section {
    padding: 60px 0;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 1200px) {
    .article-body {
        grid-template-columns: 1fr 300px;
        gap: 40px;
    }
}

@media (max-width: 992px) {
    .hero-content {
        grid-template-columns: 1fr;
    }
    
    .hero-featured {
        height: 500px;
    }
    
    .articles-grid {
        grid-template-columns: 1fr;
    }
    
    .featured-large {
        grid-column: span 1;
        grid-template-columns: 1fr;
    }
    
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .newsletter-content {
        grid-template-columns: 1fr;
    }
    
    .article-body {
        grid-template-columns: 1fr;
    }
    
    .article-sidebar {
        position: static;
    }
    
    .article-card-horizontal {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .search-box {
        display: none;
    }
    
    .brand-name {
        font-size: 0.95rem;
    }
    
    .hero-overlay h1 {
        font-size: 1.8rem;
    }
    
    .hero-excerpt {
        font-size: 0.95rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .articles-grid-3 {
        grid-template-columns: 1fr;
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    .article-title {
        font-size: 2rem;
    }
    
    .article-subtitle {
        font-size: 1.1rem;
    }
    
    .article-meta-large {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    .article-stats {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .article-featured-image img {
        height: 300px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .comment-form .form-row {
        grid-template-columns: 1fr;
    }
    
    .author-bio {
        flex-direction: column;
        text-align: center;
    }
    
    .author-social {
        justify-content: center;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .hero-featured {
        height: 400px;
    }
    
    .hero-overlay {
        padding: 24px;
    }
    
    .hero-overlay h1 {
        font-size: 1.5rem;
    }
    
    .section {
        padding: 40px 0;
    }
    
    .article-content h3 {
        font-size: 1.1rem;
    }
}



.blog-sidebar {
    position: sticky;
    top: 20px;
}

.sidebar-card {
    background: #ffffff;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.sidebar-card h3 {
    font-size: 16px;
    font-weight: 600;
    border-bottom: 2px solid #f0a500;
    padding-bottom: 6px;
    margin-bottom: 12px;
}

.category-list li {
    padding: 8px 0;
    border-bottom: 1px dashed #ddd;
}

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

.category-list a {
    color: #333;
    text-decoration: none;
    font-size: 14px;
}

.category-list a:hover {
    color: #f0a500;
}

/* Images */
.sidebar-card img {
    width: 100%;
    border-radius: 8px;
}

/* Video */
.sidebar-card video {
    width: 100%;
    border-radius: 8px;
}

/* News Items */
.thumbnail1 {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
}

.thumbnail1 .photo {
    width: 65px;
    height: 65px;
    background-size: cover;
    background-position: center;
    border-radius: 6px;
}

.thumbnail1 h3 {
    font-size: 14px;
    margin: 0;
}

/* Newsletter */
.sidebar-card input[type="email"] {
    width: 100%;
    padding: 8px;
    margin-bottom: 10px;
}

.sidebar-card input[type="submit"] {
    width: 100%;
    background: #f0a500;
    border: none;
    padding: 10px;
    color: #fff;
    font-weight: 600;
    border-radius: 5px;
    cursor: pointer;
}


/* MAIN SLIDER */
.main-slider {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  margin-top: 1px;
}

.main-slider img {
  width: 100%;
  height: auto;
  display: block;
}

.captions {
  position: absolute;
  bottom: 0;
  width: 100%;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  color: #fff;
  padding: 15px;
}

.captions h2 {
  margin: 0;
  font-size: 22px;
}

/* HORIZONTAL SLIDER */
.horizontal-slider {
  display: flex;
  gap: 15px;
  overflow-x: auto;
  margin-top: 15px;
  padding-bottom: 10px;
  scroll-behavior: smooth;
}

.horizontal-slider::-webkit-scrollbar {
  height: 6px;
}

.horizontal-slider::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 10px;
}

.card {
  min-width: 220px;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  text-decoration: none;
  color: #000;
  flex-shrink: 0;
  transition: transform 0.2s;
}

.card:hover {
  transform: translateY(-5px);
}

.card img {
  width: 100%;
  height: 217px;
  object-fit: cover;
}

.card p {
  padding: 10px;
  font-size: 14px;
  font-weight: bold;
}

/* MOBILE */
@media (max-width: 600px) {
  .caption h2 {
    font-size: 16px;
  }
}

.sidebar-video {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
}

.footer-main {
    background: #111;
    color: #ddd;
    padding: 50px 0;
    font-size: 14px;
}

.footer-col h3 {
    color: #fff;
    margin-bottom: 15px;
    font-size: 18px;
    border-bottom: 2px solid #ff9933;
    display: inline-block;
    padding-bottom: 5px;
}

.footer-text {
    line-height: 1.7;
}

.footer-news {
    list-style: none;
    padding: 0;
}

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

.footer-news a {
    color: #ddd;
    text-decoration: none;
}

.footer-news a:hover {
    color: #ff9933;
}

.contact-item {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
}

.contact-item i {
    color: #ff9933;
    margin-top: 3px;
}

.footer-bottom {
    background: #000;
    padding: 20px 0;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin-bottom: 10px;
}

.footer-links li {
    display: inline-block;
    margin: 0 10px;
}

.footer-links a {
    color: #bbb;
    text-decoration: none;
    font-size: 13px;
}

.footer-links a:hover {
    color: #ff9933;
}

.footer-bottom p {
    color: #aaa;
    font-size: 13px;
}
