/**
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-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)
        );
    }
}

/*********************** END OF FILE *************************************/
/************************************************************************************************/
