/* ===================== NICHE PAGES ===================== */

/* Header niches dropdown (used on main + niche pages) */
.v2-header__nav { position: relative; }
.v2-nav-niches {
    position: relative;
}
.v2-nav-niches__trigger {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--ink-soft);
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    font-family: inherit;
    transition: color 0.15s ease;
}
.v2-nav-niches__trigger:hover { color: var(--brand); }
.v2-nav-niches__trigger::after {
    content: '';
    display: inline-block;
    width: 8px; height: 8px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: translateY(-2px) rotate(45deg);
    margin-left: 2px;
    transition: transform 0.2s ease;
}
.v2-nav-niches:hover .v2-nav-niches__trigger::after,
.v2-nav-niches:focus-within .v2-nav-niches__trigger::after {
    transform: translateY(0) rotate(-135deg);
}
.v2-nav-niches__menu {
    position: absolute;
    top: calc(100% + 12px);
    left: -16px;
    min-width: 260px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-md);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity 0.15s ease, visibility 0.15s ease, transform 0.15s ease;
    z-index: 100;
}
.v2-nav-niches:hover .v2-nav-niches__menu,
.v2-nav-niches:focus-within .v2-nav-niches__menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.v2-nav-niches__menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--ink);
    text-decoration: none;
    transition: background 0.15s ease;
}
.v2-nav-niches__menu a:hover { background: var(--surface-soft); color: var(--brand); }
.v2-nav-niches__menu a span { flex: 1; }
.v2-nav-niches__menu a small { font-size: 12px; color: var(--ink-mute); font-weight: 400; }

@media (max-width: 860px) {
    .v2-nav-niches { display: none; }
}

/* Breadcrumb */
.v2-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
    font-size: 13px;
    color: var(--ink-mute);
    padding: 16px 0 0;
    margin: 0;
    list-style: none;
}
.v2-breadcrumb li { display: flex; align-items: center; gap: 6px; }
.v2-breadcrumb li + li::before { content: '›'; color: var(--ink-mute); }
.v2-breadcrumb a { color: var(--ink-mute); text-decoration: none; }
.v2-breadcrumb a:hover { color: var(--brand); }
.v2-breadcrumb [aria-current="page"] { color: var(--ink); font-weight: 500; }

/* Niche hero */
.v2-nh {
    padding: 32px 0 48px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, var(--surface) 0%, var(--surface-soft) 100%);
}
.v2-nh__grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: center;
    margin-top: 20px;
}
.v2-nh__info { min-width: 0; }
.v2-nh__badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 999px;
    background: var(--brand-soft);
    color: var(--brand);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 16px;
}
.v2-nh__title {
    font-size: clamp(30px, 4.6vw, 52px);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin: 0 0 18px;
    color: var(--ink);
}
.v2-nh__title span { color: var(--brand); }
.v2-nh__lead {
    font-size: 17px;
    line-height: 1.55;
    color: var(--ink-soft);
    margin: 0 0 24px;
    max-width: 560px;
}
.v2-nh__cta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}
.v2-nh__meta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    font-size: 13px;
    color: var(--ink-mute);
}
.v2-nh__meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
}
.v2-nh__meta-item svg { width: 14px; height: 14px; color: #10b981; }
.v2-nh__img {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    aspect-ratio: 4 / 3;
    background: var(--surface-mid);
}
.v2-nh__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
@media (max-width: 860px) {
    .v2-nh__grid { grid-template-columns: 1fr; gap: 24px; }
    .v2-nh__img { aspect-ratio: 16 / 10; max-width: 520px; margin: 0 auto; width: 100%; }
    .v2-nh__lead { font-size: 16px; }
}

/* USP grid */
.v2-usp__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 16px;
}
.v2-usp__card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 22px 20px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.v2-usp__card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}
.v2-usp__icon {
    width: 42px; height: 42px;
    border-radius: 12px;
    background: var(--brand-soft);
    color: var(--brand);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 14px;
}
.v2-usp__icon svg { width: 22px; height: 22px; }
.v2-usp__value {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.01em;
    margin-bottom: 4px;
    color: var(--ink);
}
.v2-usp__label {
    font-size: 14px;
    color: var(--ink-soft);
    line-height: 1.5;
}

