/* Auto jin Premium CSS Style Sheet */

/* Reset & Variables */
:root {
    color-scheme: light;
    --bg-primary: #f8fafc;
    --bg-card: #ffffff;
    --text-primary: #0f172a;
    --text-secondary: #334155;
    --text-muted: #64748b;
    --accent-blue: #1d4ed8;
    --accent-blue-light: #eff6ff;
    --accent-green: #047857;
    --accent-green-light: #ecfdf5;
    --border-color: #e2e8f0;
    --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.05);
    --shadow-md: 0 4px 12px rgba(15, 23, 42, 0.06);
    --shadow-lg: 0 12px 24px -4px rgba(15, 23, 42, 0.08);
    --font-sans: 'Noto Sans KR', sans-serif;
    --font-heading: 'Outfit', 'Noto Sans KR', sans-serif;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: var(--font-sans);
    background-color: var(--bg-primary);
    color: var(--text-secondary);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

/* Header & Navigation */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

.header-container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
}

.logo-accent {
    color: var(--accent-blue);
    margin-right: 1px;
}

.nav-menu ul {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-menu a {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-secondary);
    padding: 6px 0;
    position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--accent-blue);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-blue);
    transition: var(--transition);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

/* Nav Toggle Button (Mobile) */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    padding: 4px;
}

.nav-toggle .bar {
    width: 22px;
    height: 2px;
    background-color: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition);
}

/* Main Layout */
.main-container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 24px 20px 80px;
}

.content-wrapper {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 32px;
    margin-top: 24px;
}

/* Ad Slots (AdSense Optimized) */
.ad-slot {
    margin-bottom: 24px;
    text-align: center;
}

.ad-label {
    display: block;
    font-size: 10px;
    font-weight: 500;
    color: var(--text-muted);
    letter-spacing: 1px;
    margin-bottom: 6px;
}

.ad-placeholder {
    background-color: #f1f5f9;
    border: 1px dashed var(--border-color);
    border-radius: var(--radius-md);
    padding: 30px 20px;
    min-height: 100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--text-muted);
}

.ad-placeholder p {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 4px;
}

.ad-placeholder-sidebar {
    background-color: #f1f5f9;
    border: 1px dashed var(--border-color);
    border-radius: var(--radius-md);
    height: 250px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 500;
    text-align: center;
}

/* Search & Filters */
.filter-controls {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-bottom: 28px;
    box-shadow: var(--shadow-sm);
}

.search-box {
    display: flex;
    position: relative;
    margin-bottom: 20px;
}

.search-box input {
    width: 100%;
    padding: 14px 50px 14px 20px;
    font-size: 15px;
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-md);
    outline: none;
    font-family: var(--font-sans);
    transition: var(--transition);
    color: var(--text-primary);
    background-color: var(--bg-primary);
}

.search-box input:focus {
    border-color: var(--accent-blue);
    background-color: var(--bg-card);
    box-shadow: 0 0 0 4px rgba(29, 78, 216, 0.08);
}

.search-btn {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.search-btn:hover {
    color: var(--accent-blue);
}

.category-tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.tab-btn {
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    font-family: var(--font-sans);
    transition: var(--transition);
}

.tab-btn:hover {
    background-color: #f1f5f9;
    border-color: #cbd5e1;
}

.tab-btn.active {
    background-color: var(--accent-blue);
    border-color: var(--accent-blue);
    color: white;
}

/* Post Cards Grid */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.art-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
}

