 :root {
  --umi-red: #b31f32;
  --umi-red-dark: #8f1728;
  --ink: #33363a;
  --muted: #6d7075;
  --line: #dedfe1;
  --paper: #fff;
  --soft: #f5f5f4;
  --shell: 1160px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Arial, Helvetica, sans-serif; font-size: 16px; line-height: 1.65; }
a { color: var(--umi-red-dark); text-decoration: none; }
a:hover { color: var(--umi-red); text-decoration: underline; }
button { font: inherit; }
.shell { width: min(var(--shell), calc(100% - 48px)); margin-inline: auto; }
.skip-link { position: absolute; z-index: 100; top: -60px; left: 16px; padding: 10px 14px; color: #fff; background: var(--umi-red-dark); }
.skip-link:focus { top: 12px; }
.site-header { position: relative; z-index: 20; background: #fff; }
.brand-row { min-height: 104px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand-home { display: inline-flex; align-items: center; gap: 22px; min-width: 0; }
.brand-home:hover { text-decoration: none; }
.brand-logo { display: block; min-width: 0; object-fit: contain; }
.brand-congress { width: 84px; height: 82px; }
.brand-umi { width: 162px; height: 55px; }
.brand-unisa { width: 185px; height: 52px; }
.brand-divider { width: 1px; height: 42px; flex-shrink: 0; background: var(--line); }
.brand-event { display: flex; flex-direction: column; align-items: flex-end; gap: 1px; color: #57595d; font-size: 13px; line-height: 1.4; }
.brand-kicker { color: var(--muted); }
.brand-event strong { color: var(--ink); font-size: 14px; font-weight: 600; }
.main-nav { border-top: 1px solid #f0f0f0; border-bottom: 1px solid var(--line); }
.nav-inner { position: relative; }
.primary-menu { display: flex; align-items: stretch; justify-content: center; gap: 0; margin: 0; padding: 0; list-style: none; }
.menu-item { position: relative; display: flex; align-items: center; min-height: 50px; border-bottom: 2px solid transparent; }
.menu-item > a { display: flex; align-items: center; height: 50px; padding: 0 15px; color: #56585b; font-size: 14px; font-weight: 600; white-space: nowrap; }
.menu-item > a:hover, .menu-item.is-active > a { color: #292b2e; text-decoration: none; }
.menu-item.is-active { border-bottom-color: var(--umi-red); }
.dropdown-toggle { display: none; width: 26px; height: 36px; margin-left: -10px; padding: 0; border: 0; color: #6b6d70; background: transparent; cursor: pointer; }
.dropdown-menu { position: absolute; z-index: 25; top: calc(100% - 1px); left: 0; display: none; min-width: 218px; margin: 0; padding: 7px 0; border: 1px solid #e4e4e4; border-top: 2px solid var(--umi-red); background: #fff; box-shadow: 0 10px 22px rgb(0 0 0 / 11%); list-style: none; }
.dropdown-menu li a { display: block; padding: 9px 15px; color: #66686b; font-size: 13px; line-height: 1.5; white-space: nowrap; }
.dropdown-menu li a:hover, .dropdown-menu li a[aria-current="page"] { color: var(--umi-red-dark); background: #f8f6f6; text-decoration: none; }
.has-dropdown.is-open .dropdown-menu { display: block; }
.mobile-menu-toggle { display: none; }
.page-context { min-height: 54px; border-bottom: 1px solid #e6e6e6; background: #fafafa; }
.context-inner { min-height: 54px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
#context-title { font-size: 16px; color: #55575a; }
.breadcrumbs { color: #7b7d80; font-size: 12px; }
.breadcrumbs a { color: #67696c; }
.hero-banner { overflow: hidden; color: #fff; background: #d7e6ee url("media/salerno.png") center 48% / cover no-repeat; }
.hero-banner[hidden] { display: none; }
.hero-inner { display: flex; min-height: clamp(340px, 27vw, 430px); flex-direction: column; align-items: center; justify-content: space-between; padding-block: 28px 20px; text-align: center; }
.hero-inner h1 { margin: 0; max-width: 100%; font-size: clamp(30px, 3vw, 43px); line-height: 1.16; font-weight: 600; }
.hero-location p { margin: 0; }
.hero-city { font-size: clamp(46px, 4.8vw, 66px); line-height: 1.1; font-weight: 600; }
.hero-dates { margin-top: 4px !important; font-size: clamp(21px, 2.2vw, 30px); line-height: 1.25; font-weight: 600; }
.page-layout { display: grid; grid-template-columns: minmax(0, 1fr) 258px; align-items: start; gap: 52px; padding-top: 40px; padding-bottom: 66px; }
.page-content { min-width: 0; outline: none; }
.page-heading { margin: 0 0 22px; padding-bottom: 12px; border-bottom: 1px solid var(--line); color: #34363a; font-size: 27px; line-height: 1.25; font-weight: 400; }
.page-heading::after { display: block; width: 54px; height: 3px; margin-top: 13px; background: var(--umi-red); content: ""; }
.lead { max-width: 780px; margin: 0 0 24px; color: #55585c; font-size: 17px; line-height: 1.7; }
.page-content h3 { margin: 28px 0 11px; color: #414347; font-size: 20px; font-weight: 600; line-height: 1.35; }
.page-content h4 { margin: 0 0 5px; font-size: 16px; }
.page-content p { margin: 0 0 16px; }
.page-content ul { margin: 0 0 20px; padding-left: 22px; }
.page-content li { margin: 0 0 7px; }
.page-content hr { height: 1px; margin: 27px 0; border: 0; background: var(--line); }
.section-navigation { position: sticky; top: 18px; margin-top: 2px; border: 1px solid var(--line); background: #fff; }
.section-navigation[hidden] { display: none; }
.aside-title { margin: 0; padding: 12px 15px; border-bottom: 1px solid var(--line); color: #56585b; font-size: 14px; font-weight: 600; }
.aside-list { margin: 0; padding: 5px 0; list-style: none; }
.aside-list a { display: block; padding: 8px 15px; border-left: 3px solid transparent; color: #686a6d; font-size: 13px; line-height: 1.45; }
.aside-list a:hover { color: var(--umi-red-dark); background: #faf8f8; text-decoration: none; }
.aside-list a[aria-current="page"] { border-left-color: var(--umi-red); color: var(--umi-red-dark); background: #f7f4f4; font-weight: 600; }
.info-strip { display: flex; flex-wrap: wrap; gap: 10px 25px; margin: 25px 0 3px; padding: 15px 18px; border-left: 3px solid var(--umi-red); background: var(--soft); }
.info-strip span { display: inline-flex; flex-direction: column; color: #686a6d; font-size: 12px; }
.info-strip strong { color: #3b3d40; font-size: 15px; font-weight: 600; }
.notice { margin: 22px 0; padding: 15px 18px; border: 1px solid #e6dadd; border-left: 4px solid var(--umi-red); background: #fbf8f8; color: #55575b; }
.notice strong { display: block; margin-bottom: 3px; color: #3d3f42; }
.pending { color: #5b5d60; }
.plain-table { width: 100%; border-collapse: collapse; margin: 18px 0 25px; font-size: 14px; }
.plain-table th, .plain-table td { padding: 10px 12px; border: 1px solid #dedfe1; text-align: left; vertical-align: top; }
.plain-table th { background: #f4f4f3; color: #434549; font-weight: 600; }
.plain-table tbody tr:nth-child(even) { background: #fafafa; }
.committee-table td:first-child { width: 35%; color: #3e4043; font-weight: 600; }
.organizing-committee { text-align: center; }
.organizing-committee p { margin-bottom: 14px; }
.section-list { margin: 0; padding: 0 !important; list-style: none; border-top: 1px solid var(--line); }
.section-list li { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 12px; margin: 0; padding: 13px 0; border-bottom: 1px solid var(--line); }
.section-code { color: var(--umi-red-dark); font-size: 14px; font-weight: 700; }
.section-name { display: block; margin-bottom: 3px; color: #393b3f; font-weight: 600; }
.section-organizers { display: block; color: #686a6d; font-size: 13px; }
.location-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(220px, .75fr); gap: 24px; margin: 24px 0; }
.location-map { display: block; width: 100%; height: 260px; object-fit: cover; border: 1px solid var(--line); background: #f1f1ef; }
.address-card { padding: 18px; border: 1px solid var(--line); background: #fafafa; }
.address-card h3 { margin-top: 0; }
.link-list { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 20px 0; padding: 0 !important; list-style: none; }
.link-list li { margin: 0; }
.partner-logos { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); align-items: center; gap: 14px; margin: 24px 0; }
.partner-logo { display: flex; align-items: center; justify-content: center; min-height: 104px; padding: 14px; border: 1px solid var(--line); background: #fff; }
.partner-logo img { max-width: 100%; max-height: 72px; object-fit: contain; }
.city-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 18px 0 28px; }
.city-card { padding: 14px 16px; border: 1px solid var(--line); background: #fff; }
.city-card h4 { color: var(--umi-red-dark); }
.city-card p { margin: 0; color: #5c5e62; font-size: 14px; }
.site-footer { border-top: 3px solid var(--umi-red); background: #f4f4f3; color: #56585b; }
.footer-main { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding-block: 26px; font-size: 13px; }
.footer-main p { margin: 0; }
.footer-brand { display: flex; align-items: center; gap: 13px; }
.footer-brand img { width: 88px; height: 44px; object-fit: contain; }
.footer-brand div { display: flex; flex-direction: column; line-height: 1.5; }
.footer-brand strong { color: #3e4043; }
.footer-brand span { color: #737579; }
.back-to-top { white-space: nowrap; }
.footer-bottom { padding-block: 10px; border-top: 1px solid #ddd; color: #77797c; font-size: 12px; }
@media (max-width: 1050px) {
  .menu-item > a { padding-inline: 10px; font-size: 13px; }
  .page-layout { gap: 32px; }
}
@media (max-width: 820px) {
  .shell { width: min(var(--shell), calc(100% - 32px)); }
  .brand-row { min-height: 92px; gap: 16px; }
  .brand-congress { width: 70px; height: 70px; }
  .brand-umi { width: 130px; }
  .brand-unisa { width: 145px; }
  .brand-home { gap: 13px; }
  .brand-event { font-size: 11px; }
  .brand-event strong { font-size: 12px; }
  .mobile-menu-toggle { display: flex; align-items: center; gap: 9px; width: 100%; min-height: 48px; padding: 0; border: 0; color: #45474a; background: #fff; font-size: 14px; font-weight: 600; cursor: pointer; }
  .menu-icon { font-size: 19px; line-height: 1; }
  .primary-menu { display: none; flex-direction: column; align-items: stretch; border-top: 1px solid var(--line); }
  .primary-menu.is-open { display: flex; }
  .menu-item { min-height: 44px; flex-wrap: wrap; border-bottom: 1px solid #ececed; }
  .menu-item > a { height: 43px; flex: 1; padding-inline: 4px; }
  .dropdown-toggle { display: inline-block; width: 40px; margin: 0; }
  .dropdown-menu { position: static; width: 100%; min-width: 0; border: 0; border-top: 1px solid #eee; box-shadow: none; }
  .dropdown-menu li a { padding-left: 20px; white-space: normal; }
  .page-layout { grid-template-columns: 1fr; gap: 25px; padding-top: 30px; padding-bottom: 45px; }
  .section-navigation { position: static; grid-row: 1; margin: 0; }
  .page-content { grid-row: 2; }
  .hero-inner { min-height: 310px; }
}
@media (max-width: 560px) {
  .shell { width: calc(100% - 28px); }
  .brand-row { align-items: flex-start; flex-direction: column; justify-content: center; gap: 3px; padding-block: 10px; }
  .brand-home { width: 100%; justify-content: flex-start; gap: 8px; }
  .brand-congress { width: 55px; height: 55px; }
  .brand-umi { width: 100px; height: 43px; }
  .brand-unisa { width: 120px; height: 42px; }
  .brand-divider { height: 34px; }
  .brand-event { align-items: flex-start; margin-left: 2px; }
  .brand-kicker { display: none; }
  .context-inner { min-height: 47px; }
  .breadcrumbs { font-size: 11px; text-align: right; }
  .hero-inner { min-height: 290px; padding-block: 23px 18px; }
  .hero-inner h1 { font-size: 27px; }
  .hero-city { font-size: 44px; }
  .hero-dates { font-size: 21px; }
  .page-heading { font-size: 24px; }
  .lead { font-size: 16px; }
  .plain-table { font-size: 13px; }
  .plain-table th, .plain-table td { padding: 8px; }
  .committee-table td:first-child { width: 42%; }
  .location-layout { grid-template-columns: 1fr; }
  .location-map { height: 230px; }
  .city-grid { grid-template-columns: 1fr; }
  .footer-main { align-items: flex-start; flex-direction: column; gap: 14px; }
}
