/* ============================================================
   SECURE LINE TECH
   BLOG / KNOWLEDGE HUB
   PREMIUM PAGE-SPECIFIC DESIGN
   ============================================================ */

.blog-page {
    --blog-green: #00c853;
    --blog-green-dark: #00a651;
    --blog-green-deep: #006b3c;
    --blog-black: #111111;
    --blog-graphite: #2b2b2b;
    --blog-white: #ffffff;
    --blog-light: #e8ecef;
    --blog-silver: #c0c6cc;
    --blog-cyan: #00e5ff;

    background: #ffffff;
    color: var(--blog-black);
    overflow: hidden;
}

.blog-container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.blog-visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.blog-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    color: var(--blog-green-dark);
    font-size: 0.72rem;
    font-weight: 850;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.blog-eyebrow::before {
    content: "";
    width: 30px;
    height: 2px;
    background: var(--blog-green);
}

.blog-page h2 {
    margin: 0;
    font-size: clamp(2rem, 4vw, 3.6rem);
    line-height: 1.08;
    letter-spacing: -0.045em;
    font-weight: 850;
}

.blog-page h2 span {
    color: var(--blog-green-dark);
}


/* ============================================================
   BUTTONS
   ============================================================ */

.blog-btn {
    min-height: 51px;
    padding: 0 21px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 10px;
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 800;
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        background 0.25s ease,
        border-color 0.25s ease,
        color 0.25s ease;
}

.blog-btn:hover {
    transform: translateY(-3px);
}

.blog-btn-primary {
    color: #ffffff;
    background: var(--blog-green-dark);
    box-shadow: 0 14px 32px rgba(0, 166, 81, 0.2);
}

.blog-btn-primary:hover {
    color: #ffffff;
    background: var(--blog-green-deep);
    box-shadow: 0 18px 40px rgba(0, 166, 81, 0.28);
}

.blog-btn-secondary {
    color: var(--blog-black);
    background: #ffffff;
    border: 1px solid #dce2e5;
}

.blog-btn-secondary:hover {
    color: var(--blog-green-deep);
    border-color: var(--blog-green);
}


/* ============================================================
   HERO
   ============================================================ */

.blog-hero {
    position: relative;
    padding: 90px 0 105px;
    background:
        radial-gradient(circle at 82% 15%, rgba(0, 200, 83, 0.12), transparent 30%),
        linear-gradient(135deg, #ffffff 0%, #f6faf8 58%, #edf7f1 100%);
}

.blog-hero::before {
    content: "";
    position: absolute;
    top: -180px;
    left: -180px;
    width: 440px;
    height: 440px;
    border: 1px solid rgba(0, 200, 83, 0.12);
    border-radius: 50%;
}

.blog-hero::after {
    content: "";
    position: absolute;
    right: -180px;
    bottom: -210px;
    width: 500px;
    height: 500px;
    border: 1px solid rgba(0, 200, 83, 0.14);
    border-radius: 50%;
}

.blog-hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    align-items: center;
    gap: 70px;
}

.blog-hero-content h1 {
    max-width: 700px;
    margin: 0;
    font-size: clamp(2.8rem, 5.3vw, 5.2rem);
    line-height: 0.98;
    letter-spacing: -0.06em;
    font-weight: 900;
}

.blog-hero-content h1 span {
    display: block;
    color: var(--blog-green-dark);
}

.blog-hero-content > p {
    max-width: 620px;
    margin: 27px 0 0;
    color: #5e666d;
    font-size: 1.05rem;
    line-height: 1.8;
}

.blog-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 13px;
    margin-top: 32px;
}

.blog-hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 30px;
}

.blog-hero-points span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #4f585e;
    font-size: 0.78rem;
    font-weight: 700;
}

.blog-hero-points b {
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #ffffff;
    background: var(--blog-green);
    font-size: 0.64rem;
}

