/* Extracted from application/views/detail_news.php on 2026-11-02 so browsers can cache it (HTML is sent
   no-store, so inline CSS re-downloaded on every page view). Cascade order
   preserved: the <link> sits where the first <style> block was. */
/* ===========================================
   ARTICLE DETAIL — CLEAN WHITE BRAND DESIGN
   =========================================== */

/* Hero banner */
.dn-hero {
    position: relative;
    padding: 70px 0 50px;
    background:
        radial-gradient(1200px 600px at 10% -10%, rgba(23,119,183,0.08), transparent 60%),
        radial-gradient(900px 500px at 110% 110%, rgba(0,180,130,0.06), transparent 60%),
        #fbfcfe;
    overflow: hidden;
}
.dn-hero:before {
    content: "";
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(23,119,183,0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(23,119,183,0.045) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: radial-gradient(ellipse at center, rgba(0,0,0,0.7) 0%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse at center, rgba(0,0,0,0.7) 0%, transparent 75%);
    pointer-events: none;
}
.dn-hero .container { position: relative; z-index: 2; }

.dn-crumb {
    font-size: 12px;
    color: #6b7f95;
    margin-bottom: 20px;
    letter-spacing: .4px;
}
.dn-crumb a { color: #1777b7; text-decoration: none; font-weight: 600; }
.dn-crumb a:hover { text-decoration: underline; }
.dn-crumb i { margin: 0 8px; color: #b6c6d6; font-size: 10px; }

.dn-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 16px;
}
.dn-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 14px;
    border-radius: 999px;
    background: rgba(23,119,183,.10);
    border: 1px solid rgba(23,119,183,.18);
    color: #1777b7;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.8px;
    text-transform: uppercase;
}
.dn-tag i { font-size: 10px; }
.dn-date {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 14px;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid #dbe7f2;
    color: #5c6f84;
    font-size: 11px;
    font-weight: 700;
}
.dn-date i { color: #00b482; }

.dn-hero h1 {
    margin: 0 0 14px;
    color: #0d2036;
    font-size: 38px;
    font-weight: 800;
    line-height: 1.18;
    letter-spacing: -.5px;
    font-family: 'Montserrat', sans-serif;
    max-width: 820px;
}
.dn-hero h1:after {
    content: "";
    display: block;
    width: 64px; height: 4px;
    margin-top: 18px;
    border-radius: 999px;
    background: linear-gradient(90deg, #1777b7, #00b482);
}
.dn-author {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #5c6f84;
    font-size: 14px;
    font-weight: 600;
}
.dn-author-avatar {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0a3c6d, #1777b7);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}
.dn-author b { color: #0d2036; }

/* Article body */
.dn-body-section {
    padding: 50px 0 40px;
    background: #ffffff;
}
.dn-article-wrap {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 44px;
    max-width: 1200px;
    margin: 0 auto;
}
@media (max-width: 991px) {
    .dn-article-wrap { grid-template-columns: 1fr; gap: 30px; }
}

/* Main column */
.dn-main {}
.dn-featured-img {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 34px;
    box-shadow: 0 12px 30px rgba(15,45,80,.10);
    border: 1px solid #e6eef6;
    background: #f3f8fd;
}
.dn-featured-img img {
    width: 100%;
    display: block;
}
.dn-subtitle {
    margin: 0 0 20px;
    color: #0d2036;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.45;
    font-family: 'Montserrat', sans-serif;
}
.dn-content {
    color: #31465c;
    font-size: 16px;
    line-height: 1.9;
    text-align: justify;
}
.dn-content p { margin: 0 0 18px; }
.dn-content p:last-child { margin-bottom: 0; }
.dn-content h1, .dn-content h2, .dn-content h3, .dn-content h4 {
    color: #0d2036;
    font-weight: 700;
    margin: 24px 0 12px;
}
.dn-content a { color: #1777b7; }
.dn-content blockquote {
    margin: 22px 0;
    padding: 18px 22px;
    border-left: 4px solid #1777b7;
    background: #f7fafd;
    border-radius: 0 12px 12px 0;
    color: #0d2036;
    font-style: italic;
    font-size: 17px;
    line-height: 1.7;
}

/* Share row */
.dn-share {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 34px;
    padding-top: 22px;
    border-top: 1px solid #e6eef6;
}
.dn-share-label {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: #6b7f95;
    margin-right: 4px;
}
.dn-share a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px; height: 38px;
    border-radius: 10px;
    background: #f3f8fd;
    color: #1777b7;
    font-size: 15px;
    transition: background .2s, color .2s, transform .2s;
    text-decoration: none;
}
.dn-share a:hover {
    background: #1777b7;
    color: #ffffff;
    transform: translateY(-2px);
}

/* Sidebar */
.dn-sidebar {}
.dn-issue-card {
    border: 1px solid #e6eef6;
    border-radius: 18px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(15,45,80,.08);
    margin-bottom: 24px;
}
.dn-issue-card-head {
    padding: 16px 18px;
    background: linear-gradient(135deg, #0a3c6d, #1777b7);
    color: #ffffff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.4px;
    text-transform: uppercase;
}
.dn-issue-card-head i { margin-right: 8px; }
.dn-issue-cover {
    aspect-ratio: 3/4;
    background: #e8f4ff;
    overflow: hidden;
}
.dn-issue-cover img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .4s ease;
}
.dn-issue-card:hover .dn-issue-cover img { transform: scale(1.04); }
.dn-issue-body {
    padding: 18px;
}
.dn-issue-date {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: 999px;
    background: #f3f8fd;
    color: #1777b7;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .6px;
    margin-bottom: 10px;
}
.dn-issue-date i { color: #00b482; }
.dn-issue-price {
    display: block;
    margin-bottom: 14px;
    font-size: 24px;
    font-weight: 800;
    color: #0d2036;
    font-family: 'Montserrat', sans-serif;
}
.dn-issue-price small { font-size: 14px; font-weight: 600; color: #6b7f95; }
.dn-issue-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px 18px;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, #0a3c6d, #1777b7);
    color: #ffffff !important;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(23,119,183,.28);
    transition: transform .2s, box-shadow .2s, background .3s;
    cursor: pointer;
}
.dn-issue-btn:hover {
    background: linear-gradient(135deg, #082c50, #0f60a0);
    box-shadow: 0 12px 28px rgba(23,119,183,.38);
    transform: translateY(-2px);
    color: #ffffff !important;
    text-decoration: none;
}

/* More stories */
.dn-more-section {
    padding: 50px 0 70px;
    background: #fbfcfe;
}
.dn-more-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 30px;
}
.dn-more-head h3 {
    margin: 0;
    font-size: 28px;
    font-weight: 800;
    color: #0d2036;
    letter-spacing: -.3px;
    font-family: 'Montserrat', sans-serif;
}
.dn-more-head h3:after {
    content: "";
    display: block;
    width: 50px; height: 3px;
    margin-top: 10px;
    border-radius: 999px;
    background: linear-gradient(90deg, #1777b7, #00b482);
}
.dn-more-head a {
    color: #1777b7;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
}
.dn-more-head a i { margin-left: 6px; transition: transform .2s; }
.dn-more-head a:hover i { transform: translateX(4px); }

.dn-more-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}
@media (max-width: 991px) { .dn-more-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .dn-more-grid { grid-template-columns: 1fr; } }

.dn-story {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border: 1px solid #e6eef6;
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none !important;
    color: inherit !important;
    box-shadow: 0 4px 14px rgba(15,35,55,.05);
    transition: transform .3s cubic-bezier(.22,.68,0,1.2), box-shadow .3s, border-color .3s;
}
.dn-story:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 44px rgba(15,45,80,.12);
    border-color: #cfe0ee;
    color: inherit !important;
}
.dn-story-img {
    aspect-ratio: 16/10;
    background: #e8f4ff;
    overflow: hidden;
}
.dn-story-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .4s ease;
}
.dn-story:hover .dn-story-img img { transform: scale(1.06); }
.dn-story-body { padding: 16px 18px 18px; flex: 1; display: flex; flex-direction: column; }
.dn-story-title {
    margin: 0 0 6px;
    font-size: 15px;
    font-weight: 700;
    color: #0d2036;
    line-height: 1.35;
    font-family: 'Montserrat', sans-serif;
}
.dn-story:hover .dn-story-title { color: #1777b7; }
.dn-story-excerpt {
    color: #5c6f84;
    font-size: 13px;
    line-height: 1.6;
    margin: 0;
    flex: 1;
}

@media (max-width: 767px) {
    .dn-hero { padding: 50px 0 30px; }
    .dn-hero h1 { font-size: 26px; }
    .dn-subtitle { font-size: 17px; }
}
