﻿* {
    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: #1e2a3a;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

ul,
ol {
    list-style: none;
}

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

a {
    text-decoration: none;
    color: inherit;
}

a:hover {
    text-decoration: none;
}

main {
    flex: 1;
}

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

/* ===== HEADER (with scroll effect) ===== */
.site-header {
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(8px);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.03);
    z-index: 100;
    border-bottom: 1px solid #eaeef2;
    transition: background 0.3s, box-shadow 0.3s, backdrop-filter 0.3s;
}

.site-header.scrolled {
    background: #ffffff;
    backdrop-filter: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border-bottom-color: #d0ddee;
}

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

.logo a {
    font-size: 1.8rem;
    font-weight: 600;
    letter-spacing: -0.5px;
    text-decoration: none;
    color: #0b1c2f;
}

.logo span {
    color: #3b6e9c;
    font-weight: 400;
}

.hamburger {
    display: none;
    background: none;
    border: 1px solid #ccc;
    font-size: 2rem;
    padding: 0 12px;
    cursor: pointer;
    border-radius: 8px;
    color: #2c3e50;
}

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

.nav-menu a {
    text-decoration: none;
    color: #2c3e50;
    font-weight: 500;
    font-size: 1.05rem;
    transition: color 0.2s;
    padding-bottom: 4px;
    border-bottom: 2px solid transparent;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #1a5a8c;
    border-bottom-color: #1a5a8c;
}

/* ===== TOP ANNOUNCEMENT ===== */
.top-announcement {
    background: #f2f6f9;
    padding: 12px 0;
    border-bottom: 1px solid #dce5ec;
    font-size: 1rem;
}

.top-announcement a {
    color: #1a5a8c;
    font-weight: 500;
    text-decoration: none;
}

/* ===== BREADCRUMB ===== */
.category-title {
    margin-top: 15px;
}

.breadcrumb {
    padding: 24px 0 12px;
}

.breadcrumb ol {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    background: #f5f8fc;
    padding: 10px 18px;
    border-radius: 40px;
    font-size: 0.95rem;
}

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

.breadcrumb li+li::before {
    content: "›";
    margin: 0 10px;
    color: #8a9fb0;
    font-size: 1.2rem;
    line-height: 1;
}

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

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

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

/* ===== SECTIONS & LAYOUT ===== */
.section {
    padding: 48px 0;
}

.bg-light {
    background: #f9fbfd;
}

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

h2 {
    font-size: 2rem;
    font-weight: 500;
    letter-spacing: -0.02em;
    color: #0b1c2f;
}

/* ===== CARD GRIDS ===== */
.card-grid {
    display: grid;
    gap: 30px;
}

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

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

/* ===== CARD STYLES (multiple variants) ===== */
.card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.25s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.02);
    border: 1px solid #edf2f7;
    display: flex;
    flex-direction: column;
}

.card-img {
    aspect-ratio: 4/3;
    overflow: hidden;
    background: #eef2f6;
}

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

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

.card-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #1a5a8c;
    background: #e6f0fa;
    padding: 4px 10px;
    border-radius: 30px;
    margin: 16px 16px 8px;
    align-self: flex-start;
}

.card h3 {
    font-size: 1.25rem;
    line-height: 1.4;
    margin: 0 16px 8px;
    font-weight: 600;
}

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

.card h3 a:hover {
    color: #1a5a8c;
}

