
/* =========================================================
   BLOG AND SAVING GUIDES
   ========================================================= */
.ps-blog-page,
.ps-blog-page *,
.ps-blog-page *::before,
.ps-blog-page *::after {
    box-sizing: border-box;
}

.ps-blog-page {
    min-height: 55vh;
    color: #263247;
    background: #f7f8fb;
    font-family: "Inter", sans-serif;
}

.ps-blog-page a {
    text-decoration: none;
}

.ps-blog-page .ps-inner-breadcrumb {
    background: rgba(255, 255, 255, .96);
}

.ps-blog-hero {
    position: relative;
    overflow: hidden;
    padding: 29px 0 31px;
    background: #d8e0eb;
    border-bottom: 1px solid #c8d1de;
}

.ps-blog-hero::after {
    display: none;
}

.ps-blog-hero .ps-inner-shell {
    position: relative;
    z-index: 1;
}

.ps-blog-page .ps-inner-kicker {
    margin: 0 0 6px;
    color: #ff5d2a;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
    line-height: 1.2;
    text-transform: uppercase;
}

.ps-blog-hero h1 {
    max-width: 900px;
    margin: 0 0 9px;
    color: #16213e;
    font-family: "Space Grotesk", sans-serif;
    font-size: clamp(31px, 3.3vw, 42px);
    font-weight: 800;
    letter-spacing: -.7px;
    line-height: 1.1;
}

.ps-blog-hero > .ps-inner-shell > p:not(.ps-inner-kicker) {
    max-width: 760px;
    margin: 0;
    color: #515c72;
    font-size: 15px;
    line-height: 1.6;
}

.ps-blog-filterbar {
    padding: 15px 0;
    background: #fff;
    border-bottom: 1px solid #e2e5ea;
}

.ps-blog-categories {
    display: flex;
    margin: 0;
    flex-wrap: wrap;
    gap: 8px;
}

.ps-blog-categories a {
    display: inline-flex;
    min-height: 36px;
    padding: 0 14px;
    align-items: center;
    color: #344054;
    background: rgba(255, 255, 255, .85);
    border: 1px solid #dfe4eb;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 750;
    box-shadow: 0 2px 8px rgba(15, 23, 42, .035);
    transition: color .2s ease, background .2s ease, border-color .2s ease, transform .2s ease;
}

.ps-blog-categories a:hover,
.ps-blog-categories a.active {
    color: #fff;
    background: #16213e;
    border-color: #16213e;
    transform: translateY(-1px);
}

.ps-blog-main {
    padding: 31px 0 56px;
    background: #fff;
}

.ps-blog-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 26px;
}

