/*
Theme Name: Mexus Legal Child
Description: Tema hijo editable para la migración de Mexus Legal en un entorno de pruebas.
Author: Mexus Legal
Template: oceanwp
Version: 0.2.7
Requires at least: 6.6
Requires PHP: 8.2
Text Domain: mexus-legal-child
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

/* The presentation lives in assets/site.css; content is edited in WordPress. */
.mexus-content .wp-block-group.wrap{max-width:1440px}
.mexus-content>.wp-block-group{margin-top:0;margin-bottom:0}
.mexus-content .wp-block-heading{font-family:var(--sans)}
.mexus-content .wp-block-columns{margin-bottom:0}
.mexus-content .wp-block-button__link{border-radius:0;background:var(--red)}
.mexus-body .menu-item{list-style:none;margin:0;padding:0}
.mexus-body .nav ul{display:contents;margin:0;padding:0}
.mexus-body .nav a{display:inline-block}
.mexus-body h1,.mexus-body h2,.mexus-body h3{font-family:var(--sans);color:var(--ink)}
.mexus-body .hero h1 em{font-style:normal;font-weight:450}
.mexus-body .hero{margin-top:0}
.mexus-body [hidden]{display:none!important}
/* OceanWP defines heading/link/form colors directly; preserve the approved dark sections. */
.mexus-body .hero h1,.mexus-body .specialty h2,.mexus-body .specialty h3,.mexus-body .international h2,.mexus-body .contact h2,.mexus-body .contact h3{color:#fff}
.mexus-body a:hover,.mexus-body a:focus{color:inherit}
.mexus-body .nav a:hover,.mexus-body .nav a.active,.mexus-body .nav .current-menu-item>a{color:var(--red)}
.mexus-body .btn{display:inline-flex;font-family:var(--sans);background:var(--red);color:#fff;font-size:11px;font-weight:600;text-transform:none;padding:15px 23px;border:1px solid transparent;letter-spacing:.03em;line-height:1.65}
.mexus-body .btn:hover,.mexus-body .btn:focus{background:#b5162a;color:#fff}
.mexus-body .specialty-copy .btn,.mexus-body .specialty-copy .btn:hover,.mexus-body .specialty-copy .btn:focus{background:#fff;color:var(--deep)}
.mexus-body .contact-fields .field input[type=text],.mexus-body .contact-fields .field input[type=email],.mexus-body .contact-fields .field textarea,.mexus-body .contact-fields .field select{font-family:var(--sans);font-size:12px;line-height:1.65;color:#fff;background:#123745;border:1px solid #66808a;border-radius:0;padding:10px 12px;min-height:44px}
.mexus-body .contact-fields .field textarea{min-height:88px}
.mexus-body .contact-fields .field select{padding-top:10px!important;padding-bottom:10px!important;height:auto}
.mexus-body .contact-fields .field label{margin:0}
.mexus-body .contact-fields .field input[type=checkbox]{appearance:auto;-webkit-appearance:checkbox;display:inline-block;width:16px;min-width:16px;height:16px;min-height:16px;padding:0;margin:0 8px 0 0;box-shadow:none;accent-color:var(--red);vertical-align:middle}
.mexus-body .contact-fields .field input[type=checkbox]:checked:before{content:none}
.mexus-body button:focus-visible,.mexus-body .contact-fields input:focus-visible,.mexus-body .contact-fields textarea:focus-visible,.mexus-body .contact-fields select:focus-visible{outline:3px solid var(--red);outline-offset:6px}
.mexus-body .contact-fields input:focus:invalid,.mexus-body .contact-fields textarea:focus:invalid,.mexus-body .contact-fields select:focus:invalid{color:#fff;border-color:var(--red)}
.mexus-body.admin-bar .header{top:32px}
@media(max-width:782px){.mexus-body.admin-bar .header{top:46px}}
@media(max-width:560px){.mexus-body .btn{padding:13px 17px;font-size:10px}}
/* Classic Group blocks add an inner container around their editable children. */
.mexus-body .full-page-hero>.wp-block-group__inner-container>p:not(.eyebrow):not(.small-print){max-width:940px;font-size:clamp(18px,1.7vw,23px);line-height:1.65;color:var(--muted)}
.mexus-body .rich-section>.wp-block-group__inner-container>h2{font-size:clamp(29px,3.3vw,45px);max-width:920px;margin:0 0 28px}
.mexus-body .rich-section>.wp-block-group__inner-container>h3{font-size:23px;max-width:960px;margin:36px 0 14px}
.mexus-body .rich-section>.wp-block-group__inner-container>p,.mexus-body .rich-section>.wp-block-group__inner-container>ul{font-size:18px;line-height:1.75;max-width:960px;color:var(--muted);margin-bottom:22px}
.mexus-body .rich-card-grid:has(>.wp-block-group__inner-container){display:block}
.mexus-body .rich-card-grid>.wp-block-group__inner-container{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:34px}
.mexus-body .rich-note>.wp-block-group__inner-container>p{overflow-wrap:anywhere}
.mexus-body .article-section>.wp-block-group__inner-container>p,.mexus-body .article-section>.wp-block-group__inner-container>ul{max-width:840px}
.mexus-body .rich-section>.wp-block-group__inner-container>.small-print,.mexus-body .full-page-hero>.wp-block-group__inner-container>.small-print{font-size:13px;line-height:1.65}
@media(max-width:850px){.mexus-body .rich-card-grid>.wp-block-group__inner-container{grid-template-columns:1fr;gap:25px}.mexus-body .rich-section>.wp-block-group__inner-container>p,.mexus-body .rich-section>.wp-block-group__inner-container>ul{font-size:17px}}
@media(max-width:560px){.mexus-body .rich-section>.wp-block-group__inner-container>h2{font-size:29px}.mexus-body .rich-section>.wp-block-group__inner-container>h3{font-size:21px}.mexus-body .full-page-hero>.wp-block-group__inner-container>p:not(.eyebrow):not(.small-print){font-size:18px}}
.mexus-honeypot{position:absolute!important;left:-9999px!important;width:1px;height:1px;overflow:hidden}
.mexus-form-notice{grid-column:1/-1;padding:14px;border:1px solid var(--line)}
.mexus-post-index{padding-top:70px;padding-bottom:70px}
.mexus-post-index article{padding:30px 0;border-bottom:1px solid var(--line)}
.mexus-post-index h2{font-size:36px;margin-bottom:20px}
.mexus-credit{font-size:11px;line-height:1.7;color:var(--muted);margin-top:20px}
