/* ============================================================
   blackalps.css — Base styles
   Loaded first; ba-ng.css overrides where needed.
   ============================================================ */

:root {
  --ba-theme-color: orange;
}

/* Fonts */
@font-face { font-family: 'Barlow Condensed'; src: url(../fonts/BarlowCondensed-Regular.ttf) format('truetype'); font-weight: 400; font-style: normal; }
@font-face { font-family: 'Barlow Condensed'; src: url(../fonts/BarlowCondensed-Italic.ttf) format('truetype'); font-weight: 400; font-style: italic; }
@font-face { font-family: 'Barlow Condensed'; src: url(../fonts/BarlowCondensed-Bold.ttf) format('truetype'); font-weight: 700; font-style: normal; }
@font-face { font-family: 'Barlow Condensed'; src: url(../fonts/BarlowCondensed-BoldItalic.ttf) format('truetype'); font-weight: 700; font-style: italic; }
@font-face { font-family: 'Barlow Condensed'; src: url(../fonts/BarlowCondensed-ExtraBold.ttf) format('truetype'); font-weight: 800; font-style: normal; }
@font-face { font-family: 'Barlow Condensed'; src: url(../fonts/BarlowCondensed-ExtraBoldItalic.ttf) format('truetype'); font-weight: 800; font-style: italic; }
@font-face { font-family: Airstrike; src: url(../fonts/airstrike.ttf); }
@font-face { font-family: Data; src: url(../fonts/data-latin.ttf); }
@font-face { font-family: 'Lora'; src: url(../fonts/lora.ttf) format('truetype'); font-weight: 100 900; font-style: normal; }
@font-face { font-family: 'Lora'; src: url(../fonts/lora-italic.ttf) format('truetype'); font-weight: 100 900; font-style: italic; }
@font-face { font-family: 'Montserrat'; src: url(../fonts/montserrat.ttf) format('truetype'); font-weight: 100 900; font-style: normal; }
@font-face { font-family: 'Montserrat'; src: url(../fonts/montserrat-italic.ttf) format('truetype'); font-weight: 100 900; font-style: italic; }
@font-face { font-family: 'Open Sans'; src: url(../fonts/open-sans.ttf) format('truetype'); font-weight: 100 900; font-style: normal; }
@font-face { font-family: 'Open Sans'; src: url(../fonts/open-sans-italic.ttf) format('truetype'); font-weight: 100 900; font-style: italic; }

/* Base */
html { scroll-padding-top: 100px; }

body {
  font-family: "Open Sans";
  font-size: 14px;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
@media (min-width: 768px) { body { font-size: 16px; } }

main { flex: 1; }

a { text-decoration: none; }
img { border-radius: 10px; }
td { padding: 0 2em 0 0; vertical-align: top; }

.savethedate { color: orange; border-color: orange; }
.ba-theme-colored { color: var(--ba-theme-color); border-color: var(--ba-theme-color); }
.vertical-align { display: flex; align-items: center; }


/* ---- Footer ---- */
footer {
  border-top: solid 1px #666;
  background: #161616;
  padding: 20px 0;
}
footer, footer a { color: #BBB; }
footer a:hover { color: #FFF; }
footer .no-padding { padding: 0; }


/* ---- Page headers ---- */
.blackalps-head {
  display: table;
  width: 100%;
  height: 400px;
  color: white;
  background-color: black;
  background-position: center 30%;
  background-repeat: no-repeat;
  background-size: cover;
}
.blackalps-head h1 {
  font-size: 50px;
  font-family: Airstrike;
  border-bottom: none;
  line-height: 1.2ex;
  margin: 10px;
}
.blackalps-head h2 { font-size: 30px; font-family: Airstrike; margin: 0; }
.blackalps-head p { font-size: 18px; text-align: center; margin: 3px; }
@media (min-width: 768px) {
  .blackalps-head h1 { font-size: 80px; }
  .blackalps-head p  { font-size: 22px; }
}

div.blackalps-content { margin: 10px 0 30px; }
@media (min-width: 768px) { div.blackalps-content { margin: 20px 0 50px; } }


/* ---- Home banner ---- */
#blackalps img, #welcome-ba .blackalps-head img, #ba-summer .blackalps-head img {
  display: block; width: 30%; margin: 12ex auto 4ex; border-radius: 0;
}
#blackalps h1, #welcome-ba h1, #ba-summer h1 { font-size: 0; }
#blackalps h2 { font-family: Helvetica; text-transform: none; font-weight: normal; font-size: 22px; margin: 0; padding: 0; }
#blackalps p  { font-family: Helvetica; text-transform: none; font-size: 18px; }
@media (min-width: 768px) {
  #blackalps h2 { font-size: 30px; }
  #blackalps p  { font-size: 22px; }
}

h1.ba-top-page, h2.ba-top-page { text-align: center; font-family: Helvetica; border: none; }
h1.ba-top-page { font-size: 30px; font-weight: normal; margin: 2ex 0 1ex; }
h2.ba-top-page { text-transform: none; font-size: 44px; margin: 1ex 0 2ex; }

.header-title    { font-size: clamp(1.8rem, 3vw, 3rem) !important; line-height: 1.2; }
.header-page     { margin-top: 10px !important; }
.header-subtitle { margin-top: 10px !important; }


/* ---- Welcome page ---- */
#welcome .blackalps-head h1 { font-size: 0; }
#welcome .blackalps-head h2 { font-family: Helvetica, sans-serif; text-transform: none; font-size: 22px; }
#welcome .blackalps-head p  { font-family: Helvetica, sans-serif; text-transform: none; font-size: 18px; }
#welcome .blackalps-head img { width: 90%; margin: 30px; }
@media (min-width: 768px) {
  #welcome .blackalps-head h2 { font-size: 30px; }
  #welcome .blackalps-head p  { font-size: 22px; }
  #welcome .blackalps-head img { width: 600px; }
}


/* ---- Boxes ---- */
.ba-boxed, .ba-welcome-box, .ba-carousel-box {
  border: 1px solid color-mix(in srgb, var(--ba-theme-color) 40%, #1a1a1a);
  border-radius: 16px;
  background: linear-gradient(145deg, #0f0f0f 0%, #0a0a0a 100%);
  position: relative;
  overflow: hidden;
}

.ba-boxed::before, .ba-welcome-box::before, .ba-carousel-box::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--ba-theme-color) 60%, transparent), transparent);
}
.ba-boxed { padding: 10px; margin-bottom: 2ex; }
.ba-welcome-box { margin: 2ex 10%; min-height: 25ex; }
.ba-welcome-box h2, .ba-carousel-box h2 { font-size: 22px; font-weight: normal; margin: 1ex 0; padding: 0; }
.ba-welcome-box p, .ba-carousel-box p { margin-bottom: 1ex; }
.ba-carousel { padding: 2ex; }
.ba-carousel-box { margin: 2ex; padding: 1ex; min-height: 400px; }
.ba-carousel a:hover, .ba-carousel a:focus { background: none; }


