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

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

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

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

ul,
li {
    list-style: none;
}

.line-clamp-1 {
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
}

.line-clamp-2 {
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.line-clamp-3 {
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.line-clamp-4 {
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
}

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


.site-header {
    position: sticky;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    z-index: 1000;
    transition: background 0.3s, box-shadow 0.3s;
}

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

.header-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

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

.logo span {
    color: #2563eb;
}

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

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

.nav-list a {
    font-weight: 500;
    color: #1e293b;
    transition: color 0.2s;
    font-size: 1rem;
}

.nav-list a:hover,
.nav-list a.active {
    color: #2563eb;
}

.hamburger {
    display: none;
    font-size: 2rem;
    background: none;
    border: none;
    cursor: pointer;
    color: #1e293b;
    line-height: 1;
    padding: 0 0.5rem;
}





.breaking-strip {
    background: #f1f5f9;
    padding: 0.6rem 0;
    font-size: 0.9rem;
    border-bottom: 1px solid #e2e8f0;
}

.breaking-strip .container {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.breaking-label {
    background: #dc2626;
    color: white;
    padding: 0.2rem 0.8rem;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
}

.breaking-text {
    color: #0f172a;
}

.breaking-text a {
    color: #2563eb;
    font-weight: 500;
}

/* ========== SECTION TITLES ========== */
.section-title {
    font-size: 1.8rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 2rem;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: #2563eb;
    margin-top: 0.5rem;
    border-radius: 2px;
}

/* ========== CARD COMMON ========== */
.card-img {
    overflow: hidden;
    background: #f1f5f9;
}

.img-4x3 {
    aspect-ratio: 4/3;
    width: 100%;
}

.card-img img {
    width: 100%;
    height: 100%;
    border-radius: 10px;
    object-fit: cover;
    transition: transform 0.3s;
}

.card-regular:hover .card-img img,
.card-featured-large:hover .card-img img,
.card-small:hover .card-img img,
.related-card:hover .card-img img {
    transform: scale(1.05);
}

.card-category {
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #2563eb;
    display: inline-block;
    margin-bottom: 0.4rem;
}

.card-title {
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 0.3rem;
    color: #0f172a;
}

.card-excerpt {
    color: #475569;
    font-size: 1.1rem;
    line-height: 1.5;
    margin: 0.3rem 0 0.6rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-meta {
    font-size: 0.8rem;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}


.featured-grid {
    margin-top: 3rem;
    margin-bottom: 3rem;
}

.featured-parent {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 1.8rem;
}

.card-featured-large {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 8px 20px -6px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s, box-shadow 0.2s;
    border: 1px solid #edf2f7;
}

.card-featured-large:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 30px -12px rgba(37, 99, 235, 0.15);
}

.card-featured-large .card-content {
    padding: 1.5rem;
}

.card-featured-large .card-title {
    font-size: 1.5rem;
}

.featured-side {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.card-small {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
    border: 1px solid #edf2f7;
    transition: transform 0.2s;
}

.card-small:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 24px -10px rgba(0, 0, 0, 0.1);
}

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

.card-small .card-title {
    font-size: 1rem;
    margin: 0.2rem 0 0.3rem;
}

@media (max-width: 992px) {
    .featured-parent {
        grid-template-columns: 1fr;
    }
}


.topic-clusters {
    margin: 4rem 0;
}

.cluster-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1.2rem;
}

.cluster-item {
    background: #f8fafc;
    border-radius: 60px;
    padding: 1rem 0.8rem;
    text-align: center;
    border: 1px solid #e2e8f0;
    transition: all 0.2s;
}

.cluster-item:hover {
    background: #2563eb;
    border-color: #2563eb;
    color: white;
    transform: scale(1.02);
}

.cluster-icon {
    font-size: 1.8rem;
    display: block;
    margin-bottom: 0.3rem;
}

.cluster-item h3 {
    font-size: 0.9rem;
    font-weight: 600;
    margin: 0.2rem 0;
}

.cluster-item p {
    font-size: 0.7rem;
    color: #64748b;
}

.cluster-item:hover p {
    color: rgba(255, 255, 255, 0.8);
}

@media (max-width: 992px) {
    .cluster-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 640px) {
    .cluster-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


.latest-news {
    margin-top: 4rem;
    margin-bottom: 4rem;
}

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

.filter-static .fake-select {
    background: white;
    border: 1px solid #cbd5e0;
    border-radius: 40px;
    padding: 0.5rem 2rem 0.5rem 1.2rem;
    font-size: 0.9rem;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.8rem center;
    background-size: 14px;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.card-regular {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
    border: 1px solid #edf2f7;
    transition: transform 0.2s, box-shadow 0.2s;
    padding: 20px;
}

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

.card-regular .card-content {
    padding: 1.2rem 1rem;
}



/* ========== SPECIAL REPORTS ========== */
.special-reports {
    margin-top: 4rem;
    margin-bottom: 4rem;
}

.special-stack {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.special-card {
    display: flex;
    gap: 2rem;
    background: white;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid #edf2f7;
    box-shadow: 0 8px 18px -8px rgba(0, 0, 0, 0.05);
}

.special-card.reverse {
    flex-direction: row-reverse;
}

.special-img {
    flex: 1 1 40%;
    aspect-ratio: 4/3;
}

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

.special-content {
    flex: 1 1 60%;
    padding: 1.8rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.special-content h3 {
    font-size: 1.6rem;
    margin: 0.5rem 0 0.8rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media (max-width: 768px) {

    .special-card,
    .special-card.reverse {
        flex-direction: column;
    }
}

/* ========== HOT TAGS ========== */
.hot-tags {
    margin: 4rem 0;
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.tag {
    background: #f1f5f9;
    padding: 0.4rem 1.2rem;
    border-radius: 40px;
    font-size: 0.9rem;
    color: #1e293b;
    border: 1px solid #e2e8f0;
    transition: all 0.2s;
}

.tag:hover {
    background: #2563eb;
    color: white;
    border-color: #2563eb;
}


.breadcrumb {
    margin: 1.5rem 0 2rem;
    font-size: 0.95rem;
}

.breadcrumb ol {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0;
    background: #f5f7fa;
    padding: 0.75rem 1.2rem;
    border-radius: 40px;
}

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

.breadcrumb li::after {
    content: "›";
    margin: 0 0.6rem;
    color: #888;
    font-weight: 300;
}

.breadcrumb li:last-child::after {
    content: none;
}

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

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

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


.two-column {
    display: flex;
    gap: 2.5rem;
    align-items: flex-start;
}

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

.sidebar {
    flex: 0 0 30%;
}

@media (max-width: 992px) {
    .two-column {
        flex-direction: column;
    }

    .main-content,
    .sidebar {
        flex: auto;
        width: 100%;
    }
}


.sidebar-widget {
    margin-bottom: 2.5rem;
    background: #fafbfc;
    padding: 1.5rem;
    border-radius: 20px;
}

.sidebar-title {
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    margin-bottom: 1.2rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e2e8f0;
}

.author-card {
    display: flex;
    gap: 1.2rem;
    align-items: center;
    background: #ffffff;
    border: 1px solid #edf2f7;
    border-radius: 20px;
    padding: 1.2rem;
}

.author-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #2563eb;
}

.author-info h3 {
    margin: 0 0 0.3rem;
    font-size: 1.2rem;
}

.author-info p {
    margin: 0;
    font-size: 0.9rem;
    color: #4a5568;
    line-height: 1.4;
}

.post-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.post-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.7rem 0;
    border-bottom: 1px dashed #dde7f0;
}

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

.post-list a {
    color: #1e293b;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
}

.post-list a:hover {
    color: #2563eb;
    text-decoration: underline;
}

.post-list span {
    font-size: 0.8rem;
    color: #64748b;
    white-space: nowrap;
    margin-left: 1rem;
}

.category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #eef2f6;
    display: flex;
    justify-content: space-between;
    color: #334155;
}

.category-list a {
    color: #1e293b;
    text-decoration: none;
}

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

.category-list span {
    color: #64748b;
    font-size: 0.9rem;
}


.category-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.8rem;
    margin: 2rem 0 2.5rem;
}

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


.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin: 3rem 0 1rem;
    flex-wrap: wrap;
}

.pagination a,
.pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 0.3rem;
    border-radius: 30px;
    background: #ffffff;
    border: 1px solid #dee7ef;
    color: #2d3a4f;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.15s;
}

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

.pagination .active {
    background: #2563eb;
    border-color: #2563eb;
    color: white;
    pointer-events: none;
}

.pagination .prev,
.pagination .next {
    padding: 0 1.2rem;
}

@media (max-width: 480px) {

    .pagination a,
    .pagination span {
        min-width: 36px;
        height: 36px;
    }
}


.article-header {
    margin-bottom: 2rem;
}

.article-title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin: 0.5rem 0 0.75rem;
}

@media (max-width: 640px) {
    .article-title {
        font-size: 1.4rem;
        line-height: 1.3;
    }
}

.article-subhead {
    font-size: 1.2rem;
    color: #4a5568;
    font-weight: 400;
    margin-bottom: 1.5rem;
    border-left: 4px solid #2563eb;
    padding-left: 1rem;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.2rem 1.8rem;
    margin: 1.5rem 0 2rem;
    padding: 1rem 0;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}

.author-mini {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

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

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    color: #2d3a4f;
    font-size: 0.9rem;
}

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

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

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

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

.article-body blockquote {
    border-left: 5px solid #2563eb;
    background: #f8fafc;
    padding: 1.2rem 1.8rem;
    font-style: italic;
    color: #2c3e50;
    margin: 2rem 0;
}

.article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin: 2rem 0 1.5rem;
}

