:root {
    /* ===== Josep.Reviews — Cobalt palette ===== */
    --color-primary:    #2F5BD0;   /* confident cobalt blue */
    --color-secondary:  #F0A93C;   /* warm amber accent */
    --color-tertiary:   #D5DEF6;   /* pale blue */
    --color-quaternary: #F3F5F9;   /* sand / page background */
    --color-text-base:  #15203A;   /* ink — deep navy, softer than pure black */
    --color-text-muted: #8089A0;   /* muted / secondary text */
}

/* Brand: highlight the ".reviews" suffix in cobalt wherever it appears in span.brand-tld.
   Uses var(--color-primary) so a future palette change only needs the :root block. */
.brand-tld {
    color: var(--color-primary);
}

/* ========== Author note inside well ==========
   Used on comparison pages where a short personal testing note needs Josep's
   image without turning the intro into a full author block. */
.prose .jr-author-well {
    align-items: center;
    display: flex;
    gap: 1rem;
}

.prose .jr-author-well__image {
    border-radius: 50%;
    height: 72px;
    margin: 0;
    object-fit: cover;
    width: 72px;
}

.prose .jr-author-well__figure {
    flex: 0 0 72px;
    margin: 0 !important;
    padding: 0 !important;
}

.prose .jr-author-well p {
    font-family: var(--sans-font);
    font-size: var(--font-size-xs);
    line-height: 1.45;
    margin: 0;
}

@media (max-width: 39.99em) {
    .prose .jr-author-well {
        align-items: flex-start;
        gap: 0.75rem;
    }

    .prose .jr-author-well__figure {
        flex-basis: 58px;
    }

    .prose .jr-author-well__image {
        height: 58px;
        width: 58px;
    }
}

/* ========== Nav bar wordmark size ==========
   Match the Josep.Reviews wordmark height across breakpoints. Width auto preserves
   the SVG aspect ratio. */
.site-header__logo-wordmark {
    height: 28px !important;
    width: auto !important;
}
@media (min-width: 50em) {
    .site-header__logo-wordmark {
        height: 32px !important;
    }
}
@media (min-width: 70em) {
    .site-header__logo-wordmark {
        height: 42px !important;
    }
}

/* ========== Nav bar override ==========
   On the homepage, the site-header is positioned absolute on top of the brand-coloured
   home-header hero. Without an explicit background, the wordmark (Josep black + .Reviews
   red) would sit on red — making .Reviews invisible. Force a solid sand bg on the nav so
   both halves of the wordmark read clearly against the same background. */
.site-header.site-header__home {
    background-color: var(--color-quaternary) !important;  /* sand */
}

/* In other contexts where bg is brand-red (cards/tabs/hero), keep .brand-tld white so it stays visible */
.has-primary-background-color .brand-tld,
.author-card-tall.red .brand-tld,
.tabs.red .brand-tld,
.hover-card__item.red:hover .brand-tld,
.home-header .brand-tld {
    color: #fff;
}

/* ========== Remove legacy U-shaped half-mark decorations (Upcashwise era) ========== */
.home-header__title-box::after,
.contact-wrap__form-card::after,
.feature-panel.has-logo::after {
    display: none !important;
    content: none !important;
}

/* ========== Primary-nav feature cards — use cobalt-recoloured SVGs ==========
   The parent CSS hard-codes the orange-themed bg-ranking.svg / bg-comparison.svg
   from upskillwisebase/assets/images. We keep cobalt copies in the child theme
   and point the rules here so a future parent update doesn't overwrite them. */
.primary-nav-feature__item--1 {
    background-image: url('assets/images/bg-ranking.svg') !important;
}
.primary-nav-feature__item--2 {
    background-image: url('assets/images/bg-comparison.svg') !important;
}
/* Hover state inherits from parent (background-color → secondary amber). */

/* ========== Dropdown layout — compact when no middle column ==========
   The parent CSS makes the dropdown panel 100% of the header width and
   uses `flex: 1` on .sub-nav to fill that width. When the level-1 list
   has no level-2 children (no .section-nav rendered), this leaves a
   giant blank gap between the left list and the feature cards.

   Fix: when no .section-nav exists, collapse the dropdown to the width
   of its actual contents and anchor it to the right edge of the trigger
   <li> so it never overflows past the viewport on the right. */

