/* ═══════════════════════════════════════════════════════════
   ELEMENTS — Guide Detail (Deep Guide page, modello Google)
   ═══════════════════════════════════════════════════════════ */

/* ── Lucide icons (sostituzione emoji) ──────────────────── */
.guide-icon {
    width: 16px;
    height: 16px;
    vertical-align: middle;
    margin-right: 4px;
    stroke: var(--color-accent, #8B6E23);
}
.guide-section-heading .guide-icon {
    margin-right: 8px;
}

.guide-detail-main {
    padding: 48px 0 96px;
    background: #FFFFFF;
}

.guide-breadcrumb {
    font-size: 14px;
    color: var(--color-muted, #888);
    margin-bottom: 24px;
}

.guide-breadcrumb a {
    color: var(--color-accent, #8B6E23);
    text-decoration: none;
}

.guide-breadcrumb a:hover {
    text-decoration: underline;
}

.guide-breadcrumb-sep {
    margin: 0 8px;
}

.guide-breadcrumb-current {
    color: var(--color-text, #1a1a1a);
}

.guide-header {
    margin-bottom: 32px;
}

.guide-title {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 700;
    color: var(--color-text, #1a1a1a);
    line-height: 1.2;
    margin: 0 0 8px;
}

.guide-subtitle {
    font-family: var(--font-serif-body);
    font-size: 18px;
    font-weight: 500;
    color: var(--color-muted, #666);
    line-height: 1.5;
    margin: 0;
}

.guide-intro {
    margin-bottom: 40px;
    max-width: 720px;
}

.guide-intro p {
    font-size: 16px;
    line-height: 1.65;
    color: var(--color-text, #1a1a1a);
    margin: 0;
}

/* ── Section headings (ristoranti: Dove Mangiare / Colazione) ─ */
.guide-section-heading {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 700;
    color: var(--color-text, #1a1a1a);
    margin: 48px 0 24px;
    padding-top: 24px;
    border-top: 1px solid var(--color-border, #e8e4dc);
}

.guide-section-heading:first-of-type {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

/* ── Grid 2x2 desktop, 1x1 mobile ────────────────────────── */
.guide-items-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin: 48px 0;
}

@media (max-width: 768px) {
    .guide-items-grid {
        grid-template-columns: 1fr;
    }
}

/* ── Scheda item (minimal, no immagine) ──────────────────── */
.guide-item-card {
    background: var(--bg-card, #fff);
    border: 1px solid var(--border-light, #e8e0d4);
    border-radius: 12px;
    padding: 24px;
    transition: box-shadow 0.2s;
}

.guide-item-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.item-name {
    font-family: 'Lora', serif;
    font-size: 1.15rem;
    font-weight: 600;
    margin: 0 0 12px;
    color: var(--color-text, #1a1a1a);
}

.item-details {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 12px;
}

.item-details p {
    font-size: 0.85rem;
    color: var(--color-muted, #666);
    display: flex;
    align-items: flex-start;
    gap: 6px;
    margin: 0;
}

.item-icon {
    width: 14px;
    height: 14px;
    stroke: var(--color-ocra, #C49A3C);
    flex-shrink: 0;
    margin-top: 2px;
}

.item-tip {
    font-size: 0.85rem;
    color: var(--color-ocra, #C49A3C);
    border-left: 2px solid var(--color-ocra, #C49A3C);
    padding-left: 12px;
    margin: 12px 0;
    display: flex;
    align-items: flex-start;
    gap: 6px;
}

.tip-icon {
    flex-shrink: 0;
    margin-top: 2px;
}

.item-maps-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: var(--color-ocra, #C49A3C);
    text-decoration: none;
    padding: 6px 12px;
    border: 1px solid var(--color-ocra, #C49A3C);
    border-radius: 6px;
    transition: background 0.2s, color 0.2s;
    margin-top: 4px;
}

.item-maps-btn:hover {
    background: var(--color-ocra, #C49A3C);
    color: #fff;
}

.item-phone a {
    color: var(--color-muted, #666);
    text-decoration: none;
}

.item-phone a:hover {
    color: var(--color-ocra, #C49A3C);
}

.guide-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 48px;
    color: var(--color-muted, #888);
}

/* ── See also (internal links) ──────────────────────────── */
.guide-see-also {
    margin-top: 16px !important;
    font-size: 15px;
}
.guide-see-also a {
    color: var(--color-accent, #8B6E23);
    text-decoration: none;
}
.guide-see-also a:hover {
    text-decoration: underline;
}

/* ── FAQ ────────────────────────────────────────────────── */
.guide-faq {
    margin-top: 48px;
}
.guide-faq h2 {
    font-family: var(--font-serif-body);
    font-size: 1.5rem;
    margin-bottom: 16px;
    color: var(--color-text, #1a1a1a);
}
.faq-item {
    border-bottom: 1px solid var(--color-border, #e8e4dc);
    padding: 12px 0;
}
.faq-item summary {
    cursor: pointer;
    font-weight: 500;
    list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before {
    content: '→ ';
    color: var(--color-accent, #8B6E23);
}
.faq-item[open] summary::before {
    content: '↓ ';
}
.faq-item p {
    margin-top: 8px;
    padding-left: 1.2em;
    color: var(--color-muted, #666);
    font-size: 0.95rem;
}

/* ── CTA Footer ────────────────────────────────────────── */
.guide-cta-footer {
    background: #1a1a1a;
    color: #fff;
    padding: 40px;
    border-radius: 8px;
    text-align: center;
    margin: 48px 0;
}

.guide-cta-footer h3 {
    font-size: 1.4rem;
    margin: 0 0 12px;
}

.guide-cta-footer .cta-text {
    margin: 0 0 20px;
    font-size: 0.95rem;
    opacity: 0.9;
}

.btn-cta {
    display: inline-block;
    padding: 14px 32px;
    background: #8B6E23;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: background 0.2s;
}

.btn-cta:hover {
    background: #6B5118;
}

/* ── Back Nav (sopra footer) ─────────────────────────────── */
.guide-back-nav {
    text-align: center;
    padding: 24px 0;
    border-top: 1px solid var(--color-border, #e8e4dc);
    background: #fdfdfd;
}

.guide-back-link {
    font-size: 0.9rem;
    color: var(--color-muted, #666);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s;
}

.guide-back-link:hover {
    color: var(--color-accent, #8B6E23);
}

.guide-back-link .guide-icon {
    margin-right: 4px;
}

@media (max-width: 768px) {
    .guide-title { font-size: 24px; }
    .guide-subtitle { font-size: 16px; }
}

/* ── Guide Events ─────────────────────────────────────────────── */

.guide-events {
    margin-top: 48px;
}

.events-list {
    list-style: none;
    padding: 0;
    margin: 20px 0 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.event-card {
    display: flex;
    gap: 20px;
    background: var(--color-surface, #fff);
    border: 1px solid var(--color-border, #e5e7eb);
    border-radius: 10px;
    padding: 18px 20px;
    align-items: flex-start;
}

.event-date-badge {
    flex-shrink: 0;
    width: 52px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--color-accent, #8B6E23);
    color: #fff;
    border-radius: 8px;
    padding: 8px 4px;
    text-align: center;
    line-height: 1;
}

.event-day {
    font-size: 22px;
    font-weight: 700;
}

.event-month {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-top: 2px;
}

.event-info {
    flex: 1;
    min-width: 0;
}

.event-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--color-text, #111827);
    margin: 0 0 6px;
    line-height: 1.3;
}

.event-venue {
    font-size: 13px;
    color: var(--color-muted, #666);
    margin: 0 0 4px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.event-venue .guide-icon {
    width: 13px;
    height: 13px;
    flex-shrink: 0;
}

.event-dates {
    font-size: 13px;
    color: var(--color-muted, #666);
    margin: 0 0 6px;
}

.event-desc {
    font-size: 14px;
    color: var(--color-text-secondary, #374151);
    margin: 0 0 8px;
    line-height: 1.5;
}

.event-source-link {
    font-size: 13px;
    color: var(--color-accent, #8B6E23);
    text-decoration: none;
    font-weight: 500;
}

.event-source-link:hover {
    text-decoration: underline;
}

@media (max-width: 600px) {
    .event-card {
        flex-direction: column;
        gap: 12px;
    }
    .event-date-badge {
        flex-direction: row;
        width: auto;
        gap: 6px;
        padding: 6px 12px;
        border-radius: 20px;
    }
    .event-day { font-size: 16px; }
    .event-month { font-size: 13px; margin-top: 0; }
}
