/*
Theme Name: Kadence Child
Theme URI: https://hannostradellc.com/
Description: Modern affiliate conversion child theme for Kadence.
Author: Hanno Stradel LLC
Template: kadence
Version: 1.0.0
Text Domain: kadence-child
Requires PHP: 8.0
*/

:root {
    --hnt-off-white: #f4f1ea;
    --hnt-paper: #fffaf0;
    --hnt-jet: #070707;
    --hnt-muted: #5f5c55;
    --hnt-orange: #ff4f00;
    --hnt-line: rgba(7, 7, 7, 0.18);
    --hnt-gutter: clamp(2.5rem, 4vw, 4.75rem);
    --hnt-edge: clamp(1.25rem, 4vw, 5rem);
    --hnt-step--1: clamp(0.82rem, 0.78rem + 0.2vw, 0.95rem);
    --hnt-step-0: clamp(1rem, 0.94rem + 0.32vw, 1.2rem);
    --hnt-step-1: clamp(1.22rem, 1.08rem + 0.72vw, 1.68rem);
    --hnt-step-2: clamp(1.55rem, 1.25rem + 1.5vw, 2.55rem);
    --hnt-step-3: clamp(2.35rem, 1.58rem + 3.85vw, 4.9rem);
    --hnt-step-4: clamp(3.4rem, 1.6rem + 8.95vw, 9.35rem);
}

body.hnt-landing {
    background: var(--hnt-off-white);
    color: var(--hnt-jet);
    font-family: Inter, "Helvetica Neue", Arial, sans-serif;
    font-size: var(--hnt-step-0);
    line-height: 1.45;
    margin: 0;
    text-rendering: geometricPrecision;
}

body.hnt-landing * {
    box-sizing: border-box;
}

body.hnt-landing a {
    color: inherit;
}

body.hnt-landing .site,
body.hnt-landing .site-main,
body.hnt-landing .content-area,
body.hnt-landing .entry-content-wrap {
    margin: 0;
    max-width: none;
    padding: 0;
}

.hnt-site {
    background:
        linear-gradient(90deg, rgba(7, 7, 7, 0.07) 1px, transparent 1px) var(--hnt-edge) 0 / calc((100vw - (var(--hnt-edge) * 2) - (var(--hnt-gutter) * 11)) / 12 + var(--hnt-gutter)) 100%,
        var(--hnt-off-white);
    min-height: 100vh;
    overflow: hidden;
}

.hnt-grid {
    column-gap: var(--hnt-gutter);
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    width: 100%;
}

.hnt-header {
    align-items: center;
    border-bottom: 1px solid var(--hnt-line);
    padding: clamp(1rem, 2vw, 1.75rem) var(--hnt-edge);
}

.hnt-logo {
    display: inline-flex;
    grid-column: 1 / span 5;
    text-decoration: none;
}

.hnt-logo__mark {
    color: var(--hnt-jet);
    font-family: "Faster One", Inter, system-ui, sans-serif;
    font-size: clamp(1.2rem, 2.2vw, 2.35rem);
    font-weight: 400;
    letter-spacing: 0.02em;
    line-height: 0.95;
    text-transform: uppercase;
}

.hnt-nav {
    display: flex;
    gap: 0.75rem;
    grid-column: 7 / -1;
    justify-content: flex-end;
}

.hnt-nav__link {
    align-items: center;
    border: 1px solid var(--hnt-jet);
    display: inline-flex;
    font-size: var(--hnt-step--1);
    font-weight: 900;
    justify-content: center;
    letter-spacing: 0.12em;
    min-height: 2.65rem;
    padding: 0.72rem 1rem;
    text-decoration: none;
    text-transform: uppercase;
    transition: background 160ms ease, color 160ms ease, transform 160ms ease;
    white-space: nowrap;
}

.hnt-nav__link:hover,
.hnt-nav__link:focus-visible {
    background: var(--hnt-jet);
    color: var(--hnt-off-white);
    transform: translateY(-2px);
}

.hnt-hero {
    min-height: clamp(46rem, 86vh, 58rem);
    padding: clamp(3rem, 7vw, 7rem) var(--hnt-edge) clamp(4rem, 8vw, 8rem);
    position: relative;
}

.hnt-hero__copy {
    align-self: center;
    grid-column: 1 / span 8;
    grid-row: 1;
    position: relative;
    z-index: 2;
}