/* Establish positioning context on the parent <li> so right:0 anchors
   to the trigger, not to the entire nav <ul>. */
.primary-nav__item.has-child:has(.primary-nav__sub-nav:not(:has(.primary-nav__section-nav))) {
    position: relative;
}

/* Shrink the dropdown panel itself */
.primary-nav__item.has-child:has(.primary-nav__sub-nav:not(:has(.primary-nav__section-nav))) > .primary-nav__group {
    width: max-content;
    left: auto;
    right: 0;
}

/* Stop the sub-nav (left list) from flex-growing — it should be as wide
   as its widest item and no more. */
.primary-nav__sub-nav:not(:has(.primary-nav__section-nav)) {
    flex: 0 0 auto;
}
/* Sensible min-width so 5 short titles don't collapse into a slim column. */
.primary-nav__sub-nav:not(:has(.primary-nav__section-nav)) .primary-nav--level-1 {
    min-width: 220px;
}

/* ========== Gallery layout ==========
   Parent gallery CSS only defines custom layouts up to 6 images. Longer
   galleries otherwise auto-place one image per grid column, which can make
   the article wider than the viewport on phones. Keep galleries centered
   and thumbnails closer to the compact Upskillwise review style. */
.usw-gallery {
    max-width: 100%;
    justify-content: center;
}

.prose .usw-gallery {
    justify-content: center;
}

.usw-gallery .usw-gallery__image {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    object-position: top center;
}

.usw-gallery .usw-gallery__figure figcaption {
    box-sizing: border-box;
    width: 100%;
    margin: 0;
    padding: 0.45rem 0.15rem 0;
    background: transparent;
    color: var(--color-text-muted);
    font-family: var(--sans-font);
    font-size: 0.75rem;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

@media (min-width: 50em) {
    .prose .usw-gallery {
        grid-template-columns: repeat(12, minmax(0, 1.95rem));
        gap: 0.75rem;
        padding: 1.25rem;
    }

    .prose .usw-gallery--4 .usw-gallery__item {
        grid-column: auto / span 3;
    }

    .prose .usw-gallery--5 .usw-gallery__item,
    .prose .usw-gallery--6 .usw-gallery__item {
        grid-column: auto / span 4;
    }
}

.usw-gallery--7 .usw-gallery__item,
.usw-gallery--8 .usw-gallery__item,
.usw-gallery--9 .usw-gallery__item,
.usw-gallery--10 .usw-gallery__item,
.usw-gallery--11 .usw-gallery__item,
.usw-gallery--12 .usw-gallery__item {
    grid-column: auto / span 6;
    min-width: 0;
}

@media (min-width: 50em) {
    .prose .usw-gallery--7 .usw-gallery__item,
    .prose .usw-gallery--8 .usw-gallery__item,
    .prose .usw-gallery--9 .usw-gallery__item,
    .prose .usw-gallery--10 .usw-gallery__item,
    .prose .usw-gallery--11 .usw-gallery__item,
    .prose .usw-gallery--12 .usw-gallery__item {
        grid-column: auto / span 3;
    }
}

.prose .jr-summary-visual {
    margin: var(--spacing-em-m) 0;
    padding: 0;
    background: transparent;
}

.prose .jr-summary-visual img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

/* ========== Prose tables ==========
   Wide editorial tables should scroll inside the article instead of forcing
   the full page wider than the viewport. */
.prose table {
    display: block;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    border-collapse: collapse;
}

/* ========== Comparison table collapse ==========
   Keep the top summary rows and final CTA visible, then let readers expand
   the detailed scoring criteria only when they need them. */
.comparison-table.is-collapsed .comparison-table__data--details {
    display: none;
}

.comparison-table__toggle-wrap {
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    margin: calc(var(--spacing-l) * -0.5) 0 var(--spacing-l);
    padding-left: var(--comparison-label-col-width, 0px);
    width: 100%;
}

.comparison-table__toggle {
    min-height: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--color-text-base);
    cursor: pointer;
    font-family: var(--sans-font);
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-bold);
    line-height: 1;
    text-decoration: underline;
    text-transform: uppercase;
    text-underline-offset: 0.18em;
}

