html, body {
    width: 100%;
    overflow-x: hidden;
    background-color: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@font-face {
    font-family: 'Shabnam';
    src: url('/static/fonts/Shabnam-Light.woff2') format('woff2');
    font-weight: 300;
}

@font-face {
    font-family: 'Shabnam';
    src: url('/static/fonts/Shabnam.woff2') format('woff2');
    font-weight: 400;
}

@font-face {
    font-family: 'Shabnam';
    src: url('/static/fonts/Shabnam-Bold.woff2') format('woff2');
    font-weight: 700;
}

body {
    font-family: 'Shabnam', Tahoma, sans-serif;
    direction: rtl;
}

h1, h2, h3 {
    font-weight: 700;
    line-height: 1.7;
}

p {
    font-weight: 400;
    line-height: 2.1;
}

/* ===== Menu ===== */
.menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    background-color: #000080;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    z-index: 999;
    margin: 0;
}

.menu li {
    padding: 15px 25px;
}

.menu li a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
}

.menu li:hover a {
    color: #dcecff;
}

.login-item {
    margin-right: auto;
}

.login-item a {
    display: flex;
    align-items: center;
}

.login-item a svg {
    margin-left: 8px;
    width: 18px;
    height: 20px;
    color: #fff;
}

/* ===== Main Image ===== */
.gharb {
    width: 100vw;
    height: 400px;
    overflow: visible;
    margin: 0;
    position: relative;
}

.gharb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ===== Search Box ===== */
.search-box {
    position: absolute;
    bottom: -70px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(255, 255, 255, 0.95);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    width: 90%;
    max-width: 800px;
    text-align: center;
}

.search-form {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    align-items: flex-end;
}

.input-group {
    display: flex;
    flex-direction: column;
    text-align: right;
    flex: 1;
    min-width: 200px;
}

.input-group label {
    margin-bottom: 8px;
    font-weight: bold;
    font-size: 0.9rem;
    color: #555;
}

.input-group select {
    padding: 12px 15px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    background-color: #fff;
}

.search-btn {
    padding: 12px 30px;
    background-color: #000060;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-family: inherit;
    cursor: pointer;
    height: 46px;
}

/* ===== Ads Section ===== */
.ads-section {
    width: 100%;
    background-color: #f5f9ff;
    padding: 155px 60px 70px;
}

.ads-container {
    width: 100%;
    max-width: 1150px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;

    padding: 0 18px;
    box-sizing: border-box;
}

.ad-card {
    background-color: #ffffff;
    border-radius: 16px;
    padding: 18px;
    text-align: right;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.ad-card img {
    width: 100%;
    height: 130px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 15px;
}

.ad-card h3 {
    font-size: 18px;
    font-weight: 900;
    color: #000080;
    margin: 12px 0 18px;
    text-align: center;
}

.ad-details p {
    font-size: 13px;
    line-height: 2.2;
    margin-bottom: 4px;
    color: #333333;
}

.ad-details span {
    font-weight: 800;
    color: #000060;
}

/* ===== Promo Banner ===== */
.promo-banner {
    width: 100%;
    min-height: 320px;
    background: linear-gradient(rgba(0, 0, 128, 0.75), rgba(0, 0, 128, 0.75)), url("/static/images/gharb.jpg");
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 70px 20px;
    text-align: center;
}

.promo-content {
    max-width: 800px;
    color: #ffffff;
}

.promo-content h2 {
    font-size: 34px;
    font-weight: 900;
    margin-bottom: 20px;
}

.promo-content p {
    font-size: 17px;
    line-height: 2.3;
    margin-bottom: 30px;
}

.promo-btn {
    display: inline-block;
    background-color: #ffffff;
    color: #000080;
    padding: 13px 35px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 700;
}

.promo-btn:hover {
    background-color: #DC143C;
    color: #ffffff;
}

/* ===== Categories ===== */
.category-section {
    width: 100%;
    background-color: #f5f9ff;
    padding: 70px 60px;
}

.category-container {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.category-card {
    background-color: #ffffff;
    border-radius: 18px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.10);
}

.category-icon {
    font-size: 42px;
    margin-bottom: 18px;
}

.category-card h3 {
    font-size: 19px;
    color: #000080;
    margin-bottom: 16px;
}

.category-card p {
    font-size: 14px;
    line-height: 2.2;
    color: #333333;
}

/* ===== News ===== */
.news-section {
    width: 100%;
    background-color: #000060;
    padding: 70px 60px;
}

.news-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.news-card {
    width: 100%;
    background-color: #ffffff;
    border-radius: 18px;
    padding: 25px 30px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.news-icon {
    width: 65px;
    height: 65px;
    background-color: #dcecff;
    border-radius: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 32px;
    flex-shrink: 0;
}

.news-text h3 {
    font-size: 19px;
    color: #000080;
    margin-bottom: 12px;
}

.news-text p {
    font-size: 14px;
    line-height: 2.2;
    color: #333333;
}

.news-more {
    margin-top: 35px;
    text-align: center;
}

.news-more-btn {
    display: inline-block;
    background-color: #ffffff;
    color: #000080;
    padding: 13px 35px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 700;
}

.news-more-btn:hover {
    background-color: #DC143C;
    color: #ffffff;
}

/* ===== Media ===== */
.media-section {
    width: 100%;
    background-color: #ffffff;
    padding: 70px 60px;
}

.media-title {
    text-align: center;
    margin-bottom: 40px;
}

.media-title h2 {
    font-size: 32px;
    color: #000080;
    margin-bottom: 12px;
}

.media-title p {
    font-size: 15px;
    color: #333333;
}

.media-container {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.media-card {
    background-color: #eaf3ff;
    border-radius: 18px;
    padding: 35px 20px;
    text-align: center;
    text-decoration: none;
    color: #222222;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.10);
}

.media-icon {
    width: 75px;
    height: 75px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background-color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
}

.media-icon svg {
    width: 38px;
    height: 38px;
}

.media-icon svg path {
    fill: currentColor;
}

.media-icon.telegram {
    color: #229ED9;
}

.media-icon.instagram {
    color: #E4405F;
}

.media-icon.website {
    color: #2168ea;
}

.media-card h3 {
    font-size: 20px;
    color: #000080;
    margin-bottom: 14px;
}

.media-card p {
    font-size: 14px;
    color: #333333;
}

/* ===== Neighborhood Detail Page ===== */
.neighborhood-page {
    max-width: 1180px;
    margin: 90px auto 60px;
    padding: 0 25px;
}

.neighborhood-hero {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 35px;
    align-items: center;
    background: #f5f9ff;
    border-radius: 24px;
    padding: 45px;
    margin-bottom: 25px;
}

.neighborhood-hero-text {
    order: 1;
}

.neighborhood-hero-text h1 {
    color: #000080;
    font-size: 40px;
    margin-bottom: 22px;
}

.neighborhood-hero-text p {
    color: #222;
    font-size: 16px;
    line-height: 2.4;
    text-align: justify;
}

.neighborhood-hero-img {
    order: 2;
    width: 360px;
    height: 320px;
    object-fit: cover;
    border-radius: 22px;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.14);
    border: none;
    margin: 0 auto;
    display: block;
}

.neighborhood-toc {
    background: #000080;
    color: white;
    border-radius: 20px;
    padding: 28px;
    margin-bottom: 28px;
}

.neighborhood-toc h2 {
    font-size: 22px;
    margin-bottom: 18px;
}

.toc-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.toc-links a {
    background: white;
    color: #000080;
    text-decoration: none;
    padding: 9px 18px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 700;
}

.neighborhood-layout {
    display: flex;
    flex-direction: row;
    gap: 28px;
    align-items: flex-start;
    direction: rtl;
}

.neighborhood-main {
    flex: 1;
    order: 1;
}

.neighborhood-sidebar {
    width: 280px;
    order: 2;
}

.neighborhood-box {
    background: #ffffff;
    border-radius: 18px;
    padding: 30px 34px;
    margin-bottom: 22px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    border-right: 6px solid #000080;
}

.neighborhood-box h2 {
    color: #000080;
    font-size: 24px;
    margin-bottom: 15px;
}

.neighborhood-box p {
    color: #222;
    font-size: 16px;
    line-height: 2.5;
    text-align: justify;
}

.side-ad {
    background: #000080;
    color: white;
    border-radius: 18px;
    padding: 24px;
    margin-bottom: 20px;
    position: sticky;
    top: 90px;
}

.side-ad h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

.side-ad p {
    font-size: 14px;
    line-height: 2.1;
}

.side-ad a {
    display: inline-block;
    background: white;
    color: #000080;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 25px;
    margin-top: 10px;
    font-weight: 700;
}

.side-ad.light {
    background: #f5f9ff;
    color: #222;
}

.side-ad.light h3 {
    color: #000080;
}

/* ===== Footer ===== */
.footer {
    width: 100%;
    margin: 0;
    box-sizing: border-box;
    background-color: #000080;
    color: #ffffff;
    padding: 55px 60px 45px;
    clear: both;
}

.footer-content {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 60px;
    direction: rtl;
    align-items: start;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 12px;
    text-align: right;
}

.footer-column h3 {
    font-size: 16px;
    font-weight: 800;
    margin-bottom: 12px;
    color: #ffffff;
}

.footer-column a {
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    line-height: 2;
}

.footer-column a:hover {
    color: #dcecff;
}

.footer-logo {
    width: 90px;
    height: auto;
    margin-bottom: 18px;
    display: block;
}

.footer-about p {
    font-size: 16px;
    font-weight: 700;
    line-height: 2.2;
    max-width: 330px;
    color: #ffffff;
    margin-top: -10px;
    transform: translateY(-8px);
}

.footer-about {
    justify-content: flex-start;
    padding-top: 0;
    margin-top: -50px;
}

.footer-about .footer-logo {
    margin-bottom: 2px;
}

.footer .footer-content .footer-about {
    transform: translateY(24px) !important;
}

.footer .footer-content .footer-about p {
    font-size: 16px !important;
    font-weight: 800 !important;
    line-height: 2.2 !important;
    max-width: 360px !important;
}

/* ===== Responsive ===== */
@media (max-width: 1000px) {
    .ads-container,
    .category-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .media-container {
        grid-template-columns: 1fr;
    }

    .neighborhood-hero {
        grid-template-columns: 1fr;
    }

    .neighborhood-layout {
        flex-direction: column;
    }

    .neighborhood-sidebar {
        width: 100%;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 35px;
    }
}

@media (max-width: 700px) {
    .menu {
        overflow-x: auto;
        white-space: nowrap;
    }

    .menu li {
        padding: 14px 18px;
    }

    .gharb {
        height: 360px;
    }

    .search-box {
        bottom: -110px;
        padding: 22px;
    }

    .search-form {
        flex-direction: column;
        align-items: stretch;
    }

    .search-btn {
        justify-content: center;
        width: 100%;
    }

    .ads-section {
        padding: 160px 20px 50px;
    }

    .ads-container,
    .category-container {
        grid-template-columns: 1fr;
    }

    .category-section,
    .news-section,
    .media-section {
        padding: 50px 20px;
    }

    .news-card {
        flex-direction: column;
        text-align: center;
    }

    .neighborhood-page {
        padding: 0 15px;
    }

    .neighborhood-hero {
        padding: 24px;
    }

    .neighborhood-hero-text h1 {
        font-size: 30px;
    }

    .neighborhood-hero-img {
        width: 100%;
        height: 260px;
    }

    .neighborhood-box {
        padding: 24px 22px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-column {
        align-items: center;
        text-align: center;
    }

    .footer-about p {
        max-width: 100%;
    }

    .footer-logo {
        margin: 0 auto 18px;
    }
}
.neighborhood-hero {
    position: relative;
    width: 100%;
    min-height: 520px;
    border-radius: 30px;
    overflow: hidden;

    background-size: cover;
    background-position: center;

    display: flex;
    align-items: center;

    padding: 70px;
    margin-bottom: 40px;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45);
    backdrop-filter: blur(2px);
}

.neighborhood-hero-text {
    position: relative;
    z-index: 2;
    max-width: 700px;
    color: white;
}

.neighborhood-hero-text h1 {
    font-size: 52px;
    margin-bottom: 25px;
    color: white;
}

.neighborhood-hero-text p {
    font-size: 18px;
    line-height: 2.5;
    color: white;
}
.neighborhood-hero {
    min-height: 430px !important;
    max-width: 1050px;
    margin: 80px auto 35px !important;
    padding: 45px !important;
    border-radius: 24px !important;
    justify-content: center !important;
    text-align: center;
}

.neighborhood-hero-text {
    max-width: 780px !important;
    margin: 0 auto;
    text-align: center;
}

.neighborhood-hero-text h1 {
    font-size: 38px !important;
    margin-bottom: 18px !important;
    text-align: center;
}

.neighborhood-hero-text p {
    font-size: 16px !important;
    line-height: 2.4 !important;
    text-align: center !important;
}
.neighborhood-hero {
    background-color: #eaf3ff !important;
    min-height: 420px !important;
}

.hero-overlay {
    background: rgba(0, 0, 128, 0.42) !important;
    backdrop-filter: blur(1px);
}

.neighborhood-hero-text {
    max-width: 760px !important;
    padding: 28px 34px;
    border-radius: 22px;
}

.neighborhood-hero-text h1 {
    font-size: 34px !important;
    margin-bottom: 18px !important;
}


.neighborhood-hero-text {
    background: transparent !important;
    padding: 0 !important;
    border-radius: 0 !important;
    text-align: right !important;
    direction: rtl !important;
}

.neighborhood-hero-text h1 {
    text-align: right !important;
    font-weight: 900 !important;
    text-shadow: 0 3px 12px rgba(0, 0, 0, 0.45);
}

.neighborhood-hero-text p {
    text-align: justify !important;
    text-align-last: right !important;
    font-weight: 800 !important;
    line-height: 2.8 !important;
    text-shadow: 0 3px 12px rgba(0, 0, 0, 0.55);
}
.neighborhood-sidebar {
    width: 300px !important;
    align-self: stretch;
}
.neighborhood-sidebar {
    width: 300px !important;
}

.side-ad {
    background: #000080;
    color: white;
    border-radius: 22px;
    padding: 32px 24px;
    margin-bottom: 22px;
    text-align: center;
    min-height: 190px;
}

.side-ad h3 {
    font-size: 22px;
    margin-bottom: 18px;
}

.side-ad p {
    font-size: 15px;
    line-height: 2.4;
}

.side-ad a {
    display: inline-block;
    background: white;
    color: #000080;
    text-decoration: none;
    padding: 10px 22px;
    border-radius: 25px;
    margin-top: 18px;
    font-weight: 700;
}

.neighborhood-gallery {
    display: grid;
    grid-template-columns: repeat(2, 150px);
    gap: 18px;
    margin-top: 25px;
    justify-content: center;
}

.neighborhood-gallery img {
    width: 220px;
    height: 150px;
    object-fit: cover;
    border-radius: 14px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.10);
}

.neighborhood-gallery {
    display: grid;
    grid-template-columns: repeat(2, 220px);
    gap: 18px;
    margin-top: 25px;
    justify-content: center;
}

.neighborhood-gallery img {
    width: 220px;
    height: 150px;
    object-fit: cover;
    border-radius: 14px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.10);
}

