/* Cada ficha de restaurante usa el mismo ancho editorial que las demás
   páginas. Los selectores se limitan al contenido y no modifican el header. */
body.single-oj_restaurant main > article,
body.single-oj_restaurant main > .oj-wrap,
body.single-oj_restaurant main > .wp-block-group {
    width: min(1180px, calc(100% - 40px)) !important;
    max-width: 1180px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
}

body.single-oj_restaurant main > article > .entry-content,
body.single-oj_restaurant main > .oj-wrap > .entry-content,
body.single-oj_restaurant .entry-content.wp-block-post-content {
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box !important;
}

body.single-oj_restaurant .oja-restaurant-custom-banner {
    width: 100% !important;
    max-width: none !important;
}

/* El tema aplica un ancho editorial angosto en contenedores intermedios.
   Estas reglas sólo amplían las fichas individuales en escritorio. */
@media (min-width: 900px) {
    body.single-oj_restaurant .wp-site-blocks > .oj-section > .oj-wrap,
    body.single-oj_restaurant .wp-site-blocks > .wp-block-group.oj-section > .wp-block-group.oj-wrap,
    body.single-oj_restaurant .wp-site-blocks main > article,
    body.single-oj_restaurant .wp-site-blocks main .oj-section > .oj-wrap,
    body.single-oj_restaurant .wp-site-blocks main article .entry-content,
    body.single-oj_restaurant .wp-site-blocks main .wp-block-post-content,
    body.single-oj_restaurant .wp-site-blocks main .oja-epic-restaurant-guide,
    body.single-oj_restaurant .wp-site-blocks main .oja-universal-restaurant-guide,
    body.single-oj_restaurant .wp-site-blocks main .oja-leaky-guide {
        width: min(1180px, calc(100vw - 40px)) !important;
        max-width: 1180px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        box-sizing: border-box !important;
    }

    body.single-oj_restaurant .wp-site-blocks main .is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)) {
        max-width: 1180px !important;
    }

    body.single-oj_restaurant .wp-site-blocks > .oj-section > .oj-wrap > .entry-content,
    body.single-oj_restaurant .wp-site-blocks > .wp-block-group.oj-section > .wp-block-group.oj-wrap > .entry-content {
        width: 100% !important;
        max-width: none !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
}

@media (max-width: 620px) {
    body.single-oj_restaurant main > article,
    body.single-oj_restaurant main > .oj-wrap,
    body.single-oj_restaurant main > .wp-block-group {
        width: calc(100% - 28px) !important;
    }
}

