/* ============================================================
   MBG BLOG — /info section
   Article design system ported from the info.myboracayguide.com
   rebuild (WP/Astra/Elementor overrides stripped, Inter -> Lato).
   Content components are .mbg-* (they appear inside post HTML in
   database/data/blog-posts.json); listing/related chrome is .blog-*.
   Static file (not Vite-built), riding public.css tokens — same
   convention as restaurants.css. See docs/blogs-handoff.md.
   ============================================================ */

/* ── Reading progress bar ── */
.mbg-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background: linear-gradient(90deg, #e9378b, #00a8c6);
    z-index: 9999;
    transition: width 0.1s ease-out;
}

/* ── Hero (standard posts + the rebuilt posts' own hero) ── */
.mbg-hero {
    position: relative;
    width: 100%;
    height: clamp(380px, 55vh, 620px);
    margin: 0;
    background-size: cover;
    background-position: center;
    background-color: #0f172a;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}
.mbg-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10,22,40,0) 0%, rgba(10,22,40,0.35) 50%, rgba(10,22,40,0.85) 100%);
}
.mbg-hero-inner {
    position: relative;
    z-index: 2;
    max-width: 920px;
    margin: 0 auto;
    padding: 0 24px 56px;
    width: 100%;
    color: #fff;
}
.mbg-hero-tag {
    display: inline-block;
    background: #e9378b;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 8px 16px;
    border-radius: 999px;
    margin-bottom: 18px;
    text-decoration: none;
}
.mbg-hero .mbg-hero-title,
.mbg-hero h1 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: clamp(28px, 4.2vw, 48px);
    line-height: 1.15;
    margin: 0 0 18px 0;
    color: #fff;
    text-shadow: 0 2px 24px rgba(0,0,0,0.4);
    letter-spacing: -0.01em;
}
.mbg-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 18px 24px;
    align-items: center;
    font-family: 'Lato', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: rgba(255,255,255,0.92);
}
.mbg-hero-meta span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.mbg-hero-meta svg {
    width: 16px;
    height: 16px;
    opacity: 0.9;
}

/* ── Article shell ── */
.mbg-article {
    background: #ffffff;
    margin: 0;
    padding: 0;
}
.mbg-article-inner {
    max-width: 760px;
    margin: 0 auto;
    padding: 56px 24px 80px;
    font-family: 'Lato', sans-serif;
    font-size: 18px;
    line-height: 1.75;
    color: #1e293b;
}

/* ── Typography inside article ── */
.mbg-article-inner h2 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: clamp(24px, 3vw, 32px);
    line-height: 1.25;
    color: #0f172a;
    margin: 56px 0 20px;
    letter-spacing: -0.01em;
    position: relative;
    padding-left: 18px;
}
.mbg-article-inner h2::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    bottom: 8px;
    width: 5px;
    background: linear-gradient(180deg, #e9378b, #00a8c6);
    border-radius: 4px;
}
.mbg-article-inner h2:first-child {
    margin-top: 0;
}
.mbg-article-inner h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: clamp(20px, 2.4vw, 24px);
    line-height: 1.3;
    color: #1e293b;
    margin: 36px 0 14px;
    letter-spacing: -0.005em;
}
.mbg-article-inner p {
    margin: 0 0 22px;
    color: #334155;
}
.mbg-article-inner p:last-child {
    margin-bottom: 0;
}
.mbg-article-inner a {
    color: #e9378b;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 2px solid rgba(233,55,139,0.25);
    transition: border-color 0.2s;
}
.mbg-article-inner a:hover {
    border-bottom-color: #e9378b;
}
.mbg-article-inner strong {
    color: #0f172a;
    font-weight: 700;
}
.mbg-article-inner ul {
    margin: 0 0 24px;
    padding: 0;
    list-style: none;
}
.mbg-article-inner ul li {
    position: relative;
    padding: 6px 0 6px 32px;
    color: #334155;
}
.mbg-article-inner ul li::before {
    content: "";
    position: absolute;
    left: 4px;
    top: 16px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #00a8c6;
}
.mbg-article-inner img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
}

