/**
 * Saints Page Styles
 * Enhanced styling for the saints browsing and filtering experience
 */

/* ==========================================================================
   Hero Section
   ========================================================================== */

.saints-hero {
    background: linear-gradient(135deg, rgba(44, 85, 48, 0.85) 0%, rgba(74, 124, 89, 0.8) 50%, rgba(107, 142, 35, 0.85) 100%),
                url('../images/hiberniae-patroni.jpg') center center / cover no-repeat;
    padding: 80px 0;
    color: #ffffff !important;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.saints-hero * {
    color: #ffffff !important;
}

.saints-hero-title,
.saints-hero-subtitle,
.saints-hero-stats,
.saints-hero-stats .stat-number,
.saints-hero-stats .stat-label {
    color: #ffffff !important;
}

.saints-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 5v50M5 30h50' stroke='%23fff' stroke-opacity='0.05' stroke-width='2'/%3E%3C/svg%3E");
    pointer-events: none;
}

.saints-hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.saints-hero-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.saints-hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.95;
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.saints-hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}

.saints-hero-stats .stat-item {
    text-align: center;
}

.saints-hero-stats .stat-number {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 8px;
}

.saints-hero-stats .stat-label {
    font-size: 1rem;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ==========================================================================
   A-Z Navigation
   ========================================================================== */

.saints-az-nav {
    background: #f8f9fa;
    padding: 15px 0;
    border-bottom: 1px solid #e1e8ed;
    position: sticky;
    top: 0;
    z-index: 100;
}

.az-nav-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

.az-label {
    font-weight: 600;
    color: #5a6c7d;
    font-size: 0.9rem;
}

.az-letters {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    justify-content: center;
}

.az-letter {
    width: 32px;
    height: 32px;
    border: 1px solid #e1e8ed;
    border-radius: 4px;
    background: white;
    color: #5a6c7d;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.az-letter:hover {
    background: #2c5530;
    color: white;
    border-color: #2c5530;
}

.az-letter.active {
    background: #2c5530;
    color: white;
    border-color: #2c5530;
}

/* ==========================================================================
   Featured Saints Section
   ========================================================================== */

.featured-saints-section {
    padding: 60px 0;
    background: white;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2.5rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #7f8c8d;
    max-width: 600px;
    margin: 0 auto;
}

.featured-saints-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.saint-card {
    background: white;
    border: 2px solid #e1e8ed;
    border-radius: 12px;
    padding: 25px;
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

.saint-card:hover {
    border-color: #2c5530;
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(44, 85, 48, 0.15);
}

.saint-card.selected {
    border-color: #2c5530;
    background: #f8fdf8;
    box-shadow: 0 4px 15px rgba(44, 85, 48, 0.2);
}

.saint-card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #2c5530, #4a7c59);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.saint-initials {
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
}

.saint-card-content {
    flex: 1;
}

.saint-card-name {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 10px;
}

.saint-card-meta {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 15px;
}

.saint-card-meta .site-count {
    font-weight: 600;
    color: #2c5530;
}

.saint-card-meta .county-list {
    font-size: 0.85rem;
    color: #7f8c8d;
}

.saint-card-actions {
    display: flex;
    gap: 10px;
    margin-top: auto;
}

.saint-select-btn,
.saint-map-btn {
    flex: 1;
    padding: 10px 15px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.saint-select-btn {
    background: #2c5530;
    color: white;
    border: none;
}

.saint-select-btn:hover {
    background: #1e3d22;
}

.saint-map-btn {
    background: white;
    color: #2c5530;
    border: 2px solid #2c5530;
}

.saint-map-btn:hover {
    background: #f8fdf8;
}

.show-all-saints {
    text-align: center;
}

.show-all-btn {
    background: transparent;
    border: 2px solid #2c5530;
    color: #2c5530;
    padding: 15px 40px;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.show-all-btn:hover {
    background: #2c5530;
    color: white;
}

.show-all-btn .arrow {
    margin-left: 10px;
    display: inline-block;
    transition: transform 0.3s ease;
}

/* ==========================================================================
   Filters Section
   ========================================================================== */

.saints-filters-section {
    background: #f8f9fa;
    padding: 60px 0;
}

.filters-wrapper {
    max-width: 1000px;
    margin: 0 auto;
}

.dual-filters {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 30px;
}

.filter-column {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.filter-column-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 20px;
    text-align: center;
}

.saint-search-wrapper {
    position: relative;
    margin-bottom: 15px;
}

.saint-search-input {
    width: 100%;
    padding: 12px 45px 12px 15px;
    border: 2px solid #e1e8ed;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.2s ease;
}

.saint-search-input:focus {
    outline: none;
    border-color: #2c5530;
}

.saint-search-wrapper .search-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #7f8c8d;
}

.saint-dropdown-wrapper,
.location-dropdown-wrapper {
    margin-bottom: 20px;
}

.saints-filter-select,
.county-filter-select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e1e8ed;
    border-radius: 8px;
    font-size: 1rem;
    background: white;
    cursor: pointer;
    transition: border-color 0.2s ease;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%235a6c7d' stroke-width='2'%3E%3Cpolyline points='6,9 12,15 18,9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 20px;
    padding-right: 45px;
}

.saints-filter-select:focus,
.county-filter-select:focus {
    outline: none;
    border-color: #2c5530;
}

.selected-saint-display {
    background: #e8f5e9;
    border: 1px solid #c8e6c9;
    border-radius: 8px;
    padding: 12px 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.selected-saint-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.selected-saint-name {
    font-weight: 600;
    color: #2c5530;
}

.selected-saint-count {
    font-size: 0.85rem;
    color: #5a6c7d;
}

.clear-saint-btn {
    background: transparent;
    border: none;
    color: #e74c3c;
    font-weight: 600;
    cursor: pointer;
    padding: 5px 10px;
}

.clear-saint-btn:hover {
    text-decoration: underline;
}

.province-buttons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.province-btn {
    padding: 10px 15px;
    border: 2px solid #e1e8ed;
    border-radius: 6px;
    background: white;
    color: #5a6c7d;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.province-btn:hover {
    border-color: #2c5530;
    color: #2c5530;
}

.province-btn.active {
    background: #2c5530;
    border-color: #2c5530;
    color: white;
}

.site-type-filter {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
}

.site-type-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.site-type-btn {
    padding: 10px 20px;
    border: 2px solid #e1e8ed;
    border-radius: 25px;
    background: white;
    color: #5a6c7d;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.site-type-btn:hover {
    border-color: #2c5530;
    color: #2c5530;
}

.site-type-btn.active {
    background: #6b8e23;
    border-color: #6b8e23;
    color: white;
}

.active-filters-summary {
    background: white;
    border-radius: 12px;
    padding: 15px 25px;
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.summary-label {
    font-weight: 600;
    color: #5a6c7d;
}

.active-filter-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    flex: 1;
}

.filter-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #e8f5e9;
    color: #2c5530;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.remove-filter-btn {
    background: none;
    border: none;
    color: #e74c3c;
    font-size: 1.2rem;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    margin-left: 4px;
}

.clear-all-filters-btn {
    background: transparent;
    border: 2px solid #e74c3c;
    color: #e74c3c;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.clear-all-filters-btn:hover {
    background: #e74c3c;
    color: white;
}

/* ==========================================================================
   Map Section
   ========================================================================== */

.saints-map-section {
    padding: 60px 0;
    background: white;
}

.map-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 15px;
}