.ps-blog-card {
    display: flex;
    min-width: 0;
    overflow: hidden;
    flex-direction: column;
    background: #fff;
    border: 1px solid #e2e7ee;
    border-radius: 12px;
    box-shadow: 0 4px 14px rgba(15, 23, 42, .055);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.ps-blog-card:hover {
    border-color: #ccd5e2;
    box-shadow: 0 20px 46px rgba(15, 23, 42, .12);
    transform: translateY(-5px);
}

.ps-blog-card-image {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    color: #fff;
    background: linear-gradient(135deg, #16213e, #24457a 58%, #ff6b35);
}

.ps-blog-card-image::after {
    position: absolute;
    inset: 0;
    content: "";
    background: linear-gradient(180deg, transparent 62%, rgba(15, 23, 42, .18));
    pointer-events: none;
}

.ps-blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .45s ease;
}

.ps-blog-card:hover .ps-blog-card-image img {
    transform: scale(1.045);
}

.ps-blog-card-image > span {
    display: grid;
    width: 100%;
    height: 100%;
    place-items: center;
    font-size: 34px;
}

.ps-blog-card-body {
    display: flex;
    min-height: 270px;
    padding: 21px 21px 23px;
    flex: 1;
    flex-direction: column;
}

.ps-blog-meta {
    display: flex;
    margin-bottom: 14px;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: #7b8494;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .035em;
    line-height: 1.3;
    text-transform: uppercase;
}

.ps-blog-meta a {
    color: #e65322;
}

.ps-blog-meta a:hover {
    color: #16213e;
}

.ps-blog-card h2 {
    margin: 0 0 11px;
    font-family: "Space Grotesk", sans-serif;
    font-size: 21px;
    font-weight: 700;
    letter-spacing: -.025em;
    line-height: 1.25;
}

.ps-blog-card h2 a {
    color: #16213e;
}

.ps-blog-card h2 a:hover {
    color: #e65322;
}

.ps-blog-card-body > p {
    margin: 0 0 22px;
    color: #667085;
    font-size: 14px;
    line-height: 1.7;
}

.ps-blog-read {
    display: inline-flex;
    margin-top: auto;
    align-items: center;
    gap: 8px;
    color: #16213e;
    font-size: 13px;
    font-weight: 800;
}

.ps-blog-read i {
    color: #ff6b35;
    font-size: 11px;
    transition: transform .2s ease;
}

.ps-blog-read:hover {
    color: #e65322;
}

.ps-blog-read:hover i {
    transform: translateX(4px);
}

.ps-blog-pagination {
    display: flex;
    margin-top: 42px;
    justify-content: center;
    gap: 8px;
}

.ps-blog-pagination a {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    color: #344054;
    background: #fff;
    border: 1px solid #dfe4eb;
    border-radius: 12px;
    font-weight: 750;
}

.ps-blog-pagination a:hover,
.ps-blog-pagination a.active {
    color: #fff;
    background: #16213e;
    border-color: #16213e;
}

.ps-blog-empty {
    padding: 66px 24px;
    color: #667085;
    background: #fff;
    border: 1px solid #e2e7ee;
    border-radius: 20px;
    text-align: center;
}

.ps-blog-empty i {
    color: #ff6b35;
    font-size: 38px;
}

.ps-blog-empty h2 {
    margin: 14px 0 8px;
    color: #16213e;
    font-family: "Space Grotesk", sans-serif;
}

.ps-blog-empty p {
    margin: 0;
}

/* Article */
.ps-article-page {
    background: #f5f7fa;
}

.ps-article-main {
    padding: 32px 0 58px;
}

.ps-article-shell {
    width: min(100% - 40px, 960px);
    margin: 0 auto;
}

.ps-article-shell > article {
    overflow: hidden;
    background: #fff;
    border: 1px solid #e2e7ee;
    border-radius: 14px;
    box-shadow: 0 8px 25px rgba(15, 23, 42, .065);
}

.ps-article-header {
    padding: 38px 54px 30px;
    background: #fff;
}

.ps-article-category {
    display: inline-flex;
    min-height: 32px;
    padding: 0 12px;
    align-items: center;
    color: #c9461d;
    background: #fff0e9;
    border: 1px solid #ffd8c7;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.ps-article-category:hover {
    color: #fff;
    background: #e65322;
    border-color: #e65322;
}

.ps-article-header h1 {
    max-width: 820px;
    margin: 14px 0 11px;
    color: #16213e;
    font-family: "Space Grotesk", sans-serif;
    font-size: clamp(32px, 4.2vw, 44px);
    font-weight: 700;
    letter-spacing: -.03em;
    line-height: 1.12;
}

.ps-article-lead {
    max-width: 760px;
    margin: 0;
    color: #566176;
    font-size: 16px;
    line-height: 1.65;
}

.ps-article-meta {
    display: flex;
    margin-top: 18px;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px 20px;
    color: #7b8494;
    font-size: 12px;
    font-weight: 650;
}

.ps-article-meta > * + * {
    position: relative;
}

.ps-article-meta > * + *::before {
    position: absolute;
    top: 50%;
    left: -12px;
    width: 4px;
    height: 4px;
    content: "";
    background: #ff6b35;
    border-radius: 50%;
    transform: translateY(-50%);
}

.ps-article-featured {
    margin: 0 36px;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: #e9edf3;
    border-radius: 12px;
    box-shadow: 0 8px 22px rgba(15, 23, 42, .1);
}

.ps-article-featured img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ps-article-content {
    max-width: 790px;
    margin: 0 auto;
    padding: 38px 54px 50px;
    color: #334155;
    font-family: "Inter", sans-serif;
    font-size: 16px;
    line-height: 1.75;
}

.ps-article-content p {
    margin: 0 0 16px;
}

.ps-article-content p:first-child {
    color: #263247;
    font-size: 16px;
    line-height: 1.75;
}

.ps-article-content h2 {
    margin: 31px 0 10px;
    color: #16213e;
    font-family: "Space Grotesk", sans-serif;
    font-size: 23px;
    font-weight: 700;
    letter-spacing: -.025em;
    line-height: 1.28;
}

.ps-article-content h2:first-child {
    margin-top: 0;
}

.ps-article-content ul,
.ps-article-content ol {
    margin: 0 0 20px;
    padding-left: 1.35em;
}

.ps-article-content li {
    margin: 0 0 8px;
    padding-left: .3em;
}

.ps-article-content li::marker {
    color: #ff6b35;
}

.ps-article-content a {
    color: #185ba8;
    text-decoration: underline;
    text-decoration-color: rgba(24, 91, 168, .35);
    text-underline-offset: 3px;
}

.ps-article-content strong {
    color: #16213e;
}

.ps-article-content h3 {
    margin: 22px 0 7px;
    color: #16213e;
    font-family: "Space Grotesk", sans-serif;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.35;
}

.ps-related-posts {
    margin-top: 42px;
    padding: 34px;
    background: #fff;
    border: 1px solid #e2e7ee;
    border-radius: 20px;
    box-shadow: 0 12px 32px rgba(15, 23, 42, .05);
}

.ps-blog-page .ps-section-heading h2 {
    margin: 0;
    color: #16213e;
    font-family: "Space Grotesk", sans-serif;
    font-size: 28px;
    line-height: 1.2;
}

.ps-blog-page .ps-related-grid {
    display: grid;
    margin-top: 22px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.ps-blog-page .ps-related-grid a {
    display: flex;
    min-height: 86px;
    padding: 17px;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    color: #263247;
    background: #f8fafc;
    border: 1px solid #e5e9ef;
    border-radius: 14px;
    font-size: 13px;
    font-weight: 750;
    line-height: 1.45;
    transition: background .2s ease, border-color .2s ease, transform .2s ease;
}

.ps-blog-page .ps-related-grid a:hover {
    background: #fff7f1;
    border-color: #ffd1be;
    transform: translateY(-2px);
}

.ps-blog-page .ps-related-grid i {
    flex: 0 0 auto;
    color: #ff6b35;
    font-size: 11px;
}

@media (max-width: 960px) {
    .ps-blog-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ps-article-header {
        padding: 45px 46px 36px;
    }

    .ps-blog-page .ps-related-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 680px) {
    .ps-blog-page .ps-inner-shell,
    .ps-article-shell {
        width: min(100% - 28px, 1180px);
    }

    .ps-blog-hero {
        padding: 24px 0 26px;
    }

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

    .ps-blog-hero > .ps-inner-shell > p:not(.ps-inner-kicker) {
        font-size: 15px;
    }

    .ps-blog-categories {
        gap: 8px;
    }

    .ps-blog-categories a {
        min-height: 36px;
        padding: 0 13px;
        font-size: 12px;
    }

    .ps-blog-main {
        padding: 24px 0 44px;
    }

    .ps-blog-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

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

    .ps-article-main {
        padding: 20px 0 44px;
    }

    .ps-article-shell > article {
        border-radius: 17px;
    }

    .ps-article-header {
        padding: 28px 23px 23px;
    }

    .ps-article-header h1 {
        font-size: 32px;
    }

    .ps-article-lead {
        font-size: 16px;
    }

    .ps-article-featured {
        margin: 0 14px;
        border-radius: 12px;
    }

    .ps-article-content {
        padding: 29px 23px 40px;
        font-size: 15px;
        line-height: 1.72;
    }

    .ps-article-content p:first-child {
        font-size: 15px;
    }

    .ps-article-content h2 {
        font-size: 21px;
    }

    .ps-related-posts {
        margin-top: 24px;
        padding: 24px 18px;
        border-radius: 17px;
    }
}

@media (max-width: 420px) {
    .ps-blog-meta {
        align-items: flex-start;
        flex-direction: column;
        gap: 5px;
    }

    .ps-article-meta {
        align-items: flex-start;
        flex-direction: column;
        gap: 6px;
    }

    .ps-article-meta > * + *::before {
        display: none;
    }
}
