/* Shared SSA/Bologna geometry and Vienna editorial components.
   SGEM source content/order and the approved Home remain unchanged. */
:root {
    --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
    --font-display: var(--serif);
    --sgem-editorial-ink: #163c4a;
    --sgem-editorial-teal: #076b70;
    --sgem-editorial-gold: #ddb866;
}
body { font-family: var(--serif); }
button, input, select, textarea { font-family: inherit; }

/* Same 1280px navigation width, two-line type scale and logo clearance as SSA. */
#top .main-nav {
    /* Vienna Art: the menu begins exactly at the ticker's bottom edge. */
    top: 0;
    width: min(1280px, calc(100% - 44px));
    padding: 10px 14px 12px;
    background: linear-gradient(90deg, rgba(5,65,88,.94) 0 calc(50% - 104px), transparent calc(50% - 104px) calc(50% + 104px), rgba(6,93,107,.94) calc(50% + 104px) 100%);
    border-color: rgba(221,184,102,.35);
}
#top .nav-list {
    grid-template-columns: 32px 112px 135px 136px minmax(160px,1fr) 153px 125px 100px 82px 32px;
    gap: 8px;
}
#top .nav-item:nth-child(5) > .nav-link { padding-left: 18px; }
#top .nav-link {
    width: 100%;
    align-items: flex-start;
    min-width: 0;
    font-family: var(--serif);
    font-size: 13.5px;
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: 0;
    text-align: left;
}
#top .nav-link > span, #top .nav-link em { white-space: nowrap; }
#top .nav-item { min-width: 0; }
#top .nav-link em {
    margin-top: 6px;
    color: var(--sgem-editorial-gold);
    font-size: 10px;
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: .25px;
}
/* GREEN-style two-line highlight in SGEM gold, also while using the dropdown. */
#top .nav-item:hover > .nav-link,
#top .nav-item:focus-within > .nav-link,
#top .nav-link:hover,
#top .nav-link:focus-visible {
    color: var(--sgem-editorial-gold);
}