.map-controls {
    display: flex;
    gap: 10px;
}

.map-control-btn {
    padding: 8px 16px;
    border: 2px solid #e1e8ed;
    border-radius: 6px;
    background: white;
    color: #5a6c7d;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.map-control-btn:hover {
    border-color: #2c5530;
    color: #2c5530;
}

.saints-map-container {
    height: 500px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    background: #e9ecef;
    position: relative;
}

.map-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #7f8c8d;
}

.map-error {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #e74c3c;
    text-align: center;
}

.map-legend {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.legend-marker {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.legend-marker.monastic {
    background: #8B4513;
}

.legend-marker.route {
    background: #2E7D32;
}

.legend-marker.christian {
    background: #1565C0;
}

.legend-label {
    font-size: 0.9rem;
    color: #5a6c7d;
}

/* Map Info Window */
.map-info-window {
    max-width: 280px;
    padding: 5px;
}

.map-info-window h4 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.1rem;
    color: #2c5530;
    margin: 0 0 8px 0;
}

.map-info-window .info-county,
.map-info-window .info-saints {
    font-size: 0.85rem;
    color: #5a6c7d;
    margin: 0 0 5px 0;
}

.map-info-window .info-excerpt {
    font-size: 0.9rem;
    color: #333;
    margin: 8px 0;
}

.map-info-window .info-link {
    display: inline-block;
    color: #2c5530;
    font-weight: 600;
    text-decoration: none;
}

.map-info-window .info-link:hover {
    text-decoration: underline;
}

/* ==========================================================================
   Results Section
   ========================================================================== */

.saints-results-section {
    padding: 60px 0;
    background: #f8f9fa;
}

.results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 20px;
}

