/* =========================================================
   BLOG VIEW PAGE
========================================================= */

.blog-view-page {
    background:
        radial-gradient(circle at 10% 20%,
            rgba(39, 199, 230, 0.10),
            transparent 35%),
        radial-gradient(circle at 90% 70%,
            rgba(115, 215, 245, 0.12),
            transparent 35%),
        var(--sky-pale);

    min-height: 100vh;
}


/* =========================================================
   HERO
========================================================= */

.blog-view-hero {
    position: relative;
    min-height: 560px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    isolation: isolate;
}

.blog-view-hero-image {
    position: absolute;
    inset: 0;
    z-index: -3;
}

.blog-view-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transform: scale(1.02);
}

.blog-view-overlay {
    position: absolute;
    inset: 0;
    z-index: -2;

    background:
        linear-gradient(to top,
            rgba(3, 35, 58, 0.94) 0%,
            rgba(3, 35, 58, 0.70) 35%,
            rgba(3, 35, 58, 0.20) 75%,
            rgba(3, 35, 58, 0.10) 100%);
}

.blog-view-hero-content {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    padding: 100px 0 65px;
    color: var(--white);
}


/* =========================================================
   BREADCRUMB
========================================================= */

.blog-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;

    margin-bottom: 24px;

    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.blog-breadcrumb a {
    color: rgba(255, 255, 255, 0.88);
    text-decoration: none;

    transition:
        color 0.3s ease,
        opacity 0.3s ease;
}

.blog-breadcrumb a:hover {
    color: var(--turquoise);
}

.blog-breadcrumb span {
    color: rgba(255, 255, 255, 0.55);
}


/* =========================================================
   CATEGORY
========================================================= */

.blog-view-category {
    display: inline-flex;
    align-items: center;

    padding: 8px 15px;

    margin-bottom: 18px;

    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 50px;

    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    color: var(--white);

    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}


/* =========================================================
   TITLE
========================================================= */

.blog-view-hero h1 {
    max-width: 950px;

    margin: 0 0 20px;

    color: var(--white);

    font-family: var(--heading-font);
    font-size: clamp(38px, 5vw, 70px);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -1px;

    text-shadow:
        0 5px 25px rgba(0, 0, 0, 0.25);
}


/* =========================================================
   EXCERPT
========================================================= */

.blog-view-excerpt {
    max-width: 820px;

    margin: 0 0 28px;

    color: rgba(255, 255, 255, 0.88);

    font-size: 17px;
    line-height: 1.75;
}


/* =========================================================
   META
========================================================= */

.blog-view-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 22px;
}

.blog-view-meta span {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    color: rgba(255, 255, 255, 0.88);

    font-size: 13px;
    font-weight: 600;
}

.blog-view-meta i {
    color: var(--turquoise);
    font-size: 14px;
}


/* =========================================================
   CONTENT SECTION
========================================================= */

.blog-view-content-section {
    padding: 90px 0;
}

.blog-view-container {
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto;
}


/* =========================================================
   BLOG CONTENT CARD
========================================================= */

.blog-content-card {
    position: relative;

    padding: 55px 65px;

    border: 1px solid var(--glass-border-light);
    border-radius: 28px;

    background: rgba(255, 255, 255, 0.68);

    box-shadow:
        0 25px 70px rgba(6, 59, 102, 0.10),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}


/* =========================================================
   ARTICLE TYPOGRAPHY
========================================================= */

.blog-content {
    color: var(--text);

    font-size: 17px;
    line-height: 1.9;
}

.blog-content>*:first-child {
    margin-top: 0;
}

.blog-content>*:last-child {
    margin-bottom: 0;
}


/* HEADINGS */

.blog-content h1,
.blog-content h2,
.blog-content h3,
.blog-content h4 {
    color: var(--ocean-deep);

    font-family: var(--heading-font);

    line-height: 1.25;
}

.blog-content h2 {
    margin: 35px 0 18px;

    font-size: 32px;
}

.blog-content h3 {
    margin: 30px 0 15px;

    font-size: 26px;
}

.blog-content h4 {
    margin: 25px 0 12px;

    font-size: 21px;
}


/* PARAGRAPHS */

.blog-content p {
    margin: 0 0 22px;

    color: #456579;
}


/* LINKS */

.blog-content a {
    color: var(--ocean);
    font-weight: 700;
    text-decoration: none;

    border-bottom: 1px solid rgba(7, 132, 198, 0.3);

    transition: all 0.3s ease;
}

.blog-content a:hover {
    color: var(--ocean-deep);
    border-color: var(--ocean);
}


/* STRONG */

.blog-content strong {
    color: var(--ocean-deep);
    font-weight: 700;
}


/* LISTS */

