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

body {
    font-family: -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background-color: #fff;
    color: #1a1a1a;
    line-height: 1.5;
    scroll-behavior: smooth;
}

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

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

ul,
ol {
    list-style: none;
}

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

/* ---------- HEADER (sticky + scroll effect) ---------- */
.site-header {
    position: sticky;
    top: 0;
    background: #fff;
    transition: background 0.3s ease, box-shadow 0.3s ease;
    z-index: 1000;
    border-bottom: 1px solid #eaeef2;
}

.site-header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(2px);
    border-bottom-color: transparent;
}

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

.logo {
    font-size: 1.75rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    text-decoration: none;
    color: #0a2540;
}

.logo span {
    color: #e85d04;
}

.hamburger {
    display: none;
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: #0a2540;
}

.main-nav ul {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.main-nav a {
    text-decoration: none;
    font-weight: 500;
    color: #2c3e44;
    transition: color 0.2s;
}

.main-nav a:hover,
.main-nav a.active {
    color: #e85d04;
}

/* ---------- MOBILE NAV ---------- */


/* ---------- ANNOUNCEMENT BAR ---------- */
.announcement-bar {
    background: #fef9e6;
    padding: 10px 0;
    font-size: 0.9rem;
    border-bottom: 1px solid #f0e5cf;
}

.announcement-bar a {
    color: #e85d04;
    text-decoration: none;
    font-weight: 500;
}

/* ---------- BREADCRUMB ---------- */
.breadcrumb-section {
    padding: 28px 0 16px;
    background: #fff;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    font-size: 0.9rem;
    background: #f8fafc;
    display: inline-flex;
    padding: 8px 20px;
    border-radius: 40px;
    gap: 8px;
}

.breadcrumb li:not(:last-child)::after {
    content: "/";
    margin-left: 8px;
    color: #7e8c8d;
}

.breadcrumb a {
    text-decoration: none;
    color: #e85d04;
}

.breadcrumb [aria-current="page"] {
    color: #4a5b5e;
    font-weight: 500;
}

/* ---------- CARDS (common styles) ---------- */
.tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    padding: 4px 10px;
    border-radius: 30px;
    margin-bottom: 10px;
    background: #eef2ff;
    color: #1e40af;
}

.tag-tech {
    background: #e0f2fe;
    color: #0369a1;
}

.tag-world {
    background: #e6f7ec;
    color: #2b6e3c;
}

.tag-business {
    background: #fff0e0;
    color: #c2410c;
}

.tag-sports {
    background: #fee2e2;
    color: #b91c1c;
}

.tag-health {
    background: #dcfce7;
    color: #15803d;
}

.meta {
    font-size: 0.8rem;
    color: #6c7e82;
    display: flex;
    align-items: center;
    gap: 12px;
}

/* ---------- HOMEPAGE CATEGORY GRID (varied card styles) ---------- */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 32px;
    margin: 32px 0;
}

.card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.25s, box-shadow 0.25s;
    border: 1px solid #eef2f5;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.05);
}

.card-img img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    transition: transform 0.3s;
}

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

.card-content {
    padding: 20px;
}

