/* ── Sitemap page template ─────────────────────────────────── */

/* ── Mini hero ─────────────────────────────────────────────── */
.sitemap-hero {
    background-color: #000;
    background-image: url('../dist/images/bg-dot.svg');
    background-position: 0 0;
    background-repeat: repeat;
    padding: 150px 0 80px;
    position: relative;
}
.sitemap-hero::before {
    content: '';
    display: block;
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0,0,0,.9) 2.67%, transparent 41.82%, rgba(0,0,0,.9) 87.78%);
    z-index: 0;
}
.sitemap-hero__inner {
    position: relative;
    z-index: 1;
    width: min(1200px, 100%);
    margin: 0 auto;
    padding: 0 clamp(20px, 5vw, 64px);
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.sitemap-hero__breadcrumb {
    display: flex;
    align-items: center;
    color: #fff;
    font-family: 'Titillium Web', sans-serif;
    font-size: 12px;
    font-weight: 400;
    text-transform: uppercase;
}
.sitemap-hero__breadcrumb a {
    color: #fff;
    font-weight: 700;
    text-decoration: none;
}
.sitemap-hero__breadcrumb a:hover { color: #ff1514; }
.sitemap-hero__title {
    font-family: 'Gruppo', sans-serif;
    font-size: clamp(40px, 5.56vw, 80px);
    font-weight: 700;
    line-height: 1.05;
    color: #fff;
    text-shadow: 0 0 20px #ff1514;
    margin: 0;
}

/* ── Page body ─────────────────────────────────────────────── */
.sitemap-page {
    padding-bottom: 80px;
}
.sitemap-wrap {
    width: min(1200px, 100%);
    margin: 0 auto;
    padding: 64px clamp(20px, 5vw, 64px) 0;
}

/* ── Section ───────────────────────────────────────────────── */
.sitemap-section {
    margin-bottom: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid #e8e8e8;
}
.sitemap-section:last-child {
    border-bottom: none;
}
.sitemap-section__heading {
    font-family: 'Gruppo', sans-serif;
    font-size: 1.5rem;
    font-weight: 400;
    color: #1c1c1c;
    margin: 0 0 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #ff1514;
    display: inline-block;
}

/* ── Group (posts by category) ─────────────────────────────── */
.sitemap-group {
    margin-bottom: 24px;
}
.sitemap-group__heading {
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #a7a7a7;
    margin: 0 0 10px;
}

/* ── List ──────────────────────────────────────────────────── */
.sitemap-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.sitemap-list li {
    line-height: 1.4;
}
.sitemap-list a {
    font-size: .92rem;
    color: #1c1c1c;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color .15s;
}
.sitemap-list a::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-right: 2px solid #ff1514;
    border-bottom: 2px solid #ff1514;
    transform: rotate(-45deg);
    flex-shrink: 0;
}
.sitemap-list a:hover {
    color: #ff1514;
}

/* ── 3-column layout: Pages | Locations | Blog ─────────────── */
.sitemap-columns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0 48px;
    align-items: start;
}

.sitemap-columns .sitemap-section {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

@media (max-width: 900px) {
    .sitemap-columns {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 32px;
    }
}

@media (max-width: 540px) {
    .sitemap-columns {
        grid-template-columns: 1fr;
        gap: 40px 0;
    }
}

/* ── Child page indentation ────────────────────────────────── */
.sitemap__child--depth-1 { padding-left: 20px; }
.sitemap__child--depth-2 { padding-left: 40px; }
.sitemap__child--depth-3 { padding-left: 60px; }
.sitemap__child--depth-4 { padding-left: 80px; }

.sitemap__child .sitemap-list a::before {
    width: 5px;
    height: 5px;
    border-color: #c8c8c8;
}

@media (max-width: 480px) {
    .sitemap__child--depth-1 { padding-left: 14px; }
    .sitemap__child--depth-2 { padding-left: 28px; }
    .sitemap__child--depth-3 { padding-left: 42px; }
    .sitemap__child--depth-4 { padding-left: 56px; }
}