/* ── TL;DR card ── */
.mbg-tldr {
    background: linear-gradient(135deg, #f0fdfa 0%, #fce7f3 100%);
    border: 1px solid #cffafe;
    border-radius: 20px;
    padding: 32px 32px 28px;
    margin: 0 0 48px;
    box-shadow: 0 4px 24px rgba(0,168,198,0.08);
}
.mbg-tldr-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 800;
    color: #00a8c6;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 14px;
}
.mbg-tldr-label::before {
    content: "";
    width: 28px;
    height: 2px;
    background: #00a8c6;
}
.mbg-tldr h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(22px, 2.8vw, 28px);
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 14px;
    padding: 0;
    line-height: 1.25;
}
.mbg-tldr h2::before {
    display: none;
}
.mbg-tldr p {
    font-size: 16px;
    line-height: 1.7;
    color: #334155;
    margin: 0 0 22px;
}
.mbg-tldr p:last-child {
    margin-bottom: 0;
}
.mbg-stat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-top: 24px;
}
.mbg-stat {
    background: #fff;
    border-radius: 14px;
    padding: 16px 14px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(15,23,42,0.05);
}
.mbg-stat-num {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(18px, 2.4vw, 22px);
    font-weight: 800;
    color: #e9378b;
    line-height: 1.2;
    margin-bottom: 4px;
}
.mbg-stat-label {
    display: block;
    font-size: 11px;
    color: #64748b;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.3;
}
@media (max-width: 640px) {
    .mbg-tldr {
        padding: 24px 20px;
        border-radius: 16px;
    }
    .mbg-stat-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ── Tables ── */
.mbg-table-wrap {
    margin: 0 0 36px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(15,23,42,0.06);
    border: 1px solid #e2e8f0;
    overflow-x: auto;
}
.mbg-table-wrap table {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
    background: #fff;
    margin: 0;
}
.mbg-table-wrap thead {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}
.mbg-table-wrap th {
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 16px 14px;
    text-align: left;
    border: none;
}
.mbg-table-wrap td {
    padding: 14px;
    border-top: 1px solid #f1f5f9;
    color: #334155;
    vertical-align: top;
    line-height: 1.55;
}
.mbg-table-wrap tbody tr:nth-child(even) td {
    background: #fafafa;
}
.mbg-table-wrap tbody tr:hover td {
    background: #fdf2f8;
}
.mbg-table-wrap td:first-child {
    font-weight: 700;
    color: #0f172a;
}
/* Classic-post plain tables get the same treatment */
.mbg-article-inner > table,
.mbg-article-inner figure.wp-block-table table {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
    margin: 0 0 36px;
}
.mbg-article-inner > table th,
.mbg-article-inner figure.wp-block-table th {
    background: #0f172a;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 14px;
    text-align: left;
}
.mbg-article-inner > table td,
.mbg-article-inner figure.wp-block-table td {
    padding: 12px 14px;
    border-top: 1px solid #f1f5f9;
    color: #334155;
}
@media (max-width: 720px) {
    .mbg-table-wrap {
        font-size: 13px;
    }
    .mbg-table-wrap th, .mbg-table-wrap td {
        padding: 10px 8px;
    }
}

/* ── Day grid (itineraries) ── */
.mbg-day-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 0 0 36px;
}
.mbg-day-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 28px 26px;
    position: relative;
    transition: transform 0.2s, box-shadow 0.2s;
}
.mbg-day-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(15,23,42,0.08);
}
.mbg-day-num {
    display: inline-block;
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 800;
    color: #fff;
    background: #e9378b;
    padding: 5px 12px;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-bottom: 12px;
}
.mbg-day-card h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 19px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 12px;
    line-height: 1.3;
}
.mbg-day-card p {
    font-size: 15px;
    line-height: 1.65;
    color: #475569;
    margin: 0;
}
@media (max-width: 720px) {
    .mbg-day-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .mbg-day-card {
        padding: 22px 20px;
    }
}

