/* ==========================================================================
   JIMORUBA NEWS CENTER - OWNED MEDIA STYLE
   ========================================================================== */

/* Variables */
:root {
    --news-bg: #FFFFFF;
    --news-gray-bg: #F9FAFB;
    --news-text-main: #333333;
    --news-text-sub: #6B7280;
    --news-border: #E5E7EB;
    --news-coral: #FF735C;
    --news-green: #7CB342;
}

/* Base Override */
body.news-page {
    background-color: var(--news-bg);
    color: var(--news-text-main);
    font-family: 'Noto Sans JP', sans-serif;
}

/* -------------------------------------
   Header (News Specific)
   ------------------------------------- */
.news-header {
    background-color: var(--news-bg);
    border-bottom: 1px solid var(--news-border);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.news-header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.news-logo-wrapper {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
}

.news-logo-wrapper .logo-img {
    height: 40px;
}

.news-logo-text {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--news-text-main);
    border-left: 2px solid var(--news-border);
    padding-left: 1rem;
    letter-spacing: 0.05em;
}

.news-search-box {
    display: flex;
    align-items: center;
    background: var(--news-gray-bg);
    border-radius: 999px;
    padding: 0.5rem 1.25rem;
    border: 1px solid var(--news-border);
    width: 300px;
}

.news-search-box input {
    border: none;
    background: transparent;
    outline: none;
    width: 100%;
    font-size: 0.95rem;
    padding-left: 0.5rem;
    color: var(--news-text-main);
}

.news-search-box i {
    color: var(--news-text-sub);
    width: 18px;
    height: 18px;
}

.news-nav {
    border-top: 1px solid var(--news-border);
    background-color: var(--news-bg);
}

.news-nav ul {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
    gap: 0 2rem;
}

.news-nav a {
    text-decoration: none;
    color: var(--news-text-main);
    font-weight: 700;
    font-size: 0.95rem;
    padding: 1rem 0;
    display: block;
    position: relative;
    transition: color 0.2s;
}

.news-nav a:hover {
    color: var(--news-coral);
}

.news-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background-color: var(--news-coral);
    transition: width 0.3s ease;
}

.news-nav a:hover::after {
    width: 100%;
}

@media (max-width: 768px) {
    .news-nav {
        background-color: #2196F3;
        border: none;
    }
    
    .news-nav ul {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding: 0;
        gap: 0;
        -webkit-overflow-scrolling: touch;
    }
    
    .news-nav ul::-webkit-scrollbar {
        display: none;
    }
    
    .news-nav ul li {
        flex: 0 0 auto;
        border-right: 1px solid rgba(255, 255, 255, 0.3);
    }
    
    .news-nav a {
        color: #fff;
        padding: 0.75rem 1rem;
        font-weight: 700;
        font-size: 0.9rem;
    }
    
    .news-nav a::after {
        display: none;
    }

    .news-nav ul li.active a {
        background-color: #fff;
        color: #2196F3;
    }
}

/* -------------------------------------
   Layout
   ------------------------------------- */
.news-container {
    max-width: 1200px;
    margin: 3rem auto;
    padding: 0 5%;
}

.news-layout {
    display: grid;
    grid-template-columns: 7fr 3fr;
    gap: 40px;
    margin-top: 3rem;
}

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

/* -------------------------------------
   Hero Grid (3 Pickup Articles)
   ------------------------------------- */
.news-hero-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 5%;
    height: 500px;
}

@media (max-width: 992px) {
    .news-hero-grid {
        grid-template-columns: 1fr;
        height: auto;
    }
}

.hero-article {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    display: block;
    text-decoration: none;
}

.hero-article img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.hero-article-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.2) 50%, rgba(0,0,0,0) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
}

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

.hero-article-sub {
    height: 240px;
}

@media (max-width: 992px) {
    .hero-article-main {
        height: 400px;
    }
    .hero-article-sub {
        height: 250px;
    }
}

.hero-cat-label {
    display: inline-block;
    background-color: var(--news-coral);
    color: #FFF;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 99px;
    margin-bottom: 1rem;
    width: fit-content;
}

