/*
Theme Name: IED Barcelona — Editorial
Version: 2.0.0
Description: Diseño editorial en español con enlaces e imágenes revisados.
*/
@font-face{font-family:Din;src:url('../ied/custom-fonts/din_regular.woff') format('woff');font-weight:400;font-display:swap}@font-face{font-family:Din;src:url('../ied/custom-fonts/din_bold.woff') format('woff');font-weight:700;font-display:swap}
:root{--red:#db1827;--ink:#17191b;--muted:#666d71;--line:#e5e7e8;--paper:#f5f5f2}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--ink);background:#fff;font-family:Din,Arial,sans-serif;font-size:17px;line-height:1.6}a{color:inherit;text-decoration:none}a:hover{color:var(--red)}button,input,textarea,select{font:inherit}button,a,input:focus-visible{outline-offset:5px}img{max-width:100%;height:auto;vertical-align:middle}h1,h2,h3,h4,p{margin-top:0}h1,h2,h3{line-height:1.15;letter-spacing:-.035em}h1{font-size:clamp(34px,4.6vw,64px)}h2{font-size:clamp(30px,3vw,43px)}h3{font-size:25px}svg{width:24px;height:24px}.sr-only{position:absolute;clip:rect(0,0,0,0);width:1px;height:1px;overflow:hidden}.site-header{position:sticky;top:0;z-index:100;background:#fff;border-bottom:1px solid var(--line)}.header-inner{max-width:1320px;margin:auto;min-height:92px;padding:0 32px;display:flex;align-items:center;gap:30px}.brand{display:flex;flex-shrink:0;width:136px;height:92px;align-items:center;justify-content:center;background:var(--red)}.brand img{width:110px;height:auto}#main-navigation{margin-left:auto}.main-menu{list-style:none;display:flex;align-items:center;gap:25px;margin:0;padding:0}.main-menu>li{position:relative}.main-menu a{display:block;padding:29px 0;font-size:16px;font-weight:700;white-space:nowrap}.current-menu-item>a{color:var(--red)}.menu-item-has-children>a{display:inline-flex;align-items:center;gap:8px}.menu-item-has-children>a:after{content:'';display:block;flex:0 0 7px;width:7px;height:7px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:translateY(-2px) rotate(45deg);margin:0}.main-menu .sub-menu{display:none;list-style:none;position:absolute;top:100%;left:-20px;width:240px;padding:10px;background:#fff;border:1px solid var(--line);border-radius:0 0 8px 8px;box-shadow:0 14px 30px #00000014}.sub-menu a{padding:11px 13px;font-weight:400}.sub-menu a:hover{background:var(--paper)}.menu-item-has-children:hover>.sub-menu,.menu-item-has-children:focus-within>.sub-menu{display:block}.header-search{display:flex;border-bottom:1px solid #bbc0c3;width:155px}.header-search input{width:115px;min-width:0;border:0;padding:8px 0;font-size:15px}.header-search button{border:0;background:none;padding:5px;cursor:pointer}.header-search svg{fill:none;stroke:currentColor;stroke-width:1.7}.menu-toggle{display:none}.home-hero{height:510px;position:relative;background:#303941;overflow:hidden}.hero-background{width:100%;height:100%;object-fit:cover;object-position:center 55%}.hero-shade{position:absolute;inset:0;background:linear-gradient(90deg,#071319c9,#111c2455 65%,#14263033)}.hero-inner{position:absolute;inset:0;max-width:1256px;margin:auto;padding:65px 32px;color:white}.hero-kicker{display:block;font-size:15px;letter-spacing:.17em;font-weight:700;margin-bottom:22px}.hero-inner h1{max-width:760px;margin-bottom:20px}.hero-inner p{font-size:21px;line-height:1.45;color:#f5f6f7;margin-bottom:27px}.button{display:inline-flex;gap:22px;align-items:center;padding:12px 22px;background:var(--red);color:white;font-weight:700;border:1px solid var(--red)}.button:hover{background:#ad1020;color:#fff}.button.light{background:white;color:var(--ink);border-color:white}.button.light:hover{background:var(--red);border-color:var(--red);color:white}.page-wrap{max-width:1256px;margin:auto;padding:64px 32px 80px;min-height:45vh}.page-wrap.small{max-width:850px;padding-top:90px}.section-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:25px;margin-bottom:34px}.section-heading h2{margin:8px 0 0}.eyebrow{text-transform:uppercase;color:var(--red);font-size:12px;letter-spacing:.13em;font-weight:700}.text-link{font-size:16px;white-space:nowrap;font-weight:700}.story-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:38px 28px}.story{border-bottom:1px solid var(--line);min-width:0}.story-image{display:block;overflow:hidden;background:var(--paper)}.story-image img{display:block;width:100%;height:auto;aspect-ratio:1.5;object-fit:cover;transition:transform .35s}.story-image:hover img{transform:scale(1.035)}.story-copy{padding:21px 0 26px}.story h3{margin:9px 0 13px}.story p{color:var(--muted);font-size:16px;line-height:1.5;margin-bottom:18px}.read-more{font-size:15px;font-weight:700}.read-more span{color:var(--red);margin-left:10px}.breadcrumb{display:flex;flex-wrap:wrap;gap:10px;font-size:14px;color:var(--muted);margin-bottom:30px}.breadcrumb>span:last-child{max-width:75%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.article-wrap{max-width:1040px}.article-heading{max-width:900px}.article-heading h1{font-size:clamp(32px,4.2vw,54px);margin:12px 0 34px}.article-cover{margin:0 0 45px}.article-cover>img{width:100%;max-height:480px;aspect-ratio:1.9;object-fit:cover}.article-cover figcaption{font-size:12px;color:var(--muted);margin-top:6px}.ied-body{max-width:790px;margin:0 auto;overflow-wrap:anywhere}.ied-body p{margin-bottom:22px}.ied-body h2{font-size:32px;margin-top:36px}.ied-body h3{font-size:25px;margin-top:28px}.ied-body h4{font-size:21px;margin-top:24px}.ied-body a{color:#bd1223;text-decoration:underline;text-underline-offset:3px}.ied-body>*{max-width:100%}.ied-body img{height:auto!important;max-width:100%!important;object-fit:cover}.ied-body figure{margin:24px 0}.ied-body iframe{width:100%;max-width:100%;aspect-ratio:16/9;border:0}.ied-body table{max-width:100%;width:100%;border-collapse:collapse}.ied-body td,.ied-body th{padding:10px;border:1px solid var(--line)}.ied-body input:not([type=checkbox]):not([type=radio]):not([type=hidden]),.ied-body textarea,.ied-body select{max-width:100%;padding:10px 12px;border:1px solid #c4c9cc;background:#fff}.ied-body textarea{width:100%;min-height:140px}.ied-body input[type=submit],.ied-body button{background:var(--red)!important;color:#fff!important;border:0!important;padding:12px 24px!important;cursor:pointer}.ied-body label{display:block;margin-bottom:12px}.ied-body .lista-items,.ied-body .custom-projects-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));list-style:none;padding:0;gap:24px}.ied-body .lista-items img{width:100%}.archive-heading{margin-bottom:40px}.archive-heading h1{margin:8px 0 15px}.pagination{margin-top:48px}.nav-links{display:flex;gap:9px;flex-wrap:wrap}.page-numbers{padding:7px 13px;border:1px solid var(--line)}.page-numbers.current{background:var(--ink);color:white}.site-footer{background:#17191b;color:#fff}.footer-inner{max-width:1256px;margin:auto;padding:45px 32px;display:flex;gap:40px;align-items:center;justify-content:space-between}.footer-brand{display:block;font-size:27px;font-weight:700;line-height:1.3}.footer-brand span{display:block;font-size:14px;font-weight:400;color:#b8bfc2;margin-top:9px}.footer-links{display:flex;gap:24px;flex-wrap:wrap;font-size:14px}.social-links{display:flex;gap:12px}.social-links a{display:grid;place-items:center;width:38px;height:38px;border:1px solid #4d5357;border-radius:50%}.social-links svg{width:19px;height:19px;fill:currentColor}.social-links a:hover{background:var(--red);border-color:var(--red);color:#fff}.footer-bottom{max-width:1192px;margin:auto;padding:19px 0;border-top:1px solid #34393c;font-size:12px;color:#9ba2a5}.illustrative{font-size:12px;color:var(--muted)}
@media(max-width:1100px){.header-inner{gap:18px;padding:0 22px}.main-menu{gap:18px}.main-menu a{font-size:15px}.header-search{display:none}.story-grid{gap:28px 22px}.footer-inner{flex-wrap:wrap}.footer-bottom{margin:0 32px}}
@media(max-width:760px){.header-inner{min-height:76px;justify-content:space-between;padding:0 20px}.brand{height:76px;width:112px}.brand img{width:90px}.menu-toggle{display:flex;align-items:center;gap:10px;border:0;background:transparent;cursor:pointer;padding:10px 0}.menu-toggle svg{stroke:var(--ink);fill:none;stroke-width:1.8}#main-navigation{display:none;position:absolute;left:0;right:0;top:76px;background:#fff;max-height:calc(100vh - 76px);overflow-y:auto;border-bottom:1px solid var(--line);box-shadow:0 15px 20px #00000012}#main-navigation.is-open{display:block}.main-menu{display:block;padding:12px 24px 22px}.main-menu a{padding:12px 0;font-size:17px}.main-menu .sub-menu{display:block;position:static;width:auto;border:0;box-shadow:none;padding:0 0 5px 18px}.main-menu .sub-menu a{font-size:15px;padding:8px 0}.home-hero{height:490px}.hero-inner{padding:55px 24px}.hero-inner h1{font-size:43px}.hero-inner p{font-size:18px}.page-wrap{padding:43px 22px 55px}.section-heading{display:block}.section-heading .text-link{display:inline-block;margin-top:17px}.story-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 18px}.story h3{font-size:22px}.story p{font-size:15px}.footer-inner{display:block;padding:35px 24px}.footer-links{margin:27px 0}.footer-bottom{margin:0 24px}.article-cover>img{aspect-ratio:1.5}.ied-body .lista-items{grid-template-columns:1fr}}
@media(max-width:480px){.story-grid{grid-template-columns:1fr}.hero-inner h1{font-size:38px}.hero-inner p{font-size:18px}.home-hero{height:475px}.story-copy{padding-top:18px}.story h3{font-size:25px}}
