/* =========================================================
   MYMB BLOG STYLES
   ========================================================= */


/* =========================================================
   BASE
   ========================================================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;

    font-family: "DM Sans", sans-serif;

    background: #111111;

    color: #ffffff;
}

a {
    text-decoration: none;
}

.blog-container {
    width: min(1200px, calc(100% - 80px));

    margin: 0 auto;
}


/* =========================================================
   COLORS
   ========================================================= */

.coral {
    color: #ff6f61;
}

.pink {
    color: #ef4f91;
}


/* =========================================================
   EYEBROW
   ========================================================= */

.blog-eyebrow {
    display: flex;

    align-items: center;

    gap: 14px;

    margin-bottom: 30px;

    font-size: 12px;

    font-weight: 600;

    letter-spacing: 2px;

    text-transform: uppercase;

    color: #ffffff;
}

.blog-eyebrow-line {
    width: 42px;

    height: 2px;

    background: #ff6f61;
}


/* =========================================================
   HERO
   ========================================================= */

.blog-hero {
    min-height: 620px;

    display: flex;

    align-items: center;

    background: #111111;

    padding: 110px 0 100px;

    position: relative;

    overflow: hidden;
}

.blog-hero::after {
    content: "";

    position: absolute;

    width: 420px;
    height: 420px;

    right: -180px;
    top: 50%;

    transform: translateY(-50%);

    border-radius: 50%;

    border: 1px solid rgba(255, 111, 97, 0.15);

    pointer-events: none;
}

.blog-hero-content {
    max-width: 900px;

    position: relative;

    z-index: 2;
}

.blog-hero h1 {
    margin: 0;

    font-family: "Playfair Display", serif;

    font-size: clamp(58px, 8vw, 112px);

    font-weight: 900;

    line-height: 0.94;

    letter-spacing: -3px;

    text-transform: uppercase;
}

.blog-hero h1 .coral,
.blog-hero h1 .pink {
    font-style: italic;
}

.blog-hero p {
    max-width: 650px;

    margin: 38px 0 0;

    font-size: 18px;

    line-height: 1.7;

    font-weight: 300;

    color: rgba(255, 255, 255, 0.72);
}


/* =========================================================
   BLOG LIST
   ========================================================= */

.blog-list {
    padding: 110px 0 120px;

    background: #f7f4f0;

    color: #151515;
}

.blog-section-heading {
    margin-bottom: 55px;
}

.section-label {
    display: flex;

    align-items: center;

    gap: 12px;

    margin-bottom: 20px;

    font-size: 11px;

    font-weight: 600;

    letter-spacing: 2px;

    text-transform: uppercase;

    color: #555555;
}

.section-label-line {
    width: 35px;

    height: 2px;

    background: #ff6f61;
}

.section-label.centered {
    justify-content: center;

    color: rgba(255, 255, 255, 0.7);
}

.blog-section-heading h2 {
    margin: 0;

    font-family: "Playfair Display", serif;

    font-size: clamp(42px, 5vw, 64px);

    font-weight: 700;

    line-height: 1.05;

    color: #151515;
}

.blog-section-heading h2 em {
    color: #ff6f61;
}


/* =========================================================
   BLOG GRID
   ========================================================= */

.blog-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 24px;
}


/* =========================================================
   BLOG CARD
   ========================================================= */

.blog-card {
    background: #ffffff;

    border: 1px solid #e5e1dc;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-7px);

    box-shadow:
        0 20px 45px rgba(0, 0, 0, 0.08);
}

.blog-card-link {
    min-height: 465px;

    padding: 34px;

    display: flex;

    flex-direction: column;

    color: inherit;
}


/* =========================================================
   CARD TOP
   ========================================================= */

.blog-card-top {
    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 15px;

    margin-bottom: 38px;
}

.blog-category {
    font-size: 10px;

    font-weight: 700;

    letter-spacing: 1.7px;

    color: #ff6f61;
}

.blog-read-time {
    font-size: 10px;

    letter-spacing: 1px;

    color: #888888;
}


/* =========================================================
   CARD TITLE
   ========================================================= */

.blog-card h3 {
    margin: 0 0 22px;

    font-family: "Playfair Display", serif;

    font-size: 28px;

    line-height: 1.25;

    font-weight: 700;

    color: #151515;
}


/* =========================================================
   CARD DESCRIPTION
   ========================================================= */

.blog-card p {
    margin: 0;

    font-size: 15px;

    line-height: 1.75;

    color: #626262;
}


/* =========================================================
   CARD FOOTER
   ========================================================= */

.blog-card-footer {
    margin-top: auto;

    padding-top: 28px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    border-top: 1px solid #e8e4df;

    font-size: 11px;

    color: #888888;
}

.blog-arrow {
    width: 38px;

    height: 38px;

    display: flex;

    align-items: center;

    justify-content: center;

    border: 1px solid #222222;

    border-radius: 50%;

    font-size: 18px;

    color: #151515;

    transition:
        background 0.25s ease,
        color 0.25s ease;
}

