/*
 * Calista refinement layer — "cleaner, compact, easier on the eyes".
 *
 * Loaded last so it wins the cascade. It only adjusts spacing, sizing,
 * layout rhythm and type scale. It deliberately does NOT touch:
 *   - background images / artwork (hero altar, forest scene, footer lunar,
 *     pathway tiles, proof photos, product imagery)
 *   - gradients and dark overlays
 *   - animations, transitions or the firefly scene
 *   - the color palette or fonts
 */

/* ------------------------------------------------------------------ *
 * 1. Base readability lift
 * ------------------------------------------------------------------ */
html body {
    font-size: 15.5px;
    line-height: 1.7;
    letter-spacing: .01em;
}

/* ------------------------------------------------------------------ *
 * 2. Header — slightly slimmer bar, calmer nav type
 * ------------------------------------------------------------------ */
@media (min-width: 1001px) {
    .calista-header__inner {
        min-height: 68px;
    }

    .calista-header .calista-nav__list a {
        font-size: 11.5px;
        letter-spacing: .06em;
    }
}

/* ------------------------------------------------------------------ *
 * 3. Hero — keep the artwork, trim the vertical breathing room
 * ------------------------------------------------------------------ */
.calista-hero__content {
    padding-block: 68px 84px;
}

@media (min-width: 1001px) {
    .calista-hero {
        min-height: 560px;
    }
}

.calista-eyebrow {
    font-size: 11px;
    letter-spacing: .16em;
}

.calista-hero__intro {
    font-size: 14.5px;
    line-height: 1.75;
}

.calista-hero__trust {
    font-size: 11px;
    letter-spacing: .06em;
}

.calista-button {
    min-height: 46px;
    gap: 16px;
    padding-inline: 22px;
    font-size: 11px !important;
    letter-spacing: .09em !important;
}

.calista-text-link {
    font-size: 12px;
    letter-spacing: .06em;
}

@media (max-width: 700px) {
    .calista-hero {
        min-height: 520px;
    }

    .calista-hero__content {
        padding-top: 150px;
        padding-bottom: 64px;
    }

    .calista-hero h1 {
        font-size: clamp(40px, 11vw, 58px);
    }

    .calista-hero__intro {
        font-size: 13.5px;
    }

    .calista-hero__trust {
        font-size: 10.5px;
    }
}

/* ------------------------------------------------------------------ *
 * 4. Section rhythm — 100px -> 76px (52px on mobile)
 * ------------------------------------------------------------------ */
.calista-section {
    padding-top: 76px;
    padding-bottom: 76px;
}

.calista-reviews.calista-section {
    padding-top: 8px;
    padding-bottom: 76px;
}

.calista-pathways.calista-section {
    padding-bottom: 44px;
}

.calista-pathways.calista-section + .calista-featured.calista-section {
    padding-top: 44px;
}

.calista-section-heading {
    margin-bottom: 32px;
}

.calista-section-heading h2 {
    font-size: clamp(32px, 3.2vw, 46px);
    line-height: 1.08;
}

.calista-section-heading > p:last-child {
    font-size: 14px;
    line-height: 1.7;
}

@media (max-width: 700px) {
    .calista-section {
        padding-top: 52px;
        padding-bottom: 52px;
    }

    .calista-reviews.calista-section {
        padding-top: 6px;
        padding-bottom: 52px;
    }

    .calista-pathways.calista-section {
        padding-bottom: 32px;
    }

    .calista-pathways.calista-section + .calista-featured.calista-section {
        padding-top: 32px;
    }

    .calista-section-heading {
        margin-bottom: 24px;
    }

    .calista-section-heading h2 {
        font-size: 33px;
    }

    .calista-section-heading > p:last-child {
        font-size: 13.5px;
    }
}

/* ------------------------------------------------------------------ *
 * 5. Proof gallery — 420px -> 336px (keeps all four images + rail)
 * ------------------------------------------------------------------ */
.calista-proof__rail {
    gap: 12px;
}

.calista-proof__rail figure {
    flex-basis: calc((100% - 36px) / 4);
    height: 336px;
}

