/* Why TamerX CMS page styles */
@font-face { font-family: 'Gotham'; src: url('../fonts/Gotham-Thin.woff2') format('woff2');             font-weight: 100; font-style: normal; font-display: swap; }
@font-face { font-family: 'Gotham'; src: url('../fonts/Gotham-ThinItalic.woff2') format('woff2');       font-weight: 100; font-style: italic; font-display: swap; }
@font-face { font-family: 'Gotham'; src: url('../fonts/Gotham-ExtraLight.woff2') format('woff2');       font-weight: 200; font-style: normal; font-display: swap; }
@font-face { font-family: 'Gotham'; src: url('../fonts/Gotham-ExtraLightItalic.woff2') format('woff2'); font-weight: 200; font-style: italic; font-display: swap; }
@font-face { font-family: 'Gotham'; src: url('../fonts/Gotham-Light.woff2') format('woff2');            font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: 'Gotham'; src: url('../fonts/Gotham-Book.woff2') format('woff2');             font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Gotham'; src: url('../fonts/Gotham-Medium.woff2') format('woff2');           font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Gotham'; src: url('../fonts/Gotham-Bold.woff2') format('woff2');             font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Gotham'; src: url('../fonts/Gotham-BoldItalic.woff2') format('woff2');       font-weight: 700; font-style: italic; font-display: swap; }
@font-face { font-family: 'Gotham'; src: url('../fonts/Gotham-Black.woff2') format('woff2');            font-weight: 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'Gotham'; src: url('../fonts/Gotham-Ultra.woff2') format('woff2');            font-weight: 950; font-style: normal; font-display: swap; }

/* Dev helper (toggle when needed) */
.bgimg {
    display: none;
    position: absolute;
    z-index: 2 !important;
    opacity: 0.5;
    left: 0;
    top: 0;
    width: 1375px;
    height: 2063px;
    outline: solid 1px blue !important;
    background-image: url('../images/whytamerx/why-tamerx-layout.jpg');
    /* background-image: url('../images/oex/distributors-flag-layout.png'); */
    background-size: 100% auto;
    background-repeat: no-repeat;
}
.bgimg:hover {
    display: none;
}
.why-tamerx-page * {z-index: 1;}

/* ---------- Full-width CMS page reset ---------- */
body { background: black !important; }
#maincontent {
    padding: 0;
    font-family: 'Gotham', sans-serif;
    font-weight: 400;
    background-color: black !important;
}
#maincontent .columns {
    padding: 0;
    background: none !important;
    width: 100%;
    margin: 0;
}
#maincontent .column.main {
    display: block;
    padding: 0;
    float: none;
    width: 100%;
}
#m-navigation-product-list-wrapper { display: none; }

/* ---------- Page root ---------- */
.why-tamerx-page {
    --brand-green: #2ea83a;
    --dark-bg: #0a0a0a;
    --panel-bg: #f4f4f4;
    --muted: #6a6a6a;
    --muted-light: #b8b8b8;
    --rule: #d8d8d8;
    --rule-dark: #2c2c2c;
    color: #fff;
    font-family: 'Gotham', sans-serif;
    background-color: black !important;
    position: relative;
}

.why-tamerx-page :where(h1, h2, h3, h4, h5, h6, p, ul, ol, li, figure, blockquote, hr) {
    margin: 0;
    padding: 0;
    font-weight: inherit;
    line-height: inherit;
}
.why-tamerx-page :where(ul, ol) { list-style: none; }
.why-tamerx-page :where(h1, h2, h3, h4, h5, h6) { font-weight: 700; letter-spacing: 0.02em; }
.why-tamerx-page img { display: block; max-width: 100%; height: auto; }
.why-tamerx-page a { color: inherit; text-decoration: none; }
.why-tamerx-page .accent { color: var(--brand-green); }