.art-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.art-card-link {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.art-card-image {
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
    transition: var(--transition);
    display: flex !important;
    align-items: flex-start;
    gap: 6px;
    padding: 16px;
}

.art-card:hover .art-card-image {
    filter: brightness(0.95);
}

/* Badges */
.badge {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 700;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.art-card-image .badge {
    position: static;
}

.badge-policy { background-color: var(--accent-blue); color: white; }
.badge-finance { background-color: var(--accent-green); color: white; }
.badge-welfare { background-color: #7c3aed; color: white; } /* Purple */
.badge-tips, .badge-tax { background-color: #ea580c; color: white; }    /* Orange */

.art-card-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.art-date {
    font-size: 13px;
    color: #64748b !important;
    margin-bottom: 8px;
    font-weight: 500;
}

.art-title {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 12px;
    /* Multiline Clamp */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.art-title a {
    color: #0f172a !important;
    text-decoration: none;
    transition: var(--transition);
}

.art-title a:hover,
.art-card:hover .art-title a {
    color: #1d4ed8 !important;
}

.art-summary {
    font-size: 14px;
    color: #334155 !important;
    line-height: 1.6;
    margin-bottom: 16px;
    /* Multiline Clamp */
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.post-meta {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #f1f5f9;
    padding-top: 12px;
    font-size: 13px;
    color: var(--text-muted);
}

/* Sidebar Widgets */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.sidebar-widget {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-sm);
}

.sidebar-widget h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
    position: relative;
    padding-bottom: 8px;
}

.sidebar-widget h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 3px;
    background-color: var(--accent-blue);
    border-radius: 2px;
}

.sidebar-widget p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-secondary);
}

.sticky-ad-widget {
    position: sticky;
    top: 90px;
}

/* Footer */
.footer {
    background-color: #0f172a;
    color: #94a3b8;
    padding: 60px 0;
    border-top: 1px solid #1e293b;
}

.footer-container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.footer-info {
    flex: 1 1 500px;
}

.footer-info h3 {
    font-family: var(--font-heading);
    color: white;
    font-size: 24px;
    margin-bottom: 16px;
}

.footer-info p {
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 12px;
}

.footer-info .copyright {
    margin-top: 24px;
    font-size: 12px;
    color: #64748b;
}

.footer-links {
    flex: 0 0 200px;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    font-size: 14px;
    color: #cbd5e1;
}

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

/* ---------------------------------------------------- */
/* Article Detail View Styling (Used by individual posts) */
/* ---------------------------------------------------- */
.post-detail-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-sm);
}

.post-header {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 24px;
    margin-bottom: 32px;
}

.post-header .badge {
    position: static;
    display: inline-block;
    margin-bottom: 16px;
    box-shadow: none;
}

.post-header h1 {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.35;
    margin-bottom: 16px;
}

.post-info-meta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    row-gap: 8px;
    font-size: 14px;
    color: var(--text-muted);
}

.post-info-meta span {
    display: flex;
    align-items: center;
}

/* Article Body Typography */
.post-body {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.8;
}

.post-body p {
    margin-bottom: 24px;
}

.post-body h2 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    margin-top: 40px;
    margin-bottom: 16px;
    padding-left: 12px;
    border-left: 4px solid var(--accent-blue);
    line-height: 1.4;
}

.post-body h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin-top: 32px;
    margin-bottom: 12px;
}

.post-body ul, .post-body ol {
    margin-bottom: 24px;
    padding-left: 24px;
}

.post-body li {
    margin-bottom: 8px;
}

.post-body blockquote {
    background-color: var(--bg-primary);
    border-left: 4px solid #94a3b8;
    padding: 16px 20px;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    margin: 24px 0;
    font-style: italic;
    color: var(--text-secondary);
}

/* Table Responsive scroll wrapper for mobile */
.table-wrapper {
    overflow-x: auto;
    margin: 28px 0;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
}

.post-body table {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
    text-align: left;
    min-width: 500px;
}

.post-body th {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-weight: 700;
    padding: 12px 16px;
    border-bottom: 2px solid var(--border-color);
}

.post-body td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-color);
}

.post-body tr:last-child td {
    border-bottom: none;
}

/* Notice box call-out styled beautifully */
.info-box {
    background-color: var(--accent-blue-light);
    border-left: 4px solid var(--accent-blue);
    padding: 20px;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    margin: 32px 0;
}