.calista-proof__footnote {
    margin-top: 12px;
    font-size: 11px;
}

@media (max-width: 1000px) {
    .calista-proof__rail figure {
        flex-basis: min(76vw, 360px);
        height: 300px;
    }
}

@media (max-width: 700px) {
    .calista-proof__rail {
        gap: 8px;
    }

    .calista-proof__rail figure {
        height: 240px;
    }
}

/* ------------------------------------------------------------------ *
 * 6. Review band + cards — cards hug their content instead of
 *    carrying a 198px minimum height
 * ------------------------------------------------------------------ */
.calista-review-band__inner {
    min-height: 84px;
}

.calista-review-band strong {
    font-size: 24px;
}

main .calista-review-card {
    min-height: 0;
    padding: 24px 22px 22px;
}

.calista-reviews__rail {
    gap: 14px;
}

@media (max-width: 1000px) {
    main .calista-review-card {
        min-height: 0;
        padding: 22px 20px 20px;
    }
}

@media (max-width: 700px) {
    .calista-review-band__inner {
        min-height: 70px;
    }
}

/* ------------------------------------------------------------------ *
 * 7. Process cards — number sits beside its title (the old negative
 *    margin pulled the heading above the badge), content drives height
 * ------------------------------------------------------------------ */
.calista-process__grid {
    gap: 12px;
}

.calista-process__grid li {
    grid-template-columns: 30px minmax(0, 1fr);
    grid-template-rows: auto auto;
    align-content: start;
    min-height: 0;
    padding: 16px 16px 18px;
}

.calista-process__grid li > span {
    grid-column: 1;
    grid-row: 1;
    align-self: center;
}

.calista-process__grid h3 {
    grid-column: 2;
    grid-row: 1;
    align-self: center;
    margin-top: 0;
    margin-bottom: 0;
    font-size: 17.5px;
}

.calista-process__grid p {
    grid-column: 2;
    grid-row: 2;
    margin-top: 8px;
    font-size: 12.5px;
    line-height: 1.65;
}

.calista-process__more {
    margin-top: 26px;
}

.calista-process__more a {
    font-size: 11px;
    letter-spacing: .09em;
}

@media (max-width: 1000px) {
    .calista-process__grid li {
        grid-template-columns: 26px minmax(0, 1fr);
        min-height: 0;
        padding: 14px 14px 16px;
    }

    .calista-process__grid h3 {
        font-size: 16.5px;
    }
}

@media (max-width: 700px) {
    .calista-process__grid li {
        min-height: 0;
        padding: 14px 14px 16px;
    }

    .calista-process__grid p {
        font-size: 13px;
    }
}

/* ------------------------------------------------------------------ *
 * 8. Pathways — slightly shorter tiles, larger caption text
 * ------------------------------------------------------------------ */
.calista-pathway {
    min-height: 232px;
}

.calista-pathway strong {
    font-size: 24px;
}

.calista-pathway__inner span {
    max-width: 360px;
    font-size: 12.5px;
    line-height: 1.55;
}

@media (max-width: 1000px) {
    .calista-pathway,
    .calista-pathway:nth-child(4),
    .calista-pathway:nth-child(5) {
        min-height: 176px;
    }

    .calista-pathway:last-child {
        min-height: 160px;
    }

    .calista-pathway strong {
        font-size: 21px;
    }

    .calista-pathway__inner span {
        font-size: 12px;
    }
}

/* ------------------------------------------------------------------ *
 * 9. Featured product grid — tighter gap, calmer card type
 * ------------------------------------------------------------------ */
.calista-product-grid {
    gap: 14px !important;
}

.calista-product-grid .woocommerce-loop-product__title {
    font-size: 19px;
}

@media (max-width: 700px) {
    .calista-product-grid {
        gap: 10px !important;
    }

    .calista-product-grid .woocommerce-loop-product__title {
        font-size: 17px;
    }
}

/* ------------------------------------------------------------------ *
 * 10. Information pages — tighter frame, readable body copy
 * ------------------------------------------------------------------ */
