/* ===== Blog listing + detail ===== */
.bl-hero { position: relative; overflow: hidden; background: linear-gradient(120deg, #f4f8ff 0%, #eaf1ff 55%, #dfe9ff 100%); padding: 56px 0 50px; }
.bl-hero-img { position: absolute; top: 0; right: 0; bottom: 0; width: 55%; background-size: cover; background-position: center; -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,.6) 25%, #000 48%); mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,.6) 25%, #000 48%); }
.bl-hero .container { position: relative; z-index: 2; }
.bl-hero h1 { font-size: clamp(30px, 4vw, 48px); line-height: 1.12; font-weight: 800; margin-bottom: 16px; }
.bl-hero h1 span { background: linear-gradient(90deg, #1e5bd8, #3d86ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.bl-hero .lead { font-size: 16px; color: #4b5675; max-width: 520px; }
.bl-crumb { font-size: 14px; color: #6b7593; margin-top: 22px; }
.bl-crumb a { color: #6b7593; } .bl-crumb a:hover { color: var(--gold-dark); }
.bl-crumb i { font-size: 10px; margin: 0 8px; }
.bl-crumb span { color: var(--navy); font-weight: 600; }

.bl-main { padding: 50px 0 60px; }
.post-card { background: #fff; border: 1px solid #edf1f8; border-radius: 16px; overflow: hidden; height: 100%; display: flex; flex-direction: column; box-shadow: 0 6px 20px rgba(11, 29, 74, .05); transition: .3s; }
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.post-card .thumb { display: block; height: 180px; overflow: hidden; position: relative; }
.post-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.post-card:hover .thumb img { transform: scale(1.08); }
.post-card .cat-badge { position: absolute; left: 14px; top: 14px; }
.cat-badge { display: inline-block; background: rgba(255, 255, 255, .95); color: #1e5bd8; font-size: 11.5px; font-weight: 700; padding: 5px 11px; border-radius: 30px; box-shadow: 0 4px 12px rgba(0, 0, 0, .1); }
.post-card .body { padding: 18px 18px 20px; display: flex; flex-direction: column; flex: 1; }
.post-date { font-size: 12.5px; color: #7a83a0; margin-bottom: 8px; }
.post-date i { color: var(--gold-dark); margin-right: 5px; }
.post-card h3 { font-size: 17px; line-height: 1.35; margin-bottom: 8px; }
.post-card h3 a { color: var(--navy); } .post-card h3 a:hover { color: #1e5bd8; }
.post-card p { font-size: 13.8px; color: #5b6583; margin-bottom: 14px; display: -webkit-box; -webkit-line-clamp: 3; line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post-card .link-more { margin-top: auto; color: #1e5bd8; }
.no-posts { display: none; text-align: center; padding: 50px 20px; background: #f5f8ff; border-radius: 16px; color: #5b6583; }
.no-posts i { font-size: 34px; color: #1e5bd8; display: block; margin-bottom: 8px; }
.filter-note { display: none; align-items: center; justify-content: space-between; gap: 10px; background: #eef3ff; border-radius: 12px; padding: 10px 16px; margin-bottom: 18px; font-size: 14px; color: var(--navy); }
.filter-note a { font-weight: 600; color: #1e5bd8; }

/* Sidebar */
.side-box { background: #f8faff; border: 1px solid #e8eef9; border-radius: 16px; padding: 22px; margin-bottom: 22px; }
.side-box h4 { font-size: 20px; margin-bottom: 14px; }
.side-search { display: flex; background: #fff; border: 1px solid #dbe3f3; border-radius: 10px; padding: 5px; }
.side-search input { flex: 1; border: 0; outline: 0; padding: 7px 10px; font-size: 14px; min-width: 0; background: transparent; }
.side-search button { width: 40px; height: 38px; border: 0; border-radius: 8px; background: var(--navy); color: #fff; flex-shrink: 0; transition: .2s; }
.side-search button:hover { background: #1e5bd8; }
.cat-list { list-style: none; padding: 0; margin: 0; }
.cat-list a { display: flex; align-items: center; gap: 12px; padding: 10px 4px; border-bottom: 1px solid #e8eef9; color: #3c4664; font-weight: 500; font-size: 14.5px; transition: .2s; }
.cat-list li:last-child a { border-bottom: 0; }
.cat-list a i { color: #1e5bd8; font-size: 16px; }
.cat-list a .count { margin-left: auto; font-size: 12px; color: #7a83a0; background: #fff; border: 1px solid #e3e9f6; border-radius: 20px; padding: 1px 9px; }
.cat-list a:hover, .cat-list a.active { color: #1e5bd8; padding-left: 8px; }
.pop-post { display: flex; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid #e8eef9; }
.pop-post:last-child { border-bottom: 0; padding-bottom: 0; }
.pop-post img { width: 64px; height: 54px; border-radius: 8px; object-fit: cover; flex-shrink: 0; }
.pop-post a { font-family: 'Outfit', sans-serif; font-weight: 600; font-size: 14px; line-height: 1.3; color: var(--navy); display: block; margin-bottom: 3px; }
.pop-post a:hover { color: #1e5bd8; }
.pop-post small { font-size: 12px; color: #7a83a0; }
.pop-post small i { color: var(--gold-dark); margin-right: 4px; }
.side-box p { font-size: 13.5px; color: #5b6583; }
.sub-input { position: relative; margin-bottom: 12px; }
.sub-input i { position: absolute; left: 13px; top: 12px; color: #8a96b8; }
.sub-input input { width: 100%; padding: 10px 12px 10px 38px; border: 1px solid #dbe3f3; border-radius: 10px; font-size: 14px; outline: 0; }
.sub-input input:focus { border-color: #1e5bd8; box-shadow: 0 0 0 3px rgba(30, 91, 216, .12); }
.sub-input input.is-invalid { border-color: #dc3545; }
.side-box .btn-gold { width: 100%; justify-content: center; padding: 11px; }
.side-help { background: linear-gradient(160deg, #0b1d4a, #163a9e 60%, #1e5bd8); color: #cfd8f0; border: 0; }
.side-help h4 { color: #fff; }
.side-help p { color: #cfd8f0; }
.sticky-side { position: sticky; top: 110px; }

/* CTA band */
.bl-cta { position: relative; overflow: hidden; background: linear-gradient(110deg, #0b1d4a 0%, #12296a 55%, #1a3a8f 100%); padding: 56px 0; }
.bl-cta-img { position: absolute; top: 0; right: 0; bottom: 0; width: 45%; background: url('../img/cta-passport.jpg') center/cover; -webkit-mask-image: linear-gradient(to right, transparent, #000 55%); mask-image: linear-gradient(to right, transparent, #000 55%); }
.bl-cta-passports { position: absolute; right: 9%; top: 50%; transform: translateY(-50%); display: flex; z-index: 1; }
.bl-cta-passports .cta-passport { margin: 0; }
.bl-cta-passports .cta-passport + .cta-passport { margin-left: -40px; transform: rotate(10deg) translateY(16px); }
.bl-cta .container { position: relative; z-index: 2; }
.bl-cta .eyebrow { color: var(--gold); }
.bl-cta h2 { color: #fff; font-size: clamp(26px, 3.2vw, 38px); }
.bl-cta h2 span { color: #4c9bff; }
.bl-cta p { color: #cfd8f0; }

/* Detail page */
.pd-hero { position: relative; overflow: hidden; background: linear-gradient(120deg, #f4f8ff 0%, #eaf1ff 60%, #dfe9ff 100%); padding: 40px 0 44px; }
.pd-hero .bl-crumb { margin: 0 0 18px; }
.pd-hero .cat-badge { background: #1e5bd8; color: #fff; box-shadow: none; margin-bottom: 14px; }
.pd-hero h1 { font-size: clamp(28px, 3.6vw, 44px); line-height: 1.15; font-weight: 800; max-width: 860px; margin-bottom: 16px; }
.pd-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 14px; color: #5b6583; }
.pd-meta i { color: var(--gold-dark); margin-right: 6px; }
.pd-cover { border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-lg); margin-bottom: 30px; aspect-ratio: 16/8.5; }
.pd-cover img { width: 100%; height: 100%; object-fit: cover; }
.post-content { font-size: 16px; line-height: 1.8; color: #3c4664; }
.post-content > p:first-child { font-size: 17.5px; color: var(--navy); }
.post-content h2 { font-size: 25px; margin: 34px 0 14px; position: relative; padding-left: 16px; }
.post-content h2::before { content: ''; position: absolute; left: 0; top: 6px; bottom: 6px; width: 5px; border-radius: 4px; background: linear-gradient(180deg, var(--gold), #1e5bd8); }
.post-content ul, .post-content ol { padding-left: 0; list-style: none; margin-bottom: 20px; }
.post-content ul li { position: relative; padding: 6px 0 6px 32px; }
.post-content ul li::before { content: '\F26A'; font-family: 'bootstrap-icons'; position: absolute; left: 0; top: 6px; color: #1e5bd8; font-size: 18px; }
.post-content ol { counter-reset: step; }
.post-content ol li { position: relative; padding: 8px 0 8px 46px; counter-increment: step; }
.post-content ol li::before { content: counter(step); position: absolute; left: 0; top: 8px; width: 32px; height: 32px; border-radius: 50%; background: #eaf1ff; color: #1e5bd8; font-weight: 700; font-size: 14px; display: flex; align-items: center; justify-content: center; }
.post-content strong { color: var(--navy); }
.post-tip { position: relative; display: block; background: linear-gradient(120deg, #fff8e8, #fff3d6); border-left: 4px solid var(--gold); border-radius: 12px; padding: 18px 20px 18px 58px; margin: 26px 0; font-size: 15px; line-height: 1.7; }
.post-tip::before { content: "\f46b"; font-family: 'bootstrap-icons'; position: absolute; left: 20px; top: 16px; font-size: 24px; line-height: 1.2; color: var(--gold-dark); }
.post-tip > i { display: none; }
.post-tip p:last-child { margin-bottom: 0; }
.pd-help { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; background: linear-gradient(120deg, #0b1d4a, #1a3a8f); border-radius: 18px; padding: 26px 28px; margin: 34px 0 26px; color: #cfd8f0; }
.pd-help h3 { color: #fff; font-size: 21px; margin-bottom: 4px; }
.pd-help p { margin: 0; font-size: 14.5px; }
.pd-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; border-top: 1px solid #e8eef9; border-bottom: 1px solid #e8eef9; }
.pd-tags a { display: inline-block; font-size: 13px; color: #3c4664; background: #f2f6ff; border: 1px solid #e1e9f8; border-radius: 30px; padding: 5px 13px; margin: 3px 4px 3px 0; }
.pd-tags span, .pd-share span { font-weight: 700; color: var(--navy); margin-right: 8px; font-size: 14px; }
.pd-share { display: flex; align-items: center; gap: 8px; }
.pd-share a { width: 36px; height: 36px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: #fff; font-size: 15px; transition: .2s; }
.pd-share a:hover { transform: translateY(-3px); color: #fff; }
.pd-share .wa { background: #25d366; } .pd-share .fb { background: #1877f2; } .pd-share .in { background: #0a66c2; } .pd-share .x { background: #111; }
.pd-author { display: flex; gap: 18px; align-items: center; background: #f8faff; border: 1px solid #e8eef9; border-radius: 16px; padding: 22px; margin: 26px 0; }
.pd-author .av { width: 64px; height: 64px; border-radius: 50%; background: #fff; border: 2px solid #e1e9f8; display: flex; align-items: center; justify-content: center; flex-shrink: 0; overflow: hidden; padding: 6px; }
.pd-author .av img { width: 100%; height: auto; }
.pd-author h5 { font-size: 17px; margin-bottom: 4px; }
.pd-author p { margin: 0; font-size: 14px; color: #5b6583; }
.pd-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pd-nav a { display: block; border: 1px solid #e8eef9; border-radius: 14px; padding: 16px 18px; transition: .25s; background: #fff; }
.pd-nav a:hover { border-color: #b9cdf7; box-shadow: 0 10px 24px rgba(30, 91, 216, .1); }
.pd-nav small { display: block; font-size: 12px; color: #7a83a0; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 4px; }
.pd-nav strong { font-family: 'Outfit', sans-serif; color: var(--navy); font-size: 15px; line-height: 1.35; }
.pd-nav .next { text-align: right; }
.pd-related { background: #f6f8fc; padding: 56px 0; }

@media (max-width: 991.98px) {
  .bl-hero { padding: 0 0 40px; }
  .bl-hero-img { position: relative; display: block; width: 100%; height: 230px; -webkit-mask-image: linear-gradient(to bottom, #000 60%, transparent); mask-image: linear-gradient(to bottom, #000 60%, transparent); }
  .sticky-side { position: static; }
  .bl-cta { text-align: center; }
  .bl-cta-img { width: 100%; opacity: .25; -webkit-mask-image: none; mask-image: none; }
  .bl-cta-passports { display: none; }
}
@media (max-width: 575.98px) {
  .pd-nav { grid-template-columns: 1fr; }
  .pd-nav .next { text-align: left; }
  .pd-help { padding: 22px 18px; }
  .pd-author { flex-direction: column; text-align: center; }
  .post-content { font-size: 15.5px; }
  .post-content h2 { font-size: 22px; }
}