.info-box h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--accent-blue);
    margin-bottom: 6px;
}

.info-box p {
    margin-bottom: 0;
    font-size: 14.5px;
    color: var(--text-secondary);
}

/* CTA button inside article */
.post-cta-wrapper {
    text-align: center;
    margin: 40px 0;
}

.post-cta-btn {
    display: inline-block;
    background-color: var(--accent-blue);
    color: white !important;
    padding: 14px 28px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 30px;
    box-shadow: 0 4px 12px rgba(29, 78, 216, 0.25);
    transition: var(--transition);
}

.post-cta-btn:hover {
    background-color: #1e40af;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(29, 78, 216, 0.35);
}

/* ---------------------------------------------------- */
/* Media Queries (Responsive Mobile Layouts) */
/* ---------------------------------------------------- */
@media (max-width: 900px) {
    .content-wrapper {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    
    .sidebar {
        margin-top: 20px;
    }
    
    .sticky-ad-widget {
        position: static;
        top: auto;
    }
}

@media (max-width: 768px) {
    .header-container {
        padding: 12px 16px;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--bg-card);
        border-bottom: 1px solid var(--border-color);
        padding: 20px;
        box-shadow: var(--shadow-md);
    }
    
    .nav-menu.active {
        display: block;
    }
    
    .nav-menu ul {
        flex-direction: column;
        gap: 16px;
        align-items: center;
    }
    
    .nav-menu a::after {
        display: none;
    }
    
    .posts-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .post-detail-wrapper {
        padding: 24px 16px;
        border-radius: 0;
        border-left: none;
        border-right: none;
    }
    
    .post-header h1 {
        font-size: 24px;
    }
    
    .filter-controls {
        padding: 16px;
    }
    
    .category-tabs {
        gap: 6px;
    }
    
    .tab-btn {
        padding: 6px 12px;
        font-size: 13px;
    }
}

/* Post Card Author & Meta Metadata */
.art-card-meta-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.art-author {
    font-weight: 500;
    color: #1d4ed8 !important;
    background-color: #eff6ff !important;
    padding: 2px 8px;
    border-radius: 4px;
}

/* Visitor Counter Sidebar Widget */
.visitor-widget {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 20px;
    margin-bottom: 24px;
}

.visitor-widget h4 {
    font-family: var(--font-heading);
    color: var(--text-primary);
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 8px;
}

