.grm-container{width:min(1180px,92%);margin:0 auto}.grm-page-banner{background:#12405F;background-size:cover;background-position:center;color:#fff;padding:64px 0 48px;margin:0 0 36px}.grm-page-banner span{font-size:12px;letter-spacing:2px;font-weight:700;color:#A8CF3A}.grm-page-banner h2{font-size:clamp(30px,4vw,44px);line-height:1.15;margin:12px 0;color:#fff}.grm-page-banner p{font-size:17px;max-width:720px;margin:0 0 18px;color:#fff}.grm-page-banner small{opacity:.85}.grm-form-wrap,.grm-directory,.grm-catalog-grid{padding-bottom:56px}.grm-form{background:#fff;border:1px solid #e5edf0;border-radius:16px;padding:clamp(20px,4vw,38px);box-shadow:0 8px 28px rgba(18,64,95,.07)}.grm-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.grm-form label,.grm-request-form label{display:flex;flex-direction:column;gap:7px;color:#344b57;font-weight:600;font-size:14px}.grm-form input:not([type=checkbox]),.grm-form select,.grm-form textarea,.grm-filters input,.grm-filters select,.grm-request-form input,.grm-request-form textarea{width:100%;box-sizing:border-box;border:1px solid #cbd8dd;border-radius:8px;padding:12px 13px;font:inherit;background:#fff;color:#263943}.grm-form input:focus,.grm-form select:focus,.grm-form textarea:focus{outline:2px solid #6DCCDD;outline-offset:1px}.grm-full{grid-column:1/-1}.grm-consent{display:flex!important;flex-direction:row!important;align-items:flex-start;gap:10px!important;font-weight:400!important}.grm-consent input{margin-top:4px}.grm-button{display:inline-flex;align-items:center;justify-content:center;background:#12405f;color:#fff!important;border:0;border-radius:8px;padding:12px 22px;font-weight:700;text-decoration:none;cursor:pointer}.grm-button:hover{background:#A8CF3A;color:#12405F!important}.grm-notice{width:min(1100px,92%);margin:20px auto;padding:14px 18px;border-radius:8px}.grm-notice.success{background:#eef8e8;color:#315d22}.grm-notice.error{background:#fff0ed;color:#8b2e20}.grm-filters{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:24px}.grm-filters input{flex:2;min-width:190px}.grm-filters select{flex:1;min-width:160px}.grm-view-link{align-self:center;color:#12405f;font-weight:600}.grm-org-grid,.grm-catalog-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.grm-org-card,.grm-product-card{border:1px solid #e3ebee;border-radius:14px;overflow:hidden;background:#fff;box-shadow:0 5px 20px rgba(18,64,95,.06)}.grm-org-card{padding:22px}.grm-org-card h3,.grm-product-card h3{color:#12405f;margin:10px 0}.grm-org-card p,.grm-product-card p{line-height:1.55;color:#4e626c}.grm-org-logo{width:76px;height:76px;object-fit:contain}.grm-muted{color:#71818a!important;font-size:13px}.grm-table-wrap{overflow-x:auto}.grm-table{width:100%;border-collapse:collapse}.grm-table th,.grm-table td{padding:13px;border-bottom:1px solid #e4ecef;text-align:left}.grm-table th{background:#eef7f8;color:#12405f}.grm-product-image{width:100%;height:210px;object-fit:cover}.grm-product-body{padding:20px}.grm-availability{display:inline-block;padding:5px 9px;border-radius:30px;background:#eff7df;color:#496b1e;font-size:12px;font-weight:700}.grm-request-form{display:none;margin-top:18px;padding-top:18px;border-top:1px solid #e4ecef;gap:12px}.grm-request-form.is-open{display:grid}.grm-empty{padding:30px;text-align:center;background:#f5f9fa;border-radius:12px}.grm-pagination{margin:28px 0}.grm-pagination .page-numbers{display:inline-block;padding:8px 12px;margin:3px;border:1px solid #d7e2e6;border-radius:6px;text-decoration:none;color:#12405f}.grm-pagination .current{background:#12405f;color:#fff}.grm-admin-cards{display:grid;grid-template-columns:repeat(3,minmax(180px,1fr));gap:16px;margin:24px 0}.grm-admin-card{background:#fff;border:1px solid #dce5e8;border-radius:10px;padding:22px;text-decoration:none;display:flex;flex-direction:column;gap:8px}.grm-admin-card strong{font-size:18px;color:#12405f}.grm-admin-card span{color:#61737b}@media(max-width:800px){.grm-org-grid,.grm-catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.grm-admin-cards{grid-template-columns:1fr 1fr}}@media(max-width:560px){.grm-form-grid,.grm-org-grid,.grm-catalog-grid,.grm-admin-cards{grid-template-columns:1fr}.grm-page-banner{padding:42px 0 34px}.grm-filters{flex-direction:column}.grm-filters>*{width:100%}.grm-form{padding:18px}.grm-full{grid-column:auto}}

/* Diseño de inscripción en dos columnas */
.grm-registration-layout{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:30px;align-items:start}
.grm-registration-info{background:#12405F;color:#fff;border-radius:16px;padding:34px 30px;position:relative;overflow:hidden}
.grm-registration-info:after{content:"";position:absolute;width:190px;height:190px;border:25px solid rgba(168,207,58,.12);border-radius:50%;right:-90px;bottom:-95px;pointer-events:none}
.grm-info-eyebrow{color:#A8CF3A;font-size:12px;font-weight:800;letter-spacing:1.5px}
.grm-registration-info h2{color:#fff;font-size:clamp(25px,2.5vw,32px);line-height:1.2;margin:16px 0}
.grm-registration-info>p{color:rgba(255,255,255,.88);line-height:1.7;font-size:15px}
.grm-steps-title{color:#A8CF3A;font-size:17px;font-weight:700;margin:30px 0 20px}
.grm-registration-steps{list-style:none;padding:0;margin:0;display:grid;gap:20px}
.grm-registration-steps li{display:flex;align-items:flex-start;gap:14px}
.grm-registration-steps li>span{flex:0 0 34px;width:34px;height:34px;display:flex;align-items:center;justify-content:center;border-radius:50%;background:#A8CF3A;color:#12405f;font-weight:800}
.grm-registration-steps strong{display:block;color:#fff;margin:2px 0 5px}
.grm-registration-steps p{color:rgba(255,255,255,.82);font-size:13px;line-height:1.55;margin:0}
.grm-info-note{margin-top:30px;padding:16px;border-left:4px solid #A8CF3A;background:#1B5473;border-radius:0 8px 8px 0}
.grm-info-note strong{color:#A8CF3A}
.grm-info-note p{color:#fff;font-size:13px;line-height:1.6;margin:6px 0 0}
.grm-registration-form{min-width:0}
.grm-form-heading{margin:0 0 18px}
.grm-form-heading>span{color:#6b9d20;font-size:11px;font-weight:800;letter-spacing:1.3px}
.grm-form-heading h2{color:#12405f;font-size:27px;margin:8px 0}
.grm-form-heading p{color:#71818a;font-size:14px;margin:0}
.grm-registration-form .grm-form{padding:26px;border-radius:14px;box-shadow:0 8px 30px rgba(18,64,95,.09)}
.grm-registration-form .grm-form-grid{gap:18px}
.grm-registration-form .grm-form label{min-width:0}
.grm-registration-form .grm-form input:not([type=checkbox]),.grm-registration-form .grm-form select,.grm-registration-form .grm-form textarea{min-height:46px;border-color:#d7e2e6}
.grm-registration-form .grm-form textarea{min-height:110px}
.grm-registration-form .grm-form input:focus,.grm-registration-form .grm-form select:focus,.grm-registration-form .grm-form textarea:focus{border-color:#6DCCDD;box-shadow:0 0 0 3px rgba(109,204,221,.15)}
.grm-submit-wrap{display:flex;flex-direction:column;align-items:flex-start;gap:9px}
.grm-submit-wrap .grm-button{min-width:190px;gap:12px;background:#12405f}
.grm-submit-wrap .grm-button:hover{background:#A8CF3A;color:#12405F!important}
.grm-submit-wrap small{color:#71818a;font-size:12px}
@media(max-width:900px){.grm-registration-layout{grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);gap:18px}.grm-registration-info{padding:25px 20px}.grm-registration-form .grm-form{padding:20px}}
@media(max-width:700px){.grm-registration-layout{grid-template-columns:1fr}.grm-registration-info{padding:28px 24px}.grm-registration-form .grm-form{padding:20px}}


/* Correcciones 1.0.2: título del tema y alineación del formulario de inscripción */
body.grm-has-org-registration .entry-title,
body.grm-has-org-registration .page-title,
body.grm-has-org-registration .elementor-page-title,
body.grm-has-org-registration .wp-block-post-title,
body.grm-has-org-registration h1.entry-title{display:none!important}
body.grm-has-org-registration .entry-header:has(> .entry-title),
body.grm-has-org-registration .page-header:has(> .page-title){display:none!important}
.grm-registration-form .grm-form-grid{align-items:start;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:20px;row-gap:18px}
.grm-registration-form .grm-form-grid>label:not(.grm-consent){display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;min-width:0;gap:8px}
.grm-registration-form .grm-field-label{display:flex;align-items:center;gap:5px;min-height:21px;line-height:1.35;color:#5F6062}
.grm-registration-form .grm-field-label em{font-style:normal;color:#F3924A;font-weight:800;line-height:1}
.grm-registration-form .grm-form-grid>label>input,
.grm-registration-form .grm-form-grid>label>select,
.grm-registration-form .grm-form-grid>label>textarea{margin:0;align-self:stretch}
.grm-registration-info{background:#12405F}
.grm-registration-info:after{border-color:rgba(168,207,58,.20)}
.grm-registration-steps li>span{background:#A8CF3A;color:#12405F}
.grm-info-note{border-left-color:#F3924A}
.grm-info-note strong{color:#F4BE9C}
.grm-form-heading>span{color:#12405F}
.grm-submit-wrap .grm-button{background:#12405F}
.grm-submit-wrap .grm-button:hover{background:#A8CF3A;color:#12405F!important}
@media(max-width:700px){.grm-registration-form .grm-form-grid{grid-template-columns:1fr}.grm-registration-form .grm-field-label{min-height:0}}


/* Oculta únicamente el título automático del tema en las páginas del plugin. */
body.grm-has-plugin-page .entry-title,
body.grm-has-plugin-page .page-title,
body.grm-has-plugin-page .elementor-page-title,
body.grm-has-plugin-page .wp-block-post-title,
body.grm-has-plugin-page h1.entry-title,
body.grm-has-plugin-page .entry-header:has(> .entry-title),
body.grm-has-plugin-page .page-header:has(> .page-title){display:none!important}

/* 1.0.4: títulos automáticos del tema ocultos en páginas que usan shortcodes, incluso con Elementor. */
body.grm-has-plugin-page .elementor-widget-theme-post-title,
body.grm-has-plugin-page .elementor-page-title,
body.grm-has-plugin-page .entry-title,
body.grm-has-plugin-page .page-title,
body.grm-has-plugin-page .wp-block-post-title,
body.grm-has-plugin-page h1.entry-title,
body.grm-has-plugin-page .entry-header:has(> .entry-title),
body.grm-has-plugin-page .page-header:has(> .page-title){display:none!important}

.grm-org-activities{margin-top:14px;padding:14px;border-left:4px solid #A8CF3A;background:#f4f8ed;border-radius:0 8px 8px 0}.grm-org-activities strong{display:block;color:#12405F;margin-bottom:6px}.grm-org-activities p{margin:0;white-space:pre-line}


/* 1.0.6: ocultación robusta del título automático del tema solo en páginas del plugin. */
body:has(.grm-page-banner) .entry-header,
body:has(.grm-page-banner) .page-header,
body:has(.grm-page-banner) .elementor-widget-theme-post-title,
body:has(.grm-page-banner) .elementor-page-title,
body:has(.grm-page-banner) .entry-title,
body:has(.grm-page-banner) .page-title,
body:has(.grm-page-banner) .wp-block-post-title,
body:has(.grm-page-banner) h1.entry-title,
body:has(.grm-page-banner) h1.page-title{display:none!important}
.grm-directory-results{position:relative;min-height:90px}
.grm-directory-results.is-loading{opacity:.48;pointer-events:none}
.grm-directory-results.is-loading:after{content:"Actualizando organizaciones…";display:block;text-align:center;padding:22px;color:#12405F;font-weight:700}
.grm-reset-filter{border:1px solid #12405F;background:#fff;color:#12405F;border-radius:8px;padding:10px 16px;font-weight:700;cursor:pointer}
.grm-reset-filter:hover{background:#F4BE9C}
.grm-results-count{margin:14px 0 0;color:#5F6062;font-size:13px}

.grm-page-banner{position:relative;isolation:isolate}
.grm-page-banner:before{content:"";position:absolute;inset:0;background:rgba(18,64,95,.78);z-index:-1;pointer-events:none}
.grm-page-banner>.grm-container{position:relative;z-index:1}


/* 1.0.7: ocultar cualquier H1 automático anterior al banner del módulo, aunque el tema no use clases estándar. */
body:has(.grm-page-banner) h1:not(.grm-page-banner h1),
body:has(.grm-page-banner) .wp-block-post-title,
body:has(.grm-page-banner) .elementor-widget-theme-post-title,
body:has(.grm-page-banner) .elementor-page-title{display:none!important}
body:has(.grm-page-banner) .entry-header:has(h1),
body:has(.grm-page-banner) .page-header:has(h1){display:none!important}
