.yyasr-related {
    margin-top: 64px;
    padding-top: 48px;
    border-top: 1px solid #e3e9f2;
}

.yyasr-related__heading {
    margin-bottom: 26px;
}

.yyasr-related__eyebrow {
    margin: 0 0 8px;
    color: #165dff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .12em;
}

.single-post .yyasr-related .yyasr-related__heading h2 {
    margin: 0 0 10px;
    color: #10213d;
    font-size: 22px !important;
    line-height: 1.45;
}

.yyasr-related__heading > p:last-child {
    margin: 0;
    color: #667085;
    font-size: 15px;
}

.yyasr-related__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.yyasr-related__card {
    overflow: hidden;
    min-width: 0;
    background: #fff;
    border: 1px solid #e3e9f2;
    border-radius: 14px;
    box-shadow: 0 10px 28px rgba(16, 33, 61, .055);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.yyasr-related__card:hover {
    transform: translateY(-3px);
    border-color: #bfd2ff;
    box-shadow: 0 16px 34px rgba(16, 33, 61, .1);
}

.yyasr-related__media {
    display: block;
    height: 132px;
    overflow: hidden;
    background: linear-gradient(135deg, #eaf1ff, #dce8ff);
}

.yyasr-related__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .25s ease;
}

.yyasr-related__card:hover .yyasr-related__media img {
    transform: scale(1.035);
}

.yyasr-related__placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #165dff;
    font-size: 18px;
    font-weight: 750;
    letter-spacing: .08em;
}

.yyasr-related__body {
    padding: 18px;
}

.single-post .yyasr-related .yyasr-related__title {
    margin: 0 0 14px;
    font-size: 15px !important;
    font-weight: 650;
    line-height: 1.6;
}

.single-post .yyasr-related .yyasr-related__title a {
    font-size: inherit !important;
    font-weight: inherit;
    line-height: inherit;
    color: #10213d;
    text-decoration: none;
}

.single-post .yyasr-related .yyasr-related__title a:hover {
    color: #165dff;
}

.yyasr-related__link {
    color: #165dff;
    font-size: 13px;
    font-weight: 650;
    text-decoration: none;
}

@media (max-width: 1024px) {
    .yyasr-related__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .yyasr-related {
        margin-top: 48px;
        padding-top: 38px;
    }

    .single-post .yyasr-related .yyasr-related__heading h2 {
        font-size: 20px !important;
        line-height: 1.45;
    }

    .yyasr-related__grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .yyasr-related__card {
        display: grid;
        grid-template-columns: 116px minmax(0, 1fr);
    }

    .yyasr-related__media {
        height: 100%;
        min-height: 126px;
    }

    .yyasr-related__body {
        padding: 16px;
    }

    .single-post .yyasr-related .yyasr-related__title {
        font-size: 14px !important;
        line-height: 1.6;
        margin-bottom: 10px;
    }
}

html {
    scroll-behavior: smooth;
}

.single-post .entry-content h2[id],
.single-post .entry-content h3[id] {
    scroll-margin-top: 120px;
}

.yyasr-toc {
    box-sizing: border-box;
    color: #17233a;
}

.yyasr-toc--sidebar {
    position: sticky;
    top: 116px;
    overflow: hidden;
    padding: 25px 22px 24px !important;
    border: 1px solid #e1e8f2;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(18, 38, 72, .055);
}

.yyasr-toc__title {
    margin: 0 0 18px;
    color: #13213a;
    font-size: 20px;
    font-weight: 750;
    line-height: 1.35;
}

.yyasr-toc nav {
    position: relative;
}

.yyasr-toc__list {
    position: relative;
    max-height: calc(100vh - 210px);
    margin: 0;
    padding: 2px 6px 2px 19px;
    overflow-y: auto;
    list-style: none;
    scrollbar-width: thin;
    scrollbar-color: #cad7e8 transparent;
}

.yyasr-toc__list::before {
    content: "";
    position: absolute;
    top: 4px;
    bottom: 4px;
    left: 2px;
    width: 2px;
    border-radius: 999px;
    background: #e7edf6;
}