.hero-cat-label.green { background-color: var(--news-green); }
.hero-cat-label.blue { background-color: #2196F3; }

.hero-title {
    color: #FFF;
    font-size: 1.75rem;
    font-weight: 800;
    line-height: 1.4;
    margin-bottom: 0.5rem;
}

.hero-article-sub .hero-title {
    font-size: 1.25rem;
}

.hero-date {
    color: #E5E7EB;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.hero-date i { width: 14px; height: 14px; }

/* -------------------------------------
   Main Column & Section Headers
   ------------------------------------- */
.news-section-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 2rem;
    border-bottom: 2px solid var(--news-border);
    padding-bottom: 0.75rem;
}

.news-section-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--news-text-main);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.news-section-title i {
    color: var(--news-coral);
}

.news-view-all {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--news-coral);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    transition: transform 0.2s;
}

.news-view-all:hover {
    transform: translateX(4px);
}

/* -------------------------------------
   Article Card (Grid format for Latest Articles)
   ------------------------------------- */
.news-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

@media (max-width: 768px) {
    .news-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

.news-grid-card {
    background-color: var(--news-bg);
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    color: var(--news-text-main);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid transparent;
}

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

.news-grid-card-thumb-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 3/2;
    overflow: hidden;
}

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

.news-grid-card:hover .news-grid-card-thumb-wrapper img {
    transform: scale(1.05);
}

.news-card-cat-absolute {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background-color: var(--news-coral);
    color: #FFF;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 99px;
    z-index: 10;
}

