/**
 * NivoSync — Modern theme · single diamond page.
 *
 * Editorial layout: oversized media on the left, type-led spec stack on
 * the right. Imports nothing — relies on the design tokens defined in
 * loop.css (which is enqueued alongside on single pages).
 *
 * Sections:
 *   1. Wrapper + eyebrow line
 *   2. Hero grid (media + details)
 *   3. Media stage (image / video / 360° tabs, cert link)
 *   4. Details column (title, subtitle, price, specs, actions, trust)
 *   5. Spec accordion
 *   6. Sticky buy bar
 *   7. Diamond Content section (Four C's / detail table / similar)
 *   8. Responsive
 *
 * @package    NivoSync
 * @subpackage Themes/Modern
 * @since      3.0.3
 * @since      3.0.6 Media tabs + 360°, accordion, sticky bar, content section.
 */

/* ─────────────────────────────────────────────────────────────────
 * 1. WRAPPER + EYEBROW
 * ───────────────────────────────────────────────────────────────── */
.ns-theme-modern.ns-single {
    max-width: 1280px;
    margin: 32px auto;
    padding: 0 32px;
    color: var(--ns-modern-text);
    font-family: var(--ns-modern-font-ui);
}

.ns-theme-modern .ns-single-eyebrow {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--ns-modern-font-mono);
    font-size: 11px;
    color: var(--ns-modern-text-secondary);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.ns-theme-modern .ns-single-origin {
    color: var(--ns-modern-primary);
    font-weight: 500;
}

.ns-theme-modern .ns-single-eyebrow-sep {
    color: var(--ns-modern-text-tertiary);
    margin: 0 2px;
}

.ns-theme-modern .ns-single-stock code {
    font-family: var(--ns-modern-font-mono);
    background: var(--ns-modern-surface-alt);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 10px;
    color: var(--ns-modern-ink);
    text-transform: none;
    letter-spacing: 0;
}

/* ─────────────────────────────────────────────────────────────────
 * 2. HERO GRID
 * ───────────────────────────────────────────────────────────────── */
.ns-theme-modern .ns-single-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 48px;
    align-items: start;
}

/* ─────────────────────────────────────────────────────────────────
 * 3. MEDIA FRAME
 * ───────────────────────────────────────────────────────────────── */
.ns-theme-modern .ns-single-media {
    display: flex;
    flex-direction: column;
    gap: 14px;
    position: sticky;
    top: 32px;
}

.ns-theme-modern .ns-single-media-frame {
    background: linear-gradient(145deg, #f8f7f4 0%, #efede8 50%, #f2f0ec 100%);
    border-radius: var(--ns-modern-radius-xl);
    overflow: hidden;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ns-theme-modern .ns-single-media-frame[hidden] {
    display: none !important;
}

.ns-theme-modern .ns-single-media-frame img,
.ns-theme-modern .ns-single-media-frame video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ns-theme-modern .ns-single-media-frame[data-media='image'] img {
    object-fit: contain;
    padding: 8%;
}

.ns-theme-modern .ns-single-media-frame .ns-360-viewer-container {
    width: 100%;
    height: 100%;
    cursor: grab;
}

.ns-theme-modern .ns-single-media-frame .ns-360-viewer-container canvas {
    width: 100%;
    height: 100%;
    display: block;
}

/* Media tabs (Photo / Video / 360°) */
.ns-theme-modern .ns-single-media-tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.ns-theme-modern .ns-single-media-tab {
    padding: 8px 16px;
    border: 1px solid var(--ns-modern-border);
    border-radius: 100px;
    background: var(--ns-modern-surface);
    color: var(--ns-modern-text-secondary);
    font-family: var(--ns-modern-font-mono);
    font-size: 11px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all var(--ns-modern-dur-fast) ease;
}

.ns-theme-modern .ns-single-media-tab:hover {
    border-color: var(--ns-modern-primary-muted);
    color: var(--ns-modern-primary);
}

.ns-theme-modern .ns-single-media-tab.is-active {
    background: var(--ns-modern-primary);
    border-color: var(--ns-modern-primary);
    color: #fff;
}

.ns-theme-modern .ns-single-cert-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--ns-modern-font-mono);
    font-size: 11px;
    color: var(--ns-modern-primary);
    text-decoration: none;
    padding: 8px 14px;
    border: 1px solid var(--ns-modern-border);
    border-radius: 100px;
    align-self: flex-start;
    letter-spacing: 0.05em;
    transition: all var(--ns-modern-dur-fast) ease;
}