.calista-page-hero {
    padding-top: 64px;
    padding-bottom: 60px;
}

.calista-page-hero h1 {
    font-size: clamp(34px, 4.6vw, 60px);
}

.calista-page-layout {
    padding-top: 48px;
    padding-bottom: 72px;
}

.calista-page-content {
    font-size: 15px;
    line-height: 1.8;
}

.calista-woo-content {
    padding-top: 40px;
    padding-bottom: 64px;
}

.woocommerce div.product .product_title {
    font-size: clamp(32px, 3.4vw, 46px);
}

@media (max-width: 700px) {
    .calista-page-hero {
        padding-top: 48px;
        padding-bottom: 44px;
    }

    .calista-page-hero h1 {
        font-size: 36px;
    }

    .calista-page-layout {
        padding-top: 30px;
        padding-bottom: 52px;
    }

    .calista-page-content {
        font-size: 14.5px;
    }

    .calista-woo-content {
        padding-top: 24px;
        padding-bottom: 48px;
    }
}

/* ------------------------------------------------------------------ *
 * 11. Footer — snugger padding, legible links
 * ------------------------------------------------------------------ */
.calista-footer__inner {
    padding-top: 34px;
    padding-bottom: 28px;
}

.calista-footer__list a {
    font-size: 13px;
}

.calista-footer__bottom .calista-container {
    min-height: 46px;
}

@media (max-width: 700px) {
    .calista-footer__inner {
        padding-top: 40px;
        padding-bottom: 32px;
    }
}

/* ------------------------------------------------------------------ *
 * 12. Spellwork list — full Shopify pathways design (authoritative)
 * ------------------------------------------------------------------ */
.calista-pathways.calista-section {
    position: relative;
    overflow: hidden;
    padding: clamp(70px, 8vw, 95px) 0;
    background:
        radial-gradient(circle at 88% 18%, rgba(84, 78, 87, .07), transparent 320px),
        radial-gradient(circle at 10% 25%, rgba(117, 102, 129, .10), transparent 260px),
        #121014;
}

.calista-pathways .calista-section-heading--center {
    max-width: 760px;
    margin: 0 auto 46px;
    text-align: center;
}

.calista-pathways .calista-section-heading--center .calista-eyebrow {
    margin: 0 0 16px;
    color: rgba(222, 218, 223, .58);
    font-size: 10px;
    letter-spacing: .34em;
}

.calista-pathways .calista-section-heading--center h2 {
    margin: 0;
    color: #f0eef1;
    font-family: var(--serif);
    font-size: clamp(34px, 5vw, 62px);
    font-weight: 400;
    letter-spacing: .035em;
    line-height: 1.02;
}

.calista-pathways .calista-section-heading--center > p:last-child {
    margin: 18px 0 0;
    color: rgba(222, 218, 223, .68);
    font-size: 13.5px;
    letter-spacing: .05em;
}

.calista-pathways__grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 20px !important;
}

.calista-pathway {
    grid-column: span 1 !important;
    min-height: 0 !important;
    aspect-ratio: 16 / 6.5;
    border: 1px solid rgba(205, 197, 211, .14) !important;
    border-radius: 3px;
    background-color: #171418 !important;
    transition: border-color 220ms ease !important;
}

.calista-pathway:nth-child(5) {
    grid-column: 1 / -1 !important;
    aspect-ratio: 16 / 4.15;
}

.calista-pathway::before {
    filter: saturate(.54) brightness(.58) contrast(.96) !important;
    transition: filter 220ms ease !important;
}

.calista-pathway::after {
    background:
        linear-gradient(90deg, rgba(13, 11, 14, .94) 0%, rgba(13, 11, 14, .75) 42%, rgba(13, 11, 14, .28) 76%, rgba(13, 11, 14, .18) 100%),
        linear-gradient(0deg, rgba(10, 9, 11, .28), rgba(10, 9, 11, .03) 68%) !important;
}

