/* MatomoCamp theme for pretalx public pages (Figma "MatomoCamp 2027").
 * Every rule is scoped to html.mc-theme: this file is loaded before the pretalx
 * stylesheets, so the extra class is what lets it win. */

@font-face { font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/poppins-latin-600-normal.72993dddf88a.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/poppins-latin-ext-600-normal.a575b6d9df98.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/poppins-latin-700-normal.25b0e113ca7c.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/poppins-latin-ext-700-normal.367d2aa05bf0.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/source-sans-3-latin-400-normal.27ab01c4cb50.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/source-sans-3-latin-ext-400-normal.397d4f3b04fb.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Source Sans 3"; font-style: italic; font-weight: 400; font-display: swap; src: url("fonts/source-sans-3-latin-400-italic.410bdda67c60.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Source Sans 3"; font-style: italic; font-weight: 400; font-display: swap; src: url("fonts/source-sans-3-latin-ext-400-italic.50897a1ab826.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/source-sans-3-latin-600-normal.9a35cba76eda.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/source-sans-3-latin-ext-600-normal.2d5f5a2133ba.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/source-sans-3-latin-700-normal.9b13bd3653e3.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/source-sans-3-latin-ext-700-normal.26cdfd79afb4.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

html.mc-theme {
  --mc-orange: #ff6303;
  --mc-orange-dark: #e55700;
  --mc-orange-soft: #fff1e8;
  --mc-navy: #0e1429;
  --mc-navy-2: #151b33;
  --mc-navy-line: #2e3550;
  --mc-card: #191e33;
  --mc-bg: #f4f5f7;
  --mc-line: #e7e7e9;
  --mc-text: #0f172a;
  --mc-text-2: #374151;
  --mc-muted: #70727f;
  --mc-head: "Poppins", "Segoe UI", Roboto, Arial, sans-serif;
  --mc-body: "Source Sans 3", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mc-header-h: 88px;
  --mc-sidebar-w: 240px;
}

/* ---------- base ---------- */
html.mc-theme body { background: var(--mc-bg); color: var(--mc-text); font-family: var(--mc-body); font-size: 16px; position: relative; min-height: 100vh; }
html.mc-theme h1, html.mc-theme h2, html.mc-theme h3, html.mc-theme h4 { font-family: var(--mc-head); color: var(--mc-text); }
html.mc-theme a { color: var(--mc-orange-dark); }
html.mc-theme a:hover { color: var(--mc-orange); }

/* ---------- header bar ---------- */
html.mc-theme #top-bg { position: absolute; top: 0; left: 0; right: 0; width: 100%; height: var(--mc-header-h); background: var(--mc-navy) !important; background-image: none !important; }
html.mc-theme #top-bg #header-image { display: none; }
html.mc-theme #main-container > header { height: var(--mc-header-h); display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 0 0 28px; padding: 0; }
html.mc-theme #main-container > header h1 { margin: 0; padding: 0; font-size: 26px; line-height: 1; font-weight: 700; }
html.mc-theme #main-container > header h1 a { color: #fff; text-decoration: none; display: block; }
html.mc-theme #main-container > header #event-logo { display: block; height: 37px; width: auto; max-width: 260px; max-height: none; }
html.mc-theme #header-row { display: flex !important; align-items: center; gap: 8px; padding: 0; color: #9fa1aa; font-size: 15px; }
html.mc-theme #header-row .locales { display: flex; align-items: center; gap: 6px; font-size: 0; }
html.mc-theme .mc-header-links { display: flex; align-items: center; gap: 12px; margin-right: 8px; }
html.mc-theme #header-row a,
html.mc-theme #header-row summary { display: inline-flex; align-items: center; height: 44px; padding: 0 20px; font-family: var(--mc-head); font-size: 14px; font-weight: 600; color: #fff; text-decoration: none; border: 1px solid var(--mc-navy-line); border-radius: 999px; background: var(--mc-navy-2); line-height: 1; white-space: nowrap; }
html.mc-theme #header-row a:hover,
html.mc-theme #header-row summary:hover { border-color: var(--mc-orange); color: #fff; }
html.mc-theme #header-row .locales a.active,
html.mc-theme #header-row a.mc-active { border-color: var(--mc-orange); background: #3a2420; }
html.mc-theme #header-row a.mc-btn-primary { background: var(--mc-orange); border-color: var(--mc-orange); }
html.mc-theme #header-row a.mc-btn-primary:hover { background: var(--mc-orange-dark); }
html.mc-theme #header-row .dropdown-content a { height: auto; padding: 8px 16px; border: 0; border-radius: 0; background: none; color: var(--mc-text); font-family: var(--mc-body); font-weight: 400; }

/* ---------- page title ---------- */
html.mc-theme .mc-pagehead { margin: 0 0 20px; }
html.mc-theme .mc-pagehead-title { margin: 0 0 6px; font-size: 28px; font-weight: 700; line-height: 1.2; }
html.mc-theme .mc-pagehead-info { display: flex; flex-wrap: wrap; gap: 6px 20px; margin: 0; color: var(--mc-muted); font-size: 15px; }
html.mc-theme .mc-pagehead-info > span { display: inline-flex; align-items: center; gap: 6px; }
html.mc-theme .mc-icon { display: inline-flex; flex: none; }

/* ---------- main card ---------- */
html.mc-theme #main-card { background: #fff; border: 1px solid var(--mc-line); border-radius: 14px; box-shadow: none; overflow: hidden; min-height: 0; }
html.mc-theme #main-card main { padding: 24px 28px; }
html.mc-theme footer { margin: 24px 0; color: var(--mc-muted); font-size: 14px; text-align: center; }
html.mc-theme footer a { color: var(--mc-muted); }

/* tabs above the schedule (hidden when the sidebar is on) */
html.mc-theme #schedule-nav { display: flex; align-items: center; justify-content: space-between; padding: 0 0 20px; margin: 0 0 4px; border-bottom: 1px solid var(--mc-line); }
html.mc-theme #schedule-nav .navigation { display: flex; gap: 8px; }
html.mc-theme #schedule-nav .navigation .btn { border: 1px solid var(--mc-line); border-radius: 999px; background: #fff; color: var(--mc-text-2); font-family: var(--mc-head); font-weight: 600; font-size: 14px; padding: 8px 18px; box-shadow: none; }
html.mc-theme #schedule-nav .navigation .btn:hover { border-color: var(--mc-orange); color: var(--mc-orange-dark); }
html.mc-theme #schedule-nav .navigation .btn.active { background: var(--mc-orange-soft); border-color: var(--mc-orange); color: var(--mc-orange-dark); }
html.mc-theme #schedule-nav .header-right { color: var(--mc-muted); font-size: 14px; }
html.mc-theme #schedule-nav .header-right summary.btn { border-radius: 999px; border-color: var(--mc-line); color: var(--mc-text-2); background: #fff; }
html.mc-theme.mc-has-sidebar #main-container #schedule-nav .navigation { display: none; }
html.mc-theme.mc-has-sidebar #schedule-nav { justify-content: flex-end; }
html.mc-theme.mc-has-sidebar #schedule-nav:not(:has(.header-right *)) { display: none; }
html.mc-theme #main-container.main-schedule #main-card main { padding: 20px 0 0; }
html.mc-theme #main-container.main-schedule #schedule-nav { padding: 0 24px 16px; }

/* buttons */
html.mc-theme .btn-success, html.mc-theme .btn-primary, html.mc-theme .btn-info { background: var(--mc-orange); border-color: var(--mc-orange); color: #fff; border-radius: 999px; font-family: var(--mc-head); font-weight: 600; }
html.mc-theme .btn-success:hover, html.mc-theme .btn-primary:hover, html.mc-theme .btn-info:hover { background: var(--mc-orange-dark); border-color: var(--mc-orange-dark); color: #fff; }
html.mc-theme .btn-success.disabled, html.mc-theme .btn-success:disabled { background: #9fa1aa; border-color: #9fa1aa; }
html.mc-theme .btn-outline-primary, html.mc-theme .btn-outline-info, html.mc-theme .btn-outline-success { color: var(--mc-orange-dark); border-color: var(--mc-orange); border-radius: 999px; background: #fff; }
html.mc-theme .btn-outline-primary:hover, html.mc-theme .btn-outline-info:hover, html.mc-theme .btn-outline-success:hover { background: var(--mc-orange-soft); color: var(--mc-orange-dark); }
html.mc-theme .url-links { gap: 12px; }
html.mc-theme .url-links .btn { font-size: 16px; padding: 12px 20px; }

/* ---------- sidebar ---------- */
html.mc-theme .mc-sidebar { display: none; }
html.mc-theme.mc-has-sidebar #main-container { max-width: none; width: auto; margin: 0; padding: 0 32px 0 calc(var(--mc-sidebar-w) + 32px); position: static; }
html.mc-theme.mc-has-sidebar #main-container > header { margin-left: calc(-1 * var(--mc-sidebar-w)); }
html.mc-theme.mc-has-sidebar #main-container.main-schedule { min-width: 0; }
html.mc-theme.mc-has-sidebar #main-container.main-schedule #main-card { min-width: 0; }
html.mc-theme.mc-has-sidebar #header-row .locales { display: none; }
html.mc-theme.mc-has-sidebar .mc-sidebar { display: block; position: absolute; top: var(--mc-header-h); left: 0; bottom: 0; width: var(--mc-sidebar-w); padding: 20px 12px; background: #fff; border-right: 1px solid var(--mc-line); box-sizing: border-box; font-size: 15px; z-index: 1; }
html.mc-theme .mc-sidebar-section + .mc-sidebar-section { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--mc-line); }
html.mc-theme .mc-sidebar h2 { margin: 6px 12px 8px; font-family: var(--mc-head); font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--mc-muted); }
html.mc-theme .mc-sidebar a { display: flex; align-items: center; gap: 10px; padding: 9px 12px; margin: 2px 0; border-radius: 8px; color: var(--mc-text-2); text-decoration: none; }
html.mc-theme .mc-sidebar a:hover { background: var(--mc-bg); color: var(--mc-text); }
html.mc-theme .mc-sidebar a.mc-active { background: var(--mc-orange-soft); color: var(--mc-orange-dark); font-weight: 600; }
html.mc-theme .mc-flag { width: 16px; text-align: center; font-size: 14px; line-height: 1; }

/* ---------- speakers list: dark cards ---------- */
html.mc-theme #main-card main > article > section.pretalx-list-day { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 20px; margin: 0; padding: 0; border: 0; }
html.mc-theme section.pretalx-list-day > a { display: block; min-width: 0; border-radius: 14px; overflow: hidden; background: var(--mc-card); text-decoration: none; transition: transform .15s, box-shadow .15s; }
html.mc-theme section.pretalx-list-day > a:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(14, 20, 41, .25); }
html.mc-theme section.pretalx-list-day .pretalx-session { display: flex; flex-direction: column; width: 100%; height: 100%; min-width: 0; min-height: 0; margin: 0; border: 0; background: transparent; }
html.mc-theme section.pretalx-list-day .pretalx-session .pretalx-session-time-box.avatar { width: 100%; min-width: 0; padding: 0; margin: 0; border: 0; border-radius: 0; background: #2a3050; }
html.mc-theme section.pretalx-list-day .pretalx-session .pretalx-session-time-box.avatar .avatar-wrapper { width: 100%; height: auto; margin: 0; border-radius: 0; }
html.mc-theme section.pretalx-list-day .pretalx-session .pretalx-session-time-box.avatar img { display: block; width: 100%; height: auto; max-width: none; max-height: none; aspect-ratio: 16 / 10; object-fit: cover; object-position: 50% 25%; border-radius: 0; }
html.mc-theme section.pretalx-list-day .pretalx-session .pretalx-session-time-box.avatar svg { display: block; width: 45%; height: auto; margin: 14% auto; color: #9fa1aa; }
html.mc-theme section.pretalx-list-day .pretalx-session-info { flex: 1; width: 100%; box-sizing: border-box; padding: 16px 18px 20px; margin: 0; border: 0; border-radius: 0; background: transparent; color: #c9cbd3; }
html.mc-theme section.pretalx-list-day .pretalx-session-info .title { margin: 0 0 8px; color: #fff; font-family: var(--mc-head); font-weight: 600; font-size: 16px; }
html.mc-theme section.pretalx-list-day > a:hover .pretalx-session-info .title { color: #fff; }
html.mc-theme section.pretalx-list-day .pretalx-session-info .abstract { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; margin: 0; color: #c9cbd3; font-size: 14px; font-style: italic; line-height: 1.5; }
html.mc-theme section.pretalx-list-day .pretalx-session-info .abstract p { margin: 0; }
html.mc-theme section.pretalx-list-day .pretalx-session-info ul { margin: 12px 0 0; padding: 0; list-style: none; }
html.mc-theme section.pretalx-list-day .pretalx-session-info li { position: relative; margin-top: 4px; padding-left: 14px; color: #9fa1aa; font-size: 13px; }
html.mc-theme section.pretalx-list-day .pretalx-session-info li::before { content: ""; position: absolute; left: 0; top: 7px; width: 6px; height: 6px; border-radius: 50%; background: var(--mc-orange); }

/* ---------- speaker / session detail ---------- */
html.mc-theme .speaker-container .speaker-avatar img { border-radius: 14px; }
html.mc-theme .pretalx-session { border-radius: 12px; }
html.mc-theme .pretalx-session .pretalx-session-time-box { border-radius: 12px 0 0 12px; }
html.mc-theme .pretalx-session .pretalx-session-info { border-radius: 0 12px 12px 0; }
html.mc-theme .pretalx-session .pretalx-session-info .title { font-family: var(--mc-head); font-weight: 600; }
html.mc-theme .heading-with-buttons { font-weight: 700; }

/* ---------- small screens ---------- */
@media (max-width: 900px) {
  html.mc-theme #top-bg { display: none; }
  html.mc-theme #main-container,
  html.mc-theme.mc-has-sidebar #main-container { width: auto; max-width: none; min-width: 0; padding: 0 16px; box-sizing: border-box; }
  html.mc-theme #main-container > header,
  html.mc-theme.mc-has-sidebar #main-container > header { flex-wrap: wrap; justify-content: flex-start; height: auto; min-height: 0; margin: 0 -16px 0; padding: 16px; background: var(--mc-navy); box-sizing: border-box; text-align: left; }
  html.mc-theme #main-container > header h1 { flex: 1 0 100%; text-align: left; }
  html.mc-theme #main-container > header h1 a { display: inline-block; }
  html.mc-theme #main-container.main-schedule > header { position: static; max-width: none; }
  html.mc-theme #main-container.main-schedule > header > * { padding: 0; margin-bottom: 0; }
  html.mc-theme #main-container.main-schedule #main-card { min-width: 0; }
  html.mc-theme #main-container > header #event-logo { height: 28px; }
  html.mc-theme .mc-header-links { flex-wrap: wrap; gap: 8px; margin: 0; }
  html.mc-theme #header-row { flex-wrap: wrap; }
  html.mc-theme #header-row a, html.mc-theme #header-row summary { height: 36px; padding: 0 14px; font-size: 13px; }
  html.mc-theme.mc-has-sidebar .mc-sidebar { position: static; display: flex; flex-wrap: wrap; gap: 4px 16px; width: auto; margin: 0 -16px 20px; padding: 8px 12px; border-right: 0; border-bottom: 1px solid var(--mc-line); }
  html.mc-theme.mc-has-sidebar .mc-sidebar-section { display: flex; flex-wrap: wrap; gap: 4px; margin: 0; padding: 0; border: 0; }
  html.mc-theme.mc-has-sidebar .mc-sidebar h2 { display: none; }
  html.mc-theme.mc-has-sidebar .mc-sidebar a { padding: 7px 10px; margin: 0; font-size: 14px; }
  html.mc-theme:not(.mc-has-sidebar) #main-container > header { margin-bottom: 20px; }
  html.mc-theme #main-card main { padding: 18px 16px; }
  html.mc-theme .mc-pagehead-title { font-size: 24px; }
}