.hnt-eyebrow {
    align-items: center;
    display: inline-flex;
    font-size: var(--hnt-step--1);
    font-weight: 900;
    gap: 0.75rem;
    letter-spacing: 0.18em;
    margin: 0 0 1.25rem;
    text-transform: uppercase;
}

.hnt-eyebrow::before {
    background: var(--hnt-orange);
    content: "";
    display: inline-block;
    height: 0.72rem;
    width: 0.72rem;
}

.hnt-hero h1 {
    font-size: var(--hnt-step-4);
    font-weight: 950;
    letter-spacing: -0.085em;
    line-height: 0.82;
    margin: 0;
    max-width: 11ch;
    text-transform: uppercase;
}

.hnt-hero__intro {
    border-left: 0.55rem solid var(--hnt-orange);
    font-size: var(--hnt-step-1);
    font-weight: 650;
    margin: clamp(1.5rem, 3vw, 2.5rem) 0 0;
    max-width: 38rem;
    padding-left: 1.25rem;
}

.hnt-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: clamp(1.5rem, 3vw, 2.75rem);
}

.hnt-button {
    align-items: center;
    border: 2px solid var(--hnt-jet);
    display: inline-flex;
    font-size: var(--hnt-step--1);
    font-weight: 950;
    justify-content: center;
    letter-spacing: 0.14em;
    min-height: 3.4rem;
    padding: 0.95rem 1.2rem;
    text-decoration: none;
    text-transform: uppercase;
    transition: background 160ms ease, color 160ms ease;
}

.hnt-button--primary {
    background: var(--hnt-orange);
    color: var(--hnt-jet);
}

.hnt-button--secondary {
    background: transparent;
}

.hnt-button:hover,
.hnt-button:focus-visible {
    background: var(--hnt-jet);
    color: var(--hnt-off-white);
}