.news-card-cat-absolute.green { background-color: var(--news-green); }
.news-card-cat-absolute.blue { background-color: #2196F3; }
.news-card-cat-absolute.coral { background-color: var(--news-coral); }
.news-card-cat-absolute.orange { background-color: #FF9800; }

.news-grid-card-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.news-grid-card-date {
    font-size: 0.85rem;
    color: var(--news-text-sub);
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin-bottom: 0.75rem;
}

.news-grid-card-date i {
    width: 14px;
    height: 14px;
}

.news-grid-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.5;
    margin-bottom: 0.75rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s;
}

.news-grid-card:hover .news-grid-card-title {
    color: var(--news-coral);
}

.news-grid-card-excerpt {
    font-size: 0.95rem;
    color: var(--news-text-sub);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-top: auto;
}

@media (max-width: 768px) {
    .news-grid-card {
        flex-direction: row;
        padding: 1rem 0;
        border-bottom: 1px solid var(--news-border);
        border-radius: 0;
        background-color: transparent;
        box-shadow: none !important;
    }
    
    .news-grid-card:hover {
        transform: none;
    }
    
    .news-grid-card-thumb-wrapper {
        width: 80px;
        height: 80px;
        aspect-ratio: 1/1;
        flex-shrink: 0;
        border-radius: 8px;
    }
    
    .news-grid-card-content {
        padding: 0 0 0 1rem;
        justify-content: space-between;
    }
    
    .news-card-cat-absolute, 
    .news-grid-card-excerpt {
        display: none;
    }
    
    .news-grid-card-title {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }
    
    .news-grid-card-date {
        margin-bottom: 0;
        font-size: 0.75rem;
    }
}

/* -------------------------------------
   Article Card (Vertical list format)
   ------------------------------------- */
.news-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.news-card-h {
    display: flex;
    gap: 1.5rem;
    text-decoration: none;
    color: var(--news-text-main);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: var(--news-bg);
    border-radius: 12px;
    padding: 1rem;
    border: 1px solid transparent;
}

.news-card-h:hover {
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    border-color: var(--news-border);
    transform: translateY(-2px);
}

.news-card-h-thumb {
    width: 280px;
    height: 180px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}

@media (max-width: 640px) {
    .news-card-h {
        flex-direction: column;
        gap: 1rem;
    }
    .news-card-h-thumb {
        width: 100%;
        height: 200px;
    }
}

.news-card-h-content {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.news-card-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.news-card-cat {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 99px;
    border: 1px solid var(--news-coral);
    color: var(--news-coral);
}

.news-card-cat.green {
    border-color: var(--news-green);
    color: var(--news-green);
}

.news-card-date {
    font-size: 0.85rem;
    color: var(--news-text-sub);
    display: flex;
    align-items: center;
    gap: 0.25rem;
}
.news-card-date i { width: 14px; height: 14px; }

.news-card-h-title {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.5;
    margin-bottom: 0.5rem;
}

.news-card-h-excerpt {
    font-size: 0.95rem;
    color: var(--news-text-sub);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* -------------------------------------
   Article Card (Grid format for Categories)
   ------------------------------------- */
.news-grid-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 4rem;
}

@media (max-width: 768px) {
    .news-grid-row {
        grid-template-columns: 1fr;
    }
}

.news-card-v {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: var(--news-text-main);
    transition: transform 0.3s ease;
}

.news-card-v:hover {
    transform: translateY(-4px);
}

.news-card-v-thumb {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 1rem;
}

.news-card-v-title {
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.5;
    margin-bottom: 0.5rem;
}

/* -------------------------------------
   Sidebar
   ------------------------------------- */
.sidebar-box {
    background: var(--news-gray-bg);
    border: 1px solid var(--news-border);
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.sidebar-title {
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--news-text-main);
}
.sidebar-title i { color: var(--news-coral); width: 20px; height: 20px; }

/* Sidebar CTA */
.sidebar-cta {
    background: linear-gradient(135deg, #fff0ed 0%, #fffbf2 100%);
    border: 1px solid #ffe4db;
    text-align: center;
    padding: 2rem 1.5rem;
}
.sidebar-cta h3 {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--news-text-main);
    margin-bottom: 0.75rem;
    line-height: 1.4;
}
.sidebar-cta p {
    font-size: 0.9rem;
    color: var(--news-text-sub);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}
.btn-sidebar-cta {
    display: inline-block;
    background: linear-gradient(135deg, #FF735C 0%, #f9a826 100%);
    color: #fff;
    font-weight: 700;
    padding: 0.85rem 1.5rem;
    border-radius: 999px;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
    width: 100%;
    box-shadow: 0 4px 15px rgba(255, 115, 92, 0.2);
}
.btn-sidebar-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 115, 92, 0.3);
    color: #fff;
}

/* Ranking */
.ranking-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.ranking-item {
    display: flex;
    gap: 1rem;
    text-decoration: none;
    color: var(--news-text-main);
    align-items: center;
}

.ranking-item:hover .ranking-title {
    color: var(--news-coral);
}

.ranking-thumb-wrapper {
    position: relative;
    width: 80px;
    height: 80px;
    flex-shrink: 0;
}

.ranking-badge {
    position: absolute;
    top: -8px;
    left: -8px;
    width: 24px;
    height: 24px;
    background-color: var(--news-text-main);
    color: #FFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 800;
    z-index: 2;
}

.ranking-badge.rank-1 { background-color: #D4AF37; } /* Gold */
.ranking-badge.rank-2 { background-color: #C0C0C0; } /* Silver */
.ranking-badge.rank-3 { background-color: #CD7F32; } /* Bronze */

/* Removing unused ranking-num as we use absolute badges */

.ranking-thumb {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}

.ranking-title {
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s;
}

/* Tag Cloud */
.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.tag-item {
    background-color: #FFF;
    border: 1px solid var(--news-border);
    color: var(--news-text-sub);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 99px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.tag-item:hover {
    background-color: var(--news-coral);
    border-color: var(--news-coral);
    color: #FFF;
}

/* ==========================================================================
   JIMORUBA NEWS DETAIL PAGE - CSS
   ========================================================================== */

/* Breadcrumbs */
.article-breadcrumbs {
    background-color: var(--color-white);
    padding: 1.5rem 5%;
    border-bottom: 1px solid var(--color-border);
    margin-top: 0;
}

.breadcrumbs-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--color-text-muted);
    flex-wrap: wrap;
}

.breadcrumbs-inner a {
    color: var(--color-text-dark);
    text-decoration: none;
    font-weight: 500;
}

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

.breadcrumbs-inner i {
    width: 14px;
    height: 14px;
}

/* Article Container Layout */
.article-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 5%;
}

.article-main {
    background: var(--color-white);
}

/* Article Header */
.article-header {
    margin-bottom: 2.5rem;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.article-dates {
    display: flex;
    gap: 1rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-text-muted);
    font-family: 'Outfit', sans-serif;
}

.article-dates span {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.article-dates i {
    width: 16px;
    height: 16px;
}

.article-title {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 900;
    line-height: 1.4;
    color: var(--color-text-dark);
    margin-bottom: 1.5rem;
}

.article-share {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.share-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-text-muted);
    letter-spacing: 0.05em;
}

.share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: #FFF;
    transition: transform 0.2s, opacity 0.2s;
    text-decoration: none;
}

.share-btn:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

.share-btn i {
    width: 18px;
    height: 18px;
}

.share-btn.twitter { background-color: #000000; }
.share-btn.facebook { background-color: #1877F2; }
.share-btn.link { background-color: #6B7280; }

/* Eyecatch */
.article-eyecatch {
    margin: 0 0 3rem 0;
    border-radius: 12px;
    overflow: hidden;
}

.article-eyecatch img {
    width: 100%;
    height: auto;
    object-fit: cover;
    aspect-ratio: 16/9;
}

/* Table of Contents */
.article-toc {
    background-color: var(--color-light-gray);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 3rem;
}

.toc-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.toc-list, .toc-sublist {
    list-style: none;
    padding: 0;
    margin: 0;
}

.toc-list li {
    margin-bottom: 0.75rem;
}

.toc-list li:last-child {
    margin-bottom: 0;
}

.toc-list a {
    color: var(--color-text-dark);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}

.toc-list a:hover {
    color: var(--color-primary);
    text-decoration: underline;
}

.toc-sublist {
    padding-left: 1.5rem;
    margin-top: 0.5rem;
}

.toc-sublist a {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--color-text-muted);
}

/* Article Body Typography */
.article-body {
    font-size: 1.05rem;
    line-height: 1.9;
    color: #333333;
}

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

.article-body h2 {
    font-size: 1.6rem;
    font-weight: 800;
    margin: 3.5rem 0 1.5rem 0;
    padding: 0.8rem 0 0.8rem 1rem;
    border-left: 6px solid var(--color-primary);
    border-bottom: 1px solid var(--color-border);
    line-height: 1.3;
}

.article-body h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin: 2.5rem 0 1rem 0;
    color: var(--color-text-dark);
}

.article-body ul {
    margin-bottom: 1.8rem;
    padding-left: 1.5rem;
}

.article-body ul li {
    margin-bottom: 0.5rem;
    list-style-type: disc;
}

.article-body blockquote {
    background-color: var(--color-light-gray);
    border-left: 4px solid var(--color-accent);
    padding: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: #555;
    border-radius: 0 8px 8px 0;
}

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

.article-body blockquote cite {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-text-muted);
    font-style: normal;
}

.article-image {
    margin: 2.5rem 0;
}

.article-image img {
    border-radius: 8px;
    width: 100%;
}

.article-image figcaption {
    text-align: center;
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-top: 0.5rem;
}

/* Article Footer */
.article-footer {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid var(--color-border);
}

.article-share-bottom {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.article-share-bottom .share-btn {
    width: auto;
    border-radius: 99px;
    padding: 0 1.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    gap: 0.5rem;
}

.article-author {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background-color: var(--color-light-gray);
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 3rem;
}

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

.author-role {
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--color-accent);
    letter-spacing: 0.05em;
    display: block;
    margin-bottom: 0.2rem;
}

.author-name {
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.author-bio {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    line-height: 1.6;
    margin: 0;
}

/* Prev/Next Navigation */
.article-nav {
    display: flex;
    gap: 1.5rem;
    justify-content: space-between;
}

.article-nav a {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    text-decoration: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.article-nav a:hover {
    border-color: var(--color-primary);
    box-shadow: var(--shadow-sm);
}

.article-nav-prev {
    text-align: left;
}

.article-nav-next {
    text-align: right;
    flex-direction: row;
}

.nav-text {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.nav-text span {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--color-text-muted);
}

.nav-text strong {
    font-size: 0.95rem;
    color: var(--color-text-dark);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media (max-width: 768px) {
    .article-meta { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
    .article-author { flex-direction: column; text-align: center; }
    .article-nav { flex-direction: column; }
    .article-nav-next { text-align: left; }
    .article-nav-next i { order: -1; }
}
