
/* ==================================================
   START: BLOG HERO SECTION
================================================== */

.blog-hero {
    position: relative;
    isolation: isolate;
    padding: 32px 0 55px;
    background: linear-gradient(
        135deg, #080D14 0%, #101828 50%, #103F40 100%
    );
    border-bottom: 1px solid var(--color-border);
    overflow: hidden;
}

.blog-hero-container {
    position: relative;
    z-index: 1;
}


/* START: HERO DECORATIVE BACKGROUND */

.blog-hero-background {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(8, 203, 182, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(8, 203, 182, 0.04) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
    z-index: -1;
}

.blog-hero-glow {
    position: absolute;
    top: -220px;
    left: 50%;
    width: 850px;
    height: 600px;
    background: radial-gradient(
        ellipse, rgba(8, 203, 182, 0.14), transparent 70%
    );
    transform: translateX(-50%);
    pointer-events: none;
    z-index: -1;
}

/* END: HERO DECORATIVE BACKGROUND */


/* START: DECORATIVE CIRCULAR ORBITS */

.blog-hero-orbit {
    position: absolute;
    width: 380px;
    height: 380px;
    border: 1px dashed rgba(8, 203, 182, 0.18);
    border-radius: 50%;
    pointer-events: none;
    z-index: -1;
}

.blog-hero-orbit::before,
.blog-hero-orbit::after {
    content: "";
    position: absolute;
    border: 1px solid rgba(8, 203, 182, 0.10);
    border-radius: 50%;
}

.blog-hero-orbit::before {
    inset: 35px;
}

.blog-hero-orbit::after {
    inset: 70px;
}

.blog-hero-orbit-left {
    bottom: -150px;
    left: -200px;
}

.blog-hero-orbit-right {
    top: -140px;
    right: -200px;
}

/* END: DECORATIVE CIRCULAR ORBITS */


/* ==================================================
   START: BLOG BREADCRUMB
================================================== */

.blog-breadcrumb {
    margin-bottom: 36px;
}

.blog-breadcrumb ol {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.blog-breadcrumb li {
    display: flex;
    align-items: center;
    color: var(--color-text-light);
    font-size: 0.8125rem;
    line-height: 1.6;
}

.blog-breadcrumb a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--color-text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-breadcrumb a:hover {
    color: var(--brand-teal);
}

.blog-breadcrumb svg {
    flex-shrink: 0;
    width: 15px;
    height: 15px;
}

.blog-breadcrumb li[aria-current="page"] {
    color: var(--brand-teal);
    font-weight: 500;
}

/* ==================================================
   END: BLOG BREADCRUMB
================================================== */


/* ==================================================
   START: CENTER-ALIGNED BLOG HERO CONTENT
================================================== */

.blog-hero-content {
    max-width: 950px;
    margin: 0 auto;
    text-align: center;
}

.blog-hero-content h1 {
    margin: 18px 0 22px;
    color: var(--color-white);
    font-family: var(--font-heading);
    font-size: clamp(2.25rem, 5vw, 4.25rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.045em;
    overflow-wrap: break-word;
}

.blog-hero-content h1 .text-gradient {
    display: block;
    margin-top: 5px;
}

.blog-hero-description {
    max-width: 720px;
    margin: 0 auto;
    color: var(--color-text-light);
    font-size: 1.0625rem;
    line-height: 1.85;
}

/* ==================================================
   END: CENTER-ALIGNED BLOG HERO CONTENT
================================================== */


/* ==================================================
   START: BLOG HERO CTA BUTTON
================================================== */

.blog-hero-buttons {
    display: flex;
    justify-content: center;
    margin-top: 28px;
}

.blog-hero-buttons .btn {
    min-height: 54px;
    max-width: 100%;
    justify-content: center;
    text-align: center;
    white-space: normal;
}

.blog-hero-buttons .btn svg {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.blog-hero-buttons .btn:hover svg {
    transform: translateY(4px);
}

.blog-hero-buttons .btn:focus-visible {
    outline: 2px solid var(--brand-teal);
    outline-offset: 4px;
}

/* ==================================================
   END: BLOG HERO CTA BUTTON
================================================== */


/* ==================================================
   START: BLOG HERO KEY TOPICS
================================================== */

.blog-hero-topics {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 18px 36px;
    max-width: 800px;
    margin: 36px auto 0;
    padding: 24px 0 0;
    border-top: 1px solid rgba(8, 203, 182, 0.18);
    list-style: none;
}

.blog-hero-topics li {
    display: flex;
    align-items: center;
    gap: 9px;
    color: var(--color-text-light);
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.6;
}

.blog-hero-topics svg {
    flex-shrink: 0;
    width: 21px;
    height: 21px;
    color: var(--brand-teal);
    stroke-width: 1.8;
}

/* ==================================================
   END: BLOG HERO KEY TOPICS
================================================== */


/* ==================================================
   START: BLOG HERO RESPONSIVE DESIGN
================================================== */

/* TABLET */

@media (max-width: 1024px) {
    .blog-hero {
        padding: 28px 0 45px;
    }

    .blog-breadcrumb {
        margin-bottom: 30px;
    }

    .blog-hero-content h1 {
        font-size: clamp(2.25rem, 5.5vw, 3.5rem);
    }

    .blog-hero-description {
        font-size: 1rem;
    }

    .blog-hero-orbit {
        width: 300px;
        height: 300px;
    }
}


/* MOBILE */

@media (max-width: 576px) {
    .blog-hero {
        padding: 22px 0 35px;
    }

    .blog-breadcrumb {
        margin-bottom: 26px;
    }

    .blog-breadcrumb li {
        font-size: 0.75rem;
    }

    .blog-hero-content h1 {
        margin: 16px 0 18px;
        font-size: clamp(1.875rem, 7vw, 2.5rem);
        letter-spacing: -0.035em;
    }

    .blog-hero-description {
        font-size: 0.875rem;
        line-height: 1.8;
    }

    .blog-hero-buttons {
        margin-top: 24px;
    }

    .blog-hero-buttons .btn {
        width: 100%;
        max-width: 300px;
        min-height: 50px;
        font-size: 0.875rem;
    }

    .blog-hero-topics {
        gap: 14px 20px;
        margin-top: 28px;
        padding-top: 20px;
    }

    .blog-hero-topics li {
        gap: 7px;
        font-size: 0.75rem;
    }

    .blog-hero-topics svg {
        width: 17px;
        height: 17px;
    }

    .blog-hero-orbit {
        width: 240px;
        height: 240px;
    }

    .blog-hero-orbit-left {
        left: -150px;
        bottom: -100px;
    }

    .blog-hero-orbit-right {
        right: -150px;
        top: -100px;
    }

    .blog-hero-glow {
        width: 500px;
        height: 400px;
    }
}


/* REDUCED MOTION ACCESSIBILITY */

@media (prefers-reduced-motion: reduce) {
    .blog-breadcrumb a,
    .blog-hero-buttons .btn,
    .blog-hero-buttons .btn svg {
        transition: none;
    }

    .blog-hero-buttons .btn:hover,
    .blog-hero-buttons .btn:hover svg {
        transform: none;
    }
}

/* ==================================================
   END: BLOG HERO RESPONSIVE DESIGN
================================================== */


/* ==================================================
   END: BLOG HERO SECTION
================================================== */
















/* ==================================================
   START: BLOG SEARCH & CATEGORY FILTER SECTION
================================================== */

.blog-filter {
    position: relative;
    padding: 70px 0 0;
    background-color: var(--color-black);
}

.blog-filter .section-heading {
    max-width: 800px;
    margin: 0 auto 32px;
}


/* ==================================================
   START: BLOG SEARCH BOX
================================================== */

.blog-search-wrapper {
    max-width: 760px;
    margin: 0 auto 28px;
}

.blog-search-box {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 60px;
    padding: 8px 18px;

    background-color: var(--color-card);
    border: 1px solid var(--color-border);
    border-radius: 12px;

    transition:
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}


/* START: SEARCH BOX FOCUS EFFECT */

.blog-search-box:focus-within {
    border-color: var(--brand-teal);
    box-shadow: 0 0 25px rgba(8, 203, 182, 0.12);
}

/* END: SEARCH BOX FOCUS EFFECT */


/* START: ACCESSIBLE SEARCH LABEL */

.blog-search-label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* END: ACCESSIBLE SEARCH LABEL */


/* START: SEARCH ICON */

.blog-search-icon {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    color: var(--brand-teal);
    stroke-width: 1.8;
}

/* END: SEARCH ICON */


/* START: SEARCH INPUT FIELD */

.blog-search-input {
    flex: 1;
    width: 100%;
    min-width: 0;
    min-height: 42px;
    padding: 8px 0;

    color: var(--color-white);
    background: transparent;
    border: none;
    outline: none;

    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 400;
    line-height: 1.6;

    appearance: none;
    -webkit-appearance: none;
}

.blog-search-input::placeholder {
    color: var(--color-text-light);
    opacity: 0.8;
}

.blog-search-input:focus {
    outline: none;
    box-shadow: none;
}

.blog-search-input::-webkit-search-cancel-button {
    -webkit-appearance: none;
    appearance: none;
}

/* END: SEARCH INPUT FIELD */


/* START: CLEAR SEARCH BUTTON */

.blog-search-clear {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;

    width: 34px;
    height: 34px;
    padding: 0;

    color: var(--color-text-light);
    background-color: var(--color-card-hover);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    cursor: pointer;

    transition:
        color 0.3s ease,
        background-color 0.3s ease,
        border-color 0.3s ease;
}

.blog-search-clear svg {
    width: 18px;
    height: 18px;
    stroke-width: 1.8;
}

.blog-search-clear:hover {
    color: var(--brand-coral);
    background-color: rgba(255, 124, 102, 0.08);
    border-color: var(--brand-coral);
}

.blog-search-clear:focus-visible {
    outline: 2px solid var(--brand-teal);
    outline-offset: 3px;
}

.blog-search-clear[hidden] {
    display: none !important;
}

/* END: CLEAR SEARCH BUTTON */


/* ==================================================
   END: BLOG SEARCH BOX
================================================== */


/* ==================================================
   START: BLOG CATEGORY FILTER BUTTONS
================================================== */

.blog-filter-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 30px;
}

.blog-filter-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;

    min-height: 46px;
    padding: 12px 20px;

    color: var(--color-text-light);
    background-color: var(--color-card);
    border: 1px solid var(--color-border);
    border-radius: 8px;

    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.5;
    cursor: pointer;

    transition:
        color 0.3s ease,
        background-color 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease,
        transform 0.3s ease;
}

.blog-filter-btn svg {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    color: var(--brand-teal);
    stroke-width: 1.8;
    transition: color 0.3s ease;
}


/* START: CATEGORY BUTTON HOVER */

@media (hover: hover) {
    .blog-filter-btn:hover {
        color: var(--color-white);
        background-color: var(--color-card-hover);
        border-color: var(--brand-teal);
        transform: translateY(-2px);
    }
}

/* END: CATEGORY BUTTON HOVER */


/* START: ACTIVE CATEGORY BUTTON */

.blog-filter-btn.active,
.blog-filter-btn[aria-pressed="true"] {
    color: var(--brand-dark);
    background-color: var(--brand-teal);
    border-color: var(--brand-teal);
    box-shadow: 0 0 20px rgba(8, 203, 182, 0.15);
}

.blog-filter-btn.active svg,
.blog-filter-btn[aria-pressed="true"] svg {
    color: var(--brand-dark);
}

/* END: ACTIVE CATEGORY BUTTON */


/* START: KEYBOARD ACCESSIBILITY */

.blog-filter-btn:focus-visible {
    outline: 2px solid var(--brand-teal);
    outline-offset: 4px;
}

/* END: KEYBOARD ACCESSIBILITY */


/* ==================================================
   END: BLOG CATEGORY FILTER BUTTONS
================================================== */


/* ==================================================
   START: BLOG FILTER RESULT INFORMATION
================================================== */

.blog-filter-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 0;
    border-top: 1px solid var(--color-border);
}

.blog-filter-result {
    margin: 0;
    color: var(--color-text-light);
    font-size: 0.875rem;
    line-height: 1.6;
    overflow-wrap: anywhere;
}

#blog-active-category {
    color: var(--brand-teal);
    font-weight: 600;
}

