/**
 * Mapa mikrodzialan — style
 */

/* ============== HERO — czysty, neutralny ============== */
.microactions-hero {
    background: #ffffff;
    padding: 56px 0 32px;
    border-bottom: 1px solid #f3f4f6;
}
.microactions-hero h1 {
    font-size: clamp(30px, 4vw, 44px);
    font-weight: 800;
    margin-bottom: 14px;
    color: #111827;
    letter-spacing: -0.02em;
}
.microactions-hero h1 i { color: var(--color-accent-500, #f59e0b); }
.microactions-lead {
    max-width: 720px;
    margin: 0 auto 32px;
    color: #4b5563;
    font-size: 16px;
    line-height: 1.6;
}
.microactions-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    max-width: 760px;
    margin: 0 auto;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
}
.ma-stat {
    text-align: center;
    padding: 18px 16px;
    border-right: 1px solid #e5e7eb;
}
.ma-stat:last-child { border-right: none; }
.ma-stat strong {
    display: block;
    font-size: 26px;
    font-weight: 800;
    color: #111827;
    line-height: 1.1;
    margin-bottom: 4px;
    letter-spacing: -0.02em;
}
.ma-stat span {
    color: #6b7280;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    font-weight: 500;
}
@media (max-width: 575px) {
    .microactions-stats { grid-template-columns: repeat(2, 1fr); }
    .ma-stat:nth-child(2) { border-right: none; }
    .ma-stat:nth-child(1), .ma-stat:nth-child(2) { border-bottom: 1px solid #e5e7eb; }
}

/* ============== FILTRY — czyste, czytelne, jednolite ============== */
.microactions-filters-bar {
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 1px 3px rgba(15,23,42,0.04);
}
.ma-filters {
    display: grid;
    grid-template-columns: minmax(260px, 1.6fr) repeat(3, minmax(140px, 1fr)) auto auto;
    gap: 12px;
    align-items: stretch;
    margin-bottom: 18px;
}
.ma-search {
    position: relative;
    display: flex;
    align-items: center;
}
.ma-search i {
    position: absolute;
    left: 16px;
    color: #9ca3af;
    font-size: 16px;
    pointer-events: none;
}
.ma-search input {
    width: 100%;
    height: 46px;
    padding: 0 16px 0 44px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    font-size: 15px;
    color: #111827;
    background: #ffffff;
    transition: border-color 0.15s, box-shadow 0.15s;
    font-family: inherit;
}
.ma-search input::placeholder { color: #9ca3af; }
.ma-search input:focus {
    outline: none;
    border-color: #6b7280;
    box-shadow: 0 0 0 3px rgba(107,114,128,0.12);
}

.ma-filter-group {
    display: flex;
    min-width: 0;
}
.ma-filter-group label { display: none; }
.ma-filter-group select {
    height: 46px;
    padding: 0 36px 0 14px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    font-size: 14px;
    background: #ffffff url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path fill='%236b7280' d='M1 1l5 5 5-5'/></svg>") no-repeat right 14px center;
    background-size: 12px 8px;
    color: #111827;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    font-family: inherit;
    width: 100%;
}
.ma-filter-group select:focus {
    outline: none;
    border-color: #6b7280;
    box-shadow: 0 0 0 3px rgba(107,114,128,0.12);
}

.ma-view-toggle {
    display: flex;
    height: 46px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    overflow: hidden;
    background: #f9fafb;
}
.ma-view-btn {
    background: transparent;
    border: none;
    padding: 0 14px;
    color: #6b7280;
    cursor: pointer;
    transition: all 0.15s;
    border-right: 1px solid #e5e7eb;
    font-size: 15px;
    display: flex;
    align-items: center;
    min-width: 46px;
    justify-content: center;
}
.ma-view-btn:last-child { border-right: none; }
.ma-view-btn.active {
    background: #111827;
    color: #ffffff;
}
.ma-view-btn:hover:not(.active) {
    background: #ffffff;
    color: #111827;
}
.ma-reset-btn {
    height: 46px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    color: #6b7280;
    padding: 0 18px;
    border-radius: 10px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.15s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
    font-family: inherit;
    white-space: nowrap;
}
.ma-reset-btn:hover {
    background: #f9fafb;
    color: #111827;
    border-color: #d1d5db;
}

/* ============== Kategorie — neutralne piłki z kolorową kropką ============== */
.ma-active-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.ma-cat-pill {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 8px 14px;
    font-size: 14px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.15s;
    color: #374151;
    font-weight: 500;
    font-family: inherit;
}
.ma-cat-pill i {
    color: #6b7280;
    font-size: 14px;
}
.ma-cat-pill em {
    font-style: normal;
    color: #9ca3af;
    font-size: 12px;
    font-weight: 500;
}
.ma-cat-pill:hover {
    border-color: #d1d5db;
    background: #f9fafb;
}
.ma-cat-pill.active {
    background: #111827;
    border-color: #111827;
    color: #ffffff;
}
.ma-cat-pill.active em { color: rgba(255,255,255,0.55); }
.ma-cat-pill.active i { color: #ffffff; }

/* ============== LAYOUT MAPA + KARTY ============== */
.microactions-main {
    padding: 24px 0 56px;
    background: #f8fafc;
    min-height: 60vh;
}
.ma-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 20px;
    align-items: start;
}
.ma-layout.ma-view-map { grid-template-columns: 1fr; }
.ma-layout.ma-view-map .ma-cards-wrap { display: none; }
.ma-layout.ma-view-cards { grid-template-columns: 1fr; }
.ma-layout.ma-view-cards .ma-map-wrap { display: none; }

.ma-map-wrap {
    position: sticky;
    top: 120px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(15,23,42,0.06);
    overflow: hidden;
    height: calc(100vh - 160px);
    min-height: 500px;
}
#maMap {
    height: 100%;
    width: 100%;
}

.ma-map-legend {
    position: absolute;
    bottom: 16px;
    left: 16px;
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(6px);
    border-radius: 10px;
    padding: 10px 14px;
    box-shadow: 0 4px 14px rgba(15,23,42,0.12);
    z-index: 500;
    font-size: 12px;
    max-width: 240px;
}
.ma-map-legend strong { display: block; margin-bottom: 6px; color: #0f172a; font-size: 11px; text-transform: uppercase; letter-spacing: 0.4px; }
.ma-legend-item { display: flex; align-items: center; gap: 8px; margin: 3px 0; color: #475569; }
.ma-legend-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }

/* ============== KARTY ============== */
.ma-cards-wrap { display: flex; flex-direction: column; gap: 14px; }
.ma-cards-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 4px 4px 0;
}
.ma-cards-header span {
    font-weight: 600;
    color: #111827;
    font-size: 15px;
}
.ma-sort {
    padding: 8px 32px 8px 12px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    background: #ffffff url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 12 8'><path fill='%236b7280' d='M1 1l5 5 5-5'/></svg>") no-repeat right 10px center;
    background-size: 10px 6px;
    appearance: none;
    -webkit-appearance: none;
    color: #374151;
    font-family: inherit;
}
.ma-sort:focus { outline: none; border-color: #6b7280; }
.ma-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 18px;
}
.ma-view-cards .ma-cards { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.ma-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
}
.ma-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(15,23,42,0.08);
    border-color: #d1d5db;
}
.ma-card-link {
    display: flex;
    flex-direction: column;
    color: inherit;
    text-decoration: none;
    height: 100%;
}
.ma-card-image {
    background-color: #f3f4f6;
    background-size: cover;
    background-position: center;
    aspect-ratio: 16 / 10;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.ma-card-image i { font-size: 56px; opacity: 0.4; }
.ma-card-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(17,24,39,0.78);
    color: #ffffff;
    padding: 3px 7px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    backdrop-filter: blur(6px);
    display: inline-flex;
    align-items: center;
    gap: 3px;
    line-height: 1;
}
.ma-card-badge i { font-size: 9px; }
.ma-badge-live { background: rgba(127,29,29,0.92); }

.ma-card-body {
    padding: 16px 16px 14px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.ma-card-cat {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: transparent;
    color: #6b7280;
    padding: 0;
    border-radius: 0;
    font-size: 11px;
    font-weight: 600;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}
.ma-card-cat i { color: #9ca3af; font-size: 12px; }
.ma-card-title {
    font-size: 17px;
    font-weight: 700;
    color: #111827;
    margin: 0 0 8px;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.ma-card-desc {
    font-size: 14px;
    color: #4b5563;
    line-height: 1.55;
    margin: 0 0 12px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.ma-card-meta-row {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 12px;
}
.ma-card-org, .ma-card-loc {
    font-size: 13px;
    color: #6b7280;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    line-height: 1.3;
}
.ma-card-org i, .ma-card-loc i {
    color: #9ca3af;
    font-size: 13px;
}
.ma-card-foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 12px;
    margin-top: auto;
    border-top: 1px solid #f3f4f6;
}
.ma-card-year {
    background: #f3f4f6;
    color: #4b5563;
    padding: 3px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
}
.ma-card-cost { color: #6b7280; font-size: 14px; }
.ma-card-cost strong { color: #111827; font-weight: 700; }

.ma-empty {
    display: none;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 40px;
    background: #ffffff;
    border-radius: 14px;
    color: #94a3b8;
}
.ma-empty i { font-size: 48px; color: #cbd5e1; }
.ma-empty h4 { margin: 12px 0 6px; color: #475569; }

/* ============== MARKER + CLUSTER — plaskie, czytelne ============== */
.ma-marker-wrap { background: transparent !important; border: none !important; }
.ma-marker {
    width: 32px;
    height: 32px;
    background: var(--c, #374151);
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(15,23,42,0.35), 0 0 0 2px #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.15s;
}
.ma-marker:hover { transform: scale(1.1); }
.ma-marker i {
    color: #ffffff;
    font-size: 14px;
}

.ma-cluster-wrap { background: transparent !important; border: none !important; }
.ma-cluster {
    background: #111827;
    color: #ffffff;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 13px;
    box-shadow: 0 2px 8px rgba(15,23,42,0.35), 0 0 0 2px #ffffff;
}

/* ============== Czarno-biala mapa Leaflet ============== */
.leaflet-tile {
    filter: grayscale(1) contrast(1.08) brightness(1.02);
}
.leaflet-container { background: #f3f4f6; }

/* ============== POPUP ============== */
.leaflet-popup-content-wrapper { border-radius: 14px; padding: 0; box-shadow: 0 12px 32px rgba(15,23,42,0.18); }
.leaflet-popup-content { margin: 0; width: 260px !important; }
.ma-popup-img {
    height: 120px;
    background-size: cover;
    background-position: center;
    border-radius: 14px 14px 0 0;
}
.ma-popup-body { padding: 14px; }
.ma-popup-cat {
    display: inline-block;
    color: #ffffff;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    margin-bottom: 8px;
}
.ma-popup-body h4 { margin: 0 0 6px; font-size: 15px; color: #0f172a; line-height: 1.3; }
.ma-popup-org { font-size: 12px; color: #475569; margin-bottom: 4px; }
.ma-popup-loc { font-size: 12px; color: #64748b; margin-bottom: 8px; display: flex; gap: 4px; align-items: center; }
.ma-popup-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-top: 1px solid #f1f5f9;
    border-bottom: 1px solid #f1f5f9;
    margin-bottom: 10px;
    font-size: 13px;
    color: #64748b;
}
.ma-popup-cta {
    display: block;
    text-align: center;
    background: var(--color-accent-500, #f59e0b);
    color: #ffffff !important;
    padding: 8px;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    font-size: 13px;
}
.ma-popup-cta:hover { background: var(--color-accent-600, #d97706); }

/* ============== CTA ============== */
.microactions-cta { padding: 40px 0 56px; background: #ffffff; }
.ma-cta-box {
    background: linear-gradient(135deg, var(--color-accent-500, #f59e0b) 0%, var(--color-accent-600, #d97706) 100%);
    border-radius: 18px;
    padding: 28px 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    color: #ffffff;
    flex-wrap: wrap;
}
.ma-cta-box h3 { color: #ffffff; margin: 0 0 6px; font-size: 22px; }
.ma-cta-box p { color: rgba(255,255,255,0.92); margin: 0; }
.ma-cta-box .btn-cta-support {
    background: #ffffff;
    color: var(--color-accent-700, #b45309);
}

/* ============== STRONA SZCZEGOLOWA ============== */
.ma-detail-hero {
    background: linear-gradient(135deg, #1e293b, #0f172a);
    background-size: cover;
    background-position: center;
    color: #ffffff;
    padding: 64px 0 56px;
}
.ma-detail-hero h1 {
    color: #ffffff;
    font-size: clamp(26px, 4vw, 40px);
    font-weight: 800;
    margin: 8px 0 12px;
    max-width: 820px;
}
.ma-detail-cat {
    display: inline-flex;
    gap: 6px;
    align-items: center;
    color: #ffffff;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
}
.ma-detail-org { color: rgba(255,255,255,0.92); font-size: 16px; margin: 0 0 14px; }
.ma-detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    color: rgba(255,255,255,0.85);
    font-size: 14px;
}
.ma-detail-meta span { display: inline-flex; align-items: center; gap: 6px; }
.ma-detail-status {
    background: rgba(245,158,11,0.95);
    color: #ffffff !important;
    padding: 4px 10px;
    border-radius: 999px;
    font-weight: 700;
}

.ma-detail-main { padding: 40px 0; background: #f8fafc; }
.ma-detail-lead {
    font-size: 18px;
    color: #334155;
    line-height: 1.6;
    margin-bottom: 24px;
}
.ma-detail-content {
    color: #475569;
    line-height: 1.7;
    font-size: 15px;
}
.ma-detail-content p { margin-bottom: 12px; }

.ma-detail-mapcard {
    background: #ffffff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(15,23,42,0.08);
    margin-bottom: 20px;
}
.ma-detail-mapcard-body { padding: 16px; }
.ma-detail-mapcard-body strong {
    display: block;
    margin-bottom: 8px;
    color: #0f172a;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}
.ma-detail-mapcard-body div { color: #475569; font-size: 14px; margin: 2px 0; }
.ma-detail-direction {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 10px;
    color: var(--color-accent-600, #d97706);
    font-weight: 600;
    text-decoration: none;
    font-size: 13px;
}
.ma-detail-direction:hover { text-decoration: underline; }

.ma-detail-info {
    background: #ffffff;
    border-radius: 14px;
    padding: 18px;
    box-shadow: 0 4px 14px rgba(15,23,42,0.06);
    margin-bottom: 18px;
}
.ma-detail-info h5 {
    margin: 0 0 12px;
    color: #0f172a;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}
.ma-detail-info ul { list-style: none; padding: 0; margin: 0; }
.ma-detail-info li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #f1f5f9;
    font-size: 14px;
}
.ma-detail-info li:last-child { border-bottom: none; }
.ma-detail-info li span { color: #64748b; }
.ma-detail-info li strong { color: #0f172a; text-align: right; }

.ma-detail-back a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--color-accent-600, #d97706);
    font-weight: 600;
    text-decoration: none;
    font-size: 14px;
}
.ma-detail-back a:hover { text-decoration: underline; }

/* ============== Single — video embed w content ============== */
.ma-video-embed {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
    margin: 24px 0;
    border-radius: 12px;
    overflow: hidden;
    background: #111827;
    box-shadow: 0 4px 14px rgba(15,23,42,0.12);
}
.ma-video-embed iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* ============== Single — galeria zdjec ============== */
.ma-gallery-section {
    margin-top: 36px;
    padding-top: 32px;
    border-top: 1px solid #e5e7eb;
}
.ma-gallery-section h2 {
    font-size: 22px;
    color: #111827;
    margin: 0 0 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
}
.ma-gallery-section h2 i { color: #6b7280; font-size: 22px; }
.ma-gallery-count {
    color: #9ca3af;
    font-weight: 500;
    font-size: 16px;
}
.ma-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 10px;
}
.ma-gallery-item {
    position: relative;
    background: #f3f4f6;
    border: none;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 4 / 3;
    padding: 0;
    transition: transform 0.18s, box-shadow 0.18s;
}
.ma-gallery-item:hover {
    transform: scale(1.02);
    box-shadow: 0 6px 16px rgba(15,23,42,0.18);
}
.ma-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.ma-gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 16px 10px 8px;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    color: #ffffff;
    font-size: 12px;
    line-height: 1.3;
    text-align: left;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    pointer-events: none;
}

/* ============== Lightbox ============== */
.ma-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.94);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 60px 80px;
}
.ma-lightbox.open { display: flex; }
.ma-lb-stage {
    max-width: 100%;
    max-height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}
.ma-lb-stage img {
    max-width: 100%;
    max-height: calc(100vh - 160px);
    border-radius: 6px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.6);
    object-fit: contain;
}
.ma-lb-caption {
    color: #e5e7eb;
    font-size: 14px;
    text-align: center;
    max-width: 70ch;
}
.ma-lb-counter {
    color: #9ca3af;
    font-size: 12px;
    letter-spacing: 0.4px;
}
.ma-lb-close, .ma-lb-nav {
    position: absolute;
    background: rgba(255,255,255,0.08);
    border: none;
    color: #ffffff;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: background 0.15s;
    backdrop-filter: blur(6px);
}
.ma-lb-close:hover, .ma-lb-nav:hover { background: rgba(255,255,255,0.18); }
.ma-lb-close { top: 18px; right: 18px; }
.ma-lb-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.ma-lb-next { right: 18px; top: 50%; transform: translateY(-50%); }
@media (max-width: 575px) {
    .ma-lightbox { padding: 50px 12px; }
    .ma-lb-stage img { max-height: calc(100vh - 140px); }
}

.ma-detail-related { background: #ffffff; padding: 40px 0 56px; }
.ma-detail-related h2 {
    font-size: 22px;
    color: #0f172a;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.ma-detail-related h2 i { color: var(--color-accent-500, #f59e0b); }

/* ============== RESPONSIVE ============== */
@media (max-width: 1199px) {
    .ma-filters { grid-template-columns: 1fr 1fr 1fr auto; }
    .ma-filters .ma-search { grid-column: 1 / -1; }
    .ma-filters .ma-view-toggle { grid-column: 4; }
    .ma-filters .ma-reset-btn { grid-column: 1 / -1; justify-self: end; }
}
@media (max-width: 991px) {
    .ma-layout { grid-template-columns: 1fr; }
    .ma-map-wrap { position: static; height: 480px; min-height: 360px; }
    .ma-filters { grid-template-columns: 1fr 1fr; gap: 10px; }
    .ma-filters .ma-search { grid-column: 1 / -1; }
    .ma-filters .ma-view-toggle, .ma-filters .ma-reset-btn { grid-column: auto; }
}
@media (max-width: 575px) {
    .microactions-hero { padding: 36px 0 24px; }
    .ma-filters { grid-template-columns: 1fr; }
    .ma-filters .ma-view-toggle, .ma-filters .ma-reset-btn { grid-column: 1; justify-self: stretch; }
    .ma-cards { grid-template-columns: 1fr; gap: 14px; }
    .ma-cat-pill { font-size: 13px; padding: 6px 12px; }
}
