/* =============================================
   HEART OF KURDISTAN — City & Governorate Detail Stylesheet
   Fully responsive layout for Mobile (iPhone), Tablet (iPad), and Desktop
   ============================================= */

/* --- Breadcrumbs --- */
.city-breadcrumb-wrap {
    background: var(--bg-alt);
    border-bottom: 1px solid var(--border);
    padding: 0.85rem 0;
    margin-top: var(--nav-h);
}

.city-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    font-size: 0.88rem;
    color: var(--text-muted);
}

.city-breadcrumb li {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.city-breadcrumb li:not(:last-child)::after {
    content: '/';
    margin-left: 0.5rem;
    color: #cbd5e1;
}

.city-breadcrumb a {
    color: var(--primary);
    font-weight: 500;
    transition: color var(--trans-fast);
}

.city-breadcrumb a:hover {
    color: var(--accent-dark);
    text-decoration: underline;
}

.city-breadcrumb li[aria-current="page"] {
    color: var(--text-dark);
    font-weight: 700;
}

/* --- Hero Section --- */
.city-hero {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #fff;
    padding: 4.5rem 0 3.5rem;
    box-shadow: inset 0 -40px 40px -20px rgba(15, 23, 42, 0.6);
}

.city-hero-content {
    max-width: 900px;
}

.city-badge-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 1.25rem;
}

.city-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.4rem 1rem;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    background: var(--primary);
    color: #fff;
    box-shadow: 0 4px 12px rgba(0, 122, 61, 0.35);
}

.city-badge.gold {
    background: var(--accent-dark);
    color: #fff;
    box-shadow: 0 4px 12px rgba(224, 158, 0, 0.35);
}

.city-badge.red {
    background: var(--danger);
    color: #fff;
    box-shadow: 0 4px 12px rgba(213, 43, 30, 0.35);
}

.city-kurdish-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 1.1rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.city-hero-title {
    font-size: 3rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.5rem;
    line-height: 1.15;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

.city-hero-title span {
    color: var(--accent);
}

.city-hero-tagline {
    font-size: 1.25rem;
    font-weight: 600;
    color: #e2e8f0;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.city-hero-overview {
    font-size: 1.05rem;
    color: #cbd5e1;
    line-height: 1.8;
    margin-bottom: 2rem;
}

/* Quick Action Jumps */
.city-quick-actions {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    flex-wrap: wrap;
}

.btn-action {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1.25rem;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #fff;
    font-size: 0.88rem;
    font-weight: 600;
    transition: all var(--trans-fast);
}

.btn-action:hover {
    background: var(--accent);
    color: var(--text-dark);
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(253, 184, 19, 0.35);
}

.btn-action i {
    color: var(--accent-light);
}

.btn-action:hover i {
    color: var(--text-dark);
}

/* --- Stats Matrix --- */
.city-stats-sec {
    background: #fff;
    padding: 1.75rem 0;
    border-bottom: 1px solid var(--border);
}

.stats-matrix {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.25rem;
}

.stat-card {
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 1.15rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: transform var(--trans-fast), box-shadow var(--trans-fast);
}

.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}

.stat-card .stat-icon {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #e8f5e9;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.stat-card .stat-meta {
    display: flex;
    flex-direction: column;
}

.stat-card .stat-value {
    font-family: var(--font-head);
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1.2;
}

.stat-card .stat-label {
    font-size: 0.78rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

/* --- Interactive Filter & Search Toolbar --- */
.city-toolbar-sec {
    position: sticky;
    top: var(--nav-h);
    z-index: 900;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.city-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.search-box-wrap {
    position: relative;
    flex: 1;
    min-width: 280px;
}

.search-box-wrap .search-icon {
    position: absolute;
    left: 1.1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 0.95rem;
}

.search-box-wrap input {
    width: 100%;
    padding: 0.75rem 2.75rem 0.75rem 2.75rem;
    border-radius: 999px;
    border: 1.5px solid var(--border);
    background: var(--bg-light);
    font-family: var(--font-body);
    font-size: 0.92rem;
    color: var(--text-dark);
    transition: all var(--trans-fast);
}

.search-box-wrap input:focus {
    outline: none;
    background: #fff;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 122, 61, 0.15);
}

.clear-search-btn {
    position: absolute;
    right: 1.1rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 1.25rem;
    color: var(--text-muted);
    cursor: pointer;
    display: none;
    line-height: 1;
}

.clear-search-btn:hover {
    color: var(--danger);
}

.filter-tabs {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    overflow-x: auto;
    padding-bottom: 2px;
}

.filter-tab {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.55rem 1rem;
    border-radius: 999px;
    border: 1.5px solid var(--border);
    background: #fff;
    color: var(--text-body);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: all var(--trans-fast);
}

.filter-tab:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--bg-alt);
}