.comparison-table__toggle:focus,
.comparison-table__toggle:hover {
    background: transparent;
    color: var(--color-primary);
}

/* ========== Editorial ranking table ==========
   Keeps logos, affiliate buttons, and review links readable in prose tables. */
.jr-ranking-heading {
    margin-top: 3rem !important;
    margin-bottom: 1rem !important;
}

.jr-ranking-table-scroll {
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.jr-ranking-table th,
.jr-ranking-table td {
    vertical-align: middle;
}

.jr-ranking-table__tool {
    min-width: 180px;
    text-align: center;
}

.jr-ranking-table__logo-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 150px;
    height: 34px;
    margin: 0 auto 0.35rem;
}

.jr-ranking-table__tool-name {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.jr-ranking-table__logo {
    display: block;
    width: 150px;
    max-width: 100%;
    height: 34px;
    object-fit: contain;
    object-position: center;
}

.jr-ranking-table__tool-name {
    color: var(--color-text-base);
    line-height: 1.2;
}

.jr-ranking-table__rating {
    display: block;
    margin-top: 0.6rem;
    margin-bottom: 0.65rem;
}

.jr-ranking-table__rating .rating-circle {
    width: 46px;
    height: 46px;
    margin: 0 auto;
    isolation: isolate;
    color: var(--color-text-base);
    font-family: var(--sans-font);
    font-size: var(--font-size-xxs);
    font-weight: var(--font-weight-normal);
}

.jr-ranking-table__rating .rating-circle::after {
    top: 3px;
    right: 3px;
    bottom: 3px;
    left: 3px;
    z-index: 0;
}

.jr-ranking-table__rating .rating-circle span {
    font-size: inherit;
}

.jr-ranking-table__rating .jr-rating--44 {
    background: conic-gradient(var(--color-primary) 88%, var(--color-tertiary) 0 100%);
}

.jr-ranking-table__rating .jr-rating--46 {
    background: conic-gradient(var(--color-primary) 92%, var(--color-tertiary) 0 100%);
}

.jr-ranking-table__rating .jr-rating--43 {
    background: conic-gradient(var(--color-primary) 86%, var(--color-tertiary) 0 100%);
}

.jr-ranking-table__rating .jr-rating--42 {
    background: conic-gradient(var(--color-primary) 84%, var(--color-tertiary) 0 100%);
}

.jr-ranking-table__rating .jr-rating--41 {
    background: conic-gradient(var(--color-primary) 82%, var(--color-tertiary) 0 100%);
}

.jr-ranking-table__rating .jr-rating--40 {
    background: conic-gradient(var(--color-primary) 80%, var(--color-tertiary) 0 100%);
}

.jr-ranking-table__rating .jr-rating--39 {
    background: conic-gradient(var(--color-primary) 78%, var(--color-tertiary) 0 100%);
}

.jr-ranking-table__rating .jr-rating--38 {
    background: conic-gradient(var(--color-primary) 76%, var(--color-tertiary) 0 100%);
}

.jr-ranking-table__rating-note {
    display: block;
    max-width: 8rem;
    margin: 0.6rem auto 0.65rem;
    color: var(--color-text-muted);
    font-family: var(--sans-font);
    font-size: var(--font-size-xxs);
    font-weight: var(--font-weight-bold);
    line-height: 1.25;
}

.jr-ranking-table__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.2rem;
    padding: 0 0.8rem;
    border: 1px solid var(--color-text-base);
    background: var(--color-text-base);
    color: var(--color-white) !important;
    font-family: var(--sans-font);
    font-size: var(--font-size-xxs);
    line-height: 1.1;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
}

.jr-ranking-table__button:focus,
.jr-ranking-table__button:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
    text-decoration: none;
}

.jr-ranking-table__action {
    min-width: 180px;
    text-align: center;
}