/* Promo materials */
.v2-promo__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
}
.v2-promo__card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 22px 20px;
    position: relative;
}
.v2-promo__tag {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 6px;
    background: var(--brand-soft);
    color: var(--brand);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 12px;
}
.v2-promo__name {
    font-size: 17px;
    font-weight: 700;
    margin: 0 0 6px;
}
.v2-promo__desc {
    font-size: 14px;
    color: var(--ink-soft);
    line-height: 1.5;
    margin: 0;
}

/* Audience — compact static version */
.v2-who__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
}
.v2-who__card {
    padding: 22px 20px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
}
.v2-who__icon {
    width: 42px; height: 42px;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 12px;
    background: var(--c, var(--brand-soft));
    color: var(--c-ink, var(--brand));
}
.v2-who__icon svg { width: 22px; height: 22px; }
.v2-who__name {
    font-size: 17px;
    font-weight: 700;
    margin: 0 0 6px;
}
.v2-who__desc {
    font-size: 14px;
    color: var(--ink-soft);
    line-height: 1.5;
    margin: 0;
}

/* FAQ */
.v2-faq {
    max-width: 820px;
    margin: 0 auto;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 0 24px;
}
.v2-faq__item {
    border-bottom: 1px solid var(--border);
    padding: 20px 0;
}
.v2-faq__item:last-child { border-bottom: none; }
.v2-faq__item summary {
    cursor: pointer;
    font-size: 17px;
    font-weight: 600;
    padding-right: 32px;
    position: relative;
    list-style: none;
    color: var(--ink);
    line-height: 1.4;
}
.v2-faq__item summary::-webkit-details-marker { display: none; }
.v2-faq__item summary::after {
    content: '+';
    position: absolute;
    right: 0;
    top: -2px;
    width: 24px; height: 24px;
    display: flex; align-items: center; justify-content: center;
    font-size: 22px;
    color: var(--brand);
    font-weight: 400;
    line-height: 1;
    transition: transform 0.2s ease;
}
.v2-faq__item[open] summary::after {
    content: '−';
}
.v2-faq__item-content {
    margin-top: 12px;
    font-size: 15px;
    line-height: 1.6;
    color: var(--ink-soft);
}
.v2-faq__item-content p { margin: 0 0 10px; }
.v2-faq__item-content p:last-child { margin-bottom: 0; }
.v2-faq__item-content a { color: var(--brand); }

/* SEO longread */
.v2-longread {
    max-width: 820px;
    margin: 0 auto;
}
.v2-longread__intro {
    font-size: 17px;
    line-height: 1.6;
    color: var(--ink-soft);
    margin: 0 0 28px;
    padding: 20px 24px;
    background: var(--brand-soft);
    border-radius: var(--radius-sm);
    border-left: 3px solid var(--brand);
}
.v2-longread h2 {
    font-size: 24px;
    font-weight: 700;
    margin: 36px 0 14px;
    letter-spacing: -0.01em;
    color: var(--ink);
    scroll-margin-top: 80px;
}
.v2-longread h2:first-child,
.v2-longread > *:first-child { margin-top: 0; }
.v2-longread h3 {
    font-size: 19px;
    font-weight: 700;
    margin: 24px 0 10px;
    color: var(--ink);
}
.v2-longread p {
    font-size: 16px;
    line-height: 1.65;
    color: var(--ink-soft);
    margin: 0 0 14px;
}
.v2-longread ul, .v2-longread ol {
    font-size: 16px;
    line-height: 1.65;
    color: var(--ink-soft);
    margin: 0 0 14px;
    padding-left: 22px;
}
.v2-longread li { margin-bottom: 6px; }
.v2-longread strong { color: var(--ink); font-weight: 600; }
.v2-longread a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.v2-longread table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0;
    font-size: 15px;
}
.v2-longread th, .v2-longread td {
    padding: 10px 14px;
    text-align: left;
    border-bottom: 1px solid var(--border);
}
.v2-longread th {
    background: var(--surface-soft);
    font-weight: 600;
    color: var(--ink);
}
.v2-longread td { color: var(--ink-soft); }

