/**
Theme Name: Tebarato
Theme URI: https://tebarato.com
Author: Tebarato
Author URI: https://tebarato.com
Description: A modern, responsive WordPress theme for affiliate websites at their best. Designed for trustworthy product reviews, detailed buying guides, helpful comparisons, curated deals and engaging editorial content.
Tags: affiliate-marketing, reviews, buying-guides, technology, outdoor, smart-home
Version: 1.0.0
Text Domain: tebarato
*/

/* =========================================================
   1. Global design variables
   ========================================================= */

:root {
    --tb-primary: #007a74;
    --tb-secondary: #43b3ae;
    --tb-soft: #81d8d0;
    --tb-accent: #00ccff;
    --tb-dark: #344055;
    --tb-alert: #ff6f61;

    --tb-text: #344055;
    --tb-text-light: #667085;
    --tb-heading: #202938;

    --tb-background: #ffffff;
    --tb-background-soft: #f6f9f9;
    --tb-border: #e2e8f0;
    --tb-white: #ffffff;

    --tb-container-width: 1180px;
    --tb-base-font-size: 18px;
    --tb-mobile-article-body-size: 25px;
    --tb-mobile-article-meta-size: 21px;
    --tb-mobile-article-heading-size: 30px;
    --tb-mobile-article-subheading-size: 26px;
    --tb-mobile-article-control-size: 19px;

    /*
     * Product category "mood" colors - used by the Products mega menu
     * (assets/styles/menu/mega-menu.css) to color each category's
     * flyout accent/border so Tech, Fashion, etc. each feel distinct.
     * Add a line here for any new top-level product category; the
     * mega menu falls back to --tb-primary for ones without an entry.
     */
    --tb-category-tech: #2f6fed;
    --tb-category-fashion: #e0529c;
    --tb-category-home-and-garden: #4caf50;
    --tb-category-outdoor: #f0932b;
    --tb-category-automotive: #e5484d;

    --tb-radius-small: 6px;
    --tb-radius-medium: 12px;
    --tb-radius-large: 18px;

    --tb-shadow-small:
        0 4px 14px rgba(52, 64, 85, 0.06);

    --tb-shadow-medium:
        0 10px 30px rgba(52, 64, 85, 0.09);

    --tb-transition:
        180ms ease;
}


/* =========================================================
   2. Basic reset
   ========================================================= */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    font-size: var(--tb-base-font-size);
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--tb-text);
    background: var(--tb-background);
    font-family:
        Arial,
        Helvetica,
        sans-serif;
    font-size: 1rem;
    line-height: 1.6;
}

img,
picture,
video,
canvas,
svg {
    display: block;
    max-width: 100%;
}

img {
    height: auto;
}

input,
button,
textarea,
select {
    font: inherit;
}

button {
    cursor: pointer;
}


/* =========================================================
   3. Global typography
   ========================================================= */