.results-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.results-count {
    font-size: 1.1rem;
    color: #7f8c8d;
}

.results-count strong {
    color: #2c3e50;
    font-weight: 600;
}

.results-filter-info {
    font-size: 0.9rem;
    color: #95a5a6;
}

.results-controls {
    display: flex;
    align-items: center;
    gap: 20px;
}

.sort-control {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sort-control label {
    font-size: 0.9rem;
    color: #5a6c7d;
}

.sort-select {
    padding: 8px 35px 8px 12px;
    border: 2px solid #e1e8ed;
    border-radius: 6px;
    background: white;
    font-size: 0.9rem;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%235a6c7d' stroke-width='2'%3E%3Cpolyline points='6,9 12,15 18,9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 8px center;
}

.view-toggle {
    display: flex;
    gap: 5px;
}

.view-btn {
    width: 40px;
    height: 40px;
    border: 2px solid #e1e8ed;
    border-radius: 6px;
    background: white;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.view-btn:hover {
    border-color: #2c5530;
}

.view-btn.active {
    background: #2c5530;
    border-color: #2c5530;
    color: white;
}

.view-icon {
    font-size: 1.2rem;
}

/* Results Grid */
.saints-results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 25px;
}

.saints-results-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.saints-results-list .result-card {
    display: flex;
    flex-direction: row;
}

.saints-results-list .result-card-image {
    width: 200px;
    height: auto;
    min-height: 150px;
    flex-shrink: 0;
}

.saints-results-list .result-card-content {
    flex: 1;
}

/* Result Cards */
.result-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #e1e8ed;
}

.result-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.result-card-image {
    height: 180px;
    background: linear-gradient(135deg, #2c5530 0%, #4a7c59 100%);
    position: relative;
    background-size: cover;
    background-position: center;
}

.result-card-type {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(255, 255, 255, 0.95);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #2c3e50;
}

.result-card-content {
    padding: 20px;
}

.result-card-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.3;
}

.result-card-title a {
    color: #2c3e50;
    text-decoration: none;
}

.result-card-title a:hover {
    color: #2c5530;
}

.result-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.result-card-meta span {
    font-size: 0.8rem;
    color: #5a6c7d;
}

.meta-county {
    background: #ecf0f1;
    padding: 3px 10px;
    border-radius: 12px;
}

.meta-saints {
    color: #2c5530 !important;
    font-weight: 500;
}

