/* Ad centering */
.ad-center { display: flex; justify-content: center; align-items: center; padding: 10px 0; }
.ad-center > * { max-width: 100%; }
.ad-center iframe, .ad-center img { display: block; margin: 0 auto; height: auto; max-width: 100%; }
.ad-center ins, .ad-center .adsbygoogle, .ad-center .ad, .ad-center .banner { display: block; margin: 0 auto !important; }

/* Scroll to Top */
.scroll-top {
  position: fixed;
  right: 18px;
  bottom: 20px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: none;
  display: grid;
  place-items: center;
  background: var(--primary-color);
  color: #fff;
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s ease, background .2s ease;
  z-index: 1100;
}
.scroll-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.scroll-top:hover { background: #2563eb; }
/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Anek+Telugu:wght@300;400;500;600;700;800&display=swap');

/* Variables */
:root {
    --primary-color: #3b82f6;
    --secondary-color: #10b981;
    --danger-color: #ef4444;
    --warning-color: #f59e0b;
    --info-color: #06b6d4;
    --dark-color: #1f2937;
    --light-color: #f9fafb;
    --text-color: #374151;
    --border-color: #e5e7eb;
    --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --border-radius: 0.5rem;
}

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

body {
    font-family: 'Anek Telugu', sans-serif;
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-color);
}

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

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

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Sticky Site Header (wraps topbar + navbar) */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: transparent;
}

/* Navbar */
.navbar {
    background: transparent;
    box-shadow: none;
}

