/*
Theme Name: Hello Elementor Child
Theme URI: https://elementor.com/hello-theme/
Description: Child theme untuk Hello Elementor
Author: Custom
Template: hello-elementor
Version: 1.0.0
Text Domain: hello-elementor-child
*/

/* =========================================================
   GLOBAL
========================================================= */

:root {
    --gbm-navy: #08284B;
    --gbm-navy-dark: #051C35;
    --gbm-pink: #CE2F68;
    --gbm-pink-dark: #B82459;
    --gbm-text: #1B2938;
    --gbm-muted: #667085;
    --gbm-light: #F7F9FC;
    --gbm-border: #E7EAF0;
    --gbm-white: #FFFFFF;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    color: var(--gbm-text);
    background: #FFFFFF;
    font-family: "Poppins", Arial, sans-serif;
}

a {
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
}


/* =========================================================
   SINGLE POST
========================================================= */

.gbm-single-post {
    width: 100%;
    background: #FFFFFF;
}


/* =========================================================
   ARTICLE HERO
========================================================= */

.gbm-post-hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(
            circle at 90% 10%,
            rgba(206, 47, 104, 0.18),
            transparent 35%
        ),
        linear-gradient(
            135deg,
            var(--gbm-navy-dark),
            var(--gbm-navy)
        );

    padding: 80px 20px 90px;
}

.gbm-post-hero-inner {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
    z-index: 2;
}


/* =========================================================
   BREADCRUMB
========================================================= */

.gbm-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;

    margin-bottom: 28px;

    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
    line-height: 1.6;
}

.gbm-breadcrumb a {
    color: rgba(255, 255, 255, 0.72);
    text-decoration: none;
    transition: 0.25s ease;
}

.gbm-breadcrumb a:hover {
    color: #FFFFFF;
}

.gbm-breadcrumb .current {
    color: #FFFFFF;
}

.gbm-breadcrumb .separator {
    opacity: 0.4;
}


/* =========================================================
   CATEGORY
========================================================= */

.gbm-post-category {
    display: inline-flex;
    align-items: center;

    margin-bottom: 18px;
    padding: 7px 14px;

    border-radius: 50px;
    border: 1px solid rgba(206, 47, 104, 0.4);

    background: rgba(206, 47, 104, 0.12);

    color: #FFFFFF;

    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}


/* =========================================================
   TITLE
========================================================= */

.gbm-post-title {
    max-width: 900px;

    margin: 0;

    color: #FFFFFF;

    font-size: clamp(38px, 5vw, 62px);
    line-height: 1.13;
    font-weight: 700;

    letter-spacing: -1.5px;
}


/* =========================================================
   META
========================================================= */

.gbm-post-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;

    margin-top: 25px;

    color: rgba(255, 255, 255, 0.68);

    font-size: 14px;
}

.gbm-post-meta strong {
    color: #FFFFFF;
}

.gbm-meta-separator {
    opacity: 0.35;
}


/* =========================================================
   FEATURED IMAGE
========================================================= */

.gbm-featured-wrap {
    position: relative;

    max-width: 1100px;

    margin: -45px auto 0;

    padding: 0 20px;

    z-index: 5;
}

.gbm-featured {
    overflow: hidden;

    border-radius: 18px;

    background: #FFFFFF;

    box-shadow:
        0 20px 60px rgba(5, 28, 53, 0.15);
}

.gbm-featured img {
    display: block;

    width: 100%;
    height: auto;

    aspect-ratio: 16 / 8;
    object-fit: cover;
}


/* =========================================================
   CONTENT AREA
========================================================= */

.gbm-post-content-area {
    max-width: 900px;

    margin: 0 auto;

    padding: 70px 20px 80px;
}


/* =========================================================
   ARTICLE CONTENT
========================================================= */

.gbm-post-content {
    color: #293443;

    font-size: 17px;
    line-height: 1.9;
}

.gbm-post-content p {
    margin: 0 0 24px;
}

.gbm-post-content h2 {
    margin: 48px 0 18px;

    color: var(--gbm-navy);

    font-size: 30px;
    line-height: 1.3;
}

.gbm-post-content h3 {
    margin: 38px 0 15px;

    color: var(--gbm-navy);

    font-size: 24px;
    line-height: 1.35;
}

.gbm-post-content h4 {
    margin: 30px 0 14px;

    color: var(--gbm-navy);

    font-size: 20px;
}

.gbm-post-content ul,
.gbm-post-content ol {
    margin: 0 0 28px;
    padding-left: 28px;
}

.gbm-post-content li {
    margin-bottom: 10px;
}

.gbm-post-content a {
    color: var(--gbm-pink);
    font-weight: 600;
    text-decoration: underline;
}

.gbm-post-content blockquote {
    margin: 35px 0;

    padding: 25px 28px;

    border-left: 4px solid var(--gbm-pink);
    border-radius: 0 10px 10px 0;

    background: #F8F9FC;

    color: var(--gbm-navy);

    font-size: 18px;
    font-weight: 500;
}

