/* Public Galician interiors: the same paper, paint and typography as Ref_Portada. */
.jg-pages{--j-sans:var(--jh-sans);--j-cream:var(--jh-paper);--j-paper:#fffaf1;--j-red:var(--jh-red);--j-green:var(--jh-green);--j-ink:var(--jh-ink);font-family:var(--jh-sans);font-size:17px;line-height:1.55}
.jg-pages .j-wrap,.jg-pages .wp-block-group.j-wrap{width:min(1280px,calc(100% - 96px))}
.jg-pages .j-main{overflow:clip}
.jg-pages .j-main h1,.jg-pages .j-main h2,.jg-pages .j-main h3{font-family:var(--j-serif);font-weight:800;letter-spacing:-.035em;color:var(--jh-ink)}
.jg-pages .j-main h1{font-size:clamp(44px,5.3vw,76px);line-height:1.02;max-width:24ch;margin-bottom:17px}
.jg-pages .j-main h2{font-size:clamp(32px,3.7vw,52px);line-height:1.07;margin-bottom:18px}
.jg-pages .j-main h3{font-size:29px;line-height:1.13}
.jg-pages .j-main h1 em,.jg-pages .j-main h2 em{color:var(--jh-red);font-style:normal}
.jg-pages .j-main p{line-height:1.55}
.jg-pages .j-section{padding-block:38px 54px}
.jg-pages .j-page-header{position:relative;padding-block:36px 32px}
.jg-pages .j-page-header:has(.j-header-photo){display:grid;grid-template-columns:1.08fr 1fr;gap:56px;align-items:center;padding-block:26px 34px}
.jg-pages .j-page-header .j-lead{font-size:19px;max-width:56ch;line-height:1.5;color:#48463d}
.jg-heading{display:flex;align-items:baseline;gap:0;min-width:0}
.jg-heading>h1,.jg-heading>h2{min-width:0}
.jg-heading .jg-rays{flex-shrink:0;width:35px;height:43px;margin-left:16px;align-self:center;margin-bottom:16px}
.jg-pages .j-page-header .jg-rays{width:43px;height:55px;transform:rotate(-5deg)}
.jg-pages .j-breadcrumb{font-size:12px;margin-bottom:14px;line-height:1.4;display:flex;align-items:center;gap:10px;flex-wrap:wrap;color:#6d5d46}
.jg-pages .j-breadcrumb a{color:var(--jh-ink);min-height:44px}
.jg-pages .j-breadcrumb span{min-height:0}
.jg-pages .j-eyebrow{font-family:var(--jh-sans);color:var(--jh-red);font-size:12px;letter-spacing:.08em;font-weight:700;margin-bottom:14px}
.jg-pages .j-header-photo,.jg-team-frame,.jg-pages .j-detail-art{position:relative;isolation:isolate;padding:12px;background:#fffaf1;box-shadow:1px 5px 9px #51412317;transform:rotate(-1.5deg);margin:8px 0;max-width:none}
.jg-pages .j-header-photo:before,.jg-team-frame:before,.jg-pages .j-detail-art:before{content:'';position:absolute;z-index:1;top:-16px;right:22px;width:95px;height:35px;transform:rotate(13deg);background:var(--jh-blue);mask:url('home/paint-red-web.png') center/100% 150% no-repeat}
.jg-pages .j-header-photo:after,.jg-team-frame:after,.jg-pages .j-detail-art:after{content:'';position:absolute;bottom:-10px;left:20px;width:85px;height:29px;transform:rotate(-7deg);background:var(--jh-yellow);mask:url('home/paint-red-web.png') center/100% 150% no-repeat}
.jg-pages .j-header-photo img{display:block;width:100%;height:auto;aspect-ratio:1.6;object-fit:cover}
.jg-pages.jg-page-books .j-header-photo.jg-illustration{background:transparent;box-shadow:none;padding:0;transform:rotate(2deg)}
.jg-pages.jg-page-books .j-header-photo.jg-illustration img{object-fit:contain;aspect-ratio:1.5;max-height:285px}
.jg-pages.jg-page-books .j-header-photo.jg-illustration:before,.jg-pages.jg-page-books .j-header-photo.jg-illustration:after{display:none}
.jg-pages .j-button,.jg-pages .wp-block-button__link{position:relative;isolation:isolate;background:transparent;border:none;border-radius:0;display:inline-flex;align-items:center;justify-content:center;gap:16px;min-height:52px;padding:15px 23px;color:#fffaf1;font:400 15px/1.4 var(--jh-sans);text-decoration:none;box-shadow:none;transition:transform .25s cubic-bezier(.16,1,.3,1)}
.jg-pages .j-button:before,.jg-pages .wp-block-button__link:before{content:'';position:absolute;z-index:-1;inset:-4px -7px;background:url('home/paint-red-web.png') center/100% 180% no-repeat}
.jg-pages .j-button:hover,.jg-pages .wp-block-button__link:hover{background:none;border:none;color:#fffaf1;transform:translateY(-2px)}
.jg-pages .j-button:active{transform:scale(.98)}
.jg-pages .j-button span{font-size:0;width:24px;height:23px;background:currentColor;mask:url('home/arrow.svg') center/contain no-repeat}
.jg-pages .j-button:hover span{transform:translateX(5px) rotate(-8deg)}
.jg-pages .j-button-outline{color:var(--jh-ink)}
.jg-pages .j-button-outline:before{background:none;border:1.5px solid var(--jh-red);transform:rotate(-.6deg);inset:2px 0}
.jg-pages .j-button-outline:hover{color:var(--jh-ink)}
.jg-pages .j-main a:focus-visible,.jg-pages .j-main button:focus-visible{outline:3px solid var(--jh-blue);outline-offset:5px}
.jg-pages .j-demo-note,.jg-pages .j-small{font-size:13px;line-height:1.5;color:#6d5d46;max-width:75ch}
.jg-pages .j-demo-note{padding:13px 16px;background:#ead9ad70;border-left:3px solid #bb942e;margin-top:18px}
.jg-pages .j-catalog-group{padding-block:26px 42px}
.jg-pages .j-proposal-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:35px;max-width:1100px}
.jg-pages .j-proposal-card,.jg-pages .j-catalog-group .j-proposal-card:nth-child(even){position:relative;background:#fffaf1;padding:9px 9px 0;margin-top:0;transform:rotate(-.5deg);box-shadow:0 3px 10px #57452010;transition:transform .35s cubic-bezier(.16,1,.3,1)}
.jg-pages .j-proposal-card:nth-child(even){transform:rotate(.6deg)}
.jg-pages .j-proposal-card:before{content:'';position:absolute;left:21px;top:-10px;width:63px;height:25px;background:var(--jh-blue);mask:url('home/paint-red-web.png') center/100% 160% no-repeat;transform:rotate(-9deg);pointer-events:none;z-index:1}
.jg-pages .j-proposal-card:nth-child(even):before{background:var(--jh-red);left:auto;right:24px}
.jg-pages .j-proposal-card a{border:none;display:block;color:var(--jh-ink)}
.jg-pages .j-proposal-card a:hover{color:var(--jh-ink)}
.jg-pages .j-card-art,.jg-pages .j-proposal-card:nth-child(even) .j-card-art,.jg-pages .j-catalog-group .j-card-art{aspect-ratio:1.9;background:transparent}
.jg-pages .j-card-art img{width:100%;height:100%;object-fit:cover;display:block}
.jg-pages .j-card-index{display:none}
.jg-pages .j-card-info{position:relative;padding:19px 65px 23px 16px;border:none}
.jg-pages .j-card-info h3,.jg-pages .j-catalog-group .j-card-info h3{font-size:clamp(25px,2.3vw,34px);line-height:1.1;max-width:27ch;min-height:0;margin:0}
.jg-pages .j-card-info .j-eyebrow{font-size:11px;margin-bottom:10px}
.jg-pages .j-card-link{position:absolute;right:13px;top:21px;width:45px;height:45px;display:grid;place-items:center;font-size:0;padding:0;border-radius:47% 53% 48% 52%;background:var(--jh-red);color:white}
.jg-pages .j-card-link>span{width:25px;height:21px;background:currentColor;mask:url('home/arrow.svg') center/contain no-repeat;font-size:0;color:white}
.jg-pages .j-proposal-card a:hover .j-card-link>span{transform:translateX(4px) rotate(-7deg)}
.jg-pages .j-proposal-card:hover{transform:translateY(-4px) rotate(0)}
.jg-pages .j-resource-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:45px;align-items:start}
.jg-pages .j-book-card{padding:28px;background:#fffaf1;border:none;position:relative;transform:rotate(-.7deg)}
.jg-pages .j-book-card:nth-child(even){transform:rotate(.8deg);background:#e8eacb80}
.jg-book-image{position:relative;margin:0 auto 27px;width:min(280px,100%);transform:rotate(-3deg)}
.jg-book-image:before{content:'';position:absolute;inset:10px -18px -14px;z-index:-1;background:var(--jh-yellow);mask:url('home/paint-red-web.png') center/100% 180% no-repeat;transform:rotate(-4deg)}
.jg-book-image img{display:block;width:100%;height:auto;aspect-ratio:1.02;object-fit:contain}
.jg-pages .j-book-card:nth-child(even) .jg-book-image{transform:rotate(3deg);width:min(340px,100%)}
.jg-pages .j-book-card:nth-child(even) .jg-book-image:before{background:var(--jh-blue);opacity:.15}
.jg-pages .j-book-label{font-size:11px;text-transform:uppercase;letter-spacing:.04em;color:#685b45;margin-bottom:12px}
.jg-pages .j-book-card h3{font-size:34px;margin-bottom:15px}
.jg-pages .j-detail-grid{gap:65px;align-items:start}
.jg-pages .j-detail-art{position:relative;top:auto;min-width:0}
.jg-pages .j-detail-art figure{margin:0}
.jg-pages .j-detail-art img{width:100%;height:auto;aspect-ratio:1.2;object-fit:cover;display:block}
.jg-pages .j-detail-copy .jg-heading{margin-bottom:7px}
.jg-pages .j-detail-copy h2{font-size:36px;max-width:25ch}
.jg-pages .j-detail-fields{gap:18px;margin-block:25px 30px}
.jg-pages .j-detail-fields>div{background:#f2dfab70;border:0;border-left:3px solid #b79336;padding:16px}
.jg-pages .j-detail-fields strong{display:block;font:700 14px/1.4 var(--jh-sans);color:var(--jh-red);margin-bottom:6px}
.jg-pages .j-detail-fields p,.jg-pages .j-detail-fields span{font-size:14px;line-height:1.5;margin-bottom:0}
.jg-pages .j-detail-copy>.j-button{margin-bottom:22px}
.jg-pages .j-editorial{grid-template-columns:1fr 1fr;gap:65px;align-items:center}
.jg-team-frame img,.jg-pages .j-team-photo img{display:block;width:100%;height:auto;aspect-ratio:1.25;object-fit:cover;object-position:50% 22%}
.jg-pages .j-team-photo{position:relative;padding:12px;background:#fffaf1;transform:rotate(-1.3deg)}
.jg-pages .j-legal{max-width:900px;padding-right:45px}
.jg-pages .j-legal h2{font-size:36px;line-height:1.14;margin-top:22px}
.jg-pages .j-legal p{font-size:17px;line-height:1.7;max-width:72ch}
.jg-pages.jg-page-legal .jg-heading .jg-rays{color:var(--jh-green)}
.jg-pages .j-event-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.jg-pages .j-event{grid-template-columns:88px minmax(0,1fr);gap:19px;background:#fffaf1;padding:18px;border:0;align-items:start;position:relative}
.jg-pages .j-event:before{content:'';position:absolute;width:56px;height:21px;top:-9px;right:25px;background:var(--jh-yellow);mask:url('home/paint-red-web.png') center/100% 160% no-repeat;transform:rotate(5deg)}
.jg-pages .j-event time{min-height:114px;display:flex;align-items:center;justify-content:center;flex-direction:column;padding:12px 5px;background:#ecd7a5;border:0;color:var(--jh-ink);clip-path:polygon(0 1%,20% 0,50% 1%,80% 0,100% 1%,99% 40%,100% 70%,99% 100%,70% 99%,40% 100%,0 99%,1% 65%,0 30%)}
.jg-pages .j-event time strong{font:800 53px/1 var(--j-serif)}
.jg-pages .j-event time span{font:700 15px/1.4 var(--j-serif);text-align:center;text-transform:uppercase;margin-top:6px}
.jg-pages .j-event h3{font:700 18px/1.3 var(--jh-sans);letter-spacing:0;margin:2px 0 8px}
.jg-pages .j-event p{font-size:14px;margin-bottom:7px}
.jg-pages .j-event>div>a{font-size:14px;min-height:44px;line-height:1.4;display:inline-flex;color:var(--jh-red)}
.jg-pages .j-event-more{grid-column:2}
.jg-pages .j-event-state{font-weight:700;background:#f3d6ca;border-color:#b8675a;padding:7px 10px;max-width:100%}
.jg-pages .j-empty{grid-column:1/-1;background:#fff9ed;border:1px solid #cbb78d;padding:28px}
.jg-pages .j-cta{position:relative;isolation:isolate;background:none;color:var(--jh-ink);padding-block:40px;margin-block:35px 20px}
.jg-pages .j-cta:before{content:'';position:absolute;inset:-2px max(24px,calc((100% - 1330px)/2));z-index:-1;background:#e8a58a;mask:url('home/paint-red-web.png') center/100% 180% no-repeat;opacity:.35}
.jg-pages .j-cta-grid{gap:36px;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);align-items:center;padding-inline:20px}
.jg-pages .j-cta h2{font-size:42px;color:var(--jh-red);line-height:1.1;max-width:26ch;margin-bottom:14px}
.jg-pages .j-cta h2 em{color:var(--jh-red)}
.jg-pages .j-cta p{font-size:16px;color:var(--jh-ink);max-width:54ch}
.jg-pages .j-cta-actions{justify-self:start;display:flex;flex-direction:column;align-items:flex-start;gap:10px;min-width:0}
.jg-pages .j-cta-secondary{font-size:13px;color:var(--jh-ink);line-height:1.4;margin-top:4px;min-height:44px;max-width:100%}
.jg-pages .j-contact-layout{grid-template-columns:.9fr 1.1fr;gap:65px}
.jg-pages .j-contact-intro{top:168px}
.jg-pages .j-contact-intro h2{font-size:43px;line-height:1.1}
.jg-pages .j-form{background:#fffbf3;border:1px solid #cbb998;border-radius:0;padding:32px;box-shadow:4px 8px 14px #57432410;transform:none}
.jg-pages .j-form label{font:700 14px/1.4 var(--jh-sans);margin-bottom:8px}
.jg-pages .j-form input,.jg-pages .j-form textarea,.jg-pages .j-form select{font:400 16px/1.5 var(--jh-sans);background:#fffefb;border:1px solid #9b8d77;border-radius:2px;min-height:46px;padding:10px 12px;color:var(--jh-ink)}
.jg-pages .j-form input:focus,.jg-pages .j-form textarea:focus,.jg-pages .j-form select:focus{outline:2px solid var(--jh-blue);outline-offset:2px}
.jg-pages .j-form input[aria-invalid=true],.jg-pages .j-form textarea[aria-invalid=true]{border-color:var(--jh-red)}
.jg-pages .j-form-notice{font-size:13px;background:#ecd8a56b;padding:12px;border:0}
.jg-pages .j-form button[type=submit]{margin-top:12px;max-width:100%}
.jg-pages .j-dossier{display:grid;grid-template-columns:38px minmax(0,1fr);gap:17px;padding:22px 0;border-top:1px solid #bdad91;border-bottom:1px solid #bdad91;margin-block:24px}
.jg-pages .j-dossier .j-button{grid-column:2;justify-self:start}
.jg-pages .j-dossier strong{font:700 22px/1.3 var(--j-serif)}
.jg-pages .j-gallery{gap:23px}
.jg-pages .j-gallery figure{padding:9px;background:#fffaf1;transform:rotate(-1deg)}
.jg-pages .j-materials{border-color:#c6b48c}
.jg-pages .jh-footer{margin-top:20px}
@media(max-width:1180px){.jg-pages .j-wrap,.jg-pages .wp-block-group.j-wrap{width:calc(100% - 72px)}.jg-pages .j-page-header:has(.j-header-photo){gap:35px}.jg-pages .j-detail-grid,.jg-pages .j-editorial,.jg-pages .j-contact-layout{gap:38px}.jg-pages .j-card-info h3,.jg-pages .j-catalog-group .j-card-info h3{font-size:29px}}
@media(max-width:900px){.jg-pages .j-page-header:has(.j-header-photo){grid-template-columns:1.2fr 1fr;gap:26px}.jg-pages .j-main h1{font-size:49px}.jg-pages .j-page-header .j-lead{font-size:17px}.jg-pages .j-contact-layout{grid-template-columns:1fr;gap:32px}.jg-pages .j-contact-intro{position:static}.jg-pages .j-cta-grid{grid-template-columns:1fr;gap:25px}.jg-pages .j-detail-grid{gap:32px}.jg-pages .j-detail-copy h2{font-size:30px}.jg-pages .j-detail-fields{grid-template-columns:1fr}.jg-pages .j-event-list{grid-template-columns:1fr}.jg-pages .j-resource-grid{gap:24px}.jg-pages .j-book-card{padding:22px}.jg-pages .j-book-card h3{font-size:29px}}
@media(max-width:767px){.jg-pages .j-wrap,.jg-pages .wp-block-group.j-wrap{width:calc(100% - 40px)}.jg-pages .j-page-header,.jg-pages .j-page-header:has(.j-header-photo){display:block;padding-block:23px 28px}.jg-pages .j-main h1{font-size:clamp(38px,8.5vw,54px);max-width:none;overflow-wrap:normal}.jg-pages .j-main h2{font-size:34px}.jg-pages .j-page-header .j-lead{font-size:17px}.jg-pages .j-header-photo{margin:29px 0 7px}.jg-heading .jg-rays{width:27px;height:35px;margin-left:10px}.jg-pages .j-page-header .jg-rays{width:27px;height:37px}.jg-pages .j-section{padding-block:26px 36px}.jg-pages .j-proposal-grid,.jg-pages .j-resource-grid,.jg-pages .j-detail-grid,.jg-pages .j-editorial{grid-template-columns:1fr;gap:29px}.jg-pages .j-proposal-card:nth-child(even){margin-top:0}.jg-pages .j-card-art,.jg-pages .j-proposal-card:nth-child(even) .j-card-art,.jg-pages .j-catalog-group .j-card-art{aspect-ratio:1.65}.jg-pages .j-card-info h3,.jg-pages .j-catalog-group .j-card-info h3{font-size:27px}.jg-pages .j-card-info{padding:18px 66px 22px 13px}.jg-pages .j-catalog-group{padding-block:23px 32px}.jg-pages .j-detail-art{position:relative;top:auto;max-width:560px;margin:4px auto 10px}.jg-pages .j-detail-art img{aspect-ratio:1.4}.jg-pages .j-detail-fields{grid-template-columns:1fr 1fr;gap:14px}.jg-pages .j-detail-copy h2{font-size:32px}.jg-team-frame{margin:7px 0 18px}.jg-pages .j-legal{padding-right:0}.jg-pages .j-legal h2{font-size:30px}.jg-pages .j-event{grid-template-columns:74px minmax(0,1fr);gap:15px;padding:14px}.jg-pages .j-event time{min-height:104px}.jg-pages .j-event time strong{font-size:46px}.jg-pages .j-event time span{font-size:12px}.jg-pages .j-event h3{font-size:17px}.jg-pages .j-event p,.jg-pages .j-event>div>a{font-size:13px}.jg-pages .j-cta{padding-block:30px;margin-block:27px 10px}.jg-pages .j-cta-grid{padding-inline:10px}.jg-pages .j-cta:before{inset:0 5px}.jg-pages .j-cta h2{font-size:33px}.jg-pages .j-cta p{font-size:15px}.jg-pages .j-cta-grid .jg-rays{display:none}.jg-pages .j-cta-actions .j-button{width:auto;max-width:100%;flex:none!important}.jg-pages .j-form{padding:23px}.jg-pages .j-contact-intro h2{font-size:35px}.jg-pages .j-dossier{grid-template-columns:28px minmax(0,1fr);gap:13px}.jg-pages .j-button{font-size:14px;padding:14px 18px;gap:12px}.jg-pages .j-book-card{padding:22px}.jg-book-image{width:min(270px,100%)}.jg-pages .j-book-card h3{font-size:30px}.jg-pages .j-book-card p{font-size:16px}.jg-pages .j-breadcrumb{font-size:11px;gap:8px}.jg-pages .j-empty{display:block;padding:22px}.jg-pages .j-empty>.j-button{margin-top:14px}.jg-pages .j-gallery{grid-template-columns:1fr}}
@media(max-width:380px){.jg-pages .j-detail-fields{grid-template-columns:1fr}.jg-pages .j-event{grid-template-columns:63px minmax(0,1fr);gap:12px}.jg-pages .j-form{padding:18px}.jg-pages .j-main h1{font-size:38px}.jg-pages .j-card-info h3,.jg-pages .j-catalog-group .j-card-info h3{font-size:25px}}
@media(prefers-reduced-motion:reduce){.jg-pages .j-main *{transition:none!important;animation:none!important}.jg-pages .j-proposal-card:hover,.jg-pages .j-button:hover,.jg-pages .j-button:active,.jg-pages .j-button:hover span,.jg-pages .j-proposal-card a:hover .j-card-link>span{transform:none!important}}
