/* ============================================================
   Cocosenor Sitemap Page Styles
   Brand colors: Blue #189FFF | Orange #f28a30 | Dark #24323b
   ============================================================ */

/* --- Hero Banner --- */
#sitemap-hero {
    background: linear-gradient(135deg, #1a3a5c 0%, #189FFF 60%, #1ec8ff 100%);
    padding: 72px 0 56px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

#sitemap-hero::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -80px;
    width: 340px;
    height: 340px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.07);
    pointer-events: none;
}

#sitemap-hero::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: -60px;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    pointer-events: none;
}

#sitemap-hero h1 {
    font-size: 42px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 1px;
    margin-bottom: 14px;
    line-height: 1.2;
    font-family: 'Roboto', sans-serif;
}

#sitemap-hero p {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.88);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
}

/* --- sitemap icon badge --- */
.sitemap-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 32px;
    padding: 6px 20px;
    color: #fff;
    font-size: 13px;
    letter-spacing: 0.5px;
    margin-bottom: 22px;
    backdrop-filter: blur(4px);
}

.sitemap-hero-badge::before {
    content: '🗺';
    font-size: 15px;
}

/* --- Main Sitemap Body --- */
#sitemap-body {
    background: #f4f7fd;
    padding: 56px 0 72px;
}

/* --- Section Card --- */
.sm-card {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 4px 18px rgba(24, 159, 255, 0.09), 0 1px 4px rgba(0, 0, 0, 0.05);
    padding: 28px 28px 22px;
    margin-bottom: 28px;
    transition: transform 0.22s ease, box-shadow 0.22s ease;
    display: flex;
    flex-direction: column;
}

.sm-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 36px rgba(24, 159, 255, 0.16), 0 2px 8px rgba(0, 0, 0, 0.07);
}

/* --- Card Header --- */
.sm-card-header {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 2px solid #eef3fb;
}

.sm-card-header .sm-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

/* Icon color themes per card type */
.sm-icon-general {
    background: linear-gradient(135deg, #189FFF 0%, #1ec8ff 100%);
}

.sm-icon-password {
    background: linear-gradient(135deg, #f28a30 0%, #ffb347 100%);
}

.sm-icon-backup {
    background: linear-gradient(135deg, #22c55e 0%, #4ade80 100%);
}

.sm-icon-unlock {
    background: linear-gradient(135deg, #a855f7 0%, #c084fc 100%);
}

.sm-icon-more {
    background: linear-gradient(135deg, #0ea5e9 0%, #38bdf8 100%);
}

.sm-icon-articles {
    background: linear-gradient(135deg, #f43f5e 0%, #fb7185 100%);
}

.sm-card-header h2 {
    font-size: 16px;
    font-weight: 700;
    color: #1a2c42;
    margin: 0;
    letter-spacing: 0.2px;
    font-family: 'Roboto', sans-serif;
}

/* --- Link Pills --- */
.sm-links {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.sm-links li {
    list-style: none;
}

.sm-links li a {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13.5px;
    color: #3a78b5;
    background: #eef6ff;
    border: 1px solid #c2ddf7;
    transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.15s ease;
    font-family: 'Roboto', sans-serif;
    line-height: 1.4;
    white-space: nowrap;
}

.sm-links li a:hover {
    background: #189FFF;
    color: #fff;
    border-color: #189FFF;
    transform: translateY(-2px);
    text-decoration: none;
}

/* Accent pill for articles section */
.sm-card.articles-card .sm-links li a {
    background: #fff4f6;
    border-color: #fbc5d0;
    color: #b0335b;
}

.sm-card.articles-card .sm-links li a:hover {
    background: #f43f5e;
    color: #fff;
    border-color: #f43f5e;
}

/* Accent for more tools */
.sm-card.more-card .sm-links li a {
    background: #f0faff;
    border-color: #b0dff7;
    color: #0369a1;
}

.sm-card.more-card .sm-links li a:hover {
    background: #0ea5e9;
    color: #fff;
    border-color: #0ea5e9;
}

/* --- Grid Layout --- */
.sm-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.sm-grid .sm-card.wide-2 {
    grid-column: span 2;
}

.sm-grid .sm-card.wide-3 {
    grid-column: span 3;
}

/* --- Divider --- */
.sm-section-divider {
    text-align: center;
    margin: 8px 0 32px;
    position: relative;
}

.sm-section-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #dde8f5;
}

.sm-section-divider span {
    position: relative;
    background: #f4f7fd;
    padding: 0 18px;
    color: #8eaac8;
    font-size: 13px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-weight: 600;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .sm-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .sm-grid .sm-card.wide-2,
    .sm-grid .sm-card.wide-3 {
        grid-column: span 2;
    }
}

@media (max-width: 640px) {
    #sitemap-hero {
        padding: 48px 16px 40px;
    }

    #sitemap-hero h1 {
        font-size: 28px;
    }

    #sitemap-body {
        padding: 36px 0 48px;
    }

    .sm-grid {
        grid-template-columns: 1fr;
    }

    .sm-grid .sm-card.wide-2,
    .sm-grid .sm-card.wide-3 {
        grid-column: span 1;
    }

    .sm-card {
        padding: 22px 18px 18px;
    }

    .sm-links li a {
        font-size: 13px;
        padding: 5px 12px;
    }
}