/*
Theme Name: SIDEDIF One Page
Author: Rino
Description: Página institucional de SIDEDIF. Contenido y fotografías editables desde Personalizar, novedades con entradas de WordPress y contacto directo.
Version: 1.3.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sidedif
*/
:root{--ink:#272b27;--gold:#b78225;--yellow:#e4b342;--cream:#f6f3eb;--line:#dedfd4;--green:#243c30}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:110px}body{margin:0;color:var(--ink);background:#fcfcf8;font-family:Arial,Helvetica,sans-serif;font-size:20px;line-height:1.65}a{color:inherit;text-decoration:none}button{font:inherit}img{max-width:100%;height:auto;display:block}a:focus-visible,button:focus-visible{outline:3px solid var(--gold);outline-offset:5px}.wrap{width:min(1200px,calc(100% - 80px));margin:auto}.site-header{background:rgba(252,252,248,.97);position:sticky;top:0;z-index:20;border-bottom:1px solid var(--line)}.admin-bar .site-header{top:32px}.header-inner{display:flex;align-items:center;justify-content:space-between;min-height:100px}.brand{display:flex;align-items:center;gap:14px;font-size:29px;font-weight:800;letter-spacing:3px}.brand img{width:58px;height:58px;object-fit:contain;mix-blend-mode:multiply}.brand small{display:block;font-size:14px;font-weight:500;letter-spacing:1.5px;text-transform:uppercase}.header-inner nav{display:flex;align-items:center;gap:32px;font-size:16px;font-weight:600}.nav-contact{border:1px solid var(--line);padding:10px 18px;border-radius:4px}.nav-contact span{margin-left:18px}.menu-toggle{display:none}.skip{position:absolute;left:10px;top:-100px;padding:12px;background:white;z-index:100}.skip:focus{top:10px}.hero{display:grid;grid-template-columns:1.08fr 1fr;gap:64px;padding-top:64px;padding-bottom:65px;align-items:center}.eyebrow{font-size:14px;letter-spacing:1.5px;text-transform:uppercase;font-weight:700;line-height:1.6;margin:0 0 24px}.hero .eyebrow{display:flex;gap:9px;align-items:center;font-size:14px}.eyebrow span{width:7px;height:7px;background:var(--gold);border-radius:100%;flex-shrink:0}h1,h2,h3,p{margin-top:0}h1{font-size:clamp(48.3px,5.4vw,74.75px);letter-spacing:-3px;line-height:1.06;margin-bottom:24px;font-weight:600}h2{font-size:clamp(36.8px,3.79vw,52.9px);line-height:1.12;letter-spacing:-1.8px;font-weight:500;margin-bottom:30px}h2 em{font-family:Georgia,serif;color:var(--gold);font-weight:400}h3{font-size:34px;letter-spacing:-.7px;line-height:1.2}.lead{font-size:20px;color:#62665e;max-width:490px;line-height:1.8}.actions{display:flex;align-items:center;gap:24px;margin-top:30px;flex-wrap:wrap}.button{display:inline-flex;align-items:center;justify-content:space-between;gap:25px;background:var(--green);color:white;font-size:16px;font-weight:600;padding:16px 22px;border-radius:4px;transition:transform .2s,background .2s}.button:hover{background:#365543;transform:translateY(-2px)}.text-link{font-size:15px;font-weight:700;border-bottom:1px solid currentColor;padding-bottom:5px}.hero-note{display:flex;align-items:center;gap:18px;border-top:1px solid var(--line);margin-top:38px;padding-top:22px;font-size:14px}.hero-note b{color:var(--gold);text-transform:uppercase;letter-spacing:1px}.hero-note span{color:#767b6e}.hero-art{position:relative;min-height:510px;background:#ede9dc;border-radius:150px 8px 8px 8px;overflow:hidden;display:flex;align-items:center;justify-content:center;padding-bottom:60px}.orbit{position:absolute;width:550px;height:550px;border:1px solid #d1c9b4;border-radius:50%;left:85px;top:-50px}.orbit:after{content:'';display:block;width:400px;height:400px;margin:74px;border:1px solid #d1c9b4;border-radius:50%}.logo-panel{position:relative;width:65%;padding:24px;background:#fff;border-radius:120px 120px 5px 5px;box-shadow:0 20px 60px #474a2414;transform:rotate(-4deg)}.logo-panel img{width:100%;transform:rotate(4deg)}.hero-photo{position:absolute;width:100%;height:100%;inset:0;object-fit:cover}.with-photo:after{content:'';position:absolute;inset:30% 0 0;background:linear-gradient(transparent,#122719bb)}.with-photo .art-caption{z-index:1;color:white}.art-caption{position:absolute;bottom:34px;left:34px}.art-caption span{display:block;font-size:14px;text-transform:uppercase;letter-spacing:1.2px}.art-caption strong{font-family:Georgia,serif;font-size:29px;font-weight:400}.art-index{position:absolute;top:28px;right:26px;font-size:14px;letter-spacing:1px}.values-band{background:var(--green);color:#f4f2e8}.values-band .wrap{display:flex;justify-content:space-between;align-items:center;padding:23px 0;font-size:16px;letter-spacing:1px}.values-band i{color:var(--yellow);font-size:26px;font-style:normal}.section{padding-top:95px;padding-bottom:95px}.about{display:grid;grid-template-columns:1fr 1fr;gap:95px}.about-copy{padding-top:38px;color:#63675f;font-size:19px}.history-date{border-top:1px solid var(--line);margin-top:28px;padding-top:22px;display:flex;gap:22px;align-items:center}.history-date strong{font-family:Georgia,serif;font-size:62px;color:var(--gold);line-height:1}.history-date strong span{display:block;font-family:Arial,sans-serif;font-size:14px;letter-spacing:3px;margin-top:10px}.history-date b{font-size:35px;color:var(--ink);font-weight:500}.history-date div span{display:block;font-size:14px}.community{background:var(--cream)}.section-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:60px;margin-bottom:35px}.section-heading h2{margin-bottom:0}.section-heading>p{max-width:330px;font-size:18px;color:#63675f;margin:0}.community-card{display:flex;align-items:center;gap:38px;background:#e8e3d5;border:1px solid #dad4c4;padding:44px;border-radius:6px}.community-symbol{font-size:131px;color:var(--gold);line-height:1}.community-card .eyebrow{margin-bottom:12px}.community-card h3{margin-bottom:14px}.community-card p:last-child{color:#65685e;font-size:16px;margin:0}.community-card .button{margin-left:auto;flex-shrink:0}.light{background:white;color:var(--ink)}.light:hover{background:#f8f4e7}.gallery{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-bottom:26px}.gallery figure{margin:0;border-radius:6px;overflow:hidden}.gallery img{width:100%;height:300px;object-fit:cover}.news-feature{display:flex;align-items:center;gap:25px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:38px 0}.news-feature .eyebrow{margin-bottom:12px}.news-feature h3{margin-bottom:14px}.news-feature p:last-child{font-size:18px;color:#62665e;margin:0}.news-mark{display:grid;place-items:center;border:1px solid var(--line);border-radius:100%;font-size:40px;width:75px;height:75px;flex-shrink:0;color:var(--gold)}.outline{color:var(--ink);background:transparent;border:1px solid var(--line);margin-left:auto;flex-shrink:0}.outline:hover{background:var(--cream)}.news-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:25px}.news-card{border-top:1px solid var(--line);padding-top:22px}.news-card img{width:100%;height:200px;object-fit:cover;border-radius:5px;margin-bottom:22px}.news-card time{font-size:14px;color:var(--gold)}.news-card h3{font-size:29px;margin:12px 0}.news-card p{color:#64685e;font-size:18px}.contact{background:var(--green);color:#fcfcf5}.contact .eyebrow{color:#d9dccc}.contact h2 em{color:#e8bd5c}.contact .section-heading>p{color:#c1cabe}.contact-grid{display:grid;grid-template-columns:1.25fr 1fr;gap:65px;margin-top:45px}.contact-row{position:relative;display:block;border-top:1px solid #ffffff30;padding:24px 32px 24px 0}.contact-row span{display:block;text-transform:uppercase;letter-spacing:1px;font-size:14px;color:#c2cabe;margin-bottom:7px}.contact-row strong{font-size:clamp(18.4px,2.3vw,27.6px);font-weight:400;overflow-wrap:anywhere}.contact-row b{position:absolute;right:0;top:48px;font-size:28px;color:#e8bd5c}.location{border:1px solid #ffffff30;padding:25px 30px;border-radius:5px}.location-icon{float:right;font-size:38px;color:#e8bd5c}.location .eyebrow{margin:0 0 20px}.location h3{font-size:30px}.location p:not(.eyebrow){color:#c1cabe;font-size:16px;max-width:250px}.location .text-link{font-size:14px}.footer{background:#1c3026;color:#d2d9ce}.footer-top{display:flex;align-items:center;justify-content:space-between;padding:38px 0}.footer-top strong{letter-spacing:4px;font-size:26px}.footer p{font-size:14px;margin:8px 0 0}.footer a{font-size:14px}.footer-bottom{padding:18px 0;display:flex;justify-content:space-between;border-top:1px solid #ffffff1a;font-size:14px}.editorial{max-width:850px;min-height:55vh}.editorial h1{font-size:56px}.editorial h2{font-size:38px}.editorial .news-card{margin-bottom:35px}.editorial>img{margin-bottom:30px}.entry-content{overflow-wrap:anywhere}.entry-content a{text-decoration:underline}.entry-content img{height:auto}.entry-content table{border-collapse:collapse;width:100%}.entry-content td,.entry-content th{padding:10px;border:1px solid var(--line)}.alignwide,.alignfull{max-width:100%}.screen-reader-text{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.comments input,.comments textarea{max-width:100%;padding:10px}.comments textarea{width:100%}
@media(max-width:1000px){.hero{gap:30px}.hero-art{min-height:440px}.actions{gap:18px}.about{gap:45px}.community-card{padding:30px;gap:24px}.community-symbol{font-size:100px}.contact-grid{gap:30px}}
@media(max-width:800px){.wrap{width:calc(100% - 40px)}.header-inner{min-height:82px}.brand{font-size:25px}.brand img{width:48px;height:48px}.menu-toggle{display:flex;align-items:center;gap:12px;background:transparent;border:1px solid var(--line);padding:7px 12px;border-radius:4px;font-size:15px}.header-inner nav{display:none;position:absolute;top:100%;left:0;right:0;padding:20px;background:#fcfcf8;box-shadow:0 15px 20px #0001;flex-direction:column;align-items:stretch;gap:0}.header-inner nav.open{display:flex}.header-inner nav a{padding:12px}.nav-contact{margin-top:8px}.hero{grid-template-columns:1fr;padding-top:38px;padding-bottom:40px;gap:35px}.hero-copy{max-width:620px}.hero h1{font-size:61px;max-width:570px}.hero-art{min-height:440px;max-width:600px;width:100%;margin:auto}.logo-panel{width:55%;max-width:300px}.values-band .wrap{gap:12px;flex-wrap:wrap;justify-content:center;font-size:14px}.values-band i{font-size:19px}.section{padding-top:60px;padding-bottom:60px}.about{grid-template-columns:1fr;gap:15px}.about-copy{padding-top:10px}.section-heading{align-items:flex-start;flex-direction:column;gap:24px}.section-heading>p{max-width:500px}.community-card{flex-wrap:wrap}.community-card .button{margin-left:0}.community-symbol{font-size:81px}.news-feature{align-items:flex-start;flex-wrap:wrap}.news-feature .button{margin-left:100px}.news-grid{grid-template-columns:1fr}.contact-grid{grid-template-columns:1fr}.gallery{grid-template-columns:1fr 1fr}.gallery img{height:230px}.admin-bar .site-header{top:46px}}
@media(max-width:480px){.hero h1{font-size:52px;letter-spacing:-2px}.hero .eyebrow{font-size:14px}.hero-art{min-height:380px;border-top-left-radius:110px}.logo-panel{width:66%}.art-caption{left:24px;bottom:25px}.art-caption strong{font-size:25px}.hero-note{gap:12px;font-size:14px}h2{font-size:42px}.community-card{padding:24px}.community-symbol{display:none}.community-card h3{font-size:32px}.news-feature{gap:18px}.news-mark{width:50px;height:50px;font-size:31px}.news-feature>div{flex:1}.news-feature .button{margin-left:68px;font-size:14px;padding:14px}.footer-top{align-items:flex-start;gap:25px;flex-direction:column}.footer-bottom{gap:20px;font-size:14px}.gallery{grid-template-columns:1fr}.location{padding:25px}.admin-bar .site-header{top:0}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{transition:none!important}}

/* Redes sociales */
.social-links{display:flex;flex-wrap:wrap;gap:10px;align-items:center}
.social-links a{display:inline-flex;align-items:center;gap:15px;padding:12px 17px;border:1px solid #b6b9ab;border-radius:4px;font-size:15px;font-weight:600;white-space:nowrap;transition:background .2s}
.social-links a:hover{background:#ffffff80}.community-card>.social-links{margin-left:auto;max-width:260px;justify-content:flex-end}.community-card .social-links a{background:#fcfcf8}.contact .social-links a,.footer .social-links a{border-color:#ffffff60;color:#fcfcf5}.contact .social-links a:hover,.footer .social-links a:hover{background:#ffffff15}.footer .social-links a{font-size:14px;padding:9px 13px}
@media(max-width:800px){.community-card>.social-links{margin-left:0;justify-content:flex-start;max-width:none}}

/* Lectura y navegación ampliadas */
.header-inner nav{font-size:17px;gap:26px}.lead,.about-copy,.section-heading>p,.community-card p:last-child,.news-feature p:last-child,.news-card p,.location p:not(.eyebrow){font-size:18px}
.entry-content{font-size:20px;line-height:1.8}.entry-content h2{font-size:36px}.entry-content h3{font-size:30px}.contact-row strong{overflow-wrap:anywhere}.hero-note{flex-wrap:wrap}.news-card h2,.editorial h1{overflow-wrap:anywhere}
.search-form{display:flex;align-items:flex-end;gap:12px;flex-wrap:wrap;margin:26px 0 36px}.search-form label{flex:1;min-width:180px}.search-form label span{display:block;margin-bottom:8px;font-size:16px}.search-field{width:100%;font:inherit;padding:13px 15px;border:1px solid var(--line);border-radius:4px}.search-submit{font:inherit;background:var(--green);color:white;border:0;border-radius:4px;padding:14px 24px;cursor:pointer}
@media(max-width:1050px){.header-inner nav{gap:18px}.brand{letter-spacing:2px}.about{gap:35px}.community-card{flex-wrap:wrap}.community-card>.social-links{margin-left:0;max-width:none;justify-content:flex-start}}
@media(max-width:800px){.header-inner nav{font-size:18px}.hero .eyebrow{font-size:14px;flex-wrap:wrap}.hero-note{font-size:14px}.contact-row strong{font-size:22px}.footer-bottom{flex-wrap:wrap}.entry-content{font-size:19px}.hero .eyebrow span{width:7px;height:7px}}
@media(max-width:480px){.brand{font-size:25px}.brand small{font-size:13px;letter-spacing:1px}.menu-toggle{font-size:16px}.eyebrow{letter-spacing:1px}.hero h1{font-size:46px}.news-feature .button{margin-left:0}.news-feature>div{min-width:180px}.contact-row strong{font-size:20px}.hero-note{font-size:14px}.values-band .wrap{font-size:14px}}

/* Cuatro redes en todos los bloques */
.section-heading>.social-links{max-width:520px;justify-content:flex-end}
.news-feature>.social-links{margin-left:auto;flex:0 1 340px;min-width:0;justify-content:flex-end}
.footer-top{gap:24px;flex-wrap:wrap}
@media(max-width:800px){.section-heading>.social-links{justify-content:flex-start;max-width:none}.news-feature>.social-links{margin-left:0;flex-basis:100%;justify-content:flex-start;min-width:0}}
