/* =========================================================
   OIKOSIMO SITEMAP PAGE
   ========================================================= */

.oik-sitemap-page {
    --navy: #062f5c;
    --navy-alt: #1d3557;
    --gold: #c99032;
    --border: #e2e8ef;
    --text: #172b43;
    --muted: #687687;
    --white: #ffffff;
    --bg: #f9fafb;
    --card-shadow: 0 1px 3px rgba(6, 47, 92, 0.06), 0 4px 14px rgba(6, 47, 92, 0.04);
}

.oik-sitemap-page__content {
    background: var(--bg);
    padding-top: 0;
    padding-bottom: clamp(40px, 5vw, 64px);
}

.oik-sitemap-page__inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: clamp(32px, 4vw, 48px) 15px 0;
}

/* Header */

.oik-sitemap-page__header {
    text-align: center;
    margin-bottom: clamp(28px, 4vw, 40px);
}

.oik-sitemap-page__ornament {
    display: flex;
    justify-content: center;
    margin-bottom: 18px;
}

.oik-sitemap-page__ornament span {
    display: block;
    width: 10px;
    height: 10px;
    background: var(--gold);
    transform: rotate(45deg);
}

.oik-sitemap-page__title {
    margin: 0 0 12px;
    color: var(--navy);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(28px, 3vw, 38px);
    font-weight: 600;
    letter-spacing: 0.06em;
    line-height: 1.15;
    text-transform: uppercase;
}

.oik-sitemap-page__subtitle {
    margin: 0 auto;
    max-width: 560px;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.55;
}

/* Grid */

.oik-sitemap-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 20px;
}

.oik-sitemap-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-height: 168px;
    padding: 22px 16px 20px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 8px;
    box-shadow: var(--card-shadow);
    color: inherit;
    text-decoration: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.oik-sitemap-card:hover,
.oik-sitemap-card:focus {
    color: inherit;
    text-decoration: none;
    border-color: rgba(201, 144, 50, 0.45);
    box-shadow: 0 4px 18px rgba(6, 47, 92, 0.1);
    transform: translateY(-2px);
}

.oik-sitemap-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-bottom: 14px;
    color: var(--navy-alt);
    font-size: 22px;
    line-height: 1;
}

.oik-sitemap-card__title {
    margin: 0 0 8px;
    color: var(--navy);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;
}

.oik-sitemap-card__desc {
    margin: 0;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.45;
}

/* Account bar */

.oik-sitemap-account {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 22px 24px;
    background: #eef1f4;
    border: 1px solid #e2e6eb;
    border-radius: 8px;
}

.oik-sitemap-account__main {
    display: flex;
    align-items: center;
    gap: 18px;
    min-width: 0;
}

.oik-sitemap-account__avatar {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--navy);
    color: var(--white);
    font-size: 22px;
}

.oik-sitemap-account__copy {
    min-width: 0;
}

.oik-sitemap-account__title {
    margin: 0 0 4px;
    color: var(--navy);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.3;
}

.oik-sitemap-account__desc {
    margin: 0;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.45;
}

.oik-sitemap-account__btn {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 22px;
    background: var(--white);
    border: 1px solid var(--gold);
    border-radius: 4px;
    color: var(--navy);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.2s ease, color 0.2s ease;
}

.oik-sitemap-account__btn:hover,
.oik-sitemap-account__btn:focus {
    background: var(--gold);
    color: var(--white);
    text-decoration: none;
}

/* Responsive */

@media (max-width: 1199px) {
    .oik-sitemap-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .oik-sitemap-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .oik-sitemap-account {
        flex-direction: column;
        align-items: stretch;
        text-align: left;
    }

    .oik-sitemap-account__btn {
        width: 100%;
    }
}

@media (max-width: 479px) {
    .oik-sitemap-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .oik-sitemap-card {
        min-height: 0;
    }
}