.neighborhood-box .neighborhood-gallery {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 28px !important;
    margin-top: 28px !important;
    flex-wrap: wrap !important;
}

.neighborhood-box .neighborhood-gallery img {
    width: 260px !important;
    height: 290px !important;
    object-fit: cover !important;
    border-radius: 18px !important;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.12) !important;
    display: block !important;
}
.comments-section {
    background: #f5f9ff;
    border-radius: 24px;
    padding: 35px;
    margin: 40px auto 60px;
    max-width: 1180px;
}

.comments-section h2 {
    color: #000080;
    font-size: 26px;
    margin-bottom: 25px;
}

.comment-form textarea,
.reply-form textarea {
    width: 100%;
    min-height: 110px;
    border: 1px solid #ddd;
    border-radius: 14px;
    padding: 16px;
    font-family: inherit;
    font-size: 15px;
    margin-bottom: 12px;
}

.comment-form button,
.reply-form button,
.login-alert a {
    background: #000080;
    color: white;
    border: none;
    padding: 11px 26px;
    border-radius: 25px;
    font-family: inherit;
    cursor: pointer;
    text-decoration: none;
}

.login-alert {
    background: white;
    padding: 20px;
    border-radius: 16px;
    margin-bottom: 25px;
    font-size: 16px;
}

.comment-card {
    background: white;
    border-radius: 18px;
    padding: 22px;
    margin-bottom: 18px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

.reply-card {
    background: #eaf3ff;
    border-radius: 14px;
    padding: 16px;
    margin-top: 15px;
    margin-right: 35px;
}
.single-section-image {
    margin-top: 25px;
    text-align: center;
}
.single-section-image img {
    width: 70%;
    max-width: 520px;
    height: 300px;
    object-fit: cover;
    border-radius: 18px;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.12);
}
.neighborhoods-page {
    max-width: 1180px;
    margin: 100px auto 60px;
    padding: 0 25px;
}

.neighborhoods-header {
    background: #f5f9ff;
    border-radius: 24px;
    padding: 45px 30px;
    text-align: center;
    margin-bottom: 35px;
}

.neighborhoods-header h1 {
    color: #000080;
    font-size: 36px;
    margin-bottom: 15px;
}

.neighborhoods-header p {
    color: #333;
    font-size: 16px;
}

.neighborhoods-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.neighborhood-card-link {
    text-decoration: none;
    color: inherit;
}

.neighborhood-card {
    background: #ffffff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 8px 22px rgba(0,0,0,0.10);
    transition: 0.3s;
    height: 100%;
}

.neighborhood-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 30px rgba(0,0,0,0.16);
}

.neighborhood-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.neighborhood-card h3 {
    color: #000080;
    font-size: 20px;
    padding: 18px 18px 8px;
}

.neighborhood-card p {
    color: #333;
    font-size: 14px;
    line-height: 2.1;
    padding: 0 18px 20px;
}

@media (max-width: 1000px) {
    .neighborhoods-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 650px) {
    .neighborhoods-grid {
        grid-template-columns: 1fr;
    }
}
.contact-page {
    max-width: 1180px;
    margin: 100px auto 60px;
    padding: 0 25px;
}

.contact-header {
    background: #f5f9ff;
    border-radius: 24px;
    padding: 45px 30px;
    text-align: center;
    margin-bottom: 35px;
}

.contact-header h1 {
    color: #000080;
    font-size: 36px;
    margin-bottom: 15px;
}

.contact-header p {
    color: #333;
    font-size: 16px;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
}

.contact-box {
    background: #ffffff;
    border-radius: 20px;
    padding: 34px;
    box-shadow: 0 8px 22px rgba(0,0,0,0.10);
    border-right: 6px solid #000080;
}

.contact-box h2 {
    color: #000080;
    font-size: 24px;
    margin-bottom: 18px;
}

.contact-box p,
.contact-box li {
    font-size: 15px;
    line-height: 2.4;
    color: #333;
}

.contact-box ul {
    margin-top: 18px;
    padding-right: 22px;
}

.contact-info {
    margin-top: 20px;
    background: #f5f9ff;
    border-radius: 16px;
    padding: 20px;
}

@media (max-width: 800px) {
    .contact-layout {
        grid-template-columns: 1fr;
    }
}
.contact-social {
    display: flex;
    align-items: center;
    gap: 8px;
}

.contact-icon {
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.contact-icon svg {
    width: 22px;
    height: 22px;
}

.contact-icon svg path {
    fill: currentColor;
}

.instagram-icon {
    color: #E4405F;
}

.telegram-icon {
    color: #229ED9;
}
.contact-info .contact-social {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.contact-info .contact-icon {
    width: 22px !important;
    height: 22px !important;
    flex: 0 0 22px;
}

.contact-info .contact-icon svg {
    width: 22px !important;
    height: 22px !important;
    max-width: 22px !important;
    max-height: 22px !important;
    display: block;
}

.contact-info .contact-icon svg path {
    fill: currentColor;
}
.contact-info {
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 18px;
    text-align: center;
}

.contact-info p,
.contact-info .contact-social {
    justify-content: center;
    text-align: center;
    margin: 0;
}
.west-news-page {
    max-width: 1180px;
    margin: 100px auto 60px;
    padding: 0 25px;
}

.west-news-header {
    background: #f5f9ff;
    border-radius: 24px;
    padding: 45px 30px;
    text-align: center;
    margin-bottom: 35px;
}

.west-news-header h1 {
    color: #000080;
    font-size: 36px;
    margin-bottom: 15px;
}

.west-news-header p {
    color: #333;
    font-size: 16px;
}

.west-news-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.west-news-item {
    background: #ffffff;
    border-radius: 18px;
    padding: 18px;
    display: flex;
    gap: 18px;
    align-items: center;
    box-shadow: 0 8px 22px rgba(0,0,0,0.10);
    border-right: 6px solid #000080;
}

.west-news-item img {
    width: 135px;
    height: 105px;
    object-fit: cover;
    border-radius: 14px;
    flex-shrink: 0;
}

.west-news-item h3 {
    color: #000080;
    font-size: 18px;
    margin-bottom: 8px;
}

.west-news-item p {
    color: #333;
    font-size: 14px;
    line-height: 2.1;
}

@media (max-width: 800px) {
    .west-news-list {
        grid-template-columns: 1fr;
    }

    .west-news-item {
        flex-direction: column;
        text-align: center;
    }

    .west-news-item img {
        width: 100%;
        height: 180px;
    }
}
.auth-page {
    max-width: 520px;
    margin: 120px auto 80px;
    padding: 0 25px;
}

.auth-box {
    background: #f5f9ff;
    border-radius: 24px;
    padding: 40px 34px;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.10);
    text-align: center;
}

.auth-box h1 {
    color: #000080;
    font-size: 30px;
    margin-bottom: 15px;
}

.auth-box p {
    color: #333;
    font-size: 15px;
    line-height: 2.2;
    margin-bottom: 25px;
}

.auth-form input {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #ddd;
    border-radius: 14px;
    font-family: inherit;
    font-size: 16px;
    text-align: center;
    margin-bottom: 16px;
}

.auth-form button {
    width: 100%;
    background: #000080;
    color: white;
    border: none;
    border-radius: 25px;
    padding: 13px 20px;
    font-family: inherit;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
}

.auth-form button:hover {
    background: #DC143C;
}

.auth-note {
    margin-top: 18px;
    font-size: 13px;
    color: #666;
}
.welcome-user {
    color: white !important;
    font-weight: 700;
    font-size: 15px;
}

.login-item {
    color: white;
}
.menu .login-item .welcome-user {
    color: #ffffff !important;
    font-weight: 800 !important;
    font-size: 15px !important;
    display: inline-block;
}
.services-page {
    max-width: 1180px;
    margin: 100px auto 60px;
    padding: 0 25px;
}

.services-header {
    background: #f5f9ff;
    border-radius: 24px;
    padding: 45px 30px;
    text-align: center;
    margin-bottom: 35px;
}

.services-header h1 {
    color: #000080;
    font-size: 36px;
    margin-bottom: 15px;
}

.services-header p {
    color: #333;
    font-size: 16px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.service-card {
    background: #ffffff;
    border-radius: 20px;
    min-height: 150px;
    padding: 26px 18px;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.10);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
    border-bottom: 5px solid #000080;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.16);
    background: #f5f9ff;
}

.service-card span {
    font-size: 42px;
    margin-bottom: 14px;
}

.service-card h3 {
    color: #000080;
    font-size: 17px;
    text-align: center;
    line-height: 1.8;
}

@media (max-width: 1000px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 700px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .service-card {
        min-height: 135px;
    }
}
.jobs-page {
    max-width: 1180px;
    margin: 100px auto 60px;
    padding: 0 25px;
}

.jobs-header {
    background: #f5f9ff;
    border-radius: 24px;
    padding: 45px 30px;
    text-align: center;
    margin-bottom: 35px;
}

.jobs-header h1 {
    color: #000080;
    font-size: 36px;
    margin-bottom: 15px;
}

.jobs-header p {
    color: #333;
    font-size: 16px;
}

.jobs-list {
    display: flex;
    flex-direction: column;
    gap: 26px;
}

.job-card {
    background: #ffffff;
    border-radius: 22px;
    padding: 24px;
    display: grid;
    grid-template-columns: 190px 1fr;
    gap: 24px;
    align-items: start;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.10);
    border-right: 6px solid #000080;
}