.blog-hero-visual {
    position: relative;
    min-height: 530px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-hero-image {
    width: 100%;
    max-width: 650px;
    overflow: hidden;
    border: 1px solid rgba(0, 166, 81, 0.17);
    border-radius: 27px;
    background: #ffffff;
    box-shadow: 0 30px 80px rgba(17, 17, 17, 0.13);
}

.blog-hero-image img {
    display: block;
    width: 100%;
    height: auto;
}

.blog-hero-badge {
    position: absolute;
    z-index: 2;
    padding: 14px 17px;
    border: 1px solid rgba(0, 166, 81, 0.16);
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 16px 40px rgba(17, 17, 17, 0.12);
    backdrop-filter: blur(12px);
}

.blog-hero-badge strong,
.blog-hero-badge span {
    display: block;
}

.blog-hero-badge strong {
    font-size: 0.82rem;
}

.blog-hero-badge span {
    margin-top: 4px;
    color: #697278;
    font-size: 0.67rem;
}

.blog-hero-badge-top {
    top: 9%;
    right: -10px;
}

.blog-hero-badge-bottom {
    left: -15px;
    bottom: 9%;
    display: flex;
    align-items: center;
    gap: 11px;
}

.blog-hero-badge-bottom span:last-child {
    margin-top: 4px;
}

.blog-live-dot {
    width: 10px;
    height: 10px;
    flex: 0 0 10px;
    border-radius: 50%;
    background: var(--blog-green);
    box-shadow: 0 0 0 5px rgba(0, 200, 83, 0.12);
}


/* ============================================================
   CATEGORY SECTION
   ============================================================ */

.blog-category-section {
    padding: 100px 0;
    background: #ffffff;
}

.blog-category-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 42px;
}

.blog-category-header p {
    max-width: 420px;
    margin: 0 0 4px;
    color: #687177;
    font-size: 0.9rem;
    line-height: 1.75;
}

.blog-category-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.blog-category-item {
    position: relative;
    min-height: 100px;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px;
    overflow: hidden;
    border: 1px solid #e1e6e8;
    border-radius: 16px;
    color: var(--blog-black);
    background: #ffffff;
    text-decoration: none;
    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        background 0.25s ease;
}

.blog-category-item:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 200, 83, 0.38);
    box-shadow: 0 18px 45px rgba(17, 17, 17, 0.08);
}

.blog-category-active {
    border-color: rgba(0, 166, 81, 0.34);
    background: #f3faf6;
}

.blog-category-icon {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 40px;
    border-radius: 11px;
    color: var(--blog-green-deep);
    background: rgba(0, 200, 83, 0.1);
    font-size: 0.68rem;
    font-weight: 900;
}

.blog-category-item strong,
.blog-category-item small {
    display: block;
}

.blog-category-item strong {
    font-size: 0.84rem;
}

.blog-category-item small {
    margin-top: 4px;
    color: #737b80;
    font-size: 0.69rem;
    line-height: 1.4;
}

.blog-category-arrow {
    margin-left: auto;
    color: var(--blog-green-dark);
    font-size: 1rem;
}


/* ============================================================
   FEATURED ARTICLE
   ============================================================ */

.blog-featured-section {
    padding: 100px 0;
    background: #f6f9f7;
}

.blog-section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 38px;
}

.blog-section-label {
    padding: 8px 12px;
    border-radius: 999px;
    color: var(--blog-green-deep);
    background: rgba(0, 200, 83, 0.1);
    font-size: 0.63rem;
    font-weight: 900;
    letter-spacing: 0.11em;
}

.blog-featured-card {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    overflow: hidden;
    border: 1px solid #dfe7e2;
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 25px 65px rgba(17, 17, 17, 0.09);
}

.blog-featured-image {
    position: relative;
    min-height: 480px;
    overflow: hidden;
}

.blog-featured-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.blog-image-category {
    position: absolute;
    left: 20px;
    top: 20px;
    padding: 8px 11px;
    border-radius: 7px;
    color: #ffffff;
    background: rgba(17, 17, 17, 0.84);
    font-size: 0.61rem;
    font-weight: 900;
    letter-spacing: 0.1em;
}

.blog-featured-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 50px;
}

.blog-meta,
.blog-card-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    color: #778087;
    font-size: 0.68rem;
    font-weight: 750;
}

.blog-meta span:first-child {
    color: var(--blog-green-deep);
}

.blog-featured-content h3 {
    margin: 18px 0 16px;
    font-size: clamp(1.7rem, 3vw, 2.65rem);
    line-height: 1.12;
    letter-spacing: -0.04em;
}

.blog-featured-content > p {
    margin: 0;
    color: #687177;
    font-size: 0.91rem;
    line-height: 1.8;
}

.blog-author-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e8ecee;
}

.blog-author {
    display: flex;
    align-items: center;
    gap: 10px;
}

.blog-author-avatar {
    width: 35px;
    height: 35px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #ffffff;
    background: var(--blog-black);
    font-size: 0.64rem;
    font-weight: 900;
}

.blog-author strong,
.blog-author small {
    display: block;
}

.blog-author strong {
    font-size: 0.75rem;
}

.blog-author small {
    margin-top: 3px;
    color: #7a8287;
    font-size: 0.64rem;
}

.blog-author-row time {
    color: #7a8287;
    font-size: 0.68rem;
}

