html {
    scroll-behavior: smooth;
}

.inviva-single-post {
    background: #fff;
    padding-bottom: 72px;
}

.inviva-single-post,
.inviva-single-post * {
    font-family: "Be Vietnam Pro", sans-serif;
}

.inviva-post-shell {
    margin: 0 auto;
    max-width: 1200px;
}

.inviva-post-hero {
    padding: 28px 0 30px;
}

.inviva-breadcrumb {
    color: #6c7c93;
    font-size: 14px;
    margin-bottom: 22px;
}

.inviva-breadcrumb a {
    color: #146e95;
}

.inviva-breadcrumb .sep,
.inviva-breadcrumb .current {
    color: #6c7c93;
}

.inviva-post-title {
    color: #163047;
    font-size: 36px;
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.3;
    margin: 0 0 22px;
    max-width: 1080px;
}

.inviva-post-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 16px;
    margin-bottom: 34px;
}

.inviva-author-pill {
    align-items: center;
    display: inline-flex;
    gap: 14px;
}

.inviva-author-pill__avatar {
    align-items: center;
    background: linear-gradient(135deg, #1299d6, #1472b8);
    border-radius: 999px;
    color: #fff;
    display: inline-flex;
    font-size: 22px;
    font-weight: 700;
    height: 58px;
    justify-content: center;
    min-width: 58px;
}

.inviva-author-pill__text {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    font-size: 15px;
    gap: 6px;
}

.inviva-author-pill__text strong {
    color: #163047;
    font-size: 18px;
    font-weight: 700;
}


.inviva-post-meta__pill,
.inviva-post-badge {
    align-items: center;
    background: #eef7fc;
    border-radius: 999px;
    color: #2f84ad;
    display: inline-flex;
    font-size: 15px;
    font-weight: 600;
    min-height: 48px;
    padding: 0 20px;
}

.inviva-post-featured {
    margin: 0;
    margin-bottom: 20px;
}

.inviva-post-thumbnail {
    border-radius: 30px;
    box-shadow: none;
    display: block;
    height: auto;
    width: 100%;
}

.inviva-post-featured__caption {
    color: #7f8a9a;
    font-size: 14px;
    font-style: italic;
    margin-top: 14px;
    text-align: center;
}

.inviva-post-body {
    padding-top: 14px;
}

.inviva-post-layout {
    align-items: start;
    display: grid;
    gap: 36px;
    grid-template-columns: minmax(0, 1fr) 360px;
}

.inviva-post-main {
    min-width: 0;
}

.inviva-post-article {
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.inviva-post-toc {
    background: #eef5fb;
    border: 1px solid #e0ebf4;
    border-radius: 26px;
    margin-bottom: 28px;
    overflow: hidden;
}

.inviva-post-toc summary {
    align-items: center;
    color: #163047;
    cursor: pointer;
    display: flex;
    font-size: 20px;
    font-weight: 800;
    justify-content: space-between;
    list-style: none;
    min-height: 60 px;
    padding: 0 28px;
}

.inviva-post-toc summary::-webkit-details-marker {
    display: none;
}

.inviva-post-toc__title {
    align-items: center;
    display: inline-flex;
    gap: 14px;
}

.inviva-post-toc__icon {
    color: #1f95d1;
    display: inline-flex;
    height: 24px;
    width: 24px;
}

.inviva-post-toc__icon svg {
    display: block;
    height: 24px;
    width: 24px;
}

.inviva-post-toc__arrow {
    color: #7f8da0;
    font-size: 42px;
    font-weight: 300;
    line-height: 1;
    transform: rotate(90deg);
    transition: transform 0.2s ease;
}

.inviva-post-toc:not([open]) .inviva-post-toc__arrow {
    transform: rotate(0deg);
}

.inviva-post-toc__body {
    border-top: 1px solid #dce8f1;
    display: grid;
    gap: 10px;
    padding: 20px 28px 24px;
}

.inviva-post-toc__link {
    color: #385067;
    font-size: 16px;
    line-height: 1.5;
}



.inviva-key-points {
    background:
        linear-gradient(180deg, rgba(255, 247, 234, 0.96), rgba(255, 250, 242, 0.96)),
        radial-gradient(circle at top left, rgba(255, 181, 70, 0.14), transparent 36%);
    border: 1px solid #f5e5cf;
    border-radius: 30px;
    margin-bottom: 34px;
    padding: 34px 30px;
}

.inviva-key-points h3 {
    align-items: center;
    color: #ff6a00;
    display: flex;
    font-size: 22px;
    font-weight: 800;
    gap: 12px;
    margin: 0 0 24px;
}

.inviva-key-points__list {
    display: grid;
    gap: 18px;
}

.inviva-key-points__item {
    align-items: flex-start;
    color: #163047;
    display: grid;
    gap: 14px;
    grid-template-columns: 24px minmax(0, 1fr);
    line-height: 1.65;
}

.inviva-key-points__item span:last-child {
    font-size: 18px;
}

.single-post main#main {
    background-color: #fff;
    padding-bottom: 0;
}

.inviva-key-points__check {
    color: #ff6a00;
    font-size: 25px;
    font-weight: 600;
    line-height: 0.8;
    margin-top: 5px;
}

.inviva-important-note {
    background: linear-gradient(180deg, #edf7ff 0%, #eaf6ff 100%);
    border-left: 6px solid #b7dcf7;
    border-radius: 0 24px 24px 0;
    margin-bottom: 38px;
    padding: 28px 24px 24px;
}

.inviva-important-note h3 {
    align-items: center;
    color: #1f95d1;
    display: flex;
    font-size: 18px;
    font-weight: 800;
    gap: 10px;
    letter-spacing: 0.03em;
    margin: 0 0 14px;
    text-transform: uppercase;
}

.inviva-important-note__content {
    color: #163047;
    font-size: 18px;
    line-height: 1.8;
}

.inviva-important-note__content p:last-child {
    margin-bottom: 0;
}

.inviva-pricing-section {
    margin-bottom: 38px;
}

.inviva-pricing-section h2 {
    color: #163047;

    font-size: 38px;
    font-weight: 700;
    line-height: 1.08;
    margin: 0 0 18px;
}

.inviva-pricing-section__intro {
    color: #2f4257;
    font-size: 18px;
    line-height: 1.85;
    margin-bottom: 26px;
}

.inviva-pricing-table-wrap {
    overflow-x: auto;
}

.inviva-pricing-table {
    border-collapse: collapse;
    min-width: 760px;
    width: 100%;
}

.inviva-pricing-table thead th {
    background: #0f6f96;
    color: #fff;
    font-size: 17px;
    font-weight: 800;
    padding: 18px 20px;
    text-align: left;
}

.inviva-pricing-table tbody td {
    border-bottom: 1px solid #dfe8f0;
    color: #163047;
    font-size: 17px;
    padding: 22px 20px;
    vertical-align: top;
}

.inviva-pricing-table tbody tr:nth-child(even) td {
    background: #f8fbfe;
}

.inviva-post-footer-meta {
    border-top: 1px solid #e2ebf2;
    margin-top: 36px;
    padding-top: 32px;
}

.inviva-post-references {
    margin-bottom: 30px;
}

.inviva-post-references h3,
.inviva-post-tags-wrap h4,
.inviva-post-share h4 {
    align-items: center;
    color: #163047;
    display: flex;
    font-size: 18px;
    font-weight: 800;
    gap: 10px;
    margin: 0 0 18px;
}

.inviva-post-references__icon {
    color: #1f95d1;
    display: inline-flex;
    height: 24px;
    width: 24px;
}

.inviva-post-references__icon svg {
    display: block;
    height: 24px;
    width: 24px;
}

.inviva-post-references__list {
    display: grid;
    gap: 14px;
}

.inviva-post-references__item {
    width: 100%;
}

.inviva-post-references__list a,
.inviva-post-references__list span {
    color: #163047;
    display: inline;
    font-size: 18px;
    line-height: 1.7;
}

.inviva-post-references__list a {
    align-items: flex-start;
    display: inline-flex;
    justify-self: start;
    max-width: 100%;
    text-decoration: none;
    text-underline-offset: 4px;
}

.inviva-post-tags-wrap {
    margin-bottom: 26px;
}

.inviva-post-content {
    color: #2f4257;
    font-size: 18px;
    line-height: 1.92;
    padding: 0;
}

.inviva-post-content h2,
.inviva-post-content h3,
.inviva-post-content h4 {
    color: #163047;
    font-weight: 800;
    line-height: 1.25;
    margin-top: 1.8em;
}

.inviva-post-content h2 {
    font-size: 22px;
}

.inviva-post-content h3 {
    font-size: 18px;
}

.inviva-post-content p,
.inviva-post-content ul,
.inviva-post-content ol,
.inviva-post-content blockquote {
    margin-bottom: 1.2em;
}

.inviva-post-content img {
    border-radius: 18px;
}

.inviva-post-content blockquote {
    background: #f4f9fc;
    border-left: 4px solid #146e95;
    border-radius: 16px;
    color: #163047;
    margin-left: 0;
    padding: 18px 20px;
}

.inviva-post-content a {
    color: #146e95;
    font-weight: 600;
}

.inviva-post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0;
    padding-top: 0;
}

.inviva-post-tags a {
    background: #f4f9fc;
    border-radius: 999px;
    color: #146e95;
    font-size: 14px;
    font-weight: 600;
    padding: 9px 14px;
}

.inviva-author-box {
    align-items: flex-start;
    background: #eef5fb;
    border: 1px solid #dde8f2;
    border-radius: 28px;
    display: grid;
    gap: 22px;
    grid-template-columns: 112px minmax(0, 1fr);
    margin-top: 40px;
    padding: 32px;
}

.inviva-author-box__avatar {
    align-items: center;
    background: linear-gradient(135deg, #1299d6, #1472b8);
    border-radius: 999px;
    color: #fff;
    display: flex;
    font-size: 34px;
    font-weight: 800;
    height: 112px;
    justify-content: center;
    width: 112px;
}

.inviva-author-box__heading h3 {
    color: #163047;
    font-size: 24px;
    font-weight: 800;
    margin: 0 0 8px;
}

.inviva-author-box__title {
    color: #1a5f8e;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.6;
    margin: 0;
}

.inviva-author-box__bio {

    font-size: 18px;
    line-height: 1.9;
    margin-top: 22px;
}

.inviva-author-box__bio p:last-child {
    margin-bottom: 0;
}

.inviva-author-box__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 24px;
    margin-top: 22px;
}

.inviva-author-box__actions a {
    color: #1472b8;
    font-size: 16px;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.inviva-post-sidebar {
    display: grid;
    gap: 24px;
}

.inviva-sidebar-card {
    background: #fff;
    border: 1px solid #e4edf5;
    border-radius: 26px;
    box-shadow: 0 16px 40px rgba(17, 50, 76, 0.06);
    padding: 20px;
}

.inviva-sidebar-card h2 {
    color: #163047;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.15;
    margin: 0 0 20px;
}

.inviva-sidebar-card>p {
    color: #7a8698;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.inviva-quote-form {
    display: grid;
    gap: 16px;
}

.inviva-quote-form label,
.inviva-quote-form .wpcf7-form label {
    display: grid;
    gap: 8px;
}

.inviva-quote-form label>span:first-child,
.inviva-quote-form .wpcf7-form label>span:first-child {
    color: #3b4d63;
    font-size: 15px;
    font-weight: 600;
}

.inviva-quote-form input,
.inviva-quote-form select,
.inviva-quote-form textarea,
.inviva-quote-form .wpcf7-form-control {
    background: #fff;
    border: 1px solid #d5e0ea;
    border-radius: 15px;
    box-shadow: none;
    color: #163047;
    font-size: 14px;
    margin: 0;
    min-height: 45px;
    padding: 0 18px;
    width: 100%;
}

.inviva-quote-form textarea {
    min-height: 120px;
    padding-bottom: 16px;
    padding-top: 16px;
    resize: vertical;
}

.inviva-quote-form button,
.inviva-quote-form input[type="submit"],
.inviva-quote-form .wpcf7-submit {
    background: linear-gradient(180deg, #ff7d12 0%, #ff6a00 100%);
    border: 0;
    border-radius: 15px;
    box-shadow: 0 10px 24px rgba(255, 106, 0, 0.22);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    min-height: 45px;
    padding: 0 20px;
    width: 100%;
}

.inviva-quote-form .wpcf7-submit {
    margin-top: 4px;
}

.inviva-quote-form .wpcf7-spinner {
    display: none;
}

.inviva-quote-form .wpcf7-not-valid-tip,
.inviva-quote-form .wpcf7-response-output {
    font-size: 13px;
    margin: 6px 0 0;
}

.inviva-download-list {
    display: grid;
    gap: 18px;
}

.inviva-download-item {
    align-items: center;
    color: inherit;
    display: grid;
    gap: 14px;
    grid-template-columns: 80px minmax(0, 1fr) 24px;
}

.inviva-download-item__icon {
    align-items: center;
    background: #edf7fc;
    border-radius: 16px;
    color: #2fabe8;
    display: flex;
    height: 80px;
    justify-content: center;
    width: 80px;
}

.inviva-download-item__icon--pdf {
    color: #2fa8eb;
}

.inviva-download-item__icon--image {
    color: #35a8d8;
}

.inviva-download-item__icon--grid {
    color: #2e9ed7;
}

.inviva-download-item__icon--book {
    color: #2aa5cf;
}

.inviva-download-item__icon svg,
.inviva-download-item__action svg {
    height: 24px;
    width: 24px;
}

.inviva-download-item__content {
    display: grid;
    gap: 6px;
}

.inviva-download-item__content strong {
    color: #163047;
    font-size: 14px;
    line-height: 1.4;
}

.inviva-download-item__content small {
    color: #7b8797;
    font-size: 14px;
    font-weight: 600;
}

.inviva-download-item__action {
    color: #7b8797;
}

.inviva-featured-products {
    display: grid;
    gap: 20px;
}

.inviva-featured-product {
    align-items: center;
    color: inherit;
    display: grid;
    gap: 16px;
    grid-template-columns: 80px minmax(0, 1fr);
}

.inviva-featured-product__thumb {
    align-items: center;
    background: #edf7fc;
    border-radius: 18px;
    color: #1ea4d6;
    display: flex;
    height: 80px;
    justify-content: center;
    overflow: hidden;
    width: 80px;
}

.inviva-featured-product__thumb img,
.inviva-featured-product__thumb svg {
    display: block;
    max-height: 46px;
    max-width: 46px;
    width: auto;
}

.inviva-featured-product__thumb img {
    height: 100%;
    max-height: none;
    max-width: none;
    object-fit: cover;
    width: 100%;
}

.inviva-featured-product__content {
    display: grid;
    gap: 6px;
}

.inviva-featured-product__content strong {
    color: #163047;
    font-size: 14px;
    line-height: 1.45;
}

.inviva-featured-product__content small,
.inviva-featured-product__content .price,
.inviva-featured-product__content .amount {
    color: #ff6a00;
    font-size: 15px;
    font-weight: 700;
}

.inviva-featured-product__content del,
.inviva-featured-product__content ins {
    text-decoration: none;
}

.inviva-sidebar-outline-button {
    align-items: center;
    border: 2px solid #2389be;
    border-radius: 999px;
    color: #2389be;
    display: flex;
    font-size: 16px;
    font-weight: 700;
    justify-content: center;
    margin-top: 24px;
    min-height: 45px;
    padding: 0 22px;
}

.inviva-sidebar-outline-button span {
    margin-left: 10px;
}

.inviva-related-section {
    margin-top: 0;
}

.inviva-related-section__title {
    align-items: center;
    color: #163047;
    display: flex;
    gap: 12px;
    margin: 0 0 24px;
}

.inviva-related-section__title-icon {
    color: #2389be;
    display: inline-flex;
    flex: 0 0 auto;
    height: 24px;
    width: 24px;
}

.inviva-related-section__title-icon svg {
    display: block;
    height: 100%;
    width: 100%;
}

.inviva-related-section--full {
    background: #f3f9fd;
    margin-top: 48px;
    padding: 100px 0;
}

.inviva-related-section--full h2 {
    color: #163047;
    font-size: 38px;
    font-weight: 700;
    line-height: 1.1;
    margin: 0 0 28px;
}

.inviva-post-comments {
    margin-top: 44px;
}

.inviva-post-share {
    align-items: center;
    border-top: 1px solid #e2ebf2;
    display: flex;
    flex-wrap: nowrap;
    gap: 12px;
    justify-content: flex-start;
    padding-top: 24px;
}

.inviva-post-share h4 {
    flex: 0 0 auto;
    margin: 0;
    width: auto;
    white-space: nowrap;
}

.inviva-post-share__links {
    align-items: center;
    display: flex;
    flex: 0 0 auto;
    flex-wrap: nowrap;
    gap: 30px;
    margin-left: 0;
}

.inviva-post-share__links a,
.inviva-post-share__copy {
    background: transparent;
    border: 0;
    color: #7a8ca5;
    cursor: pointer;
    display: inline-flex;
    font-size: 16px;
    font-weight: 600;
    align-items: center;
    line-height: 1.2;
    white-space: nowrap;
    padding: 0;
    text-decoration: none;
}

.inviva-post-share__links a:hover,
.inviva-post-share__copy:hover {
    color: #1f95d1;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.inviva-post-share__copy-icon {
    display: inline-flex;
    flex: 0 0 auto;
    height: 22px;
    width: 22px;
}

.inviva-post-share__copy-icon svg {
    display: block;
    height: 100%;
    width: 100%;
}

.inviva-related-posts {
    display: grid;
    gap: 18px;
    grid-template-columns: 1fr;
}

.inviva-related-posts--sidebar {
    gap: 22px;
}

.inviva-related-post {
    align-items: center;
    color: inherit;
    display: grid;
    gap: 14px;
    grid-template-columns: 72px minmax(0, 1fr);
    text-decoration: none;
}

.inviva-related-post__thumb img {
    aspect-ratio: 1 / 1;
    border-radius: 16px;
    display: block;
    object-fit: cover;
    width: 100%;
}

.inviva-related-post__thumb--placeholder {
    aspect-ratio: 1 / 1;
    background: #edf5fb;
    border-radius: 16px;
    display: block;
}

.inviva-related-post--sidebar {
    align-items: start;
    gap: 18px;
    grid-template-columns: 80px minmax(0, 1fr);
}

.inviva-related-post__thumb--sidebar {
    display: block;
    height: 80px;
    width: 80px;
}

.inviva-related-post__thumb--sidebar img {
    aspect-ratio: 1 / 1;
    border-radius: 22px;
    display: block;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.inviva-related-post__thumb--empty {
    background: #f6fbfe;
    border: 1px solid #e3eef5;
    border-radius: 22px;
    display: block;
}

.inviva-related-posts--grid {
    gap: 28px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.inviva-related-post--card {
    background: #fff;
    border-radius: 28px;
    box-shadow: 0 18px 48px rgba(21, 48, 73, 0.08);
    gap: 0;
    grid-template-columns: 1fr;
    overflow: hidden;
}

.inviva-related-post__thumb--card img,
.inviva-related-post__thumb--card.inviva-related-post__thumb--placeholder {
    aspect-ratio: 16 / 9;
    border-radius: 0;
    width: 100%;
}

.inviva-related-post__content {
    display: grid;
    gap: 6px;
    padding: 0;
}

.inviva-related-post__content--card {
    padding: 24px 24px 28px;
}

.inviva-related-post__content--sidebar {
    align-content: start;
    gap: 8px;
    min-height: 96px;
    padding-top: 2px;
}

.inviva-related-post__category {
    color: #2aa2d8;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.inviva-related-post__content strong {
    color: #163047;
    font-size: 17px;
    line-height: 1.45;
}

.inviva-related-post__content--sidebar strong {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;
}

.inviva-related-post__content small {
    color: #6c7c93;
    font-size: 13px;
}

.inviva-related-post__content--sidebar small {
    font-size: 15px;
}

span.inviva-post-date {
    font-size: 15px;
}

@media (max-width: 1024px) {
    .inviva-post-layout {
        gap: 28px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .inviva-related-posts--grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .inviva-post-title {
        font-size: 45px;
    }

    .inviva-post-layout {
        gap: 28px;
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .inviva-post-hero {
        padding-bottom: 28px;
    }

    .inviva-post-title {
        font-size: clamp(34px, 11vw, 52px);
    }

    .inviva-author-pill {
        width: 100%;
    }

    .inviva-author-pill__text {
        display: grid;
        gap: 2px;
    }

    .inviva-post-layout,
    .inviva-related-posts {
        grid-template-columns: 1fr;
    }

    .inviva-related-section--full {
        margin-top: 32px;
        padding: 50px 0;
    }

    .inviva-related-section--full h2 {
        font-size: 32px;
    }

    .inviva-author-box {
        grid-template-columns: 1fr;
        padding: 24px;
    }

    .inviva-post-toc summary {
        font-size: 18px;
        min-height: 72px;
        padding: 0 20px;
    }

    .inviva-post-toc__body {
        padding-left: 20px;
        padding-right: 20px;
    }

    .inviva-key-points {
        padding: 24px 20px;
    }

    .inviva-key-points__item span:last-child {
        font-size: 17px;
    }

    .inviva-important-note,
    .inviva-pricing-section {
        margin-bottom: 28px;
    }

    .inviva-post-references__list a,
    .inviva-post-references__list span {
        font-size: 17px;
    }

    .inviva-pricing-table thead th,
    .inviva-pricing-table tbody td {
        padding-left: 14px;
        padding-right: 14px;
    }

    .inviva-author-box__avatar {
        height: 88px;
        width: 88px;
    }

    .inviva-post-sidebar {
        position: static;
        top: auto;
    }

    .inviva-post-share {
        align-items: flex-start;
        flex-direction: column;
        gap: 14px;
    }

    .inviva-related-post--sidebar {
        gap: 14px;
        grid-template-columns: 84px minmax(0, 1fr);
    }

    .inviva-related-post__thumb--sidebar {
        height: 84px;
        width: 84px;
    }

    .inviva-related-post__thumb--sidebar img {
        border-radius: 20px;
    }

    .inviva-related-post__thumb--empty {
        border-radius: 20px;
    }

    .inviva-related-post__content--sidebar {
        min-height: 84px;
    }


}