.job-card img {
    width: 190px;
    height: 150px;
    object-fit: cover;
    border-radius: 18px;
}

.job-text h3 {
    color: #000080;
    font-size: 22px;
    margin-bottom: 14px;
}

.job-text p {
    color: #333;
    font-size: 15px;
    line-height: 2.4;
    text-align: justify;
    margin-bottom: 10px;
}

@media (max-width: 750px) {
    .job-card {
        grid-template-columns: 1fr;
    }

    .job-card img {
        width: 100%;
        height: 210px;
    }
}
.service-neighborhoods-page {
    max-width: 1180px;
    margin: 100px auto 60px;
    padding: 0 25px;
}

.service-neighborhoods-header {
    background: #f5f9ff;
    border-radius: 24px;
    padding: 40px 30px;
    text-align: center;
    margin-bottom: 35px;
}

.service-neighborhoods-header h1 {
    color: #000080;
    font-size: 34px;
    margin-bottom: 12px;
}

.service-neighborhoods-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 14px;
}

.small-neighborhood-box {
    background: #ffffff;
    border: 2px solid #eaf3ff;
    border-radius: 14px;
    min-height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000080;
    text-decoration: none;
    font-weight: 800;
    box-shadow: 0 6px 16px rgba(0,0,0,0.08);
    transition: 0.3s;
}

.small-neighborhood-box:hover {
    background: #000080;
    color: white;
    transform: translateY(-4px);
}

.service-card {
    text-decoration: none;
}
.category-link {
    text-decoration: none;
    color: inherit;
    display: block;
}
.service-link {
    text-decoration: none;
    color: inherit;
}

.service-neighborhoods-page{
max-width:1180px;
margin:100px auto 60px;
padding:0 25px;
}

.service-neighborhoods-header{
background:#f5f9ff;
border-radius:24px;
padding:40px 30px;
text-align:center;
margin-bottom:35px;
}

.service-neighborhoods-grid{
display:grid;
grid-template-columns:repeat(6,1fr);
gap:14px;
}

.small-neighborhood-box{
background:#ffffff;
border:2px solid #eaf3ff;
border-radius:14px;
min-height:70px;
display:flex;
align-items:center;
justify-content:center;
text-decoration:none;
color:#000080;
font-weight:800;
transition:0.3s;
box-shadow:0 6px 16px rgba(0,0,0,0.08);
}

.small-neighborhood-box:hover{
background:#000080;
color:white;
}

.service-items-page{
max-width:1180px;
margin:100px auto 60px;
padding:0 25px;
}

.service-items-header{
background:#f5f9ff;
border-radius:24px;
padding:42px 30px;
text-align:center;
margin-bottom:35px;
}

.service-items-grid{
display:grid;
grid-template-columns:repeat(2,1fr);
gap:24px;
}

.service-item-card{
background:white;
border-radius:22px;
overflow:hidden;
box-shadow:0 8px 22px rgba(0,0,0,0.10);
}

.service-item-card img{
width:100%;
height:250px;
object-fit:cover;
}

.service-item-info{
padding:24px;
}

.service-item-info h2{
color:#000080;
margin-bottom:12px;
}

.service-item-info p{
line-height:2.2;
color:#333;
}

.rating-box{
margin-bottom:14px;
font-weight:700;
color:#ff9800;
}

.service-socials{
display:flex;
gap:10px;
flex-wrap:wrap;
margin-top:18px;
}

.service-socials a{
text-decoration:none;
background:#f5f9ff;
padding:10px 16px;
border-radius:30px;
color:#000080;
font-weight:700;
}

.empty-service-items{
background:#f5f9ff;
border-radius:18px;
padding:30px;
text-align:center;
grid-column:1/-1;
}

@media(max-width:850px){


.service-items-grid{
    grid-template-columns:1fr;
}

.service-neighborhoods-grid{
    grid-template-columns:repeat(2,1fr);
}


}
.service-item-info p {
    text-align: justify !important;
    text-align-last: right !important;
    line-height: 2.5 !important;
    font-size: 15px !important;
}

.service-item-info h2 {
    text-align: right !important;
}

.service-item-info strong {
    color: #000080;
}
.rating-stars{
    margin-top:12px;
}

.rating-stars a{
    text-decoration:none;
    font-size:24px;
    color:#ffb400;
    margin-left:4px;
}
.service-comments {
    margin-top: 28px;
    background: #f5f9ff;
    border-radius: 18px;
    padding: 22px;
}

.service-comments h3 {
    color: #000080;
    font-size: 18px;
    margin-bottom: 16px;
}

.service-comments .comment-form textarea,
.service-comments .reply-form textarea {
    width: 100%;
    min-height: 85px;
    border: 1px solid #ddd;
    border-radius: 14px;
    padding: 12px;
    font-family: inherit;
    resize: vertical;
    margin-bottom: 10px;
}

.service-comments .comment-form button,
.service-comments .reply-form button {
    background: #000080;
    color: white;
    border: none;
    padding: 9px 22px;
    border-radius: 22px;
    font-family: inherit;
    cursor: pointer;
}

.service-comments .comment-card {
    background: white;
    border-radius: 16px;
    padding: 16px;
    margin-top: 16px;
    box-shadow: 0 5px 14px rgba(0,0,0,0.07);
}

.service-comments .reply-card {
    background: #eaf3ff;
    border-radius: 14px;
    padding: 14px;
    margin-top: 12px;
    margin-right: 28px;
}

.service-comments h4 {
    color: #000080;
    margin-bottom: 8px;
}

.service-comments .login-alert {
    background: white;
    padding: 14px;
    border-radius: 14px;
    margin-bottom: 15px;
}

.service-comments .login-alert a {
    color: #000080;
    font-weight: 700;
}
.map-link {
    display: inline-block;
    background: #000080;
    color: white !important;
    padding: 9px 18px;
    border-radius: 24px;
    text-decoration: none;
    font-weight: 700;
    margin-top: 8px;
}
/* =========================================
   صفحه اخبار غرب تهران
========================================= */

.west-news-page {
    width: min(1180px, calc(100% - 40px));
    margin: 60px auto;
}

.west-news-header {
    background: #f2f7ff;
    text-align: center;
    padding: 38px 24px;
    border-radius: 24px;
    margin-bottom: 35px;
}

.west-news-header h1 {
    color: #000080;
    font-size: 32px;
    margin: 0 0 12px;
}

.west-news-header p {
    color: #555;
    font-size: 16px;
    line-height: 2;
    margin: 0;
}

.west-news-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px;
}

.west-news-item {
    background: #fff;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.09);
    border-bottom: 5px solid #000080;
}

.west-news-image {
    width: 100%;
    height: 250px;
    display: block;
    object-fit: cover;
}

.west-news-content {
    padding: 24px;
}

.west-news-content h3 {
    color: #000080;
    font-size: 21px;
    line-height: 1.8;
    margin: 0 0 8px;
}

.west-news-date {
    color: #888;
    font-size: 13px;
    margin: 0 0 14px;
}

.west-news-description {
    color: #333;
}

.west-news-description p {
    text-align: justify;
    line-height: 2.2;
    margin: 0 0 10px;
}

.empty-news {
    grid-column: 1 / -1;
    text-align: center;
    background: #f2f7ff;
    color: #000080;
    padding: 30px;
    border-radius: 20px;
    font-weight: 700;
}


/* =========================================
   صفحه استخدامی‌های غرب تهران
========================================= */

.jobs-page {
    width: min(1180px, calc(100% - 40px));
    margin: 60px auto;
}

.jobs-header {
    background: #f2f7ff;
    text-align: center;
    padding: 38px 24px;
    border-radius: 24px;
    margin-bottom: 35px;
}

.jobs-header h1 {
    color: #000080;
    font-size: 32px;
    margin: 0 0 12px;
}

.jobs-header p {
    color: #555;
    font-size: 16px;
    line-height: 2;
    margin: 0;
}

.jobs-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px;
}

.job-item {
    background: #fff;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.09);
    border-bottom: 5px solid #000080;
}

.job-image {
    width: 100%;
    height: 250px;
    display: block;
    object-fit: cover;
}

.job-content {
    padding: 24px;
}

.job-content h3 {
    color: #000080;
    font-size: 21px;
    line-height: 1.8;
    margin: 0 0 8px;
}

.job-date {
    color: #888;
    font-size: 13px;
    margin: 0 0 14px;
}

.job-description {
    color: #333;
}

.job-description p {
    text-align: justify;
    line-height: 2.2;
    margin: 0 0 10px;
}

.empty-jobs {
    grid-column: 1 / -1;
    text-align: center;
    background: #f2f7ff;
    color: #000080;
    padding: 30px;
    border-radius: 20px;
    font-weight: 700;
}


/* =========================================
   واکنش‌گرایی اخبار و استخدامی‌ها
========================================= */