.blog-read-button {
    width: fit-content;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-top: 28px;
    color: var(--blog-green-deep);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 850;
}

.blog-read-button span {
    transition: transform 0.2s ease;
}

.blog-read-button:hover span {
    transform: translateX(4px);
}


/* ============================================================
   DISCOVERY / SEARCH
   ============================================================ */

.blog-discovery {
    padding: 92px 0 35px;
    background: #ffffff;
}

.blog-discovery-top {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
}

.blog-search-form {
    width: min(100%, 470px);
    display: flex;
    gap: 8px;
}

.blog-search-form input {
    min-width: 0;
    flex: 1;
    height: 49px;
    padding: 0 16px;
    border: 1px solid #dce2e5;
    border-radius: 9px;
    outline: none;
    color: var(--blog-black);
    background: #ffffff;
    font: inherit;
    font-size: 0.78rem;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.blog-search-form input:focus {
    border-color: rgba(0, 166, 81, 0.55);
    box-shadow: 0 0 0 3px rgba(0, 200, 83, 0.08);
}

.blog-search-form button {
    height: 49px;
    padding: 0 18px;
    border: 0;
    border-radius: 9px;
    color: #ffffff;
    background: var(--blog-black);
    cursor: pointer;
    font: inherit;
    font-size: 0.76rem;
    font-weight: 800;
}

.blog-filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 35px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e8ecee;
}

.blog-filter {
    padding: 9px 14px;
    border: 1px solid #dfe4e6;
    border-radius: 999px;
    color: #5e676d;
    background: #ffffff;
    text-decoration: none;
    font-size: 0.68rem;
    font-weight: 750;
    transition:
        color 0.2s ease,
        background 0.2s ease,
        border-color 0.2s ease;
}

.blog-filter:hover {
    color: var(--blog-green-deep);
    border-color: rgba(0, 200, 83, 0.38);
}

.blog-filter-active {
    color: #ffffff;
    background: var(--blog-green-dark);
    border-color: var(--blog-green-dark);
}


/* ============================================================
   BLOG GRID
   ============================================================ */

.blog-grid-section {
    padding: 50px 0 105px;
    background: #ffffff;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.blog-card {
    overflow: hidden;
    border: 1px solid #e1e6e8;
    border-radius: 18px;
    background: #ffffff;
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.blog-card:hover {
    transform: translateY(-7px);
    border-color: rgba(0, 200, 83, 0.3);
    box-shadow: 0 22px 55px rgba(17, 17, 17, 0.1);
}

.blog-card-image {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: #eef2f0;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.045);
}

.blog-card-image > span {
    position: absolute;
    left: 14px;
    top: 14px;
    padding: 7px 9px;
    border-radius: 6px;
    color: #ffffff;
    background: rgba(17, 17, 17, 0.83);
    font-size: 0.57rem;
    font-weight: 900;
    letter-spacing: 0.08em;
}

.blog-card-content {
    padding: 23px;
}

.blog-card-meta span:first-child {
    color: var(--blog-green-deep);
}

.blog-card-content h3 {
    margin: 13px 0 11px;
    font-size: 1.12rem;
    line-height: 1.3;
    letter-spacing: -0.025em;
}

.blog-card-content > p {
    margin: 0;
    color: #70787e;
    font-size: 0.79rem;
    line-height: 1.7;
}

.blog-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-top: 23px;
    padding-top: 17px;
    border-top: 1px solid #edf0f1;
}

.blog-card-footer time {
    color: #81898e;
    font-size: 0.65rem;
}

.blog-card-footer a {
    color: var(--blog-green-deep);
    text-decoration: none;
    font-size: 0.68rem;
    font-weight: 850;
}

.blog-load-more {
    display: flex;
    justify-content: center;
    margin-top: 48px;
}


/* ============================================================
   TRENDING
   ============================================================ */

.blog-trending {
    padding: 100px 0;
    background:
        linear-gradient(145deg, #101612, #13291c);
    color: #ffffff;
}

.blog-trending-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 42px;
}

.blog-trending-header .blog-eyebrow {
    color: var(--blog-green);
}

.blog-trending-header h2 {
    color: #ffffff;
}

.blog-trending-header h2 span {
    color: var(--blog-green);
}

.blog-trending-header p {
    max-width: 400px;
    margin: 0;
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.85rem;
    line-height: 1.75;
}

.blog-trending-grid {
    display: grid;
    gap: 10px;
}

.blog-trending-item {
    display: grid;
    grid-template-columns: 55px 1fr 35px;
    align-items: center;
    gap: 15px;
    padding: 20px 22px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.035);
    text-decoration: none;
    transition:
        background 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease;
}

