/* ===== Guide-specific overrides =====
   The guide pages share the main app's `css/style.css` for the shell
   (sidebar, header, content padding). Anything here is scoped to the
   guide article so it doesn't bleed into the rest of the app. */

.guide-shell {
    --paper: #f3eee6;
    --paper-2: rgba(243, 238, 230, 0.64);
    --paper-3: rgba(243, 238, 230, 0.40);
    --paper-4: rgba(243, 238, 230, 0.18);
    --rule: rgba(243, 238, 230, 0.08);
    --rule-strong: rgba(243, 238, 230, 0.16);
    --violet: #9F4FFF;
    --magenta: #FF3DA5;
    position: relative;
    color: var(--paper);
}

.guide-shell .mesh {
    position: absolute; inset: 0; pointer-events: none; z-index: 0;
    background:
        radial-gradient(ellipse 60% 50% at 18% 8%, rgba(159, 79, 255, 0.22), transparent 60%),
        radial-gradient(ellipse 50% 40% at 92% 16%, rgba(255, 61, 165, 0.18), transparent 60%);
    filter: blur(40px);
}

/* ===== Article header (city name + kicker) ===== */
.guide-shell .guide-header {
    position: relative; z-index: 1;
    text-align: center;
    padding: 1rem 1rem 2.5rem;
    margin: 0 auto 1rem;
    max-width: 760px;
    border-bottom: 1px solid var(--rule);
}
.guide-shell .guide-header h1 {
    font-size: 2.6rem;
    margin: 0 0 0.4rem;
    letter-spacing: -0.02em;
    font-weight: 800;
    background: linear-gradient(135deg, var(--violet), var(--magenta));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.guide-shell .guide-header p.kicker {
    color: var(--paper-2);
    font-style: italic;
    margin: 0;
    font-size: 1.05rem;
}

/* ===== Listing page (cards) ===== */
.guide-shell .guides-grid {
    position: relative; z-index: 1;
    max-width: 760px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 12px;
}
.guide-shell .guide-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid var(--rule);
    border-radius: 14px;
    color: var(--paper);
    text-decoration: none;
    transition: border-color 0.18s, background 0.18s, transform 0.18s;
    animation: guideFadeUp 0.5s cubic-bezier(0.4, 0, 0.2, 1) both;
}
.guide-shell .guide-card:hover {
    border-color: var(--rule-strong);
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-1px);
    color: var(--paper);
}
@keyframes guideFadeUp {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}
.guide-shell .guide-glyph {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--violet), var(--magenta));
    display: grid; place-items: center;
    font-size: 18px;
    color: var(--paper);
    flex-shrink: 0;
}
.guide-shell .guide-card .title {
    font-size: 16px;
    font-weight: 700;
    color: var(--paper);
}
.guide-shell .guide-card .meta {
    font-size: 12px;
    color: var(--paper-3);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-top: 2px;
}
.guide-shell .guide-card .arrow {
    margin-left: auto;
    color: var(--paper-3);
    font-size: 18px;
    transition: color 0.18s, transform 0.18s;
}
.guide-shell .guide-card:hover .arrow { color: var(--violet); transform: translateX(2px); }

.guide-shell .empty {
    position: relative; z-index: 1;
    text-align: center;
    padding: 80px 20px;
}
.guide-shell .empty .glyph {
    font-size: 48px;
    color: var(--paper-4);
    margin-bottom: 12px;
}
.guide-shell .empty h2 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 6px;
}
.guide-shell .empty p {
    font-size: 14px;
    color: var(--paper-2);
}

/* ===== Article body ===== */
.guide-article {
    position: relative; z-index: 1;
    max-width: 760px;
    margin: 0 auto;
    padding: 0 0 2rem;
    line-height: 1.65;
}
.guide-article h2 {
    font-size: 1.7rem;
    border-bottom: 1px solid var(--rule-strong);
    padding-bottom: 0.4rem;
    margin-top: 2.8rem;
    color: var(--paper);
    font-weight: 700;
}
.guide-article h3 {
    font-size: 1.2rem;
    margin-top: 1.8rem;
    color: var(--violet);
    font-weight: 700;
}
.guide-article p { margin: 0.8rem 0; color: var(--paper-2); }
.guide-article strong { color: var(--paper); }
.guide-article em { color: var(--paper); font-style: italic; }
.guide-article a { color: var(--violet); text-decoration: none; }
.guide-article a:hover { color: var(--magenta); text-decoration: underline; }
.guide-article .lede {
    font-size: 1.15rem;
    color: var(--paper);
    font-style: italic;
    border-left: 3px solid var(--violet);
    padding: 0.4rem 0 0.4rem 1rem;
    margin: 1.2rem 0 2rem;
}
.guide-article .callout {
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid var(--rule);
    border-left: 4px solid var(--violet);
    padding: 1rem 1.2rem;
    margin: 1.5rem 0;
    border-radius: 8px;
    color: var(--paper);
}
.guide-article .callout strong { color: var(--violet); }
.guide-article .toc {
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid var(--rule);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    margin-bottom: 2rem;
}
.guide-article .toc > strong { color: var(--paper); display: block; margin-bottom: 0.4rem; }
.guide-article .toc ul { margin: 0.4rem 0 0; padding-left: 1.2rem; }
.guide-article .toc li { margin: 0.3rem 0; color: var(--paper-2); }
.guide-article ul.clean { padding-left: 1.3rem; }
.guide-article ul.clean li { margin: 0.4rem 0; color: var(--paper-2); }
.guide-article ul.clean li strong { color: var(--paper); }

.guide-article-foot {
    position: relative; z-index: 1;
    text-align: center;
    color: var(--paper-3);
    font-size: 0.9rem;
    padding: 2rem 1rem 0;
    margin-top: 2rem;
    border-top: 1px solid var(--rule);
}