.jr-ranking-table__tool .jr-ranking-table__action {
    display: block;
    min-width: 0;
    margin-top: 0.75rem;
}

.jr-ranking-table__tool .jr-ranking-table__button {
    width: 100%;
    max-width: 170px;
}

.jr-ranking-table__price-action {
    min-width: 180px;
    text-align: center;
}

.jr-ranking-table__price {
    display: block;
    margin-bottom: 0.95rem;
    font-family: var(--sans-font);
    font-weight: var(--font-weight-bold);
}

.jr-ranking-table__price-action .jr-ranking-table__action {
    display: block;
    min-width: 0;
}

.jr-ranking-table__price-action .jr-ranking-table__button {
    width: 100%;
    max-width: 170px;
}

.jr-ranking-table__review-link {
    display: inline-flex;
    justify-content: center;
    margin-top: 0.45rem;
    font-family: var(--sans-font);
    font-size: var(--font-size-xxs);
    line-height: 1.2;
    max-width: 100%;
    white-space: normal;
}

.jr-ranking-table__review-link--muted {
    color: var(--color-text-muted);
    text-decoration: none;
}

@media (max-width: 700px) {
    .jr-ranking-table-scroll {
        overflow-x: visible;
    }

    .jr-ranking-table-scroll .jr-ranking-table,
    .jr-ranking-table-scroll .jr-ranking-table tbody,
    .jr-ranking-table-scroll .jr-ranking-table tr,
    .jr-ranking-table-scroll .jr-ranking-table td {
        display: block;
        width: 100%;
    }

    .jr-ranking-table-scroll .jr-ranking-table thead {
        display: none;
    }

    .jr-ranking-table-scroll .jr-ranking-table tr {
        background: var(--color-white);
        border: 1px solid var(--color-tertiary);
        margin-bottom: 1.25rem;
    }

    .jr-ranking-table-scroll .jr-ranking-table td {
        border-bottom: 1px solid var(--color-tertiary);
        padding: 1rem;
    }

    .jr-ranking-table-scroll .jr-ranking-table td:last-child {
        border-bottom: 0;
    }

    .jr-ranking-table-scroll .jr-ranking-table__tool {
        min-width: 0;
        text-align: left;
    }

    .jr-ranking-table-scroll .jr-ranking-table__logo-link {
        justify-content: flex-start;
        margin-left: 0;
        margin-right: 0;
    }

    .jr-ranking-table-scroll .jr-ranking-table__tool-name {
        text-align: left;
    }

    .jr-ranking-table-scroll .jr-ranking-table__rating {
        margin-bottom: 0;
    }

    .jr-ranking-table-scroll .jr-ranking-table td:nth-child(2)::before,
    .jr-ranking-table-scroll .jr-ranking-table td:nth-child(3)::before {
        color: var(--color-text-muted);
        display: block;
        font-family: var(--sans-font);
        font-size: var(--font-size-xxs);
        font-weight: var(--font-weight-bold);
        margin-bottom: 0.45rem;
        text-transform: uppercase;
    }

    .jr-ranking-table-scroll .jr-ranking-table td:nth-child(2)::before {
        content: "Best for";
    }

    .jr-ranking-table-scroll .jr-ranking-table td:nth-child(3)::before {
        content: "Starting from";
    }
}

/* ========== Provider profile screenshots ========== */
.prose .jr-provider-shot {
    margin: var(--spacing-em) 0;
    padding: 15px 15px 0 15px !important;
    background: var(--color-quaternary);
    cursor: zoom-in;
}

.prose .jr-provider-shot img {
    display: block;
    width: 100%;
    max-width: 700px !important;
    height: auto;
    aspect-ratio: 16 / 9;
    border: 0;
    border-radius: 10px 10px 0 0;
    margin: 0 auto;
    object-fit: cover;
    object-position: top center;
}

.prose .jr-provider-shot figcaption {
    box-sizing: border-box;
    width: calc(100% + 30px);
    max-width: none;
    margin-top: 0;
    margin-left: -15px;
    padding: var(--spacing-em-s) 0 0;
    background: var(--color-white);
    color: var(--color-text-muted);
    font-family: var(--sans-font);
    font-size: var(--font-size-xs);
    line-height: var(--line-height-sm);
    text-align: left;
}