.blog-trending-item:hover {
    transform: translateX(5px);
    border-color: rgba(0, 200, 83, 0.35);
    background: rgba(0, 200, 83, 0.07);
}

.blog-trending-number {
    color: var(--blog-green);
    font-size: 0.72rem;
    font-weight: 900;
}

.blog-trending-item small,
.blog-trending-item strong {
    display: block;
}

.blog-trending-item small {
    margin-bottom: 5px;
    color: rgba(0, 200, 83, 0.9);
    font-size: 0.57rem;
    font-weight: 850;
    letter-spacing: 0.1em;
}

.blog-trending-item strong {
    font-size: 0.85rem;
    line-height: 1.45;
}

.blog-trending-arrow {
    color: var(--blog-green);
    font-size: 1rem;
    text-align: right;
}


/* ============================================================
   NEWSLETTER
   ============================================================ */

.blog-newsletter {
    padding: 95px 0;
    background: #f6f9f7;
}

.blog-newsletter-inner {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr);
    align-items: center;
    gap: 50px;
    padding: 52px;
    overflow: hidden;
    border: 1px solid #dfe8e2;
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 22px 60px rgba(17, 17, 17, 0.07);
}

.blog-newsletter-inner::after {
    content: "";
    position: absolute;
    right: -150px;
    top: -170px;
    width: 400px;
    height: 400px;
    border: 1px solid rgba(0, 200, 83, 0.12);
    border-radius: 50%;
    pointer-events: none;
}

.blog-newsletter-content {
    position: relative;
    z-index: 1;
}

.blog-newsletter-content h2 {
    font-size: clamp(1.9rem, 3.4vw, 3rem);
}

.blog-newsletter-content p {
    max-width: 590px;
    margin: 17px 0 0;
    color: #687177;
    font-size: 0.87rem;
    line-height: 1.75;
}

.blog-newsletter-form {
    position: relative;
    z-index: 2;
    display: flex;
    gap: 8px;
}

.blog-newsletter-form input[type="email"] {
    min-width: 0;
    flex: 1;
    height: 50px;
    padding: 0 15px;
    border: 1px solid #dce2e5;
    border-radius: 9px;
    outline: none;
    color: var(--blog-black);
    background: #ffffff;
    font: inherit;
    font-size: 0.76rem;
}

.blog-newsletter-form input[type="email"]:focus {
    border-color: rgba(0, 166, 81, 0.5);
    box-shadow: 0 0 0 3px rgba(0, 200, 83, 0.07);
}

.blog-newsletter-form button {
    height: 50px;
    padding: 0 17px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 0;
    border-radius: 9px;
    color: #ffffff;
    background: var(--blog-green-dark);
    cursor: pointer;
    font: inherit;
    font-size: 0.74rem;
    font-weight: 800;
}

.blog-newsletter-note {
    position: relative;
    z-index: 2;
    grid-column: 2;
    margin-top: -35px;
    color: #899197;
    font-size: 0.62rem;
}


/* ============================================================
   HONEYPOT
   ============================================================ */

.blog-honeypot {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
    pointer-events: none !important;
}


/* ============================================================
   FINAL CTA
   ============================================================ */

.blog-final-cta {
    padding: 90px 0;
    background: #ffffff;
}

.blog-final-cta-inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 54px 58px;
    overflow: hidden;
    border-radius: 24px;
    background:
        radial-gradient(circle at 88% 15%, rgba(0, 200, 83, 0.18), transparent 30%),
        linear-gradient(135deg, #101612, #172d20);
    box-shadow: 0 28px 70px rgba(17, 17, 17, 0.18);
}

.blog-final-cta-inner::after {
    content: "";
    position: absolute;
    right: -100px;
    bottom: -190px;
    width: 390px;
    height: 390px;
    border: 1px solid rgba(0, 200, 83, 0.15);
    border-radius: 50%;
}

.blog-final-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
}

.blog-final-content .blog-eyebrow {
    color: var(--blog-green);
}

.blog-final-content h2 {
    color: #ffffff;
}

.blog-final-content h2 span {
    color: var(--blog-green);
}

.blog-final-content p {
    max-width: 630px;
    margin: 17px 0 0;
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.88rem;
    line-height: 1.75;
}

.blog-final-cta-inner > .blog-btn {
    position: relative;
    z-index: 2;
    flex: 0 0 auto;
}


/* ============================================================
   RESPONSIVE — 1050px
   ============================================================ */

