* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body.gm-blog-page {
    margin: 0;
    background: #ffffff;
    color: #152033;
    font-family: Roboto, Arial, sans-serif;
    line-height: 1.5;
}

.gm-blog-page a {
    color: inherit;
}

.gm-blog-nav {
    position: absolute;
    z-index: 5;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 96px;
    padding: 28px 44px;
    color: #ffffff;
}

.gm-blog-nav_light {
    position: relative;
    color: #141b2d;
    border-bottom: 1px solid #e7eaf0;
}

.gm-blog-logo {
    text-decoration: none;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 0;
}

.gm-blog-nav__right {
    display: flex;
    align-items: center;
    gap: 24px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
}

.gm-blog-nav__right a {
    text-decoration: none;
}

.gm-blog-nav__right .gm-blog-nav__pill {
    padding: 11px 19px;
    border-radius: 999px;
    background: #ffffff;
    color: #121a2c;
}

.gm-blog-nav_light .gm-blog-nav__right .gm-blog-nav__pill {
    background: #10172a;
    color: #ffffff;
}

.gm-blog-hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 92vh;
    padding: 140px 24px 96px;
    overflow: hidden;
    color: #ffffff;
}

.gm-blog-hero__bg {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(11, 15, 47, 0.98), rgba(19, 26, 73, 0.58)),
        url("/assets/blog/hero-enhanced-image.png") center / cover no-repeat;
    transform: scale(1.02);
}

.gm-blog-hero__content {
    position: relative;
    width: min(1040px, 100%);
    margin: 0 auto;
    text-align: center;
}

.gm-blog-hero__eyebrow {
    margin-bottom: 70px;
    font-size: 20px;
    font-weight: 500;
}

.gm-blog-hero h1 {
    max-width: 1030px;
    margin: 0 auto 36px;
    font-size: 62px;
    line-height: 1.12;
    font-weight: 700;
    letter-spacing: 0;
}

.gm-blog-hero p {
    max-width: 820px;
    margin: 0 auto;
    font-size: 26px;
    line-height: 1.42;
}

.gm-blog-intro {
    max-width: 920px;
    margin: 0 auto;
    padding: 96px 24px 56px;
    text-align: center;
}

.gm-blog-intro h2 {
    margin: 0 0 22px;
    font-size: 42px;
    line-height: 1.18;
    letter-spacing: 0;
}

.gm-blog-intro p {
    max-width: 760px;
    margin: 0 auto;
    color: #4a5568;
    font-size: 20px;
    line-height: 1.6;
}

.gm-blog-list {
    display: grid;
    gap: 32px;
    width: min(1080px, calc(100% - 40px));
    margin: 0 auto 96px;
}

.gm-blog-card {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 28px;
    padding: 24px 0;
    border-bottom: 1px solid #e6e9ef;
}

.gm-blog-card__image {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 8px;
    background: #eef2f7;
}

.gm-blog-card__image img,
.gm-blog-article__cover img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.gm-blog-card time {
    display: block;
    margin: 2px 0 8px;
    color: #7f8a9c;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.gm-blog-card h3 {
    margin: 0 0 8px;
    color: #0d0f1a;
    font-size: 22px;
    line-height: 1.35;
    letter-spacing: 0;
}

.gm-blog-card h3 a {
    text-decoration: none;
}

.gm-blog-card h3 a:hover {
    text-decoration: underline;
}

.gm-blog-card p {
    display: -webkit-box;
    margin: 0;
    overflow: hidden;
    color: #2b3340;
    font-size: 16px;
    line-height: 1.65;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.gm-blog-quote {
    width: min(960px, calc(100% - 40px));
    margin: 0 auto 110px;
    padding: 46px 58px;
    background: #ffffff;
    box-shadow: 0 20px 70px rgba(20, 31, 54, 0.12);
}

.gm-blog-quote__mark {
    color: #adadad;
    font-size: 78px;
    line-height: 0.8;
}

.gm-blog-quote p {
    margin: 8px 0 18px;
    font-size: 22px;
    line-height: 1.55;
}

.gm-blog-contact {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 520px);
    gap: 56px;
    align-items: start;
    padding: 105px max(24px, calc((100vw - 1080px) / 2)) 120px;
    background: #ededed;
}

.gm-blog-contact_compact {
    margin-top: 70px;
}

.gm-blog-contact h2 {
    margin: 0 0 28px;
    font-size: 40px;
    line-height: 1.18;
    letter-spacing: 0;
}

.gm-blog-contact p {
    margin: 0 0 20px;
    color: #4d596b;
    font-size: 18px;
    line-height: 1.65;
}

.gm-blog-contact a {
    color: #0c266d;
    font-size: 24px;
    font-weight: 700;
    text-decoration: none;
}

.gm-blog-form .t-form__inputsbox {
    display: grid;
    gap: 14px;
}

