.directory-card-image { position: absolute; inset: 0 0 2.8rem; display: grid; place-items: center; padding: 1rem; }
.directory-card-image img { width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.directory-card-excerpt { margin: 0; padding: .65rem; overflow-wrap: anywhere; }
.rank-card .rank-actions { z-index: 2; }
.directory-review-image img, .article-lead img { display: block; width: 100%; height: auto; object-fit: contain; }
.directory-category-description { margin-top: 1.5rem; overflow-wrap: anywhere; }
.directory-category-description img, .showcase-copy img, .article-content img { max-width: 100%; height: auto; }
.directory-article-grid { grid-template-columns: minmax(0, 1fr); }
.directory-review-excerpt { font-weight: 700; }
.similar-row .site-card-preview > img { width: 100%; height: 100%; object-fit: contain; }
@media (max-width: 560px) {
    .category-page .rank-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
    .category-page .rank-card .rank-actions a { min-height: 44px; }
}

.directory-card-media { position: relative; min-width: 0; }
.category-page .directory-card-media .rank-actions { z-index: 5; }
.directory-site-icon {
    display: inline-grid;
    place-items: center;
    flex: 0 0 1.125rem;
    width: 1.125rem;
    height: 1.125rem;
    overflow: hidden;
    vertical-align: middle;
}
.site-icon.directory-site-icon.has-site-image {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}
.directory-site-icon.has-site-image img { padding: 0; border-radius: 2px; }
.directory-site-icon img {
    display: block;
    width: 100%;
    height: 100%;
    padding: 1px;
    object-fit: contain;
}
.category-page .rank-caption { align-items: center; min-width: 0; }
.category-page .rank-caption .thumbnail-review-name { flex: 1 1 auto; }
.category-page .rank-caption .thumbnail-review-name strong { overflow-wrap: anywhere; }
.category-page .rank-actions a:focus-visible,
.review-nav a:focus-visible,
.site-list .site-name:focus-visible { outline: 2px solid #fff; outline-offset: -2px; }
.site-list .site-name { min-width: 0; overflow-wrap: anywhere; }
.showcase-copy iframe, .article-content iframe { max-width: 100%; }
.showcase-copy, .article-content { overflow-wrap: anywhere; }

@media (max-width: 619px) {
    body:is(.home-page, .review-redesign) .review-nav {
        display: grid !important;
        grid-template-columns: repeat(5, minmax(0,1fr));
        height: auto !important;
        max-width: 100%;
        overflow: visible !important;
        gap: 2px !important;
    }
    body:is(.home-page, .review-redesign) .review-nav a {
        display: flex;
        justify-content: center;
        align-items: center;
        min-width: 0 !important;
        min-height: 44px;
        height: auto !important;
        padding: 4px 2px !important;
        white-space: normal !important;
        text-align: center;
        line-height: 1.15;
    }
}
@media (hover: none), (max-width: 600px) {
    .category-page .directory-card-media .rank-actions { justify-items: stretch; }
    .category-page .directory-card-media .rank-actions a { min-height: 44px; }
}

.global-site-header__nav a:focus-visible,
.global-site-header__mobile-nav a:focus-visible,
.global-site-header__menu:focus-visible,
.global-site-header__search:focus-visible { outline: 2px solid #fff; outline-offset: -2px; }
@media (min-width: 620px) and (max-width: 820px) {
    .global-site-header__nav,
    .global-site-header__nav a { min-height: 44px; }
}
@media (max-width: 619px) {
    .global-site-header__inner { grid-template-columns: 44px minmax(0, 1fr) 44px; }
    .global-site-header__menu, .global-site-header__search { width: 44px; height: 44px; }
    .global-site-header__menu span { left: 13px; translate: 0 6px; }
    .global-site-header__search::before, .global-site-header__search::after { translate: 6px 6px; }
    .global-site-header__mobile-nav { height: auto; min-height: 46px; }
    .global-site-header__mobile-nav a { min-height: 44px; padding-inline: 4px; white-space: normal; text-align: center; }
    .global-site-header__categories a { min-height: 44px; gap: 5px; }
}

@media (min-width: 601px) and (max-width: 767px) {
    .category-page .directory-card-media .rank-actions {
        position: static !important;
        width: auto !important;
        padding: 6px !important;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        transform: none !important;
    }
    .category-page .directory-card-media .rank-actions a { min-height: 44px; }
}

/* Use the review media and copy to size the hero. Keep actions in their own row. */
.review-shell .review-showcase {
    display: block !important;
    height: auto !important;
    min-height: 0 !important;
}
.review-shell .review-showcase .showcase-content {
    grid-template-columns: minmax(0, 2fr) minmax(0, 3fr) !important;
    align-items: start !important;
    gap: clamp(12px, 2vw, 26px) !important;
}
.review-shell .review-showcase .showcase-content:not(:has(.directory-review-image)) {
    grid-template-columns: minmax(0, 1fr) !important;
}
.review-shell .review-showcase .directory-review-image {
    display: block !important;
    height: auto !important;
    aspect-ratio: auto !important;
    align-self: start !important;
}
.review-shell .review-showcase .directory-review-image img {
    height: auto !important;
    max-height: 360px;
    object-fit: contain !important;
    object-position: top left;
}
.review-shell .review-showcase .review-copy-panel {
    display: block !important;
    height: auto !important;
    min-width: 0 !important;
    padding: 0 !important;
    align-self: start !important;
}
.review-shell .review-showcase .review-copy-panel .showcase-copy {
    display: block !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: clamp(220px, 34vw, 360px) !important;
    overflow: auto !important;
    overscroll-behavior-y: auto;
    padding: 4px 10px 4px 0 !important;
    scrollbar-gutter: stable;
}
.review-shell .review-showcase .directory-review-excerpt { padding-top: 2px; }
.review-shell .review-showcase .hero-actions {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)) !important;
    margin-top: 12px !important;
}
.review-shell .review-showcase .hero-actions a {
    height: auto !important;
    min-height: 44px;
    position: relative;
    padding: 8px 12px;
    text-align: center;
    overflow-wrap: anywhere;
}
@media (max-width: 720px) {
    .review-shell .review-showcase .showcase-content { grid-template-columns: minmax(0, 1fr) !important; }
    .review-shell .review-showcase .directory-review-image img { max-height: 280px; object-position: center; }
    .review-shell .review-showcase .review-copy-panel .showcase-copy {
        max-height: none !important;
        overflow: visible !important;
        padding: 0 !important;
        scrollbar-gutter: auto;
    }
}

.all-categories-grid .category-icon-card {
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto;
    min-width: 0;
    background: radial-gradient(ellipse at 50% 40%, #46161c, #1d1013 54%, #121012 80%) !important;
}
.category-icon-card .category-thumbnail-icon {
    z-index: 1;
    display: grid;
    place-items: center;
    min-height: 0;
    padding-top: clamp(9px, 2vw, 24px);
    color: #ff717d;
}
.category-thumbnail-icon svg {
    width: clamp(34px, 42%, 118px);
    height: auto;
    max-height: 90%;
    filter: drop-shadow(0 0 13px rgb(226 40 60 / 40%));
}
.category-icon-card .all-category-card__content {
    position: relative;
    inset: auto !important;
    min-height: clamp(34px, 4vw, 56px);
    padding: 5px 7px;
}
.category-icon-card .all-category-card__content h2 {
    font-size: clamp(11px, 1.3vw, 18px) !important;
    overflow-wrap: anywhere;
}
.category-icon-card .all-category-card__count {
    top: clamp(5px, 1.1vw, 12px);
    right: clamp(5px, 1.1vw, 12px);
}
.category-icon-card:focus-visible { outline: 2px solid #fff; outline-offset: -3px; }
@media (prefers-reduced-motion: reduce) {
    .all-categories-grid .category-icon-card,
    .all-categories-grid .category-icon-card::after { transition: none; }
}

.category-page .directory-listing-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}
.category-page .directory-listing-card .rank-visual {
    aspect-ratio: 16 / 10 !important;
    width: 100%;
    border: 0 !important;
    border-radius: 9px;
    box-sizing: border-box;
    overflow: hidden;
    background: radial-gradient(ellipse at center, #251a1e, #100d0f 78%) !important;
}
.directory-listing-card .directory-card-image { inset: 0; padding: 0; }
.directory-listing-card .directory-card-image img { display: block; object-fit: cover; object-position: top; }
.category-page .directory-listing-card .rank-caption {
    position: absolute;
    inset: auto 0 0;
    justify-content: center;
    gap: 7px;
    padding: 14px 27px 7px;
    background: linear-gradient(180deg, transparent, rgb(8 6 8 / 65%) 76%, rgb(8 6 8 / 90%));
    text-shadow: 0 1px 4px #000;
}
.category-page .directory-listing-card .rank-caption b {
    position: absolute;
    left: 9px;
    bottom: 8px;
    color: #e2dce0;
    font-size: 12px !important;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
}
.category-page .directory-listing-card .rank-caption .thumbnail-review-name {
    flex: 0 1 auto;
    text-align: center;
}
.category-page .directory-listing-card .rank-caption .thumbnail-review-name strong { text-align: center !important; }
.category-page .directory-listing-card .rank-caption strong {
    font-size: clamp(12px, 1vw, 16px) !important;
    text-transform: none !important;
}
.category-page .directory-listing-card .directory-card-excerpt {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    order: 2;
    overflow: hidden;
    margin: 6px 5px 4px;
    padding: 0;
    color: #c9c4c8;
    font-size: clamp(12px, 1vw, 14px);
    font-weight: 400;
    line-height: 1.45;
}
.category-page .directory-category-description {
    max-width: 76ch;
    color: #d3cdd0;
    font-size: clamp(14px, 1.1vw, 16px);
    line-height: 1.6;
}
@media (hover: none), (max-width: 1200px) {
    .category-page .directory-listing-card .directory-card-media { display: contents; }
    .category-page .directory-listing-card .directory-card-media .rank-actions {
        order: 3;
        position: static !important;
        width: auto !important;
        padding: 6px !important;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        transform: none !important;
    }
    .category-page .directory-listing-card .rank-actions a { min-height: 44px; }
}

.category-page .directory-category-hero {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    align-items: start !important;
    gap: clamp(8px, 1.2vw, 16px) !important;
    margin: 0 0 6px !important;
    padding-bottom: 6px !important;
}
.category-page .directory-category-hero:not(:has(.directory-featured-grid)) { grid-template-columns: minmax(0, 1fr) !important; }
.category-page .directory-featured-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    min-width: 0;
}
.category-page .directory-category-hero .directory-category-description {
    grid-column: auto !important;
    order: 0 !important;
    min-width: 0;
    max-height: clamp(240px, 29vw, 440px) !important;
    overflow: auto !important;
    margin: 0 !important;
    padding: 4px 12px !important;
    border-left: 1px solid #72313a !important;
    font-weight: 400;
}
.category-page .directory-category-hero .directory-category-description p {
    margin: 0 0 .75em !important;
    font-size: inherit !important;
    font-weight: 400;
    line-height: inherit !important;
}
.category-page .directory-category-hero .directory-category-description:focus-visible {
    outline: 2px solid #fff;
    outline-offset: -2px;
}
@media (max-width: 840px) {
    .category-page .directory-category-hero { grid-template-columns: minmax(0, 1fr) !important; }
    .category-page .directory-category-hero .directory-category-description {
        max-height: none !important;
        overflow: visible !important;
        padding: 10px 0 0 !important;
        border: 0 !important;
        border-top: 1px solid #72313a !important;
    }
}

.category-page .directory-listing-card .rank-visual { position: relative; }
@media (hover: hover) and (min-width: 1201px) {
    .category-page .directory-listing-card .rank-visual { min-height: 148px; }
    .category-page .directory-listing-card .directory-card-media .rank-actions {
        top: 50% !important;
        left: 50% !important;
        transform: translate(-50%, -50%) !important;
    }
}

/* Draw the interaction frame without changing the card's dimensions. */
.category-page .directory-listing-card { position: relative; border-radius: 9px; }
.category-page .directory-listing-card::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 6;
    border: 3px solid #ed4b59;
    border-radius: inherit;
    opacity: 0;
    pointer-events: none;
}
.category-page .directory-listing-card:focus-within::after { opacity: 1; }
@media (hover: hover) {
    .category-page .directory-listing-card:hover::after { opacity: 1; }
}

.category-page .directory-listing-card .rank-actions a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
}