/* ---------- 1. Hero ---------- */
.wt-hero {
    position: relative;
    background-color: black;
    background-image: url('../images/distributors/hero-flag.jpg');
    background-size: 92.93% 129.39%;
    background-repeat: no-repeat;
    background-position-x: 82px;
    background-position-y: -40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    /* padding: 0 60px 46px 53px; */
    padding: 0 32px 20px 53px;
    min-height: 454px;
}
.wt-hero-eyebrow {
    color: var(--brand-green);
    font-weight: 700;
    font-size: 16px;
    letter-spacing: 0.12em;
    margin-bottom: 12px;
    margin-top: 59px;
}
.wt-hero-title {
    font-size: 52px;
    line-height: 1.14;
    font-weight: 700;
    letter-spacing: -3px;
    color: white;
}
.wt-hero-description {
    margin-top: 19px;
    max-width: 530px;
    font-size: 20px;
    line-height: 1.6;
    color: #e6e6e6;
    font-weight: 300;
    letter-spacing: -0.05px;
}
.wt-hero-media { 
    display: flex; 
    justify-content: flex-end; 
    align-items: flex-end;
    margin-bottom: 28px;
}
.wt-hero-product { 
    max-width: 100%;
    max-height: 400px;
    width: auto;
    height: auto;
}

/* ---------- 2. Our strengths ---------- */
.wt-strengths {
    background: var(--panel-bg);
    color: #111;
    padding: 29px 46px 40px;
}
.wt-strengths-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 26px;
    font-size: 30px;
    color: #111;
    text-align: center;
    margin-bottom: 30px;
    letter-spacing: -1.2px;
}
.wt-strengths-title::before,
.wt-strengths-title::after {
    content: "";
    flex: 1 1 0;
    max-width: 100%;
    height: 2px;
    background: var(--brand-green);
}
.wt-strengths-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
}
.wt-strength {
    text-align: center;
    padding: 0 26px;
    position: relative;
}
.wt-strength + .wt-strength::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    bottom: 8px;
    width: 1px;
    background: var(--rule);
}
.wt-strength-icon-container {
    height: 74px;
}
.wt-strength-icon { width: 66px !important; height: 66px !important; object-fit: contain; margin: 0 auto 22px; }
.wt-strength-title {
    font-size: 18px;
    color: #111;
    line-height: 1.4;
    margin-bottom: 14px;
    margin-top: 14px;
}
.wt-strength-desc {
    font-size: 15px;
    line-height: 1.6;
    color: black;
    font-weight: 500;
}

/* ---------- 3. Why it matters ---------- */
.wt-matters {
    background: var(--dark-bg);
    padding: 39px 43px 42px 55px;
    display: grid;
    grid-template-columns: 447px 1fr;
    gap: 38px;
}
.wt-matters-eyebrow {
    color: var(--brand-green);
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0.12em;
    margin-bottom: 6px;
}
.wt-matters-title {
    font-size: 41px;
    line-height: 1.23;
    color: #fff;
}
.wt-matters-description {
    margin-top: 16px;
    max-width: 440px;
    font-size: 16px;
    line-height: 1.7;
    color: white;
    font-weight: 300;
}
.wt-matters-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 57px 26px;
    padding-top: 7px;
    position: relative;
}
.wt-matters-grid::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 1px;
    background: var(--rule-dark);
}
.wt-matters-item {
    display: grid;
    grid-template-columns: 77px 1fr;
    gap: 26px;
    align-items: start;
    position: relative;
}
.wt-matters-item:nth-child(1)::before,
.wt-matters-item:nth-child(3)::before {
    content: "";
    position: absolute;
    width: 1px;
    right: -13px;
    top: 0;
    bottom: 0;
    background: var(--rule-dark);
}
.wt-matters-icon { 
    width: 50px; 
    height: 50px; 
    object-fit: contain;
    margin-left: 19px;
}
.wt-matters-item-title {
    color: #fff;
    font-size: 17px;
    letter-spacing: 0.04em;
    margin-bottom: 6px;
}
.wt-matters-item-desc {
    font-size: 15px;
    line-height: 1.6;
    color: var(--muted-light);
    font-weight: 500;
}