.calista-pathway__inner {
    position: absolute;
    top: 50%;
    right: auto;
    bottom: auto;
    left: clamp(25px, 4vw, 50px);
    width: min(66%, 420px);
    gap: 7px;
    transform: translateY(-50%);
}

.calista-pathway strong {
    color: #f0eef1 !important;
    font-family: var(--serif);
    font-size: clamp(24px, 2.6vw, 35px) !important;
    font-weight: 400;
    line-height: 1.04;
}

.calista-pathway__inner span {
    max-width: 420px !important;
    color: rgba(222, 218, 223, .68) !important;
    font-size: 13.5px !important;
    letter-spacing: .08em;
    line-height: 1.5 !important;
}

.calista-pathway__arrow {
    position: absolute;
    right: 22px;
    bottom: 18px;
    color: rgba(240, 238, 241, .55);
    font-size: 17px;
    font-style: normal;
    transition: color 220ms ease, transform 220ms ease;
}

.calista-pathway:hover,
.calista-pathway:focus-visible {
    border-color: rgba(205, 197, 211, .26) !important;
    transform: none !important;
}

.calista-pathway:hover::before,
.calista-pathway:focus-visible::before {
    filter: saturate(.68) brightness(.7) contrast(.97) !important;
}

.calista-pathway:hover .calista-pathway__arrow,
.calista-pathway:focus-visible .calista-pathway__arrow {
    color: rgba(240, 238, 241, .9);
    transform: translate(2px, -2px);
}

@media (max-width: 1000px) {
    .calista-pathways__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 12px !important;
    }

    .calista-pathway,
    .calista-pathway:nth-child(1),
    .calista-pathway:nth-child(2),
    .calista-pathway:nth-child(3),
    .calista-pathway:nth-child(4) {
        grid-column: span 1 !important;
        aspect-ratio: 16 / 8.4;
        min-height: 180px !important;
    }

    .calista-pathway:nth-child(5) {
        grid-column: 1 / -1 !important;
        aspect-ratio: 16 / 5.6;
    }

    .calista-pathway strong {
        font-size: 22px !important;
    }

    .calista-pathway__inner {
        left: 22px;
        width: min(74%, 380px);
    }
}

@media (max-width: 640px) {
    .calista-pathways .calista-section-heading--center {
        margin-bottom: 32px;
    }

    .calista-pathways__grid {
        grid-template-columns: minmax(0, 1fr) !important;
    }

    .calista-pathway,
    .calista-pathway:nth-child(1),
    .calista-pathway:nth-child(2),
    .calista-pathway:nth-child(3),
    .calista-pathway:nth-child(4),
    .calista-pathway:nth-child(5) {
        grid-column: 1 / -1 !important;
        aspect-ratio: 16 / 9;
        min-height: 190px !important;
    }

    .calista-pathway strong {
        font-size: 21px !important;
    }

    .calista-pathway__inner {
        left: 20px;
        width: min(78%, 340px);
    }

    .calista-pathway__inner span {
        font-size: 12px !important;
    }
}

/* ------------------------------------------------------------------ *
 * 13. Related Spells — the section shell only; card visuals come from
 *     the exact same shop-card stylesheet stack (body.woocommerce-shop
 *     + calista-catalog-cards.css), so these cards are pixel-parity
 *     with the catalog by construction.
 * ------------------------------------------------------------------ */
.calista-related,
.calista-featured.calista-related {
    padding: 32px 0 56px !important;
    background: transparent !important;
    background-image: none !important;
}

.calista-featured.calista-related::before {
    display: none !important;
}

.calista-related .calista-section-heading {
    margin-bottom: 34px !important;
}

/* Reserve the category line so titles/prices align across the row. */
.calista-related .category-list {
    min-height: 17px !important;
}

/* Keep the product page at the site container width; the shop-card scope
   would otherwise widen the whole content column to the catalog's 1360px. */
body.single-product.woocommerce-shop .calista-woo-content {
    width: min(calc(100% - 56px), var(--content, 1280px)) !important;
    max-width: var(--content, 1280px) !important;
    padding-bottom: 0 !important;
}