.gm-blog-form input,
.gm-blog-form textarea {
    width: 100%;
    min-height: 48px;
    padding: 13px 15px;
    border: 1px solid #c7c7c7;
    border-radius: 0;
    background: #ffffff;
    color: #162033;
    font: inherit;
}

.gm-blog-form textarea {
    min-height: 116px;
    resize: vertical;
}

.gm-blog-form button {
    min-height: 48px;
    border: 0;
    border-radius: 20px;
    background: #002077;
    color: #ffffff;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
}

.gm-blog-article {
    width: min(920px, calc(100% - 40px));
    margin: 0 auto;
}

.gm-blog-article__head {
    padding: 74px 0 42px;
    text-align: center;
}

.gm-blog-back {
    display: inline-block;
    margin-bottom: 26px;
    color: #546177;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-decoration: none;
    text-transform: uppercase;
}

.gm-blog-article__head time {
    display: block;
    margin-bottom: 18px;
    color: #7f8a9c;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.gm-blog-article__head h1 {
    margin: 0 auto 20px;
    color: #0d0f1a;
    font-size: 52px;
    line-height: 1.15;
    letter-spacing: 0;
}

.gm-blog-article__head p {
    max-width: 760px;
    margin: 0 auto;
    color: #4d596b;
    font-size: 20px;
    line-height: 1.6;
}

.gm-blog-article__cover {
    position: relative;
    width: 100%;
    max-height: 560px;
    margin-bottom: 56px;
    overflow: hidden;
    border-radius: 8px;
    background: #eef2f7;
}

.gm-blog-article__cover::before {
    content: "";
    display: block;
    padding-top: 56.25%;
}

.gm-blog-article__cover img {
    position: absolute;
    inset: 0;
}

.gm-blog-article__body {
    max-width: 760px;
    margin: 0 auto;
    color: #1c2738;
    font-size: 18px;
    line-height: 1.76;
}

.gm-blog-article__body h2,
.gm-blog-article__body h3 {
    margin: 44px 0 16px;
    color: #0d0f1a;
    line-height: 1.25;
    letter-spacing: 0;
}

.gm-blog-article__body h2 {
    font-size: 32px;
}

.gm-blog-article__body h3 {
    font-size: 25px;
}

.gm-blog-article__body p,
.gm-blog-article__body ul,
.gm-blog-article__body ol,
.gm-blog-article__body blockquote {
    margin-top: 0;
    margin-bottom: 22px;
}

.gm-blog-article__body a {
    color: #0c3f9a;
}

.gm-blog-article__body img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 28px auto;
    border-radius: 8px;
}

.gm-blog-article__body figure {
    margin: 34px 0;
}

.gm-blog-article__body blockquote {
    margin: 34px 0;
    padding: 22px 28px;
    border-left: 4px solid #002077;
    background: #f3f6fb;
}

.gm-blog-article__body hr {
    height: 1px;
    margin: 38px 0;
    border: 0;
    background: #e6e9ef;
}

.gm-blog-article__body .subscription-widget-wrap-editor,
.gm-blog-article__body .image-link-expand {
    display: none;
}

@media (max-width: 900px) {
    .gm-blog-nav {
        position: relative;
        min-height: 78px;
        padding: 20px 18px;
        background: #0b0f2f;
    }

    .gm-blog-nav_light {
        background: #ffffff;
    }

    .gm-blog-logo {
        font-size: 24px;
    }

    .gm-blog-nav__right {
        gap: 14px;
        font-size: 12px;
    }

    .gm-blog-hero {
        min-height: 78vh;
        padding-top: 86px;
    }

    .gm-blog-hero__eyebrow {
        margin-bottom: 42px;
    }

    .gm-blog-hero h1 {
        font-size: 38px;
    }

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

    .gm-blog-card,
    .gm-blog-contact {
        grid-template-columns: 1fr;
    }

    .gm-blog-card {
        gap: 14px;
    }

    .gm-blog-card__image {
        aspect-ratio: 16 / 9;
    }

    .gm-blog-quote {
        padding: 34px 28px;
    }

    .gm-blog-contact {
        padding: 72px 20px 84px;
    }

    .gm-blog-article__head h1 {
        font-size: 36px;
    }
}

@media (max-width: 560px) {
    .gm-blog-nav__right a:first-child {
        display: none;
    }

    .gm-blog-nav__right {
        gap: 10px;
    }

    .gm-blog-nav__right .gm-blog-nav__pill {
        padding: 9px 13px;
    }

    .gm-blog-hero h1 {
        font-size: 31px;
    }

    .gm-blog-intro h2,
    .gm-blog-contact h2 {
        font-size: 30px;
    }

    .gm-blog-list,
    .gm-blog-article,
    .gm-blog-quote {
        width: calc(100% - 32px);
    }
}