@media (max-width: 850px) {
    .west-news-list,
    .jobs-list {
        grid-template-columns: 1fr;
    }

    .west-news-header h1,
    .jobs-header h1 {
        font-size: 26px;
    }
}

@media (max-width: 520px) {
    .west-news-page,
    .jobs-page {
        width: min(100% - 24px, 1180px);
        margin: 35px auto;
    }

    .west-news-header,
    .jobs-header {
        padding: 28px 16px;
        border-radius: 18px;
    }

    .west-news-image,
    .job-image {
        height: 210px;
    }

    .west-news-content,
    .job-content {
        padding: 18px;
    }

    .west-news-content h3,
    .job-content h3 {
        font-size: 19px;
    }
}

.news-title-row {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 20px;
}

.news-title-image {
    width: 135px;
    height: 100px;
    object-fit: cover;
    border-radius: 14px;
    flex-shrink: 0;
}

.news-title-text {
    flex: 1;
}

.news-title-text h3 {
    color: #000080;
    font-size: 22px;
    line-height: 1.8;
    margin: 0 0 6px;
}

.news-title-text .west-news-date {
    color: #777;
    font-size: 13px;
    margin: 0;
}

.west-news-description {
    color: #333;
}

.west-news-description p {
    text-align: justify;
    line-height: 2.2;
    margin: 0 0 12px;
}

@media (max-width: 600px) {
    .news-title-row {
        align-items: flex-start;
        gap: 12px;
    }

    .news-title-image {
        width: 95px;
        height: 80px;
    }

    .news-title-text h3 {
        font-size: 18px;
    }
}
.home-news-section {
    background: #000066;
    padding: 45px 18px;
}

.home-news-header {
    width: min(1240px, 100%);
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.home-news-header h2 {
    color: #fff;
    margin: 0;
}

.all-news-link {
    color: #fff;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 20px;
    padding: 7px 15px;
}

.home-news-list {
    width: min(1240px, 100%);
    margin: auto;
    display: grid;
    gap: 20px;
}

.home-news-item {
    background: #fff;
    border-radius: 18px;
    padding: 28px 30px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    text-decoration: none;
    color: inherit;
}

.home-news-icon-box {
    width: 66px;
    height: 66px;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    background: #eaf3ff;
    border-radius: 17px;
    font-size: 30px;
}

.home-news-text {
    flex: 1;
}

.home-news-text h3 {
    color: #000080;
    margin: 0 0 12px;
    font-size: 20px;
}

.home-news-text p {
    color: #333;
    line-height: 2;
    margin: 0;
}

.home-news-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.15);
}

.empty-home-news {
    background: #fff;
    border-radius: 18px;
    padding: 25px;
    text-align: center;
}

@media (max-width: 600px) {
    .home-news-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .home-news-item {
        padding: 20px;
        gap: 13px;
    }

    .home-news-icon-box {
        width: 52px;
        height: 52px;
        font-size: 24px;
    }

    .home-news-text h3 {
        font-size: 17px;
    }
}
/* ======================================
   آخرین اخبار صفحه اصلی
====================================== */

.homepage-latest-news {
    width: 100%;
    background: #f5f8ff;
    padding: 55px 20px;
    box-sizing: border-box;
    direction: rtl;
}

.homepage-news-container {
    width: 100%;
    max-width: 1220px;
    margin: 0 auto;
}

.homepage-news-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 28px;
}

.homepage-news-heading h2 {
    color: #000080;
    font-size: 30px;
    margin: 0 0 8px;
}

.homepage-news-heading p {
    color: #666;
    font-size: 15px;
    margin: 0;
}

.homepage-all-news {
    display: inline-block;
    background: #000080;
    color: #fff !important;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 25px;
    white-space: nowrap;
    font-weight: 700;
}

.homepage-news-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.homepage-news-card {
    width: 100%;
    min-height: 125px;
    background: #fff;
    border-radius: 20px;
    padding: 24px 28px;
    box-sizing: border-box;

    display: flex;
    align-items: center;
    gap: 22px;

    color: inherit;
    text-decoration: none;

    box-shadow: 0 7px 22px rgba(0, 0, 70, 0.08);
    border-right: 6px solid #000080;

    transition: 0.25s ease;
}

.homepage-news-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 70, 0.15);
}

.homepage-news-icon {
    width: 70px;
    height: 70px;
    flex: 0 0 70px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #e6f0ff;
    border-radius: 18px;
    font-size: 32px;
}

.homepage-news-info {
    flex: 1;
    min-width: 0;
}

.homepage-news-info h3 {
    color: #000080;
    font-size: 20px;
    line-height: 1.8;
    margin: 0 0 9px;
}

.homepage-news-info p {
    color: #333;
    font-size: 15px;
    line-height: 2;
    margin: 0;
    text-align: justify;
}

.homepage-no-news {
    background: #fff;
    color: #000080;
    border-radius: 18px;
    padding: 30px;
    text-align: center;
    font-weight: 700;
}


/* موبایل */

@media (max-width: 700px) {

    .homepage-latest-news {
        padding: 35px 12px;
    }

    .homepage-news-heading {
        flex-direction: column;
        align-items: flex-start;
    }

    .homepage-news-heading h2 {
        font-size: 24px;
    }

    .homepage-news-card {
        padding: 18px;
        gap: 14px;
        align-items: flex-start;
    }

    .homepage-news-icon {
        width: 55px;
        height: 55px;
        flex-basis: 55px;
        font-size: 25px;
    }

    .homepage-news-info h3 {
        font-size: 17px;
    }

    .homepage-news-info p {
        font-size: 14px;
    }
}
.ads-container .ad-card {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.ads-container .ad-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(0, 0, 80, 0.16);
}

.empty-featured-services {
    grid-column: 1 / -1;
    background: #ffffff;
    color: #000080;
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    font-weight: 700;
}
/* =====================================
   بخش ثبت تبلیغات و ارتباط با ما
===================================== */

.contact-promo-section {
    width: 100%;
    padding: 65px 20px;
    background:
        linear-gradient(
            135deg,
            #f7f9ff 0%,
            #eef4ff 100%
        );
    box-sizing: border-box;
    direction: rtl;
}

.contact-promo-container {
    width: min(1120px, 100%);
    margin: 0 auto;

    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
    align-items: stretch;
}


/* کارت توضیحات */

.promo-info-card {
    position: relative;
    background: #ffffff;
    border-radius: 26px;
    padding: 38px 38px 34px;
    overflow: hidden;

    box-shadow:
        0 14px 40px rgba(0, 0, 80, 0.09);

    border-right: 6px solid #000080;
}

.promo-info-card::before {
    content: "";
    position: absolute;
    width: 180px;
    height: 180px;
    left: -70px;
    top: -80px;
    border-radius: 50%;
    background: rgba(0, 0, 128, 0.05);
}

.promo-label {
    display: inline-block;
    position: relative;
    z-index: 1;

    padding: 7px 15px;
    border-radius: 30px;

    background: #eef3ff;
    color: #000080;

    font-size: 13px;
    font-weight: 700;
    margin-bottom: 18px;
}

.promo-info-card h2 {
    position: relative;
    z-index: 1;

    color: #000080;
    font-size: 28px;
    line-height: 1.7;
    margin: 0 0 16px;
}

.promo-intro {
    position: relative;
    z-index: 1;

    color: #333;
    font-size: 15px;
    line-height: 2.2;
    margin: 0 0 22px;
    text-align: justify;
}

.promo-benefits {
    position: relative;
    z-index: 1;

    list-style: none;
    padding: 0;
    margin: 0;
}

.promo-benefits li {
    position: relative;
    padding-right: 28px;
    margin-bottom: 14px;

    color: #222;
    font-size: 15px;
    line-height: 1.9;
}

.promo-benefits li::before {
    content: "✓";

    position: absolute;
    right: 0;
    top: 1px;

    width: 20px;
    height: 20px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #000080;
    color: #fff;

    border-radius: 50%;
    font-size: 12px;
    font-weight: 700;
}


/* کارت ارتباط */

.promo-contact-card {
    background: linear-gradient(
        145deg,
        #000080 0%,
        #11118f 100%
    );

    border-radius: 26px;
    padding: 34px;

    color: #fff;

    box-shadow:
        0 16px 42px rgba(0, 0, 80, 0.22);
}

.contact-card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-bottom: 25px;
    margin-bottom: 22px;

    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-main-icon {
    width: 66px;
    height: 66px;
    flex: 0 0 66px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(255, 255, 255, 0.14);
    border-radius: 19px;

    font-size: 31px;
}

.contact-card-header h3 {
    color: #fff;
    font-size: 21px;
    margin: 0 0 7px;
}

.contact-card-header p {
    color: rgba(255, 255, 255, 0.78);
    font-size: 14px;
    line-height: 1.8;
    margin: 0;
}


/* لینک‌های تماس */

.contact-links {
    display: grid;
    gap: 14px;
}

.contact-link-item {
    display: flex;
    align-items: center;
    gap: 15px;

    padding: 15px 17px;

    background: rgba(255, 255, 255, 0.11);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 17px;

    color: #fff;
    text-decoration: none;

    transition:
        transform 0.25s ease,
        background 0.25s ease;
}

.contact-link-item:hover {
    background: rgba(255, 255, 255, 0.19);
    transform: translateX(-4px);
}

.contact-link-icon {
    width: 47px;
    height: 47px;
    flex: 0 0 47px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 14px;
    font-size: 22px;
}

.phone-icon {
    background: #fff0f6;
}

.instagram-icon {
    background: #ffeaf2;
}

.telegram-icon {
    background: #e7f5ff;
}

.contact-link-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.contact-link-text span {
    color: rgba(255, 255, 255, 0.72);
    font-size: 13px;
}

.contact-link-text strong {
    color: #fff;
    font-size: 16px;
    font-weight: 700;
}


/* ریسپانسیو */

@media (max-width: 850px) {

    .contact-promo-container {
        grid-template-columns: 1fr;
    }

    .promo-info-card,
    .promo-contact-card {
        padding: 28px;
    }
}

@media (max-width: 520px) {

    .contact-promo-section {
        padding: 40px 12px;
    }

    .promo-info-card,
    .promo-contact-card {
        padding: 23px 19px;
        border-radius: 20px;
    }

    .promo-info-card h2 {
        font-size: 23px;
    }

    .contact-card-header {
        align-items: flex-start;
    }

    .contact-main-icon {
        width: 54px;
        height: 54px;
        flex-basis: 54px;
        font-size: 25px;
    }

    .contact-link-item {
        padding: 13px;
    }
}
{% load static %}
<!DOCTYPE html>
<html lang="fa" dir="rtl">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>تبلیغات و تماس با ما</title>
    <link rel="stylesheet" href="{% static 'style.css' %}?v=1500">
</head>

<body>

<ul class="menu">
    <li><a href="/">خانه</a></li>
    <li><a href="/neighborhoods/">محلات غرب تهران</a></li>
    <li><a href="/jobs/">استخدامی‌ها</a></li>
    <li><a href="/services/">خدمات غرب تهران</a></li>
    <li><a href="/news/">اخبار غرب تهران</a></li>
    <li><a href="/contact/">تبلیغات و تماس با ما</a></li>
</ul>