/* Exactly one wishlist heart per card, whatever state YITH renders. */
html body.woocommerce-shop ul.products.products-container .yith-wcwl-add-to-wishlist > *:not(.yith-wcwl-add-button):not(.yith-wcwl-wishlistaddedbrowse):not(.yith-wcwl-wishlistexistsbrowse),
html body.woocommerce-shop ul.products.products-container .yith-wcwl-add-to-wishlist .yith-wcwl-add-button.hide,
html body.woocommerce-shop ul.products.products-container .yith-wcwl-add-to-wishlist:has(.yith-wcwl-wishlistaddedbrowse:not(.hide)) .yith-wcwl-add-button,
html body.woocommerce-shop ul.products.products-container .yith-wcwl-add-to-wishlist:has(.yith-wcwl-wishlistexistsbrowse:not(.hide)) .yith-wcwl-add-button {
    display: none !important;
}

/* One ring only: strip every decoration inside the card wishlist, then ring
   just the real link. Kills stray desktop-only circles from any plugin layer. */
html body.woocommerce-shop ul.products.products-container .yith-wcwl-add-to-wishlist,
html body.woocommerce-shop ul.products.products-container .yith-wcwl-add-to-wishlist * {
    border: 0 !important;
    border-radius: 0 !important;
    background: none !important;
    box-shadow: none !important;
}
html body.woocommerce-shop ul.products.products-container .yith-wcwl-add-to-wishlist *::before,
html body.woocommerce-shop ul.products.products-container .yith-wcwl-add-to-wishlist *::after {
    content: none !important;
    display: none !important;
}
html body.woocommerce-shop ul.products.products-container .yith-wcwl-add-to-wishlist a {
    display: flex !important;
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    min-height: 36px !important;
    align-items: center !important;
    justify-content: center !important;
    border: 1px solid rgba(238, 231, 239, .24) !important;
    border-radius: 50% !important;
    background: rgba(17, 15, 18, .72) !important;
}

/* ------------------------------------------------------------------ *
 * 14. Mobile menu — refined floating dropdown
 * ------------------------------------------------------------------ */
@keyframes calista-menu-in {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 1000px) {
    .calista-nav {
        top: calc(100% + 10px) !important;
        right: 14px !important;
        left: 14px !important;
        padding: 10px 14px 12px !important;
        border: 1px solid rgba(233, 224, 239, .12) !important;
        border-radius: 16px !important;
        background: rgba(18, 15, 20, .97) !important;
        box-shadow: 0 28px 60px rgba(0, 0, 0, .55), 0 8px 20px rgba(0, 0, 0, .35) !important;
        backdrop-filter: blur(14px);
        max-height: calc(100vh - 130px);
        overflow-y: auto;
    }

    .calista-nav.is-open {
        display: block !important;
        animation: calista-menu-in .22s ease both;
    }

    .calista-header .calista-nav__list > li > a {
        margin: 2px 0 !important;
        padding: 13px 14px !important;
        border: 0 !important;
        border-radius: 10px !important;
        color: rgba(226, 220, 228, .82) !important;
        font-size: 11px !important;
        letter-spacing: .16em !important;
        transition: color .18s ease, background-color .18s ease;
    }

    .calista-header .calista-nav__list > li > a:hover,
    .calista-header .calista-nav__list > li > a:focus-visible,
    .calista-header .calista-nav__list > li.current-menu-item > a,
    .calista-header .calista-nav__list > li.current-menu-ancestor > a {
        background: rgba(200, 169, 230, .1) !important;
        color: #f6f2f8 !important;
    }

    .calista-header .calista-nav__list > li.current-menu-item > a {
        box-shadow: inset 2px 0 0 #c8a9e6;
    }

    .calista-header .calista-nav__list .sub-menu {
        margin: 2px 0 6px !important;
        padding: 2px 0 2px 12px !important;
        border-left: 1px solid rgba(200, 169, 230, .22) !important;
    }

    .calista-header .calista-nav__list .sub-menu a {
        margin: 2px 0 !important;
        padding: 10px 12px !important;
        border: 0 !important;
        border-radius: 8px !important;
        color: rgba(226, 220, 228, .66) !important;
        font-size: 10.5px !important;
        letter-spacing: .12em !important;
    }

    .calista-header .calista-nav__list .sub-menu a:hover,
    .calista-header .calista-nav__list .sub-menu .current-menu-item > a {
        background: rgba(200, 169, 230, .08) !important;
        color: #f6f2f8 !important;
    }

    .calista-header .calista-nav__list > .menu-item-has-children > a::before {
        right: 12px !important;
        color: rgba(200, 169, 230, .55);
        transition: transform .2s ease;
    }
}