@media (min-width: 40em) {
    .prose .jr-provider-shot {
        padding: 50px 50px 0 50px !important;
    }

    .prose .jr-provider-shot figcaption {
        width: calc(100% + 100px);
        margin-left: -50px;
    }
}

.prose .jr-profile-pricing {
    margin: 1rem 0 1.25rem;
    padding: 0.9rem 1rem;
    border-left: 3px solid var(--color-secondary);
    background: var(--color-quaternary);
}

.prose .jr-profile-pricing h4,
.prose .jr-profile-gallery h4 {
    margin-top: 0 !important;
    margin-bottom: 0.45rem !important;
    font-family: var(--sans-font);
    font-size: var(--font-size-xs);
}

.prose .jr-profile-pricing p {
    margin-bottom: 0;
}

.prose .jr-method-chart {
    margin: 1rem 0 1.4rem;
    padding: 1rem;
    background: var(--color-quaternary);
    font-family: var(--sans-font);
}

.prose .jr-method-chart__title {
    margin: 0 0 0.75rem;
    color: var(--color-text-base);
    font-family: var(--sans-font);
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-bold);
    line-height: 1.25;
}

.prose .jr-method-chart br {
    display: none;
}

.prose .jr-method-chart__row {
    display: grid;
    grid-template-columns: minmax(8.5rem, 1.05fr) minmax(7rem, 1.7fr) minmax(5.4rem, 0.7fr);
    align-items: center;
    gap: 0.6rem;
    margin-top: 0.55rem;
}

.prose .jr-method-chart__label,
.prose .jr-method-chart__value,
.prose .jr-method-chart__note {
    color: var(--color-text-muted);
    font-family: var(--sans-font);
    font-size: var(--font-size-xxs);
    line-height: 1.35;
}

.prose .jr-method-chart__value {
    color: var(--color-text-base);
    font-weight: var(--font-weight-bold);
    text-align: left;
}

.prose .jr-method-chart__bar {
    display: block;
    height: 0.7rem;
    overflow: hidden;
    border: 1px solid var(--color-grey-light);
    background: var(--color-white);
}

.prose .jr-method-chart__bar span {
    display: block;
    height: 100%;
    background: #25875A;
}

.prose .jr-method-chart__bar--core span {
    width: 100%;
}

.prose .jr-method-chart__bar--strong span {
    width: 82%;
}

.prose .jr-method-chart__bar--important span {
    width: 68%;
}

.prose .jr-method-chart__bar--supporting span {
    width: 52%;
}

.prose .jr-method-chart__note {
    margin: 0.75rem 0 0;
}

@media (max-width: 39.99em) {
    .prose .jr-method-chart__row {
        grid-template-columns: minmax(0, 1fr) max-content;
        gap: 0.35rem 0.6rem;
    }

    .prose .jr-method-chart__label {
        grid-column: 1 / 2;
        grid-row: 1;
    }

    .prose .jr-method-chart__value {
        grid-column: 2 / 3;
        grid-row: 1;
        text-align: right;
        white-space: nowrap;
    }

    .prose .jr-method-chart__bar {
        grid-column: 1 / 3;
        grid-row: 2;
    }
}

.prose .jr-profile-pros-cons {
    margin: 1rem 0 1.2rem;
    border-top: 1px solid var(--color-grey-light);
}

.prose .jr-profile-pros-cons details {
    border-bottom: 1px solid var(--color-grey-light);
}

.prose .jr-profile-pros-cons summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 52px;
    padding: 0.8rem 0;
    color: var(--color-text-base);
    cursor: pointer;
    font-family: var(--sans-font);
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-bold);
    line-height: 1.25;
    list-style: none;
}

.prose .jr-profile-pros-cons summary::-webkit-details-marker {
    display: none;
}

.prose .jr-profile-pros-cons summary > span:first-child {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    min-width: 0;
}

