/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #f5f1ed;
    color: #2d2d2d;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

a { color: #9f0534; text-decoration: none; }
a:hover { color: #b81a45; }

/* ===== HEADER ===== */
.stg-header {
    background: #fff;
    border-bottom: 2px solid #9f0534;
    position: sticky;
    top: 0;
    z-index: 200;
}

.stg-header-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 56px;
}

.stg-logo { display: flex; align-items: center; }
.stg-logo img { height: 28px; }

.stg-nav { display: flex; align-items: center; gap: 24px; }

.stg-nav a {
    color: #444;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s;
}

.stg-nav a:hover { color: #9f0534; }

.stg-cta-btn {
    background: #9f0534;
    color: #fff !important;
    padding: 7px 16px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 13px;
    transition: background 0.2s;
}

.stg-cta-btn:hover { background: #b81a45; }

/* Burger Menu */
.stg-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    z-index: 200;
}

.stg-menu-toggle span {
    width: 22px;
    height: 2px;
    background: #2d2d2d;
    border-radius: 2px;
    transition: all 0.3s;
}

.stg-menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.stg-menu-toggle.active span:nth-child(2) { opacity: 0; }
.stg-menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile Nav */
.stg-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 149;
}

.stg-overlay.active { display: block; }

.stg-mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100%;
    background: #fff;
    z-index: 150;
    padding: 70px 24px 24px;
    flex-direction: column;
    gap: 0;
    transition: right 0.3s;
    box-shadow: -4px 0 20px rgba(0,0,0,0.15);
}

.stg-mobile-menu.active { right: 0; }

.stg-mobile-menu a {
    color: #2d2d2d;
    font-size: 15px;
    font-weight: 500;
    padding: 14px 0;
    border-bottom: 1px solid #eee;
    text-decoration: none;
}

.stg-mobile-menu a:hover { color: #9f0534; }

.stg-cta-mobile {
    background: #9f0534;
    color: #fff !important;
    padding: 12px;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    margin-top: 12px;
    border-bottom: none !important;
}

/* ===== BREADCRUMB ===== */
.stg-breadcrumb {
    background: #f5f1ed;
    border-bottom: 1px solid #e2dbd4;
    padding: 10px 0;
    font-size: 13px;
}

.stg-breadcrumb-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    color: #888;
}

