/*
Theme Name: Summoners War Codes - SWQ
Description: Share and discover valid Summoners War coupon codes verified by the community. Claim rewards like mystical scrolls, crystals, energy refills, and more.
Version: 1.0.0
Author: https://t.me/devnguyen
Text Domain: summoners-war-query
*/

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

/* Root Variables */
:root {
    --primary-color: #0d6efd;
    --primary-rgb: 0, 74, 173;
    --font-family: "Inter", sans-serif;
}

/* Global Styles */
body {
    font-family: var(--font-family);
    line-height: 1.6;
    background-color: #F5F5F5;
    color: #000;
}

h1,
.h1 {
    font-size: 2rem !important;
    line-height: 1.2;
    font-weight: 600;
    margin-bottom: 1rem;
}

h2,
.h2 {
    font-size: 1.75rem !important;
    line-height: 1.25;
    font-weight: 600;
    margin-bottom: 0.875rem;
}

h3,
.h3 {
    font-size: 1.5rem !important;
    line-height: 1.3;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

h4,
.h4 {
    font-size: 1.25rem !important;
    /* 20px */
    line-height: 1.35;
    font-weight: 500;
    margin-bottom: 0.625rem;
}

h5,
.h5 {
    font-size: 1.125rem !important;
    /* 18px */
    line-height: 1.4;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

h6,
.h6 {
    font-size: 1rem !important;
    /* 16px */
    line-height: 1.5;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

/* Responsive design cho tablet */
@media (max-width: 991.98px) {
    h1,
    .h1 {
        font-size: 1.75rem !important;
        /* 28px */
    }

    h2,
    .h2 {
        font-size: 1.5rem !important;
        /* 24px */
    }

    h3,
    .h3 {
        font-size: 1.375rem !important;
        /* 22px */
    }

    h4,
    .h4 {
        font-size: 1.125rem !important;
        /* 18px */
    }
}

/* Responsive design cho mobile */
@media (max-width: 575.98px) {
    h1,
    .h1 {
        font-size: 1.5rem !important;
        /* 24px */
        margin-bottom: 0.875rem;
    }

    h2,
    .h2 {
        font-size: 1.375rem !important;
        /* 22px */
        margin-bottom: 0.75rem;
    }

    h3,
    .h3 {
        font-size: 1.25rem !important;
        /* 20px */
        margin-bottom: 0.625rem;
    }

    h4,
    .h4 {
        font-size: 1.125rem !important;
        /* 18px */
        margin-bottom: 0.5rem;
    }

    h5,
    .h5 {
        font-size: 1rem !important;
        /* 16px */
    }

    h6,
    .h6 {
        font-size: 0.875rem !important;
        /* 14px */
    }
}

/* Utility classes */
.heading-compact {
    margin-bottom: 0.5rem !important;
}

.heading-spacious {
    margin-bottom: 1.5rem !important;
}

.heading-light {
    font-weight: 400 !important;
}

.heading-bold {
    font-weight: 700 !important;
}

/* Container demo */
.demo-section {
    padding: 2rem 0;
    border-bottom: 1px solid #e9ecef;
}

.size-info {
    font-size: 0.875rem;
    color: #6c757d;
    font-style: italic;
}

/* Override Bootstrap Primary Color */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: rgba(var(--primary-rgb), 0.8);
    border-color: rgba(var(--primary-rgb), 0.8);
}

.text-primary {
    color: var(--primary-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.border-primary {
    border-color: var(--primary-color) !important;
}

/* Navbar Styles */
.navbar-brand img {
    max-height: 40px;
}

.navbar {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.05), inset 0 -1px 0 rgba(0, 0, 0, 0.15);
}

.navbar-nav .dropdown-menu {
    width: 260px;
}

body {
    padding-top: 58px;
}

.h1,
h1 {
    font-size: 2rem;
}

.h2,
h2 {
    font-size: 1.8rem;
}

/* Main Content */
.main-content {
    min-height: calc(100vh - 200px);
}

/* Footer Styles */
.footer {
    background-color: #f8f9fa;
    border-top: 1px solid #ddd;
    padding: 2rem 0 1rem;
    margin-top: 3rem;
}

.footer-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-menu li {
    margin: 0 1rem;
}

.footer-menu a {
    color: #6c757d;
    text-decoration: none;
}

.footer-menu a:hover {
    color: var(--primary-color);
}

.app-links a {
    display: inline-block;
    margin: 0 0.5rem;
}

.app-links img {
    height: 40px;
}

/* Breadcrumbs */
.breadcrumb {
    background-color: transparent;
    padding: 0.5rem 0;
}

.breadcrumb-item a {
    color: var(--primary-color);
    text-decoration: none;
}

/* FAQ Styles */
.faq-item {
    margin-bottom: 1rem;
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
}

.faq-question {
    background-color: #f8f9fa;
    padding: 1rem;
    cursor: pointer;
    border-bottom: 1px solid #dee2e6;
    margin: 0;
    font-size: 1rem;
    font-weight: 400;
}

.faq-answer {
    padding: 1rem;
    display: none;
}

.faq-answer.active {
    display: block;
}

.faq-answer ul,
.faq-answer ol {
    margin: 15px 0;
    padding-left: 25px;
}

.faq-answer li {
    margin-bottom: 8px;
    line-height: 1.6;
}

.faq-answer h4 {
    font-size: 1.2rem;
}

.related-keywords {
    margin-bottom: 20px;
}

.related-keywords h3 {
    color: #2c3e50;
    font-size: 18px;
    margin-bottom: 15px;
}

.keyword {
    display: inline-block;
    background: #e3f2fd;
    color: #1976d2;
    padding: 5px 10px;
    margin: 3px;
    border-radius: 15px;
    font-size: 14px;
    text-decoration: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .navbar-nav .dropdown-menu .nav-link {
        padding: 5px 10px;
    }

    .main-wrapper {
        width: 100% !important;
        max-width: 100% !important;
    }

    .footer-menu ul {
        flex-direction: column;
        text-align: center;
    }

    .footer-menu li {
        margin: 0.25rem 0;
    }
}

/* Search Form */
.search-form {
    max-width: 400px;
}

/* Post */
.recent-posts-section h5.card-title {
    font-size: 1rem;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

/* Post meta */
.post-meta {
    color: #6c757d;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.post-meta a {
    color: var(--primary-color);
    text-decoration: none;
}

/* Archive styles */
.archive-header {
    background-color: #f8f9fa;
    padding: 2rem 0;
    margin-bottom: 2rem;
}