/* ---- Buttons ---- */
.btn, .network-name {
  margin: 10px; border-radius: 10px;
  color: black; background-color: white;
  text-transform: none; font-weight: 400;
}
.btn-default:hover { background-color: #444; }
.btn-default .fa, .network-name { color: orange; background-color: transparent; }
.network-user { font-family: "Lora", Helvetica, Arial, sans-serif; text-transform: none; font-size: 14px; }
.btn td { padding: 0 20px 0 0; }


/* ---- Sponsors ---- */
.sponsors .photo-wrapper { margin: 0; padding: 0; display: inline-block; max-width: 100%; }
.sponsors a:hover img { background: linear-gradient(to right bottom, #000 60%, #444 100%); }
#sponsors-content h2 { background: #444; }


/* ---- People / Speakers / Team ---- */
.speaker { text-align: center; margin: 0 0 50px; }
.speaker .photo-wrapper { margin: 10px; display: inline-block; max-width: 100%; width: 100%; }
.speaker .photo-wrapper.rounded { border-radius: 50% !important; overflow: hidden; }
.speaker .photo-wrapper img { width: 100%; aspect-ratio: 1/1; object-fit: cover; object-position: top; }
.speaker h3.name { font-size: 18px; margin: 10px; font-weight: bold; color: #FFF; }
.speaker h3.name .firstname { text-transform: none; }
.speaker p.company { margin: 5px; color: #AAA; }
.speaker p.about { margin: 10px; color: #AAA; font-size: 10pt; font-style: italic; }
.speaker ul { margin: 0; padding: 0; }
.speaker .speaker-socials li { margin: 0; padding: 5px; display: inline-block; }
.speaker .speaker-socials li .fa { width: 30px; height: 30px; line-height: 27px; border-radius: 50%; border: 2px solid; }
.speaker-bio { text-align: justify; font-style: italic; white-space: pre-line; }
#team-content a .fa { color: #999; }
#team-content a:hover .fa { color: #FFF; background: #444; }
#team-content .speaker .company a { color: #AAA; }
#team-content .speaker .company a:hover { color: #FFF; }
.talk-speaker-card--link {
    cursor: pointer;
    position: relative;
}

.talk-speaker-card--link:hover {
    transform: none;
    box-shadow: none;
}

.talk-speaker-more {
    display: flex;
    justify-content: flex-end;
    margin-top: 0;
    padding-top: 0.35rem;
    border-top: 1px solid rgba(128, 128, 128, 0.15);
}

.talk-speaker-more-link {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    color: inherit;
    opacity: 0.5;
    text-decoration: none;
    transition: opacity 0.15s ease, color 0.15s ease;

    padding-top: 0.65rem !important;
}

.talk-speaker-more-link svg {
    transition: transform 0.15s ease;
}

.talk-speaker-card--link:hover .talk-speaker-more-link,
.talk-speaker-card--link:focus-visible .talk-speaker-more-link {
    opacity: 1;
    color: var(--ba-theme-color);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.talk-speaker-card--link:hover .talk-speaker-more-link svg,
.talk-speaker-card--link:focus-visible .talk-speaker-more-link svg {
    transform: translateX(3px);
}

.talk-speaker-more-link:focus-visible {
    opacity: 1;
    color: var(--ba-theme-color);
}


/* ---- Talks ---- */
#talks-content .talk-container {
  width: 80%; margin-left: 18%; margin-right: 40px; margin-bottom: 40px;
  padding: 10px; border: dashed 2px #555;
}
#talks-content .track-keynote  { background: #092020; }
#talks-content .track-conf     { background: #222; }
#talks-content .track-attacks  { background: #200; }
#talks-content .track-ll       { background: #002; }
#talks-content .track-event    { background: #220; }
#talks-content .track-workshop { background: #021002; }
.talk-title { color: white; margin: 0 0 10px; }
p.talk-abstract { text-align: justify; white-space: pre-line; }


/* ---- Schedule track colors (CSS vars for table) ---- */
.schedule-opening, .legend-opening   { --ba-track-bg: #444; }
.track-keynote,    .legend-keynote   { --ba-track-bg: #1b4745; }
.track-attacks,    .legend-attacks   { --ba-track-bg: #500; }
.track-conf,       .legend-conf      { --ba-track-bg: #444; }
.track-ll,         .legend-ll        { --ba-track-bg: #005; }
.track-workshop,   .legend-workshop  { --ba-track-bg: #050; }
.track-neutral,    .legend-neutral   { --ba-track-bg: linear-gradient(to right bottom, #944 30%, #449 70%); }
.schedule-event,   .legend-side-event{ --ba-track-bg: #552; }
.schedule-evening, .legend-evening   { --ba-track-bg: #525; }

/* Schedule table */
table.schedule-table,
table.schedule-content {
  table-layout: fixed;
  height: 1px;
  border-collapse: collapse;
  width: 90%;
  margin: 0 auto;
}
table.schedule-table th,
table.schedule-table tr,
table.schedule-table td,
#schedule-content table,
#schedule-content th,
#schedule-content tr,
#schedule-content td { margin: 0; padding: 0; border: 1px solid #666; }
#schedule-content table { margin: 0 auto; width: 90%; }
#schedule-content tr, .schedule-table tr { font-size: 12pt; text-align: center; vertical-align: top; }

table.schedule-table td:nth-of-type(1) { width: 8em; vertical-align: middle; }
table.schedule-table a,
table.schedule-content a { display: block; height: 100%; }
table.schedule-table td.schedule-break .schedule-a { padding: 2px 1em; }

td.schedule-time    { background: #000; color: #666; }
td.schedule-break, td.schedule-roomchange,
td.schedule-lunch,  td.schedule-travel { color: #666; font-style: italic; }
td.schedule-opening { color: #fff; background: #444; }
td.track-keynote, span.track-keynote   { background: #1b4745; }
td.track-attacks, span.track-attacks   { background: #500; }
td.track-conf,    span.track-conf      { background: #444; }
td.track-ll,      span.track-ll        { background: #005; }
td.track-workshop,span.track-workshop  { background: #050; }
td.track-neutral, span.track-neutral   { background: linear-gradient(to right bottom, #944 30%, #449 70%); }
td.schedule-event, span.schedule-event { color: #fff; background: #552; }
td.schedule-evening,span.schedule-evening { color: #fff; background: #525; }

#schedule-content td a { display: block; width: 100%; height: 100%; overflow: auto; }
#schedule-content td.track-keynote a:hover,  .schedule-table td.track-keynote a:hover  { background: #366; }
#schedule-content td.track-attacks a:hover,  .schedule-table td.track-attacks a:hover  { background: #822; }
#schedule-content td.track-ll a:hover,       .schedule-table td.track-ll a:hover       { background: #228; }
#schedule-content td.track-workshop a:hover, .schedule-table td.track-workshop a:hover { background: #282; }
#schedule-content td.track-neutral a:hover,  .schedule-table td.track-neutral a:hover  { background: linear-gradient(to right bottom, #533 30%, #335 70%); }
#schedule-content td.schedule-event a:hover, .schedule-table td.schedule-event a:hover { background: #994; }
#schedule-content td.schedule-evening a:hover,.schedule-table td.schedule-evening a:hover { background: #949; }
.schedule-table td a:hover div, .schedule-table td a:hover span { text-shadow: 0 0 10px black; }

.schedule-a      { padding: 10px; }
.schedule-id     { display: none; }
.schedule-title  { font-weight: normal; color: #FFF; }
.schedule-lang   { font-size: 10pt; font-weight: normal; color: #888; }
.schedule-div-title   { display: block; }
.schedule-div-authors { display: block; width: 100%; height: 100%; margin: 1ex 0 0; line-height: 1; }
.schedule-speaker { font-size: 10pt; font-weight: normal; color: #FFF; margin: 1ex 0 0; }
.schedule-company { font-size: 10pt; font-weight: normal; color: #888; margin: 0.3ex 0 0; }
.schedule-legend  { font-size: 10pt; }

.schedule-legend {
  display: flex;
  flex-direction: column;
}
.schedule-legend div.legend-bg { display: inline-block; background: var(--ba-track-bg); width: 3em; }
.schedule-legend > div { margin: 2px; }
.schedule-legend p > span { display: inline-block; background: var(--ba-track-bg); width: 3em; }


/* ---- ba-table (new schedule variant) ---- */
table.ba-table {
  border: 1px solid #666; margin: 0 auto;
  table-layout: fixed; height: 1px; text-align: center;
}
table.ba-table th, table.ba-table tr, table.ba-table td {
  margin: 0; padding: 0; border: 1px solid #666; height: 100%;
}
table.ba-table td > a { display: flex; flex-direction: column; justify-content: center; align-items: stretch; height: 100%; }
table.ba-table td > a:hover { filter: brightness(150%); text-shadow: 0 0 10px black; }
table.ba-table td > a:hover .schedule-company { color: #bbb; }
table.ba-table.ba-schedule { width: 90%; }
table.ba-table.ba-schedule td > a { justify-content: flex-start; padding: 10px; }
table.ba-table.ba-schedule th.schedule-time { text-align: center; font-weight: normal; width: 8em; color: #999; }
table.ba-table.ba-schedule td.schedule-break,
table.ba-table.ba-schedule td.schedule-roomchange,
table.ba-table.ba-schedule td.schedule-lunch,
table.ba-table.ba-schedule td.schedule-travel { color: #999; font-style: italic; }
table.ba-table.ba-schedule td.schedule-break .schedule-title,
table.ba-table.ba-schedule td.schedule-roomchange .schedule-title,
table.ba-table.ba-schedule td.schedule-lunch .schedule-title,
table.ba-table.ba-schedule td.schedule-travel .schedule-title { color: white; font-style: normal; }
table.ba-table.ba-schedule .schedule-company { color: #ddd; }
table.ba-table.ba-schedule td, table.ba-table.ba-listconf td { background: var(--ba-track-bg); }
table.ba-table.ba-schedule td > a, table.ba-table.ba-listconf td > a { padding: 4px; }
table.ba-table.ba-schedule .schedule-lang, table.ba-table.ba-listconf .schedule-lang { font-size: 10pt; font-weight: normal; color: #bbb; }
table.ba-table.ba-schedule .schedule-div-authors, table.ba-table.ba-listconf .schedule-div-authors { line-height: 1.2; font-size: 10pt; }
table.ba-table.ba-schedule .schedule-div-authors .schedule-speaker,
table.ba-table.ba-listconf .schedule-div-authors .schedule-speaker { font-weight: normal; }
table.ba-table.ba-schedule .schedule-div-authors .schedule-company,
table.ba-table.ba-listconf .schedule-div-authors .schedule-company { font-weight: normal; color: #bbb; }


/* ---- Counters ---- */
.counter-block { margin: 0; vertical-align: top; display: inline-block; width: 168px; height: 168px; text-align: center; }
#welcome .counter-block { width: 114px; height: 114px; }
.counter-box { display: table; width: 100%; height: 100%; background-color: transparent; border: none; }
.counter-box .counter-content { vertical-align: middle; display: table-cell; padding: 0; }
.counter-box .counter-content > .count {
  display: inline-block; width: 100%;
  font-family: "PT Sans Caption", Arial, Helvetica, sans-serif;
  font-size: 60px; font-weight: 700; line-height: 100px; color: #FFF;
  pointer-events: none;
}
#clockdiv .counter-box .counter-content > .count { line-height: 80px; }
#welcome .counter-box .counter-content .count { font-size: 50px; line-height: 65px; }
.counter-box .counter-content .title {
  margin: 0; font-family: "PT Sans Caption", Arial, Helvetica, sans-serif;
  font-size: 13px; line-height: 16px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.6em; text-align: center;
}
#welcome .counter-box .counter-content .title { color: #BBB; }

@keyframes countIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.count { display: inline-block; font-weight: bold; opacity: 0; animation: countIn 0.5s ease-out forwards; }
.counter-block:nth-child(1) .count { animation-delay: 0s; }
.counter-block:nth-child(2) .count { animation-delay: 0.12s; }
.counter-block:nth-child(3) .count { animation-delay: 0.24s; }
.counter-block:nth-child(4) .count { animation-delay: 0.36s; }

@media (max-width: 767px) {
  .counter-block { width: 114px; height: 114px; }
  .counter-box .counter-content > .count { font-size: 50px; line-height: 65px; }
  #welcome-archive-counter #clockdiv .counter-box .counter-content > .count { font-size: 30px; line-height: 50px; }
  #welcome-archive-counter #clockdiv .counter-box .counter-content .title { font-size: 70%; line-height: 16px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.6em; text-align: center; }
  #welcome .counter-block { width: 100px; height: 80px; }
  #welcome .counter-box .counter-content .count { font-size: 30px; line-height: 35px; }
}


/* ---- Previous events table ---- */
#past-events table { margin: 0 auto; width: 90%; }
#past-events table, #past-events th, #past-events tr, #past-events td { border: 1px solid #666; }
#past-events td, #past-events th { text-align: center; padding: 0; }
#past-events th { background: #000; color: #aaa; }


/* ---- Misc tables ---- */
.menu-table tr { border-collapse: collapse; }
.menu-table td { border: 1px solid white; text-align: center; height: 25px; vertical-align: top; }
.menu-table th { border: 1px solid white; color: #FFF; text-align: center; }
.center-table  { width: 70%; margin-left: 15%; margin-right: 15%; }


/* ---- Video wrapper ---- */
.video-wrapper { position: relative; width: 560px; height: 315px; overflow: hidden; margin: 10px auto 0; }
.video-wrapper iframe { width: 100%; height: 100%; }
@media (max-width: 768px) {
  .video-wrapper { width: 100%; height: auto; padding-bottom: 56.25%; }
  .video-wrapper iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
}


/* ---- Logo responsive ---- */
.ba-logo { width: 36%; max-width: 400px; height: auto; }
@media (max-width: 768px) { .ba-logo { width: 70% !important; } }
@media (max-width: 480px) { .ba-logo { width: 85% !important; } }


/* ---- Social icons ---- */
.social-item { list-style: none; display: inline-block; margin-right: 8px; }
.social-icon {
  display: flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 50%; border: 2px solid gray;
  text-decoration: none; color: #989898; font-size: 16px;
}
.social-icon:hover { color: white; border-color: white; }


/* ---- TV / display screens ---- */
#blackalps-tv { font-size: 1.7rem; }
#tv           { font-size: 4.7rem; }
#blackalps-tv, #tv { font-family: Helvetica; }
#blackalps-tv .blackalps-head .container .row,
#tv .blackalps-head .container .row { padding-top: 4rem; }
#blackalps-tv .blackalps-head .container, #blackalps-tv .container-fluid,
#tv .blackalps-head .container,           #tv .container-fluid {
  background: url(/assets/img/background/header.jpg) no-repeat bottom right scroll;
  background-size: cover;
}
#blackalps-tv .current, #blackalps-tv .next, #blackalps-tv .sidebar, #blackalps-tv img,
#tv .current,           #tv .next,           #tv .sidebar,           #tv img { margin: 2vh; padding: 3vh; }
#blackalps-tv .sidebar, #tv .sidebar { min-height: 73vh; overflow: auto; }
#blackalps-tv .current, #blackalps-tv .next, #blackalps-tv .sidebar,
#tv .current,           #tv .next,           #tv .sidebar { background: #333333ee; border-radius: 2vh; text-align: left; }
#blackalps-tv .current, #blackalps-tv .next,
#tv .current,           #tv .next { min-height: 35vh; }
#blackalps-tv .current, #tv .current { margin-bottom: 3vh; }
#blackalps-tv .sidebar, #tv .sidebar { margin-left: 0; }
#blackalps-tv h2, #blackalps-tv h3, #tv h2, #tv h3 { font-size: 120%; font-family: Helvetica; text-transform: none; color: white; }
#blackalps-tv h2, #tv h2 { text-decoration-line: underline; }
#blackalps-tv .schedule, #tv .schedule { opacity: 0.7; }
#blackalps-tv .speakers, #tv .speakers { font-size: 110%; margin-top: 0.5rem; opacity: 0.7; }
#blackalps-tv img, #tv img { width: 28vw; margin-top: 4rem; margin-bottom: 4rem; }
#blackalps-tv .dt, #tv .dt { position: absolute; bottom: 0; }
#blackalps-tv .hidden, #tv .hidden { background: #33333300; }
#blackalps-tv .ba25, #tv .ba25 { color: #02EC8E; }
#blackalps-tv .sidebar .title { opacity: 0.7; }
#tv .current, #tv .next { margin-right: 2vh; }
#tv img { position: fixed; bottom: 0; }
#tv .container-fluid { height: 100vh; }

/* Sponsor TV screen */
#tv-sponsor .ba25 { color: #02EC8E; }
#tv-sponsor div.ba { position: fixed; bottom: 10vh; left: 2rem; font-family: Airstrike; color: white; display: flex; font-size: 200%; text-align: left; align-items: center; }
#tv-sponsor div.ba img { height: 3em; }
#tv-sponsor div.ba div { margin-left: 2rem; }
#tv-sponsor div.sponso-logo { display: flex; align-items: center; justify-content: center; height: 40vh; width: 60vw; margin: 0 auto; }
#tv-sponsor img.sponso-logo { border-radius: 0; max-width: 100%; max-height: 100%; }
#tv-sponsor .carousel { background: url(/assets/img/background/header.jpg) no-repeat bottom right scroll; background-size: cover; }
#tv-sponsor .carousel h1 { font-size: 400%; }
#tv-sponsor .sponsor, #tv-sponsor .carousel, #tv-sponsor .carousel-inner, #tv-sponsor .carousel-item { height: 100%; }
#tv-sponsor .carousel-sponso { padding-top: 5vh; }
#tv-sponsor .carousel-sponso h1 { margin-bottom: 15vh; }
#tv-sponsor h1 { border-bottom: 0; font-family: Airstrike; }
#tv-sponsor .carousel { text-align: center; }


/* ---- Misc helpers ---- */
.tbd { font-size: 1.2em !important; color: #888 !important; text-transform: uppercase !important; font-style: italic !important; font-weight: 600 !important;  }

/* ============================================================
   ba-ng.css — Overrides & new components (loaded after blackalps.css)
   ============================================================ */


/* ---- Navbar ---- */
.navbar-custom .navbar-brand img { border-radius: 0; height: 40px !important; width: auto !important; max-height: none !important; margin-left: 10px; }

#top-left-cervin { gap: 5px; }
.navbar-custom #top-left-cervin a.navbar-brand { border: solid 1px transparent; border-radius: 10px; margin: 0; padding: 10px; }
.navbar-custom #top-left-cervin a.navbar-brand:hover { border-color: transparent; background: transparent; box-shadow: none; }

/* Left nav links */
.navbar-custom .ba-nav-left .nav li a { border-radius: 10px; border: 1px solid transparent; }
.navbar-custom .ba-nav-left .nav li a:hover { border-color: white; background-color: rgba(255,255,255,.2); }
.navbar-custom .ba-nav-left .nav li a.active { color: black; background-color: white; }
.navbar-custom .ba-nav-left .nav li a.active:hover { color: black; background-color: rgba(255,255,255,.5); }

/* Right nav links */
.navbar-custom .ba-nav-right .nav-link { color: #fff; transition: background .15s, color .15s; }
.navbar-custom .ba-nav-right .nav li a:hover { background-color: rgba(255,255,255,.2); }
.navbar-custom .ba-nav-right .nav li a.active:hover { background-color: rgba(255,255,255,.7); }

/* Theme-colored nav items */
.navbar-custom .ba-nav-right .nav li.ba-theme-colored a { color: var(--ba-theme-color); }
.navbar-custom .ba-nav-right .nav li.ba-theme-colored a.active { color: black; background-color: var(--ba-theme-color); }
/* .navbar-custom .ba-nav-right .nav li.ba-theme-colored a.active:hover { color: black; background-color: white; }*/

/* About-colored nav item */
.navbar-custom .ba-nav-right .nav li.ba-about-colored a { color: white; }
.navbar-custom .ba-nav-right .nav li.ba-about-colored a.active { color: black; background-color: white; }
.navbar-custom .ba-nav-right .nav li.ba-about-colored a.active:hover { color: black; background-color: gray; }

/* Year tab */
.navbar-custom .nav li a.active-year { color: orange; border-color: orange; }
.navbar-custom .nav li a.active-year:hover { color: #F60; background: rgba(255,200,200,.2); outline: none; }

/* Separator */
.navbar-custom .ba-nav-sep { width: 1px; height: 22px; background: rgba(255,255,255,.2); margin: 0 12px 0 0; flex-shrink: 0; }

/* Dropdown */
.navbar-custom .dropdown-menu {
  background-color: #1a1a1a;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 10px; padding: 6px; margin-top: 6px;
  box-shadow: 0 8px 24px rgba(0,0,0,.5);
  animation: dropdownFadeIn .15s ease-out;
}
@keyframes dropdownFadeIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.navbar-custom .dropdown-menu .dropdown-item { color: #e8e8e8; border-radius: 7px; padding: 7px 14px; font-size: .9rem; transition: background .15s, color .15s; }
.navbar-custom .dropdown-menu .dropdown-item:hover { background-color: rgba(255,255,255,.12); color: #fff; }
.navbar-custom .dropdown-menu .dropdown-item.active,
.navbar-custom .dropdown-menu .dropdown-item:active { background-color: rgba(255,255,255,.18); color: #fff; }
.navbar-custom .dropdown-menu .dropdown-divider { border-color: rgba(255,255,255,.12); margin: 4px 0; }
.navbar-custom .ba-nav-right .nav li.ba-theme-colored .dropdown-menu .dropdown-item.active { background-color: var(--ba-theme-color); color: #000; }
.navbar-custom .ba-nav-right .nav li.ba-about-colored .dropdown-menu .dropdown-item.active { background-color: white; color: #000; }

/* Active parent dropdown */
.navbar-custom .nav-item.dropdown > .nav-link.dropdown-parent-active { background-color: rgba(255,255,255,.18); }
.navbar-custom .ba-theme-colored > .nav-link.dropdown-parent-active { background-color: var(--ba-theme-color); color: #000 !important; }

/* Dropdown toggle arrow */
.navbar-custom .nav-link.dropdown-toggle { display: inline-flex; align-items: center; gap: 6px; }
.navbar-custom .nav-link.dropdown-toggle::after { margin-left: 0; vertical-align: middle; }

/* Disabled link */
.nav-link.disabled-link { color: rgba(206,179,179,.75) !important; cursor: default; border: 0; pointer-events: auto; cursor: not-allowed; text-decoration: none; background: none !important; box-shadow: none !important; }

/* Accessibility */
.navbar-custom .nav-link:focus:not(:focus-visible),
.navbar-custom .dropdown-item:focus:not(:focus-visible),
.navbar-custom .navbar-toggler:focus:not(:focus-visible) { outline: none; box-shadow: none; }
.navbar-custom .nav-link:focus-visible,
.navbar-custom .dropdown-item:focus-visible { outline: 2px solid rgba(255,255,255,.7); outline-offset: 2px; border-radius: 6px; }

/* Year pill */
.ba-mobile-year { position: relative; }
.ba-year-pill-standalone { font-size: 12px; color: rgba(255,255,255,.7); border: 1px solid rgba(255,255,255,.25); border-radius: 20px; padding: 4px 12px; background: transparent; line-height: 1; }
.ba-year-select { position: absolute; inset: 0; opacity: 0; cursor: pointer; }

.navbar-custom .ba-year-pill {
  display: inline-flex !important; align-items: center; gap: 8px;
  background: rgba(255,255,255,.08) !important; border: 1px solid rgba(255,255,255,.15) !important;
  border-radius: 20px !important; padding: 4px 13px 4px 9px !important;
  font-size: 13px !important; font-weight: 500;
  color: rgba(255,255,255,.8) !important; transition: all .2s;
}
.navbar-custom .ba-year-pill:hover,
.navbar-custom .ba-year-pill[aria-expanded="true"] { background: rgba(255,255,255,.15) !important; border-color: rgba(255,255,255,.3) !important; color: #fff !important; }
.navbar-custom .ba-year-icon { width: 14px; height: 14px; opacity: .8; }

.ba-year-switcher-container .dropdown-menu { margin-top: 10px !important; min-width: 0; width: fit-content; left: 50%; transform: translateX(-50%) !important; will-change: transform; }
.ba-year-switcher-container .dropdown-item { padding: .25rem .75rem; font-size: .9rem; }

/* ---- Mobile navbar ---- */
@media (max-width: 767px) {
  .navbar-custom .navbar-toggler { display: flex; align-items: center; border: 1px solid rgba(255,255,255,.3); border-radius: 10px; padding: 7px 11px; transition: background .15s; }
  .navbar-custom .navbar-toggler:hover { background: rgba(255,255,255,.1); }
  .navbar-custom .toggler-icon { display: flex; flex-direction: column; gap: 4px; width: 18px; }
  .navbar-custom .toggler-icon span { display: block; height: 2px; background: white; border-radius: 2px; transition: transform .25s, opacity .25s; }
  .navbar-custom .navbar-toggler[aria-expanded="true"] .toggler-icon span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .navbar-custom .navbar-toggler[aria-expanded="true"] .toggler-icon span:nth-child(2) { opacity: 0; }
  .navbar-custom .navbar-toggler[aria-expanded="true"] .toggler-icon span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

  .navbar-custom .navbar-main-collapse { background: #000; border-top: 1px solid rgba(255,255,255,.08); padding: 8px 12px 16px; }
  .navbar-custom .ba-nav-right .nav { flex-direction: column; gap: 2px; border: none; }
  .navbar-custom .ba-mobile-section-label { display: block; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.35); padding: 12px 10px 4px; }
  .nav-link.disabled-link { color: rgba(255,255,255,.35) !important;}
  .navbar-custom .ba-nav-right .nav li a,
  .navbar-custom .ba-nav-right .nav li .nav-link {
    display: flex; align-items: center; justify-content: space-between;
    padding: 10px 12px; border-radius: 10px; font-size: 14px;
    color: rgba(255,255,255,.85); min-height: 44px;
    border: 1px solid transparent; background: transparent !important;
  }
  .navbar-custom .ba-nav-right .nav li a:hover,
  .navbar-custom .ba-nav-right .nav li .nav-link:hover { background: rgba(255,255,255,.07) !important; }
  .navbar-custom .ba-nav-right .nav li a.active,
  .navbar-custom .ba-nav-right .nav li .nav-link.active { background: transparent !important; color: white; font-weight: 500; }

  .navbar-custom .ba-nav-right .nav li.ba-theme-colored a,
  .navbar-custom .ba-nav-right .nav li.ba-theme-colored .nav-link { color: var(--ba-theme-color) !important; background: transparent !important; }
  .navbar-custom .ba-nav-right .nav li.ba-theme-colored a.active,
  .navbar-custom .ba-nav-right .nav li.ba-theme-colored .nav-link.active { color: var(--ba-theme-color) !important; background: transparent !important; font-weight: 600; }

  .navbar-custom .dropdown-menu { position: static !important; background: transparent !important; border: none; border-radius: 0; box-shadow: none; padding: 4px 0 4px 12px; margin: 0 0 0 8px; border-left: 1px solid rgba(255,255,255,.1); animation: none; }
  .navbar-custom .dropdown-menu .dropdown-item { color: rgba(255,255,255,.6); font-size: 13px; padding: 8px 12px; border-radius: 8px; min-height: 40px; display: flex; align-items: center; background: transparent !important; }
  .navbar-custom .dropdown-menu .dropdown-item:hover { background: rgba(255,255,255,.07) !important; color: white; }
  .navbar-custom .dropdown-menu .dropdown-item.active { color: white; font-weight: 500; background: transparent !important; }
  .navbar-custom .dropdown-toggle::after { display: none; }
  .navbar-custom .ba-mobile-divider { height: 1px; background: rgba(255,255,255,.07); margin: 6px 0; list-style: none; }

  .navbar-custom .ba-year-pill-standalone { font-size: 12px; color: rgba(255,255,255,.7) !important; border: 1px solid rgba(255,255,255,.25); border-radius: 20px; padding: 4px 12px !important; background: transparent !important; min-height: unset !important; }
  .navbar-custom .ba-year-pill-standalone:hover { background: rgba(255,255,255,.1) !important; color: white !important; }

  .navbar-custom .ba-nav-right .nav li.ba-about-colored .nav-link,
  .navbar-custom .ba-nav-right .nav li.ba-about-colored .nav-link.active {color: white !important; font-weight: 600;}
  a.dropdown-item.active {color: white !important; font-weight: 600;}
  .ba-chevron { width: 0.4rem; height: 0.4rem; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform 0.2s ease; margin-left: auto; }

  .dropdown.show > .nav-link .ba-chevron { transform: rotate(-135deg);}
}


/* ---- Talk page ---- */
:root {
  --talk-surface:   #111;
  --talk-surface-2: #1a1a1a;
  --talk-border:    #2a2a2a;
  --talk-accent:    var(--ba-theme-color, orange);
  --talk-text:      #e8e8e8;
  --talk-muted:     #777;
  --talk-radius:    4px;
}

.talk-page * { box-sizing: border-box; margin: 0; padding: 0; }
.talk-page { background: #000; color: var(--talk-text); font-family: 'Open Sans', 'Helvetica Neue', Helvetica, sans-serif; font-size: 1rem; line-height: 1.7; min-height: 100vh; padding: 0 0 80px; }
.talk-page .container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

.talk-hero { padding: 15px 0 30px; border-bottom: 1px solid var(--talk-border); }
.talk-meta-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 22px; }
.talk-badge { display: inline-block; font-family: 'Montserrat', Arial, sans-serif; font-size: .7rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; padding: 4px 10px; border: 1px solid var(--talk-accent); color: var(--talk-accent); border-radius: var(--talk-radius); }
.talk-meta-item { font-size: .9rem; letter-spacing: .08em; color: var(--talk-text); text-transform: uppercase; }
.talk-meta-item svg { vertical-align: middle; margin-right: 5px; opacity: .6; }
.talk-page h1.talk-title { font-family: 'Barlow Condensed'; font-size: clamp(1.9rem, 4vw, 3.2rem); font-weight: 800; line-height: 1.1; letter-spacing: -.01em; color: #fff; max-width: 820px; margin: 0 0 10px; }

.talk-body { padding-top: 52px; display: grid; grid-template-columns: 1fr 360px; gap: 56px; align-items: start; }
@media (max-width: 900px) { .talk-body { grid-template-columns: 1fr; gap: 36px; } }

.talk-section-label { font-family: 'Montserrat', sans-serif; font-size: .7rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--talk-accent); margin-bottom: 18px; }
p.talk-abstract { font-size: 1rem; color: #c8c8c8; line-height: 1.8; white-space: pre-line; text-align: left; }

.talk-video-wrap { margin-top: 40px; position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; border-radius: var(--talk-radius); border: 1px solid var(--talk-border); background: #000; }
.talk-video-wrap iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; }

.talk-slides-btn { display: inline-flex; align-items: center; gap: 8px; margin-top: 24px; padding: 11px 22px; background: var(--talk-surface-2); border: 1px solid var(--talk-border); color: var(--talk-text); font-size: .88rem; letter-spacing: .06em; border-radius: var(--talk-radius); transition: border-color .2s, color .2s; }
.talk-slides-btn:hover { border-color: var(--talk-accent); color: var(--talk-accent); }

.talk-speaker-card { background: var(--talk-surface); border: 1px solid var(--talk-border); border-radius: var(--talk-radius); padding: 28px 24px; margin-bottom: 20px; transition: border-color .25s; }
.talk-speaker-card:hover { border-color: #3a3a3a; }
.talk-speaker-photo-wrap { width: 72px; height: 72px; border-radius: 50%; overflow: hidden; flex-shrink: 0; border: 2px solid var(--talk-border); }
.talk-speaker-photo-wrap img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; border-radius: 0; }
.talk-speaker-header { display: flex; gap: 16px; align-items: center; margin-bottom: 16px; }
.talk-speaker-name { font-family: 'Montserrat', sans-serif; font-size: 1.15rem; font-weight: 700; color: #fff; line-height: 1.2; }
.talk-speaker-role    { font-size: .8rem;  color: var(--talk-muted); margin-top: 3px; }
.talk-speaker-company { font-size: .82rem; color: var(--talk-accent); margin-top: 2px; }
.talk-speaker-bio { font-size: .85rem; color: #999; line-height: 1.7; margin-bottom: 16px; }

.talk-socials { display: flex; gap: 10px; list-style: none; margin: 0 0 1.25rem; padding: 0; }
.talk-socials a { display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; border: 1px solid var(--talk-border); border-radius: var(--talk-radius); color: var(--talk-muted); font-size: .85rem; transition: border-color .2s, color .2s; }
.talk-socials a:hover { border-color: var(--talk-accent); color: var(--talk-accent); }

.talk-nav { display: flex; align-items: center; justify-content: space-between; padding: 18px 0 0; margin-bottom: 4px; }
.talk-nav-back, .talk-nav-all { display: inline-flex; align-items: center; gap: 7px; font-size: .8rem; font-family: 'Montserrat', sans-serif; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--talk-muted); transition: color .2s; }
.talk-nav-back:hover, .talk-nav-all:hover { color: var(--talk-accent); }

.talk-share-wrap { position: relative; }
.talk-share-btn { display: inline-flex; align-items: center; gap: 7px; font-size: .8rem; font-family: 'Montserrat', sans-serif; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--talk-muted); background: none; border: 1px solid transparent; border-radius: var(--talk-radius); padding: 5px 10px; cursor: pointer; transition: color .2s, border-color .2s; }
.talk-share-btn:hover, .talk-share-btn.active { color: var(--talk-accent); border-color: var(--talk-border); }
.talk-share-dropdown { display: none; position: absolute; top: calc(100% + 8px); right: 0; background: var(--talk-surface-2); border: 1px solid var(--talk-border); border-radius: var(--talk-radius); min-width: 200px; z-index: 100; overflow: hidden; box-shadow: 0 8px 24px rgba(0,0,0,.5); }
.talk-share-dropdown.open { display: block; }
.talk-share-dropdown a, .talk-share-dropdown button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 11px 16px; background: none; border: none; border-bottom: 1px solid var(--talk-border); color: var(--talk-text); font-size: .82rem; cursor: pointer; transition: background .15s, color .15s; text-align: left; }
.talk-share-dropdown a:last-child, .talk-share-dropdown button:last-child { border-bottom: none; }
.talk-share-dropdown a:hover, .talk-share-dropdown button:hover { background: rgba(255,255,255,.04); color: var(--talk-accent); }


/* ---- Search page ---- */
:root {
  --sp-acc:     orange;
  --sp-acc-dim: rgba(255,165,0,.08);
  --sp-s1:      #0d0d0d;
  --sp-s2:      #141414;
  --sp-b:       #222;
  --sp-b2:      #2e2e2e;
  --sp-mut:     #999;
  --sp-txt:     #ddd;
  --sp-r:       3px;
}

.search-page { padding: 40px 0 80px; }
.search-page h1 { font-family: 'Arial Narrow', Arial, sans-serif; font-size: 2.4rem; font-weight: 900; color: #fff; letter-spacing: -.02em; margin-bottom: 28px; }

.sp-form-wrap { border: 1px solid var(--sp-b); border-radius: var(--sp-r); overflow: hidden; margin-bottom: 24px; }
.sp-search-row { display: flex; border-bottom: 1px solid var(--sp-b); }
.sp-search-row input { flex: 1; background: var(--sp-s1); border: none; color: #fff; font-family: inherit; font-size: .92rem; padding: 12px 16px; outline: none; min-width: 0; }
.sp-search-row input::placeholder { color: var(--sp-mut); }
.sp-search-row input:focus { background: var(--sp-s2); }
.sp-search-row button { background: var(--sp-acc); color: #000; border: none; font-family: 'Arial Narrow', Arial, sans-serif; font-size: .72rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; padding: 0 24px; cursor: pointer; flex-shrink: 0; transition: background .15s; }
.sp-search-row button:hover { background: #ffb733; }

.sp-filters { display: flex; flex-wrap: wrap; background: var(--sp-s2); }
.sp-filters select, .sp-filters .sp-check { background: transparent; border: none; border-right: 1px solid var(--sp-b); color: var(--sp-mut); font-family: inherit; font-size: .78rem; padding: 9px 13px; cursor: pointer; outline: none; transition: color .15s, background .15s; }
.sp-filters select:last-child, .sp-filters .sp-check { border-right: none; }
.sp-filters select:hover, .sp-filters select:focus, .sp-filters .sp-check:hover { color: var(--sp-txt); background: rgba(255,255,255,.03); }
.sp-filters select option { background: #111; }
.sp-check { display: flex; align-items: center; gap: 7px; cursor: pointer; user-select: none; }
.sp-check input { accent-color: var(--sp-acc); width: 13px; height: 13px; }

.sp-results-bar { display: flex; align-items: center; justify-content: space-between; padding-bottom: 11px; border-bottom: 1px solid var(--sp-b); }
.sp-results-bar .sp-count { font-size: .7rem; text-transform: uppercase; letter-spacing: .12em; color: var(--sp-mut); }
.sp-results-bar .sp-count strong { color: #ccc; font-size: .84rem; font-weight: 600; }

.sp-talk-list { margin-top: 0; border: 1px solid var(--sp-b); border-top: none; border-radius: 0 0 var(--sp-r) var(--sp-r); overflow: hidden; }
.sp-talk-row { display: flex; align-items: baseline; border-bottom: 1px solid var(--sp-b); text-decoration: none; color: inherit; padding: 13px 18px; transition: background .15s; position: relative; }
.sp-talk-row:last-child { border-bottom: none; }
.sp-talk-row:hover { background: var(--sp-s1); }
.sp-talk-row::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: var(--sp-acc); opacity: 0; transition: opacity .15s; }
.sp-talk-row:hover::before { opacity: 1; }

.sp-talk-main { flex: 1; min-width: 0; }
.sp-talk-title { font-family: 'Arial Narrow', Arial, sans-serif; font-size: 1rem; font-weight: 700; color: #fff; line-height: 1.25; margin-bottom: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: color .15s; }
.sp-talk-row:hover .sp-talk-title { color: var(--sp-acc); }
.sp-talk-abstract { font-size: .85rem; color: #888; margin: 4px 0 6px; line-height: 1.4; }
.sp-talk-meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }

.sp-badge { display: inline-block; font-size: .58rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: 2px 6px; border: 1px solid; border-radius: 2px; flex-shrink: 0; }
.sp-badge.keynote  { border-color: #1b9; color: #1b9; }
.sp-badge.workshop { border-color: #88f; color: #88f; }
.sp-badge.lang     { border-color: #2a2a2a; color: #888; }
.sp-badge.year     { border-color: transparent; color: var(--sp-mut); font-size: .65rem; letter-spacing: .06em; padding-left: 0; }

.sp-speaker { font-size: .77rem; color: var(--sp-mut); }
.sp-speaker strong { color: #999; font-weight: 600; }

.sp-talk-flags { flex-shrink: 0; padding-left: 16px; display: flex; align-items: center; gap: 8px; }
.sp-video { display: inline-flex; align-items: center; gap: 4px; font-size: .6rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #e55; }
.sp-video::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: #e55; flex-shrink: 0; }

.sp-state { padding: 56px 0; text-align: center; color: var(--sp-mut); }
.sp-state p { font-size: .84rem; }

@media (max-width: 600px) {
  .sp-filters { flex-direction: column; }
  .sp-filters select, .sp-filters .sp-check { border-right: none; border-bottom: 1px solid var(--sp-b); }
  .sp-filters .sp-check { border-bottom: none; }
  .sp-talk-title { white-space: normal; }

  .container.search-page { padding: 20px 15px; }
  .sp-form-wrap { border: none; background: transparent; }
  .sp-search-row { border: 1px solid var(--sp-b); border-radius: var(--sp-r); margin-bottom: 12px; background: var(--sp-s1); }
  .sp-filters { background: transparent; flex-direction: row; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
  .sp-filters select, .sp-filters .sp-check { flex: 0 1 auto; background: #252525; border: 1px solid rgba(255,255,255,.15); border-radius: 20px; color: #d1d1d1; padding: 6px 14px; font-size: .75rem; appearance: none; text-align: center; transition: all .2s; box-shadow: 0 2px 4px rgba(0,0,0,.1); }
  .active-filter, .sp-filters select:focus { border-color: var(--sp-acc) !important; color: #fff !important; background: rgba(255,122,0,.1) !important; box-shadow: 0 0 10px rgba(255,122,0,.15); outline: none; }
  .active-filter::before { content: "•"; color: var(--sp-acc); margin-right: 5px; font-weight: bold; }
  .sp-talk-list { border: none; }
  .sp-talk-row { background: var(--sp-s2); border: 1px solid var(--sp-b); border-radius: var(--sp-r); margin-bottom: 10px; padding: 15px; flex-direction: column; align-items: flex-start; }
  .sp-talk-list .sp-talk-row:first-child { margin-top: 15px; }
  .sp-talk-row::before { display: none; }
  .sp-talk-title { white-space: normal; font-size: 1.1rem; margin-bottom: 8px; }
  .sp-talk-abstract { font-size: .8rem; margin-bottom: 12px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .sp-talk-meta { width: 100%; justify-content: flex-start; gap: 6px; }
  .sp-talk-flags { padding-left: 0; margin-top: 10px; width: 100%; justify-content: flex-end; }
}


/* ---- Archive / editions ---- */
.arc-edition-bar { display: flex; align-items: center; gap: 1rem; padding: 1.75rem 0 1.5rem; flex-wrap: wrap; border-bottom: 1px solid rgba(255,255,255,.1); margin-bottom: 1.75rem; }
.arc-edition-bar label { font-weight: 700; font-size: 1rem; letter-spacing: .07em; text-transform: uppercase; white-space: nowrap; }
.arc-select-wrap { position: relative; flex: 1; max-width: 420px; }
.arc-select-wrap select { appearance: none; -webkit-appearance: none; background: transparent; color: inherit; border: 2px solid rgba(255,255,255,.4); border-radius: 4px; padding: .7rem 2.5rem .7rem 1rem; font-size: 1rem; font-weight: 500; cursor: pointer; width: 100%; transition: border-color .15s; }
.arc-select-wrap select:focus, .arc-select-wrap select:hover { outline: none; border-color: rgba(255,255,255,.85); }
.arc-select-wrap::after { content: '▾'; position: absolute; right: .9rem; top: 50%; transform: translateY(-50%); pointer-events: none; font-size: .85rem; opacity: .55; }

.arc-edition-nav { margin-bottom: 1.25rem; }
.arc-edition-nav h2 { font-size: 1.3rem; font-weight: 700; margin: 0 0 1rem; }
.arc-btn-row { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.25rem; }
.arc-btn { display: inline-block; padding: .55rem 1.5rem; border: 2px solid rgba(255,255,255,.3); border-radius: 4px; font-size: .9rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; background: transparent; cursor: pointer; transition: background .15s, border-color .15s; color: inherit; }
.arc-btn:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.65); color: inherit; }
.arc-btn.active { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.7); }

.arc-panel { border: 1px solid rgba(255,255,255,.12); border-radius: 6px; margin-bottom: 2.5rem; }
.arc-panel-body { padding: 1.5rem 1.25rem; }
.arc-back { display: inline-flex; align-items: center; gap: .4rem; font-size: .82rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; opacity: .5; color: inherit; margin-bottom: 1rem; transition: opacity .15s; }
.arc-back:hover { opacity: .9; color: inherit; }

.arc-collapsible { margin-top: 1rem; }
.arc-collapsible summary { cursor: pointer; font-size: 1.5rem; font-weight: 800; padding: .6rem 0; border-bottom: 2px solid rgba(255,255,255,.1); margin-bottom: 1rem; list-style: none; display: flex; align-items: center; gap: .6rem; user-select: none; transition: opacity .15s; }
.arc-collapsible summary::-webkit-details-marker { display: none; }
.arc-collapsible summary:hover { opacity: .8; }
.arc-collapsible summary::after { content: '▾'; margin-left: auto; font-size: .85rem; opacity: .5; transition: transform .25s; }
.arc-collapsible[open] summary::after { transform: rotate(180deg); }


/* ---- Generic data table ---- */
.ba-table { width: 100%; border-collapse: collapse; }
.ba-table th { text-align: left; padding: 10px; border-bottom: 2px solid #333; }
.ba-table td { padding: 10px; border-bottom: 1px solid #222; }
.ba-table tr:hover { background: rgba(255,255,255,.03); }
.ba-table tr.active { background: rgba(97,218,251,.08); border-left: 3px solid #61dafb; }
.ba-link { color: white; }
.ba-link:hover { color: #61dafb; }

/* Tabs */
.ba-tabs { display: flex; gap: 25px; border-bottom: 1px solid #222; margin-bottom: 20px; }
.ba-tab { position: relative; padding: 10px 0; color: #aaa; font-weight: 500; transition: color .2s; }
.ba-tab:hover { color: white; }
.ba-tab::after { content: ''; position: absolute; left: 0; bottom: -1px; width: 0; height: 2px; background: #61dafb; transition: width .3s; }
.ba-tab.active { color: white; }
.ba-tab.active::after { width: 100%; }


/* ---- Search hero (homepage widget) ---- */
.ba-search-hero { padding: 2rem 0 0; }
.ba-search-hero > p { font-size: 14px; color: #888; margin: 0 0 .75rem; }
.ba-sh-wrap { display: flex; max-width: 560px; margin: 0 auto .75rem; border: 1px solid rgba(255,255,255,.15); border-radius: 10px; overflow: hidden; background: rgba(255,255,255,.05); transition: border-color .3s; }
.ba-sh-wrap:focus-within { border-color: rgba(255,165,0,.5); }
.ba-sh-wrap input { flex: 1; border: none; background: transparent; padding: .7rem 1rem; font-size: 15px; color: #eee; outline: none; }
.ba-sh-wrap button { padding: .7rem 1.1rem; border: none; border-left: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.08); color: #eee; font-size: 13px; font-weight: 600; cursor: pointer; white-space: nowrap; transition: all .2s; }
.ba-sh-wrap button:hover { background: #ffa500; color: #111; }
.ba-sh-filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; max-width: 560px; margin: 0 auto; }

/* Social buttons */
.btn-social { width: 220px; min-height: 120px; flex-direction: column; justify-content: center; align-items: center; text-align: center; }
.btn-social .btn-text { margin-top: 10px; font-size: 16px; font-weight: 500; }

.ba-btn {
    padding: clamp(8px, 1.2vw, 12px) clamp(14px, 2.5vw, 24px);
    border-radius: 8px;
    transition: all 0.2s ease;
    font-size: clamp(14px, 1.6vw, 16px);
    line-height: 1.2;
}

.ba-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.12);
}