.blog-content ul,
.blog-content ol {
    margin: 0 0 25px;
    padding-left: 25px;
}

.blog-content li {
    margin-bottom: 10px;
    padding-left: 5px;
    color: #456579;
}

.blog-content li::marker {
    color: var(--ocean);
    font-weight: 700;
}


/* BLOCKQUOTE */

.blog-content blockquote {
    position: relative;

    margin: 35px 0;
    padding: 25px 30px 25px 35px;

    border-left: 4px solid var(--aqua);
    border-radius: 0 18px 18px 0;

    background:
        linear-gradient(135deg,
            rgba(39, 199, 230, 0.10),
            rgba(115, 215, 245, 0.05));

    color: var(--ocean-dark);

    font-family: var(--heading-font);
    font-size: 20px;
    font-style: italic;
    line-height: 1.7;
}

.blog-content blockquote p {
    margin: 0;
    color: var(--ocean-dark);
}


/* IMAGES */

.blog-content img {
    display: block;

    max-width: 100%;
    height: auto;

    margin: 30px auto;

    border-radius: 18px;

    box-shadow:
        0 18px 45px rgba(6, 59, 102, 0.15);
}


/* TABLE */

.blog-content table {
    width: 100%;

    margin: 30px 0;

    border-collapse: collapse;

    overflow: hidden;

    border-radius: 12px;
}

.blog-content th,
.blog-content td {
    padding: 13px 15px;

    border: 1px solid rgba(6, 59, 102, 0.10);

    text-align: left;
}

.blog-content th {
    background: var(--ocean-deep);
    color: var(--white);
}

.blog-content td {
    background: rgba(255, 255, 255, 0.65);
}


/* HORIZONTAL LINE */

.blog-content hr {
    height: 1px;

    margin: 40px 0;

    border: 0;

    background:
        linear-gradient(90deg,
            transparent,
            rgba(7, 132, 198, 0.25),
            transparent);
}


/* =========================================================
   SHARE
========================================================= */

.blog-share {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    margin-top: 50px;
    padding-top: 28px;

    border-top: 1px solid rgba(6, 59, 102, 0.10);
}

.blog-share>span {
    color: var(--ocean-deep);

    font-size: 14px;
    font-weight: 700;
}


.blog-share-buttons {
    display: flex;
    align-items: center;
    gap: 10px;
}


.blog-share-buttons a {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 42px;
    height: 42px;

    border: 1px solid rgba(7, 132, 198, 0.15);
    border-radius: 50%;

    background: rgba(255, 255, 255, 0.7);

    color: var(--ocean-dark);

    text-decoration: none;

    transition:
        transform 0.3s ease,
        background 0.3s ease,
        color 0.3s ease,
        box-shadow 0.3s ease;
}

.blog-share-buttons a:hover {
    transform: translateY(-4px);

    background: var(--ocean);

    color: var(--white);

    box-shadow:
        0 10px 25px rgba(7, 132, 198, 0.25);
}


/* =========================================================
   RELATED BLOGS
========================================================= */

.related-blogs {
    padding: 10px 0 100px;
}

.related-blogs-heading {
    margin-bottom: 35px;
}

.blog-section-label {
    display: block;

    margin-bottom: 8px;

    color: var(--ocean);

    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.related-blogs-heading h2 {
    margin: 0;

    color: var(--ocean-deep);

    font-family: var(--heading-font);

    font-size: clamp(30px, 4vw, 44px);
    line-height: 1.2;
}

.related-blogs-heading h2 span {
    color: var(--ocean);
}


/* =========================================================
   RELATED GRID
========================================================= */

.related-blog-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 25px;
}


/* =========================================================
   RELATED CARD
========================================================= */

.related-blog-card {
    overflow: hidden;

    border: 1px solid var(--glass-border-light);
    border-radius: 22px;

    background: rgba(255, 255, 255, 0.65);

    box-shadow:
        0 15px 45px rgba(6, 59, 102, 0.08);

    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease;
}

.related-blog-card:hover {
    transform: translateY(-8px);

    box-shadow:
        0 25px 55px rgba(6, 59, 102, 0.14);
}


/* IMAGE */

.related-blog-image {
    position: relative;

    height: 220px;

    overflow: hidden;
}

.related-blog-image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition:
        transform 0.6s ease;
}

.related-blog-card:hover .related-blog-image img {
    transform: scale(1.07);
}


/* BODY */

.related-blog-body {
    padding: 25px;
}


/* CATEGORY */

.related-blog-category {
    display: inline-flex;

    margin-bottom: 10px;

    color: var(--ocean);

    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
}


/* TITLE */