.blog-card:hover .blog-arrow {
    background: #151515;

    color: #ffffff;
}


/* =========================================================
   CTA
   ========================================================= */

.blog-cta {
    padding: 120px 0;

    background: #111111;
}

.blog-cta-content {
    max-width: 820px;

    margin: 0 auto;

    text-align: center;
}

.blog-cta h2 {
    margin: 0;

    font-family: "Playfair Display", serif;

    font-size: clamp(45px, 6vw, 76px);

    line-height: 1.05;

    font-weight: 700;

    color: #ffffff;
}

.blog-cta h2 span {
    color: #ff6f61;

    font-style: italic;
}

.blog-cta p {
    max-width: 620px;

    margin: 28px auto 36px;

    font-size: 17px;

    line-height: 1.75;

    font-weight: 300;

    color: rgba(255, 255, 255, 0.68);
}

.blog-cta-button {
    display: inline-flex;

    align-items: center;

    justify-content: center;

    padding: 15px 30px;

    background: #ff6f61;

    color: #ffffff;

    font-size: 13px;

    font-weight: 600;

    transition:
        transform 0.25s ease,
        background 0.25s ease;
}

.blog-cta-button:hover {
    transform: translateY(-2px);

    background: #ef4f91;
}


/* =========================================================
   ARTICLE HEADER
   ========================================================= */

.blog-article-header {
    padding: 100px 0 90px;

    background: #111111;
}

.blog-article-header-inner {
    max-width: 1000px;
}

.blog-back-link {
    display: inline-flex;

    margin-bottom: 45px;

    font-size: 13px;

    color: rgba(255, 255, 255, 0.65);

    transition: color 0.2s ease;
}

.blog-back-link:hover {
    color: #ff6f61;
}

.blog-article-header .blog-eyebrow {
    margin-bottom: 25px;
}

.blog-article-header h1 {
    margin: 0;

    font-family: "Playfair Display", serif;

    font-size: clamp(48px, 6vw, 82px);

    line-height: 1.05;

    font-weight: 700;

    letter-spacing: -1.5px;

    color: #ffffff;
}

.blog-article-meta {
    display: flex;

    gap: 12px;

    margin-top: 30px;

    font-size: 12px;

    color: rgba(255, 255, 255, 0.5);
}


/* =========================================================
   ARTICLE BODY
   ========================================================= */

.blog-article-body {
    padding: 100px 0 120px;

    background: #f7f4f0;
}

.blog-article-content {
    width: min(780px, 100%);

    margin: 0 auto;
}

.blog-article-content p {
    margin: 0 0 27px;

    font-size: 18px;

    line-height: 1.4;

    font-weight: 300;

    color: #3f3f3f;
}

.blog-article-content h2 {
    margin: 70px 0 25px;

    font-family: "Playfair Display", serif;

    font-size: 38px;

    line-height: 1.2;

    font-weight: 700;

    color: #151515;
}

.blog-article-content h3 {
    margin: 45px 0 18px;

    font-family: "Playfair Display", serif;

    font-size: 25px;

    line-height: 1.35;

    font-weight: 700;

    color: #151515;
}

.blog-article-content ul {
    margin: 30px 0 35px;

    padding-left: 25px;
}

.blog-article-content li {
    margin-bottom: 22px;

    padding-left: 7px;

    font-size: 17px;

    line-height: 1.8;

    color: #414141;
}

.blog-article-content strong {
    color: #151515;
}


/* =========================================================
   ARTICLE CTA
   ========================================================= */

.blog-article-cta {
    margin-top: 65px;

    padding: 35px;

    background: #111111;

    border-left: 4px solid #ff6f61;
}

.blog-article-cta p {
    margin: 0;

    color: #ffffff;

    font-size: 17px;

    line-height: 1.7;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {

    .blog-container {
        width: calc(100% - 48px);
    }

    .blog-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 600px) {

    .blog-container {
        width: calc(100% - 32px);
    }


    .blog-hero {
        min-height: auto;

        padding: 80px 0;
    }

    .blog-hero h1 {
        font-size: 55px;

        letter-spacing: -1.5px;
    }

    .blog-hero p {
        font-size: 16px;
    }


    .blog-list {
        padding: 75px 0 80px;
    }

    .blog-grid {
        grid-template-columns: 1fr;

        gap: 18px;
    }

    .blog-card-link {
        min-height: 420px;

        padding: 28px;
    }

    .blog-card h3 {
        font-size: 26px;
    }


    .blog-cta {
        padding: 80px 0;
    }

    .blog-cta h2 {
        font-size: 43px;
    }


    /* Article */

    .blog-article-header {
        padding: 70px 0;
    }

    .blog-article-header h1 {
        font-size: 45px;

        letter-spacing: -0.8px;
    }

    .blog-article-body {
        padding: 65px 0 80px;
    }

    .blog-article-content p {
        font-size: 17px;

        line-height: 1.8;
    }

    .blog-article-content h2 {
        font-size: 32px;

        margin-top: 55px;
    }

    .blog-article-content h3 {
        font-size: 23px;
    }

}