<section class="contact-promo-section">

    <div class="contact-promo-container">

        <div class="promo-info-card">

            <span class="promo-label">
                فرصت معرفی کسب‌وکار
            </span>

            <h2>
                ثبت تبلیغات در غرب‌گردی
            </h2>

            <p class="promo-intro">
                اگر صاحب کافه، رستوران، باشگاه، کلینیک، فروشگاه،
                آموزشگاه یا هر کسب‌وکار دیگری در غرب تهران هستید،
                می‌توانید تبلیغ خود را در غرب‌گردی ثبت کنید.
            </p>

            <ul class="promo-benefits">
                <li>معرفی کامل کسب‌وکار در وب‌سایت</li>
                <li>نمایش تبلیغ در کانال تلگرام</li>
                <li>معرفی خدمات همراه با عکس و توضیحات در اینستاگرام</li>
                <li>دسترسی مستقیم به مخاطبان غرب تهران</li>
            </ul>

        </div>


        <div class="promo-contact-card">

            <div class="contact-card-header">

                <div class="contact-main-icon">
                    📣
                </div>

                <div>
                    <h3>ارتباط برای ثبت تبلیغات</h3>
                    <p>برای دریافت شرایط و تعرفه‌ها با ما در تماس باشید.</p>
                </div>

            </div>


            <div class="contact-links">

                <a href="tel:09050548331" class="contact-link-item">

                    <div class="contact-link-icon phone-icon">
                        📞
                    </div>

                    <div class="contact-link-text">
                        <span>شماره تماس</span>
                        <strong dir="ltr">0905 054 8331</strong>
                    </div>

                </a>


                <a
                    href="https://www.instagram.com/gharbgardi/"
                    target="_blank"
                    rel="noopener noreferrer"
                    class="contact-link-item"
                >

                    <div class="contact-link-icon instagram-icon">
                        📷
                    </div>

                    <div class="contact-link-text">
                        <span>اینستاگرام</span>
                        <strong dir="ltr">@gharbgardi</strong>
                    </div>

                </a>


                <a
                    href="https://t.me/gharb_gardi"
                    target="_blank"
                    rel="noopener noreferrer"
                    class="contact-link-item"
                >

                    <div class="contact-link-icon telegram-icon">
                        ✈️
                    </div>

                    <div class="contact-link-text">
                        <span>تلگرام</span>
                        <strong dir="ltr">@gharb_gardi</strong>
                    </div>

                </a>

            </div>

        </div>

    </div>

</section>

<footer class="footer">
    <div class="footer-content">

        <div class="footer-column footer-about">
            <img src="{% static 'images/logo.png' %}" alt="لوگوی سایت" class="footer-logo">
            <p>غرب گردی، مرجعی برای تازه‌ترین اخبار، رویدادها و معرفی مکان‌های جذاب غرب پایتخت.</p>
        </div>

        <div class="footer-column">
            <h3>دسترسی سریع</h3>
            <a href="/">صفحه اصلی</a>
            <a href="/neighborhoods/">محله‌ها</a>
            <a href="/news/">اخبار</a>
        </div>

        <div class="footer-column">
            <h3>موضوعات</h3>
            <a href="#">کافه و رستوران</a>
            <a href="/services/malls/">مراکز خرید</a>
            <a href="#">تفریح و سرگرمی</a>
        </div>

        <div class="footer-column">
            <h3>ارتباط با ما</h3>
            <a href="/contact/">تماس با ما</a>
            <a href="/contact/">تبلیغات</a>
            <a href="https://www.instagram.com/gharbgardi/" target="_blank">اینستاگرام</a>
        </div>

    </div>
</footer>

</body>
</html>

/* =====================================
   صفحه قطعی برق غرب تهران
===================================== */

.power-outages-page {
    width: min(1150px, calc(100% - 40px));
    margin: 55px auto;
    direction: rtl;
}

.power-outages-header {
    padding: 38px 24px;
    margin-bottom: 34px;
    text-align: center;
    background: linear-gradient(
        135deg,
        #f7f9ff,
        #edf3ff
    );
    border-radius: 25px;
}

.power-outages-icon {
    width: 68px;
    height: 68px;
    margin: 0 auto 15px;
    display: grid;
    place-items: center;
    border-radius: 20px;
    background: #000080;
    color: #fff;
    font-size: 34px;
}

.power-outages-header h1 {
    margin: 0 0 10px;
    color: #000080;
    font-size: 30px;
}

.power-outages-header p {
    margin: 0;
    color: #666;
    line-height: 2;
}

.power-outages-grid {
    display: grid;
    grid-template-columns: repeat(
        2,
        minmax(0, 1fr)
    );
    gap: 25px;
}

.power-outage-card {
    display: block;
    overflow: hidden;
    background: #fff;
    border-radius: 22px;
    box-shadow: 0 10px 28px rgba(0, 0, 80, 0.11);
    transition: transform 0.25s ease;
}

.power-outage-card:hover {
    transform: translateY(-5px);
}

.power-outage-card img {
    width: 100%;
    height: auto;
    display: block;
}

.empty-power-outages {
    grid-column: 1 / -1;
    padding: 35px;
    text-align: center;
    background: #f2f7ff;
    color: #000080;
    border-radius: 20px;
    font-weight: 700;
}

@media (max-width: 750px) {
    .power-outages-grid {
        grid-template-columns: 1fr;
    }

    .power-outages-header h1 {
        font-size: 24px;
    }
}

/* =====================================
   خاموشی صفحه اصلی
===================================== */

.home-power-outage {
    width: 100%;
    padding: 45px 20px;
    background: #f4f7fc;
    box-sizing: border-box;
    direction: rtl;
}

.home-power-card {
    width: min(1120px, 100%);
    margin: 0 auto;
    padding: 28px;
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 12px 32px rgba(0, 0, 80, 0.10);
    border: 1px solid #e5e9f4;
    box-sizing: border-box;
}

.home-power-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 22px;
}

.home-power-header h2 {
    margin: 0 0 8px;
    color: #000080;
    font-size: 25px;
}

.home-power-header p {
    margin: 0;
    color: #666;
    line-height: 1.9;
}

.home-power-archive {
    display: inline-block;
    padding: 9px 17px;
    border-radius: 22px;
    background: #000080;
    color: #ffffff !important;
    text-decoration: none;
    white-space: nowrap;
    font-weight: 700;
}

.home-power-image {
    display: block;
    width: 100%;
    height: 430px;
    overflow: hidden;
    border-radius: 18px;
    border: 3px solid #edf0f7;
    background: #f8f9fc;
    box-sizing: border-box;
}

.home-power-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    object-position: center;
    background: #ffffff;
}

.empty-home-outage {
    padding: 35px;
    text-align: center;
    border-radius: 18px;
    background: #f3f6ff;
    color: #000080;
    font-weight: 700;
}

@media (max-width: 700px) {
    .home-power-outage {
        padding: 30px 12px;
    }

    .home-power-card {
        padding: 18px;
        border-radius: 18px;
    }

    .home-power-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .home-power-header h2 {
        font-size: 21px;
    }

    .home-power-image {
        height: 300px;
    }
}
/* =====================================
   بخش برنامه خاموشی در صفحه اصلی
===================================== */

.home-power-outage {
    width: 100%;
    padding: 80px 20px 50px;
    margin-top: 40px;
    background: #f4f7fc;
    box-sizing: border-box;
    direction: rtl;
}

.home-power-card {
    width: min(980px, 100%);
    margin: 0 auto;
    padding: 30px;
    background: #ffffff;
    border: 1px solid #e3e8f2;
    border-radius: 24px;
    box-shadow: 0 12px 32px rgba(0, 0, 80, 0.10);
    box-sizing: border-box;
}

.home-power-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 24px;
}

.home-power-header > div {
    flex: 1;
}

.home-power-header h2 {
    margin: 0 0 8px;
    color: #000080;
    font-size: 24px;
    line-height: 1.8;
}

.home-power-header p {
    margin: 0;
    color: #666666;
    font-size: 15px;
    line-height: 1.9;
}

.home-power-archive {
    display: inline-block;
    flex-shrink: 0;
    padding: 9px 18px;
    background: #000080;
    color: #ffffff !important;
    text-decoration: none;
    font-weight: 700;
    border-radius: 24px;
    white-space: nowrap;
    transition: 0.25s ease;
}

.home-power-archive:hover {
    background: #17179b;
    transform: translateY(-2px);
}

.home-power-image {
    display: block;
    width: min(760px, 100%);
    height: 280px;
    margin: 0 auto;
    overflow: hidden;
    background: #fafbfe;
    border: 3px solid #edf0f6;
    border-radius: 18px;
    box-sizing: border-box;
}

.home-power-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    object-position: center;
    background: #ffffff;
}

.empty-home-outage {
    width: min(760px, 100%);
    margin: 0 auto;
    padding: 32px 20px;
    text-align: center;
    background: #f2f6ff;
    color: #000080;
    border-radius: 18px;
    font-weight: 700;
    box-sizing: border-box;
}

@media (max-width: 750px) {
    .home-power-outage {
        padding: 55px 12px 35px;
        margin-top: 25px;
    }

    .home-power-card {
        padding: 20px;
        border-radius: 19px;
    }

    .home-power-header {
        flex-direction: column;
        gap: 14px;
        margin-bottom: 20px;
    }

    .home-power-header h2 {
        font-size: 21px;
    }

    .home-power-archive {
        padding: 8px 15px;
    }

    .home-power-image {
        height: 230px;
    }
}

@media (max-width: 480px) {
    .home-power-outage {
        padding-top: 45px;
    }

    .home-power-card {
        padding: 16px;
    }

    .home-power-header h2 {
        font-size: 19px;
    }

    .home-power-header p {
        font-size: 14px;
    }

    .home-power-image {
        height: 190px;
        border-radius: 14px;
    }
}
/* ===== خاموشی صفحه اصلی ===== */

.home-power-outage{
    width:100%;
    background:#000b7a;          /* همان رنگ آبی تیره سایت */
    padding:60px 20px;
    margin-top:60px;
}

.home-power-card{
    max-width:900px;
    margin:auto;
    background:#fff;
    border-radius:22px;
    padding:30px;
    box-shadow:0 15px 35px rgba(0,0,0,.18);
}

.home-power-header{
    text-align:center;
    margin-bottom:25px;
}

.home-power-header h2{
    color:#000b7a;
    font-size:32px;
    margin-bottom:8px;
}

.home-power-header p{
    color:#666;
    margin-bottom:15px;
}

.home-power-archive{
    display:inline-block;
    background:#000b7a;
    color:#fff!important;
    text-decoration:none;
    padding:10px 25px;
    border-radius:30px;
    font-weight:bold;
}

.home-power-image{
    display:block;
    width:100%;
    max-width:650px;       /* کوچکتر از قبل */
    margin:30px auto 0;
    border-radius:18px;
    overflow:hidden;
    border:4px solid #edf0f6;
    background:#fff;
}

.home-power-image img{
    width:100%;
    height:auto;
    display:block;
}
/* ===========================
   بخش برنامه خاموشی
=========================== */

.home-power-section{
    background:#000080;
    padding:70px 20px 80px;
    text-align:center;
}


/* کارت عنوان */