.tag-link {
    background: #edf2f7;
    padding: 0.3rem 1rem;
    border-radius: 30px;
    font-size: 0.85rem;
    color: #2d3748;
    text-decoration: none;
    transition: background 0.15s;
}

.tag-link:hover {
    background: #2563eb;
    color: white;
}

.author-bio {
    display: flex;
    gap: 1.5rem;
    background: #f9f9fc;
    padding: 1.8rem;
    border-radius: 24px;
    margin: 2.5rem 0;
    border: 1px solid #eef2f6;
}

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

.author-bio h4 {
    margin: 0 0 0.5rem;
    font-size: 1.3rem;
}

.author-bio p {
    margin: 0;
    color: #4a5568;
}

.share-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    margin: 2rem 0;
    padding: 1rem 0;
    border-top: 1px dashed #cbd5e0;
    border-bottom: 1px dashed #cbd5e0;
}

.share-label {
    font-weight: 600;
    margin-right: 0.5rem;
}

.share-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #1e293b;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.15s;
    border: none;
    padding: 10px;
    border-radius: 10px;
    cursor: pointer;
}

.share-icon:hover {
    background: #2563eb;
    color: white;
}

.comments-section {
    margin: 3rem 0;
}

.comments-title {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

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

.comment-item {
    display: flex;
    gap: 1rem;
    padding: 1.5rem 0;
    border-bottom: 1px solid #e2e8f0;
}

.comment-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.comment-content {
    flex: 1;
}

.comment-author {
    font-weight: 600;
    margin-right: 1rem;
}

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

.comment-text {
    margin: 0.5rem 0 0;
    line-height: 1.5;
}

.comment-form-placeholder {
    background: #f7fafc;
    padding: 1.5rem;
    border-radius: 16px;
    margin-top: 2rem;
}

.comment-form-placeholder input,
.comment-form-placeholder textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #cbd5e0;
    border-radius: 30px;
    margin-bottom: 1rem;
    font-family: inherit;
}