.result-card-excerpt {
    font-size: 0.9rem;
    color: #7f8c8d;
    line-height: 1.5;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.result-card-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.result-learn-more-btn {
    background: #2c5530;
    color: white;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: background 0.2s ease;
}

.result-learn-more-btn:hover {
    background: #1e3d22;
    color: white;
}

.result-map-btn {
    background: white;
    color: #2c5530;
    border: 2px solid #2c5530;
    padding: 8px 15px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.result-map-btn:hover {
    background: #f8fdf8;
}

/* Loading, Empty, Error States */
.results-loading,
.results-empty,
.results-error {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: #7f8c8d;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #e1e8ed;
    border-top-color: #2c5530;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.results-empty .empty-icon,
.results-error .error-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.clear-filters-btn,
.retry-btn {
    margin-top: 20px;
    padding: 12px 25px;
    border: 2px solid #2c5530;
    border-radius: 6px;
    background: white;
    color: #2c5530;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.clear-filters-btn:hover,
.retry-btn:hover {
    background: #2c5530;
    color: white;
}

/* Pagination */
.results-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 40px;
}

.pagination-btn {
    padding: 12px 25px;
    border: 2px solid #2c5530;
    border-radius: 6px;
    background: white;
    color: #2c5530;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.pagination-btn:hover:not(:disabled) {
    background: #2c5530;
    color: white;
}

.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pagination-info {
    font-size: 0.9rem;
    color: #5a6c7d;
}

/* ==========================================================================
   All Saints Directory
   ========================================================================== */

.all-saints-directory {
    background: white;
    padding: 60px 0;
    border-top: 1px solid #e1e8ed;
}

.all-saints-directory .section-header {
    position: relative;
}

.close-directory-btn {
    position: absolute;
    top: 0;
    right: 0;
    width: 40px;
    height: 40px;
    border: none;
    background: #e74c3c;
    color: white;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    line-height: 1;
}

.close-directory-btn:hover {
    background: #c0392b;
}

.saints-directory-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.saints-letter-group {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
}

.letter-heading {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2rem;
    color: #2c5530;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e1e8ed;
}

.letter-saints-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.directory-saint-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    background: white;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.directory-saint-item:hover {
    background: #e8f5e9;
    transform: translateX(5px);
}

.directory-saint-item .saint-name {
    font-weight: 500;
    color: #2c3e50;
}

.directory-saint-item .saint-count {
    font-size: 0.85rem;
    color: #7f8c8d;
    background: #ecf0f1;
    padding: 3px 10px;
    border-radius: 12px;
}

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

@media (max-width: 992px) {
    .dual-filters {
        grid-template-columns: 1fr;
    }

    .saints-hero-title {
        font-size: 2.5rem;
    }

    .saints-hero-stats {
        gap: 40px;
    }

    .saints-map-container {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .saints-hero {
        padding: 60px 0;
    }

    .saints-hero-title {
        font-size: 2rem;
    }

    .saints-hero-subtitle {
        font-size: 1rem;
    }

    .saints-hero-stats .stat-number {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .featured-saints-grid {
        grid-template-columns: 1fr;
    }

    .results-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .results-controls {
        width: 100%;
        justify-content: space-between;
    }

    .saints-results-grid {
        grid-template-columns: 1fr;
    }

    .saints-results-list .result-card {
        flex-direction: column;
    }

    .saints-results-list .result-card-image {
        width: 100%;
        height: 180px;
    }

    .az-letters {
        gap: 3px;
    }

    .az-letter {
        width: 28px;
        height: 28px;
        font-size: 0.75rem;
    }

    .map-legend {
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .saints-hero-stats {
        gap: 30px;
    }

    .site-type-buttons {
        flex-direction: column;
    }

    .site-type-btn {
        width: 100%;
    }

    .province-buttons {
        grid-template-columns: 1fr;
    }

    .active-filters-summary {
        flex-direction: column;
        align-items: flex-start;
    }

    .results-controls {
        flex-direction: column;
        gap: 15px;
    }

    .sort-control {
        width: 100%;
    }

    .sort-select {
        flex: 1;
    }

    .saints-map-container {
        height: 300px;
    }
}