.home-power-header{
    max-width:760px;
    margin:0 auto 35px;

    background:rgba(255,255,255,.97);

    padding:25px 35px;

    border-radius:22px;

    box-shadow:0 15px 35px rgba(0,0,0,.22);

    border:3px solid rgba(255,255,255,.9);
}


.home-power-header h2{
    margin:0 0 12px;

    color:#000080;

    font-size:32px;

    font-weight:800;
}


.home-power-header p{
    margin:0 0 18px;

    color:#555;

    font-size:17px;

    line-height:2;
}


/* دکمه آرشیو */

.home-power-archive{

    display:inline-block;

    padding:12px 28px;

    background:#000080;

    color:#fff !important;

    border-radius:30px;

    text-decoration:none;

    font-weight:700;

    transition:.3s;
}

.home-power-archive:hover{

    background:#2323c5;

    transform:translateY(-2px);
}


/* قاب عکس */

.home-power-card{

    width:fit-content;

    margin:0 auto;

    background:#fff;

    padding:10px;

    border-radius:24px;

    box-shadow:0 18px 40px rgba(0,0,0,.28);

    border:5px solid rgba(255,255,255,.95);
}


/* عکس */

.home-power-card img{

    display:block;

    width:100%;

    max-width:820px;

    max-height:520px;

    object-fit:contain;

    border-radius:18px;
}
/* ==========================
   Power Outage Banner
========================== */

.power-banner{

    max-width:1100px;

    margin:45px auto;

    padding:28px 35px;

    background:#000080;

    border-radius:22px;

    display:flex;

    align-items:center;

    justify-content:space-between;

    gap:25px;

    color:#fff;

    text-decoration:none;

    box-shadow:0 15px 35px rgba(0,0,0,.18);

    transition:.3s;

}

.power-banner:hover{

    transform:translateY(-4px);

    box-shadow:0 20px 45px rgba(0,0,0,.28);

    background:#11119f;

}

.power-icon{

    width:75px;

    height:75px;

    border-radius:50%;

    background:#fff;

    color:#000080;

    display:flex;

    align-items:center;

    justify-content:center;

    font-size:38px;

    flex-shrink:0;

}

.power-content{

    flex:1;

}

.power-content h2{

    margin:0 0 10px;

    font-size:30px;

    color:#fff;

}

.power-content p{

    margin:0;

    color:#e7e7ff;

    font-size:17px;

    line-height:1.9;

}

.power-arrow{

    background:#fff;

    color:#000080;

    padding:14px 26px;

    border-radius:30px;

    font-weight:bold;

    white-space:nowrap;

}
/* =====================================
   صفحه تصاویر قطعی برق
===================================== */

.outages-page {
    width: min(1100px, calc(100% - 32px));
    margin: 45px auto 70px;
    direction: rtl;
}

.outages-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;

    margin-bottom: 32px;
    padding: 24px 25px;

    background: #ffffff;
    border-radius: 22px;
    box-shadow: 0 10px 28px rgba(0, 0, 80, 0.10);

    text-align: center;
}

.outages-title-icon {
    width: 58px;
    height: 58px;
    flex: 0 0 58px;

    display: grid;
    place-items: center;

    border-radius: 17px;
    background: #000080;

    font-size: 29px;
}

.outages-title h1 {
    margin: 0 0 6px;

    color: #000080;
    font-size: 28px;
    line-height: 1.7;
}

.outages-title p {
    margin: 0;

    color: #666;
    font-size: 14px;
    line-height: 1.9;
}

.outages-images {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
}

.outages-image-card {
    display: block;
    width: min(900px, 100%);
    margin: 0 auto;

    padding: 10px;

    background: #ffffff;
    border-radius: 22px;
    box-shadow: 0 12px 32px rgba(0, 0, 80, 0.13);

    text-decoration: none;
    overflow: hidden;
    box-sizing: border-box;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.outages-image-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(0, 0, 80, 0.20);
}

.outages-image-card img {
    display: block;
    width: 100%;
    height: auto;

    border-radius: 15px;
    object-fit: contain;
}

.outages-empty {
    width: min(800px, 100%);
    margin: 0 auto;

    padding: 30px 20px;

    background: #f2f6ff;
    color: #000080;

    border-radius: 18px;
    text-align: center;
    font-weight: 700;
}

@media (max-width: 650px) {

    .outages-page {
        width: min(100% - 20px, 1100px);
        margin-top: 28px;
    }

    .outages-title {
        padding: 19px 15px;
        border-radius: 18px;
    }

    .outages-title-icon {
        width: 50px;
        height: 50px;
        flex-basis: 50px;
        font-size: 25px;
    }

    .outages-title h1 {
        font-size: 21px;
    }

    .outages-image-card {
        padding: 6px;
        border-radius: 17px;
    }
}
/* ==========================
   Power Outages Gallery
========================== */

.outages-gallery{

    width:90%;
    max-width:1400px;

    margin:35px auto 60px;

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(270px,1fr));

    gap:28px;

}


.outage-card{

    background:#fff;

    border-radius:22px;

    overflow:hidden;

    text-decoration:none;

    box-shadow:0 12px 35px rgba(0,0,0,.12);

    transition:.25s;

}


.outage-card:hover{

    transform:translateY(-6px);

    box-shadow:0 18px 45px rgba(0,0,0,.18);

}


.outage-card img{

    width:100%;

    aspect-ratio:4/5;

    display:block;

    object-fit:cover;

}


/* اگر عکس کامل دیده شود و برش نخورد */

.outage-card.contain img{

    object-fit:contain;

    background:white;

}


.outages-empty{

    grid-column:1/-1;

    text-align:center;

    padding:45px;

    border-radius:18px;

    background:#eef3ff;

    color:#000080;

    font-size:20px;

    font-weight:700;

}
/* ===========================
   Gallery
===========================*/

.outages-gallery{

    display:flex;

    flex-wrap:wrap;

    justify-content:center;

    gap:25px;

    width:90%;

    max-width:1200px;

    margin:35px auto 60px;

}


.outage-card{

    width:220px;

    background:#fff;

    border-radius:18px;

    overflow:hidden;

    box-shadow:0 8px 25px rgba(0,0,0,.12);

    transition:.25s;

    text-decoration:none;

}


.outage-card:hover{

    transform:translateY(-6px);

    box-shadow:0 14px 35px rgba(0,0,0,.18);

}


.outage-card img{

    width:100%;

    aspect-ratio:4/5;

    object-fit:cover;

    display:block;

}


/* موبایل */

@media(max-width:768px){

.outage-card{

    width:170px;

}

}

@media(max-width:480px){

.outage-card{

    width:140px;

}

}
/* =========================
   Responsive Menu
========================= */
/* =========================
   Mobile Hamburger Menu
========================= */

.mobile-nav-top {
    display: none;
}

.menu-toggle {
    display: none;
}

@media (max-width: 768px) {

    .mobile-nav {
        width: 100%;
        background: #08088a;
        position: relative;
        z-index: 1000;
    }

    .mobile-nav-top {
        min-height: 62px;
        padding: 10px 16px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        box-sizing: border-box;
    }

    .mobile-logo {
        color: #ffffff;
        text-decoration: none;
        font-size: 18px;
        font-weight: bold;
    }

    .menu-toggle {
        width: 44px;
        height: 44px;
        padding: 9px;
        border: 0;
        border-radius: 8px;
        background: transparent;

        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;

        gap: 5px;
        cursor: pointer;
    }

    .menu-toggle span {
        display: block;
        width: 25px;
        height: 3px;
        background: #ffffff;
        border-radius: 5px;
        transition: transform 0.25s ease, opacity 0.25s ease;
    }


    /* منو در حالت بسته */
    .mobile-nav .menu {
        display: none;
        width: 100%;
        padding: 8px 16px 16px;
        margin: 0;
        list-style: none;
        background: #08088a;
        box-sizing: border-box;
    }


    /* منو در حالت باز */
    .mobile-nav .menu.menu-open {
        display: block !important;
    }


    .mobile-nav .menu li {
        width: 100%;
        margin: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    }

    .mobile-nav .menu li:last-child {
        border-bottom: none;
    }

    .mobile-nav .menu li a,
    .mobile-nav .welcome-user {
        display: flex;
        align-items: center;
        justify-content: flex-start;

        width: 100%;
        min-height: 48px;
        padding: 10px 4px;

        color: #ffffff;
        font-size: 14px;
        text-decoration: none;

        box-sizing: border-box;
    }

    .mobile-nav .login-item {
        width: 100%;
    }


    /* تبدیل سه خط به X هنگام باز شدن */
    .menu-toggle.is-open span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .menu-toggle.is-open span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.is-open span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
}
/* =========================
   Mobile Search & Ads
========================= */

@media (max-width:768px) {

    .search-box {
        position: absolute;
        top:42%;
        bottom: auto;
        left:50%;
        transform:translate(-50%,-42%);

        width: 78%;
        max-width: 275px;
        padding: 10px 12px;

        border-radius: 14px;
        box-sizing: border-box;
    }

    .search-form {
        display: flex;
        flex-direction: column;
        gap: 8px;
        width: 100%;
    }

    .input-group {
        width: 100%;
        min-width: 0;
        flex: none;
    }

    .input-group label {
        margin-bottom: 4px;
        font-size: 12px;
    }

    .input-group select {
        width: 100%;
        height: 38px;
        padding: 6px 9px;
        font-size: 12px;
        box-sizing: border-box;
    }

    .search-btn {
        width: 100%;
        height: 38px;
        padding: 6px 10px;
        font-size: 14px;
    }
}
    /* بخش تبلیغات صفحه اصلی */
    .ads-section {
        padding: 22px 12px;
    }

    .ads-container {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;

    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 18px;

    box-sizing: border-box;
    }

    .ad-card {
    width: 100%;
    box-sizing: border-box;
    }

    .ad-card img {
        width: 100%;
        height: 115px;
        object-fit: cover;
        border-radius: 9px;
    }
    
    .ad-card h3 {
        font-size: 12px;
        line-height: 1.35;

        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;

        overflow: hidden;
        min-height: 34px;
    }

    .ad-details p {
        margin: 4px 0;
        font-size: 10px;
        line-height: 1.7;
    }

    .ad-details span {
        font-size: 10px;
    }

/* =========================
   Mobile Power Banner
========================= */

.power-banner{
    display:flex;
    flex-direction:row;
    align-items:center;
    justify-content:space-between;

    width:92%;
    max-width:340px;

    margin:15px auto;
    padding:16px;

    border-radius:13px;
    box-sizing:border-box;
    text-align:right;
}

.power-content{
    flex:1;
    margin:0 12px;
}

.power-content h2{
    font-size:15px;
    line-height:1.5;
    margin:0 0 6px;
}

.power-content p{
    font-size:13px;
    line-height:1.7;
    margin:0;
}

.power-icon{
    width:56px;
    height:56px;
    flex:none;
}

.power-arrow{
    flex:none;
    font-size:13px;
    padding:8px 14px;
    border-radius:20px;
    white-space:nowrap;
}
/* =========================
   Mobile Categories
========================= */