/* ── Activity photo cards ── */
.mbg-activity-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 0 0 36px;
}
.mbg-activity {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    display: flex;
    flex-direction: column;
}
.mbg-activity:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(15,23,42,0.12);
    border-color: #e9378b;
}
.mbg-activity-img-wrap {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #0f172a;
}
.mbg-activity-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    border-radius: 0;
}
.mbg-activity:hover .mbg-activity-img {
    transform: scale(1.06);
}
.mbg-activity-price {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #e9378b;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 800;
    padding: 6px 12px;
    border-radius: 999px;
    letter-spacing: 0.3px;
    box-shadow: 0 4px 12px rgba(233,55,139,0.35);
}
.mbg-activity-body {
    padding: 16px 18px 18px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.mbg-activity-name {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.3;
    margin: 0 0 6px;
}
.mbg-activity-desc {
    display: block;
    font-size: 13px;
    line-height: 1.55;
    color: #64748b;
    margin: 0;
}
@media (max-width: 640px) {
    .mbg-activity-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

/* ── Station cards ── */
.mbg-station-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    margin: 0 0 36px;
}
.mbg-station {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 0;
    border-left: 5px solid #00a8c6;
    overflow: hidden;
}
.mbg-station:nth-child(2) {
    border-left-color: #e9378b;
}
.mbg-station:nth-child(3) {
    border-left-color: #f4b802;
}
.mbg-station-img {
    display: block;
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 0;
}
.mbg-station-body {
    padding: 24px 28px 28px;
}
.mbg-station-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}
.mbg-station h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
    padding: 0;
}
.mbg-station-price {
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: #e9378b;
    background: #fdf2f8;
    padding: 6px 12px;
    border-radius: 999px;
}
.mbg-station p {
    font-size: 15px;
    line-height: 1.65;
    color: #475569;
    margin: 0 0 14px;
}
.mbg-station p:last-child {
    margin-bottom: 0;
}
@media (max-width: 640px) {
    .mbg-station-img {
        height: 180px;
    }
    .mbg-station-body {
        padding: 20px 22px 24px;
    }
}

/* ── Inline CTA box (mid-article) ── */
.mbg-cta-box {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border-radius: 20px;
    padding: 36px 32px;
    margin: 40px 0;
    color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.mbg-cta-box::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 200%;
    background: radial-gradient(circle, rgba(233,55,139,0.18) 0%, transparent 70%);
    pointer-events: none;
}
.mbg-cta-box-tag {
    display: inline-block;
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 800;
    color: #00a8c6;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
    position: relative;
}
.mbg-cta-box h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(22px, 2.8vw, 28px);
    font-weight: 800;
    color: #fff;
    margin: 0 0 12px;
    line-height: 1.25;
    position: relative;
}
.mbg-cta-box p {
    font-size: 16px;
    line-height: 1.65;
    color: rgba(255,255,255,0.85);
    margin: 0 0 24px;
    max-width: 540px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

/* ── Buttons ── */
.mbg-btn {
    display: inline-block;
    background: #e9378b;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 16px 32px;
    border-radius: 999px;
    border: none;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
    position: relative;
    box-shadow: 0 4px 16px rgba(233,55,139,0.4);
}
.mbg-btn:hover {
    transform: translateY(-2px);
    background: #d81e7a;
    color: #fff;
    box-shadow: 0 8px 24px rgba(233,55,139,0.5);
}
.mbg-btn-secondary {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,0.3);
    box-shadow: none;
}
.mbg-btn-secondary:hover {
    background: rgba(255,255,255,0.1);
    border-color: #fff;
}