.oja-leaky-guide{color:#294b5f;font-size:17px;line-height:1.75}
.oja-leaky-guide>section{margin:0 0 24px;padding:28px;border:1px solid #d3e3ed;border-radius:20px;background:#fff}
.oja-leaky-guide h2,.oja-leaky-guide h3,.oja-leaky-guide h4{color:#063b73;line-height:1.2}
.oja-leaky-guide h2{margin:0 0 14px;font-size:clamp(25px,3vw,34px)}
.oja-leaky-guide h3{margin:24px 0 9px;font-size:22px}
.oja-leaky-guide h4{margin:0 0 7px;font-size:19px}
.oja-leaky-guide p{margin:0 0 15px}.oja-leaky-guide li{margin:0 0 7px}
.oja-leaky-lead{background:linear-gradient(135deg,#eef9ff,#fff7e8)!important;font-size:18px}
.oja-leaky-tip{margin:20px 0 0;padding:18px 20px;border-left:5px solid #ff7a00;border-radius:12px;background:#fff6e7}
.oja-leaky-tip strong{color:#864000}.oja-leaky-tip p{margin:5px 0 0}
.oja-leaky-price{padding:12px 15px;border-radius:12px;background:#f2f7fa}
.oja-leaky-menu,.oja-leaky-planning{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.oja-leaky-menu article,.oja-leaky-planning>div{padding:18px;border:1px solid #d8e6ee;border-radius:15px;background:#f8fbfd}
.oja-leaky-menu p,.oja-leaky-planning p{margin:0}.oja-leaky-menu span{display:block;margin-top:10px;color:#b25400;font-weight:800}
.oja-leaky-planning{grid-template-columns:repeat(3,minmax(0,1fr))}.oja-leaky-planning strong{display:block;margin-bottom:6px;color:#063b73;font-size:18px}
.oja-leaky-summary{background:#063b73!important;color:#fff!important}.oja-leaky-summary h2,.oja-leaky-summary p,.oja-leaky-summary li{color:#fff!important}
@media(max-width:760px){.oja-leaky-guide>section{padding:21px}.oja-leaky-menu,.oja-leaky-planning{grid-template-columns:1fr}}

.oja-universal-restaurant-guide{color:#294b5f;font-size:17px;line-height:1.75}
.oja-universal-restaurant-guide>section{margin:0 0 24px;padding:28px;border:1px solid #d3e3ed;border-radius:20px;background:#fff}
.oja-universal-restaurant-guide h2,.oja-universal-restaurant-guide h3{color:#063b73;line-height:1.2}
.oja-universal-restaurant-guide h2{margin:0 0 14px;font-size:clamp(25px,3vw,34px)}
.oja-universal-restaurant-guide h3{margin:0 0 8px;font-size:20px}
.oja-universal-restaurant-guide p{margin:0 0 15px}.oja-universal-restaurant-guide li{margin-bottom:7px}
.oja-urg-lead{background:linear-gradient(135deg,#eef9ff,#fff7e8)!important;font-size:18px}
.oja-urg-lead>span{display:block;margin-bottom:9px;color:#cf6500;font-size:11px;font-weight:900;letter-spacing:.12em}
.oja-urg-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:18px 0}
.oja-urg-grid article{padding:18px;border:1px solid #d8e6ee;border-radius:15px;background:#f8fbfd}
.oja-urg-grid article p{margin:0}
.oja-urg-note{padding:15px 17px;border-left:5px solid #ff7a00;border-radius:12px;background:#fff6e7}
.oja-urg-verdict{background:#063b73!important}.oja-urg-verdict h2,.oja-urg-verdict p{color:#fff!important}
@media(max-width:700px){.oja-universal-restaurant-guide>section{padding:21px}.oja-urg-grid{grid-template-columns:1fr}}

.oja-epic-restaurant-guide{color:#294b5f;font-size:17px;line-height:1.75}
.oja-epic-restaurant-guide>section{margin:0 0 24px;padding:28px;border:1px solid #d3e3ed;border-radius:20px;background:#fff}
.oja-epic-restaurant-guide h2{margin:0 0 13px;color:#063b73;font-size:clamp(25px,3vw,34px);line-height:1.2}
.oja-epic-restaurant-guide p{margin:0 0 14px}.oja-epic-restaurant-guide li{margin-bottom:7px}
.oja-erg-lead{background:linear-gradient(135deg,#eaf8ff,#fff5e5)!important;font-size:18px}
.oja-erg-lead>span{display:block;margin-bottom:10px;color:#c95e00;font-size:11px;font-weight:900;letter-spacing:.11em}
.oja-erg-facts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:18px}
.oja-erg-facts>div{padding:15px;border-radius:13px;background:#f0f7fa}
.oja-erg-facts b,.oja-erg-facts span{display:block}.oja-erg-facts b{color:#c95e00;font-size:11px;text-transform:uppercase}.oja-erg-facts span{margin-top:4px;color:#063b73;font-weight:800}
.oja-erg-park-link{display:inline-flex;margin:0 0 26px;padding:13px 18px;border-radius:999px;background:#06457f;color:#fff!important;font-weight:850;text-decoration:none!important}
@media(max-width:760px){.oja-epic-restaurant-guide>section{padding:21px}.oja-erg-facts{grid-template-columns:repeat(2,minmax(0,1fr))}}