.card-content h3 {
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 10px;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-content h3 a {
    text-decoration: none;
    color: #0a2540;
}

.card-content h3 a:hover {
    color: #e85d04;
}

.excerpt {
    color: #3a4c4f;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* specific card variations */
.card-horizontal {
    display: flex;
    flex-direction: column;
}

.card-vertical {
    display: flex;
    flex-direction: column;
}

.card-overlay {
    position: relative;
}

.card-overlay .overlay-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    color: white;
    padding: 20px;
}

.card-overlay .overlay-content h3 a,
.card-overlay .overlay-content .meta {
    color: white;
}

.card-list {
    display: flex;
    gap: 16px;
    align-items: center;
}

.card-list .small-img {
    width: 120px;
    flex-shrink: 0;
}

.card-minimal .card-content {
    padding: 16px;
}

.card-featured {
    grid-column: span 2;
}

/* ---------- SPECIAL REPORTS (homepage) ---------- */
.special-reports {
    margin: 48px 0;
}

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

.report-main {
    background: #fafcff;
    border-radius: 24px;
    overflow: hidden;
}

.report-img img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.report-content {
    padding: 24px;
}

.report-main h3 {
    font-size: 1.5rem;
    margin: 12px 0;
}

.reports-side {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.report-card {
    display: flex;
    gap: 16px;
    background: #f9fafb;
    border-radius: 20px;
    padding: 12px;
}

.report-card-img {
    aspect-ratio: 4 / 3;
    flex: 0 0 20%;
}

.report-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

.report-card-content h3 {
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 10px;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.report-card-content a {
    text-decoration: none;
    color: #0a2540;
}


/* ---------- POPULAR TOPICS (homepage) ---------- */
.popular-topics {
    margin: 48px 0;
}

.topics-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
}

.topic-card {
    background: #f0f4f8;
    padding: 12px 24px;
    border-radius: 60px;
    text-decoration: none;
    font-weight: 600;
    color: #1f3b3f;
    transition: all 0.2s;
}

.topic-card span {
    font-weight: normal;
    font-size: 0.8rem;
    color: #e85d04;
}

.topic-card:hover {
    background: #e85d04;
    color: white;
}

.topic-card:hover span {
    color: white;
}

/* ---------- SIDEBAR (common for category & detail) ---------- */
.sidebar-card {
    background: #f9fafb;
    border-radius: 24px;
    padding: 24px;
    margin-bottom: 32px;
}

.author-card {
    text-align: center;
}

.author-avatar {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 24px;
    border: 3px solid #e85d04;
}

.author-card h4 {
    font-size: 1.3rem;
    margin-bottom: 8px;
}

.author-bio {
    font-size: 0.9rem;
    color: #3c5a5e;
    line-height: 1.5;
}

.sidebar-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 18px;
    border-left: 4px solid #e85d04;
    padding-left: 12px;
}

.sidebar-list {
    list-style: none;
}

.sidebar-list li {
    margin-bottom: 14px;
}

.sidebar-list a {
    text-decoration: none;
    color: #1f3b3f;
    font-weight: 500;
    display: block;
    transition: color 0.2s;
}

.sidebar-list a:hover {
    color: #e85d04;
}

.recent-item {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
    align-items: center;
}

.recent-img {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    object-fit: cover;
}

.recent-content h4 {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.recent-content a {
    text-decoration: none;
    color: #0a2540;
}

.recent-content a:hover {
    color: #e85d04;
}

.recent-date {
    font-size: 0.7rem;
    color: #7c8f92;
}

.category-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.category-list a {
    background: #eef2f5;
    padding: 6px 16px;
    border-radius: 40px;
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    color: #2d5a5f;
    transition: all 0.2s;
}

.category-list a:hover {
    background: #e85d04;
    color: white;
}

/* ---------- CATEGORY PAGE: ARTICLE LIST ---------- */
.category-layout {
    display: grid;
    grid-template-columns: 70% 28%;
    gap: 48px;
    margin: 32px 0 64px;
}

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

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

.card-list-item {
    display: flex;
    gap: 24px;
    background: #fff;
    border-radius: 20px;
    transition: all 0.25s ease;
    padding: 8px 0;
    border-bottom: 1px solid #edf2f7;
}

.card-list-item:hover {
    transform: translateY(-4px);
    border-bottom-color: #e85d04;
}

.card-list-img {
    flex: 0 0 25%;
    aspect-ratio: 4 / 3;
    border-radius: 16px;
    overflow: hidden;
}

.card-list-img img {
    width: 100%;
    height: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.card-list-content {
    flex: 1;
}

.card-list-content h3 {
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-list-content h3 a {
    text-decoration: none;
    color: #0a2540;
    transition: color 0.2s;
}

@media (max-width: 640px) {
    .card-list-item {
        flex-direction: column;
        gap: 16px;
    }

    .card-list-img {
        flex: auto;
        width: 100%;
        max-width: 100%;
    }
}

/* ---------- PAGINATION ---------- */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 48px;
    flex-wrap: wrap;
}

.pagination a,
.pagination .current {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: 40px;
    font-weight: 500;
    text-decoration: none;
    transition: 0.2s;
    background: #fff;
    border: 1px solid #e2e8f0;
    color: #1f3b3f;
}

.pagination a:hover {
    background: #e85d04;
    border-color: #e85d04;
    color: white;
}

.pagination .current {
    background: #e85d04;
    border-color: #e85d04;
    color: white;
}

.pagination .prev-next {
    background: #f1f5f9;
}

/* ---------- ARTICLE DETAIL PAGE ---------- */
.article-layout {
    display: grid;
    grid-template-columns: 70% 28%;
    gap: 48px;
    margin: 32px 0 64px;
}

.main-content {
    flex: 0 0 70%;
}

.sidebar {
    flex: 0 0 28%;
}

@media (max-width: 992px) {
    .article-layout {
        flex-direction: column;
        grid-template-columns: 100%;
    }
}

.article-header h1 {
    font-size: 2.4rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin: 0 0 16px;
    color: #0a2540;
}



.article-meta-top {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid #eef2f5;
}

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

.author-mini img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
}

.meta-info {
    display: flex;
    gap: 16px;
    color: #6c7e82;
    font-size: 0.85rem;
}

.article-body {
    font-size: 0.985rem;
    line-height: 1.7;
    color: #171717;
    letter-spacing: 0.2px;
}

.article-body img {
    margin: 0 auto;
}

.article-body p {
    margin-bottom: 1.5rem;
}

.article-body h2 {
    font-size: 1.65rem;
    margin: 2rem 0 1rem;
    font-weight: 700;
    color: #0a2540;
}

.article-body h3 {
    font-size: 1.35rem;
    margin: 1.5rem 0 0.75rem;
    font-weight: 600;
}

.article-body img {
    max-width: 100%;
    border-radius: 20px;
    margin: 1.8rem 0;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.05);
}

.article-body blockquote {
    border-left: 4px solid #e85d04;
    background: #fefaf5;
    padding: 1rem 1.8rem;
    margin: 1.8rem 0;
    font-style: italic;
    color: #2d4a4f;
}

.author-bio-box {
    background: #f9fafb;
    border-radius: 24px;
    padding: 28px;
    margin: 40px 0 32px;
    display: flex;
    gap: 24px;
    align-items: center;
}

.author-bio-box img {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    object-fit: cover;
}

.author-bio-info h4 {
    font-size: 1.3rem;
    margin-bottom: 8px;
}

.share-section {
    margin: 32px 0 24px;
    padding-top: 12px;
    border-top: 1px solid #edf2f7;
}

.share-label {
    font-weight: 600;
    margin-bottom: 12px;
}

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

.share-btn {
    background: #f0f4f8;
    padding: 8px 18px;
    border-radius: 40px;
    font-size: 0.85rem;
    font-weight: 500;
    color: #2c3e44;
    text-decoration: none;
    transition: background 0.2s;
    cursor: pointer;
}

.share-btn:hover {
    background: #e85d04;
    color: white;
}

.comments-area {
    margin: 48px 0;
}

.comment-list {
    list-style: none;
    margin-bottom: 36px;
}

.comment-item {
    background: #fefefe;
    border-bottom: 1px solid #eef2f5;
    padding: 20px 0;
    display: flex;
    gap: 16px;
}

.comment-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #d9e2e8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #0a2540;
}

