/* Editorial guides: styles apply only to opted-in acquisition pages. */
.seo-guide {
    max-width: 1120px;
    padding-top: 1.5rem;
}

.seo-guide h1 {
    font-size: clamp(1.8rem, 3.2vw, 2.5rem);
}

.seo-guide .breadcrumb a {
    color: var(--primary-color);
}

.seo-guide .guide-table-hint {
    display: none;
}

.seo-guide .guide-lead {
    max-width: 780px;
    font-size: 1.1rem;
}

.seo-guide .guide-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: 1.25rem 0;
}

.seo-guide .guide-reviewed {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.seo-guide .guide-toc {
    margin: 1.5rem 0 2rem;
    padding: 1rem 1.25rem;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
}

.seo-guide .guide-toc ul {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.5rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.seo-guide .guide-toc a {
    display: inline-block;
    padding: 0.25rem 0;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.seo-guide section[id],
.seo-guide .guide-card[id] {
    scroll-margin-top: 6rem;
}

.seo-guide .guide-form {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(140px, 1fr) auto;
    gap: 1rem;
    align-items: end;
    padding: 1.25rem;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
}

.seo-guide .guide-form label {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.seo-guide .guide-form input,
.seo-guide .guide-form select {
    width: 100%;
    min-width: 0;
    padding: 0.75rem;
    font: inherit;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
}

.seo-guide .guide-form input:focus-visible,
.seo-guide .guide-form select:focus-visible,
.seo-guide .guide-form button:focus-visible {
    outline: 3px solid var(--primary-color);
    outline-offset: 3px;
}

.seo-guide .guide-table--hours {
    min-width: 0;
}

.centro-guide .barrio-hero-overlay {
    background: rgba(20, 38, 97, 0.72);
}

.centro-guide .barrio-hero h1,
.centro-guide .barrio-subtitulo {
    color: #fff;
}

.seo-guide .guide-table-wrap {
    max-width: 100%;
    overflow-x: auto;
    margin: 1rem 0;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
}

.seo-guide .guide-table {
    width: 100%;
    min-width: 680px;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.seo-guide .guide-table caption {
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    color: var(--text-primary);
}

.seo-guide .guide-table th,
.seo-guide .guide-table td {
    padding: 1rem;
    text-align: left;
    vertical-align: top;
    border-top: 1px solid var(--border-color);
}

.seo-guide .guide-table thead {
    background: var(--bg-tertiary);
}

.seo-guide .guide-table th {
    color: var(--text-primary);
}

.seo-guide .guide-table a,
.seo-guide .guide-sources a {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.seo-guide .guide-note {
    padding: 1rem 1.25rem;
    border-left: 3px solid var(--primary-color);
    background: var(--info-light);
    border-radius: 0 var(--border-radius-sm) var(--border-radius-sm) 0;
}

.seo-guide .guide-note p:last-child {
    margin-bottom: 0;
}

.seo-guide .guide-steps,
.seo-guide .guide-list {
    padding-left: 1.5rem;
    margin: 1rem 0;
}

.seo-guide .guide-steps li,
.seo-guide .guide-list li {
    padding-left: 0.25rem;
    margin-bottom: 0.75rem;
}

.seo-guide .guide-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.seo-guide .guide-cards--destinations,
.seo-guide .guide-cards--parkings {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.seo-guide .guide-card {
    padding: 1.25rem;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
}

.seo-guide .guide-card h3,
.seo-guide .faq-item h3 {
    font-size: 1.15rem;
    line-height: 1.4;
}

.seo-guide .guide-card p:last-child {
    margin-bottom: 0;
}

.seo-guide a:focus-visible,
.seo-guide .guide-table-wrap:focus-visible {
    outline: 3px solid var(--primary-color);
    outline-offset: 4px;
}

@media (max-width: 600px) {
    .seo-guide .guide-form,
    .seo-guide .guide-cards--destinations,
    .seo-guide .guide-cards--parkings {
        grid-template-columns: 1fr;
    }

    .seo-guide .guide-table-hint {
        display: block;
        font-size: 0.875rem;
        color: var(--text-secondary);
    }

    .seo-guide .guide-cards {
        grid-template-columns: 1fr;
    }

    .seo-guide .guide-toc ul {
        display: grid;
        gap: 0.5rem;
    }

    .seo-guide .guide-actions {
        flex-direction: column;
    }

    .seo-guide .guide-actions .btn + .btn {
        margin-top: 0;
    }

    .seo-guide .guide-table th,
    .seo-guide .guide-table td {
        padding: 0.75rem;
    }

    .seo-guide .content-section h2 {
        font-size: 1.5rem;
    }
}
