.tpv5-blog,
.tpv5-article {
    --tpv5-midnight: #0b2239;
    --tpv5-midnight-soft: #15344f;
    --tpv5-cyan: #1bbaca;
    --tpv5-cyan-dark: #087f91;
    --tpv5-ivory: #f6f3ee;
    --tpv5-white: #fff;
    --tpv5-ink-muted: #607083;
    --tpv5-line: #dce3e6;
    --tpv5-terracotta: #d96f4a;
    --tpv5-shadow: 0 18px 46px rgba(11, 34, 57, 0.1);
    background: var(--tpv5-ivory);
    color: var(--tpv5-midnight);
    font-family: "Inter", "Lato", sans-serif;
    overflow: clip;
}

.tpv5-blog *,
.tpv5-article * {
    box-sizing: border-box;
}

.tpv5-blog-shell,
.tpv5-article-wide-shell {
    width: min(1200px, calc(100% - 48px));
    margin-inline: auto;
}

.tpv5-article-reading-shell {
    width: min(780px, calc(100% - 48px));
    margin-inline: auto;
}

.tpv5-blog a,
.tpv5-article a,
.tpv5-blog button,
.tpv5-article button,
.tpv5-blog input {
    transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.tpv5-blog a:focus-visible,
.tpv5-article a:focus-visible,
.tpv5-blog button:focus-visible,
.tpv5-article button:focus-visible,
.tpv5-blog input:focus-visible {
    outline: 3px solid var(--tpv5-cyan);
    outline-offset: 3px;
}

.tpv5-blog-hero {
    position: relative;
    padding: clamp(78px, 9vw, 132px) 0 clamp(88px, 10vw, 144px);
    background:
        radial-gradient(circle at 82% 18%, rgba(27, 186, 202, 0.24), transparent 32%),
        radial-gradient(circle at 14% 84%, rgba(217, 111, 74, 0.14), transparent 28%),
        var(--tpv5-midnight);
    color: var(--tpv5-white);
}

.tpv5-blog-hero::after {
    position: absolute;
    right: max(24px, calc((100vw - 1200px) / 2));
    bottom: 34px;
    width: 88px;
    height: 7px;
    background: var(--tpv5-terracotta);
    content: "";
    transform: rotate(-4deg);
}

.tpv5-blog-eyebrow,
.tpv5-blog-list__heading > div > span,
.tpv5-article-cta span,
.tpv5-article-related > div > header > span {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--tpv5-cyan);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.tpv5-blog-eyebrow span {
    width: 34px;
    height: 2px;
    background: currentColor;
}

.tpv5-blog-hero h1 {
    max-width: 840px;
    margin: 18px 0 20px;
    font-family: "Bricolage Grotesque", "Poppins", sans-serif;
    font-size: clamp(3.2rem, 7vw, 6.7rem);
    font-weight: 800;
    letter-spacing: -0.055em;
    line-height: 0.92;
}

.tpv5-blog-hero p {
    max-width: 660px;
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: clamp(1.05rem, 1.6vw, 1.3rem);
    line-height: 1.65;
}

.tpv5-blog-discovery {
    position: relative;
    z-index: 2;
    margin-top: -42px;
}

.tpv5-blog-discovery > div {
    padding: 22px;
    border: 1px solid rgba(11, 34, 57, 0.08);
    border-radius: 20px;
    background: var(--tpv5-white);
    box-shadow: var(--tpv5-shadow);
}

.tpv5-blog-search label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.tpv5-blog-search > div {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    min-height: 58px;
    padding-left: 20px;
    border: 1px solid var(--tpv5-line);
    border-radius: 14px;
    background: #fbfcfc;
}

.tpv5-blog-search i {
    color: var(--tpv5-cyan-dark);
}

.tpv5-blog-search input {
    width: 100%;
    min-width: 0;
    height: 56px;
    padding: 0 14px;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--tpv5-midnight);
    font: inherit;
}

.tpv5-blog-search button {
    align-self: stretch;
    min-width: 130px;
    min-height: 44px;
    border: 0;
    border-radius: 12px;
    background: var(--tpv5-cyan);
    color: #fff;
    font: 800 0.92rem/1 "Inter", sans-serif;
    cursor: pointer;
}

.tpv5-blog-search button:hover {
    background: #26cad9;
}