.prose .jr-profile-pros-cons summary > span:first-child::before {
    flex: 0 0 auto;
    width: 1.1rem;
    font-size: 1rem;
    font-weight: var(--font-weight-bold);
    line-height: 1;
    text-align: center;
}

.prose .jr-profile-pros-cons__details--pros summary > span:first-child::before {
    content: "\2713";
    color: #25875A;
}

.prose .jr-profile-pros-cons__details--cons summary > span:first-child::before {
    content: "\274C";
    color: #E3212C;
    font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", var(--sans-font);
    font-size: 0.68rem;
    font-weight: var(--font-weight-normal);
}

.prose .jr-profile-pros-cons summary::before {
    flex: 0 0 auto;
    width: 1.1rem;
    font-size: 1rem;
    font-weight: var(--font-weight-bold);
    line-height: 1;
    text-align: center;
}

.prose .jr-profile-pros-cons__details--pros summary::before {
    content: "\2713";
    color: #25875A;
}

.prose .jr-profile-pros-cons__details--cons summary::before {
    content: "\274C";
    color: #E3212C;
    font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", var(--sans-font);
    font-size: 0.68rem;
    font-weight: var(--font-weight-normal);
}

.prose .jr-profile-pros-cons summary > span:first-child::before {
    content: none;
}

.prose .jr-profile-pros-cons summary::after {
    content: "";
    flex: 0 0 auto;
    width: 0.55rem;
    height: 0.55rem;
    margin-left: auto;
    margin-right: 0.15rem;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    transition: transform 160ms ease;
}

.prose .jr-profile-pros-cons details[open] summary::after {
    transform: rotate(225deg);
}

.prose .jr-profile-pros-cons__chevron {
    flex: 0 0 auto;
    width: 0.55rem;
    height: 0.55rem;
    margin-right: 0.15rem;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    transition: transform 160ms ease;
}

.prose .jr-profile-pros-cons details[open] .jr-profile-pros-cons__chevron {
    transform: rotate(225deg);
}

.prose .jr-profile-pros-cons__body {
    padding: 0 0 0.9rem;
    font-family: var(--sans-font);
}

.prose .jr-profile-pros-cons__body ul {
    display: grid;
    gap: 0.65rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.prose .jr-profile-pros-cons__body li {
    position: relative;
    margin: 0;
    padding-left: 1.45rem;
}

.prose .jr-profile-pros-cons__body li::before {
    position: absolute;
    top: 0.08rem;
    left: 0;
    width: 1.05rem;
    font-family: var(--sans-font);
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-bold);
    line-height: 1;
    text-align: center;
}

.prose .jr-profile-pros-cons__details--pros .jr-profile-pros-cons__body li::before {
    content: "\2713";
    color: #25875A;
}

.prose .jr-profile-pros-cons__details--cons .jr-profile-pros-cons__body li::before {
    content: "\274C";
    color: #E3212C;
    font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", var(--sans-font);
    font-size: 0.68rem;
    font-weight: var(--font-weight-normal);
}

.prose .jr-profile-pros-cons__body li > strong {
    display: block;
    margin-bottom: 0.16rem;
    font-size: var(--font-size-xs);
    line-height: 1.25;
}

.prose .jr-profile-pros-cons__description {
    display: block;
    color: var(--color-text-muted);
    font-family: var(--sans-font);
    font-size: var(--font-size-xxs);
    line-height: 1.45;
    max-width: 44rem;
}

.prose .jr-profile-pros-cons__description p {
    margin: 0;
    color: inherit;
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
}

.prose .jr-profile-pros-cons__description strong {
    display: inline;
    margin: 0;
    font-size: inherit;
    line-height: inherit;
}

/* ========== Legacy review pros/cons ==========
   Match the older ACF pros_cons block to the newer LeadGen accordion style. */
.prose:is(#pros-cons, #pros-and-cons) .o-table.o-table--2up {
    display: block;
    margin: var(--spacing-em-m) 0;
}

.prose:is(#pros-cons, #pros-and-cons) .o-table.o-table--2up .o-table__item {
    margin: 0;
    border: 0;
    border-top: 1px solid var(--color-grey-light);
}