.ns-theme-modern .ns-single-cert-link:hover {
    background: var(--ns-modern-primary-wash);
    border-color: var(--ns-modern-primary-muted);
}

.ns-theme-modern .ns-single-cert-link--static {
    cursor: default;
    color: var(--ns-modern-text-secondary);
}

.ns-theme-modern .ns-single-cert-link--static:hover {
    background: transparent;
    border-color: var(--ns-modern-border);
}

/* ─────────────────────────────────────────────────────────────────
 * 4. DETAILS COLUMN
 * ───────────────────────────────────────────────────────────────── */
.ns-theme-modern .ns-single-details {
    padding: 8px 0;
}

.ns-theme-modern .ns-single-title {
    font-family: var(--ns-modern-font-display);
    font-size: clamp(40px, 5.5vw, 64px);
    line-height: 1.05;
    font-weight: 300;
    color: var(--ns-modern-ink);
    margin: 0 0 8px;
    display: flex;
    align-items: baseline;
    gap: 14px;
    flex-wrap: wrap;
    letter-spacing: -0.01em;
}

.ns-theme-modern .ns-single-carat {
    font-weight: 400;
}

.ns-theme-modern .ns-single-carat-unit {
    font-size: 0.4em;
    color: var(--ns-modern-text-tertiary);
    font-family: var(--ns-modern-font-ui);
    margin-left: 4px;
    font-weight: 400;
}

.ns-theme-modern .ns-single-shape {
    font-style: italic;
    color: var(--ns-modern-primary);
    font-weight: 300;
    font-size: 0.6em;
}

.ns-theme-modern .ns-single-subtitle {
    font-size: 14px;
    color: var(--ns-modern-text-secondary);
    margin: 0 0 32px;
    letter-spacing: 0.02em;
}

.ns-theme-modern .ns-single-price {
    font-family: var(--ns-modern-font-mono);
    font-size: 28px;
    color: var(--ns-modern-primary);
    font-weight: 500;
    margin-bottom: 32px;
    letter-spacing: -0.01em;
}

/* Specs grid */
.ns-theme-modern .ns-single-specs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    margin: 0 0 32px;
    padding: 20px 0;
    border-top: 1px solid var(--ns-modern-border-light);
    border-bottom: 1px solid var(--ns-modern-border-light);
}

.ns-theme-modern .ns-single-spec {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    padding: 10px 0;
}

.ns-theme-modern .ns-single-spec dt {
    font-family: var(--ns-modern-font-mono);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--ns-modern-text-tertiary);
    margin: 0;
}

.ns-theme-modern .ns-single-spec dd {
    font-family: var(--ns-modern-font-ui);
    font-size: 14px;
    color: var(--ns-modern-ink);
    margin: 0;
    font-weight: 500;
}

@media (min-width: 720px) {
    .ns-theme-modern .ns-single-spec:nth-child(odd) {
        padding-right: 24px;
        border-right: 1px solid var(--ns-modern-border-light);
    }
    .ns-theme-modern .ns-single-spec:nth-child(even) {
        padding-left: 24px;
    }
}

/* Actions */
.ns-theme-modern .ns-single-actions {
    display: flex;
    gap: 12px;
    align-items: stretch;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.ns-theme-modern .ns-single-cta {
    flex: 1;
    min-width: 200px;
    padding: 16px 24px;
    border-radius: var(--ns-modern-radius-sm);
    font-family: var(--ns-modern-font-mono);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    border: none;
    transition: all var(--ns-modern-dur-fast) ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.ns-theme-modern .ns-single-cta--primary {
    background: var(--ns-modern-primary);
    color: #fff;
}

.ns-theme-modern .ns-single-cta--primary:hover {
    background: var(--ns-modern-primary-light);
}

.ns-theme-modern .ns-single-cta--secondary {
    background: transparent;
    color: var(--ns-modern-primary);
    border: 1.5px solid var(--ns-modern-primary);
}

.ns-theme-modern .ns-single-cta--secondary:hover {
    background: var(--ns-modern-primary-wash);
}

.ns-theme-modern .ns-single-cta-icon {
    flex: 0 0 56px;
    width: 56px;
    height: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--ns-modern-surface);
    border: 1.5px solid var(--ns-modern-border);
    border-radius: var(--ns-modern-radius-sm);
    color: var(--ns-modern-text-secondary);
    cursor: pointer;
    transition: all var(--ns-modern-dur-fast) ease;
}

.ns-theme-modern .ns-single-cta-icon:hover {
    color: var(--ns-modern-primary);
    border-color: var(--ns-modern-primary-muted);
    background: var(--ns-modern-primary-wash);
}

.ns-theme-modern .ns-single-cta-icon svg {
    width: 20px;
    height: 20px;
}

.ns-theme-modern .ns-single-cta-note {
    width: 100%;
    margin: 0;
    font-size: 11px;
    color: var(--ns-modern-text-tertiary);
    text-align: center;
}

/* Trust strip */
.ns-theme-modern .ns-single-trust {
    list-style: none;
    margin: 0;
    padding: 16px 0 0;
    border-top: 1px solid var(--ns-modern-border-light);
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.ns-theme-modern .ns-single-trust li {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    color: var(--ns-modern-text-secondary);
    font-family: var(--ns-modern-font-mono);
    letter-spacing: 0.04em;
}

.ns-theme-modern .ns-single-trust svg {
    color: var(--ns-modern-primary-muted);
    flex-shrink: 0;
}

/* ─────────────────────────────────────────────────────────────────
 * 5. SPEC ACCORDION
 * ───────────────────────────────────────────────────────────────── */
.ns-theme-modern .ns-single-accordion {
    margin: 0 0 32px;
    border-top: 1px solid var(--ns-modern-border-light);
    border-bottom: 1px solid var(--ns-modern-border-light);
}

.ns-theme-modern .ns-single-accordion-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--ns-modern-font-mono);
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ns-modern-ink);
}

