/* =========================================
   OPOSICIONES PAGE
   ========================================= */

/* Hero */
.opos-hero {
    background: linear-gradient(135deg, #1e3a8a 0%, #003f5a 50%, #005275 100%);
    color: white;
    text-align: center;
    padding: 5rem 0 4rem;
    position: relative;
    overflow: hidden;
}

.opos-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 70%, rgba(255,255,255,0.05) 0%, transparent 50%),
                radial-gradient(circle at 70% 30%, rgba(255,255,255,0.08) 0%, transparent 40%);
    animation: heroShimmer 15s ease-in-out infinite alternate;
}

@keyframes heroShimmer {
    0% { transform: translate(0, 0); }
    100% { transform: translate(-5%, 5%); }
}

.opos-hero .container { position: relative; z-index: 1; }

.opos-hero-badge {
    display: inline-block;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.3);
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
}

.opos-hero h1 {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.opos-hero > .container > p {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 650px;
    margin: 0 auto 2.5rem;
    line-height: 1.6;
}

.opos-hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1;
}

.stat-label {
    font-size: 0.85rem;
    opacity: 0.8;
    margin-top: 0.3rem;
    font-weight: 500;
}

/* Sections */
.opos-section {
    padding: 5rem 0;
}

.opos-section-alt {
    background-color: #f8fafc;
}

.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #dff0f7, #eef7fb);
    border-radius: 14px;
    font-size: 1.4rem;
    color: #003f5a;
    margin-bottom: 1rem;
}

.section-header h2 {
    font-size: 2rem;
    color: #1e293b;
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.section-header p {
    color: #64748b;
    font-size: 1.05rem;
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.6;
}

/* =========================================
   TIMELINE (Process)
   ========================================= */
.process-timeline {
    max-width: 850px;
    margin: 0 auto;
}

.timeline-item {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
}

.timeline-marker {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #003f5a, #1e40af);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.2rem;
    box-shadow: 0 4px 12px rgba(0, 63, 90, 0.3);
    position: relative;
}

.timeline-item:first-child .timeline-marker::after {
    content: '';
    position: absolute;
    top: 48px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: calc(100% + 3rem);
    background: linear-gradient(to bottom, #003f5a, #dff0f7);
}

.timeline-content {
    flex: 1;
}

.timeline-content h3 {
    font-size: 1.4rem;
    color: #1e293b;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.badge-weight {
    background: #dff0f7;
    color: #1e40af;
    padding: 0.2rem 0.7rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.sub-phases {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.sub-phase h4 {
    font-size: 1.05rem;
    color: #334155;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.sub-phase h4 i {
    color: #003f5a;
}

.phase-parts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.part-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.25rem;
    transition: box-shadow 0.3s;
}

.part-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.part-label {
    display: inline-block;
    background: #f1f5f9;
    color: #475569;
    padding: 0.15rem 0.6rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.part-card p {
    color: #475569;
    font-size: 0.9rem;
    line-height: 1.55;
}

/* Baremo grid */
.baremo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 1rem;
}

.baremo-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.5rem;
    transition: transform 0.3s, box-shadow 0.3s;
}

.baremo-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.baremo-header {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.75rem;
}

.baremo-header i {
    color: #003f5a;
    font-size: 1.1rem;
}

.baremo-header h4 {
    font-size: 0.95rem;
    color: #1e293b;
}

.baremo-card p {
    color: #64748b;
    font-size: 0.85rem;
    line-height: 1.5;
}

.baremo-note {
    background: #eef7fb;
    border-left: 3px solid #003f5a;
    padding: 0.8rem 1.2rem;
    border-radius: 0 8px 8px 0;
    font-size: 0.9rem;
    color: #334155;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.baremo-note i {
    color: #003f5a;
    flex-shrink: 0;
}

/* =========================================
   ESPECIALIDADES
   ========================================= */
.especialidades-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2rem;
}

.especialidad-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    border: 1px solid #e2e8f0;
    transition: transform 0.3s, box-shadow 0.3s;
}

.especialidad-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.especialidad-header {
    padding: 1.75rem;
    color: white;
    position: relative;
}

