/*
Theme Name: Astra Child
Theme URI: https://wpastra.com/
Description: Child theme for Astra
Author: Your Name
Author URI: https://wpastra.com/
Template: astra
Version: 1.0.0
Text Domain: astra-child
*/

/* سفارشی‌سازی‌های شما اینجا */

html,
body,
#page,
.site,
.site-content,
.ast-plain-container,
.ast-container {
    background-color: #f4f4f4 !important;
}

.site-footer,
.ast-small-footer,
.footer-adv,
.site-footer * {
    box-sizing: border-box;
}

.site-footer,
.ast-small-footer,
.ast-footer-overlay,
.footer-adv,
.footer-adv-overlay,
.ast-primary-footer-bar,
.ast-small-footer-wrap,
.site-primary-footer-wrap,
.site-below-footer-wrap,
.site-above-footer-wrap,
.site-footer .widget,
.site-footer .widget-area,
.site-footer .footer-widget-area,
.ast-small-footer .ast-footer-overlay,
.footer-adv .footer-adv-overlay,
.footer-adv .widget,
.footer-adv .widget-area {
    background-color: #f4f4f4 !important;
}

.site-footer {
    position: relative;
    margin-top: 0;
    padding-top: 32px;
    padding-bottom: 18px;
    color: #4b4b4b;
}

.ast-small-footer,
.footer-adv {
    position: relative;
    margin-bottom: 0;
    padding-left: 0;
    padding-right: 0;
}

.ast-small-footer > .ast-footer-overlay,
.footer-adv > .footer-adv-overlay {
    background-color: #f4f4f4 !important;
    min-height: 100%;
}

.site-footer .ast-container,
.site-footer .ast-builder-grid-row,
.site-footer .site-footer-section,
.footer-adv .ast-container {
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
}

.site-footer::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -1px;
    height: 1px;
    background: rgba(0, 0, 0, 0.05);
}

.site-footer a {
    color: inherit;
    transition: color 0.2s ease, opacity 0.2s ease;
}

.site-footer a:hover,
.site-footer a:focus {
    color: #111;
    opacity: 0.9;
}

.site-footer .widget {
    border-radius: 18px;
    padding: 22px 20px;
    background: rgba(255, 255, 255, 0.18) !important;
    border: 1px solid rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(2px);
    margin-bottom: 0;
}

.site-footer .widget-title,
.site-footer .widget-title a,
.site-footer .wp-block-heading,
.site-footer strong {
    color: #222 !important;
    font-weight: 700;
}

.site-footer p,
.site-footer li,
.site-footer span {
    line-height: 1.9;
}

.site-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.site-footer li + li {
    margin-top: 8px;
}

.site-footer .wp-block-columns,
.site-footer .footer-widget-area,
.site-footer .ast-builder-grid-row {
    gap: 28px;
}

.site-footer .ast-footer-copyright {
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    margin-top: 24px;
    padding-top: 16px;
}

.site-footer .wp-block-social-links,
.site-footer .elementor-icon-list-items,
.site-footer .menu,
.site-footer .widget_nav_menu ul {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 16px;
    align-items: center;
}

@media (max-width: 921px) {
    .site-footer {
        padding-top: 24px;
        padding-bottom: 14px;
    }

    .site-footer .widget {
        padding: 12px 0;
    }

    .site-footer .ast-container,
    .site-footer .ast-builder-grid-row,
    .site-footer .site-footer-section,
    .footer-adv .ast-container {
        padding-left: 16px;
        padding-right: 16px;
    }
}
