/* ================================
   Government Offices - دفاتر پیشخوان گواهی نماد
   اختصاصی صفحه «دفاتر_پیشخوان_گواهی_نماد»
   (فقط در همین صفحه لود می‌شود و فقط روی
   بخش .government-offices-page اعمال می‌گردد)
================================ */

.government-offices-page {
    width: 100%;
    direction: rtl;
    padding: 25px 15px 50px;
    box-sizing: border-box;

    background-color: #ffffff;

    /* خطوط خیلی کم‌رنگ شبیه تصویر */
    background-image:
        linear-gradient(
            rgba(220, 232, 225, 0.35) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(220, 232, 225, 0.35) 1px,
            transparent 1px
        );

    background-size: 40px 40px;
}


/* Container - تمام عرض صفحه */

.government-offices-page .offices-container {
    width: 100%;
    max-width: none;
    margin: 0 auto;
}


/* ================================
   Header
================================ */

.government-offices-page .offices-header {
    text-align: center;
    margin-bottom: 24px;
}

.government-offices-page .offices-icon {
    font-size: 30px;
    line-height: 1;
    margin-bottom: 6px;
    color: #222;
}

.government-offices-page .offices-header h1 {
    margin: 0;
    padding: 0;

    font-size: 30px;
    font-weight: 700;
    line-height: 1.8;

    color: #222;
}

.government-offices-page .offices-header p {
    display: block;
    width: 100%;
    margin: 0 auto;

    font-size: 16px;
    font-weight: 600;
    color: #777;

    text-align: center !important;
}


/* ================================
   Notice - هم‌عرض سه کارت (یک ردیف کامل)
================================ */

.government-offices-page .offices-notice {
    width: 100%;
    max-width: none;

    margin: 16px auto 18px;

    padding: 14px 24px;

    box-sizing: border-box;

    background: #fff184;

    border-radius: 13px;

    text-align: center;

    font-size: 14px;

    color: #555;
}

.government-offices-page .notice-text {
    line-height: 2;
}

.government-offices-page .notice-link {
    display: inline-block;

    margin-top: 3px;

    color: #0085c8;
    text-decoration: none;

    font-size: 14px;
    font-weight: 600;
}

.government-offices-page .notice-link:hover {
    text-decoration: underline;
}


/* ================================
   Grid - همیشه ۳ ستون به نسبت صفحه
================================ */

.government-offices-page .offices-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 14px 16px;

    width: 100%;
}


/* ================================
   Card
================================ */

.government-offices-page .office-card {
    min-width: 0;

    background: #fff;

    border: 1px solid #b9b9b9;

    border-radius: 11px;

    overflow: hidden;

    box-sizing: border-box;

    transition:
        box-shadow 0.2s ease,
        transform 0.2s ease;
}

.government-offices-page .office-card:hover {
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.10);
}


/* ================================
   Card Title
================================ */

.government-offices-page .office-title {
    padding: 8px 12px;

    text-align: center;

    font-size: 16px;
    font-weight: 700;

    color: #222;

    border-bottom: 1px solid #c7c7c7;

    line-height: 1.6;
}


/* ================================
   Card Content
================================ */

.government-offices-page .office-content {
    padding: 12px 14px 14px;

    text-align: right;

    font-size: 13px;

    line-height: 1.9;

    color: #555;
}

.government-offices-page .office-row {
    margin-bottom: 5px;
}

.government-offices-page .office-label {
    font-weight: 600;
    color: #444;
}

.government-offices-page .office-address {
    margin-top: 6px;

    line-height: 1.9;

    color: #555;
}


/* ================================
   Responsive
================================ */

@media (max-width: 900px) {

    .government-offices-page .offices-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

}


@media (max-width: 600px) {

    .government-offices-page {
        padding: 20px 10px 40px;
    }

    .government-offices-page .offices-header h1 {
        font-size: 24px;
    }

    .government-offices-page .offices-notice {
        width: 100%;
        padding: 12px 14px;
    }

    .government-offices-page .offices-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .government-offices-page .office-title {
        font-size: 15px;
    }

    .government-offices-page .office-content {
        font-size: 13px;
    }

}