.gbm-post-content table {
    width: 100%;

    margin: 30px 0;

    border-collapse: collapse;

    overflow: hidden;
}

.gbm-post-content th,
.gbm-post-content td {
    padding: 13px 15px;

    border: 1px solid var(--gbm-border);

    text-align: left;
}

.gbm-post-content th {
    background: var(--gbm-navy);

    color: #FFFFFF;
}

.gbm-post-content img {
    display: block;

    max-width: 100%;
    height: auto;

    margin: 30px auto;

    border-radius: 12px;
}


/* =========================================================
   TAGS
========================================================= */

.gbm-post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;

    margin-top: 50px;
    padding-top: 30px;

    border-top: 1px solid var(--gbm-border);
}

.gbm-post-tags a {
    display: inline-block;

    padding: 7px 12px;

    border-radius: 6px;

    background: #F3F5F8;

    color: var(--gbm-navy);

    font-size: 12px;
    font-weight: 600;

    text-decoration: none;
}


/* =========================================================
   RELATED ARTICLES
========================================================= */

.gbm-related {
    padding: 75px 20px;

    background: var(--gbm-light);
}

.gbm-related-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.gbm-section-heading {
    margin-bottom: 30px;
}

.gbm-section-heading span {
    display: block;

    margin-bottom: 8px;

    color: var(--gbm-pink);

    font-size: 12px;
    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: 1px;
}

.gbm-section-heading h2 {
    margin: 0;

    color: var(--gbm-navy);

    font-size: 34px;
    line-height: 1.25;
}


/* =========================================================
   RELATED GRID
========================================================= */

.gbm-related-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 24px;
}

.gbm-related-card {
    overflow: hidden;

    border: 1px solid var(--gbm-border);
    border-radius: 14px;

    background: #FFFFFF;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.gbm-related-card:hover {
    transform: translateY(-5px);

    box-shadow:
        0 15px 35px rgba(8, 40, 75, 0.10);
}

.gbm-related-image {
    display: block;

    width: 100%;
    aspect-ratio: 16 / 9;

    object-fit: cover;
}

.gbm-related-body {
    padding: 22px;
}

.gbm-related-category {
    display: block;

    margin-bottom: 8px;

    color: var(--gbm-pink);

    font-size: 11px;
    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.gbm-related-title {
    display: block;

    color: var(--gbm-navy);

    font-size: 18px;
    line-height: 1.4;
    font-weight: 700;

    text-decoration: none;
}

.gbm-related-title:hover {
    color: var(--gbm-pink);
}

.gbm-related-date {
    display: block;

    margin-top: 12px;

    color: var(--gbm-muted);

    font-size: 12px;
}


/* =========================================================
   CTA
========================================================= */

.gbm-post-cta {
    padding: 75px 20px;
}

.gbm-post-cta-inner {
    position: relative;
    overflow: hidden;

    max-width: 1100px;
    margin: 0 auto;

    padding: 55px;

    border-radius: 20px;

    background:
        radial-gradient(
            circle at 100% 0%,
            rgba(206, 47, 104, 0.25),
            transparent 35%
        ),
        var(--gbm-navy);

    text-align: center;
}

.gbm-post-cta h2 {
    margin: 0 0 12px;

    color: #FFFFFF;

    font-size: 32px;
}

.gbm-post-cta p {
    max-width: 620px;

    margin: 0 auto 25px;

    color: rgba(255, 255, 255, 0.72);

    font-size: 15px;
    line-height: 1.7;
}

.gbm-cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 13px 24px;

    border-radius: 8px;

    background: var(--gbm-pink);

    color: #FFFFFF;

    font-size: 14px;
    font-weight: 700;

    text-decoration: none;

    transition: 0.3s ease;
}

.gbm-cta-button:hover {
    background: var(--gbm-pink-dark);

    color: #FFFFFF;

    transform: translateY(-2px);
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 768px) {

    .gbm-post-hero {
        padding: 60px 20px 75px;
    }

    .gbm-post-title {
        font-size: 38px;
        letter-spacing: -0.8px;
    }

    .gbm-post-meta {
        font-size: 12px;
    }

    .gbm-featured-wrap {
        margin-top: -35px;
    }

    .gbm-featured img {
        aspect-ratio: 16 / 10;
    }

    .gbm-post-content-area {
        padding: 55px 20px 65px;
    }

    .gbm-post-content {
        font-size: 16px;
        line-height: 1.8;
    }

    .gbm-post-content h2 {
        font-size: 27px;
    }

    .gbm-post-content h3 {
        font-size: 22px;
    }

    .gbm-related-grid {
        grid-template-columns: 1fr;
    }

    .gbm-related {
        padding: 60px 20px;
    }

    .gbm-section-heading h2 {
        font-size: 29px;
    }

    .gbm-post-cta {
        padding: 55px 20px;
    }

    .gbm-post-cta-inner {
        padding: 40px 22px;
        border-radius: 15px;
    }

    .gbm-post-cta h2 {
        font-size: 27px;
    }
}