.card-excerpt {
    color: #4a5f73;
    font-size: 0.95rem;
    margin: 0 16px 12px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-meta {
    margin: 0 16px 16px;
    font-size: 0.85rem;
    color: #6f8a9f;
    border-top: 1px dashed #e0e8f0;
    padding-top: 12px;
}

/* Card variations */
.card-border {
    border: 2px solid #e0eaf3;
    box-shadow: none;
}

.card-light {
    background-color: #fafdff;
    border: 1px solid #dde9f5;
}

.card-simple {
    box-shadow: none;
    border: 1px solid #eaeef2;
}

.card-large h3 {
    font-size: 1.4rem;
}

.card-stacked .card-img {
    border-radius: 16px 16px 0 0;
}

/* Horizontal mini card (used in Business section) */
.horizontal-mini {
    display: flex;
    flex-direction: row;
    align-items: center;
    border: none;
    background: transparent;
    box-shadow: none;
    margin-bottom: 20px;
}

.horizontal-mini .card-img.small {

    border-radius: 12px;
    flex: 0 0 25%;
}

.horizontal-mini .card-content {
    flex: 1;
    padding-left: 15px;
}

.horizontal-mini h4 {
    font-size: 1rem;
    margin: 0 0 5px;
}

.horizontal-mini .card-meta {
    border: none;
    padding: 0;
    margin: 0;
}

/* Asymmetric grid (Business section) */
.asymmetric-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.feature-card {
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid #edf2f7;
}

.feature-card .card-img {
    aspect-ratio: 4/3;
}

.card-vertical-stack {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* ===== STATIC FILTERS & TAGS (no JS) ===== */
.static-filter,
.static-sort,
.category-filter {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.filter-select {
    padding: 8px 16px;
    border: 1px solid #cbd5e1;
    border-radius: 30px;
    background: white;
    font-size: 0.95rem;
    color: #1e2a3a;
    cursor: pointer;
    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='%234a5f73' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 14px;
    padding-right: 38px;
}

.topic-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 20px 0;
}

.topic-item {
    background: #edf4fa;
    padding: 8px 18px;
    border-radius: 40px;
    text-decoration: none;
    color: #1e3a5f;
    font-size: 0.95rem;
    transition: background 0.2s;
}

.topic-item:hover {
    background: #d0e2f5;
}

.static-tags {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.tags-label {
    font-weight: 600;
    color: #2c3e50;
}

.fake-tag {
    background: #eef2f6;
    padding: 6px 18px;
    border-radius: 30px;
    font-size: 0.9rem;
    color: #2c3e50;
    cursor: default;
}

/* ===== PAGINATION (static) ===== */
.static-pagination,
.pagination {
    margin: 48px 0 20px;
    display: flex;
    justify-content: center;
}

.pagination ul {
    display: flex;
    gap: 8px;
    list-style: none;
    flex-wrap: wrap;
}

.pagination a,
.pagination span {
    display: inline-block;
    padding: 8px 14px;
    border: 1px solid #d9e2ec;
    border-radius: 30px;
    color: #2c3e50;
    text-decoration: none;
    font-weight: 500;
    transition: 0.15s;
}

.pagination a:hover {
    background: #1a5a8c;
    color: #fff;
    border-color: #1a5a8c;
}

.pagination .active {
    background: #1a5a8c;
    color: #fff;
    border-color: #1a5a8c;
}

.pagination .disabled {
    opacity: 0.5;
    pointer-events: none;
    background: #f0f5fa;
}

.page-dots {
    border: none;
    padding: 8px 0;
}

/* ===== SIDEBAR COMPONENTS (shared) ===== */
.sidebar-card {
    background: #f8fafc;
    border-radius: 20px;
    padding: 24px 20px;
    margin-bottom: 32px;
    border: 1px solid #e6edf4;
}

.author-box {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.author-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.author-info h4 {
    font-size: 1.2rem;
    margin-bottom: 4px;
}

.author-info p {
    color: #4f6f8f;
    font-size: 0.9rem;
}

.sidebar-title {
    font-size: 1.3rem;
    font-weight: 500;
    margin-bottom: 18px;
    border-left: 5px solid #1a5a8c;
    padding-left: 16px;
}

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

.list-links li {
    margin-bottom: 14px;
    border-bottom: 1px dotted #d0ddee;
    padding-bottom: 10px;
}

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

.list-links a:hover {
    color: #1a5a8c;
}

.list-links .meta {
    font-size: 0.8rem;
    color: #6f8a9f;
    margin-top: 4px;
}

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

.cat-list li {
    margin-bottom: 12px;
    display: flex;
    justify-content: space-between;
    border-bottom: 1px dashed #cbd6e4;
    padding-bottom: 8px;
}

.cat-list a {
    text-decoration: none;
    color: #2c3e50;
}

.cat-list a:hover {
    color: #1a5a8c;
}

.cat-count {
    background: #e2eaf3;
    padding: 2px 8px;
    border-radius: 40px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* ===== ARTICLE DETAIL PAGE ===== */
.article-header {
    margin-bottom: 30px;
}

.article-header h1 {
    font-size: 2.4rem;
    font-weight: 600;
    line-height: 1.3;
    color: #0b1c2f;
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}

.article-subhead {
    font-size: 1.2rem;
    color: #4a5f73;
    margin-bottom: 20px;
    font-weight: 400;
    border-left: 4px solid #1a5a8c;
    padding-left: 18px;
}

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

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

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

.author-mini span {
    font-weight: 600;
    color: #1e2a3a;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #5b7a98;
    font-size: 0.95rem;
}

.meta-item i {
    font-style: normal;
}

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

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

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

.article-body h2 {
    font-size: 1.6rem;
    margin: 1.8em 0 1em;
    font-weight: 600;
    color: #0b1c2f;
}

.article-body h3 {
    font-size: 1.3rem;
    margin: 1.5em 0 0.8em;
    font-weight: 600;
}

.article-body blockquote {
    background: #f2f7fc;
    border-left: 5px solid #1a5a8c;
    padding: 20px 24px;
    margin: 24px 0;
    font-style: italic;
    color: #1e3a5f;
    border-radius: 0 20px 20px 0;
}

.article-body img {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    margin: 24px 0;
}

.article-body figcaption {
    font-size: 0.85rem;
    color: #6f8a9f;
    text-align: center;
    margin-top: -16px;
}

.article-category {
    margin: 32px 0 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.article-category .label {
    font-weight: 600;
    color: #1e2a3a;
}

.article-category a {
    background: #e6f0fa;
    padding: 5px 15px;
    border-radius: 30px;
    text-decoration: none;
    color: #1a5a8c;
    font-size: 0.85rem;
    font-weight: 500;
    transition: background 0.2s;
}

.article-category a:hover {
    background: #cddef5;
}

.author-bio {
    background: #f5faff;
    border-radius: 24px;
    padding: 28px;
    margin: 40px 0;
    display: flex;
    gap: 24px;
    align-items: center;
    border: 1px solid #dbe8f5;
}

.author-bio img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid white;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.05);
}

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

.author-bio p {
    color: #2c4a6e;
}

.share-block {
    margin: 30px 0;
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.share-label {
    font-weight: 600;
}

.share-btn {
    background: #f0f5fb;
    border: none;
    padding: 8px 18px;
    border-radius: 40px;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 500;
    color: #1e2a3a;
    transition: background 0.2s, color 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

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

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

.comment {
    background: #f8fbfe;
    padding: 20px;
    border-radius: 16px;
    margin-bottom: 20px;
    border: 1px solid #e2ecf7;
}

.comment strong {
    color: #0b1c2f;
}

.comment time {
    font-size: 0.8rem;
    color: #6f8a9f;
    margin-left: 15px;
}

.comment p {
    margin-top: 8px;
    color: #2c3e50;
}

.comment-form {
    background: #f5faff;
    border-radius: 24px;
    padding: 28px;
    margin-top: 40px;
}

.comment-form h4 {
    font-size: 1.3rem;
    margin-bottom: 20px;
}

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

.comment-form textarea {
    border-radius: 24px;
}

.comment-form button {
    background: #1a5a8c;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 40px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.comment-form button:hover {
    background: #0e3e62;
}

.form-note {
    font-size: 0.8rem;
    color: #7a8fa5;
    margin-top: 10px;
}

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

.related-card {
    background: white;
    border: 1px solid #eaeef2;
    border-radius: 16px;
    overflow: hidden;
    transition: box-shadow 0.2s;
}

.related-card:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.03);
}

.related-card .card-img {
    aspect-ratio: 4/3;
    overflow: hidden;
}

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

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

.related-card h4 {
    font-size: 1rem;
    margin: 12px 12px 6px;
    line-height: 1.4;
}

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

.related-card h4 a:hover {
    color: #1a5a8c;
}

.related-card .meta {
    font-size: 0.75rem;
    color: #6f8a9f;
    margin: 0 12px 12px;
}

/* ===== AUTHOR PROFILE PAGE ===== */
.author-profile {
    max-width: 1000px;
    margin: 0 auto 40px;
}

.author-card {
    display: flex;
    gap: 40px;
    background: #f5faff;
    border-radius: 40px;
    padding: 48px;
    margin: 30px 0 40px;
    border: 1px solid #e0ecf9;
    align-items: center;
    flex-wrap: wrap;
}

.author-card img {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid white;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.author-card-info {
    flex: 1;
}

.author-card-info h1 {
    font-size: 3rem;
    font-weight: 600;
    color: #0b1c2f;
    margin-bottom: 8px;
    line-height: 1.2;
}

.author-card-info .author-title {
    font-size: 1.4rem;
    color: #1a5a8c;
    font-weight: 400;
    margin-bottom: 16px;
}

.author-card-info .author-bio-short {
    font-size: 1.1rem;
    color: #2e4056;
    border-left: 4px solid #7aa5c2;
    padding-left: 20px;
    margin: 20px 0;
}

.author-meta {
    display: flex;
    gap: 30px;
    color: #4a6782;
}

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

.author-detailed {
    background: white;
    border-radius: 32px;
    padding: 40px;
    border: 1px solid #eaf1f9;
    margin-bottom: 48px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.author-detailed h2 {
    font-size: 2rem;
    font-weight: 500;
    margin-bottom: 24px;
    color: #0b1c2f;
}

.author-detailed p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #1e2a3a;
    margin-bottom: 1.4em;
}

.author-detailed h3 {
    font-size: 1.4rem;
    margin: 32px 0 16px;
    color: #1e3a5f;
}

.author-detailed ul {
    list-style: none;
    padding: 0;
}

.author-detailed li {
    margin-bottom: 12px;
    padding-left: 24px;
    position: relative;
}

.author-detailed li::before {
    content: "•";
    color: #1a5a8c;
    font-size: 1.5rem;
    position: absolute;
    left: 0;
    top: -6px;
}

.author-articles {
    margin-top: 40px;
}

.author-articles h2 {
    font-size: 2rem;
    font-weight: 500;
    margin-bottom: 30px;
    color: #0b1c2f;
    border-left: 6px solid #1a5a8c;
    padding-left: 20px;
}

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

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

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.05);
}

.article-card .card-img {
    aspect-ratio: 4/3;
    overflow: hidden;
}

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

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

.article-card h3 {
    font-size: 1.2rem;
    margin: 16px 16px 8px;
    line-height: 1.4;
}

.article-card h3 a {
    text-decoration: none;
    color: #0b1c2f;
}

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

.article-card .card-meta {
    margin: 0 16px 16px;
    font-size: 0.85rem;
    color: #6f8a9f;
    border: none;
    padding: 0;
}

/* ===== CATEGORY TWO COLUMN LAYOUT ===== */
.category-layout {
    display: flex;
    gap: 40px;
    margin-top: 20px;
}

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

.sidebar {
    flex: 0 0 30%;
}

/* ===== FOOTER ===== */
.site-footer {
    background: #1e2a3a;
    color: #ddd;
    padding: 28px 0;
    margin-top: 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
}

.footer-col h4 {
    color: #fff;
    margin-bottom: 16px;
    font-size: 1.2rem;
}

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

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

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

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

.footer-logo {
    font-size: 1.8rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 12px;
}

.footer-logo span {
    color: #7aa5c2;
}

.footer-bottom {
    text-align: center;
    color: #aaa;
    font-size: 0.9rem;
}

/* ===== BACK TO TOP ===== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #1a5a8c;
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 30px;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
    display: none;
    /* hidden by default, shown via JS */
    align-items: center;
    justify-content: center;
    transition: background 0.2s, transform 0.2s;
    z-index: 99;
}

.back-to-top:hover {
    background: #0e3e62;
    transform: scale(1.05);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 992px) {
    .category-layout {
        flex-direction: column;
    }

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

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

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

@media (max-width: 768px) {
    .article-meta-bar {
        gap: 0.5rem;
    }

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

    .site-header {
        position: relative;
    }

    .header-container {
        height: 54px;
    }

    .hamburger {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 54px;
        left: 0;
        width: 100%;
        background: white;
        padding: 0 24px 24px;
        box-shadow: 0 20px 30px rgba(0, 0, 0, 0.1);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-out;
        border-bottom: 1px solid #eaeef2;
        display: none;
    }

    .nav-menu.show {
        max-height: 400px;
        display: block;
    }

    .nav-menu ul {
        flex-direction: column;
        gap: 1.2rem;
    }

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

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

    .grid-2,
    .grid-3 {
        grid-template-columns: 1fr;
    }

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

    .author-card {
        flex-direction: column;
        text-align: center;
        padding: 30px;
    }

    .author-card-info .author-bio-short {
        border-left: none;
        border-top: 2px solid #7aa5c2;
        padding-left: 0;
        padding-top: 16px;
    }

    .author-meta {
        justify-content: center;
        flex-wrap: wrap;
    }

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

@media (max-width: 480px) {
    .article-header h1 {
        font-size: 1.5rem;
    }

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

    .author-card img {
        width: 140px;
        height: 140px;
    }

    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 1.5rem;
    }
}