.prose:is(#pros-cons, #pros-and-cons) .o-table.o-table--2up .o-table__item:last-of-type {
    border-bottom: 1px solid var(--color-grey-light);
}

.prose:is(#pros-cons, #pros-and-cons) .o-table.o-table--2up .o-table__header {
    position: static;
    z-index: auto;
    display: flex;
    align-items: center;
    gap: 1.1rem;
    padding: 0.7rem 0;
    background: transparent;
    text-align: left;
}

.prose:is(#pros-cons, #pros-and-cons) .o-table.o-table--2up .o-table__header::before {
    flex: 0 0 auto;
    width: 1.1rem;
    font-family: var(--sans-font);
    font-size: 1rem;
    font-weight: var(--font-weight-bold);
    line-height: 1;
    text-align: center;
}

.prose:is(#pros-cons, #pros-and-cons) .o-table.o-table--2up .o-table__item--pros .o-table__header::before {
    content: "\2713";
    color: #25875A;
}

.prose:is(#pros-cons, #pros-and-cons) .o-table.o-table--2up .o-table__item--cons .o-table__header::before {
    content: "\274C";
    color: #E3212C;
    font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", var(--sans-font);
    font-size: 0.68rem;
    font-weight: var(--font-weight-normal);
}

.prose:is(#pros-cons, #pros-and-cons) .o-table.o-table--2up .o-table__header h3 {
    margin: 0;
    font-family: var(--sans-font);
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-bold);
    line-height: 1.25;
}

.prose:is(#pros-cons, #pros-and-cons) .o-table.o-table--2up .o-table__body {
    padding: 0 0 0.9rem;
    font-family: var(--sans-font);
}

.prose:is(#pros-cons, #pros-and-cons) .o-table.o-table--2up .o-table__more {
    display: block;
    margin-top: 0;
}