/* ── FAQ accordion ── */
.mbg-faq-list {
    margin: 0 0 40px;
}
.mbg-faq {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    margin-bottom: 12px;
    overflow: hidden;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.mbg-faq[open] {
    border-color: #e9378b;
    box-shadow: 0 4px 16px rgba(233,55,139,0.08);
}
.mbg-faq summary {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    padding: 20px 56px 20px 24px;
    cursor: pointer;
    list-style: none;
    position: relative;
    line-height: 1.4;
}
.mbg-faq summary::-webkit-details-marker {
    display: none;
}
.mbg-faq summary::after {
    content: "+";
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 26px;
    font-weight: 300;
    color: #e9378b;
    transition: transform 0.2s;
    line-height: 1;
}
.mbg-faq[open] summary::after {
    content: "−";
}
.mbg-faq summary:hover {
    background: #fdf2f8;
}
.mbg-faq-body {
    padding: 0 24px 22px;
    font-size: 15px;
    line-height: 1.7;
    color: #475569;
}
.mbg-faq-body p {
    margin: 0;
}

/* ── Final big CTA ── */
.mbg-final-cta {
    background: linear-gradient(135deg, #e9378b 0%, #c4256e 100%);
    border-radius: 24px;
    padding: 48px 36px;
    margin: 48px 0 0;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}
.mbg-final-cta::before {
    content: "";
    position: absolute;
    top: -100px;
    left: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 70%);
}
.mbg-final-cta::after {
    content: "";
    position: absolute;
    bottom: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0,168,198,0.25) 0%, transparent 70%);
}
.mbg-final-cta h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(26px, 3.2vw, 36px);
    font-weight: 800;
    color: #fff;
    margin: 0 0 16px;
    padding: 0;
    position: relative;
    line-height: 1.2;
}
.mbg-final-cta h2::before {
    display: none;
}
.mbg-final-cta p {
    font-size: 17px;
    line-height: 1.7;
    color: rgba(255,255,255,0.95);
    max-width: 580px;
    margin: 0 auto 28px;
    position: relative;
}
.mbg-final-cta .mbg-btn {
    background: #fff;
    color: #e9378b;
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}
.mbg-final-cta .mbg-btn:hover {
    background: #fff;
    color: #c4256e;
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(0,0,0,0.2);
}
.mbg-final-cta .mbg-btn-secondary {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,0.5);
    box-shadow: none;
}
.mbg-final-cta .mbg-btn-secondary:hover {
    background: rgba(255,255,255,0.15);
    color: #fff;
    border-color: #fff;
}
.mbg-final-cta-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 14px;
    margin: 8px auto 0;
    position: relative;
}
.mbg-final-cta-actions .mbg-btn {
    margin: 0;
    min-width: 180px;
}
@media (max-width: 520px) {
    .mbg-final-cta-actions {
        flex-direction: column;
        gap: 12px;
    }
    .mbg-final-cta-actions .mbg-btn {
        width: 100%;
        max-width: 280px;
    }
}

/* ── Sticky TOC (desktop only) ── */
.mbg-toc {
    position: fixed;
    top: 120px;
    right: max(20px, calc((100vw - 1240px) / 2));
    width: 220px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 18px 18px 14px;
    box-shadow: 0 4px 20px rgba(15,23,42,0.06);
    z-index: 50;
    max-height: calc(100vh - 200px);
    overflow-y: auto;
    opacity: 0;
    transform: translateX(20px);
    transition: opacity 0.3s, transform 0.3s;
    pointer-events: none;
}
.mbg-toc.visible {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}
.mbg-toc-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 800;
    color: #00a8c6;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin: 0 0 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid #e2e8f0;
}
.mbg-toc ul {
    margin: 0;
    padding: 0;
    list-style: none;
}
.mbg-toc li {
    margin: 0;
    padding: 0;
    border: none;
}
.mbg-toc li::before {
    display: none;
}
.mbg-toc a {
    display: block;
    font-family: 'Lato', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: #475569;
    text-decoration: none;
    padding: 7px 10px;
    border-radius: 8px;
    line-height: 1.4;
    border: none;
    border-left: 2px solid transparent;
    transition: all 0.2s;
}
.mbg-toc a:hover {
    background: #fdf2f8;
    color: #e9378b;
}
.mbg-toc a.active {
    background: #fdf2f8;
    color: #e9378b;
    font-weight: 700;
    border-left-color: #e9378b;
}
@media (max-width: 1280px) {
    .mbg-toc {
        display: none;
    }
}

