/* ================================================================
   BLOGS.CSS — Premium Blog System Styles
   20 Microns | blogs.php + single blog view
   Theme: #7FA69B Sage Green Accent | Font: Exo 2
   Matches: news-events.css, press-releases.css design language
   ================================================================ */

html:has(body.page-blogs) { overflow-x: clip; scroll-behavior: smooth; }
body.page-blogs { overflow-x: clip; }

/* ================================================================
   READING PROGRESS BAR (single view)
   ================================================================ */
.bl-progress {
    position: fixed;
    top: 0; left: 0;
    height: 3px; width: 0%;
    background: linear-gradient(90deg, #7fa69b 0%, #5a8a7f 60%, #b8d4cb 100%);
    z-index: 9999;
    box-shadow: 0 0 10px rgba(127,166,155,.55);
    transition: width .08s linear;
    pointer-events: none;
}

/* ================================================================
   HERO — 85vh dark premium (LISTING PAGE)
   ================================================================ */
.bl-hero {
    min-height: 85vh;
    background: linear-gradient(145deg, #08121c 0%, #0f1923 42%, #142030 76%, #09131d 100%);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 96px 0 32px;
}
.bl-hero::after {
    content: '';
    position: absolute; left: 0; right: 0; bottom: 0;
    height: 120px;
    background: linear-gradient(180deg, rgba(8,18,28,0) 0%, rgba(8,18,28,.7) 100%);
    pointer-events: none; z-index: 1;
}

/* Grid overlay */
.bl-hero-grid {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(127,166,155,.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(127,166,155,.06) 1px, transparent 1px);
    background-size: 64px 64px;
    animation: blGridDrift 24s linear infinite;
    z-index: 0;
}
@keyframes blGridDrift {
    0%   { transform: translate(0,0); }
    100% { transform: translate(-64px,-64px); }
}

/* Glow orbs */
.bl-hero-glow {
    position: absolute; border-radius: 50%;
    pointer-events: none; z-index: 0;
}
.bl-hero-glow.g1 {
    width: 720px; height: 720px;
    top: -260px; right: -100px;
    background: radial-gradient(circle, rgba(127,166,155,.13) 0%, transparent 65%);
    filter: blur(60px);
    animation: blGlowPulse 8s ease-in-out infinite alternate;
}
.bl-hero-glow.g2 {
    width: 460px; height: 460px;
    bottom: -180px; left: -100px;
    background: radial-gradient(circle, rgba(127,166,155,.09) 0%, transparent 65%);
    filter: blur(50px);
    animation: blGlowPulse 10s ease-in-out infinite alternate-reverse;
}
.bl-hero-glow.g3 {
    width: 300px; height: 300px;
    top: 45%; left: 42%;
    transform: translate(-50%,-50%);
    background: radial-gradient(circle, rgba(127,166,155,.07) 0%, transparent 70%);
    filter: blur(42px);
    animation: blGlowPulse 6s ease-in-out infinite alternate;
    animation-delay: -3s;
}
@keyframes blGlowPulse {
    0%   { opacity: .55; transform: scale(.94); }
    100% { opacity: 1;   transform: scale(1.08); }
}

/* Particles */
.bl-hero-particles { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.bl-hero-particles span {
    position: absolute; width: 3px; height: 3px;
    background: rgba(127,166,155,.5); border-radius: 50%;
    animation: blPtFade 4s ease-in-out infinite;
}
.bl-hero-particles span:nth-child(1)  { top:18%; left:12%; animation-delay:0s; }
.bl-hero-particles span:nth-child(2)  { top:62%; left:7%;  animation-delay:.7s; }
.bl-hero-particles span:nth-child(3)  { top:32%; left:52%; animation-delay:1.3s; }
.bl-hero-particles span:nth-child(4)  { top:78%; left:35%; animation-delay:2s; }
.bl-hero-particles span:nth-child(5)  { top:14%; left:75%; animation-delay:.3s; }
.bl-hero-particles span:nth-child(6)  { top:55%; left:90%; animation-delay:2.6s; }
.bl-hero-particles span:nth-child(7)  { top:85%; left:62%; animation-delay:1.1s; }
.bl-hero-particles span:nth-child(8)  { top:25%; left:94%; animation-delay:3.2s; }
@keyframes blPtFade {
    0%,100% { opacity:0; transform:scale(1); }
    50%      { opacity:1; transform:scale(1.7); }
}

.bl-hero .container {
    position: relative; z-index: 2;
    max-width: 1280px; margin: 0 auto;
    padding: 0 28px; width: 100%;
}
.bl-hero-layout {
    display: grid;
    grid-template-columns: minmax(0,1.1fr) minmax(300px,.9fr);
    gap: 56px; align-items: center;
}

/* Hero copy */
.bl-hero-copy { max-width: 640px; }
.bl-hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(127,166,155,.12); border: 1px solid rgba(127,166,155,.25);
    border-radius: 50px; padding: 6px 16px;
    color: #7fa69b; font-size: .78rem; font-weight: 600;
    letter-spacing: .1em; text-transform: uppercase; margin-bottom: 28px;
}
.bl-hero-badge-dot {
    width: 7px; height: 7px; background: #7fa69b; border-radius: 50%;
    animation: blDotPulse 2s ease-in-out infinite;
}
@keyframes blDotPulse {
    0%,100% { box-shadow: 0 0 0 0 rgba(127,166,155,.7); }
    50%      { box-shadow: 0 0 0 6px rgba(127,166,155,0); }
}
.bl-hero-title {
    font-family: 'Exo 2', sans-serif;
    font-size: clamp(2.4rem, 5vw, 3.6rem);
    font-weight: 800; line-height: 1.12;
    color: #fff; margin-bottom: 20px; letter-spacing: -.02em;
}
.bl-hero-title .accent { color: #7fa69b; }
.bl-hero-subtitle {
    font-size: 1.08rem; color: rgba(255,255,255,.62);
    line-height: 1.72; margin-bottom: 36px; max-width: 520px;
}
.bl-hero-line {
    display: block; width: 56px; height: 3px;
    background: linear-gradient(90deg, #7fa69b, transparent);
    margin-bottom: 36px; border-radius: 2px;
}
.bl-hero-stats { display: flex; gap: 0; align-items: stretch; }
.bl-hero-stat {
    flex: 1; display: flex; flex-direction: column; align-items: center;
    padding: 18px 20px;
    background: rgba(255,255,255,.04); border: 1px solid rgba(127,166,155,.14);
    border-right: none;
}
.bl-hero-stat:first-child { border-radius: 12px 0 0 12px; }
.bl-hero-stat:last-child  { border-radius: 0 12px 12px 0; border-right: 1px solid rgba(127,166,155,.14); }
.bl-hero-stat-num {
    font-size: 2rem; font-weight: 800; color: #fff;
    font-family: 'Exo 2', sans-serif; line-height: 1; margin-bottom: 4px;
}
.bl-hero-stat-label {
    font-size: .72rem; color: rgba(255,255,255,.45);
    text-transform: uppercase; letter-spacing: .08em; font-weight: 500;
}

/* ================================================================
   HERO VISUAL — Floating blog card stack
   ================================================================ */
.bl-hero-visual {
    display: flex; justify-content: center; align-items: center;
    position: relative; height: 420px;
}
.bl-visual-stack { position: relative; width: 320px; height: 380px; perspective: 800px; }
.bl-visual-card {
    position: absolute; width: 280px;
    background: rgba(255,255,255,.06); border: 1px solid rgba(127,166,155,.18);
    border-radius: 18px; padding: 24px; backdrop-filter: blur(12px);
    transition: transform .6s cubic-bezier(.22,1,.36,1), box-shadow .4s ease;
}
.bl-visual-card.vc1 {
    top: 0; left: 20px; z-index: 3;
    box-shadow: 0 20px 60px rgba(0,0,0,.35);
    animation: blCardFloat1 6s ease-in-out infinite;
}
.bl-visual-card.vc2 {
    top: 40px; left: 50px; z-index: 2; opacity: .7;
    box-shadow: 0 14px 40px rgba(0,0,0,.25);
    animation: blCardFloat2 7s ease-in-out infinite;
}
.bl-visual-card.vc3 {
    top: 80px; left: 10px; z-index: 1; opacity: .45;
    box-shadow: 0 10px 30px rgba(0,0,0,.2);
    animation: blCardFloat3 8s ease-in-out infinite;
}
@keyframes blCardFloat1 { 0%,100%{ transform:rotate(-3deg) translateY(0); } 50%{ transform:rotate(-3deg) translateY(-12px); } }
@keyframes blCardFloat2 { 0%,100%{ transform:rotate(2deg) translateY(10px); } 50%{ transform:rotate(2deg) translateY(0); } }
@keyframes blCardFloat3 { 0%,100%{ transform:rotate(-1deg) translateY(20px); } 50%{ transform:rotate(-1deg) translateY(10px); } }
.bl-vc-thumb {
    width: 100%; height: 90px;
    background: linear-gradient(135deg, rgba(127,166,155,.2), rgba(127,166,155,.05));
    border-radius: 10px; margin-bottom: 16px;
    display: flex; align-items: center; justify-content: center;
}
.bl-vc-thumb i { font-size: 1.8rem; color: rgba(127,166,155,.5); }
.bl-vc-lines { display: flex; flex-direction: column; gap: 8px; }
.bl-vc-line { height: 8px; background: rgba(255,255,255,.08); border-radius: 4px; }
.bl-vc-line:nth-child(1) { width: 85%; }
.bl-vc-line:nth-child(2) { width: 65%; }
.bl-vc-line:nth-child(3) { width: 40%; }
.bl-vc-tag {
    display: inline-block; margin-top: 14px; padding: 4px 12px;
    background: rgba(127,166,155,.15); border-radius: 20px;
    font-size: .68rem; color: #7fa69b; font-weight: 600;
    text-transform: uppercase; letter-spacing: .06em;
}

/* ================================================================
   BLOG BODY & LAYOUT
   ================================================================ */
.bl-body {
    background: #f0f3f7;
    padding: 56px 0 88px;
}
.bl-container {
    max-width: 1280px; margin: 0 auto; padding: 0 28px;
}

/* Section header */
.bl-section-header { margin-bottom: 36px; }
.bl-section-badge {
    display: inline-flex; align-items: center; gap: 6px;
    background: rgba(127,166,155,.1); border: 1px solid rgba(127,166,155,.2);
    border-radius: 50px; padding: 5px 14px;
    font-size: .72rem; font-weight: 700; color: #5a8a7f;
    text-transform: uppercase; letter-spacing: .08em; margin-bottom: 12px;
}
.bl-section-badge i { font-size: .7rem; }
.bl-section-title {
    font-family: 'Exo 2', sans-serif;
    font-size: 1.9rem; font-weight: 800; color: #0a1628;
    margin: 0; letter-spacing: -.01em;
}
.bl-section-title .accent { color: #5a8a7f; }

/* Two-column layout */
.bl-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 40px; align-items: start;
}

/* ================================================================
   FILTER BAR
   ================================================================ */
.bl-filters {
    display: flex; align-items: center; gap: 12px;
    margin-bottom: 28px; flex-wrap: wrap;
    background: #fff; padding: 14px 20px;
    border-radius: 14px; border: 1px solid rgba(0,0,0,.06);
    box-shadow: 0 2px 10px rgba(0,0,0,.04);
}
.bl-filter-select {
    padding: 9px 32px 9px 14px;
    border: 1.5px solid rgba(0,0,0,.1); border-radius: 10px;
    font-family: 'Exo 2', sans-serif; font-size: .86rem;
    color: #333; background: #f9fafb;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23999'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 10px center;
    appearance: none; cursor: pointer; outline: none;
    transition: border-color .3s ease, box-shadow .3s ease;
}
.bl-filter-select:focus { border-color: #7fa69b; box-shadow: 0 0 0 3px rgba(127,166,155,.12); background: #fff; }
.bl-result-count { font-size: .82rem; color: #888; margin-left: auto; white-space: nowrap; }
.bl-result-count strong { color: #5a8a7f; font-weight: 700; }

/* ================================================================
   BLOG CARD GRID
   ================================================================ */
.bl-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

/* --- Base Card --- */
.bl-card {
    background: #fff; border-radius: 18px;
    overflow: hidden; text-decoration: none; color: inherit;
    border: 1px solid rgba(0,0,0,.06);
    transition: transform .38s cubic-bezier(.22,1,.36,1), box-shadow .38s ease, border-color .3s ease;
    display: flex; flex-direction: column; position: relative;
}
.bl-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 56px rgba(0,0,0,.1), 0 4px 12px rgba(127,166,155,.1);
    border-color: rgba(127,166,155,.22); text-decoration: none;
}

/* --- Featured Card (full-width spanning first slot) --- */
.bl-card.bl-card-featured {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1.25fr 1fr;
}
.bl-card.bl-card-featured .bl-card-img { height: 100%; min-height: 340px; }
.bl-card.bl-card-featured .bl-card-body { padding: 40px 44px; display: flex; flex-direction: column; justify-content: center; }
.bl-card.bl-card-featured .bl-card-title { font-size: 1.52rem; -webkit-line-clamp: 3; }
.bl-card.bl-card-featured .bl-card-excerpt { -webkit-line-clamp: 4; font-size: .92rem; }

/* Card image */
.bl-card-img {
    position: relative; height: 215px;
    overflow: hidden; flex-shrink: 0;
    background: linear-gradient(135deg, #0a1628, #142030);
}
.bl-card-img img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform .55s cubic-bezier(.22,1,.36,1);
}
.bl-card:hover .bl-card-img img { transform: scale(1.08); }
.bl-card-img::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,.18) 100%);
    pointer-events: none; z-index: 1;
}
.bl-card-placeholder {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, rgba(127,166,155,.1), rgba(10,22,40,.25));
}
.bl-card-placeholder i { font-size: 2.4rem; color: rgba(127,166,155,.3); }

/* Badges on image */
.bl-card-featured-badge {
    position: absolute; top: 14px; left: 14px; z-index: 2;
    background: linear-gradient(135deg, #7fa69b, #5a8a7f);
    color: #fff; font-size: .65rem; font-weight: 700;
    padding: 5px 12px; border-radius: 20px;
    letter-spacing: .06em; text-transform: uppercase;
    box-shadow: 0 4px 12px rgba(127,166,155,.4);
}
.bl-card-category {
    position: absolute; top: 14px; right: 14px; z-index: 2;
    background: rgba(0,0,0,.58); backdrop-filter: blur(8px);
    color: #9ecfc5; font-size: .64rem; font-weight: 600;
    padding: 4px 11px; border-radius: 20px; letter-spacing: .03em;
    border: 1px solid rgba(127,166,155,.2);
}

/* Card body */
.bl-card-body { padding: 22px 24px 26px; flex: 1; display: flex; flex-direction: column; }
.bl-card-meta {
    display: flex; align-items: center; gap: 14px;
    margin-bottom: 10px; font-size: .75rem; color: #aaa; flex-wrap: wrap;
}
.bl-card-meta i { color: #7fa69b; font-size: .68rem; }
.bl-card-title {
    font-family: 'Exo 2', sans-serif;
    font-size: 1.1rem; font-weight: 700; color: #0a1628;
    margin-bottom: 10px; line-height: 1.38;
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
    transition: color .3s ease;
}
.bl-card:hover .bl-card-title { color: #5a8a7f; }
.bl-card-excerpt {
    font-size: .87rem; color: #666; line-height: 1.64; flex: 1;
    margin-bottom: 18px;
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.bl-card-footer {
    display: flex; align-items: center; justify-content: space-between;
    padding-top: 14px; border-top: 1px solid rgba(0,0,0,.05);
    font-size: .75rem; color: #bbb;
}
.bl-card-footer i { color: #7fa69b; font-size: .68rem; }
.bl-read-more {
    color: #5a8a7f; font-weight: 700; font-size: .8rem;
    display: flex; align-items: center; gap: 5px;
    transition: gap .3s ease, color .3s ease;
}
.bl-card:hover .bl-read-more { gap: 9px; color: #3d6b61; }

/* Divider line */
.bl-section-divider {
    border: none; border-top: 2px solid rgba(0,0,0,.05);
    margin: 0 0 28px;
}

/* Empty state */
.bl-empty {
    text-align: center; padding: 72px 20px;
    background: #fff; border-radius: 18px; border: 1px solid rgba(0,0,0,.05);
}
.bl-empty i { font-size: 3rem; color: rgba(127,166,155,.25); display: block; margin-bottom: 20px; }
.bl-empty p { font-size: 1rem; color: #aaa; margin: 0; }

/* ================================================================
   PAGINATION
   ================================================================ */
.bl-pagination {
    display: flex; justify-content: center; align-items: center;
    gap: 8px; margin-top: 48px; flex-wrap: wrap;
}
.bl-page-btn {
    display: flex; align-items: center; justify-content: center;
    width: 42px; height: 42px; border-radius: 10px;
    border: 1.5px solid rgba(0,0,0,.08); background: #fff;
    text-decoration: none; color: #555;
    font-size: .88rem; font-weight: 600; font-family: 'Exo 2', sans-serif;
    transition: all .25s ease;
}
.bl-page-btn:hover { border-color: #7fa69b; color: #5a8a7f; background: rgba(127,166,155,.06); text-decoration: none; }
.bl-page-btn.active {
    background: linear-gradient(135deg, #7fa69b, #5a8a7f);
    border-color: #5a8a7f; color: #fff;
    box-shadow: 0 4px 14px rgba(127,166,155,.35);
}
.bl-page-btn.disabled { opacity: .35; pointer-events: none; }

/* ================================================================
   SIDEBAR — Premium sticky widgets
   ================================================================ */
.bl-sidebar {
    position: sticky;
    top: 96px;
}
.bl-widget {
    background: #fff;
    border-radius: 18px;
    margin-bottom: 26px;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,.07);
    box-shadow: 0 2px 14px rgba(0,0,0,.05);
    transition: box-shadow .3s ease;
}
.bl-widget:hover { box-shadow: 0 6px 28px rgba(0,0,0,.08); }

/* Widget header strip */
.bl-widget-title {
    display: flex; align-items: center; gap: 10px;
    font-family: 'Exo 2', sans-serif;
    font-size: .82rem; font-weight: 800; color: #fff;
    margin: 0; padding: 14px 22px;
    background: linear-gradient(135deg, #1a2d42 0%, #0d1e2e 100%);
    text-transform: uppercase; letter-spacing: .08em;
    border-bottom: 3px solid #7fa69b;
}
.bl-widget-title i { color: #7fa69b; font-size: .78rem; }

/* Widget padded body */
.bl-widget-body { padding: 20px 22px; }

/* === SEARCH WIDGET === */
.bl-search-form { position: relative; }
.bl-search-input {
    width: 100%; padding: 12px 48px 12px 42px;
    border: 2px solid #e6ebf1; border-radius: 12px;
    font-family: 'Exo 2', sans-serif; font-size: .9rem;
    outline: none; background: #f8fafc; color: #333;
    transition: border-color .3s ease, box-shadow .3s ease, background .3s ease;
    box-sizing: border-box;
}
.bl-search-input:focus {
    border-color: #7fa69b;
    box-shadow: 0 0 0 4px rgba(127,166,155,.1);
    background: #fff;
}
.bl-search-input::placeholder { color: #c0c8d0; }
.bl-search-icon {
    position: absolute; left: 14px; top: 50%;
    transform: translateY(-50%); color: #c0c8d0; font-size: .82rem; pointer-events: none;
}
.bl-search-btn {
    position: absolute; right: 6px; top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, #7fa69b, #5a8a7f);
    color: #fff; border: none; border-radius: 8px;
    width: 36px; height: 36px;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; font-size: .8rem;
    transition: transform .3s ease, box-shadow .3s ease;
}
.bl-search-btn:hover {
    transform: translateY(-50%) scale(1.08);
    box-shadow: 0 4px 14px rgba(127,166,155,.45);
}

/* === CATEGORIES WIDGET === */
.bl-cat-list { list-style: none; padding: 0; margin: 0; }
.bl-cat-list li { margin: 0; }
.bl-cat-list li:last-child a { border-bottom: none; }
.bl-cat-list a {
    display: flex; align-items: center; justify-content: space-between;
    padding: 11px 22px;
    text-decoration: none; color: #444;
    font-size: .85rem; font-weight: 500;
    border-bottom: 1px solid rgba(0,0,0,.04);
    transition: background .2s ease, color .2s ease, padding-left .2s ease;
    position: relative;
}
.bl-cat-list a::before {
    content: ''; position: absolute; left: 0; top: 0; bottom: 0;
    width: 3px; background: #7fa69b;
    transform: scaleY(0); transition: transform .2s ease;
    border-radius: 0 2px 2px 0;
}
.bl-cat-list a:hover,
.bl-cat-list a.active { background: rgba(127,166,155,.06); color: #5a8a7f; padding-left: 26px; }
.bl-cat-list a:hover::before,
.bl-cat-list a.active::before { transform: scaleY(1); }
.bl-cat-count {
    background: rgba(127,166,155,.12); color: #5a8a7f;
    font-size: .68rem; font-weight: 700;
    padding: 2px 9px; border-radius: 20px;
    min-width: 24px; text-align: center; flex-shrink: 0;
    transition: background .2s ease, color .2s ease;
}
.bl-cat-list a:hover .bl-cat-count,
.bl-cat-list a.active .bl-cat-count { background: #7fa69b; color: #fff; }

/* === RECENT POSTS WIDGET === */
.bl-recent-list { list-style: none; padding: 0; margin: 0; }
.bl-recent-item { margin: 0; border-bottom: 1px solid rgba(0,0,0,.05); }
.bl-recent-item:last-child { border-bottom: none; }
.bl-recent-item a {
    display: flex; align-items: flex-start; gap: 12px;
    padding: 13px 22px; text-decoration: none;
    transition: background .2s ease;
}
.bl-recent-item a:hover { background: rgba(127,166,155,.05); text-decoration: none; }
.bl-recent-thumb {
    width: 56px; height: 48px; flex-shrink: 0;
    border-radius: 10px; overflow: hidden;
    background: linear-gradient(135deg, rgba(127,166,155,.15), rgba(10,22,40,.2));
    display: flex; align-items: center; justify-content: center;
    border: 1px solid rgba(0,0,0,.06);
}
.bl-recent-thumb img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform .3s ease;
}
.bl-recent-item a:hover .bl-recent-thumb img { transform: scale(1.1); }
.bl-recent-thumb i { font-size: .9rem; color: rgba(127,166,155,.35); }
.bl-recent-info { flex: 1; min-width: 0; }
.bl-recent-title {
    font-size: .83rem; font-weight: 600; color: #1a2d42;
    line-height: 1.38; margin-bottom: 5px;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
    transition: color .2s ease;
}
.bl-recent-item a:hover .bl-recent-title { color: #5a8a7f; }
.bl-recent-date {
    font-size: .7rem; color: #c5cbd4;
    display: flex; align-items: center; gap: 5px;
}
.bl-recent-date i { font-size: .62rem; color: #7fa69b; }

/* === ARCHIVES WIDGET === */
.bl-archive-list { list-style: none; padding: 0; margin: 0; }
.bl-archive-list li { margin: 0; }
.bl-archive-list a {
    display: flex; align-items: center; justify-content: space-between;
    padding: 10px 22px; text-decoration: none; color: #444;
    font-size: .85rem; font-weight: 500;
    border-bottom: 1px solid rgba(0,0,0,.04);
    transition: background .2s ease, color .2s ease, padding-left .2s ease;
    position: relative;
}
.bl-archive-list li:last-child a { border-bottom: none; }
.bl-archive-list a::before {
    content: ''; position: absolute; left: 0; top: 0; bottom: 0;
    width: 3px; background: #7fa69b;
    transform: scaleY(0); transition: transform .2s ease;
    border-radius: 0 2px 2px 0;
}
.bl-archive-list a:hover,
.bl-archive-list a.active { background: rgba(127,166,155,.06); color: #5a8a7f; padding-left: 26px; }
.bl-archive-list a:hover::before,
.bl-archive-list a.active::before { transform: scaleY(1); }
.bl-archive-list a:hover .bl-cat-count,
.bl-archive-list a.active .bl-cat-count { background: #7fa69b; color: #fff; }

/* ================================================================
   ARTICLE HERO — Single blog post view
   ================================================================ */
.bl-article-hero {
    min-height: 62vh;
    background: linear-gradient(145deg, #08121c 0%, #0d1a28 40%, #142030 75%, #09131d 100%);
    position: relative; overflow: hidden;
    display: flex; align-items: flex-end;
    padding: 96px 0 68px;
}
.bl-article-hero .bl-hero-grid { display: block; }
.bl-article-hero .bl-hero-glow { display: block; }
.bl-article-hero .bl-hero-particles { display: block; }
.bl-article-hero .container {
    position: relative; z-index: 2;
    max-width: 1280px; margin: 0 auto;
    padding: 0 28px; width: 100%;
}
.bl-article-hero-inner { max-width: 900px; }

/* Breadcrumb */
.bl-article-breadcrumb {
    display: flex; align-items: center; gap: 8px;
    margin-bottom: 24px; font-size: .78rem; flex-wrap: wrap;
}
.bl-article-breadcrumb a {
    color: rgba(255,255,255,.42); text-decoration: none;
    transition: color .3s ease;
}
.bl-article-breadcrumb a:hover { color: #7fa69b; }
.bl-article-breadcrumb .sep { color: rgba(255,255,255,.2); }
.bl-article-breadcrumb .current { color: rgba(255,255,255,.55); font-weight: 500; }

/* Category badge */
.bl-article-category-badge {
    display: inline-flex; align-items: center; gap: 6px;
    background: rgba(127,166,155,.15); border: 1px solid rgba(127,166,155,.3);
    border-radius: 20px; padding: 5px 16px;
    font-size: .72rem; font-weight: 700; color: #7fa69b;
    text-transform: uppercase; letter-spacing: .07em;
    margin-bottom: 22px; text-decoration: none;
    transition: background .3s ease;
}
.bl-article-category-badge:hover { background: rgba(127,166,155,.25); }
.bl-article-title {
    font-family: 'Exo 2', sans-serif;
    font-size: clamp(1.8rem, 4vw, 2.9rem);
    font-weight: 800; color: #fff; line-height: 1.18;
    margin-bottom: 28px; letter-spacing: -.02em;
}

/* Meta row */
.bl-article-meta {
    display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
    font-size: .8rem;
}
.bl-article-meta-item {
    display: flex; align-items: center; gap: 7px;
    color: rgba(255,255,255,.52); padding: 6px 14px;
    background: rgba(255,255,255,.07); border-radius: 20px;
    border: 1px solid rgba(255,255,255,.08);
}
.bl-article-meta-item i { color: #7fa69b; font-size: .72rem; }

/* ================================================================
   ARTICLE BODY — Single blog post content
   ================================================================ */
.bl-article-body {
    background: #f0f3f7;
    padding: 0 0 88px;
}
.bl-article-container {
    max-width: 1280px; margin: 0 auto; padding: 0 28px;
}
.bl-article-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 40px; align-items: start;
}

/* Featured image — magazine-style overlap from hero */
.bl-article-featured-img {
    margin: -56px 0 0;
    border-radius: 22px; overflow: hidden;
    box-shadow: 0 20px 64px rgba(0,0,0,.2);
    position: relative; z-index: 4;
    border: 5px solid #fff;
}
.bl-article-featured-img img {
    width: 100%; display: block;
    max-height: 540px; object-fit: cover;
}

/* Article content card */
.bl-article-content {
    background: #fff;
    border-radius: 20px;
    padding: 50px 56px;
    border: 1px solid rgba(0,0,0,.05);
    box-shadow: 0 4px 28px rgba(0,0,0,.05);
    font-size: .97rem; line-height: 1.86; color: #3a3f4a;
    position: relative; z-index: 2;
    margin-top: 32px;
}

/* Drop cap on first paragraph */
.bl-article-content > p:first-of-type::first-letter {
    float: left; font-size: 3.6em; line-height: .78;
    margin: 4px 10px 0 0;
    font-family: 'Exo 2', sans-serif; font-weight: 900; color: #5a8a7f;
}

/* Typography */
.bl-article-content h1, .bl-article-content h2,
.bl-article-content h3, .bl-article-content h4,
.bl-article-content h5, .bl-article-content h6 {
    font-family: 'Exo 2', sans-serif; color: #0a1628; font-weight: 700; line-height: 1.25;
}
.bl-article-content h1 { font-size: 1.85rem; margin: 40px 0 16px; }
.bl-article-content h2 {
    font-size: 1.52rem; margin: 36px 0 14px;
    padding-bottom: 10px; border-bottom: 2px solid rgba(127,166,155,.15);
}
.bl-article-content h3 { font-size: 1.25rem; margin: 28px 0 12px; color: #1a2d42; }
.bl-article-content h4 { font-size: 1.08rem; margin: 22px 0 10px; }
.bl-article-content h5, .bl-article-content h6 { font-size: .98rem; margin: 18px 0 8px; color: #333; }
.bl-article-content p { margin-bottom: 18px; }
.bl-article-content strong { color: #0a1628; }
.bl-article-content a { color: #5a8a7f; text-decoration: underline; text-underline-offset: 3px; transition: color .3s ease; }
.bl-article-content a:hover { color: #3d6b61; }
.bl-article-content img {
    max-width: 100%; height: auto; border-radius: 14px;
    margin: 28px 0; box-shadow: 0 4px 20px rgba(0,0,0,.08); display: block;
}
.bl-article-content figure { margin: 28px 0; text-align: center; }
.bl-article-content figcaption { font-size: .8rem; color: #aaa; margin-top: 8px; font-style: italic; }
.bl-article-content ul, .bl-article-content ol { padding-left: 0; margin-bottom: 18px; list-style: none; }
.bl-article-content ul li, .bl-article-content ol li { padding: 4px 0 4px 28px; position: relative; margin-bottom: 6px; color: #444; }
.bl-article-content ul li::before {
    content: ''; position: absolute; left: 0; top: 13px;
    width: 7px; height: 7px; border-radius: 50%; background: #7fa69b;
}
.bl-article-content ol { counter-reset: ol-item; }
.bl-article-content ol li::before {
    content: counter(ol-item) "."; counter-increment: ol-item;
    position: absolute; left: 0; top: 4px;
    color: #7fa69b; font-weight: 700; font-size: .85em;
}
.bl-article-content blockquote {
    border-left: 4px solid #7fa69b;
    margin: 28px 0; padding: 20px 28px 20px 32px;
    background: linear-gradient(135deg, rgba(127,166,155,.07), rgba(127,166,155,.02));
    border-radius: 0 14px 14px 0;
    font-style: italic; color: #555; font-size: 1.04rem;
    position: relative;
}
.bl-article-content blockquote::before {
    content: '\201C'; position: absolute; top: -6px; left: 18px;
    font-size: 4.5rem; color: rgba(127,166,155,.18);
    font-family: Georgia, serif; line-height: 1; pointer-events: none;
}
.bl-article-content code {
    font-family: 'Fira Code', 'Courier New', monospace;
    background: rgba(127,166,155,.08); padding: 2px 8px;
    border-radius: 5px; font-size: .87em; color: #3d6b61;
    border: 1px solid rgba(127,166,155,.15);
}
.bl-article-content pre {
    background: #0a1628; border-radius: 14px;
    padding: 24px 28px; margin: 24px 0; overflow-x: auto;
}
.bl-article-content pre code { background: none; border: none; padding: 0; color: #9ecfc5; font-size: .88rem; }
.bl-article-content table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: .9rem; }
.bl-article-content th, .bl-article-content td { padding: 12px 16px; border: 1px solid rgba(0,0,0,.08); text-align: left; }
.bl-article-content th { background: rgba(127,166,155,.08); font-weight: 700; color: #0a1628; font-family: 'Exo 2', sans-serif; }
.bl-article-content tr:nth-child(even) td { background: rgba(0,0,0,.015); }
.bl-article-content hr { border: none; border-top: 2px solid rgba(127,166,155,.12); margin: 32px 0; }

/* === TAGS === */
.bl-article-tags {
    display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
    margin-top: 36px; padding: 22px 0 0; border-top: 1px solid rgba(0,0,0,.06);
}
.bl-article-tags-label {
    font-size: .78rem; font-weight: 700; color: #888;
    display: flex; align-items: center; gap: 6px; margin-right: 4px; white-space: nowrap;
}
.bl-article-tags-label i { color: #7fa69b; }
.bl-tag {
    display: inline-flex; align-items: center;
    padding: 6px 15px;
    background: rgba(127,166,155,.07); border: 1px solid rgba(127,166,155,.18);
    border-radius: 20px; font-size: .75rem; font-weight: 600; color: #5a8a7f;
    text-decoration: none; transition: all .25s ease;
}
.bl-tag:hover { background: rgba(127,166,155,.18); border-color: rgba(127,166,155,.35); color: #3d6b61; text-decoration: none; transform: translateY(-1px); }

/* === SHARE BAR === */
.bl-article-share {
    display: flex; align-items: center; gap: 10px;
    margin-top: 22px; padding: 18px 24px;
    background: rgba(127,166,155,.05); border-radius: 14px;
    border: 1px solid rgba(127,166,155,.1); flex-wrap: wrap;
}
.bl-share-label { font-size: .78rem; font-weight: 800; color: #0a1628; text-transform: uppercase; letter-spacing: .06em; margin-right: 6px; }
.bl-share-btn {
    display: flex; align-items: center; justify-content: center;
    width: 36px; height: 36px; border-radius: 10px;
    border: 1.5px solid rgba(0,0,0,.1); background: #fff;
    color: #666; text-decoration: none; font-size: .86rem;
    transition: all .25s ease;
}
.bl-share-btn:hover { border-color: #7fa69b; color: #fff; background: #7fa69b; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(127,166,155,.3); text-decoration: none; }

/* === PREV/NEXT NAVIGATION === */
.bl-article-nav {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 16px; margin-top: 36px;
}
.bl-nav-link {
    display: flex; flex-direction: column; gap: 6px;
    padding: 22px 24px;
    background: #fff; border-radius: 16px;
    border: 1.5px solid rgba(0,0,0,.06); text-decoration: none;
    transition: all .3s ease;
}
.bl-nav-link:hover { border-color: rgba(127,166,155,.25); box-shadow: 0 8px 28px rgba(127,166,155,.1); text-decoration: none; transform: translateY(-2px); }
.bl-nav-link.next { text-align: right; }
.bl-nav-link-label {
    font-size: .7rem; font-weight: 700; color: #7fa69b;
    text-transform: uppercase; letter-spacing: .06em;
    display: flex; align-items: center; gap: 6px;
}
.bl-nav-link.next .bl-nav-link-label { justify-content: flex-end; }
.bl-nav-link-title {
    font-family: 'Exo 2', sans-serif;
    font-size: .9rem; font-weight: 700; color: #0a1628; line-height: 1.35;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
    transition: color .3s ease;
}
.bl-nav-link:hover .bl-nav-link-title { color: #5a8a7f; }

/* === RELATED POSTS === */
.bl-related {
    margin-top: 56px; padding-top: 44px;
    border-top: 2px solid rgba(0,0,0,.06);
}
.bl-related-title {
    font-family: 'Exo 2', sans-serif;
    font-size: 1.4rem; font-weight: 800; color: #0a1628;
    margin-bottom: 28px; display: flex; align-items: center; gap: 12px;
}
.bl-related-title::after {
    content: ''; flex: 1; height: 2px;
    background: linear-gradient(90deg, rgba(127,166,155,.3), transparent);
    border-radius: 2px;
}
.bl-related-title i { color: #7fa69b; }
.bl-related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

/* ================================================================
   SCROLL TO TOP BUTTON (article pages)
   ================================================================ */
.bl-scroll-top {
    position: fixed; bottom: 28px; right: 28px;
    width: 44px; height: 44px; border-radius: 12px;
    background: linear-gradient(135deg, #7fa69b, #5a8a7f);
    color: #fff; border: none; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    font-size: .88rem; box-shadow: 0 4px 16px rgba(127,166,155,.4);
    opacity: 0; pointer-events: none;
    transition: opacity .35s ease, transform .35s ease;
    z-index: 900;
}
.bl-scroll-top.visible { opacity: 1; pointer-events: auto; }
.bl-scroll-top:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(127,166,155,.5); }

/* ================================================================
   REVEAL ANIMATIONS
   ================================================================ */
.bl-reveal {
    opacity: 0; transform: translateY(24px);
    transition: opacity .65s cubic-bezier(.22,1,.36,1), transform .65s cubic-bezier(.22,1,.36,1);
}
.bl-revealed { opacity: 1; transform: none; }

/* ================================================================
   RESPONSIVE — Tablet (≤ 1100px)
   ================================================================ */
@media (max-width: 1100px) {
    .bl-hero { min-height: 72vh; }
    .bl-hero-layout { grid-template-columns: 1fr; text-align: center; }
    .bl-hero-copy { max-width: 100%; }
    .bl-hero-subtitle { max-width: 600px; margin: 0 auto 36px; }
    .bl-hero-visual { display: none; }
    .bl-hero-stats { justify-content: center; max-width: 380px; margin: 0 auto; }
    .bl-hero-line { margin: 0 auto 36px; }

    .bl-layout { grid-template-columns: 1fr; }
    .bl-sidebar { position: static; }

    .bl-article-layout { grid-template-columns: 1fr; }
    .bl-article-content { padding: 38px 38px; }
    .bl-related-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ================================================================
   RESPONSIVE — Mobile (≤ 768px)
   ================================================================ */
@media (max-width: 768px) {
    .bl-hero { min-height: 62vh; padding: 72px 0 24px; }
    .bl-hero-title { font-size: 1.95rem; }
    .bl-hero-badge { font-size: .7rem; margin-bottom: 20px; }
    .bl-hero-stats { max-width: 100%; }
    .bl-hero-stat { padding: 14px 12px; }
    .bl-hero-stat-num { font-size: 1.6rem; }

    .bl-body { padding: 40px 0 60px; }
    .bl-container { padding: 0 16px; }

    .bl-grid { grid-template-columns: 1fr; gap: 18px; }
    .bl-card.bl-card-featured { grid-template-columns: 1fr; }
    .bl-card.bl-card-featured .bl-card-img { height: 220px; min-height: unset; }
    .bl-card.bl-card-featured .bl-card-body { padding: 22px 24px 26px; }
    .bl-card.bl-card-featured .bl-card-title { font-size: 1.12rem; }

    .bl-filters { flex-direction: column; align-items: stretch; }
    .bl-filter-select { width: 100%; }
    .bl-result-count { margin-left: 0; text-align: center; }

    .bl-article-hero { min-height: 50vh; padding: 80px 0 44px; }
    .bl-article-title { font-size: 1.7rem; }
    .bl-article-meta { gap: 8px; }
    .bl-article-meta-item { font-size: .74rem; padding: 5px 11px; }

    .bl-article-featured-img { margin: -32px 0 0; border-radius: 14px; border-width: 3px; }
    .bl-article-content { padding: 28px 22px; font-size: .93rem; margin-top: 24px; }
    .bl-article-content h1 { font-size: 1.55rem; }
    .bl-article-content h2 { font-size: 1.35rem; }
    .bl-article-content h3 { font-size: 1.15rem; }
    .bl-article-content > p:first-of-type::first-letter { font-size: 2.8em; }

    .bl-article-nav { grid-template-columns: 1fr; gap: 12px; }
    .bl-nav-link.next { text-align: left; }
    .bl-nav-link.next .bl-nav-link-label { justify-content: flex-start; }
    .bl-related-grid { grid-template-columns: 1fr; }

    .bl-article-breadcrumb { font-size: .72rem; }
}

/* ================================================================
   RESPONSIVE — Small mobile (≤ 480px)
   ================================================================ */
@media (max-width: 480px) {
    .bl-hero-title { font-size: 1.65rem; }
    .bl-hero-subtitle { font-size: .92rem; }
    .bl-hero-stat-num { font-size: 1.4rem; }

    .bl-card-body { padding: 16px 18px 20px; }
    .bl-card-img { height: 185px; }
    .bl-section-title { font-size: 1.5rem; }

    .bl-pagination { gap: 5px; }
    .bl-page-btn { width: 38px; height: 38px; font-size: .82rem; border-radius: 8px; }

    .bl-article-content { padding: 22px 16px; }
    .bl-article-content blockquote { padding: 16px 20px 16px 24px; }
    .bl-widget-title { font-size: .78rem; padding: 12px 18px; }
    .bl-cat-list a, .bl-archive-list a { padding: 10px 18px; }
    .bl-recent-item a { padding: 12px 18px; }
    .bl-widget-body { padding: 16px 18px; }
    .bl-scroll-top { bottom: 16px; right: 16px; }
}