.tpv5-blog-categories {
    display: flex;
    gap: 8px;
    padding-top: 17px;
    overflow-x: auto;
    scrollbar-width: thin;
}

.tpv5-blog-categories a {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    min-height: 42px;
    padding: 0 17px;
    border: 1px solid var(--tpv5-line);
    border-radius: 999px;
    color: var(--tpv5-midnight);
    font-size: 0.86rem;
    font-weight: 750;
    text-decoration: none;
}

.tpv5-blog-categories a:hover,
.tpv5-blog-categories a.is-active {
    border-color: var(--tpv5-midnight);
    background: var(--tpv5-midnight);
    color: var(--tpv5-white);
}

.tpv5-blog-featured {
    padding: clamp(56px, 7vw, 92px) 0 34px;
}

.tpv5-blog-featured__card {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(330px, 0.85fr);
    overflow: hidden;
    border: 1px solid rgba(11, 34, 57, 0.1);
    border-radius: 26px;
    background: var(--tpv5-white);
    box-shadow: 0 24px 60px rgba(11, 34, 57, 0.11);
    color: inherit;
    text-decoration: none;
}

.tpv5-blog-featured__media {
    position: relative;
    min-height: 0;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #dbe8e8;
}

.tpv5-blog-featured__media img,
.tpv5-blog-card__media img,
.tpv5-article-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tpv5-blog-featured__media > span:not(.tpv5-blog-image-fallback) {
    position: absolute;
    top: 22px;
    left: 22px;
    padding: 8px 13px;
    border-radius: 999px;
    background: var(--tpv5-terracotta);
    color: var(--tpv5-white);
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.tpv5-blog-featured__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(36px, 5vw, 66px);
}

.tpv5-blog-category {
    color: var(--tpv5-cyan-dark);
    font-size: 0.75rem;
    font-weight: 850;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.tpv5-blog-featured h2,
.tpv5-blog-list__heading h2,
.tpv5-article-related h2 {
    margin: 13px 0 0;
    font-family: "Bricolage Grotesque", "Poppins", sans-serif;
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.06;
}

.tpv5-blog-featured h2 {
    font-size: clamp(2rem, 3.2vw, 3.35rem);
}

.tpv5-blog-featured__content > p {
    margin: 22px 0;
    color: var(--tpv5-ink-muted);
    line-height: 1.7;
}

.tpv5-blog-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    color: var(--tpv5-ink-muted);
    font-size: 0.8rem;
}

.tpv5-blog-meta span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.tpv5-blog-read {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    gap: 10px;
    margin-top: 28px;
    color: var(--tpv5-midnight);
    font-weight: 800;
}

.tpv5-blog-featured__card:hover .tpv5-blog-read i,
.tpv5-article-cta a:hover i,
.tpv5-article-related__all:hover i {
    transform: translateX(4px);
}

.tpv5-blog-featured__card i,
.tpv5-article-cta i,
.tpv5-article-related__all i {
    transition: transform 180ms ease;
}

.tpv5-blog-list {
    padding: 56px 0 clamp(84px, 10vw, 140px);
}

.tpv5-blog-list__heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    padding-bottom: 30px;
}

.tpv5-blog-list__heading h2,
.tpv5-article-related h2 {
    font-size: clamp(2rem, 4vw, 3.6rem);
}

.tpv5-blog-list__heading small {
    color: var(--tpv5-ink-muted);
    white-space: nowrap;
}

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

.tpv5-blog-card {
    display: flex;
    min-width: 0;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid rgba(11, 34, 57, 0.1);
    border-radius: 19px;
    background: var(--tpv5-white);
    box-shadow: 0 10px 28px rgba(11, 34, 57, 0.06);
}

.tpv5-blog-card__media {
    display: block;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #dbe8e8;
}

.tpv5-blog-card__media img {
    transition: transform 220ms ease;
}

.tpv5-blog-card:hover .tpv5-blog-card__media img {
    transform: scale(1.025);
}

.tpv5-blog-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 24px;
}

.tpv5-blog-card h3 {
    margin: 10px 0 0;
    font-family: "Bricolage Grotesque", "Poppins", sans-serif;
    font-size: clamp(1.25rem, 1.8vw, 1.55rem);
    font-weight: 780;
    letter-spacing: -0.025em;
    line-height: 1.2;
}