#blog-post-count {
    margin-left: 5px;
    color: var(--color-text-light);
    font-size: 0.8125rem;
}


/* START: BLOG GRID INDICATOR */

.blog-filter-layout {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;

    width: 38px;
    height: 38px;

    color: var(--brand-teal);
    background-color: var(--color-card);
    border: 1px solid var(--color-border);
    border-radius: 8px;
}

.blog-filter-layout svg {
    width: 18px;
    height: 18px;
    stroke-width: 1.8;
}

/* END: BLOG GRID INDICATOR */


/* ==================================================
   END: BLOG FILTER RESULT INFORMATION
================================================== */


/* ==================================================
   START: BLOG FILTER RESPONSIVE DESIGN
================================================== */

/* TABLET */

@media (max-width: 1024px) {
    .blog-filter {
        padding-top: 55px;
    }

    .blog-search-wrapper {
        max-width: 650px;
    }

    .blog-filter-buttons {
        gap: 10px;
    }

    .blog-filter-btn {
        padding: 11px 16px;
        font-size: 0.8125rem;
    }
}


/* MOBILE */

@media (max-width: 576px) {
    .blog-filter {
        padding-top: 40px;
    }

    .blog-filter .section-heading {
        margin-bottom: 24px;
    }

    .blog-search-wrapper {
        margin-bottom: 22px;
    }

    .blog-search-box {
        min-height: 52px;
        padding: 5px 12px;
        gap: 10px;
        border-radius: 10px;
    }

    .blog-search-icon {
        width: 19px;
        height: 19px;
    }

    .blog-search-input {
        font-size: 1rem;
        min-height: 40px;
    }

    .blog-search-clear {
        width: 30px;
        height: 30px;
    }

    .blog-filter-buttons {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
        margin-bottom: 24px;
    }

    .blog-filter-btn {
        width: 100%;
        min-width: 0;
        min-height: 44px;
        padding: 10px 8px;
        gap: 7px;
        font-size: 0.75rem;
    }

    .blog-filter-btn svg {
        width: 16px;
        height: 16px;
    }

    .blog-filter-info {
        padding: 14px 0;
    }

    .blog-filter-result {
        font-size: 0.8125rem;
    }

    #blog-post-count {
        font-size: 0.75rem;
    }

    .blog-filter-layout {
        width: 34px;
        height: 34px;
    }
}