/* The same photographic Vienna/Bologna header, with complete section names. */
.sgem-bologna-page .inner-page-topper.sgem-photo-header { min-height: 410px; padding: 172px 0 38px; }
.sgem-bologna-page .inner-page-topper .container { width: min(1280px,calc(100% - 64px)); }
.sgem-bologna-page .inner-page-topper nav { font-size: 13px; font-weight: 600; letter-spacing: .6px; line-height: 1.5; text-transform: none; max-width: 980px; }
.sgem-bologna-page .inner-page-topper p { margin: 18px 0 9px; font-size: 14px; letter-spacing: 1.5px; }
.sgem-bologna-page .inner-page-topper h1 { max-width: 1040px; margin-top: 16px; font-size: clamp(40px,5vw,70px); line-height: 1.03; text-wrap: balance; }
.sgem-bologna-page .inner-page-topper h1::after { content: ''; display: block; width: 82px; height: 2px; margin-top: 22px; background: linear-gradient(90deg,#ddb866,#6abfca); }
.sgem-hero-edition { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; margin-top: 16px; color: #f5faf8; font-size: 17px; font-weight: 500; line-height: 1.3; }
.sgem-hero-edition > span:first-child { padding: 5px 12px; border: 1px solid #ddb86699; color: #f6d99b; font-size: 14px; letter-spacing: .08em; font-weight: 700; }
/* Replace dated raster promotions, retaining their original link destinations. */
.sgem-bologna-page .sgem-original-article .sgem-event-banner { display: flex; flex-direction: column; gap: 9px; position: relative; width: 100%; min-width: 0; max-width: 580px; padding: 24px 28px; margin: 8px 0; border-radius: 8px; border: 1px solid #ddb86688; border-left: 4px solid #ddb866; background: linear-gradient(100deg,#032e42f5,#064950dc 63%,#03435466),url('../images/editorial/earth-observation.webp') center/cover; box-shadow: 0 12px 26px #07374a20; color: #fff; text-align: left; line-height: 1.2; text-decoration: none; }
.sgem-event-banner > span { display: block; }
.sgem-event-banner .sgem-event-banner-kicker { color: #f6d99b; font-size: 12px; font-weight: 700; line-height: 1.4; text-transform: uppercase; letter-spacing: .04em; }
.sgem-event-banner .sgem-event-banner-title { color: #fff; font-size: clamp(30px,3vw,42px); font-weight: 700; line-height: 1; }
.sgem-event-banner .sgem-event-banner-dates { color: #fff; font-size: 23px; font-weight: 600; }
.sgem-event-banner .sgem-event-banner-location { color: #e1f3f2; font-size: 17px; }
.sgem-event-banner .sgem-event-banner-action { margin-top: 6px; color: #f6d99b; font-size: 17px; font-weight: 700; }
.sgem-bologna-page .sgem-original-article .sgem-venue-promotion { display: block; overflow: hidden; margin-block: 20px; border: 1px solid #cddeda; border-radius: 9px; background: #fff; text-align: left; box-shadow: 0 15px 35px #123e4612; }
.sgem-bologna-page .sgem-original-article .sgem-venue-promotion-photo { display: block; width: 100%; max-width: none; height: 260px; margin: 0; float: none; object-fit: cover; object-position: center 46%; border: 0; border-radius: 0; }
.sgem-venue-promotion-copy { display: block; padding: 26px 30px; }
.sgem-venue-promotion-copy > span { display: block; }
.sgem-venue-promotion-kicker { color: #087782; font-size: 15px; font-weight: 700; letter-spacing: .04em; }
.sgem-venue-promotion-title { margin: 8px 0 14px; color: #123d4a; font-size: clamp(32px,4vw,46px); font-weight: 600; line-height: 1.1; }
.sgem-venue-promotion-intro { color: #163c4a; font-size: 20px; line-height: 1.5; }
.sgem-venue-promotion-copy > .sgem-venue-promotion-benefits { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; margin-top: 24px; }
.sgem-venue-promotion-benefits > span { display: block; padding-top: 14px; border-top: 2px solid #ddb866; }
.sgem-venue-promotion-benefits strong { display: block; color: #076b70; font-size: 20px; line-height: 1.2; }
.sgem-venue-promotion-benefits > span > span { display: block; margin-top: 10px; color: #163c4a; font-size: 18px; line-height: 1.5; }
@media (max-width:1100px) {
    .sgem-venue-promotion-copy > .sgem-venue-promotion-benefits { grid-template-columns: 1fr; }
}
@media (max-width:1100px) {
    .sgem-bologna-page .inner-page-topper.sgem-photo-header { min-height: 370px; padding-top: 152px; }
}
@media (max-width:680px) {
    .sgem-bologna-page .inner-page-topper.sgem-photo-header { min-height: 360px; padding: 148px 0 30px; }
    .sgem-bologna-page .inner-page-topper .container { width: calc(100% - 36px); }
    .sgem-bologna-page .inner-page-topper h1 { font-size: 40px; overflow-wrap: anywhere; }
    .sgem-bologna-page .inner-page-topper nav { font-size: 13px; }
    .sgem-bologna-page .inner-page-topper p { font-size: 12px; letter-spacing: .8px; }
    .sgem-hero-edition { font-size: 15px; gap: 10px; }
    .sgem-bologna-page .sgem-original-article .sgem-event-banner { padding: 22px 18px; }
    .sgem-venue-promotion-copy { padding: 22px 20px; }
    .sgem-bologna-page .sgem-original-article .sgem-venue-promotion-photo { height: 200px; }
}
#top .crest-link { width: 140px; top: 10px; }
#top .crest-link img { display: block; width: 100%; height: auto; filter: drop-shadow(0 3px 9px rgba(0,0,0,.42)); }
.sgem-mobile-contact { display: none; }
#top .nav-contact { align-items: center; justify-content: center; min-height: 44px; }
#top .nav-contact:focus-visible, .sgem-mobile-contact:focus-visible { outline: 2px solid #f7dfaa; outline-offset: 3px; }
#top.is-scrolled .crest-link { width: 108px; top: 4px; }
#top .nav-item > .dropdown {
    background: rgba(12,17,17,.98);
    border: 1px solid rgba(221,184,102,.22);
    border-top: 3px solid var(--sgem-editorial-gold);
    box-shadow: 0 20px 44px rgba(0,0,0,.28);
}
#top .dropdown-link { color: #f6f5ef; font-family: var(--serif); font-size: 17px; font-weight: 600; line-height: 1.25; }
#top .dropdown-link:hover, #top .dropdown-link:focus-visible { background: rgba(221,184,102,.09); color: #f4d690; }
#top .dropdown-submenu { background: #151c1c; border-left-color: var(--sgem-editorial-gold); }
#top .dropdown-submenu .dropdown-link { font-size: 15px; }

.bologna-hot-news { background: #06404b; font-family: var(--serif); font-size: 16px; }
.bologna-hot-label, .bologna-hot-all {
    justify-content: center; min-width: 132px; padding: 0 20px;
    background: linear-gradient(120deg,#0787bc,#056d93); color: #fff;
    font-size: 18px; line-height: 1; letter-spacing: .045em;
    border-inline: 1px solid #ffffff24; box-shadow: inset 0 1px #ffffff30;
}
.bologna-hot-label { border-top-left-radius: 8px; }
.bologna-hot-all { border-top-right-radius: 8px; }
.bologna-hot-label:hover, .bologna-hot-all:hover, .bologna-hot-label:focus-visible, .bologna-hot-all:focus-visible { background: #075f73; color: #f7dfaa; }
.bologna-hot-label:focus-visible, .bologna-hot-all:focus-visible { outline: 2px solid #f7dfaa; outline-offset: -3px; }
.bologna-hot-track { min-width: 0; width: max-content; animation-duration: 300s; }
.bologna-hot-item { min-width: 0; padding: 0 18px; font-weight: 700; gap: 18px; }
.bologna-hot-item::before { content: '•'; color: #ddb866; }
.bologna-hot-item:nth-child(odd) strong { color: #f3f8f8; }
@media(max-width:720px) {
    .bologna-hot-label, .bologna-hot-all { min-width: 0; padding: 0 12px; font-size: 13px; }
    .bologna-hot-item { padding: 0 14px; gap: 14px; font-size: 14px; }
}

/* SSA keeps the central photographic slot visible as the crest rises/shrinks. */
@media(min-width:1101px) {
    #top.is-scrolled { background: transparent; box-shadow: none; }
    #top.is-scrolled .main-nav { backdrop-filter: none; }
}

.sgem-embed--ems { border: 1px solid #cbdfe6; border-radius: 8px; background: #f3f8fa; }
.sgem-embed--ems iframe { height: 1100px; border-radius: 8px; }

/* SSA four-column footer, using SGEM branding and every existing destination. */
footer.site-footer#venue {
    padding: 0;
    color: #f4f6f1;
    background: radial-gradient(circle at 8% 15%,rgba(221,184,102,.13),transparent 25%),linear-gradient(120deg,#052c3d,#074753 58%,#075d61);
}
.sgem-footer-main {
    display: grid;
    grid-template-columns: 1.25fr 1fr 1fr 1fr;
    gap: 45px;
    max-width: 1240px;
    padding-block: 70px 62px;
}
#venue .sgem-footer-main h2 { margin: 0 0 14px; color: var(--sgem-editorial-gold); font-size: 22px; font-weight: 600; line-height: 1.15; text-transform: none; letter-spacing: 0; }
#venue .sgem-footer-brand h2 { margin: 22px 0 11px; font-size: 31px; }
.sgem-footer-brand img { display: block; width: 118px; height: auto; }
#venue .sgem-footer-main p { margin: 0 0 27px; color: #f4f6f1; font-size: 16px; line-height: 1.72; }
#venue a { color: inherit; font-weight: 400; text-decoration: none; transition: color .2s; }
#venue a:hover, #venue a:focus-visible { color: #f7dfaa; text-decoration: underline; text-underline-offset: 4px; }
.sgem-footer-social { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
#venue .sgem-footer-social a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 5px; flex: 0 0 44px; transition: transform .2s,box-shadow .2s; }
.sgem-footer-social :is(img,svg) { display: block; width: 44px; height: 44px; }
#venue .sgem-footer-social a:focus-visible { outline: 2px solid #fff; outline-offset: 5px; }
@media (hover:hover) and (prefers-reduced-motion:no-preference) {
    #venue .sgem-footer-social a:hover { transform: translateY(-3px); box-shadow: 0 8px 18px rgba(0,0,0,.25); }
}
.sgem-footer-bottom { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; padding: 21px clamp(24px,4vw,66px); border-top: 1px solid rgba(221,184,102,.34); background: #042d3c; }
#venue .sgem-footer-bottom p { margin: 0; max-width: 530px; font-size: 15px; line-height: 1.5; }
.sgem-footer-navigation { display: grid; gap: 14px; max-width: 760px; }
.sgem-footer-bottom nav { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 10px 21px; font-size: 17px; }
.sgem-footer-bottom .sgem-footer-resources { font-size: 14px; color: #d8e6e2; }
.sgem-footer-stats { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); border-block: 1px solid rgba(221,184,102,.46); background: linear-gradient(115deg,#052f42,#074753 55%,#0e6666); }
.sgem-footer-stats>div { padding: 38px 18px; border-right: 1px solid rgba(221,184,102,.22); text-align: center; }
.sgem-footer-stats>div:last-child { border-right: 0; }
.sgem-footer-stats strong { display: block; color: #fff; font-size: clamp(35px,4vw,56px); font-weight: 700; line-height: 1; }
.sgem-footer-stats span { display: block; margin-top: 8px; color: #f7dfaa; font-size: 15px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }

/* Bologna's enquiry layout, with SGEM subject choices and existing contacts. */
.sgem-enquiry-layout { margin-top: 42px; scroll-margin-top: 160px; grid-template-columns: minmax(0,.35fr) minmax(0,.65fr); gap: 36px; }
.sgem-enquiry-layout .contact-form-copy { border-color: var(--sgem-editorial-gold); }
.sgem-enquiry-layout .contact-form-copy h3 { color: var(--sgem-editorial-ink); font-size: clamp(34px,3.5vw,48px); line-height: 1.06; }
.sgem-enquiry-layout .contact-form-copy p { color: var(--sgem-editorial-ink); font-size: 20px; line-height: 1.5; }
.sgem-enquiry-layout .contact-form-copy>a { display: inline-block; margin-top: 20px; color: var(--sgem-editorial-teal); font-size: 22px; }
.sgem-enquiry-card { min-width: 0; padding: 30px; border-top: 3px solid var(--sgem-editorial-teal); background: #fff; box-shadow: 0 18px 44px #123e4610; }
.sgem-enquiry-card .contact-form { max-width: none; padding: 0; border: 0; box-shadow: none; background: transparent; gap: 18px; }
.sgem-enquiry-card .form-grid { min-width: 0; }
.sgem-enquiry-card .contact-form label { display: grid; gap: 8px; margin: 0; min-width: 0; color: var(--sgem-editorial-ink); font-size: 18px; font-weight: 600; }
.sgem-enquiry-card .contact-form :is(input,select,textarea) { min-width: 0; max-width: 100%; min-height: 48px; font-size: 19px; padding: 12px; background: #fafbf7; }
.sgem-enquiry-card .contact-form :is(input,select,textarea):focus-visible { outline: 2px solid var(--sgem-editorial-teal); outline-offset: 2px; box-shadow: none; }
.sgem-enquiry-card .contact-form textarea { min-height: 190px; }
.sgem-enquiry-card .contact-form .sgem-form-check { display: flex; font-size: 17px; font-weight: 500; }
.sgem-enquiry-card .contact-form .sgem-form-check input { min-height: 20px; width: 20px; height: 20px; flex-shrink: 0; }
.sgem-enquiry-required { margin: 0; color: #526668; font-size: 16px; }
.sgem-enquiry-card .form-actions { gap: 18px; }
.sgem-enquiry-card .form-actions>a { color: var(--sgem-editorial-teal); font-size: 18px; }

/* Vienna's open editorial canvas, rather than one enclosing Joomla card. */
.sgem-bologna-source.legacy-content-section {
    background: linear-gradient(180deg,#fffdf8,#f4f9f6 68%,#fffdf8);
    padding-block: 48px 72px;
}
.sgem-original-article.sgem-bologna-content.legacy-content {
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    color: var(--sgem-editorial-ink);
    font-family: var(--serif);
    font-weight: 500;
}
.sgem-original-article.sgem-bologna-content :is(p,li,.module-content) { font-family: var(--serif); font-size: 20px; line-height: 1.65; }
.sgem-original-article.sgem-bologna-content font { font-family: inherit; font-size: inherit; }
.sgem-original-article.sgem-bologna-content :is(h2,h3,h4,.g-title,.onetitle) { color: var(--sgem-editorial-ink); font-family: var(--serif); font-weight: 600; }
.sgem-original-article.sgem-bologna-content h2 { font-size: clamp(32px,3.5vw,48px); line-height: 1.08; }
.sgem-original-article.sgem-bologna-content h3 { font-size: clamp(26px,2.6vw,36px); line-height: 1.15; }
.sgem-original-article.sgem-bologna-content .sgem-content-scene { padding: 30px clamp(20px,3vw,38px); margin-bottom: 26px; border: 1px solid rgba(13,91,94,.12); background: #fff; box-shadow: 0 12px 32px rgba(5,45,60,.05); }
.sgem-original-article.sgem-bologna-content .sgem-content-scene:nth-child(even) { border-top: 2px solid rgba(221,184,102,.7); background: #fffef9; }
.sgem-original-article.sgem-bologna-content .sgem-scene-pricing,
.sgem-original-article.sgem-bologna-content .sgem-scene-visual { padding: 0; border: 0; background: transparent; box-shadow: none; }
.sgem-original-article.sgem-bologna-content :is(.box1,.box2,.box3,.box4,.contactinfo,.alert,.warning,.g-mosaicgrid-item,.sprocket-strips-s-block) { border-top-color: var(--sgem-editorial-gold); background: #fffdf8; box-shadow: 0 12px 30px rgba(5,45,60,.07); }
.sgem-original-article.sgem-bologna-content ul.g-pricingtable { border-top-color: var(--sgem-editorial-gold); background: linear-gradient(135deg,#fffdf8,#f2f8f5); box-shadow: 0 12px 32px rgba(5,45,60,.07); }
.sgem-original-article.sgem-bologna-content .g-pricingtable-item { font-size: 18px; line-height: 1.5; }
.sgem-original-article.sgem-bologna-content .g-pricingtable-plan { font-size: 28px; }
.sgem-original-article.sgem-bologna-content .g-pricingtable-price { font-size: 38px; }
.sgem-original-article.sgem-bologna-content .g-pricingtable-period { font-size: 16px; }
.sgem-original-article.sgem-bologna-content .g-pricingtable-ribbon { font-size: 12px; }
.sgem-original-article.sgem-bologna-content .g-pricingtable-ribbon { position: static; align-self: flex-start; max-width: 100%; }
.sgem-original-article.sgem-bologna-content .g-pricingtable-plan { padding-right: 0; }
.sgem-original-article.sgem-bologna-content :is(.button,.readon) { background: linear-gradient(135deg,#075c79,#087c78); border-color: rgba(221,184,102,.6); font-size: 15px; }
.sgem-original-article.sgem-bologna-content .sprocket-lists-modern-title { background: #f3f8f5; border-left: 3px solid var(--sgem-editorial-gold); }
.sgem-original-article.sgem-bologna-content .is-open > .sprocket-lists-modern-title { background: linear-gradient(110deg,#06465f,#087875); color: #fff; }
.sgem-original-article.sgem-bologna-content .sprocket-padding { font-size: 20px; }
/* Joomla used h5 for entire instruction paragraphs. Keep the source markup,
   with Vienna's readable body scale rather than oversized heading-sized copy. */
.sgem-original-article.sgem-bologna-content .box4 h5 { font-size: 20px; line-height: 1.5; font-weight: 500; }
.sgem-original-article.sgem-bologna-content th { background: #076875; }
.sgem-original-article.sgem-bologna-content tr:nth-child(even) td { background: #f3f8f5; }

@media (hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference) {
    .sgem-original-article.sgem-bologna-content :is(.g-pricingtable,.g-mosaicgrid-item,.sprocket-strips-c-block) { transition: transform .2s,box-shadow .2s; }
    .sgem-original-article.sgem-bologna-content :is(.g-pricingtable,.g-mosaicgrid-item,.sprocket-strips-c-block):hover { transform: translateY(-4px); box-shadow: 0 20px 38px rgba(5,45,60,.12); }
}
@media (min-width:1101px) and (max-width:1324px) {
    #top .main-nav { background: linear-gradient(90deg,rgba(5,65,88,.94) 0 calc(50% - 86px),transparent calc(50% - 86px) calc(50% + 86px),rgba(6,93,107,.94) calc(50% + 86px) 100%); }
    #top .nav-list { grid-template-columns: 28px 106px 121px 135px minmax(138px,1fr) 123px 108px 80px 68px 28px; gap: 6px; }
    #top .nav-item:nth-child(5) > .nav-link { padding-left: 26px; }
    #top:not(.is-scrolled) .crest-link { width: 118px; top: 14px; }
    #top .nav-link { font-size: 12px; }
    #top .nav-link em { font-size: 9.5px; letter-spacing: 0; }
}
@media (max-width:1100px) {
    #top, #top.is-scrolled { min-height: 82px; height: 82px; background: linear-gradient(105deg,#053c52,#08696e); }
    #top::before { display: none; }
    #top .main-nav, #top.is-scrolled .main-nav { top: 20px; width: calc(100% - 44px); padding: 0; border: 0; background: none; box-shadow: none; backdrop-filter: none; }
    #top .nav-toggle { display: inline-flex; position: relative; width: 44px; height: 40px; flex-direction: column; justify-content: center; gap: 5px; border: 1px solid rgba(221,184,102,.45); background: rgba(0,0,0,.18); cursor: pointer; }
    #top .nav-toggle span { display: block; width: 24px; height: 2px; margin: 0 auto; background: #fff; }
    #top .crest-link, #top.is-scrolled .crest-link, #top:not(.is-scrolled) .crest-link { top: 1px; width: 94px; }
    #top .sgem-mobile-contact { position: absolute; display: grid; place-items: center; width: 44px; height: 44px; right: 22px; top: 18px; z-index: 3; pointer-events: auto; }
    #top .nav-list>.nav-item:has(.nav-contact) { display: none; }
    #top .nav-list { display: none; grid-template-columns: 1fr; gap: 0; margin-top: 22px; padding: 16px; max-height: calc(100dvh - 134px); overflow-y: auto; background: #101819; border-top: 3px solid var(--sgem-editorial-gold); }
    #top .nav-list.is-open { display: grid; }
    #top .nav-item:nth-child(5) { grid-column: auto; }
    #top .nav-item:nth-child(5) > .nav-link { padding-left: 0; }
    #top .nav-link { min-height: 45px; margin-top: 12px; font-size: 16px; }
    #top .nav-link em { font-size: 11px; }
    #top .nav-item > .dropdown, #top .dropdown-submenu { position: static; display: block; width: auto; min-width: 0; max-width: none; max-height: none; padding: 2px 0 8px 14px; margin: 0; border: 0; background: transparent; box-shadow: none; transform: none !important; opacity: 1; visibility: visible; overflow: visible; }
    #top .dropdown-submenu { border-left: 1px solid rgba(221,184,102,.3); margin-left: 12px; }
    #top .dropdown-link { padding: 9px 10px; font-size: 17px; }
    #top .dropdown-submenu .dropdown-link { font-size: 16px; }
    .sgem-footer-main { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 30px 45px; }
    .sgem-footer-bottom { flex-direction: column; align-items: flex-start; gap: 17px; }
    .sgem-footer-bottom nav { justify-content: flex-start; }
}
@media(max-width:980px) {
    .sgem-enquiry-layout { grid-template-columns: minmax(0,1fr); gap: 24px; }
    .sgem-enquiry-layout .contact-form-copy { position: static; }
}
@media (max-width:680px) {
    .sgem-footer-stats { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .sgem-footer-stats>div { padding: 28px 14px; border-bottom: 1px solid rgba(221,184,102,.22); }
    .sgem-footer-stats>div:nth-child(even) { border-right: 0; }
    .sgem-footer-stats>div:last-child { grid-column: 1/-1; border-bottom: 0; }
    .sgem-footer-main { grid-template-columns: 1fr; padding-block: 45px 12px; gap: 24px; }
    #venue .sgem-footer-main p { margin-bottom: 12px; }
    .sgem-footer-navigation { gap: 18px; }
    .sgem-footer-bottom .sgem-footer-resources { gap: 10px 18px; }
    .sgem-enquiry-card { padding: 24px 18px; }
    .sgem-enquiry-card .form-grid { grid-template-columns: minmax(0,1fr); }
    .sgem-footer-bottom nav { flex-shrink: 1; font-size: 16px; }
    .sgem-bologna-source.legacy-content-section { padding-block: 30px 45px; }
    .sgem-original-article.sgem-bologna-content :is(p,li,.module-content) { font-size: 18px; line-height: 1.6; }
    .sgem-original-article.sgem-bologna-content .g-pricingtable-price { font-size: 34px; line-height: 1.2; }
    .sgem-original-article.sgem-bologna-content .g-pricingtable-plan { font-size: 27px; }
    .sgem-original-article.sgem-bologna-content .g-pricingtable-ribbon { font-size: 12px; }
    .sgem-original-article.sgem-bologna-content :is(h2,h3,h4,.g-title,.onetitle) { font-size: clamp(24px,7.2vw,30px); line-height: 1.13; }
    .sgem-original-article.sgem-bologna-content .sprocket-strips-c-title { font-size: 20px; line-height: 1.2; overflow-wrap: normal; }
    .sgem-original-article.sgem-bologna-content .box4 h5 { font-size: 18px; line-height: 1.55; }
    .sgem-original-article.sgem-bologna-content .sgem-content-scene { padding: 22px 18px; }
    .sgem-original-article.sgem-bologna-content .sgem-scene-pricing,
    .sgem-original-article.sgem-bologna-content .sgem-scene-visual { padding: 0; }
}
.sgem-programme-notice { padding: 26px 30px; margin-bottom: 24px; background: linear-gradient(125deg, #eff8fb, #f1f8f4); border-left: 3px solid #0c8495; }
.sgem-programme-notice h3 { margin: 10px 0; color: #083c54; }
.sgem-programme-notice p:last-child { margin-bottom: 0; }
.sgem-programme-archive > summary { padding: 16px 20px; cursor: pointer; color: #083c54; border-top: 1px solid #d4b967; background: #f5f9fa; }
.sgem-programme-archive[open] > summary { margin-bottom: 20px; }
@media (max-width: 680px) { .sgem-programme-notice { padding: 22px 20px; } }

/* Visible edition dates on every photograph, not only the bottom hero rail. */
.sgem-home-atlas .hero-content > .sgem-hero-dates { margin: 10px 0 12px; color: #f4cf72; font-size: clamp(28px,3vw,44px); font-weight: 700; line-height: 1.05; letter-spacing: .02em; text-shadow: 0 2px 12px #001b27; }
.sgem-bologna-page .sgem-hero-edition > span:last-child { color: #f4cf72; font-size: clamp(23px,2.2vw,32px); font-weight: 700; text-shadow: 0 2px 10px #001b27; }
@media(max-width:980px) {
    /* Keep touch controls on the photograph, clear of the original headings. */
    .sgem-home-atlas .sgem-atlas-hero .hero-arrow { top: 88px; width: 44px; height: 44px; transform: none; }
}
@media(max-width:380px) {
    .sgem-home-atlas .sgem-atlas-hero .hero-title { font-size: 32px; }
}
@media(max-width:340px) {
    .sgem-home-atlas .sgem-atlas-hero .hero-slide:nth-child(2) .hero-title { font-size: 28px; }
}
@media(min-width:1101px) {
    /* Remove clipping and the dead hover gap between parent and child menus. */
    #top .sgem-managed-menu .nav-item > .dropdown { top: calc(100% - 1px); left: 0; right: auto; min-width: 290px; max-width: min(380px,calc(100vw - 28px)); max-height: none; overflow: visible; transform: none!important; }
    /* Vienna Art anchors: Registration starts at its left edge, clear of
       the crest; Venue is centered, final panels stay inside the right edge. */
    #top .sgem-managed-menu .nav-item:nth-child(6) > .dropdown { left: 50%; right: auto; transform: translateX(-50%)!important; }
    #top .sgem-managed-menu .nav-item:nth-child(n+7) > .dropdown { right: 0; left: auto; }
    #top .sgem-managed-menu .dropdown-submenu { position: absolute; display: block; margin: 0; padding: 10px; top: -3px; left: calc(100% - 1px); right: auto; min-width: 285px; max-width: 360px; max-height: none; overflow: visible; background: #151c1c; border: 1px solid rgba(221,184,102,.3); border-top: 3px solid var(--sgem-editorial-gold); box-shadow: 0 18px 40px rgba(0,15,29,.3); transform: none!important; }
    #top .sgem-managed-menu .sgem-flyout-left > .dropdown-submenu { right: calc(100% - 1px); left: auto; }
    #top .sgem-managed-menu .has-dropdown > .dropdown { opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .12s ease; }
    #top .sgem-managed-menu .has-dropdown.is-menu-open > .dropdown { opacity: 1; visibility: visible; pointer-events: auto; }
    #top .sgem-managed-menu .dropdown[style*="max-height"] { overflow-y: auto; }
}

.sgem-programme-lead { margin-bottom: 26px; }
.sgem-programme-lead h3 { color: #093f55; font-size: clamp(28px,3vw,40px); line-height: 1.1; margin: 12px 0; }
.sgem-programme-lead p { color: #254450; font-size: 20px; line-height: 1.5; }
.sgem-programme-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); align-items: start; gap: 20px; }
.sgem-programme-day { overflow: hidden; min-width: 0; border: 1px solid #d0e2df; border-top: 3px solid #bda063; border-radius: 8px; background: #fff; box-shadow: 0 12px 30px #06374a10; }
.sgem-programme-day > summary { display: block; cursor: pointer; list-style: none; }
.sgem-programme-day > summary::-webkit-details-marker { display: none; }
.sgem-programme-photo { position: relative; display: block; height: 164px; background: #063b4f; }
.sgem-programme-photo::after { position: absolute; content: ''; inset: 0; background: linear-gradient(transparent,#022731d9); }
.sgem-programme-photo img { width: 100%; height: 100%; object-fit: cover; }
.sgem-programme-photo time { position: absolute; left: 18px; bottom: 16px; z-index: 1; color: #ffdb8b; font-size: 21px; line-height: 1; font-weight: 600; text-shadow: 0 2px 6px #031b26; }
.sgem-programme-photo time b { font-size: 45px; padding-right: 5px; }
.sgem-programme-day-copy { display: block; padding: 18px; }
.sgem-programme-weekday { display: block; color: #067b85; font-size: 15px; letter-spacing: .08em; text-transform: uppercase; }
.sgem-programme-day-title { display: block; min-height: 2.25em; margin: 8px 0 18px; color: #093f55; font-size: 26px; line-height: 1.1; font-weight: 600; }
.sgem-programme-day-link { display: flex; justify-content: space-between; color: #076b70; font-size: 18px; font-weight: 700; }
.sgem-programme-day-link b { font-size: 24px; line-height: 1; }
.sgem-programme-day[open] .sgem-programme-day-link b { font-size: 0; }
.sgem-programme-day[open] .sgem-programme-day-link b::after { content: '−'; font-size: 24px; }
.sgem-programme-day[open] { border-color: #068595; }
.sgem-programme-detail { padding: 0 18px 18px; color: #254450; font-size: 19px; line-height: 1.5; }
.sgem-programme-detail p { margin: 10px 0 0; }
.sgem-programme-example { padding-bottom: 8px; color: #806225; font-size: 17px; font-weight: 700; }
.sgem-programme-slots { display: grid; gap: 12px; margin: 10px 0 14px; }
.sgem-programme-slots > div { padding: 14px; border-left: 2px solid #bda063; background: #f0f7f6; }
.sgem-programme-slots :is(time,strong,span) { display: block; }
.sgem-programme-slots time { color: #0b6976; font-size: 24px; font-weight: 700; line-height: 1.15; }
.sgem-programme-slots strong { margin: 6px 0; color: #093f55; font-size: 20px; }
.sgem-programme-slots span { font-size: 18px; }
.sgem-programme-day > summary:focus-visible { outline: 3px solid #c2a562; outline-offset: -3px; }
.sgem-programme-photo-note { margin: 18px 0 30px; color: #55707a; font-size: 16px; }
.sgem-schedule-overview { display: grid; grid-template-columns: 1fr; gap: 16px; }
.sgem-schedule-phase { padding: 22px; border: 1px solid #d0e1df; border-left: 3px solid #bda063; border-radius: 8px; background: linear-gradient(120deg,#f1f8fa,#fff); }
.sgem-schedule-phase > span { display: block; }
.sgem-schedule-date { color: #8a651a; font-size: 27px; font-weight: 700; }
.sgem-schedule-heading { color: #0b4c5d; margin: 5px 0 10px; font-size: 26px; font-weight: 600; }
.sgem-schedule-copy { color: #254450; font-size: 20px; line-height: 1.5; }
.sgem-editorial .sgem-panel:has(> .sgem-schedule-overview) { padding: 0; border: 0; background: none; box-shadow: none; }
@media(max-width:1100px) { .sgem-programme-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media(max-width:580px) { .sgem-programme-grid { grid-template-columns: minmax(0,1fr); gap: 18px; } .sgem-programme-photo { height: 190px; } .sgem-programme-day-title { min-height: 0; } .sgem-programme-lead p { font-size: 19px; } }
@media(hover:hover) and (prefers-reduced-motion:no-preference) { .sgem-programme-day { transition: transform .18s,box-shadow .18s; } .sgem-programme-day:hover { transform: translateY(-3px); box-shadow: 0 16px 32px #06374a22; } }

/* Complete SSA accommodation catalogue, with SGEM's existing blue palette. */
.sgem-accommodation .g-container { width:100%;max-width:none;padding:0; }
.sgem-accommodation [itemprop="articleBody"] { min-width:0; }
.sgem-accommodation .sgem-accommodation-category { margin:0 0 12px;font-size:15px;letter-spacing:.08em;color:#087888;font-weight:600; }
.sgem-accommodation .sgem-accommodation-lead { font-size:21px;line-height:1.65;margin:0 0 28px; }
.sgem-accommodation .sgem-accommodation-card-grid { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;margin:22px 0;align-items:stretch; }
.sgem-accommodation .sgem-accommodation-card { min-width:0;height:100%;padding:20px 22px;border:1px solid #d0e1e6;border-top:3px solid #087888;border-radius:8px;background:#fff;box-shadow:0 5px 18px #06374a0a;display:flex;flex-direction:column; }
.sgem-accommodation .sgem-accommodation-card:nth-child(even) { border-top-color:#d8b85e;background:#f5fafb; }
.sgem-accommodation .sgem-accommodation-card-illustration { display:block;width:100%;height:210px;max-height:none;margin:0 0 18px;border:0;border-radius:5px;object-fit:cover;object-position:50% 36%; }
.sgem-accommodation .sgem-accommodation-card h3 { margin:0 0 16px;font-size:26px;line-height:1.2; }
.sgem-accommodation .sgem-accommodation-card h3 a { color:inherit; }
.sgem-accommodation .sgem-accommodation-card > p { margin:0 0 12px; }
.sgem-accommodation .sgem-accommodation-card-action { display:block;width:fit-content;margin-top:auto;padding-top:8px;color:#087888;font-size:18px;font-weight:600;text-decoration:underline;text-underline-offset:3px; }
.sgem-accommodation .sgem-accommodation-cover { margin:26px 0 18px;overflow:hidden;border-radius:8px;border-top:3px solid #087888; }
.sgem-accommodation .sgem-accommodation-cover img { display:block;width:100%;height:auto;max-height:540px;object-fit:cover;margin:0; }
.sgem-accommodation .sgem-accommodation-gallery { display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:14px;margin:0 0 28px; }
.sgem-accommodation .sgem-accommodation-gallery a { display:block;overflow:hidden;border-radius:6px; }
.sgem-accommodation .sgem-accommodation-gallery img { display:block;width:100%;height:200px;object-fit:cover;margin:0; }
.sgem-accommodation .sgem-accommodation-categories { display:flex;flex-wrap:wrap;gap:10px;margin:0 0 30px; }
.sgem-accommodation .sgem-accommodation-categories a { min-height:44px;padding:10px 16px;border:1px solid #d0e1e6;border-bottom:2px solid #087888;border-radius:4px;background:#f0f7fa;color:#06374a; }
.sgem-accommodation .sgem-accommodation-categories [role="tab"][aria-selected="true"] { color:#fff;background:#087888;border-color:#087888; }
.sgem-accommodation .sgem-accommodation-categories a:focus-visible { outline:2px solid #06374a;outline-offset:3px; }
.sgem-accommodation .sgem-accommodation-meal-plans { padding:22px 25px;border-left:3px solid #087888;background:#eef7f9;margin-bottom:35px; }
.sgem-accommodation .sgem-accommodation-meal-plans h3 { margin-top:0; }
.sgem-accommodation .sgem-accommodation-group-title { margin:32px 0 22px; }
.sgem-accommodation .sgem-accommodation-enquiry { padding:18px 22px;border-left:3px solid #d8b85e;background:#f5fafb;margin:30px 0; }
.sgem-accommodation [data-hotel-panel][hidden] { display:none!important; }
.sgem-accommodation .sgem-accommodation-gallery a:only-child img { height:auto;max-height:420px; }
@media(max-width:700px) {
 .sgem-accommodation .sgem-accommodation-card-grid,.sgem-accommodation .sgem-accommodation-gallery { grid-template-columns:minmax(0,1fr);gap:18px; }
 .sgem-accommodation .sgem-accommodation-gallery img { height:auto;max-height:none; }
 .sgem-accommodation .sgem-accommodation-lead { font-size:20px; }
 .sgem-accommodation .sgem-accommodation-meal-plans,.sgem-accommodation .sgem-accommodation-enquiry { padding:18px; }
}