.prose:is(#pros-cons, #pros-and-cons) .o-table.o-table--2up .o-table__footer,
.prose:is(#pros-cons, #pros-and-cons) .o-table.o-table--2up .o-table__expand {
    display: none !important;
}

.prose:is(#pros-cons, #pros-and-cons) .o-table.o-table--2up .checkmark,
.prose:is(#pros-cons, #pros-and-cons) .o-table.o-table--2up .cross {
    position: relative;
    display: block;
    margin: 0.95rem 0 0;
    padding-left: 1.45rem;
    color: var(--color-text-base);
    font-family: var(--sans-font);
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-bold);
    line-height: 1.25;
}

.prose:is(#pros-cons, #pros-and-cons) .o-table.o-table--2up .o-table__body > .checkmark:first-child,
.prose:is(#pros-cons, #pros-and-cons) .o-table.o-table--2up .o-table__body > .cross:first-child {
    margin-top: 0;
}

.prose:is(#pros-cons, #pros-and-cons) .o-table.o-table--2up .checkmark::before,
.prose:is(#pros-cons, #pros-and-cons) .o-table.o-table--2up .cross::before {
    position: absolute;
    top: 0.08rem;
    left: 0;
    display: block;
    width: 1.05rem;
    height: auto;
    border-radius: 0;
    background: none;
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-bold);
    line-height: 1;
    text-align: center;
}

.prose:is(#pros-cons, #pros-and-cons) .o-table.o-table--2up .checkmark::before {
    content: "\2713";
    color: #25875A;
}

.prose:is(#pros-cons, #pros-and-cons) .o-table.o-table--2up .cross::before {
    content: "\274C";
    color: #E3212C;
    font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", var(--sans-font);
    font-size: 0.68rem;
    font-weight: var(--font-weight-normal);
}

.prose:is(#pros-cons, #pros-and-cons) .o-table.o-table--2up .checkmark + p,
.prose:is(#pros-cons, #pros-and-cons) .o-table.o-table--2up .cross + p {
    max-width: 44rem;
    margin-top: 0.16rem;
    margin-left: 1.45rem;
    color: var(--color-text-muted);
    font-family: var(--sans-font);
    font-size: var(--font-size-xxs);
    line-height: 1.45;
}

.prose .jr-profile-gallery {
    margin: 1rem 0 1.4rem;
    padding: 1rem;
    background: var(--color-quaternary);
}

.prose .jr-profile-gallery__grid {
    display: grid;
    gap: 0.75rem;
    justify-content: center;
}

.prose .jr-profile-gallery figure {
    margin: 0;
    padding: 0 !important;
    background: transparent;
    cursor: zoom-in;
    min-width: 0;
}

.prose .jr-profile-gallery img {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    height: auto;
    aspect-ratio: 16 / 9;
    border: 1px solid var(--color-grey-light);
    object-fit: cover;
    object-position: top center;
}

.prose .jr-profile-gallery figcaption {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    margin-top: 0.35rem;
    margin-left: 0;
    padding: 0;
    background: transparent;
    color: var(--color-text-muted);
    font-family: var(--sans-font);
    font-size: var(--font-size-xxs);
    line-height: 1.2;
    text-align: left;
}

.prose .jr-profile-cta {
    margin: 1.25rem 0 1.6rem;
    text-align: center;
}

.prose .jr-profile-cta .btn {
    display: inline-flex;
}

.prose .jr-profile-review-link {
    display: block;
    margin-top: 0.55rem;
    font-family: var(--sans-font);
    font-size: var(--font-size-xxs);
}

@media (min-width: 50em) {
    .prose .jr-profile-gallery__grid {
        grid-template-columns: repeat(3, minmax(0, 11rem));
    }
}

/* ========== Review summary price note ========== */
.review-summary-bar__free-plan {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: 0.35rem !important;
    color: var(--color-text-muted);
    font-family: var(--sans-font);
    font-size: var(--font-size-xxs);
    line-height: 1.2;
}

.review-summary-bar__free-plan-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1rem;
    height: 1rem;
    border-radius: 999px;
    color: #fff;
    flex: 0 0 auto;
}

.review-summary-bar__free-plan-icon svg {
    width: 0.72rem;
    height: 0.72rem;
    fill: currentColor;
}

.review-summary-bar__free-plan--yes .review-summary-bar__free-plan-icon {
    background: #25875A;
}

.review-summary-bar__free-plan--trial .review-summary-bar__free-plan-icon {
    background: #25875A;
}

.review-summary-bar__free-plan--no .review-summary-bar__free-plan-icon {
    background: #9AA2B4;
}

/* ========== Review floating navigation ========== */
.single-review .article__sidebar.sidebar {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1200;
}

@media (min-width: 1024px) {
    .single-review .article__sidebar.sidebar {
        position: sticky;
        top: 80px;
        bottom: auto;
        z-index: 5;
    }

    .admin-bar.single-review .article__sidebar.sidebar {
        top: 120px;
    }
}

/* ========== Platform cards ========== */
.platform-card__title a {
    color: inherit;
    text-decoration: none;
}

.platform-card__title a:focus,
.platform-card__title a:hover {
    text-decoration: underline;
}

/* ========== Tooltips ==========
   Parent theme uses the secondary amber tooltip. Josep.Reviews tooltips should
   feel closer to the navy/blue review UI. */
.tippy-box[data-theme~='usw'] {
    background-color: var(--color-text-base);
    color: var(--color-white);
    box-shadow: 0 12px 28px rgba(21, 32, 58, 0.22);
}

.tippy-box[data-theme~='usw'][data-placement^='top'] > .tippy-arrow::before {
    border-top-color: var(--color-text-base);
}

.tippy-box[data-theme~='usw'][data-placement^='bottom'] > .tippy-arrow::before {
    border-bottom-color: var(--color-text-base);
}

.tippy-box[data-theme~='usw'][data-placement^='left'] > .tippy-arrow::before {
    border-left-color: var(--color-text-base);
}

.tippy-box[data-theme~='usw'][data-placement^='right'] > .tippy-arrow::before {
    border-right-color: var(--color-text-base);
}

@media (max-width: 49.99em) {
    .jr-ranking-table__tool {
        min-width: 145px;
    }

    .jr-ranking-table__logo-link {
        width: 125px;
        height: 30px;
    }

    .jr-ranking-table__logo {
        width: 125px;
        height: 30px;
    }
}
