/* Screenshot-style Blog page */

.blog-page {
    --blog-navy: #061f50;
    --blog-deep: #031842;
    --blog-muted: #52627d;
    --blog-orange: #ff7900;
    --blog-blue: #1769df;
    --blog-line: #e5edf8;
    --blog-soft: #f6f9ff;
    overflow: hidden;
    color: var(--blog-deep);
    background: #fff;
}

.blog-page svg {
    width: 1em;
    height: 1em;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.blog-hero {
    padding: 66px 0 62px;
    background:
        radial-gradient(circle at 88% 18%, rgba(23, 105, 223, .10), transparent 24%),
        radial-gradient(circle at 28% 20%, rgba(255, 121, 0, .04), transparent 22%),
        linear-gradient(180deg, #f7fbff 0%, #fff 100%);
}

.blog-hero-grid {
    display: grid;
    grid-template-columns: .98fr 1.02fr;
    align-items: center;
    gap: 70px;
}

.blog-kicker {
    color: var(--blog-orange);
    font-size: 14px;
    font-weight: 900;
    letter-spacing: .5px;
    text-transform: uppercase;
}

.blog-hero h1 {
    margin-top: 18px;
    color: var(--blog-deep);
    font-size: clamp(42px, 4.25vw, 66px);
    line-height: 1.13;
    letter-spacing: -1.4px;
}

.blog-hero h1 span {
    color: var(--blog-orange);
}

.blog-hero p {
    max-width: 660px;
    margin-top: 23px;
    color: #384b68;
    font-size: 17px;
    line-height: 1.8;
}

.blog-search {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 70px;
    width: min(520px, 100%);
    min-height: 58px;
    margin-top: 42px;
    overflow: hidden;
    border-radius: 11px;
    background: #fff;
    box-shadow: 0 16px 35px rgba(6, 31, 80, .10);
}

.blog-search input {
    min-width: 0;
    padding: 0 24px;
    border: 1px solid var(--blog-line);
    border-right: 0;
    border-radius: 11px 0 0 11px;
    color: var(--blog-deep);
    font: inherit;
    outline: 0;
}

.blog-search input::placeholder {
    color: #8a98ae;
}

.blog-search button {
    display: grid;
    place-items: center;
    border: 0;
    color: #fff;
    background: #041944;
    font-size: 24px;
    cursor: pointer;
    transition: background .2s ease, transform .2s ease;
}

.blog-search button:hover {
    background: var(--blog-orange);
}

.blog-hero-art {
    position: relative;
    min-height: 0;
}

.blog-hero-art::before {
    content: none;
}

.blog-hero-image {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border: 1px solid rgba(6, 31, 80, .08);
    border-radius: 24px;
    box-shadow: 0 28px 55px rgba(6, 31, 80, .16);
}

.blog-hero-dots,
.blog-band-dots {
    position: absolute;
    width: 86px;
    height: 110px;
    background-image: radial-gradient(circle, rgba(23, 105, 223, .38) 2px, transparent 2.8px);
    background-size: 18px 18px;
}

.blog-hero-dots {
    top: 0;
    right: 34px;
}

.blog-laptop {
    position: absolute;
    right: 130px;
    top: 24px;
    width: 300px;
    height: 220px;
    padding: 20px 18px 28px;
    border-radius: 18px 18px 8px 8px;
    background: linear-gradient(145deg, #08245c, #0b3f8c);
    box-shadow: 0 30px 55px rgba(6, 31, 80, .18);
    transform: rotate(2deg);
}

.blog-screen {
    display: grid;
    grid-template-columns: 90px 1fr 1fr;
    gap: 11px;
    height: 100%;
    padding: 18px;
    border-radius: 10px;
    background: #f8fbff;
}

.blog-screen strong {
    grid-column: 1 / -1;
    color: var(--blog-navy);
    font-size: 34px;
    font-style: italic;
    line-height: 1;
}

.screen-image {
    grid-row: span 3;
    min-height: 82px;
    border-radius: 8px;
    background: linear-gradient(135deg, #66b9ff, #d9ecff);
}

.screen-line {
    height: 13px;
    border-radius: 99px;
    background: #d6e2f2;
}

.screen-line.wide {
    grid-column: span 2;
}

.screen-card {
    min-height: 44px;
    border-radius: 8px;
    background: #e9f0f8;
}

.blog-keyboard {
    position: absolute;
    left: 4%;
    right: 4%;
    bottom: -12px;
    height: 18px;
    border-radius: 0 0 20px 20px;
    background: #ccd7e5;
}

.blog-cup {
    position: absolute;
    left: 118px;
    bottom: 74px;
    width: 88px;
    height: 96px;
    border-radius: 0 0 28px 28px;
    background: linear-gradient(135deg, #062b6a, #0a58b4);
    box-shadow: 0 18px 32px rgba(6, 31, 80, .16);
}

.blog-cup::after {
    content: "";
    position: absolute;
    right: -28px;
    top: 22px;
    width: 42px;
    height: 42px;
    border: 12px solid #073a81;
    border-left: 0;
    border-radius: 0 50% 50% 0;
}

.blog-books {
    position: absolute;
    right: 76px;
    bottom: 42px;
    width: 214px;
    height: 72px;
    border-radius: 8px;
    background:
        linear-gradient(#154fba, #154fba) 0 45px / 214px 16px no-repeat,
        linear-gradient(#ffffff, #ffffff) 14px 22px / 194px 18px no-repeat,
        linear-gradient(#0b3478, #0b3478) 36px 0 / 170px 18px no-repeat;
    box-shadow: 0 18px 30px rgba(6, 31, 80, .14);
}

.blog-plant {
    position: absolute;
    right: 10px;
    bottom: 118px;
    width: 72px;
    height: 128px;
}

.blog-plant::after {
    content: "";
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 0;
    height: 38px;
    border-radius: 6px 6px 16px 16px;
    background: #e7edf7;
}

.blog-plant i {
    position: absolute;
    bottom: 30px;
    left: 33px;
    width: 24px;
    height: 76px;
    border-radius: 100% 0 100% 0;
    background: #3a9b54;
    transform-origin: bottom center;
}

.blog-plant i:nth-child(1) { transform: rotate(-35deg); }
.blog-plant i:nth-child(2) { height: 94px; transform: rotate(4deg); }
.blog-plant i:nth-child(3) { transform: rotate(36deg); }

.blog-main-section {
    padding: 48px 0 56px;
}

.blog-main-section > .container {
    width: min(1780px, calc(100% - 64px));
}

.blog-layout {
    display: block;
}

.blog-section-title {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 30px;
}

.blog-section-title h2,
.blog-side-card h3,
.blog-subscribe-box h2 {
    color: var(--blog-deep);
    font-weight: 900;
    letter-spacing: -.3px;
}

.blog-section-title h2 {
    position: relative;
    padding-bottom: 18px;
    font-size: 30px;
}

.blog-section-title h2::after,
.blog-side-line {
    display: block;
    width: 46px;
    height: 3px;
    border-radius: 99px;
    background: var(--blog-orange);
}

.blog-section-title h2::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
}

.blog-section-title a {
    color: var(--blog-orange);
    font-weight: 900;
}

.blog-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: start;
    gap: 22px;
}

.blog-card,
.blog-side-card {
    overflow: hidden;
    border: 1px solid var(--blog-line);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 16px 34px rgba(6, 31, 80, .08);
}

.blog-card {
    display: flex;
    flex-direction: column;
    min-height: 0;
    padding: 0;
    border-color: #d9e5f6;
    border-radius: 20px;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.blog-card:hover {
    border-color: rgba(255, 121, 0, .35);
    transform: translateY(-6px);
    box-shadow: 0 22px 44px rgba(6, 31, 80, .12);
}

.blog-card-media {
    display: block;
    aspect-ratio: 2.1 / 1;
    overflow: hidden;
    background: #dce8f7;
}

.blog-card-media img,
.blog-fallback {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-card-media img {
    transition: transform .35s ease;
}

.blog-card:hover .blog-card-media img {
    transform: scale(1.04);
}

.blog-fallback {
    position: relative;
    display: grid;
    place-items: center;
    color: #fff;
    text-align: center;
}

.blog-fallback::before {
    content: "";
    position: absolute;
    inset: 26px;
    border: 1px solid rgba(255, 255, 255, .3);
    border-radius: 18px;
}

.blog-fallback b,
.blog-fallback em {
    position: relative;
    z-index: 1;
}

.blog-fallback b {
    font-size: 28px;
    line-height: 1.2;
}

.blog-fallback em {
    display: block;
    margin-top: 6px;
    font-style: normal;
    opacity: .85;
}

.blog-fallback-1 { background: linear-gradient(135deg, #0b3478, #6db8ff); }
.blog-fallback-2 { background: linear-gradient(135deg, #071f50, #ff7900); }
.blog-fallback-3 { background: linear-gradient(135deg, #002c77, #1769df); }
.blog-fallback-4 { background: linear-gradient(135deg, #071f50, #7fb7ff); }
.blog-fallback-5 { background: linear-gradient(135deg, #804300, #ffaf45); }
.blog-fallback-6 { background: linear-gradient(135deg, #082b63, #1ed07a); }

.blog-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 20px 20px 22px;
}

.blog-card-date {
    color: #52627d;
    font-size: 14px;
    line-height: 1.3;
}

.blog-card h3 {
    margin-top: 10px;
    color: var(--blog-deep);
    font-size: 21px;
    font-weight: 500;
    line-height: 1.25;
}

.blog-card h3 a {
    transition: color .2s ease;
}

.blog-card h3 a:hover {
    color: var(--blog-orange);
}

.blog-card p {
    display: -webkit-box;
    margin-top: 12px;
    overflow: hidden;
    color: var(--blog-muted);
    font-size: 16px;
    line-height: 1.75;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.blog-read-more {
    align-self: flex-start;
    margin-top: 22px;
    padding: 10px 22px;
    border-radius: 999px;
    color: #fff;
    background: linear-gradient(135deg, var(--blog-orange), #e96500);
    box-shadow: 0 10px 22px rgba(255, 121, 0, .24);
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.blog-read-more:hover {
    color: #fff;
    background: linear-gradient(135deg, var(--blog-blue), var(--blog-navy));
    box-shadow: 0 12px 24px rgba(6, 31, 80, .22);
    transform: translateY(-2px);
}

.blog-sidebar {
    display: none;
    gap: 24px;
}

.blog-side-card {
    padding: 26px 28px;
}

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

.blog-side-line {
    margin-top: 14px;
    margin-bottom: 20px;
}

.blog-category-list {
    display: grid;
    gap: 15px;
}

.blog-category-list a {
    display: grid;
    grid-template-columns: 26px minmax(0, 1fr) auto;
    align-items: center;
    gap: 13px;
    color: #4d5d76;
    font-size: 14px;
    font-weight: 700;
    transition: color .2s ease, transform .2s ease;
}

.blog-category-list a:hover,
.blog-category-list a.active {
    color: var(--blog-orange);
    transform: translateX(4px);
}

.blog-cat-icon {
    display: grid;
    place-items: center;
    width: 26px;
    height: 26px;
    color: var(--blog-blue);
}

.blog-category-list strong {
    color: #748198;
    font-size: 12px;
}

.blog-popular-list {
    display: grid;
    gap: 18px;
}

.blog-popular-list a {
    display: grid;
    grid-template-columns: 70px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
}

.blog-popular-list img,
.blog-popular-list span {
    grid-row: span 2;
    width: 70px;
    height: 58px;
    border-radius: 8px;
}

.blog-popular-list img {
    object-fit: cover;
}

.blog-popular-list span {
    display: grid;
    place-items: center;
    color: #fff;
    background: linear-gradient(135deg, #082b63, #1769df);
    font-weight: 900;
    text-transform: uppercase;
}

.blog-popular-list strong {
    color: var(--blog-deep);
    font-size: 13px;
    line-height: 1.35;
}

.blog-popular-list small {
    color: #6d7b91;
    font-size: 12px;
}

.blog-side-card p,
.blog-muted {
    color: var(--blog-muted);
    font-size: 14px;
    line-height: 1.7;
}

.blog-small-subscribe {
    display: grid;
    gap: 12px;
    margin-top: 18px;
}

.blog-small-subscribe input,
.blog-subscribe-box input {
    min-width: 0;
    border: 1px solid var(--blog-line);
    color: var(--blog-deep);
    background: #fff;
    font: inherit;
    outline: 0;
}

.blog-small-subscribe input {
    min-height: 46px;
    padding: 0 14px;
    border-radius: 8px;
}

.blog-small-subscribe button,
.blog-subscribe-box button {
    border: 0;
    color: #fff;
    background: linear-gradient(135deg, #ff7600, #ff8d00);
    font: inherit;
    font-weight: 900;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease;
}

.blog-small-subscribe button {
    min-height: 48px;
    border-radius: 8px;
}

.blog-small-subscribe button:hover,
.blog-subscribe-box button:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(255, 121, 0, .28);
}

.blog-side-card > small {
    display: block;
    margin-top: 11px;
    color: #7e8ba0;
}

.blog-socials {
    display: flex;
    gap: 14px;
}

.blog-socials a {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    color: #0b55bd;
    background: #f1f6ff;
    font-size: 14px;
    font-weight: 900;
    transition: background .2s ease, color .2s ease, transform .2s ease;
}

.blog-socials a:hover {
    color: #fff;
    background: var(--blog-orange);
    transform: translateY(-3px);
}

.blog-pagination {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 32px;
}

.blog-pagination a,
.blog-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 14px;
    border: 1px solid var(--blog-line);
    border-radius: 8px;
    color: var(--blog-deep);
    background: #fff;
    font-weight: 900;
}

.blog-pagination a.active,
.blog-pagination a:hover {
    color: #fff;
    background: var(--blog-deep);
}

.blog-empty {
    padding: 30px;
    border: 1px solid var(--blog-line);
    border-radius: 12px;
    color: var(--blog-muted);
    background: #fff;
    box-shadow: 0 16px 34px rgba(6, 31, 80, .08);
}

.blog-subscribe-band {
    padding: 0 0 32px;
}

.blog-subscribe-box {
    position: relative;
    display: grid;
    grid-template-columns: 110px minmax(0, 1fr) minmax(420px, .9fr);
    align-items: center;
    gap: 28px;
    min-height: 138px;
    overflow: hidden;
    padding: 28px 46px;
    border-radius: 12px;
    color: #fff;
    background:
        radial-gradient(circle at 8% 48%, rgba(23, 105, 223, .42), transparent 19%),
        linear-gradient(105deg, #061842, #08275c 58%, #061842);
    box-shadow: 0 20px 42px rgba(6, 31, 80, .18);
}

.blog-envelope {
    display: grid;
    place-items: center;
    width: 86px;
    height: 86px;
    border-radius: 50%;
    color: #fff;
    background: linear-gradient(145deg, #1769df, #071f50);
    box-shadow: inset 0 0 22px rgba(255, 255, 255, .16), 0 0 0 14px rgba(23, 105, 223, .14);
    font-size: 42px;
}

.blog-subscribe-box h2 {
    color: #fff;
    font-size: 27px;
}

.blog-subscribe-box p {
    margin-top: 6px;
    color: #dce7f7;
}

.blog-subscribe-box form {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    min-height: 60px;
    overflow: hidden;
    border-radius: 8px;
    background: #fff;
}

.blog-subscribe-box input {
    padding: 0 22px;
    border: 0;
}

.blog-subscribe-box button {
    min-width: 176px;
    padding: 0 28px;
}

.blog-band-dots {
    right: 42%;
    top: 30px;
    opacity: .55;
}

@media (max-width: 980px) {
    .blog-hero-grid {
        gap: 42px;
    }

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

}

@media (max-width: 940px) {
    .blog-hero-grid,
    .blog-layout,
    .blog-subscribe-box {
        grid-template-columns: 1fr;
    }

    .blog-hero-art {
        width: min(680px, 100%);
        min-height: 0;
        margin: 0 auto;
    }

    .blog-laptop {
        right: 18%;
    }

    .blog-cup {
        left: 12%;
    }

    .blog-books {
        right: 6%;
    }

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

    .blog-subscribe-box form {
        width: 100%;
    }
}

@media (max-width: 680px) {
    .blog-hero {
        padding: 48px 0;
    }

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

    .blog-search {
        grid-template-columns: 1fr 58px;
        min-height: 54px;
    }

    .blog-hero-art {
        display: block;
    }

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

    .blog-section-title {
        align-items: flex-start;
        flex-direction: column;
    }

    .blog-card {
        min-height: 0;
    }

    .blog-card-media {
        aspect-ratio: 1.75 / 1;
    }

    .blog-main-section > .container {
        width: min(1780px, calc(100% - 32px));
    }

    .blog-subscribe-box {
        padding: 32px 20px;
        text-align: center;
    }

    .blog-envelope {
        margin: 0 auto;
    }

    .blog-subscribe-box form {
        grid-template-columns: 1fr;
    }

    .blog-subscribe-box input,
    .blog-subscribe-box button {
        min-height: 54px;
    }

    .blog-band-dots {
        display: none;
    }
}
