/* Aïllat a la fitxa Anastasi i Maria: no afecta l'Àliga */
.bdn-am{--am-gold:#d9b478;--am-ink:#20252a;background:#f7f4ee;color:var(--am-ink);font-family:system-ui,-apple-system,"Segoe UI",sans-serif}.bdn-am *{box-sizing:border-box}.bdn-am a{text-decoration:none}.bdn-am .am-nav{position:absolute;z-index:5;left:0;right:0;display:flex;align-items:center;justify-content:space-between;padding:27px clamp(20px,6vw,92px);color:#fff}.bdn-am .am-brand{font-size:22px;letter-spacing:.14em;font-weight:800;color:white}.bdn-am .am-brand span{font-weight:300}.bdn-am .am-nav nav{display:flex;gap:26px}.bdn-am .am-nav nav a{color:#fff;font-size:13px;letter-spacing:.06em}.bdn-am .am-hero{height:min(790px,90vh);min-height:590px;position:relative;background:#26272b;color:white;overflow:hidden}.bdn-am .am-slides,.bdn-am .am-slide,.bdn-am .am-hero-shade{position:absolute;inset:0}.bdn-am .am-slide{background-position:center 38%;background-size:cover;opacity:0;transition:opacity 1.1s ease}.bdn-am .am-slide.am-active{opacity:1}.bdn-am .am-hero-shade{background:linear-gradient(90deg,rgba(0,0,0,.72),rgba(0,0,0,.12) 85%),linear-gradient(0deg,rgba(0,0,0,.45),transparent 40%)}.bdn-am .am-hero-copy{position:absolute;left:clamp(24px,9vw,150px);bottom:19%;max-width:770px;z-index:2}.bdn-am .am-kicker,.bdn-am .am-eyebrow{font-size:12px;letter-spacing:.24em;font-weight:700;color:var(--am-gold)}.bdn-am h1,.bdn-am h2,.bdn-am h3{font-family:Georgia,"Times New Roman",serif}.bdn-am h1{font-size:clamp(55px,8vw,112px);line-height:1.04;margin:22px 0}.bdn-am h1 em{font-weight:400}.bdn-am .am-hero-copy>p:not(.am-kicker){font-size:clamp(17px,2vw,23px);line-height:1.6;max-width:570px}.bdn-am .am-cta{display:inline-block;border:1px solid rgba(255,255,255,.8);padding:15px 25px;margin-top:24px;color:#fff;font-size:13px;letter-spacing:.08em}.bdn-am .am-cta span{margin-left:20px}.bdn-am .am-slide-controls{position:absolute;bottom:38px;left:clamp(24px,9vw,150px);z-index:3;display:flex;gap:11px}.bdn-am .am-dot{width:30px;height:3px;padding:0;border:0;background:#ffffff80;cursor:pointer}.bdn-am .am-dot.am-current{background:var(--am-gold)}.bdn-am .am-shortcuts{display:flex;justify-content:center;gap:clamp(20px,5vw,80px);padding:24px 16px;background:#20252a}.bdn-am .am-shortcuts a{color:#eee;font-size:12px;letter-spacing:.1em;text-transform:uppercase}.bdn-am .am-section{max-width:1180px;margin:auto;padding:100px 28px;scroll-margin-top:20px}.bdn-am h2{font-size:clamp(36px,4.6vw,60px);font-weight:400;line-height:1.16;max-width:850px;margin:15px 0 46px}.bdn-am .am-two-col{display:grid;grid-template-columns:1fr 1fr;gap:70px;align-items:center}.bdn-am .am-section p:not(.am-eyebrow){font-size:17px;line-height:1.9;color:#505459}.bdn-am figure{margin:0}.bdn-am figure img{display:block;width:100%;height:410px;object-fit:cover}.bdn-am figcaption{padding:13px 0;color:#777;font-size:12px}.bdn-am .am-timeline-wrap{max-width:none;background:#eae5dc;padding-left:max(28px,calc((100vw - 1124px)/2));padding-right:max(28px,calc((100vw - 1124px)/2))}.bdn-am .am-timeline{max-width:900px}.bdn-am .am-timeline article{display:grid;grid-template-columns:130px 1fr;gap:32px;padding:28px 0;border-top:1px solid #c9c1b5}.bdn-am .am-timeline article span{font:35px Georgia,serif;color:#987449}.bdn-am .am-timeline h3{font-size:25px;margin:0 0 6px}.bdn-am .am-timeline p{margin:0}.bdn-am .am-gallery{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.bdn-am .am-gallery figure:first-child{grid-column:span 2}.bdn-am .am-gallery img{height:280px}.bdn-am .am-gallery figure:first-child img{height:280px}.bdn-am .am-footer{background:#20252a;color:#ccc;display:flex;justify-content:space-between;padding:35px clamp(25px,7vw,100px);font-size:13px}.bdn-am .am-footer a{color:#fff}@media(max-width:760px){.bdn-am .am-nav{padding:20px}.bdn-am .am-nav nav{gap:12px;flex-wrap:wrap;justify-content:flex-end}.bdn-am .am-nav nav a{font-size:11px}.bdn-am .am-hero{min-height:620px;height:85vh}.bdn-am .am-hero-copy{bottom:16%;right:22px}.bdn-am .am-shortcuts{gap:14px;flex-wrap:wrap}.bdn-am .am-two-col{grid-template-columns:1fr;gap:25px}.bdn-am .am-section{padding:65px 22px}.bdn-am .am-timeline article{grid-template-columns:80px 1fr;gap:14px}.bdn-am .am-timeline article span{font-size:26px}.bdn-am .am-gallery{grid-template-columns:1fr 1fr;gap:12px}.bdn-am .am-gallery figure:first-child{grid-column:span 2}.bdn-am .am-gallery img{height:180px}.bdn-am .am-footer{flex-direction:column;gap:15px}}


/* SELECTOR NATIVO ODOO - ANASTASI I MARIA */
.bdn-am .am-language-selector {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    flex-shrink: 0;
    position: relative;
    z-index: 50;
    color: white;
}
.bdn-am .am-language-selector .js_language_selector {
    display: inline-flex;
    align-items: center;
}
.bdn-am .am-language-selector .dropdown-toggle {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    color: white !important;
    padding: 4px 2px !important;
    font-size: 12px !important;
    font-weight: 600;
    white-space: nowrap;
}
.bdn-am .am-language-selector .dropdown-menu {
    z-index: 1060;
    min-width: 175px;
    max-height: 70vh;
    overflow-y: auto;
    padding: 4px;
}
.bdn-am .am-language-selector .dropdown-item {
    padding: 5px 9px;
    font-size: 12px;
}



/* IDENTITAT VISUAL OFICIAL GEGANTS - ADAPTADA A ANASTASI I MARIA */
.bdn-am .am-top {
    background: #142638;
    color: white;
}
.bdn-am .am-nav {
    position: relative;
    z-index: 50;
    left: auto;
    right: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: none;
    min-height: 72px;
    padding: 0 2.5%;
    gap: 18px;
    flex-wrap: nowrap;
}
.bdn-am .am-brand {
    color: white;
    font-size: clamp(18px,1.7vw,24px);
    font-weight: 900;
    letter-spacing: 1px;
    white-space: nowrap;
    flex-shrink: 0;
}
.bdn-am .am-brand b {
    color: #efb6a1;
}
.bdn-am .am-links {
    margin-left: auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: nowrap;
    gap: clamp(8px,1.1vw,17px);
    min-width: 0;
}
.bdn-am .am-links > a {
    color: white;
    font-size: clamp(10px,.91vw,13px);
    font-weight: 600;
    white-space: nowrap;
}
.bdn-am .am-links > a:hover {
    color: #ffd0bf;
}
.bdn-am .am-links .am-nav-ident {
    background: #bc5144;
    color: white;
    border-radius: 24px;
    padding: 9px 13px;
    font-size: 12px;
}
.bdn-am .am-language-selector {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    flex-shrink: 0;
    position: relative;
    z-index: 50;
    color: white;
}
.bdn-am .am-language-selector .js_language_selector {
    display: inline-flex;
    align-items: center;
}
.bdn-am .am-language-selector .dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    border: 1px solid rgba(255,255,255,.5) !important;
    border-radius: 22px;
    padding: 7px 10px !important;
    background: rgba(255,255,255,.1) !important;
    color: white !important;
    font-size: 12px !important;
    text-decoration: none;
    white-space: nowrap;
}
.bdn-am .am-language-selector .dropdown-menu {
    z-index: 1100;
    min-width: 175px;
    max-height: 70vh;
    overflow-y: auto;
}

