.apollo-page {
    background: #f8fafc;
}

.apollo-top-strip {
    background: #0b2345;
    color: #cbd5e1;
    border-bottom: 3px solid #c8a15a;
    font-size: 13px;
}
.apollo-top-strip .container {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    padding: 8px 0;
}
.apollo-top-strip strong {
    color: #fff;
}

.apollo-subhero {
    background: linear-gradient(125deg, #0b2345, #174074);
    color: #f8fafc;
    padding: 34px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.apollo-subhero .eyebrow {
    display: inline-block;
    background: rgba(200, 161, 90, 0.2);
    color: #fcd34d;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 6px 10px;
    border-radius: 4px;
    margin-bottom: 8px;
}
.apollo-subhero h1 {
    margin: 0;
    font-size: clamp(26px, 4.2vw, 40px);
    line-height: 1.28;
}
.apollo-subhero p {
    margin: 8px 0 0;
    color: #dbeafe;
    max-width: 860px;
    line-height: 1.7;
}

.apollo-main {
    padding: 32px 0 54px;
}
.apollo-main-col .card-grid {
    grid-template-columns: 1fr;
    gap: 26px;
}
.apollo-main-col .apollo-post-card h3 {
    font-size: 29px;
    line-height: 1.35;
}
.apollo-main-col .apollo-post-card .post-summary {
    font-size: 17px;
}

.apollo-card {
    background: #fff;
    border-radius: 12px;
    border-top: 3px solid #c8a15a;
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
    padding: 24px;
}

.apollo-sidebar .card {
    border-top: 3px solid #0b2345;
}
.apollo-side-col {
    position: sticky;
    top: 84px;
    align-self: start;
}
.apollo-sidebar .card h3 {
    font-size: 20px;
    margin-bottom: 10px;
}
.apollo-sidebar a {
    color: #1f2937;
}
.apollo-sidebar a:hover {
    color: #0b2345;
}

.apollo-category-list p {
    margin: 0 0 10px;
}
.apollo-category-list a {
    display: block;
    padding: 8px 10px;
    border-radius: 8px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}

.apollo-list-head {
    text-align: center;
    margin-bottom: 22px;
}
.apollo-list-head h2 {
    margin: 0 0 8px;
    color: #0b2345;
    font-size: 30px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}
.apollo-list-head .bar {
    width: 70px;
    height: 4px;
    margin: 0 auto 10px;
    border-radius: 2px;
    background: linear-gradient(90deg, #c8a15a, #e5c27c);
}
.apollo-list-head p {
    margin: 0;
    color: #64748b;
}

.apollo-post-card {
    border-top-color: #c8a15a;
    transition: transform .2s ease, box-shadow .2s ease;
}
.apollo-post-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 34px rgba(15, 23, 42, 0.12);
}

.apollo-detail h1 {
    margin-top: 0;
    color: #0b2345;
    font-size: clamp(28px, 4vw, 40px);
    line-height: 1.3;
}
.apollo-detail .post-summary {
    font-size: 17px;
}
.apollo-detail-content {
    white-space: normal;
    line-height: 1.86;
    color: #1f2937;
    font-size: 17px;
    overflow-wrap: break-word;
}
.apollo-detail-content img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 1rem auto;
    border-radius: 8px;
}
.apollo-detail-content p {
    margin: 0 0 1em;
}
.apollo-detail-content h2,
.apollo-detail-content h3 {
    margin: 1.25em 0 0.5em;
    color: #0b2345;
}
.apollo-related p {
    margin: 0 0 10px;
}
.apollo-related a {
    display: block;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    border-radius: 8px;
    padding: 9px 10px;
}
.apollo-related a:hover {
    border-color: #c8a15a;
}
.apollo-view-count {
    display: block;
    margin-top: 6px;
    color: #64748b;
    font-size: 12px;
    font-weight: 700;
}

/* Khung nhúng PDF trong nội dung bài viết */
.post-pdf-embed {
    margin: 18px 0 22px;
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 28px -22px rgba(11, 35, 69, 0.5);
}
.post-pdf-embed__frame {
    display: block;
    width: 100%;
    height: 760px;
    max-height: 90vh;
    border: 0;
    background: #fff;
}
.post-pdf-embed--js {
    padding: 0;
}
.post-pdf-pages {
    width: 100%;
    padding: 8px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
    background: #fff;
}
.post-pdf-page {
    display: block;
    max-width: 100%;
    height: auto;
    box-shadow: 0 2px 12px -6px rgba(11, 35, 69, 0.4);
    border-radius: 4px;
}
.post-pdf-loading {
    text-align: center;
    color: #475569;
    padding: 20px 12px;
    margin: 0;
    font-size: 14px;
}

/* Link tài liệu PDF/DOC đính kèm trong nội dung bài viết */
.post-file-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    margin: 6px 0;
    background: linear-gradient(180deg, #fef9e7 0%, #fdf3c8 100%);
    border: 1px solid #d4a017;
    border-radius: 8px;
    color: #6b3e00 !important;
    font-weight: 600;
    text-decoration: none !important;
    transition: filter .15s ease, transform .15s ease;
}
.post-file-link::before {
    content: "";
    display: inline-block;
    width: 18px;
    height: 18px;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b3e00' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/><polyline points='14 2 14 8 20 8'/><line x1='12' y1='18' x2='12' y2='12'/><polyline points='9 15 12 18 15 15'/></svg>");
    background-size: contain;
    background-repeat: no-repeat;
    flex-shrink: 0;
}
.post-file-link:hover {
    filter: brightness(0.97);
    transform: translateY(-1px);
}

@media (max-width: 920px) {
    .apollo-main {
        padding-top: 22px;
    }
    .apollo-subhero {
        padding: 28px 0;
    }
    .apollo-main-col .apollo-post-card h3 {
        font-size: 23px;
    }
    .apollo-side-col {
        position: static;
    }
}