/* VERY SMALL MOBILE */

@media (max-width: 360px) {
    .blog-filter-buttons {
        gap: 8px;
    }

    .blog-filter-btn {
        flex-wrap: wrap;
        gap: 5px;
        padding: 10px 6px;
    }
}


/* REDUCED MOTION ACCESSIBILITY */

@media (prefers-reduced-motion: reduce) {
    .blog-search-box,
    .blog-search-clear,
    .blog-filter-btn,
    .blog-filter-btn svg {
        transition: none;
    }

    .blog-filter-btn:hover {
        transform: none;
    }
}

/* ==================================================
   END: BLOG FILTER RESPONSIVE DESIGN
================================================== */


/* ==================================================
   END: BLOG SEARCH & CATEGORY FILTER SECTION
================================================== */
















/* ==================================================
   START: FEATURED ARTICLE SECTION
================================================== */

.blog-featured {
    position: relative;
    padding: 8px 0 40px;
    background-color: var(--color-black);
}


/* START: FEATURED ARTICLE CARD */

.blog-featured-card {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    align-items: stretch;

    background: linear-gradient(145deg, #151F2E, #101828);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;

    transition:
        border-color 0.35s ease,
        box-shadow 0.35s ease;
}

/* END: FEATURED ARTICLE CARD */


/* ==================================================
   START: FEATURED ARTICLE IMAGE
================================================== */

.blog-featured-image {
    position: relative;
    min-height: 360px;
    background-color: #192737;
    overflow: hidden;
}

.blog-featured-image img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;

    transition: transform 0.6s ease;
}


