/*
 Theme Name:   BestTopZone Child
 Theme URI:    https://besttopzone.com
 Description:  Custom child theme for BestTopZone - built on Hello Elementor
 Author:       BestTopZone
 Author URI:   https://besttopzone.com
 Template:     hello-elementor
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  https://www.gnu.org/licenses/gpl-2.0.html
 Text Domain:  hello-btz-child
*/

/* ==========================================================================
   CSS Variables — Clone from besttopzone
   ========================================================================== */
:root {
    /* Colors */
    --btz-primary: #e53935;
    --btz-primary-dark: #c62828;
    --btz-primary-light: #ff6f60;
    --btz-secondary: #1e88e5;
    --btz-accent: #ff9800;
    --btz-dark: #212121;
    --btz-gray: #757575;
    --btz-gray-light: #f5f5f5;
    --btz-white: #ffffff;
    --btz-border: #e0e0e0;
    --btz-success: #43a047;
    --btz-warning: #ff9800;
    --btz-danger: #e53935;

    /* Typography */
    --btz-font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --btz-font-size-xs: 0.75rem;
    --btz-font-size-sm: 0.875rem;
    --btz-font-size-base: 1rem;
    --btz-font-size-lg: 1.125rem;
    --btz-font-size-xl: 1.25rem;
    --btz-font-size-2xl: 1.5rem;
    --btz-font-size-3xl: 1.875rem;

    /* Spacing */
    --btz-spacing-xs: 0.25rem;
    --btz-spacing-sm: 0.5rem;
    --btz-spacing-md: 1rem;
    --btz-spacing-lg: 1.5rem;
    --btz-spacing-xl: 2rem;
    --btz-spacing-2xl: 3rem;

    /* Layout */
    --btz-max-width: 1280px;
    --btz-sidebar-width: 280px;
    --btz-border-radius: 8px;
    --btz-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    --btz-shadow-lg: 0 4px 16px rgba(0, 0, 0, 0.15);
    --btz-transition: all 0.3s ease;
}

/* ==========================================================================
   Base Reset & Typography
   ========================================================================== */
*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    font-family: var(--btz-font-primary);
    font-size: var(--btz-font-size-base);
    color: var(--btz-dark);
    line-height: 1.6;
    background-color: var(--btz-gray-light);
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: var(--btz-secondary);
    text-decoration: none;
    transition: var(--btz-transition);
}

a:hover {
    color: var(--btz-primary);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ==========================================================================
   Container
   ========================================================================== */
.btz-container {
    max-width: var(--btz-max-width);
    margin: 0 auto;
    padding: 0 var(--btz-spacing-md);
}

/* ==========================================================================
   Utility Classes
   ========================================================================== */
.btz-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.btz-text-center { text-align: center; }
.btz-text-right { text-align: right; }
.btz-mt-1 { margin-top: var(--btz-spacing-md); }
.btz-mt-2 { margin-top: var(--btz-spacing-xl); }
.btz-mb-1 { margin-top: var(--btz-spacing-md); }
.btz-mb-2 { margin-bottom: var(--btz-spacing-xl); }

/* === CSS CHO CÁC TRANG CHÍNH SÁCH (TERMS, POLICY...) === */
body.page-template-default .site-main {
    max-width: 900px !important;
    margin: 50px auto !important;
    padding: 0 20px !important;
    background: #ffffff !important;
    border-radius: 16px !important;
    box-shadow: 0 10px 40px rgba(0,0,0,0.06) !important;
    border: 1px solid #f0f0f0 !important;
}

body.page-template-default .page-header,
body.page-template-default .entry-title {
    text-align: center !important;
    margin-bottom: 30px !important;
}

@media (max-width: 768px) {
    body.page-template-default .site-main {
        margin: 20px auto !important;
        padding: 30px 20px !important;
    }
}