/* PORTADA: MISMA COMPOSICION EDITORIAL */
.bdn-am .am-hero {
    height: clamp(560px,55vw,700px);
    min-height: 0;
    max-height: none;
}
.bdn-am .am-hero-shade {
    background: linear-gradient(to top,
        rgba(7,19,31,.88) 0%,
        rgba(7,19,31,.48) 26%,
        rgba(7,19,31,.05) 60%,
        transparent 78%);
}
.bdn-am .am-hero-copy {
    position: absolute;
    top: auto;
    left: 50%;
    right: auto;
    bottom: 38px;
    transform: translateX(-50%);
    width: min(94%,1050px);
    max-width: 1050px;
    text-align: center;
    z-index: 3;
}
.bdn-am .am-kicker {
    color: #ffd1c8;
}
.bdn-am .am-hero-copy h1 {
    font-family: Georgia,'Times New Roman',serif;
    font-size: clamp(38px,5.1vw,76px);
    font-weight: 500;
    letter-spacing: -.025em;
    line-height: 1.1;
    color: #fffaf3;
    text-shadow: 0 3px 15px rgba(0,0,0,.65);
    margin: 0 0 8px;
}
.bdn-am .am-title-ornament {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 13px;
    width: min(440px,70%);
    margin: 8px auto 12px;
    color: #edbf84;
    font-family: Georgia,serif;
    font-size: 21px;
}
.bdn-am .am-title-ornament:before,
.bdn-am .am-title-ornament:after {
    content: '';
    height: 1px;
    background: #edbf84;
    flex: 1;
    opacity: .85;
}
.bdn-am .am-hero-copy > p:not(.am-kicker) {
    font-family: Georgia,'Times New Roman',serif;
    font-size: clamp(17px,1.75vw,25px);
    line-height: 1.35;
    color: #fff7ee;
    text-shadow: 0 2px 8px #091623;
    margin: 0 auto 19px;
    max-width: 900px;
}
.bdn-am .am-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    background: #d65d52;
    border: 0;
    color: white;
    font-size: clamp(14px,1.15vw,17px);
    font-weight: 700;
    padding: 13px 27px;
    border-radius: 7px;
    box-shadow: 0 5px 18px rgba(0,0,0,.25);
    letter-spacing: 0;
}
.bdn-am .am-cta:hover {
    background: #bc5144;
    color: white;
}
.bdn-am .am-shortcuts {
    display: grid;
    grid-template-columns: repeat(8,minmax(0,1fr));
    gap: 8px;
    max-width: 1190px;
    margin: 22px auto 48px;
    padding: 0 12px;
    background: transparent;
}
.bdn-am .am-shortcuts a {
    display: block;
    background: white;
    border: 1px solid #eae4dd;
    border-radius: 8px;
    padding: 16px 5px;
    text-align: center;
    color: #162a3c;
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: none;
}
.bdn-am .am-shortcuts a span {
    display: block;
    font-size: 25px;
    margin-bottom: 8px;
    color: #bc5144;
}

