/* =====================================================================
   Greenway Transfers — Blog styles
   ===================================================================== */

/* ── Hero ── */
.bl-hero {
    background: linear-gradient(135deg, #0a1628 0%, #0f2447 60%, #0097B2 100%);
    padding: 80px 24px 72px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.bl-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.bl-hero__inner {
    position: relative;
    max-width: 680px;
    margin: 0 auto;
}

.bl-hero__eyebrow {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #9CCD53;
    margin: 0 0 16px;
}

.bl-hero__title {
    font-size: clamp(28px, 5vw, 48px);
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
    margin: 0 0 16px;
}

.bl-hero__sub {
    font-size: 17px;
    color: rgba(255,255,255,.70);
    line-height: 1.65;
    margin: 0;
}

/* ── Layout: main + sidebar ── */
.bl-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 48px;
    padding-top: 56px;
    padding-bottom: 80px;
    align-items: start;
}

.bl-layout--post {
    grid-template-columns: 1fr 300px;
}

/* ── Cards ── */
.bl-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 16px rgba(0,0,0,.07);
    transition: box-shadow .2s, transform .2s;
    display: flex;
    flex-direction: column;
}

.bl-card:hover {
    box-shadow: 0 8px 40px rgba(0,0,0,.13);
    transform: translateY(-3px);
}

.bl-card--featured {
    flex-direction: row;
    margin-bottom: 40px;
}

.bl-card__img-link {
    display: block;
    text-decoration: none;
    flex-shrink: 0;
}

.bl-card--featured .bl-card__img-link {
    width: 48%;
}

.bl-card__img-wrap {
    position: relative;
    width: 100%;
    padding-bottom: 62%;
    background: linear-gradient(135deg, var(--accent, #0097B2), #0a1628);
    overflow: hidden;
}

.bl-card--featured .bl-card__img-wrap {
    height: 100%;
    padding-bottom: 0;
}

.bl-card__img-wrap img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}

.bl-card:hover .bl-card__img-wrap img {
    transform: scale(1.04);
}

.bl-card__img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 50%, rgba(0,0,0,.25) 100%);
    pointer-events: none;
}

.bl-card__cat-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: #0097B2;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 20px;
}