.filter-tab.active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    box-shadow: 0 2px 8px rgba(0, 122, 61, 0.25);
}

.filter-tab i {
    font-size: 0.85rem;
}

.no-results-msg {
    text-align: center;
    padding: 2.5rem 1rem;
    color: var(--text-muted);
}

.no-results-msg i {
    font-size: 2.5rem;
    color: var(--accent-dark);
    margin-bottom: 0.75rem;
}

.no-results-msg p {
    font-size: 1.05rem;
}

/* --- Section Formatting --- */
.city-content-sec {
    padding: 4.5rem 0;
}

.city-content-sec.sec-alt {
    background: var(--bg-alt);
}

.sec-kurdish-subtitle {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary);
    margin-top: -0.25rem;
    margin-bottom: 0.5rem;
}

/* --- Places Grid & Cards (Districts, Subtowns, Villages) --- */
.places-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
}

.place-card {
    background: #fff;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
    transition: all var(--trans-fast);
}

.place-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: #cbd5e1;
}

.place-card-header {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    margin-bottom: 1rem;
}

.place-icon-badge {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    flex-shrink: 0;
}

.district-icon {
    background: #e8f5e9;
    color: var(--primary);
}

.subtown-icon {
    background: #fef3c7;
    color: var(--accent-dark);
}

.village-icon {
    background: #fee2e2;
    color: var(--danger);
}

.place-title-group {
    flex: 1;
}

.place-kurdish-title {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--primary);
    display: block;
    line-height: 1.3;
}

.place-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
    line-height: 1.25;
}

.place-pop-badge,
.place-district-badge {
    font-size: 0.76rem;
    font-weight: 700;
    padding: 0.25rem 0.65rem;
    border-radius: 999px;
    background: var(--bg-alt);
    color: var(--text-muted);
    white-space: nowrap;
}

.place-district-badge i {
    color: var(--primary);
}

.place-card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.place-desc {
    font-size: 0.92rem;
    color: var(--text-body);
    line-height: 1.65;
    margin-bottom: 1rem;
    flex: 1;
}

/* Landmarks within District */
.place-landmarks {
    margin-top: 0.5rem;
    padding-top: 0.85rem;
    border-top: 1px dashed var(--border);
}

.landmarks-label {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    margin-bottom: 0.5rem;
}

.landmark-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.landmark-tag {
    font-size: 0.78rem;
    font-weight: 600;
    background: #f1f5f9;
    color: var(--text-dark);
    padding: 0.22rem 0.65rem;
    border-radius: 4px;
    border: 1px solid #e2e8f0;
}

/* Sub-town Highlight Pill */
.subtown-highlight-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: #92400e;
    background: #fef3c7;
    padding: 0.4rem 0.85rem;
    border-radius: var(--radius-sm);
    margin-top: 0.5rem;
}

.subtown-highlight-pill i {
    color: var(--accent-dark);
}

/* Village Tag & Specialty */
.village-tag-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.76rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--danger-dark);
    background: var(--danger-light);
    padding: 0.2rem 0.65rem;
    border-radius: 999px;
    margin-bottom: 0.65rem;
    align-self: flex-start;
}

.village-specialty-box {
    background: #f8fafc;
    border-left: 3px solid var(--primary);
    padding: 0.65rem 0.85rem;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    margin-top: 0.75rem;
}

.specialty-title {
    font-size: 0.76rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 0.35rem;
    margin-bottom: 0.25rem;
}

.village-specialty-box p {
    font-size: 0.85rem;
    color: var(--text-body);
    margin: 0;
    line-height: 1.5;
}

/* --- Key Landmarks Section Grid --- */
.attractions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.attraction-card {
    background: #fff;
    border-radius: var(--radius-md);
    padding: 1.5rem;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    transition: transform var(--trans-fast), box-shadow var(--trans-fast);
}