@media (max-width:768px){

    .category-section{
        padding:20px 12px;
    }

    .category-container{
        display:grid;
        grid-template-columns:repeat(2,1fr);
        gap:12px;
    }

    .category-card{
        padding:14px 10px;
        border-radius:14px;
    }

    .category-icon{
        font-size:26px;
        margin-bottom:8px;
    }

    .category-card h3{
        font-size:13px;
        margin-bottom:8px;
        line-height:1.5;
    }

    .category-card p{
        font-size:10px;
        line-height:1.7;
    }

}


/* =========================
   Mobile Social Cards
========================= */

@media (max-width:768px){

    .media-section{
        padding:24px 12px;
    }

    .media-title h2{
        font-size:22px;
    }

    .media-title p{
        font-size:13px;
        line-height:1.8;
    }

    .media-container{
        display:grid;
        grid-template-columns:repeat(3,1fr);
        gap:10px;
    }

    .media-card{
        padding:16px 10px;
        border-radius:14px;
    }

    .media-icon{
        width:54px;
        height:54px;
        margin-bottom:10px;
    }

    .media-icon svg{
        width:24px;
        height:24px;
    }

    .media-card h3{
        font-size:14px;
        margin-bottom:6px;
    }

    .media-card p{
        font-size:11px;
        line-height:1.6;
    }

}
.home-ad-button{
    display:inline-block;
    margin-top:10px;
    padding:8px 18px;

    background:#08088a;
    color:#fff;

    border-radius:25px;
    font-size:13px;
    font-weight:bold;

    transition:.25s;
}

.ad-card:hover .home-ad-button{
    background:#1b2bd1;
}

.ad-neighborhood{
    margin-top:8px;
    color:#666;
    font-size:13px;
}
/* =========================
   Footer - Desktop Fix
========================= */

/* =========================
   Footer - Desktop
========================= */

@media (min-width: 769px) {

    .footer {
        width: 100%;
        margin: 0;
        padding: 45px 60px;
        box-sizing: border-box;
    }

    .footer-content {
        width: 100%;
        max-width: 1200px;
        margin: 0 auto;

        display: grid;
        grid-template-columns: 2fr 1fr 1fr 1fr;
        gap: 45px;

        align-items: start;
        text-align: right;
        box-sizing: border-box;
    }

    .footer-column {
        width: 100%;
        min-width: 0;
    }

    .footer-about {
        max-width: 360px;
    }

    .footer-logo {
        display: block;
        width: 85px;
        height: auto;
        margin: 0 0 16px;
    }

    .footer-column h3 {
        margin: 0 0 18px;
        font-size: 18px;
    }

    .footer-column p {
        margin: 0;
        font-size: 14px;
        line-height: 2;
    }

    .footer-column a {
        display: block;
        margin: 10px 0;
        font-size: 14px;
        line-height: 1.7;
        text-decoration: none;
    }
}


/* =========================
   Footer - Mobile
========================= */

@media (max-width: 768px) {

    html,
    body {
        width: 100%;
        margin: 0;
        overflow-x: hidden;
    }

    .footer {
        width: 100vw;
        max-width: none;

        margin-right: calc(50% - 50vw);
        margin-left: calc(50% - 50vw);

        padding: 22px 14px;
        box-sizing: border-box;
    }

    .footer-content {
        width: 100%;
        max-width: 520px;
        margin: 0 auto;

        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px 8px;

        align-items: start;
        text-align: center;
        box-sizing: border-box;
    }

    .footer-column {
        width: 100%;
        min-width: 0;
        margin: 0;
    }

    /* لوگو و توضیحات بالای فوتر تمام عرض باشد */
    .footer-about {
        grid-column: 1 / -1;
        max-width: none;
        margin-bottom: 22px;
    }

    .footer-logo {
        display: block;
        width: 50px;
        height: auto;
        margin: 0 auto 7px;
    }

    .footer-column h3 {
        margin: 0 0 6px;
        font-size: 8px;
        line-height: 1.7;
    }

    .footer-column p {
        max-width: 270px;
        margin: 0 auto;
        font-size: 7px;
        line-height: 1.5;
    }

    .footer-column a {
        display: block;
        margin: 3px 0;
        font-size: 7px;
        line-height: 1.5;
        text-decoration: none;
    }

    /* مخفی‌کردن ستون ارتباط با ما فقط در گوشی */
    .footer-content .footer-column:last-child {
        display: none;
    }
}

/* ==============================
   Mobile Comments Section Fix
============================== */