/* ------------------------------------------------------------------ *
 * 15. Product summary card — the review card's border language
 * ------------------------------------------------------------------ */
body.single-product.calista-product .summary.entry-summary,
body.single-product .product-summary-wrap > .row > .summary.entry-summary,
body.single-product.calista-product .product-summary-wrap > .row > .summary.entry-summary {
    border: 1px solid rgba(233, 224, 239, .07) !important;
    border-radius: 12px !important;
}

/* ------------------------------------------------------------------ *
 * 16. Same card language for the product photos and the description
 *     (applied to the actual inner cards — outer wrappers stay borderless)
 * ------------------------------------------------------------------ */
body.single-product.calista-product .product-image-slider .img-thumbnail,
body.single-product .product-image-slider .img-thumbnail {
    border: 1px solid rgba(233, 224, 239, .07) !important;
    border-radius: 12px !important;
}

body.single-product.calista-product .woocommerce-tabs #tab-description,
body.single-product.calista-product .woocommerce-tabs #tab-additional_information,
body.single-product.calista-product .woocommerce-tabs #tab-reviews,
body.single-product .woocommerce-tabs #tab-description,
body.single-product .woocommerce-tabs #tab-additional_information,
body.single-product .woocommerce-tabs #tab-reviews {
    border: 1px solid rgba(233, 224, 239, .07) !important;
    border-radius: 12px !important;
}

body.single-product.calista-product .summary-before .product-thumbs-slider .img-thumbnail,
body.single-product .summary-before .product-thumbs-slider .img-thumbnail {
    border-color: rgba(233, 224, 239, .07) !important;
}

/* ------------------------------------------------------------------ *
 * 17. Blog posts — the About-page card language
 * ------------------------------------------------------------------ */
body.single-post #content.porto-single-page {
    width: min(calc(100% - 40px), 1020px) !important;
    margin: 48px auto 80px !important;
}

/* Full-page altar backdrop — the exact information-page (About) treatment,
   carried on the BODY so no gap above #main-content can ever show the page
   background: fixed attachment + width-fit sizing = no zoom, no scroll. */
html body.single-post {
    background-color: #100e11 !important;
    background-image:
        linear-gradient(180deg, rgba(12, 11, 13, .28), rgba(14, 13, 15, .52) 56%, rgba(16, 14, 17, .9) 84%, #100e11),
        linear-gradient(90deg, rgba(16, 14, 17, .2), rgba(16, 14, 17, .04) 50%, rgba(16, 14, 17, .2)),
        url('./calista-information-altar-hero-v2.webp');
    background-repeat: no-repeat;
    background-position: center top;
    background-size: 100% 33.333vw, 100% 33.333vw, 100% auto;
    background-attachment: fixed;
}

html body.single-post #main-content {
    background: transparent !important;
}

html body.single-post #main-content {
    margin-top: 0 !important;
}

/* Porto's loading curtain can leave a grey strip over the backdrop on posts. */
html body.single-post .loading-overlay {
    display: none !important;
}

body.single-post #content.porto-single-page > article {
    position: relative;
    z-index: 1;
}

/* Title block — About-page altar hero (transparent over the backdrop) */
body.single-post .calista-post-head {
    margin: 0 0 38px;
    padding: clamp(52px, 8vw, 96px) clamp(22px, 4vw, 56px);
    text-align: center;
}