.tpv5-blog-card h3 a {
    color: inherit;
    text-decoration: none;
}

.tpv5-blog-card h3 a:hover {
    color: var(--tpv5-cyan-dark);
}

.tpv5-blog-card__body > p {
    display: -webkit-box;
    margin: 14px 0 22px;
    overflow: hidden;
    color: var(--tpv5-ink-muted);
    font-size: 0.9rem;
    line-height: 1.65;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.tpv5-blog-card .tpv5-blog-meta {
    justify-content: space-between;
    margin-top: auto;
    padding-top: 18px;
    border-top: 1px solid var(--tpv5-line);
}

.tpv5-blog-image-fallback {
    display: grid;
    width: 100%;
    height: 100%;
    place-items: center;
    background: linear-gradient(145deg, #d9eeee, #c5dadd);
    color: var(--tpv5-cyan-dark);
    font-size: 2.4rem;
}

.tpv5-blog-empty {
    padding: 76px 24px;
    border: 1px dashed #b5c2c7;
    border-radius: 22px;
    text-align: center;
}

.tpv5-blog-empty > span {
    display: grid;
    width: 58px;
    height: 58px;
    margin: 0 auto 18px;
    place-items: center;
    border-radius: 50%;
    background: rgba(27, 186, 202, 0.13);
    color: var(--tpv5-cyan-dark);
    font-size: 1.4rem;
}

.tpv5-blog-empty h2 {
    margin: 0;
    font-family: "Bricolage Grotesque", "Poppins", sans-serif;
}

.tpv5-blog-empty p {
    color: var(--tpv5-ink-muted);
}

.tpv5-blog-empty a {
    color: var(--tpv5-cyan-dark);
    font-weight: 800;
}

.tpv5-blog-pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    padding-top: 50px;
}

.tpv5-blog-pagination .page-numbers {
    display: grid;
    min-width: 44px;
    min-height: 44px;
    padding: 8px;
    place-items: center;
    border: 1px solid var(--tpv5-line);
    border-radius: 10px;
    background: var(--tpv5-white);
    color: var(--tpv5-midnight);
    font-weight: 750;
    text-decoration: none;
}

.tpv5-blog-pagination .current,
.tpv5-blog-pagination a:hover {
    border-color: var(--tpv5-midnight);
    background: var(--tpv5-midnight);
    color: var(--tpv5-white);
}

/* Single article */
.tpv5-article-header {
    padding: clamp(72px, 8vw, 114px) 0 42px;
    background:
        radial-gradient(circle at 75% 0%, rgba(27, 186, 202, 0.12), transparent 30%),
        var(--tpv5-ivory);
}

.tpv5-article-breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 38px;
    color: var(--tpv5-ink-muted);
    font-size: 0.78rem;
}

.tpv5-article-breadcrumb a {
    color: inherit;
    text-decoration: none;
}

.tpv5-article-breadcrumb a:hover {
    color: var(--tpv5-cyan-dark);
}

.tpv5-article-breadcrumb i {
    font-size: 0.58rem;
}

.tpv5-article-header h1 {
    margin: 17px 0 24px;
    font-family: "Bricolage Grotesque", "Poppins", sans-serif;
    font-size: clamp(2.2rem, 4.2vw, 3.8rem);
    font-weight: 800;
    letter-spacing: -0.045em;
    line-height: 1.04;
}

.tpv5-article-lead {
    margin: 0;
    color: #425569;
    font-family: "Fraunces", Georgia, serif;
    font-size: clamp(1.18rem, 2vw, 1.52rem);
    font-style: italic;
    line-height: 1.55;
}

.tpv5-article-author {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-top: 30px;
}

.tpv5-article-author__avatar,
.tpv5-article-author__avatar img {
    display: block;
    width: 48px;
    height: 48px;
    overflow: hidden;
    border-radius: 50%;
}

.tpv5-article-author__avatar {
    background: #dbe7e8;
}

.tpv5-article-author strong {
    display: block;
    font-size: 0.9rem;
}

.tpv5-article-author p {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin: 5px 0 0;
    color: var(--tpv5-ink-muted);
    font-size: 0.78rem;
}

.tpv5-article-cover {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    margin-top: 14px;
    margin-bottom: clamp(52px, 7vw, 88px);
    border-radius: 28px;
    background: #dbe8e8;
    box-shadow: var(--tpv5-shadow);
}