.especialidad-header.infantil {
    background: linear-gradient(135deg, #7c3aed, #a855f7);
}

.especialidad-header.primaria {
    background: linear-gradient(135deg, #005275, #007099);
}

.especialidad-header.pt {
    background: linear-gradient(135deg, #059669, #10b981);
}

.especialidad-icon {
    width: 44px;
    height: 44px;
    background: rgba(255,255,255,0.2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    backdrop-filter: blur(10px);
}

.especialidad-header h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.especialidad-meta {
    font-size: 0.8rem;
    opacity: 0.85;
}

.especialidad-body {
    padding: 1.75rem;
}

.temario-highlights {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.temario-item {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-size: 0.9rem;
    color: #475569;
    line-height: 1.45;
}

.temario-item i {
    color: #94a3b8;
    margin-top: 3px;
    flex-shrink: 0;
    font-size: 0.85rem;
}

.lomloe-alert {
    background: #fef3c7;
    border: 1px solid #fbbf24;
    border-radius: 10px;
    padding: 1rem;
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    font-size: 0.85rem;
    color: #92400e;
    line-height: 1.5;
}

.lomloe-alert i {
    color: #f59e0b;
    margin-top: 2px;
    flex-shrink: 0;
}

.lomloe-alert-pt {
    background: #fef2f2;
    border-color: #fca5a5;
    color: #991b1b;
}

.lomloe-alert-pt i {
    color: #ef4444;
}

/* =========================================
   CCAA GRID
   ========================================= */
.ccaa-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 1.5rem;
}

.ccaa-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    transition: transform 0.3s, box-shadow 0.3s;
}

.ccaa-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.ccaa-featured {
    border: 2px solid #003f5a;
    box-shadow: 0 4px 15px rgba(0, 63, 90, 0.12);
}

.ccaa-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem 1.5rem 0;
}

.ccaa-rank {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #003f5a, #1e40af);
    color: white;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.ccaa-featured .ccaa-rank {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.ccaa-info h3 {
    font-size: 1.2rem;
    color: #1e293b;
    line-height: 1.2;
}

.ccaa-total {
    font-size: 0.85rem;
    color: #003f5a;
    font-weight: 700;
}

.ccaa-body {
    padding: 1.5rem;
}

.plazas-breakdown {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}

.plaza-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0.75rem;
    background: #f8fafc;
    border-radius: 8px;
    font-size: 0.9rem;
}

.plaza-item.plaza-highlight {
    background: #eef7fb;
    border: 1px solid #bfdbfe;
}

.plaza-especialidad {
    color: #475569;
}

.plaza-num {
    font-weight: 700;
    color: #1e293b;
}

.plaza-num small {
    font-weight: 400;
    color: #94a3b8;
    font-size: 0.75rem;
}

.ccaa-dates {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.date-item {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-size: 0.85rem;
    color: #475569;
}

.date-item i {
    color: #94a3b8;
    margin-top: 2px;
}

.date-open i {
    color: #10b981;
}

.date-open {
    color: #065f46;
    font-weight: 500;
}

.ccaa-insight {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 10px;
    padding: 0.85rem;
    font-size: 0.83rem;
    color: #166534;
    display: flex;
    gap: 0.6rem;
    align-items: flex-start;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.ccaa-insight i {
    color: #22c55e;
    flex-shrink: 0;
    margin-top: 2px;
}

.ccaa-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: #003f5a;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s;
}

.ccaa-link:hover {
    color: #1e40af;
    text-decoration: underline;
}

/* =========================================
   PROBABILITY TABLE
   ========================================= */
.prob-calculator {
    max-width: 650px;
    margin: 0 auto;
}

.prob-table {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    border: 1px solid #e2e8f0;
}

.prob-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    padding: 1rem 1.5rem;
    align-items: center;
    border-bottom: 1px solid #f1f5f9;
    font-size: 0.95rem;
}

.prob-row:last-child {
    border-bottom: none;
}

.prob-header-row {
    background: #f8fafc;
    font-weight: 600;
    color: #475569;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.prob-highlight-row {
    background: #eef7fb;
}

.prob-temas {
    font-weight: 600;
    color: #1e293b;
}

.prob-pct {
    font-weight: 700;
    font-size: 1.1rem;
    color: #1e293b;
}

.prob-level {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-align: center;
}

.prob-low { background: #fef2f2; color: #dc2626; }
.prob-medium { background: #fefce8; color: #ca8a04; }
.prob-good { background: #eef7fb; color: #003f5a; }
.prob-high { background: #f0fdf4; color: #16a34a; }
.prob-excellent { background: #ecfdf5; color: #059669; }

.prob-note {
    text-align: center;
    font-size: 0.8rem;
    color: #94a3b8;
    margin-top: 1rem;
    line-height: 1.5;
}

/* =========================================
   CTA SECTION
   ========================================= */
.opos-cta {
    background: linear-gradient(135deg, #1e3a8a 0%, #003f5a 100%);
    color: white;
    text-align: center;
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.opos-cta::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: rgba(255,255,255,0.03);
    border-radius: 50%;
    top: -100px;
    right: -100px;
}

.opos-cta h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.opos-cta p {
    font-size: 1.05rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    max-width: 550px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-cta-primary {
    background: white;
    color: #1e40af;
    padding: 0.9rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

.btn-cta-secondary {
    background: transparent;
    color: white;
    padding: 0.9rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    border: 2px solid rgba(255,255,255,0.4);
    transition: background 0.2s, border-color 0.2s;
}

.btn-cta-secondary:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.7);
}

/* =========================================
   CCAA CARD LINKS (index grid)
   ========================================= */
.ccaa-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.ccaa-card-arrow {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #003f5a;
    font-weight: 600;
    font-size: 0.88rem;
    padding-top: 0.75rem;
    border-top: 1px solid #f1f5f9;
}

.ccaa-card-arrow i {
    transition: transform 0.2s;
}

.ccaa-card-link:hover .ccaa-card-arrow i {
    transform: translateX(4px);
}

/* =========================================
   CCAA INDIVIDUAL PAGE
   ========================================= */
.ccaa-breadcrumb {
    background: #f8fafc;
    padding: 0.75rem 0;
    border-bottom: 1px solid #e2e8f0;
}

.ccaa-breadcrumb a {
    color: #003f5a;
    font-size: 0.88rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: color 0.2s;
}

.ccaa-breadcrumb a:hover {
    color: #1e40af;
}

.ccaa-page-hero {
    background: linear-gradient(135deg, #1e3a8a 0%, #003f5a 50%, #005275 100%);
    color: white;
    text-align: center;
    padding: 4rem 0 3.5rem;
}

.ccaa-page-rank {
    display: inline-block;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.3);
    padding: 0.3rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.ccaa-page-hero h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.ccaa-page-hero > .container > p {
    opacity: 0.85;
    margin-bottom: 2rem;
}

.ccaa-page-total {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255,255,255,0.12);
    padding: 1.25rem 2.5rem;
    border-radius: 16px;
    backdrop-filter: blur(10px);
}

.ccaa-page-total-num {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
}

.ccaa-page-total-label {
    font-size: 0.85rem;
    opacity: 0.8;
    margin-top: 0.25rem;
}

/* Detail grid */
.ccaa-detail-grid {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 2rem;
    align-items: start;
}

.ccaa-detail-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 1.5rem;
}

.ccaa-detail-card h2 {
    font-size: 1.2rem;
    color: #1e293b;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.ccaa-detail-card h2 i {
    color: #003f5a;
}

.ccaa-description {
    color: #475569;
    line-height: 1.7;
    font-size: 0.95rem;
}

.ccaa-plazas-detail {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.ccaa-plaza-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.25rem;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #f1f5f9;
}

.ccaa-plaza-highlight {
    background: #eef7fb;
    border-color: #bfdbfe;
}

.ccaa-plaza-name {
    font-weight: 600;
    color: #1e293b;
}

.ccaa-plaza-detail {
    display: block;
    font-size: 0.8rem;
    color: #94a3b8;
    margin-top: 0.15rem;
}

.ccaa-plaza-number {
    font-size: 1.5rem;
    font-weight: 800;
    color: #003f5a;
}

.ccaa-strategy-card {
    background: linear-gradient(135deg, #fefce8, #fffbeb);
    border-color: #fde68a;
}

.ccaa-strategy-card h2 i {
    color: #d97706;
}

.ccaa-strategy-card p {
    color: #78350f;
    line-height: 1.7;
    font-size: 0.93rem;
}

/* Sidebar cards */
.ccaa-sidebar-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 1.5rem;
    margin-bottom: 1rem;
}

.ccaa-sidebar-card h3 {
    font-size: 1rem;
    color: #1e293b;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.ccaa-sidebar-card h3 i {
    color: #003f5a;
}

.ccaa-dates-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.ccaa-date-row {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-size: 0.88rem;
    color: #475569;
    line-height: 1.4;
}

.ccaa-date-row i {
    color: #94a3b8;
    margin-top: 2px;
    flex-shrink: 0;
}

.ccaa-date-open {
    color: #065f46;
    font-weight: 500;
}

.ccaa-date-open i {
    color: #10b981;
}

.ccaa-insight-card {
    background: #f0fdf4;
    border-color: #bbf7d0;
}

.ccaa-insight-card h3 i {
    color: #22c55e;
}

.ccaa-insight-card p {
    color: #166534;
    font-size: 0.88rem;
    line-height: 1.6;
}

.ccaa-official-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: #003f5a;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.6rem;
    border-radius: 10px;
    transition: background 0.2s;
}

.ccaa-official-link:hover {
    background: #eef7fb;
}

.ccaa-sidebar-cta {
    background: linear-gradient(135deg, #eef7fb, #dff0f7);
    border-color: #7ec8e0;
    text-align: center;
}

.ccaa-sidebar-cta h3 {
    justify-content: center;
    color: #1e40af;
}

.ccaa-sidebar-cta p {
    color: #1e40af;
    font-size: 0.85rem;
    margin-bottom: 1rem;
    opacity: 0.8;
}

.btn-sidebar-cta {
    display: inline-block;
    background: #003f5a;
    color: white;
    padding: 0.65rem 1.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    transition: background 0.2s, transform 0.15s;
}

.btn-sidebar-cta:hover {
    background: #002d42;
    transform: translateY(-1px);
}

/* Other communities grid */
.ccaa-other-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
}

.ccaa-other-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1rem 1.25rem;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s, box-shadow 0.2s;
}

.ccaa-other-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.ccaa-other-rank {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #003f5a, #1e40af);
    color: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.8rem;
    flex-shrink: 0;
}

.ccaa-other-card div {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.ccaa-other-card strong {
    font-size: 0.95rem;
    color: #1e293b;
}

.ccaa-other-card span {
    font-size: 0.8rem;
    color: #003f5a;
    font-weight: 600;
}

.ccaa-other-card i {
    color: #94a3b8;
    transition: transform 0.2s;
}

.ccaa-other-card:hover i {
    transform: translateX(3px);
    color: #003f5a;
}

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 768px) {
    .opos-hero h1 {
        font-size: 1.8rem;
    }

    .opos-hero-stats {
        gap: 1.5rem;
    }

    .stat-number {
        font-size: 1.6rem;
    }

    .phase-parts {
        grid-template-columns: 1fr;
    }

    .baremo-grid {
        grid-template-columns: 1fr;
    }

    .timeline-item {
        flex-direction: column;
        gap: 1rem;
    }

    .timeline-item:first-child .timeline-marker::after {
        display: none;
    }

    .especialidades-grid {
        grid-template-columns: 1fr;
    }

    .ccaa-grid {
        grid-template-columns: 1fr;
    }

    .prob-row {
        padding: 0.75rem 1rem;
        font-size: 0.85rem;
    }

    .prob-pct {
        font-size: 0.95rem;
    }

    .section-header h2 {
        font-size: 1.5rem;
    }

    .ccaa-page-hero h1 {
        font-size: 1.8rem;
    }

    .ccaa-detail-grid {
        grid-template-columns: 1fr;
    }

    .ccaa-other-grid {
        grid-template-columns: 1fr;
    }
}