/* The description scrolls alongside the featured row instead of setting its height. */
@media (min-width: 841px) {
    .category-page .directory-category-hero:has(.directory-featured-grid) .directory-category-description {
        contain: size;
        align-self: stretch;
        max-height: none !important;
    }
}
.category-page .directory-category-hero + .reference-rankings { padding-top: 6px !important; }
.category-page .category-content .rank-grid { gap: clamp(7px, 1vw, 12px) !important; }
@media (hover: hover) and (min-width: 1201px) {
    .category-page .directory-listing-card .rank-visual { min-height: 180px; }
}
@media (max-width: 840px) {
    .category-page .directory-category-hero .directory-category-description {
        max-height: clamp(150px, 32vw, 215px) !important;
        overflow: auto !important;
        scrollbar-gutter: stable;
        padding-right: 8px !important;
    }
}

.review-shell .similar-sites h2 { text-align: left !important; justify-content: flex-start !important; }
.review-shell .similar-sites .similar-row .site-card-preview.has-related-thumbnail {
    background: radial-gradient(ellipse at center, #25191e, #100d0f 80%) !important;
}
.review-shell .similar-sites .related-thumbnail {
    position: absolute;
    inset: 0;
    display: block;
    overflow: hidden;
}
.review-shell .similar-sites .similar-row .related-thumbnail > img {
    position: static !important;
    display: block;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    object-position: top;
    transform: none !important;
    opacity: 1 !important;
}
.review-shell .similar-sites .site-card-preview.has-related-thumbnail::before { z-index: 2; pointer-events: none; }
.review-shell .similar-sites .site-card-label .directory-site-icon {
    display: inline-grid !important;
    padding: 0 !important;
    border: 0 !important;
    box-shadow: none !important;
    font-size: 11px !important;
}
.review-shell .similar-sites .related-review-link,
.review-shell .similar-sites .related-review-name { cursor: pointer; pointer-events: auto !important; }
.review-shell .similar-sites .related-review-link::before,
.review-shell .similar-sites .related-review-link::after { pointer-events: none !important; }
.review-shell .similar-sites .related-review-link:is(:hover, :focus-visible) .related-review-name {
    text-decoration: underline;
    text-underline-offset: 3px;
}
.review-shell .similar-sites .related-review-link:focus-visible {
    outline: 2px solid #fff;
    outline-offset: -3px;
}
:is(.review-shell, .category-shell) .review-categories h2 { text-align: left !important; justify-content: flex-start !important; }
:is(.review-shell, .category-shell) .category-gallery .review-category-icon-card {
    display: grid !important;
    grid-template-rows: minmax(0, 1fr) auto;
    padding: 0 !important;
    background: radial-gradient(ellipse at 50% 39%, #491419, #211014 52%, #100d0f 82%) !important;
}
:is(.review-shell, .category-shell) .category-gallery .review-category-icon-card::before { pointer-events: none; }
:is(.review-shell, .category-shell) .review-category-icon-card .category-thumbnail-icon {
    position: relative;
    display: grid !important;
    place-items: center;
    min-height: 0;
    padding: 5px;
    color: #ff717d;
}
:is(.review-shell, .category-shell) .review-category-icon-card .category-thumbnail-icon svg {
    display: block;
    width: clamp(30px, 41%, 105px);
    height: auto;
    max-height: 85%;
}
:is(.review-shell, .category-shell) .category-gallery .review-category-icon-card strong {
    position: relative !important;
    inset: auto !important;
    z-index: 2;
    min-width: 0;
    text-align: center;
}
.blog-hero .directory-blog-title {
    display: block !important;
    min-width: 0;
    container-type: inline-size;
}
.blog-hero .directory-blog-title h1 {
    max-width: none !important;
    margin: 0;
    color: #f5eff3;
    font-size: clamp(8px, 2.55vw, 42px) !important;
    font-size: clamp(8px, 2.55cqi, 42px) !important;
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: normal;
    white-space: nowrap;
}
.blog-hero .directory-blog-title h1 strong { color: #f03949; font-weight: 850; }

:is(.review-shell, .category-shell) .category-gallery .review-category-icon-card {
    grid-template-columns: minmax(0, 1fr);
    justify-content: stretch;
    align-items: stretch;
    justify-items: stretch;
}
:is(.review-shell, .category-shell) .review-category-art {
    position: relative;
    min-width: 0;
    min-height: 0;
    overflow: hidden;
}
:is(.review-shell, .category-shell) .review-category-art::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 32%;
    background: linear-gradient(transparent, rgb(10 5 8 / 65%));
    pointer-events: none;
}
:is(.review-shell, .category-shell) .review-category-art img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
:is(.review-shell, .category-shell) .category-gallery .review-category-icon-card strong { width: 100%; box-sizing: border-box; }
.article-sidebar .article-category-sidebar { margin-top: 12px; }
.article-sidebar .article-category-sidebar:first-child { margin-top: 0; }
@media (max-width: 760px) {
    .article-shell .article-sidebar {
        display: grid;
        position: static;
        gap: 10px;
        margin-top: 14px;
    }
    .article-shell .article-sidebar .article-category-sidebar { margin-top: 0; }
}
.all-categories-grid .category-icon-card > .directory-category-art-image {
    width: 100%;
    height: 100%;
    min-height: 0;
    display: block;
    object-fit: cover;
}
.compact-more-categories .category-gallery .directory-category-art-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-page .home-editorial { margin: 16px 0; }
.home-page .home-editorial .home-blog__grid { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
.home-page .home-editorial .home-blog__card {
    display: flex !important;
    flex-direction: column;
    padding: 0 !important;
    color: #f5eef2;
    text-decoration: none;
}
.home-editorial-image { aspect-ratio: 2.4 / 1; overflow: hidden; border-bottom: 1px solid #6e353b; }
.home-editorial-image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.home-editorial-copy { flex: 1 1 auto; padding: clamp(10px, 1.2vw, 18px); }
.home-page .home-editorial .home-blog__card h3 { max-width: none; font-size: clamp(14px, 1.35vw, 19px); }
.home-page .home-editorial .home-blog__card p { min-height: 0; margin: 0; color: #ccc3c8; font-size: clamp(12px, 1.1vw, 15px); }
.home-page .home-editorial .home-blog__read {
    display: flex;
    justify-content: space-between;
    padding: 8px clamp(10px, 1.2vw, 18px);
    border-top: 1px solid #6e353b;
}
.home-page .home-editorial .home-blog__card:focus-visible { outline: 2px solid #fff; outline-offset: -3px; }
@media (max-width: 850px) {
    .home-page .home-editorial .home-blog__grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}
@media (max-width: 380px) {
    .home-page .home-editorial .home-blog__grid { grid-template-columns: minmax(0, 1fr) !important; }
}

.review-shell .review-showcase .showcase-header {
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 15px;
}
.review-shell .directory-assessment-rating { flex: 0 0 auto; }
.review-shell .directory-assessment-rating .directory-rating-pending {
    font-size: 13px !important;
    color: #d8d0d4;
}
.review-shell .directory-rating-stars {
    background: linear-gradient(90deg, #ffbf4b var(--rating-fill), #837a7d var(--rating-fill));
    background-clip: text;
    color: transparent !important;
}
.review-shell .directory-pros-cons article { min-width: 0; min-height: 0 !important; }
.review-shell .directory-pros-cons li,
.review-shell .directory-assessment-pending {
    font-size: clamp(13px, 1vw, 16px) !important;
    overflow-wrap: anywhere;
}
.review-shell .directory-assessment-pending { margin: 5px 0; color: #cbc2c7; }
@media (max-width: 560px) {
    .review-shell .directory-pros-cons { grid-template-columns: minmax(0, 1fr) !important; }
}
@media (max-width: 560px) {
    .review-shell .review-showcase .showcase-header { display: flex !important; min-width: 0; }
    .review-shell .review-showcase .showcase-title { min-width: 0; width: 100%; }
    .review-shell .review-showcase .showcase-title h1 { min-width: 0; overflow-wrap: anywhere; }
    .review-shell .review-showcase .directory-assessment-rating {
        box-sizing: border-box;
        width: fit-content;
        max-width: 100%;
        margin: 0;
        padding: 4px 8px;
        gap: 6px;
    }
}
@media (max-width: 360px) {
    .review-shell .review-showcase .directory-assessment-rating .directory-rating-stars { display: none !important; }
}

.home-page .directory-grid > .home-editorial {
    grid-column: 1 / -1;
    min-width: 0;
    margin: 0;
}
.home-page .home-editorial[hidden] { display: none !important; }
.home-page .home-editorial .home-blog__card .home-blog__read {
    flex: 0 0 auto;
    box-sizing: border-box;
    width: 100%;
    min-height: 44px !important;
    margin: 0 !important;
    padding: 6px clamp(10px, 1.3vw, 18px) !important;
    align-items: center;
    gap: 6px;
}
.home-page .home-editorial .home-blog__read b { flex-shrink: 0; }
.home-page .home-editorial .home-blog__all { min-height: 44px; }

.home-page .directory-grid .category-card h2 > a {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: clamp(5px, .7vw, 9px);
    box-sizing: border-box;
}
.home-page .directory-grid .category-card h2 > a > span:last-child {
    min-width: 0;
    white-space: normal;
    overflow-wrap: anywhere;
}
.home-page .directory-category-title-icon {
    display: inline-grid;
    place-items: center;
    flex: 0 0 auto;
    width: clamp(32px, 2.8vw, 42px);
    height: clamp(32px, 2.8vw, 42px);
    filter: none;
}
.home-page .directory-category-title-icon img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.article-archive .article-card .article-card__body {
    min-height: 0;
    flex: 1 1 auto;
    gap: 0;
}
.article-archive .article-card {
    min-height: 0;
}
.article-archive .article-card .read-link {
    margin-top: auto;
    align-self: flex-start;
    min-height: 36px;
    margin-bottom: 0;
    box-sizing: border-box;
}
.article-archive .article-card:focus-within { border-color: #dd4450; }

.home-page .footer-trust-row {
    width: auto !important;
    max-width: none !important;
    margin: 0 0 12px !important;
}
@media (max-width: 619px) {
    .global-site-header__mobile-nav.has-methodology {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.home-page main > #directory {
    margin-top: clamp(8px, 1vw, 14px) !important;
}

.home-page .category-card h2 > a[href="/premium-porn-sites/"] .directory-category-title-icon {
    transform: translateY(2px);
}

.directory-category-nav-icon {
    display: block;
    width: 24px;
    height: 24px;
    flex: 0 0 auto;
}
.directory-category-nav-icon img, .directory-category-menu-icon {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.category-sidebar a:has(> .directory-category-nav-icon) {
    grid-template-columns: 24px minmax(0, 1fr) auto !important;
    gap: 8px !important;
}
.article-category-sidebar a:has(> .directory-category-nav-icon) {
    display: flex;
    gap: 8px;
    align-items: center;
}
.global-site-header__categories a:has(> .directory-category-menu-icon) {
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr) auto;
    align-items: center;
    gap: 6px;
}
.global-site-header__categories .directory-category-menu-icon { width: 22px; height: 22px; }
.category-sidebar a:has(> .directory-category-nav-icon):has(> b) {
    grid-template-columns: 24px minmax(0, 1fr) auto auto !important;
}

.category-gallery .review-category-icon-card strong {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 6px;
}
.category-gallery .review-category-icon-card .explore-category-label-icon {
    display: flex;
    flex: 0 0 auto;
    width: clamp(18px, 1.65vw, 26px);
    height: clamp(18px, 1.65vw, 26px);
    overflow: hidden;
    border-radius: 4px;
}
.explore-category-label-icon .directory-category-title-icon { width: 100%; height: 100%; }
.explore-category-label-icon img { display: block; width: 100%; height: 100%; object-fit: contain; }

.home-editorial-footer {
    display: flex;
    justify-content: center;
    padding: clamp(9px, 1.15vw, 16px);
    border-top: 1px solid #603039;
    background: linear-gradient(180deg, #211519, #161113);
}
.home-page .home-editorial-browse {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    width: min(100%, clamp(280px, 47vw, 540px));
    min-height: 52px;
    padding: 9px 20px;
    box-sizing: border-box;
    border: 1px solid #ed6471;
    border-radius: 7px;
    background: #b81c30;
    color: #fff !important;
    font-size: clamp(13px, 1.1vw, 16px);
    font-weight: 850;
    letter-spacing: .055em;
    text-transform: uppercase;
    text-decoration: none;
}
.home-page .home-editorial-browse span[aria-hidden] { font-size: 1.3em; line-height: 1; }
.home-page .home-editorial-browse:is(:hover, :focus-visible) {
    background: #a21629;
    color: #fff !important;
}
.home-page .home-editorial-browse:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

.all-categories-grid .category-icon-card h2 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}
.all-categories-grid .directory-category-title-icon {
    display: block;
    flex: 0 0 auto;
    overflow: hidden;
    width: clamp(18px, 1.75vw, 27px);
    height: clamp(18px, 1.75vw, 27px);
    border-radius: 4px;
}
.all-categories-grid .directory-category-title-icon img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.home-page .home-editorial .home-blog__card { isolation: isolate; }
.home-page .home-editorial .home-editorial-hover-frame {
    display: block !important;
    position: absolute;
    inset: 0;
    box-sizing: border-box;
    z-index: 20;
    border: 4px solid #f04453;
    opacity: 0;
    pointer-events: none;
}
.home-page .home-editorial .home-blog__card:is(:hover, :focus-visible) > .home-editorial-hover-frame {
    opacity: 1;
}

.archive-directory .archive-directory-intro {
    padding: 8px 12px;
    border-left: 2px solid #ed4b59;
    color: #d3cdd0;
    line-height: 1.5;
}
.archive-directory-intro p { margin: 0; }
.archive-directory .rank-caption strong { text-align: center !important; }

.home-page .home-editorial .home-blog__card,
.home-page .home-editorial .home-blog__card:is(:hover, :focus-visible) {
    background: #151316 !important;
}

.categories-page .all-category-sidebar {
    position: static;
    align-self: start;
    height: auto;
}
.categories-page .all-category-sidebar a > span:not(.directory-category-nav-icon) {
    overflow-wrap: anywhere;
}

@media (min-width: 821px) {
    .category-sidebar:has(> nav > a[aria-current="page"]) {
        position: sticky !important;
        top: 70px !important;
        align-self: start !important;
        max-height: calc(100dvh - 78px) !important;
        overflow-y: auto !important;
        scrollbar-gutter: stable;
    }
    .category-sidebar:has(> nav > a[aria-current="page"]) a[aria-current="page"] {
        position: sticky;
        z-index: 2;
        top: 0;
    }
}

@media (prefers-reduced-motion: no-preference) {
    img.image-reveal-loaded {
        animation: ttps-image-reveal 180ms ease-out both;
    }
}
@keyframes ttps-image-reveal {
    from { opacity: .55; }
    to { opacity: 1; }
}

/* Keep the screenshot and copy close, including on wide displays. */
.review-shell .review-showcase .showcase-content {
    gap: 10px !important;
}
@media (min-width: 721px) {
    .review-shell .review-showcase .showcase-content:has(.directory-review-image) {
        grid-template-columns: minmax(0, min(40%, 450px)) minmax(0, 1fr) !important;
    }
    .review-shell .review-showcase .directory-review-image img {
        max-height: none;
    }
}
.review-shell .review-showcase .review-copy-panel .showcase-copy {
    padding-top: 0 !important;
}
.review-shell .review-showcase .showcase-copy > :first-child {
    margin-top: 0 !important;
    padding-top: 0;
}

.review-shell .similar-sites .site-card-label .directory-site-icon > .directory-favicon-sprite {
    display: block !important;
    width: 18px !important;
    height: 18px !important;
    padding: 0 !important;
    margin: 0 !important;
}

.site-info-page { background: #090809; color: #e1dce0; }
.site-info-page .page {
    width: min(1420px, calc(100% - 2 * clamp(12px, 2vw, 28px)));
    margin: clamp(14px, 2vw, 24px) auto 28px;
}
.site-info-page .breadcrumbs { margin: 0 0 12px; color: #c9c2c6; }
.site-info-page .breadcrumbs a { color: #fa6974; }
.site-info-page .hero-panel,
.site-info-page .article,
.site-info-page .side-card {
    border: 1px solid #733039 !important;
    border-radius: 12px !important;
    background: #121012 !important;
    box-shadow: none !important;
}
.site-info-page .hero-panel {
    padding: clamp(16px, 2.4vw, 30px) !important;
    background: linear-gradient(120deg, #211216, #100d0f 70%) !important;
}
.site-info-page .hero-panel h1 {
    margin: 6px 0 8px;
    font-size: clamp(28px, 4vw, 48px) !important;
    line-height: 1.12;
    overflow-wrap: anywhere;
}
.site-info-page .hero-panel p { font-size: clamp(15px, 1.4vw, 17px) !important; }
.site-info-page .content-grid { gap: 14px; margin-top: 14px; }
.site-info-page .article, .site-info-page .side-card { padding: clamp(15px, 2.2vw, 28px) !important; min-width: 0; }
.site-info-page .side-card { top: 76px; }
.site-info-page .article h2 { margin-top: 24px; font-size: clamp(19px, 2vw, 25px); }
.site-info-page .article h2:first-child,
.site-info-page .contact-options h2 { margin-top: 0; }
.site-info-page .contact-options > div,
.site-info-page .policy-table,
.site-info-page .note { border-color: #663038 !important; background: #1a1417 !important; }
.site-info-page .return-home { width: min(1420px, calc(100% - 24px)); margin: 0 auto 24px; }
.site-info-page .return-home a {
    min-width: 0;
    border: 1px solid #ed5864 !important;
    background: linear-gradient(#d72d3e, #a71928) !important;
    color: #fff !important;
    box-shadow: none !important;
}
.site-info-page .return-home a:hover,
.site-info-page .return-home a:focus-visible { background: #aa1828 !important; }
.site-info-page :is(.article,.side-card,.breadcrumbs) a:focus-visible { outline: 2px solid #fa6974; outline-offset: 3px; }

.review-shell .review-screenshot-link { display: block; }
.review-shell .review-screenshot-link:focus-visible {
    outline: 2px solid #fd6974;
    outline-offset: -3px;
}

@media (max-width: 820px) {
    .review-shell .review-showcase .showcase-content {
        grid-template-columns: minmax(0, 1fr) !important;
    }
    .review-shell .review-showcase .directory-review-image,
    .review-shell .review-showcase .review-screenshot-link {
        width: 100% !important;
        max-width: none !important;
        min-height: 0 !important;
    }
    .review-shell .review-showcase .directory-review-image img {
        width: 100% !important;
        height: auto !important;
        max-height: none !important;
    }
    .review-shell .review-showcase .showcase-header {
        flex-direction: column;
        align-items: stretch !important;
    }
    .review-shell .review-showcase .directory-assessment-rating {
        align-self: center !important;
        justify-content: center;
        margin-inline: auto !important;
        max-width: 100%;
    }
    .review-shell .similar-sites .similar-row {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 8px !important;
    }
    .review-shell .similar-sites .similar-row .site-card-preview {
        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        aspect-ratio: 4 / 3 !important;
    }
    .review-shell .similar-sites .site-card-label {
        gap: 5px !important;
        padding-inline: 5px !important;
    }
    .review-shell .similar-sites .site-card-label .related-review-name {
        min-width: 0;
        white-space: normal !important;
        overflow-wrap: anywhere;
    }
}

@media (min-width: 841px) {
    .category-page .directory-category-hero:has(.directory-featured-grid) > .directory-category-description {
        grid-column: 2 !important;
        grid-row: 1;
    }
    .category-page .directory-category-hero > .directory-featured-grid {
        grid-column: 1;
        grid-row: 1;
    }
}
@media (max-width: 840px) {
    .category-page .directory-category-hero .directory-category-description {
        width: 100%;
        max-width: none;
        max-height: none !important;
        overflow: visible !important;
        scrollbar-gutter: auto;
        margin: 0 !important;
        padding: 4px 0 !important;
        padding-inline-end: 12px !important;
        border: 0 !important;
        background: transparent;
        line-height: 1.55;
    }
    .category-page .directory-category-hero .directory-category-description > :last-child {
        margin-bottom: 0 !important;
    }
    .category-page .directory-category-hero > .directory-featured-grid {
        margin-top: 0 !important;
    }
}

.category-page .directory-category-hero .directory-category-description {
    overflow-y: auto !important;
    scrollbar-gutter: stable;
    scrollbar-width: thin;
    scrollbar-color: #92505a #1c1215;
}
@media (max-width: 840px) {
    .category-page .directory-category-hero .directory-category-description {
        max-height: clamp(10rem, 44vw, 12rem) !important;
    }
}
.category-page .directory-category-hero:not(:has(.directory-featured-grid)) .directory-category-description {
    max-height: 10rem !important;
}

/* Shared typography across the public staging templates. */
:root {
    --directory-font: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}
body,
body :is(main, header, footer, nav, article, aside, h1, h2, h3, h4, h5, h6, p, a, li, button, input, select, textarea, label, summary, strong, small, time) {
    font-family: var(--directory-font) !important;
}
body :is(main, footer) :is(h1, h2, h3) {
    font-weight: 700 !important;
    letter-spacing: normal !important;
}
body main :is(.showcase-copy, .directory-category-description, .article-content, .site-info-page .article) {
    font-weight: 400;
    line-height: 1.6 !important;
}
body main :is(.showcase-copy, .directory-category-description, .article-content, .site-info-page .article) :is(p, li) {
    line-height: 1.6 !important;
}
body :is(.global-site-header__nav, .global-site-header__mobile-nav, .global-site-footer) a {
    font-weight: 600 !important;
}

.category-page .directory-category-description.has-more-description {
    -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 20px), rgba(0, 0, 0, .22));
    mask-image: linear-gradient(to bottom, #000 calc(100% - 20px), rgba(0, 0, 0, .22));
}

@media (max-width: 820px) {
    .review-shell .review-showcase .review-copy-panel .showcase-copy {
        max-height: clamp(10rem, 46vw, 13rem) !important;
        overflow: auto !important;
        scrollbar-gutter: stable;
        scrollbar-width: thin;
        scrollbar-color: #92505a #1c1215;
        padding: 4px 0 !important;
        padding-inline-end: 12px !important;
        font-family: var(--directory-font) !important;
        font-size: 15px !important;
        line-height: 1.6 !important;
    }
    .review-shell .review-showcase .showcase-copy.has-more-description {
        -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 20px), rgba(0, 0, 0, .22));
        mask-image: linear-gradient(to bottom, #000 calc(100% - 20px), rgba(0, 0, 0, .22));
    }
}

.review-categories .best-sites-cta,
.review-categories .best-sites-cta b {
    animation: none !important;
    transform: none !important;
    transition: none !important;
}
.review-categories .best-sites-cta::before,
.review-categories .best-sites-cta::after { content: none !important; }
.review-categories .best-sites-cta:is(:hover, :focus-visible) {
    background: linear-gradient(#ac2430, #7f1520) !important;
    border-color: #e44753 !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 5px 13px rgba(0,0,0,.3) !important;
}
.review-categories .best-sites-cta:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 3px;
}

.review-shell .review-showcase .review-copy-panel .showcase-copy {
    color: #ddd7db !important;
    font-family: var(--directory-font) !important;
    font-size: clamp(15px, 1.05vw, 17px) !important;
    font-weight: 400 !important;
    letter-spacing: normal !important;
    line-height: 1.65 !important;
}
.review-shell .review-showcase .showcase-copy :is(p, li) {
    color: inherit !important;
    font: inherit !important;
    letter-spacing: inherit !important;
}
.review-shell .review-showcase .showcase-copy .directory-review-excerpt {
    font-weight: 500 !important;
}
.review-shell .review-showcase .showcase-copy :is(strong, b) { font-weight: 650; }

.review-shell .review-showcase .review-copy-panel .showcase-copy {
    line-height: 1.48 !important;
}
.review-shell .review-showcase .showcase-copy p {
    max-width: none !important;
    margin: 0 0 8px !important;
}
.review-shell .review-showcase .showcase-copy :is(h2, h3, h4) {
    margin: 12px 0 5px !important;
}
.review-shell .review-showcase .showcase-copy :is(ul, ol, blockquote) {
    margin-block: 0 8px !important;
}
.review-shell .review-showcase .showcase-copy > :last-child {
    margin-bottom: 0 !important;
}

.review-shell .similar-sites .site-card-label .directory-site-icon > .directory-favicon-sprite {
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
    border-radius: 3px !important;
    box-sizing: border-box;
}
.review-shell .similar-sites .related-review-link[href="/review/puretaboo"]
    .site-card-label .directory-site-icon.has-site-image {
    background: #e8e2e5 !important;
    border-radius: 3px !important;
}

@media (max-width: 760px) {
    .article-archive > .article-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 9px !important;
    }
    .article-archive .article-card,
    .article-archive .article-card--featured {
        grid-column: auto !important;
        min-width: 0;
        min-height: 0;
        display: flex !important;
        flex-direction: column;
    }
    .article-archive .article-card__media {
        display: block;
        width: 100%;
        height: auto !important;
        min-height: 0 !important;
        aspect-ratio: 16 / 10;
        overflow: hidden;
    }
    .article-archive .article-card__media img {
        display: block;
        width: 100% !important;
        height: 100% !important;
        object-fit: cover;
    }
    .article-archive .article-card .article-card__body {
        display: flex;
        flex-direction: column;
        min-width: 0;
        padding: 9px !important;
    }
    .article-archive .article-card__meta {
        flex-wrap: wrap;
        justify-content: flex-start;
        gap: 2px 8px;
        font-size: 10px !important;
        margin-bottom: 5px !important;
    }
    .article-archive .article-card__body h3 {
        font-size: clamp(13px, 3.5vw, 17px) !important;
        line-height: 1.25 !important;
        margin: 0 0 5px !important;
    }
    .article-archive .article-card__body :is(h3, p) {
        display: -webkit-box !important;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        overflow: hidden;
        overflow-wrap: anywhere;
    }
    .article-archive .article-card__body p {
        font-size: 12px !important;
        line-height: 1.4 !important;
        margin: 0 0 8px !important;
    }
    .article-archive .article-card .read-link {
        align-self: stretch;
        display: grid;
        place-items: center;
        min-height: 44px;
        padding: 5px !important;
        font-size: 12px !important;
    }
}

.article-shell .article-toc--inline { display: none; }
@media (max-width: 820px) {
    .article-shell .article-sidebar { display: none !important; }
    .article-shell .article-toc--inline {
        display: block;
        box-sizing: border-box;
        width: min(calc(100% - 32px), 430px);
        margin: 12px auto 16px;
        padding: 10px 12px;
    }
    .article-shell .article-toc--inline a {
        padding-block: 8px;
        overflow-wrap: anywhere;
    }
}

.article-shell .article-main .article-lead {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    aspect-ratio: auto !important;
    border: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}
.article-shell .article-main .article-lead img {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    aspect-ratio: auto !important;
    object-fit: contain !important;
}
.article-shell .article-main :is(.article-lead img, .article-content img) {
    border: 0 !important;
    box-shadow: none !important;
}
.article-shell .article-toc > strong { display: block !important; }
.article-shell .article-toc > .article-toc-links {
    margin: 4px 0 0 !important;
    padding-inline-start: 1.65rem !important;
    list-style: decimal outside !important;
}
.article-shell .article-toc-links > li {
    display: list-item;
    margin: 0;
    padding-inline-start: 4px;
}
.article-shell .article-toc-links > li::marker { color: #f4606d; font-weight: 700; }
.article-shell .article-toc-links > li > a {
    display: block !important;
    padding: 8px 0 !important;
    overflow-wrap: anywhere;
}

.article-shell .review-categories {
    margin-top: 16px;
    padding: clamp(9px, 1.5vw, 16px);
    border: 1px solid #743039;
    border-radius: 12px;
    background: linear-gradient(#241115, #0c0a0b);
}
.article-shell .review-categories h2 { margin: 0 0 10px; color: #fff; }
.article-shell .review-categories h2 em { color: #ff3c4b; font-style: normal; }
.article-shell .review-categories .category-gallery {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
}
.article-shell .review-categories .review-category-icon-card {
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto;
    min-width: 0;
    overflow: hidden;
    border: 1px solid #8a333c;
    border-radius: 9px;
    color: #fff;
    text-decoration: none;
}
.article-shell .review-categories .review-category-icon-card:is(:hover, :focus-visible) { border-color: #f45663; }
.article-shell .review-categories .review-category-art { aspect-ratio: 4 / 3; overflow: hidden; }
.article-shell .review-categories .review-category-art img { display: block; width: 100%; height: 100%; object-fit: cover; }
.article-shell .review-categories .review-category-icon-card strong {
    min-height: 40px;
    padding: 5px;
    background: #741821;
    text-align: center;
    overflow-wrap: anywhere;
    font-size: clamp(11px, 1.3vw, 15px);
}
.article-shell .review-categories .best-sites-cta {
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    margin-top: 10px;
    padding: 7px 10px;
    border: 1px solid #d44150;
    border-radius: 8px;
    background: linear-gradient(#ac2430, #7f1520);
    color: #fff;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
}
.global-site-header__quick .global-site-header__methodology { grid-column: 1 / -1; }
@media (max-width: 760px) {
    .article-shell .review-categories .category-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    body footer.global-site-footer { box-sizing: border-box; width: calc(100% - 16px) !important; height: auto !important; max-height: none !important; overflow: visible !important; }
    .global-site-footer .global-site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .global-site-footer .global-site-footer__bottom {
        display: flex !important;
        flex-wrap: wrap;
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
        height: auto !important;
        overflow: visible;
        padding-bottom: env(safe-area-inset-bottom, 0px);
    }
    .global-site-footer .global-site-footer__bottom > span { display: block !important; white-space: normal; }
}

.article-category-sidebar .article-category-name { min-width: 0; overflow-wrap: anywhere; }
.article-category-sidebar .article-category-count {
    flex: 0 0 auto;
    margin-inline-start: auto;
    color: #f2ecef;
    font-variant-numeric: tabular-nums;
}

.global-directory-search[hidden] { display: none !important; }
.global-directory-search {
    position: absolute;
    z-index: 110;
    inset: calc(100% + 6px) clamp(8px, 2vw, 28px) auto auto;
    width: min(520px, calc(100vw - 16px));
    box-sizing: border-box;
    padding: 10px;
    border: 1px solid #94343f;
    border-radius: 10px;
    background: #151013;
    box-shadow: 0 8px 24px rgb(0 0 0 / 50%);
}
@media (prefers-reduced-motion: no-preference) {
    .global-directory-search { animation: ttps-search-open 200ms cubic-bezier(.2, .75, .25, 1) both; }
}
@keyframes ttps-search-open {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: translateY(0); }
}
.directory-search-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
}
.directory-search-form :is(input,button) {
    box-sizing: border-box;
    min-width: 0;
    min-height: 44px;
    border-radius: 7px;
    font-size: 15px;
}
.directory-search-form input { width: 100%; padding: 0 10px; border: 1px solid #69434a; background: #090809; color: #fff; }
.directory-search-form input::placeholder { color: #a9a0a5; }
.directory-search-form button { padding: 0 12px; border: 1px solid #ec4c5b; background: #be1d30; color: #fff; cursor: pointer; font-weight: 700; }
.directory-search-form :is(input,button):focus-visible { outline: 2px solid #ff8290; outline-offset: 2px; }
.directory-search-page .directory-search-shell { width: min(1400px, calc(100% - 24px)); margin: 18px auto 28px; }
.directory-search-shell h1 { margin: 0 0 12px; color: #fff; font-size: clamp(24px, 4vw, 38px); }
.directory-search-shell h2 { margin: 16px 0 9px; color: #f7f2f4; font-size: 20px; }
.directory-search-shell .directory-search-form { max-width: 620px; }
.directory-search-shell .directory-search-query { margin-top: 13px; overflow-wrap: anywhere; }
.directory-search-shell .directory-search-categories { display: flex; flex-wrap: wrap; gap: 6px; }
.directory-search-shell .directory-search-categories a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 10px;
    min-height: 36px;
    color: #fff;
    border: 1px solid #61303a;
    border-radius: 6px;
    background: #170f13;
}
.directory-search-shell .directory-search-categories .directory-category-title-icon { width: 22px; height: 22px; }
.directory-search-shell .rank-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 820px) {
    .directory-search-shell .rank-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.directory-search-form label.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

.contact-page-content .contact-message-form { display: grid; gap: 12px; margin: 0 0 18px; }
.contact-page-content .contact-message-form label { display: grid; gap: 4px; color: #f4edf0; font-weight: 600; }
.contact-page-content .contact-field-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.contact-page-content .contact-message-form :is(input,select,textarea,button) {
    box-sizing: border-box;
    min-width: 0;
    min-height: 44px;
    padding: 8px 10px;
    border: 1px solid #70404a;
    border-radius: 7px;
    background: #0d0a0c;
    color: #fff;
    font-size: 16px;
}
.contact-page-content .contact-message-form textarea { resize: vertical; }
.contact-page-content .contact-message-form button { justify-self: start; padding-inline: 20px; border-color: #eb4d60; background: #be2032; cursor: pointer; font-weight: 700; }
.contact-page-content .contact-message-form :is(input,select,textarea,button):focus-visible { outline: 2px solid #ff7382; outline-offset: 2px; }
.contact-page-content .contact-status { padding: 8px 10px; border: 1px solid #65434c; border-radius: 6px; }
.contact-page-content .contact-status--error { border-color: #df5262; }
.contact-page-content .contact-options { padding-top: 4px; }
@media (max-width: 560px) {
    .contact-page-content .contact-field-pair { grid-template-columns: minmax(0, 1fr); }
    .contact-page-content .contact-message-form button { justify-self: stretch; }
}

.contact-page-content .article.contact-main {
    padding: 0 !important;
    overflow: hidden;
}
.contact-page-content :is(.contact-form-section,.contact-guide) {
    padding: clamp(15px, 2vw, 28px);
}
.contact-page-content .contact-guide {
    border-bottom: 1px solid #4b2930;
    background: #0e0c0e;
}
.contact-page-content :is(.contact-form-section,.contact-guide) > h2 {
    margin: 0 0 12px;
}
.contact-page-content .contact-message-form { margin-bottom: 0; }
.contact-page-content .contact-guide-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}
.contact-page-content .contact-guide-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid #542d37;
    border-radius: 9px;
    background: #171215;
}
.contact-page-content .contact-guide-card > img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 8 / 5;
    object-fit: cover;
}
.contact-page-content .contact-guide-card > div { padding: 13px 14px; }
.contact-page-content .contact-guide-card h3 { margin: 0 0 5px; color: #fff; font-size: 17px; }
.contact-page-content .contact-guide-card p { margin: 0; font-size: 14px; line-height: 1.5; font-weight: 400 !important; }
@media (max-width: 560px) {
    .contact-page-content .contact-guide-grid { grid-template-columns: minmax(0, 1fr); }
}

.contact-topic-select { position: relative; display: block; }
.contact-page-content .contact-topic-select select {
    appearance: none;
    -webkit-appearance: none;
    display: block;
    width: 100%;
    padding-inline-end: 40px;
}
.contact-topic-select::after {
    content: "";
    position: absolute;
    inset-inline-end: 16px;
    top: 50%;
    width: 8px;
    height: 8px;
    border: solid #e9dee4;
    border-width: 0 2px 2px 0;
    transform: translateY(-70%) rotate(45deg);
    pointer-events: none;
}
@media (forced-colors: active) {
    .contact-page-content .contact-topic-select select { appearance: auto; padding-inline-end: 10px; }
    .contact-topic-select::after { display: none; }
}

.contact-page-content .contact-message-form :is(input,select,textarea,button):focus-visible {
    border-color: #ff7382;
    outline-offset: -2px;
}

.global-directory-search {
    padding: 8px;
    border-color: #5b3038;
}
.directory-search-form :is(input,button):focus-visible {
    border-color: #ff8290;
    outline-offset: -2px;
}
.global-directory-search .directory-search-form :is(input,button) { border-radius: 6px; }

.global-directory-search {
    width: min(1080px, calc(100vw - 16px));
    max-height: calc(100dvh - 100px);
    overflow-y: auto;
}
.directory-search-suggestions[hidden] { display: none !important; }
.directory-search-suggestions { margin-top: 8px; }
.directory-suggestions-status {
    margin: 0 0 8px;
    padding: 7px 8px;
    background: #25151b;
    border-radius: 5px;
    color: #f7edf1;
    font-size: 13px;
    font-weight: 650;
}
.directory-search-suggestions ul {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.directory-search-suggestions li { min-width: 0; }
.directory-search-suggestions .directory-suggestion-card {
    display: grid;
    grid-template-rows: auto 1fr;
    min-width: 0;
    overflow: hidden;
    border: 1px solid #63313d;
    border-radius: 7px;
    background: #191116;
}
.directory-suggestion-card:focus-within,
.directory-suggestion-card:hover { border-color: #f26778; }
.directory-search-suggestions .directory-suggestion-review-link {
    display: grid;
    grid-template-rows: auto 1fr;
    height: 100%;
    min-width: 0;
    color: #fff;
    text-decoration: none;
}
.directory-suggestion-title, .directory-suggestion-category {
    display: block;
    padding: 7px;
    text-align: center;
    line-height: 1.25;
    overflow-wrap: anywhere;
}
.directory-suggestion-title { align-self: center; font-size: 14px; }
.directory-suggestion-category { color: #f5e2e7; background: #721a2b; font-size: 12px; }
a.directory-suggestion-category:hover,
.directory-suggestion-review-link:hover .directory-suggestion-title { text-decoration: underline; }
.directory-suggestion-card a:focus-visible { outline: 2px solid #ff8290; outline-offset: -2px; }
.directory-suggestion-thumbnail {
    display: block;
    align-self: start;
    width: 100%;
    aspect-ratio: 3 / 2;
    background: #24141b;
    overflow: hidden;
}
.directory-suggestion-thumbnail img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.directory-suggestion-thumbnail.is-category img { object-fit: contain; padding: 10%; box-sizing: border-box; }
.directory-search-suggestions .directory-search-empty { grid-column: 1 / -1; }
.directory-search-suggestions .directory-search-empty > a { display: block; width: fit-content; padding: 8px 12px; }
@media (max-width: 760px) {
    .directory-search-suggestions ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.home-page #directory > .global-directory-search {
    order: -1;
    position: relative;
    inset: auto;
    grid-column: 1 / -1;
    width: 100%;
    min-width: 0;
    margin: 0;
    border: 2px solid #8e3038;
    border-radius: 10px;
    box-shadow: none;
    max-height: none;
    overflow: visible;
}

.home-page #directory > .global-directory-search:has(.directory-search-suggestions[hidden]) {
    padding: 0;
    border: 0;
    background: transparent;
}

.directory-search-suggestions .directory-suggestion-card:has(.directory-suggestion-media) {
    grid-template-rows: auto auto 1fr;
}
.directory-suggestion-media { position: relative; }
.directory-search-suggestions .directory-suggestion-media + .directory-suggestion-review-link {
    display: flex;
    justify-content: center;
}
.directory-suggestion-actions {
    display: grid;
    align-content: center;
    justify-content: center;
    gap: 6px;
    padding: 6px;
    background: rgb(9 7 9 / 70%);
}
.directory-suggestion-actions a {
    display: grid;
    place-items: center;
    min-height: 44px;
    padding: 4px 10px;
    border: 1px solid #94515b;
    border-radius: 6px;
    background: #20171b;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
}
.directory-suggestion-actions a[rel] { background: #b51b2b; }
.directory-suggestion-actions a:hover { border-color: #ff8290; }
@media (hover: hover) and (pointer: fine) {
    .directory-suggestion-actions { position: absolute; inset: 0; opacity: 0; pointer-events: none; }
    .directory-suggestion-card:is(:hover, :focus-within) .directory-suggestion-actions {
        opacity: 1;
        pointer-events: auto;
    }
}

.directory-search-field { position: relative; min-width: 0; }
.directory-search-field input { padding-inline-end: 48px; }
.directory-search-field input::-webkit-search-cancel-button { appearance: none; }
.directory-search-form .directory-search-clear {
    position: absolute;
    inset-block: 0;
    inset-inline-end: 2px;
    width: 44px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #ff5267;
    font-size: 30px;
    font-weight: 900;
    line-height: 1;
}
.directory-search-form .directory-search-clear[hidden] { display: none; }

.home-page #directory > .global-directory-search {
    width: min(100%, 960px);
    justify-self: center;
}
.directory-search-suggestions .directory-suggestion-thumbnail {
    aspect-ratio: auto;
    height: clamp(94px, 15vw, 128px);
}
.directory-suggestion-actions {
    justify-content: stretch;
    grid-template-columns: minmax(0, 1fr);
    padding-inline: clamp(8px, 8%, 20px);
}
.directory-suggestion-actions a {
    box-sizing: border-box;
    min-height: 44px;
    font-size: clamp(14px, 1.25vw, 16px);
}
@media (hover: hover) and (pointer: fine) {
    .directory-suggestion-actions { padding-block: 0; }
}

.site-info-page .return-home:has(a[href^="mailto:"]) {
    display: flex;
    justify-content: center;
}
.site-info-page .return-home a[href^="mailto:"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: min(100%, 320px);
    min-height: 48px;
    padding: 10px 24px;
    border-radius: 8px;
    background: #b51b30 !important;
    animation: none !important;
    transform: none !important;
    transition: background-color 160ms ease, border-color 160ms ease;
    text-align: center;
}
.site-info-page .return-home a[href^="mailto:"]::before,
.site-info-page .return-home a[href^="mailto:"]::after { content: none !important; }
.site-info-page .return-home a[href^="mailto:"]:hover {
    background: #c32639 !important;
    border-color: #ff8290 !important;
}
.site-info-page .return-home a[href^="mailto:"]:focus-visible {
    outline: 2px solid #ff8290;
    outline-offset: 3px;
}
@media (prefers-reduced-motion: reduce) {
    .site-info-page .return-home a[href^="mailto:"] { transition: none; }
}

.home-page #directory > .global-directory-search { z-index: auto; }

.directory-suggestion-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}
.directory-suggestion-favicon {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    background-repeat: no-repeat;
}

.category-page .directory-category-description :is(h2,h3,h4) {
    margin: 0.85em 0 0.35em;
    color: #fff;
    font-size: clamp(1rem, 0.92rem + 0.35vw, 1.22rem);
    font-weight: 750;
    line-height: 1.3;
}
.category-page .directory-category-description > :is(h2,h3,h4):first-child { margin-top: 0; }

:is(.category-page .category-content, main.review-shell) > .global-directory-search {
    position: relative;
    z-index: auto;
    inset: auto;
    width: 100%;
    max-height: none;
    min-width: 0;
    overflow: visible;
    margin: 0 0 12px;
    border: 2px solid #8e3038;
    box-shadow: none;
}
:is(.category-page .category-content, main.review-shell) > .global-directory-search:has(.directory-search-suggestions[hidden]) {
    padding: 0;
    border: 0;
    background: transparent;
}
:is(.category-content, .review-shell) .directory-search-field input { scroll-margin-top: 120px; }

.category-page .directory-category-hero .directory-category-description > p {
    margin: 0 0 0.7em !important;
}
.category-page .directory-category-hero .directory-category-description > :last-child {
    margin-bottom: 0 !important;
}
.directory-category-description > :is(h2,h3,h4) + p {
    margin-top: 0 !important;
}

.review-shell .similar-sites .similar-row .site-card-preview.has-related-thumbnail {
    display: grid !important;
    grid-template-rows: minmax(0, 1fr) auto;
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: 4 / 3 !important;
}
.review-shell .similar-sites .site-card-preview.has-related-thumbnail::before,
.review-shell .similar-sites .site-card-preview.has-related-thumbnail::after { content: none !important; }
.review-shell .similar-sites .related-thumbnail {
    position: relative;
    inset: auto;
    min-height: 0;
}
.review-shell .similar-sites .similar-row .related-thumbnail > img {
    object-fit: contain !important;
    object-position: center;
}
.review-shell .similar-sites .has-related-thumbnail .site-card-label {
    position: relative !important;
    inset: auto !important;
    width: 100%;
    background: #120e11;
}

body .directory-category-symbol {
    display: grid !important;
    place-items: center;
    width: 100%;
    aspect-ratio: 1;
    background: radial-gradient(circle at 50% 48%, #741a2b, #310c16 52%, #10090c 85%);
}
body .directory-category-symbol > img {
    position: static !important;
    width: min(52%, 168px) !important;
    height: auto !important;
    aspect-ratio: 1;
    object-fit: contain !important;
    filter: drop-shadow(0 8px 12px rgb(0 0 0 / 55%));
}

.review-shell .similar-sites .similar-row .related-thumbnail {
    align-self: stretch !important;
    justify-self: stretch !important;
    height: auto !important;
    min-width: 0;
}
.review-shell .similar-sites .similar-row .related-thumbnail > img {
    position: absolute !important;
    inset: 0;
}

.category-page .category-content > .global-directory-search {
    margin-bottom: 16px;
}
.category-page .category-content .category-directory-search-title {
    margin: 0 0 8px;
    font-size: 1rem;
    line-height: 1.3;
    color: #f7edf1;
    text-align: start;
}

.category-page .category-content > .global-directory-search {
    padding: 12px;
    background: #191217;
}
.category-page .category-content > .global-directory-search:has(.directory-search-suggestions[hidden]) {
    padding: 12px;
    border: 1px solid #5b3038;
    background: #191217;
}
.category-page .global-directory-search .directory-suggestion-category {
    background: #291820;
}

.review-shell .similar-sites .similar-row .site-card-preview.has-related-thumbnail {
    grid-template-columns: minmax(0, 1fr);
    justify-content: stretch !important;
    align-items: stretch !important;
}
.review-shell .similar-sites .similar-row .has-related-thumbnail > .related-thumbnail {
    box-sizing: border-box;
    width: 100%;
}
.review-shell .similar-sites .similar-row .has-related-thumbnail > .site-card-label {
    box-sizing: border-box;
    justify-self: stretch !important;
    margin: 0 !important;
}

/* Keep screenshot and editorial artwork edges visible in their card frames. */
body .directory-search-suggestions .directory-suggestion-thumbnail > img,
body .contact-page-content .contact-guide-card > img {
    object-fit: contain !important;
    object-position: center !important;
}
.review-shell .similar-sites .similar-row .site-card-preview.has-related-thumbnail > .related-thumbnail > img {
    position: absolute !important;
    top: 0 !important;
    right: auto !important;
    bottom: auto !important;
    left: 0 !important;
    margin: 0 !important;
    translate: none !important;
    scale: none !important;
    rotate: none !important;
    transform: none !important;
    object-fit: contain !important;
    object-position: center !important;
}

.review-shell .similar-sites .similar-row .site-card-preview.has-related-thumbnail {
    align-self: start !important;
    aspect-ratio: auto !important;
    grid-template-rows: auto auto;
}
.review-shell .similar-sites .similar-row .site-card-preview.has-related-thumbnail > .related-thumbnail > img {
    position: static !important;
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    aspect-ratio: auto !important;
}

.review-shell .similar-sites .similar-row .has-related-thumbnail > .related-thumbnail {
    aspect-ratio: 5 / 4;
}
.review-shell .similar-sites .similar-row .site-card-preview.has-related-thumbnail > .related-thumbnail > img {
    position: absolute !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center top !important;
}

:root { --directory-content-max: 1200px; }
body main,
body .global-site-header__inner,
body .global-site-header__mobile-nav,
body .global-site-footer__grid,
body .global-site-footer__bottom,
body.site-info-page .return-home {
    max-width: var(--directory-content-max) !important;
    margin-inline: auto !important;
    box-sizing: border-box;
}
.site-info-page .methodology-page .hero-panel {
    border-inline-start: 4px solid #e32e43 !important;
}
.methodology-page .hero-panel p { max-width: 62ch; }
.methodology-page .methodology-checks {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 12px 0 0;
}
.methodology-page .methodology-checks > li {
    margin: 0;
    padding: 12px 14px;
    background: #1a1417;
    border: 1px solid #663038;
    border-radius: 8px;
}
.methodology-page .methodology-checks strong { color: #fff; }
.methodology-page .methodology-checks p { margin: 5px 0 0; }
@media (max-width: 560px) {
    .methodology-page .methodology-checks { grid-template-columns: minmax(0, 1fr); }
}

.global-site-footer nav a.footer-methodology-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    width: fit-content;
    color: #ff8491;
    font-weight: 700 !important;
}
.global-site-footer nav a.footer-methodology-link:hover,
.global-site-footer nav a.footer-methodology-link:focus-visible {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 3px;
}

body.home-page {
    --homepage-gutter: 14px;
    --homepage-section-width: min(var(--directory-content-max), calc(100% - 2 * var(--homepage-gutter)));
}
body.home-page > main,
body.home-page > .footer-faq,
body.home-page > .global-site-footer {
    box-sizing: border-box;
    width: var(--homepage-section-width) !important;
    margin-inline: auto !important;
}
body.home-page #directory { padding-inline: 0 !important; }
@media (max-width: 760px) {
    body.home-page { --homepage-gutter: 10px; }
}

body .global-directory-search .directory-search-suggestions ul {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 136px), 1fr));
}
body .global-directory-search .directory-suggestion-thumbnail {
    height: auto;
    min-height: 94px;
    aspect-ratio: 5 / 4;
    position: relative;
}
body .global-directory-search .directory-suggestion-thumbnail > img {
    position: absolute;
    inset: 0;
    object-fit: cover !important;
    object-position: center top !important;
}
@media (min-width: 761px) {
    body .global-directory-search .directory-search-suggestions ul {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    }
}

body .global-directory-search {
    box-sizing: border-box;
    max-width: 100%;
    min-width: 0;
}
body .global-directory-search .directory-search-form {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    grid-template-columns: minmax(0, 1fr) max-content;
}
body .global-directory-search .directory-search-suggestions ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
body .global-directory-search .directory-suggestion-card {
    flex: 0 0 min(148px, calc((100% - 8px) / 2));
    box-sizing: border-box;
}
body .global-directory-search .directory-search-empty { flex: 1 1 100%; }
body .global-directory-search .directory-suggestion-actions { padding-inline: 5px; }
body .global-directory-search .directory-suggestion-actions a {
    padding-inline: 5px;
    font-size: clamp(12px, 3.5vw, 14px);
    white-space: nowrap;
}

body .article-archive .article-card__media img,
body .home-editorial-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center;
}

.article-archive .article-card .article-card__body h3,
.article-archive .article-card .article-card__body p {
    display: -webkit-box !important;
    -webkit-box-orient: vertical;
    overflow: hidden;
    overflow-wrap: anywhere;
}
.article-archive .article-card .article-card__body h3 {
    line-height: 1.25 !important;
    -webkit-line-clamp: 3;
    margin: 0 0 8px !important;
}
.article-archive .article-card .article-card__body p {
    line-height: 1.45 !important;
    -webkit-line-clamp: 4;
    margin: 0 0 12px !important;
}
@media (max-width: 760px) {
    .article-archive .article-card .article-card__body h3 {
        -webkit-line-clamp: 2;
    }
    .article-archive .article-card .article-card__body p {
        -webkit-line-clamp: 3;
    }
}

.directory-not-found { margin-block: 16px 26px; }
.directory-not-found-intro {
    margin-bottom: 14px;
    padding: clamp(16px, 3vw, 28px);
    border: 1px solid #733039;
    border-inline-start: 4px solid #e32e43;
    border-radius: 12px;
    background: linear-gradient(120deg, #211216, #100d0f 70%);
}
.directory-not-found-intro h1 { margin: 0 0 8px; font-size: clamp(26px, 4vw, 42px); }
.directory-not-found-intro p { margin: 0 0 14px; color: #d7cdd1; }
.directory-not-found .directory-not-found-home {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 8px 12px;
    border: 1px solid #ed5864;
    border-radius: 8px;
    background: #b51b30;
    color: #fff;
    text-align: center;
    text-decoration: none;
    font-weight: 700;
}
.directory-not-found-home:is(:hover,:focus-visible) { background: #c32639; }

.directory-not-found .directory-not-found-intro {
    padding: clamp(18px, 3vw, 32px);
    border-inline-start-width: 1px;
    text-align: center;
}
.directory-not-found-intro .directory-error-code {
    display: block;
    margin-bottom: 6px;
    color: #ff586d;
    font-size: clamp(42px, 6vw, 72px);
    line-height: 1;
}
.directory-not-found .directory-not-found-home {
    width: min(100%, 300px);
    box-sizing: border-box;
    margin-inline: auto;
}

body .global-directory-search {
    --search-card-gap: clamp(10px, 1.25vw, 16px);
}
body .global-directory-search:has(.directory-search-suggestions:not([hidden])) {
    padding: clamp(10px, 1.5vw, 18px);
}
body .global-directory-search .directory-search-suggestions { margin-top: 12px; }
body .global-directory-search .directory-suggestions-status {
    margin-bottom: 12px;
    padding: 8px 12px;
}
body .global-directory-search .directory-search-suggestions ul { gap: var(--search-card-gap); }
body .global-directory-search .directory-suggestion-card {
    flex-basis: min(211px, calc((100% - var(--search-card-gap)) / 2));
}
body .global-directory-search .directory-suggestion-category,
body .global-directory-search .directory-suggestion-title {
    padding: 9px 8px;
    line-height: 1.35;
}
body .global-directory-search .directory-suggestion-title { gap: 7px; }
@media (max-width: 380px) {
    body .global-directory-search .directory-search-form { gap: 6px; }
    body .global-directory-search .directory-search-form button[type="submit"] { padding-inline: 8px; }
    body .global-directory-search .directory-suggestion-title { font-size: 13px; }
}

body .global-directory-search .directory-search-suggestions ul {
    max-width: 924px;
    margin-inline: auto;
}

.all-categories-grid .category-icon-card .all-category-card__content {
    box-sizing: border-box;
    min-height: 38px;
    padding: 6px 8px;
}
.all-categories-grid .category-icon-card .all-category-card__content h2 {
    margin: 0;
    line-height: 1.25;
}
.all-categories-grid .category-icon-card .all-category-card__content .directory-category-title-icon {
    width: clamp(16px, 1.55vw, 22px);
    height: clamp(16px, 1.55vw, 22px);
}

@media (max-width: 760px) {
    .all-categories-grid .category-icon-card .all-category-card__content { min-height: 32px; }
}
