/* ****************************************
 * Guide Templates
 * **************************************** */
.guides-body {
    background: #fff;
    color: #353a44;
}

.guides-body .guides-index,
.guides-body .guide-article-header,
.guides-body .guide-article,
.guides-body .guide-related {
    font-family: "Aptos", "Segoe UI", Arial, sans-serif;
    letter-spacing: 0;
}

.guides-body .guides-index h1,
.guides-body .guides-index h2,
.guides-body .guides-index h3,
.guides-body .guide-article-header h1,
.guides-body .guide-article h2,
.guides-body .guide-article h3,
.guides-body .guide-related h2,
.guides-body .guide-related h3 {
    font-family: "Aptos", "Segoe UI", Arial, sans-serif;
    letter-spacing: 0;
}

.guides-content-width {
    width: 100%;
    max-width: 1125px;
    margin: 0 auto;
}

.guides-section-content {
    padding: 38px 20px 0;
}

.guides-breadcrumb {
    display: flex;
    gap: 12px;
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
    color: #2e456b;
    font-size: 14px;
}

.guides-breadcrumb li + li::before {
    content: "/";
    margin-right: 12px;
    color: #353a44;
}

.guides-breadcrumb a:hover {
    text-decoration: underline;
}

.guides-page-title {
    margin: 33px 0;
    color: #353a44;
    font-size: 50px;
    font-weight: 600;
    line-height: normal;
}

/* ****************************************
 * Featured Guide
 * **************************************** */
.guides-feature {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 30px;
}

.guides-feature-image,
.guides-feature-copy {
    width: 49%;
}

.guides-feature-image {
    height: auto;
    aspect-ratio: 1.5 / 1;
    object-fit: cover;
}

.guides-category {
    display: inline-block;
    margin: 24px 0 0;
    padding: 0 0 1px;
    color: #353a44;
    border-bottom: 3px solid #fff;
    font-size: 16px;
    font-weight: 600;
    line-height: 23px;
    text-transform: uppercase;
}

.guides-feature h2 {
    margin: 18px 0;
    color: #353a44;
    font-size: 54px;
    font-weight: 900;
    line-height: 57px;
}

.guides-feature h2:hover {
    text-decoration: underline;
}

.guides-feature-tagline {
    margin: 0 0 10px;
    color: #353a44;
    font-size: 16px;
    line-height: normal;
}

.guides-byline {
    display: inline-block;
    font-size: 12px;
    line-height: 16px;
}

.guides-author {
    font-weight: 800;
}

.guides-date {
    color: #9a9da4;
}

.guides-divider {
    height: 1px;
    margin: 62px 0 20px;
    border: 0;
    background: #e3e4e7;
}

/* ****************************************
 * Guide Card Grid
 * **************************************** */
.guides-grid-label {
    margin: 0 0 20px;
}

.guides-grid {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
    padding-bottom: 20px;
}

.guides-card {
    flex: 0 1 320px;
    max-width: 320px;
    margin-bottom: 40px;
}

.guides-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.guides-card h2 {
    margin: 14px 0 7px;
    color: #353a44;
    font-size: 18px;
    font-weight: 700;
    line-height: 20px;
}

.guides-card p {
    max-height: 107px;
    margin: 0;
    overflow: hidden;
    color: #353a44;
    font-size: 14px;
    line-height: 18px;
    overflow-wrap: break-word;
}

a.guides-card:hover h2,
a.guides-card:hover img {
    text-decoration: underline;
}

.guides-card-status {
    display: inline-block;
    margin-bottom: 8px;
    color: #68717d;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .05em;
    text-transform: uppercase;
}

/* ****************************************
 * Article Header
 * **************************************** */
.guide-article-header {
    width: 100%;
    margin: 0 auto;
    padding: 0 20px 80px;
    background: #2d3646;
    color: #fff;
    text-align: left;
}

.guide-article-header-inner {
    max-width: 750px;
    margin: 0 auto;
    padding: 25px;
}

.guide-article-category {
    display: inline-block;
    margin: 24px 0 0;
    padding-bottom: 1px;
    border-bottom: 3px solid #fff;
    font-size: 16px;
    font-weight: 600;
    line-height: 23px;
    text-transform: uppercase;
}

.guide-article-header h1 {
    margin: 0;
    color: #fff;
    font-size: 50px;
    font-weight: 600;
    line-height: normal;
}

.guide-article-header .guides-byline {
    color: #fff;
}

.guide-article-header .guides-date {
    color: #dfdfdf;
}

/* ****************************************
 * Article Content
 * **************************************** */
.guide-article {
    position: relative;
    z-index: 1;
    width: min(100%, 750px);
    margin: -90px auto 0;
    padding: 0 20px 30px;
    color: #353a44;
}