.comment-form-placeholder button {
    background: #2563eb;
    color: white;
    border: none;
    padding: 0.7rem 2rem;
    border-radius: 40px;
    cursor: default;
    font-weight: 600;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin: 2rem 0 1rem;
}


.related-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    transition: transform 0.2s, box-shadow 0.2s;
    border: 1px solid #edf2f7;
}

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

.related-card .card-img {
    overflow: hidden;
}

.related-card .card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: scale 0.3s;
}

.related-card:hover .card-img img {
    scale: 1.05;
}

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

.related-card .card-title {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.4;
    margin: 0 0 0.3rem;
}

.related-card .card-meta {
    font-size: 0.8rem;
}


.author-profile {
    background: #fff;
    border-radius: 32px;
    padding: 2.5rem;
    margin: 3rem 0;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.02);
    border: 1px solid #f0f4f9;
}

.author-profile-header {
    display: flex;
    gap: 2.5rem;
    align-items: center;
    flex-wrap: wrap;
}

.author-profile-avatar {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #2563eb;
    box-shadow: 0 12px 20px -10px rgba(37, 99, 235, 0.2);
}

.author-profile-title {
    flex: 1;
}

.author-profile-name {
    font-size: 2.8rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin: 0 0 0.5rem;
    line-height: 1.2;
}


