/*
Theme Name: Redicyc Comunitaria
Theme URI: https://redicyc.org.mx/
Author: Redicyc / implementación WordPress
Description: Tema comunitario, responsive y editable con el editor de bloques. Requiere Redicyc Core para módulos y formularios.
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: redicyc-comunitaria
*/
:root{--redicyc-green:#24633e;--redicyc-green-dark:#194c32;--redicyc-navy:#1b3552;--redicyc-teal:#39877e;--redicyc-cream:#f5f7f1;--redicyc-mint:#eaf3eb;--redicyc-ink:#253b34;--redicyc-muted:#5d6b64;--redicyc-line:#d7e2d8;--redicyc-white:#fff;--redicyc-radius:22px;--redicyc-shadow:0 14px 38px rgba(27,53,82,.09)}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:130px}body{margin:0;background:var(--redicyc-cream);color:var(--redicyc-ink);font-family:Arial,Helvetica,sans-serif;line-height:1.68}a{color:var(--redicyc-green-dark);text-underline-offset:4px}a:hover{color:var(--redicyc-teal)}button,input,select,textarea{font:inherit}img{max-width:100%;height:auto}.skip-link{position:absolute;left:-10000px;top:auto}.skip-link:focus{left:1rem;top:1rem;z-index:999;background:#fff;padding:.8rem}.site-header{background:#fff;border-bottom:1px solid var(--redicyc-line);position:sticky;top:0;z-index:20;box-shadow:0 5px 22px #1b35520a}.header-main{max-width:1320px;margin:auto;min-height:112px;padding:14px 28px;display:flex;gap:24px;align-items:center}.brand{display:flex;align-items:center;gap:15px;text-decoration:none;color:var(--redicyc-navy);min-width:0}.brand img{width:100px;height:82px;object-fit:contain}.brand-copy{font-size:clamp(16px,2vw,23px);font-weight:700;line-height:1.2;max-width:570px}.brand-copy span{display:block;color:var(--redicyc-green)}.member-link{margin-left:auto;white-space:nowrap}.main-nav{background:var(--redicyc-navy);color:#fff}.main-nav .menu,.main-nav ul{list-style:none;display:flex;justify-content:center;flex-wrap:wrap;gap:0;margin:0;padding:0}.main-nav a{display:block;color:#fff;text-decoration:none;font-size:13px;font-weight:600;padding:14px 18px;border-right:1px solid #ffffff18}.main-nav a:hover,.main-nav .current-menu-item>a{background:var(--redicyc-teal)}.site-main{min-height:65vh}.content-shell{max-width:1250px;margin:auto;padding:58px 28px 76px}.entry-title,.archive-title{font:500 clamp(36px,5.4vw,64px)/1.12 Georgia,'Times New Roman',serif;color:var(--redicyc-green-dark);text-align:center;letter-spacing:-1px;margin:0 auto 36px;max-width:1000px}.entry-content{font-size:17px}.entry-content>*{max-width:1050px;margin-left:auto;margin-right:auto}.entry-content>.alignwide{max-width:1190px}.entry-content>.alignfull{max-width:none}.entry-content h2{font:500 clamp(28px,3vw,40px)/1.2 Georgia,serif;color:var(--redicyc-green-dark);margin-top:48px}.entry-content h3{font-size:21px;color:var(--redicyc-navy)}.entry-content p{max-width:860px}.entry-content .wp-block-cover{border-radius:0 0 40px 40px;overflow:hidden;min-height:380px}.entry-content .wp-block-button__link,.button,.redicyc-button{background:var(--redicyc-green);border-radius:999px;color:#fff;padding:14px 24px;text-decoration:none;font-size:14px;font-weight:700;box-shadow:0 8px 18px #24633e24}.entry-content .wp-block-button__link:hover,.button:hover,.redicyc-button:hover{background:var(--redicyc-navy);color:#fff}.entry-content .wp-block-buttons{gap:12px}.wp-block-group.is-style-redicyc-card,.redicyc-card{background:#fff;border:1px solid var(--redicyc-line);border-radius:var(--redicyc-radius);padding:28px;box-shadow:var(--redicyc-shadow)}.entry-content .wp-block-columns{gap:22px}.entry-content .wp-block-image img{border-radius:22px}.entry-content blockquote{border-left:4px solid var(--redicyc-teal);padding:18px 25px;background:var(--redicyc-mint);border-radius:0 20px 20px 0}.redicyc-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;margin:28px auto}.redicyc-grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}.redicyc-card h2,.redicyc-card h3{margin-top:0}.redicyc-card .meta{color:var(--redicyc-muted);font-size:13px}.redicyc-notice{padding:18px 22px;background:var(--redicyc-mint);border-left:4px solid var(--redicyc-teal);border-radius:0 15px 15px 0;margin:22px 0}.redicyc-form{max-width:820px;margin:28px auto;padding:30px;background:#fff;border:1px solid var(--redicyc-line);border-radius:28px;box-shadow:var(--redicyc-shadow)}.redicyc-form label{display:block;font-weight:700;font-size:14px;margin:0 0 14px}.redicyc-form input,.redicyc-form select,.redicyc-form textarea{width:100%;padding:12px 14px;border:1px solid #bdcec1;border-radius:12px;background:#fff;color:var(--redicyc-ink);margin-top:6px;min-height:46px}.redicyc-form textarea{min-height:140px}.redicyc-form input[type=checkbox]{width:auto;min-height:auto}.redicyc-form button{border:0;cursor:pointer}.redicyc-inline-form{display:flex;flex-wrap:wrap;gap:12px;align-items:end}.redicyc-inline-form label{flex:1;min-width:170px}.redicyc-private{background:#fff;border-radius:26px;padding:30px;border:1px solid var(--redicyc-line)}.redicyc-private-file{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:15px;border-bottom:1px solid var(--redicyc-line)}.redicyc-table-wrap{overflow-x:auto}table{width:100%;border-collapse:collapse;background:#fff}th,td{padding:13px;border-bottom:1px solid var(--redicyc-line);text-align:left}th{background:var(--redicyc-mint);color:var(--redicyc-navy)}.site-footer{background:var(--redicyc-navy);color:#fff;padding:52px 28px 28px}.footer-grid{max-width:1250px;margin:auto;display:grid;grid-template-columns:1.2fr 1fr 1fr;gap:38px}.footer-brand{display:flex;align-items:center;gap:18px}.footer-brand img{width:105px;height:90px;object-fit:contain;background:#fff;border-radius:14px;padding:5px}.site-footer a{color:#fff}.site-footer p,.site-footer li{font-size:14px;color:#ffffffd8}.site-footer h2,.site-footer h3{font:500 23px Georgia,serif}.site-footer ul{list-style:none;padding:0}.site-footer li{margin:7px 0}.footer-legal{border-top:1px solid #ffffff38;margin:35px auto 0;padding-top:20px;max-width:1250px;font-size:12px;color:#ffffffc7}.footer-social{display:flex;flex-wrap:wrap;gap:12px}.redicyc-pagination{display:flex;gap:10px;justify-content:center;margin:30px}.redicyc-pagination a,.redicyc-pagination span{background:#fff;padding:8px 13px;border-radius:9px}.screen-reader-text{position:absolute!important;height:1px;width:1px;overflow:hidden;clip:rect(1px,1px,1px,1px);white-space:nowrap}
@media(max-width:900px){.header-main{gap:12px;padding:12px 18px}.brand img{width:82px;height:70px}.main-nav a{padding:12px 11px}.redicyc-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.footer-grid{grid-template-columns:1fr 1fr}.content-shell{padding-top:44px}}
@media(max-width:620px){.header-main{min-height:90px;flex-wrap:wrap}.brand{flex:1}.brand img{width:66px;height:58px}.brand-copy{font-size:15px}.member-link{font-size:12px;padding:9px 13px}.main-nav ul,.main-nav .menu{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}.main-nav a{text-align:center;padding:10px 4px;font-size:11px}.content-shell{padding:35px 17px 55px}.entry-title{font-size:39px;margin-bottom:28px}.entry-content{font-size:16px}.entry-content .wp-block-cover{min-height:300px;border-radius:0 0 26px 26px}.entry-content .wp-block-columns{display:block}.entry-content .wp-block-column{margin-bottom:16px}.redicyc-grid,.redicyc-grid.two{grid-template-columns:1fr}.redicyc-form{padding:21px}.footer-grid{grid-template-columns:1fr}.site-footer{padding:38px 20px 22px}.footer-brand img{width:80px;height:72px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
.community-hero{max-width:none!important;background:#eaf3eb;padding:64px max(6%,calc((100% - 1190px)/2)) 58px;border-radius:0 0 44px 44px;margin-top:-58px!important}.community-hero h1{max-width:820px;font:500 clamp(40px,6vw,76px)/1.04 Georgia,serif;color:var(--redicyc-green-dark);letter-spacing:-2px}.community-hero p{max-width:670px}.community-hero .eyebrow{font-size:12px;letter-spacing:2px;color:var(--redicyc-teal);font-weight:700}.redicyc-filters{display:flex;justify-content:center;gap:12px;flex-wrap:wrap;margin:24px auto}.redicyc-filters a{background:#fff;border:1px solid var(--redicyc-line);padding:10px 16px;border-radius:999px;text-decoration:none}.redicyc-filters a[aria-current=page]{background:var(--redicyc-green);border-color:var(--redicyc-green);color:#fff}.map-frame{margin-top:22px;overflow:hidden;border-radius:18px}@media(max-width:620px){.community-hero{padding:40px 20px;border-radius:0 0 28px 28px}.community-hero h1{font-size:42px;letter-spacing:-1.2px}.redicyc-filters{display:grid;grid-template-columns:1fr}.redicyc-filters a{text-align:center}}