/* START: IMAGE GRADIENT OVERLAY */

.blog-featured-overlay {
    position: absolute;
    inset: 0;

    background: linear-gradient(
        180deg,
        rgba(8, 13, 20, 0.15),
        transparent 40%,
        rgba(8, 13, 20, 0.35)
    );

    pointer-events: none;
    transition: opacity 0.35s ease;
}

/* END: IMAGE GRADIENT OVERLAY */


/* START: FEATURED ARTICLE BADGE */

.blog-featured-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 2;

    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 14px;

    color: var(--brand-dark);
    background-color: var(--brand-teal);
    border-radius: 7px;

    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1.5;
}

.blog-featured-badge svg {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    stroke-width: 2;
}

/* END: FEATURED ARTICLE BADGE */


/* ==================================================
   END: FEATURED ARTICLE IMAGE
================================================== */


/* ==================================================
   START: FEATURED ARTICLE CONTENT
================================================== */

.blog-featured-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    padding: 36px 40px;
}


/* START: ARTICLE CATEGORY */

.blog-featured-category {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    gap: 8px;

    margin-bottom: 16px;
    padding: 7px 12px;

    color: var(--brand-teal);
    background-color: rgba(8, 203, 182, 0.06);
    border: 1px solid rgba(8, 203, 182, 0.20);
    border-radius: 6px;

    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1.5;
}

.blog-featured-category svg {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    stroke-width: 1.8;
}

/* END: ARTICLE CATEGORY */


/* START: ARTICLE TITLE */

.blog-featured-title {
    margin-bottom: 18px;

    color: var(--color-white);
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 2.5vw, 2.25rem);
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: -0.025em;
    overflow-wrap: break-word;

    transition: color 0.35s ease;
}

/* END: ARTICLE TITLE */


/* START: ARTICLE DESCRIPTION */

.blog-featured-description {
    margin-bottom: 12px;

    color: var(--color-text-light);
    font-size: 0.9375rem;
    line-height: 1.85;
}

/* END: ARTICLE DESCRIPTION */


/* ==================================================
   START: ARTICLE META INFORMATION
================================================== */

.blog-featured-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px 24px;

    margin: 10px 0 24px;
    padding-top: 18px;

    border-top: 1px solid var(--color-border);
}

.blog-featured-meta span {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    color: var(--color-text-light);
    font-size: 0.8125rem;
    font-weight: 500;
    line-height: 1.6;
}

.blog-featured-meta svg {
    flex-shrink: 0;
    width: 17px;
    height: 17px;
    color: var(--brand-teal);
    stroke-width: 1.8;
}

/* ==================================================
   END: ARTICLE META INFORMATION
================================================== */


/* ==================================================
   START: READ ARTICLE BUTTON
================================================== */