@media(max-width:1100px) {
    .bdn-am .am-nav {padding: 12px 2%;gap: 10px}
    .bdn-am .am-links {gap: 8px}
    .bdn-am .am-links > a {font-size: 10px}
    .bdn-am .am-links .am-nav-ident {padding: 8px 10px;font-size: 10px}
}
@media(max-width:900px) {
    .bdn-am .am-nav {flex-direction: column;align-items: center;padding: 14px 18px}
    .bdn-am .am-links {margin: 0;flex-wrap: wrap;justify-content: center;gap: 12px}
    .bdn-am .am-links > a {font-size: 12px}
    .bdn-am .am-shortcuts {grid-template-columns: repeat(4,minmax(0,1fr))}
}
@media(max-width:640px) {
    .bdn-am .am-hero {height: clamp(360px,72vh,560px)}
    .bdn-am .am-hero-copy {bottom: 82px;width: 94%}
    .bdn-am .am-hero-copy h1 {font-size: clamp(31px,8vw,44px)}
    .bdn-am .am-hero-copy > p:not(.am-kicker) {font-size: 15px}
    .bdn-am .am-cta {padding: 11px 16px;font-size: 13px}
    .bdn-am .am-title-ornament {margin: 4px auto 8px}
    .bdn-am .am-shortcuts {grid-template-columns: repeat(2,minmax(0,1fr))}
}

/* AJUST FINAL CABECERA ANASTASI I MARIA */

.bdn-am .am-links .am-nav-ident {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    background: #bc5144 !important;
    color: #fff !important;
    border-radius: 24px;
    padding: 9px 13px !important;
    font-size: 12px !important;
    font-weight: 700;
    white-space: nowrap;
    flex-shrink: 0;
}

.bdn-am .am-links .am-language-selector {
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center;
    gap: 5px;
    white-space: nowrap;
    flex-shrink: 0;
    margin-left: 0;
}

.bdn-am .am-language-selector > span {
    display: inline-flex !important;
    align-items: center;
    line-height: 1;
    flex-shrink: 0;
}

.bdn-am .am-language-selector .js_language_selector {
    display: inline-flex !important;
    align-items: center !important;
    flex-shrink: 0;
}

.bdn-am .am-language-selector .dropdown-toggle {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center;
    white-space: nowrap;
    padding: 7px 10px !important;
}

.bdn-am .am-language-selector .dropdown-menu {
    position: absolute;
    right: 0;
    left: auto;
    min-width: 175px;
    z-index: 1100;
}

/* ENCUADRE PORTADA ANASTASI I MARIA */
.bdn-am .am-slide:first-child {
    background-position: center top !important;
}