.comment-content p {
    margin: 6px 0;
}

.comment-meta {
    font-size: 0.8rem;
    color: #6c7e82;
}

.comment-form {
    background: #f9fafb;
    padding: 24px;
    border-radius: 24px;
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    font-family: inherit;
    font-size: 0.9rem;
    background: white;
}

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

.submit-btn {
    background: #e85d04;
    color: white;
    border: none;
    padding: 12px 28px;
    border-radius: 40px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.submit-btn:hover {
    background: #b13e00;
}

.related-section {
    margin-top: 48px;
}

.related-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 24px;
    border-left: 4px solid #e85d04;
    padding-left: 16px;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 24px;
}

.related-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
    border: 1px solid #eef2f5;
}

.related-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.05);
}

.related-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.related-card h4 {
    padding: 16px 16px 8px;
    font-size: 1rem;
    font-weight: 700;
}

.related-card h4 a {
    text-decoration: none;
    color: #0a2540;
}

.related-card .meta {
    padding: 0 16px 16px;
    font-size: 0.75rem;
    color: #6c7e82;
}

/* ---------- AUTHOR PAGE ---------- */
.author-profile {
    max-width: 900px;
    margin: 32px auto 64px;
    background: #fff;
}

.author-header {
    text-align: center;
    margin-bottom: 48px;
}