@media (max-width: 768px) {

    .service-comments,
    .comments-section {
        width: 100%;
        max-width: 100%;
        padding: 14px 10px;
        margin: 16px 0;
        box-sizing: border-box;
        overflow-wrap: anywhere;
    }

    .service-comments h3,
    .comments-section h2 {
        font-size: 15px;
        margin: 0 0 16px;
        line-height: 1.6;
    }

    .service-comments .login-alert,
    .comments-section .login-alert {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 10px;

        width: 100%;
        max-width: 100%;
        min-width: 0;
        height: auto;
        min-height: 0;

        padding: 12px 8px;
        margin: 10px 0;

        box-sizing: border-box;
        text-align: center;
        font-size: 12px;
        line-height: 1.8;
        overflow: visible;
    }

    .service-comments .login-alert a,
    .comments-section .login-alert a {
        display: inline-flex;
        align-items: center;
        justify-content: center;

        position: static;
        float: none;
        transform: none;

        width: auto;
        max-width: 100%;
        min-width: 0;
        height: auto;

        padding: 7px 16px;
        margin: 0;

        border-radius: 20px;
        background: #08088a;
        color: #fff;

        font-size: 11px;
        line-height: 1.5;
        text-decoration: none;
        white-space: normal;
        box-sizing: border-box;
    }

    .service-comments .comment-form,
    .service-comments .reply-form,
    .comments-section .comment-form,
    .comments-section .reply-form {
        display: flex;
        flex-direction: column;
        gap: 10px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .service-comments textarea,
    .comments-section textarea {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        box-sizing: border-box;
        font-size: 13px;
    }

    .service-comments button,
    .comments-section button {
        position: static;
        width: 100%;
        max-width: 100%;
        height: auto;
        padding: 10px;
        font-size: 12px;
        box-sizing: border-box;
    }

    .service-comments .comment-card,
    .service-comments .reply-card,
    .comments-section .comment-card,
    .comments-section .reply-card {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        box-sizing: border-box;
        overflow-wrap: anywhere;
    }
}

/* ==============================
   News Page Mobile Fix
============================== */

@media (max-width: 768px) {

    .news-container {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: 18px;

        width: 100%;
        max-width: 100%;
        padding: 15px;
        margin: 0 auto;
        box-sizing: border-box;
    }

    .news-card {
        display: flex;
        flex-direction: column;
        align-items: stretch;

        width: 100%;
        max-width: 100%;
        min-width: 0;
        height: auto;

        padding: 14px;
        margin: 0;

        box-sizing: border-box;
        overflow: hidden;
        border-radius: 18px;
    }

    .news-card img {
        display: block;
        position: static;

        width: 100%;
        max-width: 100%;
        height: 180px;

        object-fit: cover;
        border-radius: 12px;
        margin: 0 0 14px;
        float: none;
        transform: none;
    }

    .news-content {
        display: block;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        padding: 0;
        margin: 0;
        box-sizing: border-box;
    }

    .news-card h2,
    .news-card h3 {
        width: 100%;
        margin: 0 0 12px;

        font-size: 15px;
        line-height: 1.8;
        text-align: right;

        overflow-wrap: anywhere;
    }

    .news-card p {
        width: 100%;
        max-width: 100%;
        margin: 0 0 12px;

        font-size: 12px;
        line-height: 2;
        text-align: right;

        overflow-wrap: anywhere;
    }
}

/* ==================================
   West Tehran News - Mobile Fix
================================== */

@media (max-width: 768px) {

    .west-news-page {
        width: 100%;
        max-width: 100%;
        padding: 18px 12px 30px;
        margin: 0 auto;
        box-sizing: border-box;
        overflow: hidden;
    }

    .west-news-header {
        width: 100%;
        max-width: 100%;
        padding: 18px 12px;
        margin: 0 0 20px;
        box-sizing: border-box;
        text-align: center;
    }

    .west-news-header h1 {
        font-size: 19px;
        line-height: 1.6;
        margin: 0 0 8px;
    }

    .west-news-header p {
        font-size: 12px;
        line-height: 1.8;
        margin: 0;
    }

    .west-news-list {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: 18px;

        width: 100%;
        max-width: 100%;
        min-width: 0;

        padding: 0;
        margin: 0;
        box-sizing: border-box;
    }

    .west-news-item {
        display: block;

        width: 100%;
        max-width: 100%;
        min-width: 0;
        height: auto;

        padding: 14px;
        margin: 0;

        box-sizing: border-box;
        overflow: hidden;
        border-radius: 16px;
    }

    .west-news-content {
        display: block;

        width: 100%;
        max-width: 100%;
        min-width: 0;

        padding: 0;
        margin: 0;
        box-sizing: border-box;
    }

    .news-title-row {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 12px;

        width: 100%;
        max-width: 100%;
        min-width: 0;

        padding: 0;
        margin: 0 0 14px;
        box-sizing: border-box;
    }

    .news-title-image {
        display: block;
        position: static;
        float: none;
        flex: none;

        width: 100%;
        max-width: 100%;
        height: 190px;

        margin: 0;
        padding: 0;

        object-fit: cover;
        border-radius: 12px;
        transform: none;
    }

    .news-title-text {
        display: block;

        width: 100%;
        max-width: 100%;
        min-width: 0;

        padding: 0;
        margin: 0;

        text-align: right;
        box-sizing: border-box;
    }

    .news-title-text h3 {
        width: 100%;
        margin: 0 0 8px;

        font-size: 15px;
        font-weight: 700;
        line-height: 1.8;

        text-align: right;
        overflow-wrap: anywhere;
    }

    .west-news-date {
        margin: 0;
        font-size: 11px;
        line-height: 1.6;
        text-align: right;
    }

    .west-news-description {
        display: block;

        width: 100%;
        max-width: 100%;
        min-width: 0;

        padding: 0;
        margin: 0;

        font-size: 13px;
        line-height: 2;
        text-align: right;

        white-space: normal;
        overflow-wrap: anywhere;
        box-sizing: border-box;
    }

    .west-news-description p {
        width: 100%;
        max-width: 100%;
        margin: 0 0 12px;

        font-size: inherit;
        line-height: inherit;
        text-align: right;
        overflow-wrap: anywhere;
    }

    .west-news-description p:last-child {
        margin-bottom: 0;
    }

    .empty-news {
        width: 100%;
        padding: 24px 12px;
        box-sizing: border-box;
        text-align: center;
        font-size: 13px;
    }
}

@media (max-width: 380px) {

    .west-news-page {
        padding-right: 9px;
        padding-left: 9px;
    }

    .west-news-item {
        padding: 11px;
    }

    .news-title-image {
        height: 160px;
    }

    .news-title-text h3 {
        font-size: 14px;
    }

    .west-news-description {
        font-size: 12px;
        line-height: 1.9;
    }
}

/* ==============================
   Login Page - Mobile Fix
============================== */

@media (max-width: 768px) {

    .auth-page {
        width: 100%;
        max-width: 100%;
        min-height: calc(100dvh - 62px);

        display: flex;
        justify-content: center;
        align-items: flex-start;

        padding: 35px 16px;
        margin: 0;

        box-sizing: border-box;
    }

    .auth-box {
        width: 100%;
        max-width: 390px;
        min-width: 0;

        padding: 25px 20px;
        margin: 0 auto;

        box-sizing: border-box;
        border-radius: 16px;
    }

    .auth-box h1 {
        font-size: 20px;
        line-height: 1.6;
        text-align: center;
        margin: 0 0 12px;
    }

    .auth-box p {
        font-size: 13px;
        line-height: 1.9;
        text-align: center;
        margin: 0 0 20px;
    }

    .auth-form {
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .auth-form input {
        width: 100%;
        min-width: 0;
        min-height: 46px;

        padding: 10px 12px;
        font-size: 16px;

        box-sizing: border-box;
        border-radius: 8px;
    }

    .auth-form button {
        position: static;
        transform: none;

        width: 100%;
        min-height: 46px;

        padding: 10px;
        margin: 0;

        font-size: 14px;
        border-radius: 10px;
        box-sizing: border-box;
    }

    .auth-note {
        margin-top: 16px;
        font-size: 11px;
        line-height: 1.8;
        text-align: center;
    }
}

/* =====================================
   Footer - Mobile Only
   Desktop remains unchanged
===================================== */

/* Default: desktop */
.footer-description-mobile {
    display: none;
}

@media (max-width: 768px) {

    .footer {
        width: 100%;
        max-width: 100%;
        margin: 0;
        padding: 25px 16px 20px;
        box-sizing: border-box;
        background-color: #080880;
        color: #ffffff;
    }

    .footer-content {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px 12px;

        width: 100%;
        max-width: 480px;
        margin: 0 auto;
        padding: 0;

        text-align: center;
        box-sizing: border-box;
    }

    /* Logo and short description */

    .footer-about {
        grid-column: 1 / -1;
        width: 100%;
        max-width: 100%;
        text-align: center;
    }

    .footer-logo {
        display: block;
        width: 48px;
        height: auto;
        margin: 0 auto 10px;
    }

    .footer-description-desktop {
        display: none;
    }

    .footer-description-mobile {
        display: block;
        margin: 0 auto;
        padding: 0;

        font-size: 11px;
        font-weight: 400;
        line-height: 1.8;
        text-align: center;
        color: #ffffff;
    }

    /* Two columns */

    .footer-links {
        width: 100%;
        min-width: 0;
        text-align: center;
    }

    .footer-links h3 {
        margin: 0 0 12px;
        font-size: 12px;
        font-weight: 700;
        color: #ffffff;
    }

    .footer-links a {
        display: block;
        margin: 0 0 9px;
        padding: 0;

        font-size: 10px;
        line-height: 1.6;
        text-decoration: none;
        color: #ffffff;
    }

    /* Contact links at bottom */

    .footer-contact {
        grid-column: 1 / -1;

        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        gap: 10px 18px;

        width: 100%;
        margin-top: 3px;
        padding-top: 14px;

        border-top: 1px solid rgba(255,255,255,0.2);
    }

    .footer-contact h3 {
        display: none;
    }

    .footer-contact a {
        display: inline-block;
        width: auto;
        margin: 0;
        padding: 0;

        font-size: 10px;
        line-height: 1.7;
        text-decoration: none;
        color: #ffffff;
    }
}

/* ==============================
   Neighborhoods Mobile Spacing
============================== */

@media (max-width: 768px) {

    .neighborhoods-page {
        padding-top: 12px !important;
        margin-top: 0 !important;
    }

    .neighborhoods-grid {
        padding-top: 0 !important;
        margin-top: 0 !important;
        row-gap: 15px;
    }

    .neighborhood-card-link {
        margin-top: 0 !important;
    }

    .neighborhood-card {
        margin-top: 0 !important;
    }
}

/* =====================================
   Mobile - Remove Extra Top Spacing
   Services & Neighborhoods
===================================== */

@media (max-width: 768px) {

    /* صفحه دسته‌بندی خدمات */

    .services-page {
        padding-top: 15px !important;
        margin-top: 0 !important;
    }

    .services-grid,
    .services-container,
    .categories-grid {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }

    /* صفحه انتخاب محله برای خدمات */

    .service-neighborhoods-page {
        padding-top: 15px !important;
        margin-top: 0 !important;
    }

    .service-neighborhoods-header {
        margin-top: 0 !important;
    }

    .service-neighborhoods-grid {
        margin-top: 15px !important;
    }

    /* صفحه فهرست محله‌ها */

    .neighborhoods-page {
        padding-top: 15px !important;
        margin-top: 0 !important;
    }

    .neighborhoods-grid {
        padding-top: 0 !important;
        margin-top: 0 !important;
    }
}

/* =====================================
   Service Items - Mobile Top Spacing
===================================== */

@media (max-width: 768px) {

    .service-items-page {
        margin-top: 0 !important;
        padding-top: 15px !important;
    }

    .service-items-header {
        margin-top: 0 !important;
        margin-bottom: 18px !important;
    }

    .service-items-grid {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }
}

/* =====================================
   Neighborhood Detail - Mobile Fix
===================================== */

@media (max-width: 768px) {

    /* فاصله کل صفحه از منو */
    .neighborhood-page {
        margin-top: 0 !important;
        padding-top: 15px !important;
    }

    /* تصویر اصلی محله */
    .neighborhood-hero {
        margin-top: 0 !important;
        top: auto !important;
    }

    /* جلوگیری از فاصله اضافی */
    .neighborhood-page > .neighborhood-hero:first-child {
        margin-block-start: 0 !important;
    }
}

/* =====================================
   Hide Neighborhood Sidebar on Mobile
   Desktop Unchanged
===================================== */

@media (max-width: 768px) {

    .neighborhood-sidebar {
        display: none !important;
    }

    .neighborhood-layout {
        display: block;
        width: 100%;
        max-width: 100%;
    }

    .neighborhood-main {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        margin: 0;
        box-sizing: border-box;
    }
}

/* ==============================
   Footer Top Spacing - Mobile Only
============================== */

@media (max-width: 768px) {

    .footer {
        padding-top: 12px !important;
    }

    .footer-content {
        padding-top: 0 !important;
        row-gap: 12px;
    }

    .footer-about {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }

    .footer-logo {
        margin-top: 0 !important;
        margin-bottom: 6px !important;
    }
}

/* =====================================
   Footer Mobile - Final Spacing Fix
   Desktop Unchanged
===================================== */

@media (max-width: 768px) {

    .footer {
        padding-top: 10px !important;
        padding-bottom: 18px !important;
        min-height: 0 !important;
        height: auto !important;
    }

    .footer .footer-content {
        padding-top: 0 !important;
        margin-top: 0 !important;
        align-items: start !important;
        align-content: start !important;
        row-gap: 12px !important;
    }

    .footer .footer-content .footer-about {
        margin-top: 0 !important;
        padding-top: 0 !important;
        transform: none !important;
        justify-content: flex-start !important;
        gap: 5px !important;
    }

    .footer .footer-content .footer-about .footer-logo {
        width: 45px !important;
        height: auto !important;
        margin: 0 auto 5px !important;
        transform: none !important;
    }

    .footer .footer-content .footer-about p {
        margin: 0 auto !important;
        padding: 0 !important;
        transform: none !important;

        font-size: 11px !important;
        font-weight: 400 !important;
        line-height: 1.7 !important;
        text-align: center !important;
    }

    .footer .footer-description-desktop {
        display: none !important;
    }

    .footer .footer-description-mobile {
        display: block !important;
    }
}


/* =====================================
   Service Comments - Login Button Fix
===================================== */

.service-comments .login-alert {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;

    width: 100%;
    max-width: 100%;
    min-width: 0;
    height: auto;

    padding: 12px;
    box-sizing: border-box;

    text-align: center;
}

.service-comments .login-alert a {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;

    width: auto !important;
    min-width: 110px;
    max-width: 100%;
    height: auto !important;
    min-height: 36px;

    padding: 8px 16px !important;

    background: #000080 !important;
    color: #ffffff !important;

    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 1.5 !important;

    text-align: center;
    text-decoration: none;
    white-space: normal;

    opacity: 1 !important;
    visibility: visible !important;
    border-radius: 25px;
    box-sizing: border-box;
}

@media (max-width: 768px) {

    .service-comments .login-alert {
        flex-direction: column;
        gap: 10px;
    }

    .service-comments .login-alert a {
        font-size: 12px !important;
        min-width: 100px;
    }
}

/* =====================================
   Daily Markets - Desktop & Mobile
===================================== */

.markets-page {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 35px 24px 55px;
    box-sizing: border-box;
}

.markets-header {
    background: #f3f7ff;
    border-radius: 20px;
    text-align: center;
    padding: 30px 20px;
    margin-bottom: 35px;
}

.markets-header h1 {
    font-size: 30px;
    font-weight: 800;
    color: #000080;
    margin: 0 0 14px;
}

.markets-header p {
    font-size: 16px;
    line-height: 1.9;
    color: #333;
    margin: 0;
}

.markets-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    align-items: start;
}

.market-card {
    width: 100%;
    min-width: 0;
    background: #ffffff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.09);
    border: 1px solid #edf0f6;
}

.market-card .market-image {
    display: block;
    width: 100%;
    height: 210px;
    max-height: 210px;
    object-fit: cover;
    object-position: center;
}

.market-info {
    padding: 22px 20px;
    text-align: right;
    overflow-wrap: anywhere;
}

.market-info h2 {
    font-size: 20px;
    font-weight: 800;
    line-height: 1.7;
    color: #000080;
    margin: 0 0 15px;
}

.market-info p {
    font-size: 15px;
    line-height: 2;
    color: #333;
    margin: 0 0 12px;
}

.market-info strong {
    color: #000080;
    font-weight: 700;
}

/* Tablet */

@media (min-width: 769px) and (max-width: 1024px) {

    .markets-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}

/* Mobile */

@media (max-width: 768px) {

    .markets-page {
        padding: 18px 14px 35px;
    }

    .markets-header {
        padding: 22px 14px;
        margin-bottom: 22px;
        border-radius: 16px;
    }

    .markets-header h1 {
        font-size: 22px;
        line-height: 1.6;
    }

    .markets-header p {
        font-size: 13px;
        line-height: 1.8;
    }

    .markets-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 18px;
    }

    .market-card {
        border-radius: 16px;
    }

    .market-card .market-image {
        height: 190px;
        max-height: 190px;
    }

    .market-info {
        padding: 17px 15px;
    }

    .market-info h2 {
        font-size: 18px;
        margin-bottom: 12px;
    }

    .market-info p {
        font-size: 13px;
        line-height: 1.9;
    }

}

.rating-stars {
    display: flex;
    align-items: center;
    gap: 5px;
    flex-wrap: wrap;
}

.rating-stars .rating-form {
    display: inline-flex;
    margin: 0;
    padding: 0;
}

.rating-stars .rating-form button {
    appearance: none;
    background: transparent;
    border: none;
    padding: 3px;
    margin: 0;
    font-size: 22px;
    line-height: 1.2;
    cursor: pointer;
}

.rating-stars .rating-form button:hover {
    transform: scale(1.15);
}