.blog-featured-action {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.blog-featured-action .btn {
    min-height: 48px;
    max-width: 100%;
    justify-content: center;
    white-space: normal;
    text-align: center;
}

.blog-featured-action .btn svg {
    flex-shrink: 0;
    width: 19px;
    height: 19px;
    transition: transform 0.3s ease;
}

.blog-featured-action .btn:hover svg {
    transform: translate(3px, -3px);
}

.blog-featured-action .btn:focus-visible {
    outline: 2px solid var(--brand-teal);
    outline-offset: 4px;
}

/* ==================================================
   END: READ ARTICLE BUTTON
================================================== */


/* ==================================================
   END: FEATURED ARTICLE CONTENT
================================================== */


/* ==================================================
   START: FEATURED ARTICLE HOVER EFFECT
================================================== */

@media (hover: hover) {

    .blog-featured-card:hover {
        border-color: rgba(8, 203, 182, 0.65);
        box-shadow:
            0 16px 40px rgba(0, 0, 0, 0.25),
            0 0 30px rgba(8, 203, 182, 0.08);
    }

    .blog-featured-card:hover .blog-featured-image img {
        transform: scale(1.05);
    }

    .blog-featured-card:hover .blog-featured-overlay {
        opacity: 0.65;
    }

    .blog-featured-card:hover .blog-featured-title {
        color: var(--brand-teal);
    }
}

/* ==================================================
   END: FEATURED ARTICLE HOVER EFFECT
================================================== */


/* START: JAVASCRIPT FILTER VISIBILITY */

.blog-featured[hidden],
.blog-featured-card[hidden] {
    display: none !important;
}

/* END: JAVASCRIPT FILTER VISIBILITY */


/* ==================================================
   START: FEATURED ARTICLE RESPONSIVE DESIGN
================================================== */

/* LAPTOP */

@media (max-width: 1200px) {
    .blog-featured-content {
        padding: 30px;
    }

    .blog-featured-title {
        font-size: 1.875rem;
    }
}


/* TABLET */

@media (max-width: 1024px) {
    .blog-featured-card {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .blog-featured-content {
        padding: 26px;
    }

    .blog-featured-title {
        font-size: 1.625rem;
    }

    .blog-featured-description {
        font-size: 0.875rem;
    }
}


/* SMALL TABLET */

@media (max-width: 768px) {
    .blog-featured-card {
        grid-template-columns: minmax(0, 1fr);
    }

    .blog-featured-image {
        min-height: 0;
        aspect-ratio: 16 / 9;
    }

    .blog-featured-content {
        padding: 28px;
    }
}


/* MOBILE */

@media (max-width: 576px) {
    .blog-featured {
        padding-bottom: 28px;
    }

    .blog-featured-card {
        border-radius: 16px;
    }

    .blog-featured-image {
        aspect-ratio: 16 / 10;
    }

    .blog-featured-badge {
        top: 12px;
        left: 12px;
        padding: 7px 10px;
        font-size: 0.6875rem;
    }

    .blog-featured-badge svg {
        width: 14px;
        height: 14px;
    }

    .blog-featured-content {
        padding: 22px 18px;
    }

    .blog-featured-category {
        margin-bottom: 12px;
        font-size: 0.6875rem;
    }

    .blog-featured-title {
        margin-bottom: 14px;
        font-size: 1.5rem;
        line-height: 1.35;
    }

    .blog-featured-description {
        font-size: 0.875rem;
        line-height: 1.75;
    }

    .blog-featured-meta {
        gap: 10px 16px;
        margin-bottom: 20px;
        padding-top: 16px;
    }

    .blog-featured-meta span {
        font-size: 0.75rem;
    }

    .blog-featured-action .btn {
        width: 100%;
        min-height: 46px;
        font-size: 0.875rem;
    }
}


/* REDUCED MOTION ACCESSIBILITY */

@media (prefers-reduced-motion: reduce) {

    .blog-featured-card,
    .blog-featured-image img,
    .blog-featured-overlay,
    .blog-featured-title,
    .blog-featured-action .btn,
    .blog-featured-action .btn svg {
        transition: none;
    }

    .blog-featured-card:hover .blog-featured-image img,
    .blog-featured-action .btn:hover,
    .blog-featured-action .btn:hover svg {
        transform: none;
    }
}

/* ==================================================
   END: FEATURED ARTICLE RESPONSIVE DESIGN
================================================== */


/* ==================================================
   END: FEATURED ARTICLE SECTION
================================================== */
















/* ==================================================
   START: BLOG POSTS GRID SECTION
================================================== */

.blog-posts {
    position: relative;
    padding: 10px 0 80px;
    background-color: var(--color-black);
}


/* START: BLOG POSTS HEADING */

.blog-posts-heading {
    margin-bottom: 30px;
}

.blog-posts-heading h2 {
    margin-top: 12px;
    color: var(--color-white);
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 800;
    line-height: 1.3;
}

/* END: BLOG POSTS HEADING */


/* START: BLOG POSTS GRID */

.blog-posts-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    gap: 24px;
}

/* END: BLOG POSTS GRID */


/* ==================================================
   START: PREMIUM BLOG ARTICLE CARD
================================================== */

.blog-post-card {
    --post-accent: var(--brand-teal);
    --post-tint: rgba(8, 203, 182, 0.08);
    --post-border: rgba(8, 203, 182, 0.25);
    --post-glow: rgba(8, 203, 182, 0.12);

    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    background: linear-gradient(145deg, #151F2E, #101828);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;

    transition:
        transform 0.35s ease,
        border-color 0.35s ease,
        box-shadow 0.35s ease;
}


/* START: CORAL COLOR VARIATION */

.blog-post-card.blog-post-coral {
    --post-accent: var(--brand-coral);
    --post-tint: rgba(255, 124, 102, 0.08);
    --post-border: rgba(255, 124, 102, 0.25);
    --post-glow: rgba(255, 124, 102, 0.12);
}

/* END: CORAL COLOR VARIATION */


/* START: ANIMATED BOTTOM BORDER */

.blog-post-card::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 10%;
    width: 80%;
    height: 2px;
    background: linear-gradient(
        90deg, transparent, var(--post-accent), transparent
    );
    opacity: 0;
    transform: scaleX(0);
    pointer-events: none;

    transition:
        opacity 0.35s ease,
        transform 0.35s ease;
}

/* END: ANIMATED BOTTOM BORDER */


/* ==================================================
   START: BLOG ARTICLE IMAGE
================================================== */

.blog-post-image {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    background-color: #192737;
    border-bottom: 1px solid var(--color-border);
    overflow: hidden;
}

.blog-post-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.6s ease;
}