.stg-breadcrumb-wrap a { color: #9f0534; }
.stg-breadcrumb-wrap span { margin: 0 6px; color: #aaa; }

/* ===== PAGE TITLE ===== */
.stg-hero {
    background: #f5f1ed;
    padding: 16px 0 12px;
}

.stg-hero-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.stg-hero h1 {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 4px;
}

.stg-hero-sub {
    font-size: 14px;
    color: #777;
    max-width: 720px;
}

/* ===== MAIN LAYOUT ===== */
.stg-layout {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px 40px;
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 28px;
    flex: 1;
}

.stg-feed { min-width: 0; }

/* ===== LISTING CARDS ===== */
.stg-post {
    background: #fff;
    border: 1px solid #ddd6ce;
    border-radius: 10px;
    padding: 16px;
    margin-bottom: 16px;
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 18px;
    transition: border-color 0.2s, box-shadow 0.2s;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.stg-post:hover {
    border-color: #c4bab0;
    box-shadow: 0 4px 16px rgba(0,0,0,0.07);
    color: inherit;
}

.stg-post-thumb { position: relative; }

.stg-post-img {
    width: 100%;
    aspect-ratio: 4 / 4;
    object-fit: cover;
    border-radius: 8px;
    display: block;
}

.stg-time-badge {
    position: absolute;
    bottom: 8px;
    left: 8px;
    background: rgba(0,0,0,0.65);
    color: #ddd;
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 4px;
    backdrop-filter: blur(4px);
}

.stg-dist-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background: rgba(0,0,0,0.6);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 4px;
    backdrop-filter: blur(4px);
}

.stg-post-body {
    display: flex;
    flex-direction: column;
}

.stg-post-title {
    font-size: 17px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 12px;
    line-height: 1.3;
}

.stg-post:hover .stg-post-title { color: #9f0534; }

.stg-post-desc {
    font-size: 13.5px;
    color: #666;
    margin-bottom: 12px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.stg-post-labels {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 12px;
}

.stg-label {
    background: #f6ecf0;
    color: #9f0534;
    font-size: 11px;
    font-weight: 500;
    padding: 3px 10px;
    border-radius: 20px;
    border: 1px solid #ebd0d9;
}

.stg-post-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: auto;
}

.stg-handle {
    font-size: 12px;
    color: #777;
    font-weight: 500;
    margin-left: auto;
}

.stg-msg-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #9f0534;
    color: #fff;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s, transform 0.1s;
    white-space: nowrap;
}

.stg-msg-btn:hover {
    background: #b81a45;
    color: #fff;
    transform: translateY(-1px);
}

/* ===== VIEW ALL BUTTON ===== */
.stg-load-more {
    text-align: center;
    padding: 12px 0 8px;
}

.stg-load-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    color: #9f0534;
    border: 2px solid #9f0534;
    padding: 11px 28px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
}

.stg-load-more-btn:hover {
    background: #9f0534;
    color: #fff;
    transform: translateY(-1px);
}

/* ===== SIDEBAR ===== */
.stg-aside { display: flex; flex-direction: column; gap: 20px; }

.stg-widget {
    background: #fff;
    border: 1px solid #ddd6ce;
    border-radius: 10px;
    padding: 18px;
}

.stg-widget-title {
    font-size: 14px;
    font-weight: 700;
    color: #1a1a1a;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e2dbd4;
}

.stg-widget ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.stg-widget ul li a {
    color: #555;
    font-size: 13.5px;
    text-decoration: none;
    transition: color 0.2s;
}

.stg-widget ul li a:hover { color: #9f0534; }

/* Quick Info */
.stg-facts-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

.stg-fact {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: #555;
}

.stg-fact-dot {
    width: 7px;
    height: 7px;
    background: #9f0534;
    border-radius: 50%;
    flex-shrink: 0;
}

/* ===== INFO SECTION ===== */
.stg-about {
    background: #fff;
    border: 1px solid #ddd6ce;
    border-radius: 10px;
    padding: 28px;
    margin-top: 28px;
}

.stg-about h2 {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.stg-about > p {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
    max-width: 720px;
    line-height: 1.7;
}

.stg-info-block {
    margin-bottom: 24px;
}

.stg-info-block h3 {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 14px;
    padding-left: 12px;
    border-left: 3px solid #9f0534;
}

.stg-info-block > p {
    font-size: 14px;
    color: #666;
    line-height: 1.7;
    max-width: 720px;
}

/* Feature list with icons */
.stg-feature-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.stg-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 11px 0;
    border-bottom: 1px solid #f0ece8;
    font-size: 14px;
    color: #555;
    line-height: 1.5;
}

.stg-feature-item:last-child { border-bottom: none; }

.stg-feature-icon {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f6ecf0;
    border-radius: 8px;
    flex-shrink: 0;
    color: #9f0534;
}

.stg-feature-item strong {
    color: #1a1a1a;
}

/* Steps */
.stg-steps {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.stg-step {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 0;
    border-bottom: 1px solid #f0ece8;
    font-size: 14px;
    color: #555;
}

.stg-step:last-child { border-bottom: none; }

.stg-step p { margin: 0; line-height: 1.5; }

.stg-step-num {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #9f0534;
    color: #fff;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 700;
    flex-shrink: 0;
}

/* Safety box */
.stg-safety-box {
    background: #f5f1ed;
    border: 1px solid #e2dbd4;
    border-radius: 8px;
    padding: 16px 18px;
    margin-top: 4px;
}

.stg-safety-box strong {
    display: block;
    font-size: 13px;
    color: #9f0534;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.stg-safety-box p {
    font-size: 13px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.stg-safety-box a { color: #9f0534; }

/* ===== STATE PAGE ===== */
.stg-state-container {
    display: block;
    width: 100%;
    max-width: 1200px;
}

.stg-state-heading {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 20px;
}

.stg-state-heading h1 {
    font-size: 22px;
}

.stg-state-sub {
    font-size: 14px;
    color: #777;
    line-height: 1.6;
}

.stg-search-box {
    margin-bottom: 16px;
}

.stg-search-field {
    width: 100%;
    padding: 12px 16px;
    font-size: 14px;
    font-family: inherit;
    border: 1px solid #ddd6ce;
    border-radius: 8px;
    background: #fff;
    color: #2d2d2d;
    outline: none;
    transition: border-color 0.2s;
}

.stg-search-field:focus {
    border-color: #9f0534;
}

.stg-search-field::placeholder {
    color: #aaa;
}

.stg-city-section {
    grid-column: 1 / -1;
    width: 100%;
}

.stg-city-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    min-width: 100%;
}

.stg-city-tile {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    border: 1px solid #ddd6ce;
    padding: 14px 16px;
    border-radius: 10px;
    transition: all 0.2s ease;
    text-decoration: none;
    color: inherit;
}

.stg-city-tile:hover {
    border-color: #cfa0b3;
    box-shadow: 0 4px 16px rgba(139, 26, 74, 0.08);
    transform: translateY(-1px);
}

.stg-city-tile:hover .stg-city-name {
    color: #9f0534;
}

.stg-city-tile:hover .stg-city-arrow {
    opacity: 1;
    transform: translateX(2px);
}

.stg-city-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f6ecf0;
    border-radius: 8px;
    flex-shrink: 0;
}

.stg-city-icon svg {
    width: 18px;
    height: 18px;
    color: #9f0534;
}

.stg-city-name {
    font-size: 14px;
    font-weight: 600;
    color: #2d2d2d;
    flex: 1;
    transition: color 0.2s;
}

.stg-city-arrow {
    font-size: 18px;
    color: #9f0534;
    opacity: 0;
    transition: all 0.2s;
    flex-shrink: 0;
}

/* ===== FOOTER ===== */
.stg-footer {
    background: #fff;
    color: #555;
    border-top: 2px solid #9f0534;
    padding: 40px 0 0;
    margin-top: auto;
}

.stg-footer-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.stg-footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 32px;
    padding-bottom: 28px;
    border-bottom: 1px solid #ddd6ce;
}

.stg-footer-title {
    font-size: 15px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 16px;
}

.stg-footer-desc {
    font-size: 13px;
    color: #777;
    line-height: 1.6;
}

.stg-footer-block ul { list-style: none; }

.stg-footer-block ul li { margin-bottom: 10px; }

.stg-footer-block ul li a {
    color: #666;
    font-size: 13px;
    text-decoration: none;
    transition: color 0.2s;
}

.stg-footer-block ul li a:hover { color: #9f0534; }

.stg-footer-base {
    padding: 20px 0;
    text-align: center;
}

.stg-copyright {
    font-size: 12px;
    color: #999;
    margin-bottom: 8px;
}

.stg-legal-note {
    font-size: 11px;
    color: #aaa;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.5;
}

/* ===== STATIC PAGES ===== */
.stg-static-wrap {
    display: block;
    max-width: 800px;
}

.stg-static-card {
    background: #fff;
    border: 1px solid #ddd6ce;
    border-radius: 10px;
    padding: 32px;
}

.stg-static-card h1 {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.stg-static-card h2 {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
    margin-top: 24px;
    margin-bottom: 10px;
}

.stg-static-card p {
    font-size: 14px;
    color: #555;
    margin-bottom: 14px;
    line-height: 1.7;
}

.stg-static-card a { color: #9f0534; }
.stg-static-card a:hover { text-decoration: underline; }

.stg-static-card ul, .stg-static-card ol {
    margin-bottom: 14px;
    padding-left: 20px;
}

.stg-static-card li {
    font-size: 14px;
    color: #555;
    margin-bottom: 6px;
    line-height: 1.6;
}

.stg-static-cta {
    text-align: center;
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid #eeebe6;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .stg-nav { display: none; }
    .stg-menu-toggle { display: flex; }
    .stg-mobile-menu { display: flex; }

    .stg-layout {
        grid-template-columns: 1fr;
        padding: 16px 16px 32px;
    }

    .stg-aside { order: 2; }
    .stg-feed { order: 1; }

    .stg-footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }

    .stg-city-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 600px) {
    .stg-post {
        grid-template-columns: 110px 1fr;
        gap: 12px;
        padding: 12px;
    }

    .stg-post-thumb { align-self: stretch; }

    .stg-post-img {
        aspect-ratio: auto;
        height: 100%;
        min-height: 140px;
    }

    .stg-post-title { font-size: 15px; margin-bottom: 8px; }
    .stg-post-desc { font-size: 12.5px; -webkit-line-clamp: 3; }
    .stg-post-labels { margin-bottom: 8px; }

    .stg-post-actions {
        flex-wrap: wrap;
        gap: 6px;
    }

    .stg-msg-btn {
        padding: 6px 12px;
        font-size: 12px;
    }

    .stg-hero h1 { font-size: 20px; }

    .stg-footer-grid { grid-template-columns: 1fr; }

    .stg-facts-grid { grid-template-columns: 1fr 1fr; }

    .stg-static-card { padding: 20px; }

    .stg-city-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .stg-city-tile {
        padding: 12px 14px;
    }

    .stg-city-icon {
        width: 28px;
        height: 28px;
        border-radius: 6px;
    }

    .stg-city-icon svg {
        width: 15px;
        height: 15px;
    }

    .stg-city-name { font-size: 13px; }
    .stg-city-arrow { opacity: 1; }
}
