/* Denline Shipping knowledge hub and long-form article. */
.blog-hero {
    position: relative;
    overflow: hidden;
    padding: 76px 0 82px;
    background: #0a1220 url('/denline-assets/img/denline-containers-hero-bg.jpg') center/cover no-repeat;
    color: #fff;
}

.blog-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, rgba(6,16,30,0.97) 0%, rgba(10,31,52,0.92) 55%, rgba(10,18,32,0.7) 100%);
}

.blog-hero-inner { position: relative; z-index: 1; max-width: 920px; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; color: #bdc8d3; font-size: 12px; }
.breadcrumbs a:hover { color: #fff; text-decoration: underline; }
.blog-kicker { margin-bottom: 16px; color: var(--accent-soft); font-size: 12px; font-weight: 700; letter-spacing: 2.2px; text-transform: uppercase; }
.blog-hero h1 { max-width: 900px; margin-bottom: 20px; font-size: clamp(36px, 5vw, 58px); line-height: 1.08; }
.blog-hero p { max-width: 760px; color: #d7dee7; font-size: 17px; line-height: 1.75; }
.blog-meta { display: flex; flex-wrap: wrap; gap: 10px 20px; margin-top: 28px; color: #c9d1dc; font-size: 12px; }
.blog-meta span { display: inline-flex; align-items: center; gap: 8px; }
.blog-meta span::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--accent-soft); }

.blog-shell { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 34px; align-items: start; padding-top: 64px; padding-bottom: 84px; }
.blog-sidebar { position: relative; }
.blog-toc { position: sticky; top: 116px; padding: 22px; border: 1px solid var(--border); border-radius: 10px; background: #fff; box-shadow: 0 14px 36px rgba(10,18,32,0.06); }
.blog-toc strong { display: block; margin-bottom: 13px; color: var(--navy); font: 600 18px/1.2 'Playfair Display', Georgia, serif; }
.blog-toc ol { margin: 0 0 18px 20px; color: #757a81; font-size: 12px; }
.blog-toc li { margin: 7px 0; padding-left: 3px; }
.blog-toc a:not(.btn):hover { color: var(--primary); text-decoration: underline; }
.blog-side-cta { width: 100%; padding: 10px 12px; text-align: center; font-size: 12px; }

.article-content { min-width: 0; padding: 8px 52px 54px; border: 1px solid var(--border); border-radius: 12px; background: #fff; box-shadow: 0 18px 55px rgba(10,18,32,0.06); }
.article-content section { padding: 52px 0; border-bottom: 1px solid #ebe8df; scroll-margin-top: 108px; }
.article-content section:last-child { border-bottom: 0; }
.article-content h2 { margin-bottom: 18px; color: var(--navy); font-size: clamp(28px, 3.8vw, 39px); line-height: 1.2; }
.article-content h3 { margin: 28px 0 9px; color: var(--primary-dark); font-size: 21px; line-height: 1.3; }
.article-content p { margin: 0 0 17px; color: #4f5660; font-size: 15.5px; line-height: 1.82; }
.article-content ul, .article-content ol { margin: 0 0 20px 22px; color: #4f5660; }
.article-content li { margin: 8px 0; padding-left: 3px; line-height: 1.72; }
.article-content a:not(.btn) { color: #155f7c; text-decoration: underline; text-underline-offset: 2px; }
.section-tag { margin-bottom: 12px; color: var(--accent); font-size: 11px; font-weight: 700; letter-spacing: 1.9px; text-transform: uppercase; }

.answer-box { margin-top: 0; padding: 32px !important; border: 1px solid #d7dfdf !important; border-radius: 10px; background: #f1f7f5; }
.answer-box h2 { font-size: 29px; }
.answer-box p { margin-bottom: 0; color: #33434a; }
.answer-label { display: inline-block; margin-bottom: 10px; padding: 5px 9px; border-radius: 999px; background: #167d72; color: #fff; font-size: 10px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; }
.article-note { margin: 24px 0 2px; padding: 18px 20px; border-left: 4px solid var(--accent); background: #f7f4ed; color: #4d4a42; font-size: 13.5px; line-height: 1.7; }

.process-list { margin: 28px 0 0 !important; list-style: none; counter-reset: export-step; }
.process-list > li { position: relative; display: grid; grid-template-columns: 46px 1fr; gap: 17px; margin: 0 !important; padding: 0 0 27px !important; counter-increment: export-step; }
.process-list > li::before { content: counter(export-step, decimal-leading-zero); position: relative; z-index: 1; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--primary); color: #fff; font-size: 11px; font-weight: 700; }
.process-list > li::after { content: ''; position: absolute; top: 42px; bottom: 0; left: 20px; width: 1px; background: #d9d7cf; }
.process-list > li:last-child::after { display: none; }
.process-list h3 { margin: 4px 0 6px; font-size: 19px; }
.process-list p { margin: 0; }
.import-list > li::before { background: #167d72; }

.table-wrap { margin: 25px 0; overflow-x: auto; border: 1px solid var(--border); border-radius: 9px; }
.article-content table { width: 100%; min-width: 690px; border-collapse: collapse; font-size: 13px; }
.article-content th { padding: 14px 15px; background: var(--navy); color: #fff; text-align: left; font-weight: 600; }
.article-content td { padding: 14px 15px; border-top: 1px solid #e7e4db; color: #555d67; line-height: 1.55; vertical-align: top; }
.article-content tr:nth-child(even) td { background: #faf9f6; }
.article-content td:first-child { color: var(--primary-dark); font-weight: 700; }

.article-checks { display: grid; gap: 5px; padding: 22px 24px 22px 43px; border: 1px solid var(--border); border-radius: 8px; background: #faf9f6; }
.term-grid, .comparison-grid, .compliance-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 25px 0; }
.term-grid article, .comparison-grid article, .compliance-grid article { padding: 21px; border: 1px solid var(--border); border-radius: 8px; background: #faf9f6; }
.term-grid h3, .comparison-grid h3, .compliance-grid h3 { margin: 0 0 8px; font-size: 19px; }
.term-grid p, .comparison-grid p { margin: 0; font-size: 13.5px; }
.comparison-grid article > span { display: inline-block; margin-bottom: 11px; color: var(--accent); font-size: 10px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; }
.compliance-grid ul { margin: 10px 0 0 18px; font-size: 13px; }

.formula-box { margin: 18px 0 16px; padding: 20px; border: 1px solid #cbd9df; border-radius: 8px; background: #f2f7f9; color: #213746; font-size: 13.5px; font-weight: 600; line-height: 1.7; text-align: center; }
.timeline { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 25px 0; }
.timeline > div { position: relative; padding: 20px 20px 20px 58px; border: 1px solid var(--border); border-radius: 8px; background: #faf9f6; }
.timeline span { position: absolute; top: 20px; left: 18px; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--primary); color: #fff; font-size: 9px; font-weight: 700; }
.timeline h3 { margin: 0 0 5px; font-size: 18px; }
.timeline p { margin: 0; font-size: 13px; }

.mistake-list { display: grid; gap: 12px; margin-top: 24px; }
.mistake-list article { display: grid; grid-template-columns: 42px 1fr; gap: 15px; padding: 18px; border: 1px solid var(--border); border-radius: 8px; }
.mistake-list span { color: var(--accent); font-size: 13px; font-weight: 700; }
.mistake-list h3 { margin: 0 0 5px; font-size: 18px; }
.mistake-list p { margin: 0; font-size: 13.5px; }

.glossary-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; margin-top: 25px; }
.glossary-grid > div { padding: 15px 0; border-bottom: 1px solid #ebe8df; }
.glossary-grid dt { margin-bottom: 4px; color: var(--primary-dark); font-weight: 700; }
.glossary-grid dd { color: #5c626b; font-size: 13px; line-height: 1.58; }
.blog-faqs { max-width: none; }

.official-sources { background: #fbfaf7; }
.official-sources ul { margin-bottom: 22px; }
.source-note { padding-top: 17px; border-top: 1px solid var(--border); font-size: 12px !important; color: #73777d !important; }
.article-cta { margin-top: 52px; padding: 38px !important; border: 0 !important; border-radius: 10px; background: linear-gradient(120deg, var(--navy), #173c5a); color: #fff; }
.article-cta > span { color: var(--accent-soft); font-size: 10px; font-weight: 700; letter-spacing: 1.8px; text-transform: uppercase; }
.article-cta h2 { margin-top: 8px; color: #fff; }
.article-cta p { max-width: 680px; color: #cdd6e0; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.btn-light { border-color: rgba(255,255,255,0.55); background: transparent; color: #fff; font-family: inherit; }
.btn-light:hover { border-color: #fff; background: rgba(255,255,255,0.1); }

@media (max-width: 980px) {
    .blog-shell { grid-template-columns: 1fr; }
    .blog-sidebar { display: none; }
    .article-content { padding: 4px 42px 48px; }
}

@media (max-width: 620px) {
    .blog-hero { padding: 54px 0 60px; }
    .blog-hero h1 { font-size: 35px; }
    .blog-hero p { font-size: 15px; }
    .blog-shell { padding: 28px 14px 70px; }
    .article-content { padding: 0 21px 30px; border-radius: 8px; }
    .article-content section { padding: 39px 0; }
    .answer-box { margin-top: 20px; padding: 23px !important; }
    .term-grid, .comparison-grid, .compliance-grid, .timeline, .glossary-grid { grid-template-columns: 1fr; }
    .process-list > li { grid-template-columns: 38px 1fr; gap: 12px; }
    .process-list > li::before { width: 36px; height: 36px; }
    .process-list > li::after { top: 36px; left: 17px; }
    .article-cta { padding: 27px !important; }
    .cta-actions { display: grid; }
    .cta-actions .btn { width: 100%; text-align: center; }
}