@media (max-width: 1050px) {

    .blog-hero-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .blog-hero-content {
        max-width: 820px;
    }

    .blog-hero-visual {
        min-height: auto;
    }

    .blog-hero-image {
        max-width: 760px;
    }

    .blog-category-list {
        grid-template-columns: repeat(2, 1fr);
    }

    .blog-featured-card {
        grid-template-columns: 1fr;
    }

    .blog-featured-image {
        min-height: 420px;
    }

    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* ============================================================
   RESPONSIVE — 800px
   ============================================================ */

@media (max-width: 800px) {

    .blog-container {
        width: min(100% - 30px, 680px);
    }

    .blog-hero {
        padding: 65px 0 80px;
    }

    .blog-category-section,
    .blog-featured-section,
    .blog-trending,
    .blog-newsletter {
        padding: 78px 0;
    }

    .blog-category-header,
    .blog-section-heading,
    .blog-discovery-top,
    .blog-trending-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 20px;
    }

    .blog-featured-content {
        padding: 38px;
    }

    .blog-newsletter-inner {
        grid-template-columns: 1fr;
        padding: 40px 32px;
    }

    .blog-newsletter-note {
        grid-column: auto;
        margin-top: -30px;
    }

    .blog-final-cta-inner {
        padding: 43px 32px;
        flex-direction: column;
        align-items: flex-start;
    }
}


/* ============================================================
   RESPONSIVE — 600px
   ============================================================ */

@media (max-width: 600px) {

    .blog-container {
        width: min(100% - 24px, 560px);
    }

    .blog-hero {
        padding: 50px 0 65px;
    }

    .blog-hero-content h1 {
        font-size: 2.6rem;
    }

    .blog-hero-content > p {
        font-size: 0.93rem;
    }

    .blog-hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .blog-btn {
        width: 100%;
    }

    .blog-hero-points {
        display: grid;
        gap: 10px;
    }

    .blog-hero-visual {
        padding-bottom: 35px;
    }

    .blog-hero-image {
        border-radius: 18px;
    }

    .blog-hero-badge {
        position: relative;
        inset: auto;
        width: fit-content;
    }

    .blog-hero-badge-top {
        margin: -22px 8px 0 auto;
    }

    .blog-hero-badge-bottom {
        margin: -18px auto 0 8px;
    }

    .blog-page h2 {
        font-size: 2.15rem;
    }

    .blog-category-list,
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .blog-category-item {
        min-height: 90px;
    }

    .blog-featured-image {
        min-height: 290px;
    }

    .blog-featured-content {
        padding: 28px 23px;
    }

    .blog-featured-content h3 {
        font-size: 1.65rem;
    }

    .blog-author-row {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    .blog-search-form {
        width: 100%;
    }

    .blog-filter-row {
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 13px;
        scrollbar-width: thin;
    }

    .blog-filter {
        flex: 0 0 auto;
    }

    .blog-grid-section {
        padding-top: 35px;
    }

    .blog-card-image {
        height: 225px;
    }

    .blog-trending-item {
        grid-template-columns: 38px 1fr 25px;
        padding: 17px 15px;
    }

    .blog-trending-item strong {
        font-size: 0.78rem;
    }

    .blog-newsletter-inner {
        padding: 32px 22px;
        border-radius: 18px;
    }

    .blog-newsletter-form {
        flex-direction: column;
    }

    .blog-newsletter-form input[type="email"],
    .blog-newsletter-form button {
        width: 100%;
    }

    .blog-newsletter-note {
        margin-top: -20px;
    }

    .blog-final-cta {
        padding: 65px 0;
    }

    .blog-final-cta-inner {
        padding: 34px 22px;
        border-radius: 18px;
    }

    .blog-final-content h2 {
        font-size: 2.15rem;
    }
}


/* ============================================================
   RESPONSIVE — 380px
   ============================================================ */

@media (max-width: 380px) {

    .blog-container {
        width: min(100% - 20px, 360px);
    }

    .blog-hero-content h1 {
        font-size: 2.25rem;
    }

    .blog-page h2 {
        font-size: 1.95rem;
    }

    .blog-featured-content {
        padding: 24px 18px;
    }

    .blog-card-content {
        padding: 19px;
    }

    .blog-trending-item {
        grid-template-columns: 30px 1fr 20px;
        gap: 10px;
    }

    .blog-final-content h2 {
        font-size: 1.95rem;
    }
}


/* ============================================================
   ACCESSIBILITY
   ============================================================ */

@media (prefers-reduced-motion: reduce) {

    .blog-btn,
    .blog-category-item,
    .blog-card,
    .blog-card-image img,
    .blog-trending-item {
        transition: none;
    }
}