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

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

ul,
li {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 16px;
}

a {
    text-decoration: none;
    color: #1a1e24;
    transition: color 0.2s ease;
}

a:hover {
    color: #0f6e4a;
}

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

.site-header {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(8px);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: background 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 1px 0 #eaeef2;
}

.site-header.scrolled {
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

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

.logo a {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #111;
}

.logo span {
    color: #0f6e4a;
    font-weight: 600;
}

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

.nav-list a {
    font-weight: 500;
    font-size: 1rem;
    color: #2c3e2f;
}

.nav-list a:hover,
.nav-list a.active {
    color: #0f6e4a;
    border-bottom: 2px solid #0f6e4a;
    padding-bottom: 6px;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    background: none;
    border: none;
}

.bar {
    width: 26px;
    height: 2px;
    background-color: #1a1e24;
    margin: 3px 0;
    transition: 0.3s;
}

/* ===== BREAKING BAR ===== */
.breaking-bar {
    background: #fef6e0;
    border-bottom: 1px solid #ffdfa5;
    padding: 12px 0;
    font-size: 0.9rem;
}

.breaking-label {
    background: #c72a2a;
    color: white;
    padding: 3px 10px;
    border-radius: 30px;
    font-weight: 600;
    margin-right: 12px;
    font-size: 0.8rem;
}

.breaking-text a {
    color: #0f6e4a;
    font-weight: 500;
}

/* ===== SECTIONS ===== */
.section {
    padding: 60px 0;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.section-header h2 {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.view-all {
    font-size: 0.9rem;
    font-weight: 500;
    color: #0f6e4a;
    border-bottom: 1px solid #cbd5e1;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 32px;
}

.card {
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02), 0 1px 2px rgba(0, 0, 0, 0.03);
}

.card-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 30px -12px rgba(0, 0, 0, 0.1);
}

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

.card-content {
    padding: 20px;
}

.card-category {
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 600;
    color: #0f6e4a;
    letter-spacing: 0.5px;
}

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

.card-content p ,.excerpt{
    color: #4a5562;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-meta {
    font-size: 0.8rem;
    color: #6c757d;
}

/* alternate card layout */
.alternate-bg {
    background: #f9fafb;
    border-radius: 40px;
    margin: 20px 0;
    padding: 40px 32px;
}

.mixed-layout {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.card-horizontal {
    flex: 1.5;
    display: flex;
    gap: 24px;
    align-items: center;
    background: #fff;
    border-radius: 24px;
}

.card-horizontal .card-img {
    flex: 1;
}

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

.card-list-vertical {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

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

.list-img img {
    width: 100px;
    height: 75px;
    object-fit: cover;
    border-radius: 12px;
}

.list-content h4 {
    font-size: 1rem;
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* FEATURE REPORT */
.feature-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.feature-card {
    background: #f9fafb;
    border-radius: 28px;
    overflow: hidden;
}

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

.feature-content {
    padding: 28px;
}

.feature-content h3 {
    font-size: 1.6rem;
    margin: 12px 0 10px;
    line-height: 1.3;
}

.side-feature-item {
    display: flex;
    gap: 20px;
    margin-bottom: 24px;
    align-items: center;
}

.side-img img {
    width: 90px;
    height: 68px;
    object-fit: cover;
    border-radius: 12px;
}

.side-text h4 {
    font-size: 1rem;
    line-height: 1.4;
}

/* HOT TOPICS */
.hot-topics {
    background: #f2f5f9;
    border-radius: 48px;
    margin-bottom: 40px;
}

.topics-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.topic-tag {
    background: white;
    padding: 8px 20px;
    border-radius: 40px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.topic-tag:hover {
    background: #0f6e4a;
    color: white;
    transform: scale(1.02);
}

/* ===== FOOTER ===== */
.site-footer {
    background: #11181c;
    color: #e2e8f0;
    padding: 20px 0;
    margin-top: 40px;
}

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

.footer-logo {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.footer-logo span {
    color: #58b99c;
}

.footer-col h4 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: white;
}

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

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

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

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

.footer-bottom {
    text-align: center;
    font-size: 0.85rem;
}

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

/* ===== BACK TO TOP ===== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 46px;
    height: 46px;
    background: #0f6e4a;
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: 0.2s;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 99;
}

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

/* ===== LIST PAGE & TWO COLUMN LAYOUT ===== */
.two-column-layout {
    display: grid;
    grid-template-columns: 70% 28%;
    gap: 48px;
    margin: 48px auto;
}

.category-two-col {
    display: grid;
    grid-template-columns: 70% 28%;
    gap: 48px;
    margin: 2rem 0 3rem;
}

/* Main content area for list & detail */
.main-content-area {
    min-width: 0;
}

/* Articles grid (list page) */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

/* List card style */
.list-card {
    display: flex;
    gap: 24px;
    margin-bottom: 40px;
    background: #fff;
    border-radius: 24px;
    transition: all 0.2s;
}

.list-card-img {
    flex: 0 0 220px;
}

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

.list-card-content h2 {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.list-card-content p {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: #334155;
}

/* Pagination */
.pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 40px;
    justify-content: center;
}

.pagination a {
    padding: 8px 14px;
    border-radius: 30px;
    background: #f1f5f9;
    color: #1e293b;
}

.pagination a.active,
.pagination a:hover {
    background: #0f6e4a;
    color: white;
}

.pagination a.disabled {
    opacity: 0.4;
    pointer-events: none;
}

/* Sidebar widgets */
.sidebar-widget {
    background: #f8fafc;
    padding: 24px;
    border-radius: 24px;
    margin-bottom: 32px;
}

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

.sidebar-list li {
    margin-bottom: 1rem;
    border-bottom: 1px solid #edf2f7;
    padding-bottom: 0.75rem;
}

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

.sidebar-list a {
    font-weight: 500;
    display: block;
    margin-bottom: 0.25rem;
}

.sidebar-list .post-date {
    font-size: 0.7rem;
    color: #6c86a3;
}

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

.cat-list a {
    background: #eef2ff;
    padding: 6px 16px;
    border-radius: 40px;
    font-size: 0.8rem;
    font-weight: 500;
    transition: all 0.2s;
}

.cat-list a:hover {
    background: #0f6e4a;
    color: white;
}

/* Author widget */
.author-widget {
    text-align: center;
    background: #ffffff;
    border: 1px solid #eef2f6;
}

.author-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1rem;
    display: block;
    border: 3px solid #0f6e4a;
}

.author-name {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.author-bio {
    font-size: 0.85rem;
    color: #475569;
    line-height: 1.5;
}

/* ===== DETAIL PAGE STYLES ===== */
.post-header h1 {
    font-size: 2.4rem;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

.post-subtitle {
    font-size: 1.2rem;
    color: #2c3e2f;
    font-weight: 400;
    margin-top: 0.5rem;
    margin-bottom: 1rem;
    border-left: 3px solid #0f6e4a;
    padding-left: 1rem;
}

.post-meta-info {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.5rem;
    margin: 1.2rem 0 1.8rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eef2f6;
    font-size: 0.9rem;
    color: #5a6e7c;
}

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

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

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

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

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

.post-body h2 {
    font-size: 1.6rem;
    margin: 2rem 0 1rem;
    font-weight: 600;
}

.post-body blockquote {
    font-size: 0.985rem;
}

.post-footer {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #eef2f6;
}

.article-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.article-categories a {
    background: #eef2ff;
    padding: 0.3rem 1rem;
    border-radius: 40px;
    font-size: 0.8rem;
    font-weight: 500;
    transition: 0.2s;
}

.article-categories a:hover {
    background: #0f6e4a;
    color: white;
}

.author-bio-card {
    background: #f8fafc;
    border-radius: 24px;
    padding: 1.8rem;
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    margin: 2rem 0;
}

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

.author-bio-text h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.author-bio-text p {
    font-size: 0.9rem;
    color: #2c3e2f;
    line-height: 1.5;
}

.share-buttons {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
    margin: 1.5rem 0 1rem;
}

.share-btn {
    background: #eef2ff;
    border: none;
    padding: 8px 18px;
    border-radius: 40px;
    font-weight: 500;
    cursor: pointer;
    transition: 0.2s;
}

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

.comment-section {
    margin: 2.5rem 0;
}

.comment-list {
    margin-top: 1.5rem;
}

.comment {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eef2f6;
}

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

.comment-content p {
    margin-top: 0.2rem;
    color: #334155;
}

.comment-form textarea,
.comment-form input {
    width: 100%;
    padding: 12px;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    margin-bottom: 12px;
    font-family: inherit;
}

.related-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.related-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.2s;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

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

.related-card-content {
    padding: 1rem;
}

.related-card-content h4 {
    font-size: 1rem;
    line-height: 1.4;
    margin: 0.25rem 0;
}

/* ===== AUTHOR PAGE STYLES ===== */
.author-hero {
    max-width: 900px;
    margin: 2rem auto 3rem;
    text-align: center;
}

.author-avatar-large {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1.5rem;
    border: 4px solid #0f6e4a;
    box-shadow: 0 12px 24px -12px rgba(0, 0, 0, 0.1);
}

.author-name {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
}

.author-title {
    font-size: 1.1rem;
    color: #0f6e4a;
    font-weight: 500;
    margin-bottom: 1rem;
}

.author-bio-short {
    font-size: 1rem;
    color: #334155;
    max-width: 600px;
    margin: 0 auto 1rem;
    line-height: 1.5;
}

.author-detail-text {
    background: #f8fafc;
    border-radius: 28px;
    padding: 2rem;
    margin: 2rem auto;
    max-width: 800px;
}

.author-detail-text p {
    margin-bottom: 1.2rem;
    font-size: 1rem;
    line-height: 1.6;
    color: #1e293b;
}

.author-detail-text h2 {
    font-size: 1.5rem;
    margin: 1.5rem 0 1rem;
    font-weight: 600;
}

.author-detail-text h3 {
    font-size: 1.2rem;
    margin: 1rem 0 0.5rem;
}

.author-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    background: white;
    padding: 0.8rem 1.5rem;
    border-radius: 60px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.stat-number {
    font-size: 1.6rem;
    font-weight: 700;
    color: #0f6e4a;
}

.stat-label {
    font-size: 0.8rem;
    color: #5b6e8c;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 1.5rem 0;
}

.social-links a {
    background: #eef2ff;
    padding: 0.5rem 1rem;
    border-radius: 40px;
    font-size: 0.8rem;
    font-weight: 500;
    transition: 0.2s;
}

.social-links a:hover {
    background: #0f6e4a;
    color: white;
}

.articles-by-author {
    max-width: 1000px;
    margin: 3rem auto;
}

.articles-by-author h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.8rem;
}

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

.author-article-card {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.2s;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02), 0 1px 2px rgba(0, 0, 0, 0.03);
}

.author-article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 30px -12px rgba(0, 0, 0, 0.1);
}

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

.author-article-content {
    padding: 1.2rem;
}

.author-article-content h3 {
    font-size: 1.1rem;
    line-height: 1.4;
    margin: 0.5rem 0;
}

.author-article-content .card-meta {
    font-size: 0.75rem;
}

/* ===== BREADCRUMB ===== */
.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding: 0.75rem 1rem;
    margin: 0 0 1.5rem 0;
    background: #f8fafc;
    border-radius: 60px;
    font-size: 0.85rem;
}

.breadcrumb li {
    display: inline-flex;
    align-items: center;
}

.breadcrumb li+li::before {
    content: "›";
    margin: 0 0.5rem;
    color: #94a3b8;
    font-size: 1.1rem;
}

.breadcrumb a {
    color: #0f6e4a;
    text-decoration: none;
    font-weight: 500;
}

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

/* ===== CATEGORY HEADER ===== */
.category-header h1 {
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
}

.category-header p {
    color: #475569;
    margin-bottom: 1.5rem;
    border-left: 3px solid #0f6e4a;
    padding-left: 1rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 980px) {

    .two-column-layout,
    .category-two-col,
    .post-wrapper,
    .feature-grid {
        grid-template-columns: 100%;
    }

    .mixed-layout {
        grid-template-columns: 100%;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 80%;
        height: calc(100vh - 70px);
        background: white;
        transition: 0.3s;
        box-shadow: 2px 0 12px rgba(0, 0, 0, 0.05);
        padding: 2rem;
    }

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

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

    .card-horizontal {
        gap: 0;
        flex-direction: column;
    }
}

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

    .post-header h1 {
        font-size: 1.8rem;
    }

    .post-subtitle {
        font-size: 1rem;
    }

    .author-bio-card {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
}

@media (max-width: 768px) {
    .site-header {
        position: relative;
    }

    .post-meta-info {
        gap: 0.5px;
        font-size: 0.75rem;
    }

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

    .section-header h2 {
        font-size: 1.5rem;
    }

    .breadcrumb {
        border-radius: 30px;
        font-size: 0.75rem;
    }

    .category-header h1 {
        font-size: 1.8rem;
    }

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

    .author-name {
        font-size: 1.8rem;
    }

    .author-avatar-large {
        width: 120px;
        height: 120px;
    }

    .author-detail-text {
        padding: 1.2rem;
    }

    .author-stats {
        gap: 1rem;
    }
}

.static-form input,
.static-form textarea,
.static-dropdown select {
    width: 100%;
    padding: 12px;
    border: 1px solid #e2e8f0;
    border-radius: 40px;
    background: white;
    font-family: inherit;
}

.btn-submit {
    background: #0f6e4a;
    color: white;
    border: none;
    padding: 10px 18px;
    border-radius: 40px;
    margin-top: 10px;
    cursor: pointer;
    width: 100%;
    transition: 0.2s;
}

.btn-submit:hover {
    background: #0a5238;
}