/* ── Dividers / figures ── */
.mbg-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, #e2e8f0, transparent);
    border: none;
    margin: 48px 0;
}
.mbg-figure {
    margin: 40px 0;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 16px 48px rgba(15,23,42,0.14);
    position: relative;
    background: #0f172a;
}
.mbg-figure img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    transition: transform 0.6s ease;
    border-radius: 0;
}
.mbg-figure:hover img {
    transform: scale(1.03);
}
.mbg-figure figcaption,
.mbg-figure .mbg-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 28px 22px 16px;
    background: linear-gradient(180deg, transparent 0%, rgba(10,22,40,0.85) 100%);
    color: rgba(255,255,255,0.96);
    font-size: 13px;
    font-style: italic;
    font-family: 'Lato', sans-serif;
    line-height: 1.45;
    font-weight: 500;
}
@media (min-width: 1080px) {
    .mbg-figure-wide {
        margin-left: -120px;
        margin-right: -120px;
    }
    .mbg-figure-wide img {
        aspect-ratio: 21 / 9;
    }
}

/* ============================================================
   LISTING + RELATED (.blog-*)
   ============================================================ */

.blog-hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 100%);
    color: #fff;
    padding: 72px 0 56px;
    text-align: center;
}
.blog-eyebrow {
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #00a8c6;
    margin: 0 0 12px;
}
.blog-hero h1 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.15;
    margin: 0 0 14px;
    color: #fff;
}
.blog-hero-sub {
    font-family: 'Lato', sans-serif;
    font-size: 17px;
    line-height: 1.6;
    color: rgba(255,255,255,0.85);
    max-width: 620px;
    margin: 0 auto;
}

.blog-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin: 32px 0 36px;
}
.blog-tab {
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: #475569;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    padding: 10px 20px;
    text-decoration: none;
    transition: all 0.2s;
}
.blog-tab:hover {
    border-color: #e9378b;
    color: #e9378b;
}
.blog-tab.on {
    background: #e9378b;
    border-color: #e9378b;
    color: #fff;
}

.blog-empty {
    text-align: center;
    color: #64748b;
    margin: 40px 0;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin: 0 0 48px;
}
@media (max-width: 980px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 640px) {
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }
}
.blog-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    overflow: hidden;
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(15,23,42,0.12);
    border-color: #e9378b;
}
.blog-card-img {
    position: relative;
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #0f172a;
}
.blog-card-img img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.blog-card:hover .blog-card-img img {
    transform: scale(1.06);
}
.blog-card-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(255,255,255,0.94);
    color: #0f172a;
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 6px 12px;
    border-radius: 999px;
    box-shadow: 0 2px 8px rgba(15,23,42,0.18);
}
.blog-card-body {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 18px 20px 20px;
    flex: 1;
}
.blog-card-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 17px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.35;
}
.blog-card-excerpt {
    font-family: 'Lato', sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: #64748b;
    flex: 1;
}
.blog-card-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Lato', sans-serif;
    font-size: 12.5px;
    font-weight: 600;
    color: #94a3b8;
}

.blog-pager {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin: 0 0 48px;
}
.blog-pg {
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: #475569;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 9px 14px;
    text-decoration: none;
    transition: all 0.2s;
}
.blog-pg:hover {
    border-color: #e9378b;
    color: #e9378b;
}
.blog-pg.on {
    background: #e9378b;
    border-color: #e9378b;
    color: #fff;
}

.blog-cta {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border-radius: 24px;
    padding: 48px 32px;
    margin: 0 0 64px;
    text-align: center;
    color: #fff;
}
.blog-cta-tag {
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 800;
    color: #00a8c6;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0 0 12px;
}
.blog-cta h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 800;
    color: #fff;
    margin: 0 0 12px;
}
.blog-cta-sub {
    font-family: 'Lato', sans-serif;
    font-size: 16px;
    line-height: 1.65;
    color: rgba(255,255,255,0.85);
    max-width: 560px;
    margin: 0 auto 26px;
}
.blog-cta-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
}

.blog-related {
    background: #f8fafc;
    padding: 56px 0 64px;
    margin-top: 64px;
}
.blog-related h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(22px, 2.8vw, 30px);
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 24px;
}
.blog-show-page .blog-related .blog-grid {
    margin-bottom: 0;
}