.bl-card__body {
    padding: 28px 28px 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.bl-card__meta {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 14px;
}

.bl-card__date,
.bl-card__read {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12.5px;
    color: #8a8fa4;
    white-space: nowrap;
}

.bl-card__title {
    font-size: 20px;
    font-weight: 700;
    color: #14213d;
    line-height: 1.35;
    margin: 0 0 10px;
}

.bl-card--featured .bl-card__title {
    font-size: 24px;
}

.bl-card__title a {
    color: inherit;
    text-decoration: none;
    transition: color .15s;
}

.bl-card__title a:hover { color: #0097B2; }

.bl-card__excerpt {
    font-size: 14.5px;
    color: #5a6272;
    line-height: 1.65;
    margin: 0 0 20px;
    flex: 1;
}

.bl-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.bl-card__tags {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.bl-tag {
    font-size: 11.5px;
    font-weight: 600;
    color: #5a6272;
    background: #f1f4f8;
    padding: 3px 9px;
    border-radius: 20px;
}

.bl-read-more {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    transition: gap .15s;
}

.bl-read-more:hover { gap: 9px; }

/* ── Posts grid (2 small cards) ── */
.bl-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

/* ── Sidebar widgets ── */
.bl-sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
    position: sticky;
    top: 100px;
}

.bl-widget {
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 2px 16px rgba(0,0,0,.07);
}

.bl-widget__title {
    font-size: 14px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: #14213d;
    margin: 0 0 18px;
    padding-bottom: 12px;
    border-bottom: 2px solid #f1f4f8;
}

/* Recent list */
.bl-recent-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.bl-recent-link {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    text-decoration: none;
}

.bl-recent-color {
    width: 4px;
    height: 40px;
    border-radius: 4px;
    flex-shrink: 0;
    margin-top: 2px;
}

.bl-recent-title {
    display: block;
    font-size: 13.5px;
    font-weight: 600;
    color: #14213d;
    line-height: 1.4;
    transition: color .15s;
}

.bl-recent-link:hover .bl-recent-title { color: #0097B2; }

.bl-recent-date {
    display: block;
    font-size: 11.5px;
    color: #9aa0b5;
    margin-top: 3px;
}

/* Category pills */
.bl-cats {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.bl-cat-pill {
    font-size: 12px;
    font-weight: 700;
    padding: 5px 14px;
    border-radius: 20px;
    border: 1.5px solid;
    cursor: default;
}

/* CTA widget */
.bl-widget--cta {
    background: linear-gradient(135deg, #f0f9ff 0%, #e8f5e9 100%);
    border: 1.5px solid #d1edf7;
    text-align: center;
}

.bl-cta-icon {
    width: 52px;
    height: 52px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
    box-shadow: 0 2px 12px rgba(0,151,178,.15);
}

.bl-cta-title {
    font-size: 15px;
    font-weight: 700;
    color: #14213d;
    margin: 0 0 8px;
    line-height: 1.3;
}

.bl-cta-text {
    font-size: 13px;
    color: #5a6272;
    line-height: 1.55;
    margin: 0 0 18px;
}

.bl-cta-btn {
    display: inline-block;
    background: #0097B2;
    color: #fff;
    font-size: 13.5px;
    font-weight: 700;
    padding: 10px 24px;
    border-radius: 8px;
    text-decoration: none;
    transition: background .2s;
}

.bl-cta-btn:hover { background: #007a91; }

/* WhatsApp widget */
.bl-widget--wa {
    text-align: center;
    background: #f0fdf4;
    border: 1.5px solid #bbf7d0;
}

.bl-widget--wa svg {
    display: block;
    margin: 0 auto 10px;
}

.bl-wa-text {
    font-size: 13.5px;
    color: #14213d;
    margin: 0 0 14px;
    font-weight: 500;
}

.bl-wa-btn {
    display: inline-block;
    background: #25D366;
    color: #fff;
    font-size: 13.5px;
    font-weight: 700;
    padding: 10px 24px;
    border-radius: 8px;
    text-decoration: none;
    transition: background .2s;
}

.bl-wa-btn:hover { background: #1dba58; }

/* ── Post hero ── */
.bl-post-hero {
    background: linear-gradient(135deg, #0a1628 0%, #0f2447 60%, var(--accent, #0097B2) 100%);
    padding: 64px 24px 52px;
    position: relative;
    overflow: hidden;
}

.bl-post-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.bl-post-hero__inner {
    position: relative;
    max-width: 760px;
}

.bl-post-hero__breadcrumb {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 20px;
    font-size: 12.5px;
    color: rgba(255,255,255,.55);
    flex-wrap: wrap;
}

.bl-post-hero__breadcrumb a {
    color: rgba(255,255,255,.70);
    text-decoration: none;
    transition: color .15s;
}

.bl-post-hero__breadcrumb a:hover { color: #fff; }

.bl-post-hero__cat {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 18px;
}

.bl-post-hero__title {
    font-size: clamp(24px, 4vw, 40px);
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
    margin: 0 0 16px;
}

.bl-post-hero__excerpt {
    font-size: 16px;
    color: rgba(255,255,255,.72);
    line-height: 1.65;
    margin: 0 0 28px;
    max-width: 640px;
}

.bl-post-hero__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.bl-post-hero__author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.bl-post-hero__avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 16px;
    color: #fff;
    flex-shrink: 0;
}

.bl-post-hero__author-name {
    display: block;
    font-size: 13.5px;
    font-weight: 700;
    color: #fff;
}

.bl-post-hero__date {
    display: block;
    font-size: 12px;
    color: rgba(255,255,255,.60);
    margin-top: 2px;
}

.bl-post-hero__read {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: rgba(255,255,255,.70);
}

/* ── Cover image ── */
.bl-post-cover {
    margin-top: -24px;
    padding-bottom: 0;
}

.bl-post-cover__img-wrap {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 16px 48px rgba(0,0,0,.18);
    background: linear-gradient(135deg, var(--accent, #0097B2), #0a1628);
    aspect-ratio: 16/6;
}

.bl-post-cover__img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ── Post prose ── */
.bl-post-body {
    background: #fff;
    border-radius: 16px;
    padding: 40px 44px;
    box-shadow: 0 2px 16px rgba(0,0,0,.07);
}

.bl-prose {
    font-size: 16px;
    line-height: 1.8;
    color: #374151;
}

.bl-prose h2 {
    font-size: 22px;
    font-weight: 700;
    color: #14213d;
    margin: 36px 0 14px;
    padding-left: 16px;
    border-left: 4px solid #0097B2;
    line-height: 1.3;
}

.bl-prose h3 {
    font-size: 17px;
    font-weight: 700;
    color: #14213d;
    margin: 28px 0 10px;
}

.bl-prose p {
    margin: 0 0 18px;
}

.bl-prose ul,
.bl-prose ol {
    margin: 0 0 20px;
    padding-left: 24px;
}

.bl-prose li {
    margin-bottom: 8px;
}

.bl-prose strong {
    font-weight: 700;
    color: #14213d;
}

.bl-prose a {
    color: #0097B2;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.bl-prose a:hover { color: #007a91; }

/* Tags row */
.bl-post-tags {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 36px;
    padding-top: 24px;
    border-top: 1.5px solid #f1f4f8;
}

.bl-post-tags__label {
    font-size: 12.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .07em;
    color: #8a8fa4;
    margin-right: 4px;
}

/* Share row */
.bl-share {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
}

.bl-share__label {
    font-size: 12.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .07em;
    color: #8a8fa4;
}

.bl-share__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    text-decoration: none;
    color: #fff;
    transition: opacity .2s, transform .2s;
}

.bl-share__btn:hover { opacity: .88; transform: scale(1.08); }

.bl-share__btn--wa { background: #25D366; }
.bl-share__btn--fb { background: #1877F2; }

/* ── Responsive ── */
@media (max-width: 1024px) {
    .bl-layout {
        grid-template-columns: 1fr;
    }
    .bl-layout--post {
        grid-template-columns: 1fr;
    }
    .bl-sidebar {
        position: static;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .bl-card--featured {
        flex-direction: column;
    }
    .bl-card--featured .bl-card__img-link {
        width: 100%;
    }
    .bl-card--featured .bl-card__img-wrap {
        height: auto;
        padding-bottom: 56%;
    }
    .bl-grid {
        grid-template-columns: 1fr;
    }
    .bl-sidebar {
        grid-template-columns: 1fr;
    }
    .bl-post-body {
        padding: 28px 22px;
    }
    .bl-layout {
        padding-top: 32px;
        padding-bottom: 48px;
    }
}

@media (max-width: 480px) {
    .bl-hero { padding: 56px 20px 48px; }
    .bl-card__body { padding: 20px; }
    .bl-post-hero { padding: 48px 20px 36px; }
}