/* Topbar */
.topbar { background: transparent; font-size: 0.9rem; }
.topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.4rem 0.75rem;
    background: #0f172a;
    color: #e2e8f0;
    /* border-radius: 6px; */
    box-shadow: var(--shadow);
}
.topbar-left { display: flex; align-items: center; gap: 0.5rem; }
.topbar-right { display: flex; align-items: center; gap: 0.75rem; }
.topbar-right a { color: #e2e8f0; }
.topbar-right a:hover { color: #fff; }

/* Ticker */
.ticker-bar { background: transparent; }
.ticker-inner { display: flex; align-items: center; gap: 0.75rem; padding: 0.4rem 0.75rem; background: #dc2626; color: #f9fafb; border-radius: 0px; box-shadow: var(--shadow); }
.ticker-label { display: inline-flex; align-items: center; gap: 0.4rem; background: rgba(0,0,0,0.15); color: #fff; font-weight: 800; padding: 0.2rem 0.5rem; border-radius: 0px; }
.ticker-track { overflow: hidden; position: relative; flex: 1; }
.ticker-track ul { display: flex; gap: 1.5rem; list-style: none; animation: ticker-scroll 25s linear infinite; }
.ticker-track li a { color: #e5e7eb; }
.ticker-track li a:hover { color: #fff; text-decoration: underline; }
@keyframes ticker-scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* Single-item rotator (below navbar) */
.ticker-rotator { flex: 1; overflow: hidden; min-height: 1.6rem; display: flex; align-items: center; }
.ticker-rotator a { display: none; color: #e5e7eb; }
.ticker-rotator a.active { display: inline; white-space: nowrap; }
.ticker-rotator a:hover { color: #fff; text-decoration: underline; }

@media (max-width: 768px) {
  .topbar-inner { padding: 0.35rem 0; }
  .topbar-right { gap: 0.5rem; }
  .ticker-inner { padding: 0.35rem 0; }
  .ticker-track ul { gap: 1rem; }
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0.75rem;
    background: #fff;
    /* border-radius: 6px; */
    box-shadow: var(--shadow);
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.logo img { height: 76px; display: block; }

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-link {
    font-weight: 500;
    color: var(--text-color);
    position: relative;
    padding: 0.5rem 0;
}

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

.nav-link:hover::after,
.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary-color);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.search-btn {
    background: none;
    border: none;
    font-size: 1.2rem;
    color: var(--text-color);
    cursor: pointer;
    padding: 0.5rem;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 500;
    transition: all 0.3s ease;
}

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

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

/* Search Overlay */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.9);
    padding: 2rem 0;
    z-index: 2000;
    display: none;
}

.search-overlay.active {
    display: block;
}

.search-form {
    display: flex;
    gap: 1rem;
    max-width: 600px;
    margin: 0 auto;
}

.search-input {
    flex: 1;
    padding: 1rem;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1.1rem;
}

.search-submit,
.search-close {
    padding: 1rem 1.5rem;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-size: 1.2rem;
}

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

.search-close {
    background: var(--danger-color);
    color: white;
}

/* Hero Section */
.hero {
    padding: 2rem 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.hero-main {
    grid-row: span 2;
}

.hero-card {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease;
}

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

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

.hero-main .hero-img {
    height: 500px;
}

.hero-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    color: white;
}

.category-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 0.25rem;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.hero-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.hero-main .hero-title {
    font-size: 2.5rem;
}

.hero-title a {
    color: white;
}

.hero-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.9rem;
    opacity: 0.9;
}

.hero-meta i {
    margin-right: 0.25rem;
}

/* Latest News Section */
.latest-news {
    padding: 0.5rem 0;
}

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

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark-color);
}

.section-title i {
    color: var(--primary-color);
    margin-right: 0.5rem;
}

.view-all {
    color: var(--primary-color);
    font-weight: 500;
}

.view-all:hover {
    text-decoration: underline;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.news-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

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

.news-img-wrapper {
    position: relative;
    height: 200px;
    overflow: hidden;
}

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

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

.news-img-wrapper .category-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
}

.news-content {
    padding: 1.5rem;
}

.news-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.news-title a:hover {
    color: var(--primary-color);
}

.news-excerpt {
    color: #6b7280;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-clamp: 2;
    overflow: hidden;
}

.news-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.85rem;
    color: #9ca3af;
}

.news-meta i {
    margin-right: 0.25rem;
}

/* Footer */
.footer {
    background: transparent;
    margin-top: 4rem;
}
.footer > .container {
    background: var(--dark-color);
    color: #fff;
    padding: 3rem 20px 1rem;
    border-radius: 6px;
    box-shadow: var(--shadow);
    overflow: hidden; /* keep rounded corners clean */
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: white;
}

.footer-section p {
    color: #9ca3af;
    margin-bottom: 1rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

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

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

/* Contact page: social icons layout */
.contact-content .social-links {
    display: block;
}
.contact-content .social-links .social-icons {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: 0.5rem;
}
.contact-content .social-links a {
    display: inline-flex;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #9ca3af;
}

.footer-links a:hover {
    color: white;
}

/* Footer links two-column layout */
.footer-links.two-col {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem 1.25rem;
}
.footer-links.two-col li {
    margin-bottom: 0;
}
@media (max-width: 640px) {
    .footer-links.two-col { grid-template-columns: 1fr; }
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.newsletter-form input {
    flex: 1 1 240px; /* allow shrink to avoid overflow */
    min-width: 0;    /* fix long content overflow */
    padding: 0.75rem;
    border: none;
    border-radius: var(--border-radius);
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.newsletter-form input::placeholder {
    color: #9ca3af;
}

.newsletter-form button {
    padding: 0.75rem 1.25rem;
    border: none;
    border-radius: var(--border-radius);
    background: var(--primary-color);
    color: white;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* Footer newsletter: stack on small screens */
@media (max-width: 640px) {
  .newsletter-form { flex-wrap: wrap; }
  .newsletter-form input { flex: 1 1 100%; }
  .newsletter-form button { flex: 1 1 100%; width: 100%; }
}

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #9ca3af;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    /* Ensure positioning context for dropdown menu */
    .nav-wrapper { position: relative; }
    /* Show mobile menu when toggled */
    .nav-menu.mobile-active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #ffffff;
        padding: 0.75rem 1rem;
        gap: 0.75rem;
        box-shadow: var(--shadow-md);
        z-index: 1000;
    }
    
    .hero-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-main .hero-img {
        height: 300px;
    }
    
    .hero-title {
        font-size: 1.5rem;
    }
    
    .hero-main .hero-title {
        font-size: 1.8rem;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}

/* ============================= */
/* List-based News Layout        */
/* ============================= */
.news-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.news-list-item {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 1rem;
    padding: 1rem;
    background: #fff;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    align-items: start;
}

.news-list-thumb {
    width: 220px;
    height: 140px;
    border-radius: 0.5rem;
    overflow: hidden;
}

.news-list-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-list-item:hover .news-list-thumb img {
    transform: scale(1.03);
}

.news-list-content {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.news-list-title {
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.4;
    color: var(--dark-color);
}

.news-list-excerpt {
    color: #6b7280;
}

.news-list-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.85rem;
    color: #9ca3af;
}

.section-divider-line {
    height: 1px;
    background: var(--border-color);
    margin: 2rem 0 1rem;
}

.category-section {
    padding: 2rem 0 0.5rem;
}

.category-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.category-section-title {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark-color);
}

.category-section-title .category-badge {
    border-radius: 9999px;
}

.view-all-link {
    color: var(--primary-color);
    font-weight: 500;
}

/* ============================= */
/* Article Page Enhancements     */
/* ============================= */
.article-page .article-content {
    background: #fff;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.breadcrumbs {
    font-size: 0.9rem;
    color: #6b7280;
    margin: 0.75rem 0 1.25rem;
}

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

.article-header .article-title {
    margin-top: 0.5rem;
    font-size: 2.25rem;
    line-height: 1.25;
}

.article-meta { 
    display: flex; 
    align-items: center; 
    justify-content: space-between; 
    gap: 1rem; 
    margin-top: 0.75rem; 
}
.author-info { display: flex; align-items: center; gap: 0.75rem; }
.author-avatar { width: 42px; height: 42px; border-radius: 9999px; object-fit: cover; }
.author-name { font-weight: 700; }
.author-bio { color: #6b7280; font-size: 0.9rem; display: block; }
.article-stats { color: #6b7280; display: flex; gap: 0.75rem; font-size: 0.9rem; }

.article-image img {
    width: 100%;
    max-height: 520px;
    object-fit: cover;
    border-radius: 0.5rem;
}

.article-body p { margin: 1rem 0; font-size: 1.05rem; color: #111827; }
.article-body h2 { font-size: 1.5rem; margin: 1.25rem 0 0.5rem; }
.article-body h3 { font-size: 1.25rem; margin: 1rem 0 0.5rem; }
.article-body ul, .article-body ol { padding-left: 1.25rem; margin: 0.75rem 0; }
.article-body img { border-radius: 0.5rem; }

.article-footer {
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.article-tags .tag {
    display: inline-block;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
    background: var(--light-color);
    border: 1px solid var(--border-color);
    padding: 0.25rem 0.5rem;
    border-radius: 9999px;
    font-size: 0.85rem;
}

.share-buttons {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.share-buttons .share-btn {
    display: inline-flex;
    width: 36px;
    height: 36px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--light-color);
    border: 1px solid var(--border-color);
    color: var(--text-color);
}

.related-list .news-list-item { box-shadow: none; padding-left: 0; padding-right: 0; }

@media (max-width: 768px) {
    .news-list-item {
        grid-template-columns: 1fr;
    }
    .news-list-thumb { width: 100%; height: 200px; }
}

/* ============================= */
/* Article Two-Column Layout     */
/* ============================= */
.article-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    margin-top: 1.5rem;
}

.article-main { min-width: 0; }
.article-sidebar { position: sticky; top: 90px; align-self: start; height: fit-content; }
.article-sidebar .list-box + .list-box { margin-top: 1rem; }

@media (max-width: 1024px) {
    .article-layout {
        grid-template-columns: 1fr;
    }
}

/* Also Read inline links */
.also-read {
    display: block;
    padding: 0.75rem 1rem;
    background: #f8fafc;
    border-left: 3px solid var(--primary-color);
    border-radius: 4px;
    margin: 1rem 0;
    font-weight: 600;
}
.also-read span { color: #475569; font-weight: 700; margin-right: 0.25rem; }
.also-read a { color: var(--primary-color); }
.also-read a:hover { text-decoration: underline; }

/* ============================= */
/* Author box (article bottom)   */
/* ============================= */
.author-box {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    margin-top: 1.25rem;
    padding: 1rem;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-shadow: var(--shadow);
}
.author-avatar-lg { width: 72px; height: 72px; border-radius: 9999px; object-fit: cover; }
.author-right .author-name { font-size: 1.1rem; font-weight: 700; color: var(--dark-color); }
.author-right .author-bio { margin-top: 0.25rem; color: #6b7280; }
.author-right .author-meta { margin-top: 0.5rem; display: flex; gap: 1rem; color: #6b7280; font-size: 0.95rem; }

/* Share buttons */
.share-buttons { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.share-btn { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 9999px; color: #ffffff; box-shadow: var(--shadow); }
.share-btn:hover { opacity: 0.9; transform: translateY(-1px); }
.share-btn.facebook { background: #1877f2; }
.share-btn.twitter { background: #1da1f2; }
.share-btn.linkedin { background: #0a66c2; }
.share-btn.whatsapp { background: #25d366; }
.share-btn.telegram { background: #26a5e4; }
.share-btn.reddit { background: #ff4500; }
.share-btn.pinterest { background: #bd081c; }
.share-btn.email { background: #6b7280; }
.share-btn.copy { background: #4b5563; }

/* ============================= */
/* Compact List Box (image spec) */
/* ============================= */
.list-box {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

/* Category page spacing */
.category-header { margin-top: 1rem; }
.category-articles { margin-top: 1rem; }

/* Category Hero (Category page) */
.category-hero {
    margin-top: 0.75rem;
    background: linear-gradient(135deg, var(--light-color) 0%, rgba(0,0,0,0) 30%),
                radial-gradient(1200px 400px at 0% 0%, var(--light-color) 0%, rgba(0,0,0,0) 60%),
                linear-gradient(90deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0) 100%);
    position: relative;
}
.category-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0) 40%),
                linear-gradient(90deg, var(--cat-color, var(--primary-color)) 0%, rgba(0,0,0,0) 60%);
    opacity: 0.08;
    pointer-events: none;
}
.category-hero .container { position: relative; z-index: 1; }
.category-hero-inner {
    padding: 1.5rem 0 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.category-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(59, 130, 246, 0.08);
    border: 1px solid rgba(0,0,0,0.05);
    padding: 0.4rem 0.75rem;
    border-radius: 9999px;
}
.category-icon {
    display: inline-flex;
    width: 28px;
    height: 28px;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    background: var(--cat-color, var(--primary-color));
    color: #fff;
}
.category-title {
    font-size: 1.85rem;
    font-weight: 800;
    color: var(--dark-color);
}
.category-subtext {
    color: #6b7280;
    font-size: 1.05rem;
}
.category-meta {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.25rem;
}
.stat-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.6rem;
    border-radius: 9999px;
    background: #fff;
    border: 1px solid var(--border-color);
    color: #6b7280;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .category-hero-inner { padding: 1rem 0; }
    .category-title { font-size: 1.5rem; }
}

/* ============================= */
/* Comments section improvements  */
/* ============================= */
.comments-section { margin-top: 2rem; }
.comments-section .section-title { font-size: 1.5rem; font-weight: 800; color: var(--dark-color); margin-bottom: 1rem; }
.comments-list { display: flex; flex-direction: column; gap: 0.75rem; }
.comment-item { background: #fff; border: 1px solid var(--border-color); border-radius: 8px; padding: 0.75rem 1rem; box-shadow: var(--shadow); }
.comment-header { display: flex; align-items: center; gap: 0.75rem; }
.comment-header .author-avatar { width: 40px; height: 40px; border-radius: 9999px; object-fit: cover; }
.comment-meta strong { display: block; color: var(--dark-color); }
.comment-meta .text-muted { color: #6b7280; font-size: 0.85rem; }
.comment-body p { margin-top: 0.5rem; color: #111827; }

.comment-form { margin-top: 1rem; }
.comment-form .form-group { margin-bottom: 0.5rem; }
.comment-form textarea { width: 100%; padding: 0.75rem; border: 1px solid var(--border-color); border-radius: 8px; }
.comment-form .btn-primary { margin-top: 0.5rem; }

.list-box-header {
    background: #2f3a44;
    color: #ffffff;
    padding: 0.6rem 0.9rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.list-box-title {
    font-size: 1rem;
    font-weight: 700;
}

.list-box-action {
    color: #cbd5e1;
    font-size: 0.875rem;
}
.list-box-action:hover { color: #ffffff; text-decoration: underline; }

.list-box-list {
    list-style: none;
    margin: 0;
    padding: 0.4rem 0.9rem 0.7rem;
}

.list-box-item {
    display: flex;
    gap: 0.5rem;
    padding: 0.45rem 0;
    border-bottom: 1px solid #eee;
}
.list-box-item:last-child { border-bottom: none; }

.list-box-item::before {
    content: '\203A'; /* › */
    color: #e11d48;   /* rose-600 */
    font-weight: 900;
    line-height: 1.2;
}

.list-box-item a {
    color: var(--dark-color);
    flex: 1;
}
.list-box-item a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

/* Grid for multiple list-boxes */
.list-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem 1.25rem;
}

@media (max-width: 1024px) {
    .list-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .list-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================= */
/* Generic Page + Sidebar Styles */
/* ============================= */
.page-header {
    background: #fff;
    border-bottom: 1px solid var(--border-color);
}
.page-header .container { padding: 2rem 20px; }
.page-header h1 { font-size: 2rem; color: var(--dark-color); }
.page-header p { color: #6b7280; margin-top: 0.25rem; }

.content-with-sidebar { padding: 2rem 0; }
.content-with-sidebar .article-layout { margin-top: 0; }
.content-card {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 1.5rem;
}

/* About Page */
.about-content { padding: 2rem 0; }
.about-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 1.5rem;
}
.about-text h2 { margin: 1rem 0 0.5rem; }
.values-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-top: 0.5rem; }
.value-card { background: #fff; border: 1px solid var(--border-color); border-radius: 8px; padding: 1rem; box-shadow: var(--shadow); }
.team-section { margin-top: 2rem; }
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1rem; }
.team-member { background: #fff; border: 1px solid var(--border-color); border-radius: 8px; padding: 1rem; text-align: center; }
.team-avatar { width: 80px; height: 80px; border-radius: 9999px; object-fit: cover; margin-bottom: 0.5rem; }

/* Contact Page */
.contact-content { padding: 2rem 0; }
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
.contact-info .contact-details { margin: 1rem 0; display: grid; gap: 0.75rem; }
.contact-item { display: flex; gap: 0.75rem; align-items: flex-start; }
.contact-item i { color: var(--primary-color); margin-top: 0.25rem; }
.contact-form form .form-group { margin-bottom: 0.75rem; }
.contact-form input, .contact-form textarea { width: 100%; padding: 0.75rem; border: 1px solid var(--border-color); border-radius: 8px; }
.map-section { padding: 2rem 0; }
.map-placeholder { border: 2px dashed var(--border-color); padding: 2rem; border-radius: 8px; text-align: center; color: #6b7280; }

/* Legal Pages (Privacy/Terms) */
.legal-content { padding: 2rem 0; }
.legal-text { background: #fff; border: 1px solid var(--border-color); border-radius: 8px; padding: 1.5rem; box-shadow: var(--shadow); }
.legal-text h2 { margin: 1rem 0 0.5rem; }
.legal-text ul { margin-left: 1.25rem; }

@media (min-width: 1024px) {
    .contact-grid { grid-template-columns: 1.2fr 1fr; }
}