.guide-article > img,
.guide-article figure img {
    width: 100%;
    border: 4px solid #ccc;
    box-shadow: 0 0 10px rgba(0, 0, 0, .15);
}

.guide-article > img:first-child {
    aspect-ratio: 1.5 / 1;
    object-fit: cover;
}

.guide-article h2 {
    margin: 40px 0 20px;
    color: #191919;
    font-size: 36px;
    font-weight: 500;
    line-height: 45px;
}

.guide-article h3 {
    margin: 44px 0 10px;
    color: #191919;
    font-size: 1.775rem;
    font-weight: 500;
    line-height: 1.5;
}

.guide-article p {
    margin: 15.8px 0 24px;
    color: #333;
    font-size: 15.8px;
    font-weight: 400;
    line-height: 28px;
}

.guide-article ul,
.guide-article ol {
    margin: 0 0 24px;
    padding-left: 28px;
    color: #333;
    font-size: 15.8px;
    line-height: 28px;
}

.guide-article a {
    color: #2e5ea8;
    text-decoration: underline;
}

.guide-article figure {
    margin: 30px 0;
}

.guide-article figcaption {
    margin-top: 8px;
    color: #68717d;
    font-size: 13px;
    line-height: 20px;
}

.guide-table-wrap {
    width: 100%;
    overflow-x: auto;
}

.guide-article table {
    width: 100%;
    min-width: 620px;
    border-collapse: collapse;
    color: #353a44;
    font-size: 15px;
}

.guide-article th,
.guide-article td {
    padding: 9px 18px 9px 0;
    border: 0;
    text-align: left;
    vertical-align: top;
}

.guide-article th {
    font-weight: 800;
}

.guide-callout {
    margin: 36px 0;
    padding: 26px;
    border-left: 5px solid #1459ff;
    background: #f1f5fb;
}

.guide-callout h2 {
    margin-top: 0;
}

.guide-callout p:last-child {
    margin-bottom: 0;
}

.guide-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.guide-actions .button {
    color: #fff;
    text-decoration: none;
}

.guide-actions .button-secondary {
    color: var(--brand);
}

/* ****************************************
 * Related Guides
 * **************************************** */
.guide-related {
    width: 100%;
    max-width: 1125px;
    margin: 0 auto;
    padding: 0 20px;
}

.guide-related > h2 {
    margin: 20px 0;
    color: #353a44;
    font-size: 24px;
    font-weight: 500;
    line-height: normal;
}

.guide-related-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    margin: 0 auto 40px;
}

.guide-related-card {
    width: 240px;
    height: 280px;
    padding: 50px 20px 20px;
    color: #fff;
    background-color: #2d3646;
    background-position: center;
    background-size: cover;
    box-shadow: 0 0 10px rgba(0, 0, 0, .15);
    vertical-align: top;
}

.guide-related-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: rgba(22, 31, 48, .78);
}

.guide-related-card {
    position: relative;
    isolation: isolate;
}

.guide-related-card:hover {
    cursor: pointer;
    box-shadow: 0 19px 38px rgba(0, 0, 0, .30), 0 15px 12px rgba(0, 0, 0, .22);
    transition: .3s;
}

.guide-related-card h3 {
    margin: 0 0 10px;
    color: #fff;
    font: 600 24px/34px "Aptos", "Segoe UI", Arial, sans-serif;
    text-shadow: 2px 0 3px rgba(0, 0, 0, .2);
}

.guide-related-card span {
    color: #d7d9dd;
    font-size: 17px;
}

/* ****************************************
 * Responsive Layout
 * **************************************** */
@media screen and (max-width: 810px) {
    .guides-feature {
        justify-content: center;
        flex-direction: column-reverse;
    }

    .guides-feature-image,
    .guides-feature-copy {
        width: 100%;
    }

    .guides-card {
        flex-basis: 47.9%;
        max-width: none;
        min-width: 250px;
    }
}

@media screen and (max-width: 565px) {
    .guides-section-content {
        padding-left: 20px;
        padding-right: 20px;
    }

    .guides-page-title,
    .guide-article-header h1 {
        font-size: 50px;
    }

    .guides-feature h2 {
        font-size: 54px;
        line-height: 57px;
    }

    .guides-grid {
        display: block;
    }

    .guides-card {
        width: 100%;
        max-width: none;
        min-width: 0;
    }

    .guides-card img {
        height: auto;
        aspect-ratio: 16 / 9;
    }

    .guide-article-header-inner {
        padding-left: 25px;
        padding-right: 25px;
    }

    .guide-related-grid {
        width: 310px;
        max-width: 100%;
        justify-content: center;
    }

    .guide-related-card {
        width: 240px;
    }
}