.hnt-hero__visual {
    align-self: center;
    background:
        linear-gradient(135deg, rgba(255, 79, 0, 0.88), rgba(255, 79, 0, 0.16) 46%, transparent 46%),
        linear-gradient(90deg, var(--hnt-paper) 0 49.6%, var(--hnt-jet) 49.6% 50.4%, var(--hnt-paper) 50.4% 100%);
    border: 2px solid var(--hnt-jet);
    grid-column: 7 / -1;
    grid-row: 1;
    min-height: clamp(28rem, 52vw, 42rem);
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.hnt-hero__visual::before {
    background: var(--hnt-jet);
    color: var(--hnt-off-white);
    content: "01";
    font-size: clamp(9rem, 17vw, 20rem);
    font-weight: 950;
    letter-spacing: -0.12em;
    line-height: 0.76;
    padding: 1rem 2rem 1.4rem 1rem;
    position: absolute;
    right: -0.2rem;
    top: clamp(2rem, 6vw, 5rem);
}

.hnt-hero__visual::after {
    background: var(--hnt-orange);
    bottom: clamp(2rem, 4vw, 4rem);
    content: "";
    height: clamp(7rem, 14vw, 13rem);
    left: -2rem;
    position: absolute;
    width: clamp(12rem, 25vw, 24rem);
}

.hnt-visual__caption {
    background: var(--hnt-off-white);
    border-top: 2px solid var(--hnt-jet);
    bottom: 0;
    font-size: var(--hnt-step--1);
    font-weight: 900;
    left: 0;
    letter-spacing: 0.14em;
    padding: 1rem;
    position: absolute;
    right: 0;
    text-transform: uppercase;
    z-index: 2;
}

.hnt-proof {
    border-bottom: 1px solid var(--hnt-line);
    border-top: 1px solid var(--hnt-line);
    padding: 0 var(--hnt-edge);
}

.hnt-proof__item {
    border-left: 1px solid var(--hnt-line);
    grid-column: span 3;
    min-height: 12rem;
    padding: clamp(1.25rem, 2.5vw, 2rem) 0 clamp(1.25rem, 2.5vw, 2rem) 1.35rem;
}

.hnt-proof__item:last-child {
    border-right: 1px solid var(--hnt-line);
}

.hnt-proof strong {
    display: block;
    font-size: var(--hnt-step-3);
    font-weight: 950;
    letter-spacing: -0.08em;
    line-height: 0.9;
}

.hnt-proof span {
    display: block;
    font-size: var(--hnt-step--1);
    font-weight: 850;
    letter-spacing: 0.12em;
    margin-top: 0.75rem;
    text-transform: uppercase;
}

.hnt-section {
    padding: clamp(4rem, 8vw, 8rem) var(--hnt-edge);
}

.hnt-section__header {
    grid-column: 1 / span 5;
}

.hnt-section__kicker {
    color: var(--hnt-orange);
    font-size: var(--hnt-step--1);
    font-weight: 950;
    letter-spacing: 0.18em;
    margin: 0 0 1rem;
    text-transform: uppercase;
}

.hnt-section h2 {
    font-size: var(--hnt-step-3);
    font-weight: 950;
    letter-spacing: -0.075em;
    line-height: 0.9;
    margin: 0;
    text-transform: uppercase;
}

.hnt-section__body {
    grid-column: 7 / -1;
}

.hnt-section__body p {
    color: var(--hnt-muted);
    font-size: var(--hnt-step-1);
    margin: 0 0 1.4rem;
}

.hnt-cards {
    display: grid;
    gap: 1px;
    grid-column: 1 / -1;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: clamp(2.5rem, 5vw, 4.5rem);
}

.hnt-card {
    background: var(--hnt-paper);
    border: 1px solid var(--hnt-jet);
    min-height: 22rem;
    padding: clamp(1.25rem, 2.3vw, 2rem);
}

.hnt-card__number {
    color: var(--hnt-orange);
    display: block;
    font-size: var(--hnt-step-2);
    font-weight: 950;
    letter-spacing: -0.08em;
    margin-bottom: clamp(2.5rem, 6vw, 5rem);
}

.hnt-card h3 {
    font-size: var(--hnt-step-1);
    font-weight: 950;
    letter-spacing: -0.03em;
    line-height: 1;
    margin: 0 0 1rem;
    text-transform: uppercase;
}

.hnt-card p {
    color: var(--hnt-muted);
    margin: 0;
}

.hnt-criteria {
    background: var(--hnt-jet);
    color: var(--hnt-off-white);
}

.hnt-criteria .hnt-section__kicker,
.hnt-criteria .hnt-card__number {
    color: var(--hnt-orange);
}

.hnt-criteria .hnt-section__body p {
    color: rgba(244, 241, 234, 0.74);
}

.hnt-criteria__list {
    counter-reset: criteria;
    display: grid;
    gap: 0;
    grid-column: 1 / -1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: clamp(2.5rem, 5vw, 4.5rem);
}

.hnt-criteria__item {
    border: 1px solid rgba(244, 241, 234, 0.28);
    counter-increment: criteria;
    min-height: 13rem;
    padding: clamp(1.25rem, 2.6vw, 2rem);
}

.hnt-criteria__item::before {
    color: var(--hnt-orange);
    content: counter(criteria, decimal-leading-zero);
    display: block;
    font-weight: 950;
    letter-spacing: -0.04em;
    margin-bottom: 2rem;
}

.hnt-criteria__item h3 {
    font-size: var(--hnt-step-1);
    letter-spacing: -0.04em;
    line-height: 1;
    margin: 0 0 0.8rem;
    text-transform: uppercase;
}

.hnt-criteria__item p {
    color: rgba(244, 241, 234, 0.7);
    margin: 0;
}

.hnt-disclosure {
    border-bottom: 1px solid var(--hnt-line);
    border-top: 1px solid var(--hnt-line);
    padding: clamp(2rem, 4vw, 3rem) var(--hnt-edge);
}

.hnt-disclosure p {
    font-size: var(--hnt-step-1);
    font-weight: 800;
    grid-column: 2 / span 10;
    letter-spacing: -0.02em;
    margin: 0;
    text-align: center;
}

.hnt-footer {
    align-items: center;
    padding: clamp(1.5rem, 3vw, 2.5rem) var(--hnt-edge);
}

.hnt-footer__brand {
    font-family: "Faster One", Inter, system-ui, sans-serif;
    font-size: clamp(1rem, 1.4vw, 1.35rem);
    grid-column: 1 / span 4;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.hnt-footer__copy {
    color: var(--hnt-muted);
    font-size: var(--hnt-step--1);
    font-weight: 800;
    grid-column: 8 / -1;
    letter-spacing: 0.08em;
    margin: 0;
    text-align: right;
    text-transform: uppercase;
}

.hnt-footer__nav {
    grid-column: 5 / span 3;
    justify-self: center;
}

.hnt-footer__nav ul {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.hnt-footer__nav li a {
    align-items: center;
    border: 1px solid var(--hnt-jet);
    display: inline-flex;
    font-size: var(--hnt-step--1);
    font-weight: 900;
    justify-content: center;
    letter-spacing: 0.12em;
    min-height: 2.65rem;
    padding: 0.72rem 1rem;
    text-decoration: none;
    text-transform: uppercase;
    transition: background 160ms ease, color 160ms ease, transform 160ms ease;
    white-space: nowrap;
}

.hnt-footer__nav li a:hover,
.hnt-footer__nav li a:focus-visible {
    background: var(--hnt-jet);
    color: var(--hnt-off-white);
    transform: translateY(-2px);
}

.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    height: 1px;
    overflow: hidden;
    position: absolute;
    width: 1px;
}

.screen-reader-text:focus {
    background: var(--hnt-orange);
    clip: auto;
    color: var(--hnt-jet);
    height: auto;
    left: 1rem;
    padding: 0.8rem 1rem;
    top: 1rem;
    width: auto;
    z-index: 100000;
}

@media (max-width: 960px) {
    :root {
        --hnt-gutter: clamp(1rem, 4vw, 2rem);
    }

    .hnt-site {
        background: var(--hnt-off-white);
    }

    .hnt-header,
    .hnt-hero,
    .hnt-section,
    .hnt-disclosure,
    .hnt-footer {
        padding-left: clamp(1rem, 5vw, 2rem);
        padding-right: clamp(1rem, 5vw, 2rem);
    }

    .hnt-logo,
    .hnt-nav,
    .hnt-hero__copy,
    .hnt-hero__visual,
    .hnt-section__header,
    .hnt-section__body,
    .hnt-disclosure p,
    .hnt-footer__brand,
    .hnt-footer__copy,
    .hnt-footer__nav {
        grid-column: 1 / -1;
    }

    .hnt-nav {
        justify-content: flex-start;
        margin-top: 1rem;
    }

    .hnt-hero {
        min-height: auto;
        row-gap: 2rem;
    }

    .hnt-hero__copy,
    .hnt-hero__visual {
        grid-row: auto;
    }

    .hnt-hero__visual {
        min-height: 25rem;
    }

    .hnt-proof__item {
        grid-column: span 6;
    }

    .hnt-cards,
    .hnt-criteria__list {
        grid-template-columns: 1fr;
    }

    .hnt-footer__copy {
        margin-top: 1rem;
        text-align: left;
    }

    .hnt-footer__nav {
        margin-top: 1rem;
    }
}

@media (max-width: 560px) {
    .hnt-header,
    .hnt-nav,
    .hnt-actions,
    .hnt-footer__nav ul {
        align-items: stretch;
        flex-direction: column;
    }

    .hnt-nav__link,
    .hnt-button,
    .hnt-footer__nav li a {
        width: 100%;
    }

    .hnt-proof__item {
        grid-column: 1 / -1;
    }
}

/* Latest Reviews Posts Grid */
.hnt-posts {
    padding: 80px 0;
}

.hnt-posts h2 {
    font-size: 2rem;
    margin-bottom: 40px;
    text-align: center;
}

.hnt-posts__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    width: 100%;
}

.hnt-post-card {
    background: var(--hnt-surface, #1a1a2e);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hnt-post-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}

.hnt-post-card a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.hnt-post-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.hnt-post-card h3 {
    padding: 16px;
    font-size: 0.95rem;
    line-height: 1.4;
    margin: 0;
}

/* Blog homepage styling */
body {
    background: var(--hnt-off-white) !important;
    color: var(--hnt-jet) !important;
}

.site-header {
    background: var(--hnt-paper) !important;
    border-bottom: 1px solid var(--hnt-line) !important;
}

.entry-title a {
    color: var(--hnt-jet) !important;
    text-decoration: none !important;
}

.entry-title a:hover {
    color: var(--hnt-orange) !important;
}

article.post {
    background: var(--hnt-paper);
    border: 1px solid var(--hnt-line);
    border-radius: 8px;
    padding: 24px;
    margin-bottom: 24px;
}