.ns-theme-modern .ns-single-accordion-toggle svg {
    transition: transform var(--ns-modern-dur-fast) ease;
    color: var(--ns-modern-text-tertiary);
}

.ns-theme-modern .ns-single-accordion.is-open .ns-single-accordion-toggle svg {
    transform: rotate(180deg);
}

.ns-theme-modern .ns-single-accordion:not(.is-open) .ns-single-accordion-body {
    display: none;
}

/* Specs grid lives inside the accordion — drop its own borders. */
.ns-theme-modern .ns-single-accordion .ns-single-specs {
    border-top: none;
    border-bottom: none;
    margin-bottom: 0;
    padding-top: 0;
}

/* ─────────────────────────────────────────────────────────────────
 * 6. STICKY BUY BAR
 * ───────────────────────────────────────────────────────────────── */
.ns-theme-modern .ns-single-stickybar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 900;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 24px;
    padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    background: var(--ns-modern-surface, #fff);
    border-top: 1px solid var(--ns-modern-border);
    box-shadow: 0 -6px 24px rgba(0, 0, 0, 0.08);
    transform: translateY(110%);
    transition: transform 0.25s ease;
}

.ns-theme-modern .ns-single-stickybar.is-visible {
    transform: translateY(0);
}

.ns-theme-modern .ns-single-stickybar-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.ns-theme-modern .ns-single-stickybar-title {
    font-family: var(--ns-modern-font-ui);
    font-size: 13px;
    color: var(--ns-modern-ink);
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ns-theme-modern .ns-single-stickybar-price {
    font-family: var(--ns-modern-font-mono);
    font-size: 15px;
    color: var(--ns-modern-primary);
    font-weight: 600;
}

.ns-theme-modern .ns-single-stickybar-cta {
    flex: 0 0 auto;
    min-width: 0;
    padding: 12px 24px;
}

/* ─────────────────────────────────────────────────────────────────
 * 7. DIAMOND CONTENT SECTION (Four C's / detail table / similar)
 *    The partials emit theme-agnostic (.ns-specs, .ns-similar-diamonds)
 *    and elegant-namespaced (.ns-elegant-fourcees) markup; styled here
 *    with Modern tokens since Elegant CSS is not enqueued.
 * ───────────────────────────────────────────────────────────────── */
.ns-theme-modern .ns-single-content-section {
    margin-top: 72px;
    border-top: 1px solid var(--ns-modern-border-light);
    padding-top: 48px;
}

/* — Four C's — */
.ns-theme-modern .ns-elegant-fourcees__container {
    max-width: 1080px;
    margin: 0 auto;
}

.ns-theme-modern .ns-elegant-fourcees__title {
    font-family: var(--ns-modern-font-display);
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 300;
    color: var(--ns-modern-ink);
    margin: 0 0 40px;
    letter-spacing: -0.01em;
}

.ns-theme-modern .ns-elegant-fourcees__row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 48px;
    padding: 36px 0;
}

.ns-theme-modern .ns-elegant-fourcees__row--border {
    border-bottom: 1px solid var(--ns-modern-border-light);
}