.attraction-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent);
}

.attr-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: #fefce8;
    color: var(--accent-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    flex-shrink: 0;
}

.attr-content h3 {
    font-size: 1.1rem;
    margin-bottom: 0.35rem;
    color: var(--text-dark);
}

.attr-content p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

/* --- Gastronomy Grid --- */
.gastronomy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.dish-card {
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    position: relative;
    transition: transform var(--trans-fast), box-shadow var(--trans-fast);
}

.dish-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
    background: #fff;
}

.dish-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e8f5e9;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    margin-bottom: 0.85rem;
}

.dish-card h3 {
    font-size: 1.15rem;
    color: var(--text-dark);
    margin-bottom: 0.4rem;
}

.dish-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

/* --- Other Governorates Quick-Switcher --- */
.other-cities-sec {
    background: var(--bg-dark);
    color: #fff;
    padding: 5rem 0;
}

.other-cities-sec .sec-title {
    color: #fff;
}

.other-cities-sec .sec-subtitle {
    color: #94a3b8;
}

.other-cities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.5rem;
}

.other-city-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: transform var(--trans-norm), background var(--trans-fast), border-color var(--trans-fast);
}

.other-city-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent);
}

.other-city-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    color: #fff;
}

.other-city-img {
    position: relative;
    height: 160px;
    overflow: hidden;
}

.other-city-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.other-city-card:hover .other-city-img img {
    transform: scale(1.06);
}

.other-city-kurdish {
    position: absolute;
    bottom: 0.75rem;
    right: 0.75rem;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    padding: 0.2rem 0.75rem;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--accent);
}