.author-profile-role {
    font-size: 1.2rem;
    color: #4b5563;
    margin-bottom: 1rem;
    border-left: 4px solid #2563eb;
    padding-left: 1rem;
}

.author-profile-bio {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #2d3a4f;
    max-width: 600px;
}

.author-social {
    display: flex;
    gap: 1.2rem;
    margin: 2rem 0 0.5rem;
}

.author-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #eef2f6;
    color: #1e293b;
    text-decoration: none;
    font-size: 1.2rem;
    transition: all 0.15s;
}

.author-social a:hover {
    background: #2563eb;
    color: white;
    transform: translateY(-3px);
}

.author-detail-body {
    margin-top: 2.5rem;
    border-top: 1px solid #e2e8f0;
    padding-top: 2rem;
    font-size: 1.085rem;
    letter-spacing: 0.2px;
    color: #171717;
    line-height: 1.7;
}

.author-detail-body p {
    margin: 1.5rem 0;
}

.author-detail-body h2 {
    font-size: 1.8rem;
    margin: 2.5rem 0 1rem;
}

.author-detail-body h3 {
    font-size: 1.3rem;
    margin: 2rem 0 0.8rem;
}

.author-detail-body ul {
    margin-left: 1.5rem;
    line-height: 1.8;
}

.contact-info {
    background: #f9f9fc;
    padding: 1.5rem;
    border-radius: 24px;
    margin: 2rem 0;
}

.contact-info a {
    color: #2563eb;
    text-decoration: none;
}

.author-articles {
    margin: 3.5rem 0;
}

/* ========== FOOTER ========== */
.site-footer {
    background: #0f172a;
    color: #cbd5e1;
    padding: 2rem 0 2rem;
    margin-top: 4rem;
}

.site-footer p {
    text-align: center;
    margin: 0;
}

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

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

.footer-col h4 {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 1.2rem;
    font-weight: 600;
}

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

.footer-col li {
    margin-bottom: 0.6rem;
}

.footer-col a {
    color: #94a3b8;
    transition: color 0.2s;
}

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

.footer-logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.8rem;
}

.footer-logo span {
    color: #2563eb;
}

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

.social-links a {
    font-size: 1.3rem;
}

.newsletter-mini {
    display: flex;
    margin-top: 1rem;
}

.mini-input {
    flex: 1;
    padding: 0.6rem 1rem;
    border: none;
    border-radius: 40px 0 0 40px;
    background: #1e293b;
    color: white;
    outline: none;
}

.mini-btn {
    background: #2563eb;
    border: none;
    color: white;
    padding: 0 1.2rem;
    border-radius: 0 40px 40px 0;
    font-size: 1.2rem;
    cursor: default;
    transition: background 0.2s;
}

.mini-btn:hover {
    background: #1d4ed8;
}



/* ========== BACK TO TOP ========== */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #2563eb;
    color: white;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    display: none;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, transform 0.2s;
    z-index: 999;
}

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

.back-to-top.show {
    display: flex;
}

/* ========== UTILS ========== */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

@media (max-width: 992px) {
    .related-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

@media (max-width: 768px) {
    .author-profile-avatar{
        margin: 0 auto;
    }
    .article-meta {
        gap: 0.5rem;
    }

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

    .site-header {
        position: relative;
    }

    .header-flex{
        height: 54px;
    }

    .hamburger {
        display: block;
    }

    .main-nav {
        position: absolute;
        top: 54px;
        left: 0;
        width: 100%;
        background: white;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-out;
        flex-direction: column;
        align-items: flex-start;
        padding: 0 20px;
    }

    .main-nav.nav-open {
        max-height: 400px;
        padding: 20px;
    }

    .nav-list {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
    }

    .author-profile-name {
        font-size: 2rem;
        text-align: center;
    }
}

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

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

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