.tpv5-article-main {
    padding-bottom: clamp(72px, 9vw, 118px);
}

.tpv5-article-toc {
    margin-bottom: 48px;
    padding: 24px 28px;
    border: 1px solid var(--tpv5-line);
    border-left: 4px solid var(--tpv5-cyan);
    border-radius: 14px;
    background: var(--tpv5-white);
}

.tpv5-article-toc > div {
    display: flex;
    align-items: center;
    gap: 10px;
}

.tpv5-article-toc > div i {
    color: var(--tpv5-cyan-dark);
}

.tpv5-article-toc h2 {
    margin: 0;
    font-family: "Bricolage Grotesque", "Poppins", sans-serif;
    font-size: 1.2rem;
}

.tpv5-article-toc ol {
    display: grid;
    gap: 8px;
    margin: 17px 0 0;
    padding-left: 22px;
}

.tpv5-article-toc__level-3 {
    margin-left: 20px;
}

.tpv5-article-toc a {
    color: #425569;
    line-height: 1.5;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.tpv5-article-toc a:hover {
    color: var(--tpv5-cyan-dark);
}

.tpv5-article-content {
    color: #253d51;
    font-size: clamp(1rem, 1.25vw, 1.08rem);
    line-height: 1.82;
}

.tpv5-article-content > *:first-child {
    margin-top: 0;
}

.tpv5-article-content p,
.tpv5-article-content ul,
.tpv5-article-content ol,
.tpv5-article-content blockquote,
.tpv5-article-content figure,
.tpv5-article-content table {
    margin-block: 1.5em;
}

.tpv5-article-content h2,
.tpv5-article-content h3,
.tpv5-article-content h4 {
    scroll-margin-top: 120px;
    color: var(--tpv5-midnight);
    font-family: "Bricolage Grotesque", "Poppins", sans-serif;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.15;
}

.tpv5-article-content h2 {
    margin: 2.2em 0 0.65em;
    font-size: clamp(1.85rem, 3.3vw, 2.75rem);
}

.tpv5-article-content h3 {
    margin: 1.9em 0 0.55em;
    font-size: clamp(1.4rem, 2.4vw, 1.9rem);
}

.tpv5-article-content a {
    color: var(--tpv5-cyan-dark);
    font-weight: 650;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.tpv5-article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
}

.tpv5-article-content figure {
    max-width: 100%;
}

.tpv5-article-content figcaption {
    margin-top: 9px;
    color: var(--tpv5-ink-muted);
    font-size: 0.78rem;
    text-align: center;
}

.tpv5-article-content blockquote {
    padding: 8px 0 8px 26px;
    border-left: 4px solid var(--tpv5-terracotta);
    color: var(--tpv5-midnight);
    font-family: "Fraunces", Georgia, serif;
    font-size: clamp(1.25rem, 2.2vw, 1.65rem);
    font-style: italic;
    line-height: 1.55;
}

.tpv5-article-content li + li {
    margin-top: 0.45em;
}

.tpv5-article-content table {
    display: block;
    width: 100%;
    overflow-x: auto;
    border-collapse: collapse;
}

.tpv5-article-content th,
.tpv5-article-content td {
    padding: 12px 14px;
    border: 1px solid var(--tpv5-line);
    text-align: left;
}

.tpv5-article-content th {
    background: #eaf2f2;
}

.tpv5-article-share {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 14px 20px;
    margin-top: 54px;
    padding-top: 28px;
    border-top: 1px solid var(--tpv5-line);
}

.tpv5-article-share > div {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tpv5-article-share a,
.tpv5-article-share button {
    display: grid;
    width: 44px;
    height: 44px;
    padding: 0;
    place-items: center;
    border: 1px solid var(--tpv5-line);
    border-radius: 50%;
    background: var(--tpv5-white);
    color: var(--tpv5-midnight);
    font-size: 0.95rem;
    text-decoration: none;
    cursor: pointer;
}

.tpv5-article-share a:hover,
.tpv5-article-share button:hover {
    border-color: var(--tpv5-midnight);
    background: var(--tpv5-midnight);
    color: var(--tpv5-white);
}

.tpv5-article-share__status {
    grid-column: 1 / -1;
    min-height: 1.2em;
    color: var(--tpv5-cyan-dark);
    font-size: 0.8rem;
}

.tpv5-article-cta {
    padding: 78px 0;
    background:
        radial-gradient(circle at 78% 0%, rgba(27, 186, 202, 0.2), transparent 34%),
        var(--tpv5-midnight);
    color: var(--tpv5-white);
}

.tpv5-article-cta > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
}

.tpv5-article-cta h2 {
    max-width: 760px;
    margin: 12px 0;
    font-family: "Bricolage Grotesque", "Poppins", sans-serif;
    font-size: clamp(2.15rem, 4.4vw, 4.2rem);
    letter-spacing: -0.045em;
    line-height: 1;
}

.tpv5-article-cta p {
    max-width: 650px;
    margin: 0;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.65;
}

.tpv5-article-cta a {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    padding: 0 22px;
    border-radius: 10px;
    background: var(--tpv5-cyan);
    color: #fff;
    font-weight: 850;
    text-decoration: none;
}

.tpv5-article-cta a:hover {
    background: #29cad9;
}

.tpv5-article-related {
    padding: clamp(78px, 9vw, 126px) 0;
}

.tpv5-article-related > div > header {
    margin-bottom: 32px;
}

.tpv5-article-related__all {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-top: 34px;
    color: var(--tpv5-midnight);
    font-weight: 800;
    text-decoration: none;
}

@media (min-width: 1440px) {
    .tpv5-blog-shell,
    .tpv5-article-wide-shell {
        width: min(1240px, calc(100% - 96px));
    }
}

@media (max-width: 1024px) {
    .tpv5-blog-featured__card {
        grid-template-columns: 1fr 0.9fr;
    }

    .tpv5-blog-featured__media {
        min-height: 390px;
    }

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

@media (max-width: 820px) {
    .tpv5-blog-featured__card {
        grid-template-columns: 1fr;
    }

    .tpv5-blog-featured__media {
        min-height: 0;
        aspect-ratio: 1 / 1;
    }

    .tpv5-article-cta > div {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 767px) {
    .tpv5-blog-shell,
    .tpv5-article-wide-shell,
    .tpv5-article-reading-shell {
        width: min(100% - 32px, 1200px);
    }

    .tpv5-blog-hero {
        padding: 62px 0 88px;
    }

    .tpv5-blog-hero::after {
        right: 20px;
        bottom: 22px;
        width: 58px;
    }

    .tpv5-blog-discovery {
        margin-top: -34px;
    }

    .tpv5-blog-discovery > div {
        padding: 14px;
        border-radius: 16px;
    }

    .tpv5-blog-search > div {
        grid-template-columns: auto minmax(0, 1fr);
        padding-left: 15px;
    }

    .tpv5-blog-search button {
        grid-column: 1 / -1;
        min-height: 48px;
        margin: 0 5px 5px -10px;
    }

    .tpv5-blog-featured {
        padding-top: 52px;
    }

    .tpv5-blog-featured__card,
    .tpv5-article-cover {
        border-radius: 18px;
    }

    .tpv5-blog-featured__content {
        padding: 28px 24px 32px;
    }

    .tpv5-blog-list {
        padding-top: 38px;
    }

    .tpv5-blog-list__heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .tpv5-blog-grid {
        grid-template-columns: 1fr;
    }

    .tpv5-article-header {
        padding-top: 58px;
    }

    .tpv5-article-breadcrumb {
        margin-bottom: 28px;
        overflow: hidden;
    }

    .tpv5-article-breadcrumb span {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .tpv5-article-cover {
        width: calc(100% - 32px);
        margin-bottom: 50px;
    }

    .tpv5-article-toc {
        padding: 22px 20px;
    }

    .tpv5-article-share {
        grid-template-columns: 1fr;
    }

    .tpv5-article-share__status {
        grid-column: auto;
    }

    .tpv5-article-cta {
        padding: 62px 0;
    }

    .tpv5-article-cta a {
        width: 100%;
    }
}

@media (max-width: 420px) {
    .tpv5-blog-hero h1 {
        font-size: 3rem;
    }

    .tpv5-blog-card__body {
        padding: 21px;
    }

    .tpv5-blog-meta {
        flex-direction: column;
    }

    .tpv5-article-header h1 {
        font-size: 2.2rem;
    }

    .tpv5-article-toc__level-3 {
        margin-left: 8px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .tpv5-blog *,
    .tpv5-article * {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}