.ns-theme-modern .ns-elegant-fourcees__heading {
    font-family: var(--ns-modern-font-ui);
    font-size: 17px;
    font-weight: 600;
    color: var(--ns-modern-ink);
    margin: 0 0 12px;
}

.ns-theme-modern .ns-elegant-fourcees__desc {
    font-size: 14px;
    line-height: 1.7;
    color: var(--ns-modern-text-secondary);
}

.ns-theme-modern .ns-elegant-fourcees__label {
    font-family: var(--ns-modern-font-mono);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--ns-modern-text-tertiary);
    margin-bottom: 6px;
}

.ns-theme-modern .ns-elegant-fourcees__value-large {
    font-family: var(--ns-modern-font-display);
    font-size: 40px;
    color: var(--ns-modern-ink);
}

.ns-theme-modern .ns-elegant-fourcees__unit {
    font-size: 0.45em;
    color: var(--ns-modern-text-tertiary);
}

.ns-theme-modern .ns-elegant-fourcees__value-medium {
    font-family: var(--ns-modern-font-ui);
    font-size: 16px;
    font-weight: 500;
    color: var(--ns-modern-ink);
}

.ns-theme-modern .ns-elegant-fourcees__data-row,
.ns-theme-modern .ns-elegant-fourcees__data-cols {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
    margin-top: 12px;
}

.ns-theme-modern .ns-elegant-fourcees__info-box {
    margin-top: 16px;
    padding: 12px 16px;
    background: var(--ns-modern-surface-alt);
    border-radius: var(--ns-modern-radius-sm);
}

.ns-theme-modern .ns-elegant-fourcees__info-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--ns-modern-ink);
}

.ns-theme-modern .ns-elegant-fourcees__info-desc {
    font-size: 12px;
    color: var(--ns-modern-text-secondary);
    margin: 6px 0 0;
    line-height: 1.6;
}

/* Grade scales (colour / clarity) */
.ns-theme-modern .ns-elegant-scale {
    position: relative;
    padding-top: 10px;
}

.ns-theme-modern .ns-elegant-scale__gradient {
    height: 8px;
    border-radius: 100px;
    background: linear-gradient(90deg, #ffffff 0%, #fdf6d8 55%, #f0dc82 100%);
    border: 1px solid var(--ns-modern-border-light);
}

.ns-theme-modern .ns-elegant-scale__gradient--clarity {
    background: linear-gradient(90deg, #ffffff 0%, #e4e2dc 55%, #b9b5a9 100%);
}

.ns-theme-modern .ns-elegant-scale__marks {
    display: flex;
    justify-content: space-between;
    margin-top: 6px;
}

.ns-theme-modern .ns-elegant-scale__mark {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    flex: 1;
    min-width: 0;
}

.ns-theme-modern .ns-elegant-scale__tick {
    width: 1px;
    height: 6px;
    background: var(--ns-modern-border);
}

.ns-theme-modern .ns-elegant-scale__label {
    font-family: var(--ns-modern-font-mono);
    font-size: 9px;
    color: var(--ns-modern-text-tertiary);
    letter-spacing: 0.02em;
}

.ns-theme-modern .ns-elegant-scale__mark.is-active .ns-elegant-scale__tick {
    background: var(--ns-modern-primary);
    width: 2px;
    height: 10px;
}

.ns-theme-modern .ns-elegant-scale__mark.is-active .ns-elegant-scale__label {
    color: var(--ns-modern-primary);
    font-weight: 700;
}

/* — Full detail table (.ns-specs, shared template) — */
.ns-theme-modern .ns-specs__title {
    font-family: var(--ns-modern-font-display);
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 300;
    color: var(--ns-modern-ink);
    margin: 0 0 32px;
    letter-spacing: -0.01em;
}

.ns-theme-modern .ns-specs__container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 32px 48px;
}

.ns-theme-modern .ns-specs__group-title {
    font-family: var(--ns-modern-font-mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--ns-modern-primary);
    margin: 0 0 12px;
}

.ns-theme-modern .ns-specs__table {
    width: 100%;
    border-collapse: collapse;
}

.ns-theme-modern .ns-specs__row {
    border-bottom: 1px solid var(--ns-modern-border-light);
}

.ns-theme-modern .ns-specs__label {
    text-align: left;
    font-family: var(--ns-modern-font-mono);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--ns-modern-text-tertiary);
    font-weight: 400;
    padding: 10px 16px 10px 0;
    white-space: nowrap;
}

