/* Estilos para Fichas de Passport Places (Independientes del tema) */

.ppc-wrapper {
    width: 100%;
    margin: 0;
    padding: 0;
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: #1f2937;
    background-color: #f9fafb;
}

/* HERO */
.ppc-hero {
    background-color: #1e40af;
    color: #ffffff;
    padding: 4rem 2rem;
    width: 100%;
    box-sizing: border-box;
}

.ppc-hero-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.ppc-category-label {
    font-size: 0.875rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.ppc-title {
    font-size: 3rem;
    font-weight: 700;
    margin: 0 0 1rem 0;
    color: #ffffff;
    line-height: 1.2;
}

.ppc-short-desc {
    font-size: 1.25rem;
    max-width: 800px;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.ppc-hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.ppc-btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border: 1px solid #ffffff;
    border-radius: 4px;
    color: #ffffff !important;
    text-decoration: none;
    font-weight: 600;
    background: transparent;
    transition: background-color 0.2s, color 0.2s;
}

.ppc-btn:hover {
    background-color: #ffffff;
    color: #1e40af !important;
}

/* CONTENT AREA */
.ppc-content-area {
    padding: 3rem 2rem;
    width: 100%;
    box-sizing: border-box;
}

.ppc-content-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.ppc-grid-2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .ppc-grid-2 {
        grid-template-columns: 1fr 1fr;
    }
}

/* CARDS */
.ppc-card {
    background-color: #ffffff;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0, 0, 0, 0.03);
}

.ppc-card h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 0;
    margin-bottom: 1.5rem;
    color: #111827;
    border-bottom: 2px solid #f3f4f6;
    padding-bottom: 0.5rem;
}

.ppc-card p {
    margin-bottom: 1rem;
}

.ppc-card a {
    color: #1e40af;
    text-decoration: none;
}

.ppc-card a:hover {
    text-decoration: underline;
}

/* TABLE */
.ppc-table {
    width: 100%;
    border-collapse: collapse;
}

.ppc-table td {
    padding: 0.75rem 0;
    border-bottom: 1px solid #f3f4f6;
}

.ppc-table tr:last-child td {
    border-bottom: none;
}

/* ABOUT */
.ppc-about {
    margin-top: 2rem;
}

.ppc-post-content h2, 
.ppc-post-content h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

/* Ocultar elementos sobrantes del tema padre si interfieren */
.site-main > .ppc-wrapper {
    margin-top: -3rem; /* Ajuste para temas con mucho padding superior */
}