.yyasr-toc__item {
    position: relative;
    margin: 0;
    padding: 0;
}

.yyasr-toc__item + .yyasr-toc__item {
    margin-top: 12px;
}

.yyasr-toc__item::before {
    content: "";
    position: absolute;
    top: .72em;
    left: -20px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #c3cfdf;
    transform: translateY(-50%);
    transition: background-color .18s ease, transform .18s ease;
}

.yyasr-toc__item a {
    display: block;
    color: #49617f;
    font-size: 14px;
    line-height: 1.65;
    text-decoration: none;
    transition: color .18s ease;
}

.yyasr-toc__item--h3 a {
    padding-left: 13px;
    color: #6b7d95;
    font-size: 13px;
}

.yyasr-toc__item:hover::before {
    background: #1769ff;
    transform: translateY(-50%) scale(1.25);
}

.yyasr-toc__item a:hover,
.yyasr-toc__item a:focus-visible {
    color: #1769ff;
}

.yyasr-toc--inline {
    display: none;
}

@media (max-width: 1024px) {
    .yyasr-toc--sidebar {
        display: none;
    }

    .yyasr-toc--inline {
        display: block;
        margin: 0 0 30px;
        border: 1px solid #dfe7f3;
        border-radius: 12px;
        background: #f8faff;
    }

    .yyasr-toc--inline summary {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
        padding: 16px 18px;
        color: #14223b;
        cursor: pointer;
        font-size: 17px;
        font-weight: 700;
        list-style: none;
    }

    .yyasr-toc--inline summary::-webkit-details-marker {
        display: none;
    }

    .yyasr-toc--inline summary::after {
        content: "\FF0B";
        margin-left: auto;
        color: #1769ff;
        font-size: 20px;
        font-weight: 500;
    }

    .yyasr-toc--inline[open] summary::after {
        content: "\FF0D";
    }

    .yyasr-toc--inline summary small {
        color: #7a899e;
        font-size: 12px;
        font-weight: 500;
    }

    .yyasr-toc--inline nav {
        padding: 0 18px 18px;
    }

    .yyasr-toc--inline .yyasr-toc__list {
        max-height: 340px;
        padding-left: 19px;
    }
}

@media (max-width: 480px) {
    .yyasr-toc--inline {
        margin-bottom: 24px;
    }

    .yyasr-toc--inline summary {
        padding: 14px 15px;
        font-size: 16px;
    }

    .yyasr-toc--inline summary small {
        display: none;
    }

    .yyasr-toc--inline nav {
        padding: 0 15px 16px;
    }
}

.single-post footer.entry-meta .cat-links {
    display: none !important;
}

.single-post footer.entry-meta .post-navigation {
    gap: 12px !important;
}

.single-post footer.entry-meta .post-navigation .nav-previous,
.single-post footer.entry-meta .post-navigation .nav-next {
    display: grid;
    grid-template-columns: 16px minmax(0, 1fr);
    align-items: center;
    column-gap: 8px;
    padding: 13px 14px !important;
}

.single-post footer.entry-meta .post-navigation .prev,
.single-post footer.entry-meta .post-navigation .next {
    display: block;
    min-width: 0;
}

.single-post footer.entry-meta .post-navigation a {
    display: block;
    margin: 0;
    color: #233b5d;
    font-size: 13px !important;
    font-weight: 620;
    line-height: 1.5;
    text-decoration: none;
}

.single-post footer.entry-meta .post-navigation .gp-icon {
    width: 16px;
    margin: 0;
    color: #8a9ab0;
    font-size: 12px;
    line-height: 1;
}

@media (max-width: 767px) {
    .single-post footer.entry-meta .post-navigation .nav-previous,
    .single-post footer.entry-meta .post-navigation .nav-next {
        padding: 12px 13px !important;
    }

    .single-post footer.entry-meta .post-navigation a {
        font-size: 13px !important;
    }
}