.author-avatar.large {
    width: 180px;
    height: 180px;
    border-width: 4px;
    margin-bottom: 24px;
}

.author-header h1 {
    font-size: 2.4rem;
    margin-bottom: 8px;
}

.author-title {
    font-size: 1.1rem;
    color: #e85d04;
    font-weight: 500;
    margin-bottom: 16px;
}

.author-short-bio {
    max-width: 600px;
    margin: 0 auto;
    color: #3c5a5e;
}

.author-details {
    margin-top: 32px;
    border-top: 1px solid #edf2f7;
    padding-top: 40px;
}

.author-details h2 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 24px;
    border-left: 4px solid #e85d04;
    padding-left: 16px;
}

.author-bio-text {
    font-size: 0.985rem;
    line-height: 1.7;
    color: #171717;
    letter-spacing: 0.2px;
}

.social-links {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin: 32px 0 24px;
    flex-wrap: wrap;
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #f1f5f9;
    padding: 8px 20px;
    border-radius: 40px;
    text-decoration: none;
    color: #2c3e44;
    font-weight: 500;
    transition: all 0.2s;
}

.social-link:hover {
    background: #e85d04;
    color: white;
}

.latest-articles {
    margin-top: 64px;
}

.latest-title {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 28px;
    border-left: 4px solid #e85d04;
    padding-left: 16px;
}

.articles-grid-author {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.article-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
    border: 1px solid #eef2f5;
}

.article-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.05);
}

.article-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.article-card-content {
    padding: 20px;
}

.article-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    background: #e0f2fe;
    color: #0369a1;
    padding: 4px 12px;
    border-radius: 30px;
    margin-bottom: 12px;
}

.article-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-card h3 a {
    text-decoration: none;
    color: #0a2540;
    transition: color 0.2s;
}

.article-card h3 a:hover {
    color: #e85d04;
}

.article-excerpt {
    font-size: 0.85rem;
    color: #4b6a6f;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 12px;
}

.article-meta {
    font-size: 0.75rem;
    color: #7c8f92;
}

/* ---------- FOOTER ---------- */
.site-footer {
    background: #0f2b2f;
    color: #dce8ea;
    margin-top: 64px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 32px;
    padding-bottom: 32px;
}

.footer-col h3,
.footer-col h4 {
    color: white;
    margin-bottom: 16px;
}

.footer-col h3 span {
    color: #e85d04;
}

.footer-col p,
.footer-col address {
    font-style: normal;
    line-height: 1.6;
}

.footer-col ul {
    list-style: none;
}

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

.footer-col a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-col a:hover {
    color: #e85d04;
}

.footer-bottom {
    border-top: 1px solid #2a464b;
    text-align: center;
    padding: 20px 0;
    font-size: 0.85rem;
}

.footer-bottom a {
    color: #cbd5e1;
}

/* ---------- BACK TO TOP ---------- */
.back-to-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: #e85d04;
    color: white;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 30px;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

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

/* ---------- UTILITIES ---------- */
.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.section-header p {
    color: #6c7e82;
}

@media (max-width: 768px) {
    .articles-grid {
        grid-template-columns: 100%;
    }

    .reports-grid {
        grid-template-columns: 1fr;
    }

    .article-header h1 {
        font-size: 1.4rem;
    }

    .card-featured {
        grid-column: span 1;
    }

    .category-grid {
        grid-template-columns: 1fr;
    }

    .category-layout {
        flex-direction: column;
        grid-template-columns: 100%;
    }

    .article-meta-top {
        gap: 0.5rem;
    }

    .author-mini,
    .meta-info {
        font-size: 0.75rem;
    }

    .site-header {
        position: relative;
    }

    .hamburger {
        display: block;
    }

    .main-nav {
        position: fixed;
        top: 72px;
        left: -100%;
        width: 80%;
        height: calc(100vh - 72px);
        background: #fff;
        box-shadow: 2px 0 12px rgba(0, 0, 0, 0.1);
        transition: left 0.3s ease;
        z-index: 999;
        padding: 2rem;
    }

    .main-nav.open {
        left: 0;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 1.5rem;
    }

    .nav-container {
        padding: 12px 20px;
    }
}