body.single-post .calista-post-head__eyebrow {
    margin-bottom: 14px;
    color: #9b859f;
    font-family: var(--sans);
    font-size: 9.5px;
    font-weight: 600;
    letter-spacing: .28em;
    text-transform: uppercase;
}

body.single-post .calista-post-head__title {
    margin: 0 0 16px;
    color: #f2ecf4;
    font-family: var(--serif);
    font-size: clamp(30px, 4.2vw, 46px);
    font-weight: 400;
    line-height: 1.18;
    letter-spacing: .01em;
}

body.single-post .calista-post-head__meta {
    color: #a99cab;
    font-family: var(--sans);
    font-size: 11px;
    letter-spacing: .14em;
    text-transform: uppercase;
}

body.single-post .calista-post-head__dot {
    color: #6c5f70;
}

/* Content card (body of the article; the hero floats above it) */
body.single-post .post-large .post-content {
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

body.single-post .calista-post-body {
    padding: clamp(28px, 4vw, 52px) clamp(22px, 4vw, 56px) !important;
    border: 1px solid rgba(233, 224, 239, .07) !important;
    border-radius: 12px !important;
    background: #17161b !important;
    box-shadow: none !important;
}

body.single-post .entry-content {
    color: #b9adb9 !important;
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.85;
}

body.single-post .calista-post-body > p:first-child {
    color: #d5c9d7;
    font-size: 17.5px;
    line-height: 1.8;
}

/* H2: the "— Section" style from the About/product cards */
body.single-post .entry-content h2 {
    margin: 42px 0 16px !important;
    padding-top: 30px !important;
    border-top: 1px solid rgba(233, 224, 239, .07) !important;
    color: #eee7f0 !important;
    font-family: var(--serif) !important;
    font-size: clamp(22px, 2.4vw, 28px) !important;
    font-weight: 400 !important;
    line-height: 1.3 !important;
}

body.single-post .entry-content h2::before {
    margin-right: 10px;
    content: '\2014';
    color: #9b859f;
}

body.single-post .entry-content h2:first-child {
    margin-top: 0 !important;
    padding-top: 0 !important;
    border-top: 0 !important;
}

body.single-post .entry-content h3 {
    margin: 28px 0 10px !important;
    color: #e3dae6 !important;
    font-family: var(--serif) !important;
    font-size: 19.5px !important;
    font-style: normal !important;
    font-weight: 400 !important;
    line-height: 1.35 !important;
    text-decoration: none !important;
}

body.single-post .entry-content h2,
body.single-post .entry-content h2 a {
    font-style: normal !important;
    text-decoration: none !important;
}

body.single-post .entry-content strong {
    color: #e7dde9 !important;
}

body.single-post .entry-content p {
    margin: 0 0 18px !important;
}

body.single-post .entry-content ul,
body.single-post .entry-content ol {
    margin: 0 0 22px !important;
    padding: 0 !important;
    list-style: none !important;
}

body.single-post .entry-content li {
    position: relative;
    margin: 0 0 12px !important;
    padding-left: 22px !important;
}

body.single-post .entry-content li::before {
    position: absolute;
    top: .72em;
    left: 2px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: rgba(200, 169, 230, .55);
    content: '';
}

body.single-post .entry-content a {
    color: #c8a9e6 !important;
    text-decoration: underline;
    text-decoration-color: rgba(200, 169, 230, .35);
    text-underline-offset: 3px;
}

body.single-post .entry-content a:hover {
    color: #e8d9ed !important;
}

/* Disclaimer (final paragraph) as a quiet note */
body.single-post .entry-content p:last-child {
    margin: 34px 0 0 !important;
    padding: 16px 18px !important;
    border-left: 2px solid rgba(200, 169, 230, .28) !important;
    border-radius: 8px;
    background: rgba(200, 169, 230, .05);
    color: #a99cab !important;
    font-size: 13px !important;
    line-height: 1.7 !important;
}

@media (max-width: 640px) {
    body.single-post #content.porto-single-page {
        margin: 30px auto 56px !important;
    }

    body.single-post .post-large .post-content {
        padding: 26px 18px !important;
    }
}
