@charset "UTF-8";
/*
Theme Name: Nila
Theme URI: https://dibapc.com/themes/nila
Author: Amir Sheikhzadeh
Author URI: https://dibapc.com
Designer: Morteza Haghani
Description: Nila is a modern, powerful, and fully customizable WordPress theme with multi-language support, WooCommerce integration, and advanced performance optimization. Built with flexibility and speed in mind.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: nila
Domain Path: /languages
Tags: blog, e-commerce, portfolio, custom-header, custom-menu, featured-images, threaded-comments, translation-ready, rtl-language-support, full-width-template, custom-background, flexible-header, custom-logo, editor-style, block-styles, wide-blocks

Nila WordPress Theme, Copyright 2025 Amir Sheikhzadeh
Nila is distributed under the terms of the GNU GPL
*/

/**
 * Table of Contents
 * 
 * 1.0 - Reset & Normalize
 * 2.0 - Typography
 * 3.0 - Layout
 * 4.0 - Header
 * 5.0 - Navigation
 * 6.0 - Content
 * 7.0 - Sidebar
 * 8.0 - Footer
 * 9.0 - Utilities
 * 10.0 - Responsive
 */

/* ==========================================================================
   1.0 - Reset & Normalize
   ========================================================================== */

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

html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ==========================================================================
   2.0 - Typography
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1.5rem;
}

a {
    color: #0073aa;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover,
a:focus {
    color: #005177;
}

/* ==========================================================================
   3.0 - Layout
   ========================================================================== */

.site {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.site-content {
    flex: 1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==========================================================================
   9.0 - Utilities
   ========================================================================== */

.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important;
}

.screen-reader-text:focus {
    background-color: #f1f1f1;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    clip-path: none;
    color: #21759b;
    display: block;
    font-size: 0.875rem;
    font-weight: 700;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}

/* ==========================================================================
   10.0 - Responsive
   ========================================================================== */

@media screen and (max-width: 768px) {
    html {
        font-size: 14px;
    }
    
    .container {
        padding: 0 15px;
    }
}