.ns-theme-modern .ns-specs__value {
    text-align: right;
    font-family: var(--ns-modern-font-ui);
    font-size: 14px;
    color: var(--ns-modern-ink);
    font-weight: 500;
    padding: 10px 0;
}

.ns-theme-modern .ns-specs__cert-link {
    color: var(--ns-modern-primary);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.ns-theme-modern .ns-specs__cert-link:hover {
    text-decoration: underline;
}

/* — Similar diamonds — */
.ns-theme-modern .ns-similar-diamonds__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 32px;
}

.ns-theme-modern .ns-similar-diamonds__title {
    font-family: var(--ns-modern-font-display);
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 300;
    color: var(--ns-modern-ink);
    margin: 0;
    letter-spacing: -0.01em;
}

.ns-theme-modern .ns-similar-diamonds__nav {
    display: flex;
    gap: 8px;
}

.ns-theme-modern .ns-similar-diamonds__nav-btn {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--ns-modern-border);
    border-radius: 50%;
    background: var(--ns-modern-surface);
    color: var(--ns-modern-text-secondary);
    cursor: pointer;
    transition: all var(--ns-modern-dur-fast) ease;
}

.ns-theme-modern .ns-similar-diamonds__nav-btn:hover:not(:disabled) {
    color: var(--ns-modern-primary);
    border-color: var(--ns-modern-primary-muted);
}

.ns-theme-modern .ns-similar-diamonds__nav-btn:disabled {
    opacity: 0.35;
    cursor: default;
}

/* The shared template's inline script pages the carousel by translating
   the grid — the track must clip, not scroll, or a native scrollbar
   appears and fights the transform paging. */
.ns-theme-modern .ns-similar-diamonds__track {
    overflow: hidden;
}

.ns-theme-modern .ns-similar-diamonds__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.ns-theme-modern .ns-similar-diamonds--carousel .ns-similar-diamonds__grid {
    display: flex;
    gap: 20px;
    transition: transform 0.3s ease;
}

.ns-theme-modern .ns-similar-diamonds--carousel .ns-similar-diamonds__grid > * {
    flex: 0 0 calc(25% - 15px);
}

.ns-theme-modern .ns-similar-diamonds__dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 16px;
}

.ns-theme-modern .ns-similar-diamonds__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    padding: 0;
    background: var(--ns-modern-border);
    cursor: pointer;
}

.ns-theme-modern .ns-similar-diamonds__dot--active {
    background: var(--ns-modern-primary);
}

/* ─────────────────────────────────────────────────────────────────
 * 8. RESPONSIVE
 * ───────────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .ns-theme-modern .ns-single-hero {
        gap: 32px;
    }
}

@media (max-width: 1024px) {
    .ns-theme-modern .ns-similar-diamonds__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .ns-theme-modern .ns-similar-diamonds--carousel .ns-similar-diamonds__grid > * {
        flex-basis: calc(50% - 10px);
    }
}

@media (max-width: 768px) {
    .ns-theme-modern.ns-single {
        margin: 16px auto;
        padding: 0 16px;
        /* Keep the sticky buy bar from covering the page tail. */
        padding-bottom: 96px;
    }
    .ns-theme-modern .ns-single-hero {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .ns-theme-modern .ns-single-media {
        position: static;
    }
    .ns-theme-modern .ns-single-title {
        font-size: 40px;
    }
    .ns-theme-modern .ns-single-specs {
        grid-template-columns: 1fr;
    }
    .ns-theme-modern .ns-single-content-section {
        margin-top: 48px;
        padding-top: 32px;
    }
    .ns-theme-modern .ns-elegant-fourcees__row {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 24px 0;
    }
    .ns-theme-modern .ns-elegant-scale__label {
        font-size: 8px;
    }
    .ns-theme-modern .ns-similar-diamonds__grid {
        grid-template-columns: 1fr;
    }
    .ns-theme-modern .ns-similar-diamonds--carousel .ns-similar-diamonds__grid > * {
        flex-basis: 85%;
    }
    .ns-theme-modern .ns-single-stickybar-cta {
        padding: 12px 18px;
        font-size: 11px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ns-theme-modern .ns-single-cta,
    .ns-theme-modern .ns-single-cta-icon,
    .ns-theme-modern .ns-single-cert-link,
    .ns-theme-modern .ns-single-media-tab,
    .ns-theme-modern .ns-single-stickybar,
    .ns-theme-modern .ns-single-accordion-toggle svg,
    .ns-theme-modern .ns-similar-diamonds--carousel .ns-similar-diamonds__grid {
        transition: none;
    }
}