/* Other niches cross-links */
.v2-other-niches__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
}
.v2-other-niche {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 22px 20px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.v2-other-niche:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: color-mix(in srgb, var(--c, var(--brand)) 40%, var(--border));
}
.v2-other-niche__icon {
    width: 44px; height: 44px;
    border-radius: 12px;
    background: color-mix(in srgb, var(--c, var(--brand)) 14%, transparent);
    color: var(--c, var(--brand));
    display: flex; align-items: center; justify-content: center;
}
.v2-other-niche__icon svg { width: 22px; height: 22px; }
.v2-other-niche__name {
    font-size: 18px;
    font-weight: 700;
    color: var(--ink);
    margin: 0;
}
.v2-other-niche__desc {
    font-size: 14px;
    color: var(--ink-soft);
    line-height: 1.5;
    margin: 0;
    flex: 1;
}
.v2-other-niche__arrow {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 14px;
    color: var(--c, var(--brand));
    font-weight: 600;
}

/* Extended footer */
.v2-footer__inner--wide {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 1fr;
    gap: 32px;
    padding: 40px 0 24px;
    align-items: start;
}
.v2-footer__col-title {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(255,255,255,0.5);
    margin: 0 0 14px;
}
.v2-footer__col-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.v2-footer__col-links a {
    color: rgba(255,255,255,0.75);
    font-size: 14px;
    text-decoration: none;
    transition: color 0.15s ease;
}
.v2-footer__col-links a:hover { color: #fff; }
.v2-footer__brand-info p {
    font-size: 14px;
    color: rgba(255,255,255,0.6);
    line-height: 1.55;
    margin: 12px 0 0;
    max-width: 300px;
}
.v2-footer__bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    padding: 20px 0;
    border-top: 1px solid rgba(255,255,255,0.08);
    font-size: 13px;
    color: rgba(255,255,255,0.5);
}
@media (max-width: 760px) {
    .v2-footer__inner--wide {
        grid-template-columns: 1fr 1fr;
        gap: 28px 20px;
    }
}
@media (max-width: 480px) {
    .v2-footer__inner--wide {
        grid-template-columns: 1fr;
    }
}

/* Adult 18+ badge */
.v2-nh__age-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 6px;
    background: #ef4444;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    margin-left: 8px;
    vertical-align: middle;
}

/* Simplified payouts for niche pages */
.v2-niche-payouts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    max-width: 960px;
    margin: 0 auto;
}
@media (max-width: 760px) {
    .v2-niche-payouts { grid-template-columns: 1fr; }
}
.v2-niche-payouts__box {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
}
.v2-niche-payouts__title {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 16px;
}
.v2-niche-payouts__list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.v2-niche-payouts__list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
}
.v2-niche-payouts__list li:last-child { border-bottom: none; }
.v2-niche-payouts__list .ok { color: #10b981; font-weight: 600; }
.v2-niche-payouts__conds {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.v2-niche-payouts__cond-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 16px;
    padding: 8px 0;
    border-bottom: 1px dashed var(--border);
}
.v2-niche-payouts__cond-row:last-child { border-bottom: none; }
.v2-niche-payouts__cond-key { color: var(--ink-soft); font-size: 14px; }
.v2-niche-payouts__cond-val { color: var(--ink); font-weight: 600; font-size: 15px; text-align: right; }

/* Linkified niche cards on main page */
a.v2-niche-link,
a.v2-niche-link:hover,
a.v2-niche-link:focus { color: inherit; text-decoration: none; }
a.v2-niche-link { cursor: pointer; transition: transform 0.18s ease, box-shadow 0.18s ease; }
a.v2-niche-link:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.v2-niche-link__arrow {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 14px;
    color: var(--brand);
    font-weight: 600;
    font-size: 14px;
    transition: gap 0.15s ease;
}
a.v2-niche-link:hover .v2-niche-link__arrow { gap: 8px; }