.other-city-body {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.other-city-body h3 {
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 0.4rem;
}

.other-city-body p {
    font-size: 0.85rem;
    color: #94a3b8;
    line-height: 1.5;
    margin-bottom: 1rem;
    flex: 1;
}

.btn-other-city {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: gap var(--trans-fast);
}

.other-city-card:hover .btn-other-city {
    gap: 0.65rem;
}

/* =============================================
   CITIES DIRECTORY (cities_list.html) STYLES
   ============================================= */
.cities-list-header {
    background: linear-gradient(135deg, #0b1320 0%, #1e293b 100%);
    color: #fff;
    padding: 4.5rem 0 3.5rem;
    text-align: center;
}

.cities-list-header .sec-title {
    color: #fff;
    font-size: 2.75rem;
}

.cities-list-header .sec-subtitle {
    color: #cbd5e1;
    max-width: 800px;
    margin: 0 auto;
}

.governorates-full-list {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.gov-hub-card {
    background: #fff;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    display: grid;
    grid-template-columns: 420px 1fr;
    overflow: hidden;
    transition: transform var(--trans-fast), box-shadow var(--trans-fast);
}

.gov-hub-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.gov-hub-img-wrap {
    position: relative;
    height: 100%;
    min-height: 300px;
}

.gov-hub-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gov-hub-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    background: var(--primary);
    color: #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.gov-hub-badge.gold { background: var(--accent-dark); }
.gov-hub-badge.red { background: var(--danger); }

.gov-hub-kurdish {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    color: #fff;
    padding: 0.35rem 1rem;
    border-radius: 999px;
    font-size: 1rem;
    font-weight: 700;
}

.gov-hub-info {
    padding: 2.25rem 2.5rem;
    display: flex;
    flex-direction: column;
}

.gov-hub-title-row h2 {
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 0.35rem;
}

.gov-hub-title-row h2 span {
    color: var(--primary);
}

.gov-hub-tagline {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 0.85rem;
}

.gov-hub-desc {
    font-size: 0.95rem;
    color: var(--text-body);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.gov-hub-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    background: var(--bg-alt);
    border-radius: var(--radius-sm);
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
}

.hub-stat-item {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.hub-stat-item i {
    font-size: 1.25rem;
    color: var(--primary);
}

.hub-stat-item .num {
    display: block;
    font-family: var(--font-head);
    font-size: 1rem;
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1.15;
}

.hub-stat-item .lbl {
    font-size: 0.72rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-weight: 600;
}

.gov-hub-action {
    margin-top: auto;
}

/* =============================================
   MAJOR CITIES CARDS ON INDEX PAGE ENHANCEMENTS
   ============================================= */
.city-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: var(--radius-md);
    background: #fff;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    transition: transform var(--trans-fast), box-shadow var(--trans-fast);
}

.city-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.card-img-link {
    display: block;
    overflow: hidden;
}

.card-img-link .card-img {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.card-img-link .card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.city-card:hover .card-img-link .card-img img {
    transform: scale(1.05);
}

.card-kurdish-badge {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.35rem;
}

.city-quick-pills {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin-top: 0.85rem;
}

.city-quick-pills span {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.78rem;
    font-weight: 700;
    background: var(--bg-alt);
    color: var(--text-muted);
    padding: 0.25rem 0.65rem;
    border-radius: 999px;
}

.city-quick-pills span i {
    color: var(--primary);
}

.btn-city-explore {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 700;
    font-size: 0.88rem;
    color: var(--primary);
    transition: gap var(--trans-fast), color var(--trans-fast);
}

.city-card:hover .btn-city-explore {
    color: var(--accent-dark);
    gap: 0.65rem;
}

.cities-explore-banner {
    background: linear-gradient(135deg, #0b1320 0%, #1e293b 100%);
    border-radius: var(--radius-lg);
    padding: 2.5rem 3rem;
    color: #fff;
    margin-top: 3.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    box-shadow: var(--shadow-lg);
}

.explore-banner-content {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.explore-banner-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(253, 184, 19, 0.15);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    flex-shrink: 0;
}

.explore-banner-content h3 {
    font-size: 1.4rem;
    color: #fff;
    margin-bottom: 0.35rem;
}

.explore-banner-content p {
    color: #94a3b8;
    margin: 0;
    font-size: 0.95rem;
}

/* =============================================
   RESPONSIVE DESIGN (TABLET & IPHONE OPTIMIZATION)
   ============================================= */

/* --- Tablet Devices (iPad / Large Tablets: 768px - 1024px) --- */
@media (max-width: 1024px) {
    .stats-matrix {
        grid-template-columns: repeat(3, 1fr);
    }
    .gov-hub-card {
        grid-template-columns: 320px 1fr;
    }
    .gov-hub-info {
        padding: 1.75rem 2rem;
    }
    .gov-hub-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* --- Small Tablets & Large Phones (600px - 768px) --- */
@media (max-width: 768px) {
    .city-hero {
        padding: 3.5rem 0 2.5rem;
    }
    .city-hero-title {
        font-size: 2.25rem;
    }
    .city-hero-tagline {
        font-size: 1.1rem;
    }
    .stats-matrix {
        grid-template-columns: repeat(2, 1fr);
    }
    .city-toolbar {
        flex-direction: column;
        align-items: stretch;
    }
    .search-box-wrap {
        width: 100%;
        min-width: unset;
    }
    .filter-tabs {
        width: 100%;
        justify-content: flex-start;
        -webkit-overflow-scrolling: touch;
    }
    .places-grid {
        grid-template-columns: 1fr;
    }
    .gov-hub-card {
        grid-template-columns: 1fr;
    }
    .gov-hub-img-wrap {
        height: 220px;
        min-height: unset;
    }
    .gov-hub-info {
        padding: 1.5rem;
    }
    .cities-explore-banner {
        flex-direction: column;
        align-items: flex-start;
        padding: 2rem 1.5rem;
    }
}

/* --- Mobile Devices (iPhone / Android: < 480px) --- */
@media (max-width: 480px) {
    .city-hero-title {
        font-size: 1.85rem;
    }
    .city-hero-overview {
        font-size: 0.95rem;
    }
    .city-quick-actions {
        flex-direction: column;
        align-items: stretch;
    }
    .btn-action {
        justify-content: center;
    }
    .stats-matrix {
        grid-template-columns: 1fr;
    }
    .filter-tab {
        padding: 0.45rem 0.8rem;
        font-size: 0.8rem;
    }
    .place-card {
        padding: 1.25rem;
    }
    .attraction-card {
        flex-direction: column;
    }
    .gov-hub-stats {
        grid-template-columns: 1fr;
    }
    .explore-banner-content {
        flex-direction: column;
        align-items: flex-start;
    }
}