h1,
h2,
h3,
h4,
h5,
h6 {
    margin-top: 0;
    color: var(--tb-heading);
    font-family:
        Poppins,
        Arial,
        Helvetica,
        sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

p {
    margin-top: 0;
    margin-bottom: 1rem;
}

a {
    color: var(--tb-primary);
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
    transition:
        color var(--tb-transition);
}

a:hover {
    color: var(--tb-secondary);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 3px solid var(--tb-accent);
    outline-offset: 3px;
}


/* =========================================================
   4. Global layout
   ========================================================= */

.tebarato-container {
    width: min(
        calc(100% - 32px),
        var(--tb-container-width)
    );
    margin-inline: auto;
}

.site-main {
    min-height: 50vh;
}


/* =========================================================
   5. Global buttons
   ========================================================= */

.tebarato-button,
button,
input[type="button"],
input[type="submit"],
input[type="reset"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    border: 1px solid var(--tb-primary);
    border-radius: var(--tb-radius-small);
    padding: 10px 18px;
    color: var(--tb-white);
    background: var(--tb-primary);
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    transition:
        color var(--tb-transition),
        background-color var(--tb-transition),
        border-color var(--tb-transition);
}

.tebarato-button:hover,
button:hover,
input[type="button"]:hover,
input[type="submit"]:hover,
input[type="reset"]:hover {
    border-color: var(--tb-secondary);
    color: var(--tb-white);
    background: var(--tb-secondary);
}


/* =========================================================
   6. Form elements
   ========================================================= */

input[type="text"],
input[type="email"],
input[type="search"],
input[type="url"],
input[type="password"],
input[type="number"],
textarea,
select {
    width: 100%;
    min-height: 44px;
    border: 1px solid var(--tb-border);
    border-radius: var(--tb-radius-small);
    padding: 10px 12px;
    color: var(--tb-text);
    background: var(--tb-white);
}

textarea {
    min-height: 140px;
    resize: vertical;
}


/* =========================================================
   7. WordPress accessibility helpers
   ========================================================= */

.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.screen-reader-text:focus {
    z-index: 100000;
    top: 8px;
    left: 8px;
    width: auto;
    height: auto;
    clip: auto;
    padding: 12px 16px;
    color: var(--tb-heading);
    background: var(--tb-white);
    box-shadow: var(--tb-shadow-medium);
}


/* =========================================================
   8. WordPress image alignment
   ========================================================= */

.alignleft {
    float: left;
    margin: 0 24px 20px 0;
}

.alignright {
    float: right;
    margin: 0 0 20px 24px;
}

.aligncenter {
    display: block;
    margin-right: auto;
    margin-left: auto;
}


/* =========================================================
   9. Responsive global adjustments
   ========================================================= */

@media (max-width: 600px) {
    .tebarato-container {
        width: min(
            calc(100% - 24px),
            var(--tb-container-width)
        );
    }
}


/* =========================================================
   10. Legal pages
   ========================================================= */

.tb-legal-page {
    max-width: 860px;
    margin: 0 auto;
    padding: 60px 24px 80px;
    color: var(--tb-heading);
    font-family: Inter, Arial, Helvetica, sans-serif;
    line-height: 1.8;
}

.tb-legal-page h1 {
    margin-bottom: 6px;
    color: var(--tb-dark);
    font-family: Poppins, Arial, Helvetica, sans-serif;
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 800;
    line-height: 1.2;
}

.tb-legal-page > p:first-of-type em {
    display: inline-block;
    margin-bottom: 36px;
    border-left: 3px solid var(--tb-primary);
    border-radius: 0 6px 6px 0;
    padding: 5px 12px;
    color: var(--tb-text-light);
    background: #f0fafa;
    font-size: 0.82rem;
    font-style: normal;
}

.tb-legal-page > p:nth-of-type(2) {
    margin-bottom: 40px;
    border: 1px solid #d0eeec;
    border-radius: 10px;
    padding: 20px 24px;
    color: var(--tb-dark);
    background: #f7fefe;
    font-size: 1.05rem;
}

.tb-legal-page hr {
    margin: 40px 0;
    border: 0;
    border-top: 1px solid var(--tb-border);
}

.tb-legal-page h2 {
    margin: 0 0 14px;
    border-bottom: 2px solid var(--tb-border);
    padding-bottom: 8px;
    color: var(--tb-primary);
    font-family: Poppins, Arial, Helvetica, sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.tb-legal-page h3 {
    margin: 24px 0 10px;
    color: var(--tb-dark);
    font-family: Poppins, Arial, Helvetica, sans-serif;
    font-size: 1rem;
    font-weight: 600;
}

.tb-legal-page p,
.tb-legal-page li {
    color: var(--tb-heading);
    font-size: 0.97rem;
}

.tb-legal-page p {
    margin-bottom: 16px;
}

.tb-legal-page ul,
.tb-legal-page ol {
    margin: 0 0 20px;
    padding-left: 20px;
}

.tb-legal-page li {
    margin-bottom: 8px;
    line-height: 1.75;
}

.tb-legal-page li::marker {
    color: var(--tb-primary);
}

.tb-legal-page ol li::marker,
.tb-legal-page strong {
    color: var(--tb-dark);
    font-weight: 600;
}

.tb-legal-page a {
    color: var(--tb-primary);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.tb-legal-page a:hover {
    color: var(--tb-secondary);
}

.tb-legal-page table {
    width: 100%;
    margin: 20px 0 32px;
    overflow: hidden;
    border-collapse: collapse;
    border-radius: 10px;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.06);
    font-size: 0.9rem;
}

.tb-legal-page thead {
    color: var(--tb-white);
    background: var(--tb-primary);
}

.tb-legal-page th,
.tb-legal-page td {
    padding: 11px 16px;
    text-align: left;
    vertical-align: top;
}

.tb-legal-page th {
    font-family: Poppins, Arial, Helvetica, sans-serif;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.tb-legal-page tbody tr {
    border-bottom: 1px solid var(--tb-border);
}

.tb-legal-page tbody tr:nth-child(even) {
    background: #f7fefe;
}

.tb-legal-page tbody tr:hover {
    background: #edfafa;
}

.tb-legal-page tbody tr:last-child {
    border-bottom: 0;
}

.tb-legal-page > p:last-of-type em {
    display: block;
    margin-top: 10px;
    border-top: 1px solid var(--tb-border);
    padding-top: 20px;
    color: var(--tb-text-light);
    font-size: 0.82rem;
}

@media (max-width: 767px) {
    .tb-legal-page {
        padding: 36px 16px 60px;
    }

    .tb-legal-page h1 {
        font-size: 1.6rem;
    }

    .tb-legal-page h2 {
        font-size: 1.05rem;
    }

    .tb-legal-page table {
        display: block;
        max-width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        font-size: 0.82rem;
    }

    .tb-legal-page th,
    .tb-legal-page td {
        padding: 9px 10px;
    }
}

/*********************** END OF FILE *************************************/
/************************************************************************************************/