/* START: IMAGE GRADIENT OVERLAY */

.blog-post-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg, transparent 40%, rgba(8, 13, 20, 0.45) 100%
    );
    pointer-events: none;
    transition: opacity 0.35s ease;
}

/* END: IMAGE GRADIENT OVERLAY */


/* START: BLOG CATEGORY LABEL */

.blog-post-category {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 2;

    padding: 7px 12px;
    color: var(--brand-dark);
    background-color: var(--post-accent);
    border-radius: 6px;

    font-size: 0.6875rem;
    font-weight: 700;
    line-height: 1.5;
}

/* END: BLOG CATEGORY LABEL */


/* ==================================================
   END: BLOG ARTICLE IMAGE
================================================== */


/* ==================================================
   START: BLOG ARTICLE CONTENT
================================================== */

.blog-post-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
    padding: 24px;
}


/* START: ARTICLE TITLE */

.blog-post-title {
    margin-bottom: 14px;
    color: var(--color-white);
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 800;
    line-height: 1.45;
    letter-spacing: -0.015em;
    overflow-wrap: anywhere;
    transition: color 0.35s ease;
}

/* END: ARTICLE TITLE */


/* START: ARTICLE DESCRIPTION */

.blog-post-description {
    flex: 1;
    margin-bottom: 20px;
    color: var(--color-text-light);
    font-size: 0.875rem;
    line-height: 1.8;
}

/* END: ARTICLE DESCRIPTION */


/* START: BLOG ARTICLE META INFORMATION */

.blog-post-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 16px;
    margin-bottom: 18px;
}

.blog-post-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--color-text-light);
    font-size: 0.6875rem;
    font-weight: 500;
    line-height: 1.6;
}

.blog-post-meta svg {
    flex-shrink: 0;
    width: 15px;
    height: 15px;
    color: var(--post-accent);
    stroke-width: 1.8;
}

/* END: BLOG ARTICLE META INFORMATION */


/* ==================================================
   START: READ ARTICLE LINK
================================================== */

.blog-post-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
    padding-top: 17px;
    border-top: 1px solid var(--color-border);

    color: var(--post-accent);
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;

    transition: color 0.3s ease;
}

.blog-post-link svg {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    stroke-width: 1.8;
    transition: transform 0.3s ease;
}

.blog-post-link:hover {
    color: var(--color-white);
}

.blog-post-link:hover svg {
    transform: translate(3px, -3px);
}

.blog-post-link:focus-visible {
    outline: 2px solid var(--post-accent);
    outline-offset: 4px;
    border-radius: 4px;
}

/* ==================================================
   END: READ ARTICLE LINK
================================================== */


/* ==================================================
   END: BLOG ARTICLE CONTENT
================================================== */


/* ==================================================
   START: PREMIUM BLOG CARD HOVER EFFECT
================================================== */

@media (hover: hover) {

    .blog-post-card:hover {
        transform: translateY(-6px);
        border-color: var(--post-accent);
        box-shadow:
            0 16px 35px rgba(0, 0, 0, 0.30),
            0 0 25px var(--post-glow);
    }

    .blog-post-card:hover::after {
        opacity: 1;
        transform: scaleX(1);
    }

    .blog-post-card:hover .blog-post-image img {
        transform: scale(1.06);
    }

    .blog-post-card:hover .blog-post-overlay {
        opacity: 0.65;
    }

    .blog-post-card:hover .blog-post-title {
        color: var(--post-accent);
    }
}

/* ==================================================
   END: PREMIUM BLOG CARD HOVER EFFECT
================================================== */


/* ==================================================
   END: PREMIUM BLOG ARTICLE CARD
================================================== */


/* ==================================================
   START: EMPTY SEARCH RESULT DESIGN
================================================== */

.blog-empty-state {
    max-width: 640px;
    margin: 20px auto 0;
    padding: 45px 24px;
    background-color: var(--color-card);
    border: 1px dashed var(--color-border);
    border-radius: var(--radius-lg);
    text-align: center;
}

.blog-empty-state > svg {
    display: block;
    width: 52px;
    height: 52px;
    margin: 0 auto 20px;
    color: var(--brand-teal);
    stroke-width: 1.5;
}

.blog-empty-state h3 {
    margin-bottom: 12px;
    color: var(--color-white);
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
}

.blog-empty-state p {
    margin-bottom: 24px;
    color: var(--color-text-light);
    font-size: 0.875rem;
    line-height: 1.8;
}

.blog-empty-state .btn {
    max-width: 100%;
    justify-content: center;
    white-space: normal;
}

/* ==================================================
   END: EMPTY SEARCH RESULT DESIGN
================================================== */


/* START: JAVASCRIPT FILTER VISIBILITY */

.blog-filter-item[hidden],
.blog-posts-heading[hidden],
.blog-posts-grid[hidden],
.blog-posts[hidden],
.blog-empty-state[hidden] {
    display: none !important;
}