.related-blog-body h3 {
    margin: 0 0 12px;

    color: var(--ocean-deep);

    font-family: var(--heading-font);

    font-size: 23px;
    line-height: 1.3;
}

.related-blog-body p {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;

    overflow: hidden;

    margin: 0 0 20px;

    color: var(--text-light);

    font-size: 14px;
    line-height: 1.7;
}


/* BOTTOM */

.related-blog-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 15px;

    padding-top: 15px;

    border-top: 1px solid rgba(6, 59, 102, 0.08);
}

.related-blog-bottom>span {
    display: inline-flex;
    align-items: center;
    gap: 6px;

    color: var(--text-light);

    font-size: 12px;
}

.related-blog-bottom>span i {
    color: var(--ocean);
}


.related-blog-bottom a {
    display: inline-flex;
    align-items: center;
    gap: 7px;

    color: var(--ocean);

    font-size: 13px;
    font-weight: 800;

    text-decoration: none;

    transition:
        color 0.3s ease,
        gap 0.3s ease;
}

.related-blog-bottom a:hover {
    color: var(--ocean-deep);
    gap: 11px;
}


/* =========================================================
   NOT FOUND
========================================================= */

.blog-not-found {
    min-height: 70vh;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 80px 20px;

    background:
        radial-gradient(circle at 20% 20%,
            rgba(39, 199, 230, 0.12),
            transparent 35%),
        var(--sky-pale);
}

.blog-not-found-content {
    width: min(550px, 100%);

    padding: 55px 35px;

    text-align: center;

    border: 1px solid var(--glass-border-light);
    border-radius: 28px;

    background: rgba(255, 255, 255, 0.65);

    box-shadow:
        0 25px 60px rgba(6, 59, 102, 0.10);

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.not-found-icon {
    width: 75px;
    height: 75px;

    margin: 0 auto 25px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background:
        linear-gradient(135deg,
            var(--ocean),
            var(--aqua));

    color: var(--white);

    font-size: 28px;

    box-shadow:
        0 15px 35px rgba(7, 132, 198, 0.22);
}

.blog-not-found-content h1 {
    margin: 0 0 12px;

    color: var(--ocean-deep);

    font-family: var(--heading-font);
    font-size: 36px;
}

.blog-not-found-content p {
    margin: 0 0 25px;

    color: var(--text-light);

    line-height: 1.7;
}

.blog-not-found-content>a {
    display: inline-flex;
    align-items: center;

    padding: 12px 22px;

    border-radius: 50px;

    background: var(--ocean);

    color: var(--white);

    font-size: 14px;
    font-weight: 700;

    text-decoration: none;

    transition:
        transform 0.3s ease,
        background 0.3s ease;
}

.blog-not-found-content>a:hover {
    transform: translateY(-3px);
    background: var(--ocean-deep);
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

    .blog-view-hero {
        min-height: 500px;
    }

    .blog-view-hero-content {
        padding-bottom: 50px;
    }

    .blog-content-card {
        padding: 45px 40px;
    }

    .related-blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 650px) {

    .blog-view-hero {
        min-height: 520px;
    }

    .blog-view-hero-content {
        width: min(100% - 28px, 1180px);
        padding: 80px 0 40px;
    }

    .blog-view-hero h1 {
        font-size: 38px;
        letter-spacing: -0.5px;
    }

    .blog-view-excerpt {
        font-size: 15px;
        line-height: 1.65;
    }

    .blog-view-meta {
        gap: 12px 18px;
    }

    .blog-view-meta span {
        font-size: 12px;
    }

    .blog-view-content-section {
        padding: 50px 0;
    }

    .blog-view-container {
        width: min(100% - 28px, 1120px);
    }

    .blog-content-card {
        padding: 30px 22px;

        border-radius: 22px;
    }

    .blog-content {
        font-size: 15px;
        line-height: 1.8;
    }

    .blog-content h2 {
        font-size: 27px;
    }

    .blog-content h3 {
        font-size: 23px;
    }

    .blog-content blockquote {
        padding: 20px 20px 20px 25px;

        font-size: 17px;
    }

    .blog-share {
        align-items: flex-start;
        flex-direction: column;

        margin-top: 35px;
    }

    .related-blogs {
        padding-bottom: 60px;
    }

    .related-blog-grid {
        grid-template-columns: 1fr;
    }

    .related-blog-image {
        height: 210px;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 420px) {

    .blog-view-hero {
        min-height: 500px;
    }

    .blog-view-hero h1 {
        font-size: 33px;
    }

    .blog-view-category {
        padding: 7px 12px;
        font-size: 10px;
    }

    .blog-content-card {
        padding: 25px 18px;
    }

    .related-blog-body {
        padding: 20px;
    }

    .related-blog-body h3 {
        font-size: 21px;
    }

}