/* ---------- 4. American made ---------- */
.wt-usa {
    background: white;
    color: #111;
    display: grid;
    grid-template-columns: 1fr 1.1fr 0.7fr;
    gap: 48px;
    align-items: center;
    padding: 0 60px 0 0;
    min-height: 290px;
}
.wt-usa-media { align-self: stretch; }
.wt-usa-image { width: 100%; height: 100%; object-fit: cover; }
.wt-usa-content { padding: 20px 0; }
.wt-usa-eyebrow {
    color: var(--brand-green);
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0.12em;
    margin-top: 9px;
    margin-bottom: 9px;
}
.wt-usa-title {
    font-size: 38px;
    line-height: 1.12;
    color: #111;
}
.wt-usa-description {
    margin-top: 14px;
    max-width: 430px;
    font-size: 16px;
    line-height: 1.25;
    color: black;
    font-weight: 400;
}
.wt-usa-badge { display: flex; justify-content: center; align-items: center; }
.wt-usa-badge-image { max-width: 190px; width: 230px; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .wt-hero, .wt-matters { grid-template-columns: 1fr; gap: 40px; }
    .wt-hero { text-align: center; padding: 60px 32px; }
    .wt-hero-description { margin-left: auto; margin-right: auto; }
    .wt-hero-media { justify-content: center; }
    .wt-strengths-grid { grid-template-columns: repeat(2, 1fr); gap: 40px 0; }
    .wt-strength:nth-child(odd)::before { display: none; }
    .wt-usa {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 0 0 48px;
    }
    .wt-usa-content { padding: 40px 32px 0; }
    .wt-usa-description { margin-left: auto; margin-right: auto; }
}

@media (max-width: 600px) {
    /* 1. Hero */
    .wt-hero {
        background-image: none;
        padding: 32px 24px;
        min-height: 0;
        gap: 24px;
        text-align: center;
    }
    .wt-hero-eyebrow { margin-top: 0; font-size: 14px; margin-bottom: 10px; }
    .wt-hero-title { font-size: 34px; letter-spacing: -1.2px; }
    .wt-hero-description { font-size: 16px; margin: 14px auto 0; }
    .wt-hero-media { justify-content: center; margin-bottom: 0; }
    .wt-hero-product { max-height: 260px; }

    /* 2. Our strengths */
    .wt-strengths { padding: 28px 24px 32px; }
    .wt-strengths-title { font-size: 22px; gap: 14px; margin-bottom: 24px; }
    .wt-strengths-grid { grid-template-columns: 1fr; gap: 28px; }
    .wt-strength { padding: 0; }
    .wt-strength::before { display: none !important; }

    /* 3. Why it matters */
    .wt-matters { padding: 32px 24px; gap: 28px; }
    .wt-matters-title { font-size: 28px; }
    .wt-matters-grid { grid-template-columns: 1fr; gap: 24px; padding-top: 0; }
    /* Hide the desktop dividers — they'd paint in the wrong place once the inner grid is 1-col */
    .wt-matters-grid::before,
    .wt-matters-item:nth-child(1)::before,
    .wt-matters-item:nth-child(3)::before { display: none; }
    .wt-matters-item { grid-template-columns: 60px 1fr; gap: 16px; }
    .wt-matters-icon { width: 44px; height: 44px; margin-left: 8px; }

    /* 4. American made */
    .wt-usa { padding: 0 0 28px; min-height: 0; gap: 30px;}
    .wt-usa-media { display: none; }
    .wt-usa-image { height: 100%; object-fit: cover; }
    .wt-usa-content { padding: 28px 24px 0; }
    .wt-usa-title { font-size: 28px; }
    .wt-usa-description { margin: 14px auto 0; font-size: 15px; }
    .wt-usa-badge-image { width: 160px; }
}

/* Reveal once styles are loaded (paired with the inline visibility:hidden guard) */
.why-tamerx-page { visibility: visible !important; }