/* END: JAVASCRIPT FILTER VISIBILITY */


/* ==================================================
   START: BLOG POSTS RESPONSIVE DESIGN
================================================== */

/* LAPTOP */

@media (max-width: 1200px) {

    .blog-posts-grid {
        gap: 20px;
    }

    .blog-post-content {
        padding: 22px 18px;
    }

    .blog-post-title {
        font-size: 1.125rem;
    }
}


/* TABLET */

@media (max-width: 1024px) {

    .blog-posts {
        padding-bottom: 60px;
    }

    .blog-posts-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 22px;
    }

    .blog-post-content {
        padding: 24px;
    }

    .blog-post-title {
        font-size: 1.25rem;
    }
}


/* MOBILE */

@media (max-width: 576px) {

    .blog-posts {
        padding-bottom: 45px;
    }

    .blog-posts-heading {
        margin-bottom: 22px;
    }

    .blog-posts-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
    }

    .blog-post-card {
        border-radius: 16px;
    }

    .blog-post-content {
        padding: 20px 18px;
    }

    .blog-post-title {
        margin-bottom: 12px;
        font-size: 1.1875rem;
    }

    .blog-post-description {
        margin-bottom: 16px;
        font-size: 0.875rem;
        line-height: 1.75;
    }

    .blog-post-category {
        top: 12px;
        left: 12px;
        padding: 6px 10px;
        font-size: 0.625rem;
    }

    .blog-post-meta {
        margin-bottom: 16px;
    }

    .blog-post-link {
        padding-top: 15px;
        font-size: 0.8125rem;
    }

    .blog-empty-state {
        padding: 32px 20px;
    }

    .blog-empty-state h3 {
        font-size: 1.25rem;
    }
}


/* REDUCED MOTION ACCESSIBILITY */

@media (prefers-reduced-motion: reduce) {

    .blog-post-card,
    .blog-post-card::after,
    .blog-post-image img,
    .blog-post-overlay,
    .blog-post-title,
    .blog-post-link,
    .blog-post-link svg {
        transition: none;
    }

    .blog-post-card:hover,
    .blog-post-card:hover .blog-post-image img,
    .blog-post-link:hover svg {
        transform: none;
    }
}

/* ==================================================
   END: BLOG POSTS RESPONSIVE DESIGN
================================================== */


/* ==================================================
   END: BLOG POSTS GRID SECTION
================================================== */















/* ==================================================
   START: BLOG FINAL CTA SECTION
================================================== */

.section.blog-cta {
    position: relative;
    padding: 0 0 80px;
    background-color: var(--color-black);
}

/* START: CTA WRAPPER */

.blog-cta-wrapper {
    position: relative;
    isolation: isolate;
    padding: 50px 40px;
    background: linear-gradient(
        135deg, #101828 0%, #102B32 55%, #075E59 100%
    );
    border: 1px solid rgba(8, 203, 182, 0.25);
    border-radius: var(--radius-xl);
    overflow: hidden;
}

/* END: CTA WRAPPER */


/* START: DECORATIVE BACKGROUND */

.blog-cta-background {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(8, 203, 182, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(8, 203, 182, 0.045) 1px, transparent 1px);
    background-size: 35px 35px;
    pointer-events: none;
    z-index: -1;
}

.blog-cta-glow {
    position: absolute;
    top: -220px;
    left: 50%;
    width: 800px;
    height: 500px;
    background: radial-gradient(
        ellipse, rgba(8, 203, 182, 0.18), transparent 70%
    );
    transform: translateX(-50%);
    pointer-events: none;
    z-index: -1;
}

/* END: DECORATIVE BACKGROUND */


/* START: DECORATIVE CIRCULAR ORBITS */

.blog-cta-orbit {
    position: absolute;
    width: 360px;
    height: 360px;
    border: 1px dashed rgba(8, 203, 182, 0.20);
    border-radius: 50%;
    pointer-events: none;
    z-index: -1;
}

.blog-cta-orbit::before,
.blog-cta-orbit::after {
    content: "";
    position: absolute;
    border: 1px solid rgba(8, 203, 182, 0.12);
    border-radius: 50%;
}

.blog-cta-orbit::before {
    inset: 30px;
}

.blog-cta-orbit::after {
    inset: 65px;
}

.blog-cta-orbit-left {
    left: -180px;
    bottom: -150px;
}

.blog-cta-orbit-right {
    right: -180px;
    top: -150px;
}

/* END: DECORATIVE CIRCULAR ORBITS */


/* ==================================================
   START: BLOG CTA CONTENT
================================================== */

.blog-cta-content {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

/* START: CTA LIGHTBULB ICON */

.blog-cta-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    margin: 0 auto 22px;
    color: var(--brand-teal);
    background-color: rgba(8, 203, 182, 0.10);
    border: 1px solid rgba(8, 203, 182, 0.30);
    border-radius: 20px;
    box-shadow: 0 0 30px rgba(8, 203, 182, 0.12);
    animation: blogCtaFloat 2s ease-in-out 2;
}