.visitor-stats {
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.visitor-stat-item {
    flex: 1;
    text-align: center;
    background-color: var(--bg-primary);
    padding: 10px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
}

.visitor-label {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.visitor-value {
    display: block;
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    font-family: var(--font-heading);
}

/* Anti-AdBlock Modal Overlay */
.adblock-modal-backdrop {
    display: none; /* Controlled by JS */
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 99999;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.adblock-modal-content {
    background-color: #ffffff;
    max-width: 500px;
    width: 100%;
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    text-align: center;
    border: 1px solid var(--border-color);
    animation: modalSlideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalSlideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.adblock-icon {
    font-size: 52px;
    margin-bottom: 20px;
}

.adblock-modal-content h2 {
    font-family: var(--font-heading);
    color: var(--text-primary);
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
}

.adblock-modal-content p {
    font-size: 14.5px;
    color: var(--text-secondary);
    line-height: 1.65;
    margin-bottom: 16px;
}

.adblock-btn {
    background-color: var(--accent-blue);
    color: #ffffff;
    border: none;
    padding: 12px 24px;
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
    margin-top: 10px;
    width: 100%;
}

.adblock-btn:hover {
    background-color: #1e40af;
    transform: translateY(-1px);
}

/* --- Added 3차 고도화 CSS --- */

/* Table Wrapper for Horizontal Scroll */
.table-wrapper {
    width: 100%;
    overflow-x: auto;
    margin: 24px 0;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.table-wrapper table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 14.5px;
    min-width: 500px;
}

.table-wrapper th, .table-wrapper td {
    padding: 14px 18px;
    border-bottom: 1px solid var(--border-color);
}

.table-wrapper th {
    background-color: var(--bg-primary);
    font-weight: 700;
    color: var(--text-primary);
}

.table-wrapper tr:last-child td {
    border-bottom: none;
}

/* Author Info & Cards */
.author-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 24px;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    margin-top: 40px;
    box-shadow: var(--shadow-sm);
}

.author-card-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background-color: var(--accent-blue-light);
    color: var(--accent-blue);
    font-size: 24px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    flex-shrink: 0;
    border: 2px solid var(--accent-blue);
}

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

.author-card-info h5 {
    margin: 0 0 8px 0;
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.author-card-info h5 a {
    color: var(--text-primary);
}

.author-card-info h5 a:hover {
    color: var(--accent-blue);
}

.author-badge {
    font-size: 11px;
    background-color: var(--accent-blue-light);
    color: var(--accent-blue);
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 600;
}

.author-card-info p {
    margin: 0;
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.author-card-specialties {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 12px;
}

.author-spec-badge {
    font-size: 12px;
    color: var(--text-muted);
    background-color: var(--bg-primary);
    padding: 3px 8px;
    border-radius: 4px;
    border: 1px solid var(--border-color);
}

/* Update Log Section */
.update-log-section {
    margin-top: 30px;
    padding: 20px;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.update-log-section h3 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.update-log-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.update-log-item {
    font-size: 13px;
    color: var(--text-secondary);
    display: flex;
    gap: 12px;
}

.update-log-date {
    font-weight: 600;
    color: var(--text-muted);
    min-width: 90px;
}

/* Soft AdBlock Modal Customizations */
.adblock-close {
    position: absolute;
    top: 16px;
    right: 24px;
    font-size: 28px;
    font-weight: 500;
    color: var(--text-muted);
    cursor: pointer;
    line-height: 1;
    transition: var(--transition);
}

.adblock-close:hover {
    color: var(--text-primary);
}

/* Trust Banner link styling */
.trust-banner-link {
    display: block;
    margin-top: 40px;
    padding: 16px 24px;
    background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-primary) 100%);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    text-align: center;
    font-size: 14px;
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.trust-banner-link:hover {
    border-color: var(--accent-blue);
    color: var(--accent-blue);
    transform: translateY(-1px);
}

/* Author Detail Page styling */
.author-detail-header {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    gap: 32px;
}

.author-detail-avatar {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    background-color: var(--accent-blue-light);
    color: var(--accent-blue);
    font-size: 36px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid var(--accent-blue);
    flex-shrink: 0;
}

.author-detail-body h1 {
    font-size: 28px;
    margin: 0 0 12px 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-detail-body p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0 0 16px 0;
}

/* Brief Detail Page styling */
.brief-detail-box {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: var(--shadow-sm);
}

.brief-detail-box h1 {
    font-size: 28px;
    margin: 0 0 16px 0;
    color: var(--text-primary);
}

.brief-section {
    margin-top: 30px;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
}

.brief-section h3 {
    font-size: 18px;
    margin-bottom: 16px;
    color: var(--text-primary);
}

/* Summary Box (Key Policy Info Panel) */
.summary-box {
    background-color: #f8fafc;
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--accent-blue);
    border-radius: var(--radius-md);
    padding: 24px;
    margin-bottom: 32px;
}

.summary-box-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.summary-box ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 24px;
}

.summary-box li {
    font-size: 14.5px;
    line-height: 1.5;
    margin-bottom: 0 !important;
    display: flex;
    align-items: flex-start;
}

.summary-box li strong {
    color: var(--text-primary);
    font-weight: 700;
    min-width: 80px;
    display: inline-block;
    flex-shrink: 0;
}

@media (max-width: 600px) {
    .summary-box ul {
        grid-template-columns: 1fr;
        gap: 10px;
    }
}