.blog-cta-icon svg {
    width: 34px;
    height: 34px;
    stroke-width: 1.7;
}

@keyframes blogCtaFloat {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-6px);
    }
}

/* END: CTA LIGHTBULB ICON */


/* START: CTA HEADING & DESCRIPTION */

.blog-cta-content h2 {
    margin: 16px 0 20px;
    color: var(--color-white);
    font-family: var(--font-heading);
    font-size: clamp(1.875rem, 4vw, 3.25rem);
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -0.035em;
    overflow-wrap: break-word;
}

.blog-cta-content h2 .text-gradient {
    display: block;
    margin-top: 5px;
}

.blog-cta-description {
    max-width: 680px;
    margin: 0 auto;
    color: var(--color-text-light);
    font-size: 1rem;
    line-height: 1.85;
}

/* END: CTA HEADING & DESCRIPTION */


/* ==================================================
   START: BLOG CTA BUTTONS
================================================== */

.blog-cta-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 28px;
}

.blog-cta-buttons .btn {
    min-height: 52px;
    max-width: 100%;
    justify-content: center;
    text-align: center;
    white-space: normal;
}

.blog-cta-buttons .btn svg {
    flex-shrink: 0;
    width: 19px;
    height: 19px;
    transition: transform 0.3s ease;
}

.blog-cta-buttons .btn:hover svg {
    transform: translate(3px, -3px);
}

.blog-cta-buttons .btn:focus-visible {
    outline: 2px solid var(--brand-teal);
    outline-offset: 4px;
}

/* ==================================================
   END: BLOG CTA BUTTONS
================================================== */


/* ==================================================
   START: BLOG CTA KEY BENEFITS
================================================== */

.blog-cta-benefits {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px 30px;
    max-width: 760px;
    margin: 30px auto 0;
    padding: 24px 0 0;
    border-top: 1px solid rgba(8, 203, 182, 0.20);
    list-style: none;
}

.blog-cta-benefits li {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--color-text);
    font-size: 0.8125rem;
    font-weight: 500;
    line-height: 1.6;
}

.blog-cta-benefits svg {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    color: var(--brand-teal);
    stroke-width: 1.8;
}

/* ==================================================
   END: BLOG CTA KEY BENEFITS
================================================== */


/* ==================================================
   END: BLOG CTA CONTENT
================================================== */


/* ==================================================
   START: BLOG CTA RESPONSIVE DESIGN
================================================== */

/* TABLET */

@media (max-width: 1024px) {

    .section.blog-cta {
        padding-bottom: 60px;
    }

    .blog-cta-wrapper {
        padding: 42px 30px;
    }

    .blog-cta-content h2 {
        font-size: clamp(1.875rem, 4vw, 2.75rem);
    }

    .blog-cta-orbit {
        width: 280px;
        height: 280px;
    }
}


/* MOBILE */

@media (max-width: 576px) {

    .section.blog-cta {
        padding-bottom: 45px;
    }

    .blog-cta-wrapper {
        padding: 32px 20px;
        border-radius: 18px;
    }

    .blog-cta-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 18px;
        border-radius: 16px;
    }

    .blog-cta-icon svg {
        width: 28px;
        height: 28px;
    }

    .blog-cta-content h2 {
        margin: 14px 0 16px;
        font-size: clamp(1.625rem, 6vw, 2rem);
        line-height: 1.35;
    }

    .blog-cta-description {
        font-size: 0.875rem;
        line-height: 1.8;
    }

    .blog-cta-buttons {
        flex-direction: column;
        gap: 12px;
        margin-top: 24px;
    }

    .blog-cta-buttons .btn {
        width: 100%;
        max-width: 320px;
        min-height: 48px;
        font-size: 0.875rem;
    }

    .blog-cta-benefits {
        gap: 12px 18px;
        margin-top: 24px;
        padding-top: 20px;
    }

    .blog-cta-benefits li {
        font-size: 0.75rem;
    }

    .blog-cta-benefits svg {
        width: 16px;
        height: 16px;
    }

    .blog-cta-orbit {
        width: 220px;
        height: 220px;
    }

    .blog-cta-orbit-left {
        left: -140px;
        bottom: -100px;
    }

    .blog-cta-orbit-right {
        right: -140px;
        top: -100px;
    }

    .blog-cta-glow {
        width: 450px;
        height: 400px;
    }
}


/* VERY SMALL MOBILE */

@media (max-width: 360px) {

    .blog-cta-wrapper {
        padding: 28px 16px;
    }

    .blog-cta-benefits {
        flex-direction: column;
        align-items: center;
    }
}


/* REDUCED MOTION ACCESSIBILITY */

@media (prefers-reduced-motion: reduce) {

    .blog-cta-icon {
        animation: none;
    }

    .blog-cta-buttons .btn,
    .blog-cta-buttons .btn svg {
        transition: none;
    }

    .blog-cta-buttons .btn:hover,
    .blog-cta-buttons .btn:hover svg {
        transform: none;
    }
}

/* ==================================================
   END: BLOG CTA RESPONSIVE DESIGN
================================================== */


/* ==================================================
   END: BLOG FINAL CTA SECTION
================================================== */







