/* AMM concept 03 — the original blue identity, with the kinetic design system. */
body.am-v3 {
  --am-ink: #102e51;
  --am-ink-deep: #082544;
  --am-blue: #2e68b0;
  --am-blue-dark: #1b538f;
  --am-sky: #d8ebff;
  --am-paper: #f2f7fc;
  --am-muted: #50687f;
  --am-line: #d6e4f1;
  --am-accent: #7db7eb;
  --am-shadow: 0 24px 62px rgba(17, 64, 112, .12);
}

/* Familiar brand mark and historical blue return to the navigation. */
body.am-v3 .am-header { background: rgba(255,255,255,.97); border-bottom-color: #d9e5f1; box-shadow: 0 12px 38px rgba(12,51,94,.09); }
body.am-v3 .am-header-top { background: #2e68b0; color: #fff; font-size: 12px; letter-spacing: .01em; text-transform: none; }
body.am-v3 .am-header-top .am-container { min-height: 40px; }
body.am-v3 .am-top-contact, body.am-v3 .am-top-social { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 20px; }
body.am-v3 .am-header-top a { display: inline-flex; align-items: center; padding: 8px 0; color: #fff; text-decoration: none; white-space: nowrap; }
body.am-v3 .am-header-top a:hover, body.am-v3 .am-header-top a:focus-visible { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
body.am-v3 .am-header-row { min-height: 84px; }
body.am-v3 .am-desktop-nav > a,
body.am-v3 .am-desktop-nav > details > summary { color: #17395c; }
body.am-v3 .am-desktop-nav > a:hover,
body.am-v3 .am-desktop-nav > details > summary:hover,
body.am-v3 .am-desktop-nav > details[open] > summary,
body.am-v3 .am-desktop-nav > a[aria-current="page"] { color: #2e68b0; }
body.am-v3 .am-desktop-nav .am-dropdown { background: #fff; border-color: #d9e5f1; }
body.am-v3 .am-dropdown a { color: #17395c; }
body.am-v3 .am-dropdown a:hover, body.am-v3 .am-dropdown a:focus-visible { background: #edf6ff; color: #1b538f; }
body.am-v3 .am-nav-cta { background: #2e68b0; color: #fff !important; box-shadow: 0 9px 23px rgba(46,104,176,.23); }
body.am-v3 .am-nav-cta:hover { background: #1b538f; }
body.am-v3 .am-skip { background: #102e51; color: #fff !important; }
body.am-v3 + .am-wow-progress, body.am-v3 ~ .am-wow-progress { background: #5aa5e8; }
body.am-v3 .am-wow-progress { background: #5aa5e8; }

body.am-v3 .am-eyebrow { color: #2e68b0; }
body.am-v3 .am-eyebrow-light { color: #b6d9ff; }
body.am-v3 .am-button-primary { background: #2e68b0; box-shadow: 0 12px 26px rgba(36,92,156,.2); }
body.am-v3 .am-button-primary:hover { background: #1b538f; }
body.am-v3 .am-button-outline:hover { border-color: #2e68b0; color: #2e68b0 !important; }

/* Kinetic hero: the image and geometry are retained, now in the AMM palette. */
body.am-v3 .am-wow-hero { background: #082544; }
body.am-v3 .am-wow-hero::before { background-image: linear-gradient(rgba(129,184,235,.35) 1px,transparent 1px),linear-gradient(90deg,rgba(129,184,235,.35) 1px,transparent 1px); }
body.am-v3 .am-wow-hero::after { -webkit-text-stroke-color: rgba(153,207,255,.15); }
body.am-v3 .am-wow-hero-grid { background: radial-gradient(circle at 70% 45%,rgba(39,126,210,.27),transparent 45%),linear-gradient(115deg,transparent 0 55%,rgba(104,170,233,.07) 55% 55.15%,transparent 55.15%); }
body.am-v3 .am-wow-index span:first-child { color: #8fc8ff; }
body.am-v3 .am-wow-hero h1 em { color: #9bd0ff; }
body.am-v3 .am-wow-hero h1 span {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-weight: 800;
  letter-spacing: -.018em;
}
body.am-v3 .am-wow-hero h1 span:nth-child(2) { letter-spacing: -.018em; }
body.am-v3 .am-wow-hero .am-hero-lead { color: #d6e5f3; }
body.am-v3 .am-wow-scrollcue span { background: #7db7eb; }
body.am-v3 .am-wow-stage { border-color: rgba(166,210,252,.38); background: radial-gradient(circle at 50% 40%,#275b93 0,#0c345d 42%,#071d36 100%); }
body.am-v3 .am-wow-stage-photo { opacity: .39; }
body.am-v3 .am-wow-stage::before { border-color: rgba(201,230,255,.31); }
body.am-v3 .am-wow-stage-bottom span:last-child { color: #a8d7ff; }
body.am-v3 .am-wow-crosshair i { border-color: #84c9ff; }
body.am-v3 .am-wow-rail b { color: #83c8ff; }

/* A stronger system of white space, blue rules, and generous section rhythm. */
body.am-v3 .am-facts { background: #edf5fc; }
body.am-v3 .am-facts-grid { border-inline-color: #d3e3f2; background: #fff; }
body.am-v3 .am-fact { position: relative; border-color: #d3e3f2; }
body.am-v3 .am-fact::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 3px; background: #2e68b0; opacity: .65; }
body.am-v3 .am-fact span, body.am-v3 .am-card-no { color: #2e68b0; }
body.am-v3 .am-intro { background: #fff; }
body.am-v3 .am-info-card { background: #edf5fc; border-top-color: #2e68b0; }
body.am-v3 .am-info-card:nth-child(2) { background: #e4f0fb; border-top-color: #70aee5; }
body.am-v3 .am-info-card:hover { box-shadow: 0 28px 54px rgba(26,78,135,.12); }
body.am-v3 .am-speakers { background: #f2f7fc; }
body.am-v3 .am-speaker-info::before { background: #2e68b0; }
body.am-v3 .am-speaker-info span, body.am-v3 .am-speaker a::after { color: #2e68b0; }
body.am-v3 .am-topics { background: #0d2e52; }
body.am-v3 .am-topics::before { border-color: rgba(144,202,255,.17); box-shadow: 0 0 0 110px rgba(144,202,255,.03),0 0 0 220px rgba(144,202,255,.02); }
body.am-v3 .am-topic { border-color: #3a6791; background: rgba(22,65,104,.74); }
body.am-v3 .am-topic::after { color: #a3d4ff; }
body.am-v3 .am-topic:hover { border-color: #a3d4ff; background: #1d568d; }
body.am-v3 .am-topic-number { color: #aad5fc; }
body.am-v3 .am-logo-card:hover { border-color: #7db7eb; box-shadow: 0 15px 30px rgba(29,88,152,.1); }

/* Matching, edge-to-edge editorial bands. Their order alternates on desktop. */
body.am-v3 .am-recap, body.am-v3 .am-about { padding: 0; overflow: hidden; }
body.am-v3 .am-recap-grid, body.am-v3 .am-about-grid {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  width: 100%; max-width: none; min-height: 610px;
  gap: 0;
}
body.am-v3 .am-recap-image, body.am-v3 .am-about-visual {
  position: relative; min-height: 610px; max-height: none;
  height: 100%; overflow: hidden; border: 0; border-radius: 0;
}
body.am-v3 .am-recap-image img, body.am-v3 .am-about-visual img {
  position: absolute; inset: 0; display: block; width: 100%; height: 100%;
  min-height: 0; max-height: none; object-fit: cover; object-position: center;
}
body.am-v3 .am-recap-image::after, body.am-v3 .am-about-visual::after {
  content: ""; position: absolute; inset: 0;
  border: 18px solid rgba(255,255,255,.13);
  background: linear-gradient(0deg,rgba(8,43,79,.15),transparent 45%);
  pointer-events: none;
}
body.am-v3 .am-about-visual { order: 2; }
body.am-v3 .am-about-visual img { object-position: 58% center; }
body.am-v3 .am-recap-copy, body.am-v3 .am-about-copy {
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
  width: 100%; max-width: none; min-height: 610px;
  padding: 70px clamp(55px,7.1vw,126px);
  background: #e8f2fc;
}
body.am-v3 .am-about-copy { order: 1; background: #dcebf8; }
body.am-v3 .am-recap-copy p:not(.am-eyebrow), body.am-v3 .am-about-copy p:not(.am-eyebrow) {
  max-width: 61ch; margin: 0 0 15px; color: #314f6b; font-size: 17px; line-height: 1.8;
}
body.am-v3 .am-recap h2, body.am-v3 .am-about h2 { font-size: clamp(42px,4.7vw,72px); letter-spacing: -.065em; }
body.am-v3 .am-recap .am-button, body.am-v3 .am-about .am-button { margin-top: 25px; }
body.am-v3 .am-about-logo { margin-top: 30px; width: 220px; max-width: 100%; height: auto; object-fit: contain; }

body.am-v3 .am-contact { background: #082544; }
body.am-v3 .am-contact-details, body.am-v3 .am-contact-form { background: #12395f; border-color: #49729b; }
body.am-v3 .am-form-grid input, body.am-v3 .am-form-grid textarea { background: #1b466f; border-color: #5e86ad; }
body.am-v3 .am-footer { background: #061e37; }
body.am-v3 .am-footer h2::after { background: #80bdf2; }

/* Current subpages share the same header, blue photo stage, type, and controls. */
body.am-v3.am-subpage #am-main { background: #fff; }
body.am-v3.am-subpage .wpb-content-wrapper > .vc_row[data-vc-parallax-image]:first-child {
  min-height: 395px !important; padding-top: 100px !important; padding-bottom: 100px !important;
}
body.am-v3.am-subpage .wpb-content-wrapper .vc_row[data-vc-parallax-image]::after {
  background: linear-gradient(90deg,rgba(6,39,75,.9) 0%,rgba(10,53,98,.66) 51%,rgba(12,49,85,.23) 100%);
}
body.am-v3.am-subpage .wpb-content-wrapper > .vc_row[data-vc-parallax-image]:first-child h1 {
  font-size: clamp(39px,4.4vw,66px) !important; letter-spacing: -.06em !important;
}
body.am-v3.am-subpage .wpb-content-wrapper > .vc_row[data-vc-parallax-image]:first-child h2 {
  font-size: clamp(23px,2.3vw,34px) !important;
}
body.am-v3.am-subpage .wpb-content-wrapper h1,
body.am-v3.am-subpage .wpb-content-wrapper h2,
body.am-v3.am-subpage .wpb-content-wrapper h3,
body.am-v3.am-subpage .wpb-content-wrapper h4 { color: #163c63; }
body.am-v3.am-subpage .wpb-content-wrapper p, body.am-v3.am-subpage .wpb-content-wrapper li { color: #38546f; }
body.am-v3.am-subpage .wpb-content-wrapper a:not(.rd_stroke_bt) { color: #1b599a; }
body.am-v3.am-subpage .wpb-content-wrapper a:not(.rd_stroke_bt):hover { color: #2e68b0; }
body.am-v3.am-subpage .page_title_ctn { background: #e8f2fc !important; }
body.am-v3.am-subpage .rd_stroke_bt { background: #2e68b0 !important; border-color: #2e68b0 !important; box-shadow: 0 10px 22px rgba(28,85,149,.18); }
body.am-v3.am-subpage .rd_stroke_bt:hover { background: #1b538f !important; border-color: #1b538f !important; }
body.am-v3.am-subpage .archive-form-notice { border-left-color: #2e68b0; background: #eaf4fe; }
body.am-v3.am-subpage .am-map-link { border-color: #b9d7f0; border-radius: 0; background: #eaf4fe; color: #1b538f !important; }
body.am-v3.am-subpage .am-map-link:hover { background: #d9edff; }
body.am-v3.am-subpage input:not([type="submit"]), body.am-v3.am-subpage textarea { border-color: #c9dceb !important; border-radius: 0 !important; }
body.am-v3.am-subpage form[data-archive-inactive="true"] input[type="submit"]:disabled { border-radius: 0 !important; }

/* Recurring legacy components now use one set of blue surfaces. */
body.am-v3.am-page-faq #am-main .wpb_accordion_section { border-color: #c9dceb; border-radius: 0; box-shadow: 0 7px 24px rgba(15,64,111,.05); }
body.am-v3.am-page-faq #am-main .wpb_accordion_section .wpb_accordion_header { background: #eaf4fe !important; border-left: 4px solid #2e68b0 !important; }
body.am-v3.am-page-faq #am-main .wpb_accordion_section .wpb_accordion_content { background: #fff !important; }
body.am-v3.am-page-rejestracja-uczestnika #am-main .vc_custom_1548415620020 > .wpb_column > .vc_column-inner { border: 1px solid #c9dceb; border-top: 4px solid #2e68b0; border-radius: 0; background: #edf5fc; }
body.am-v3.am-page-wystapienia-plenarne #am-main .vc_row.vc_custom_1744119070016 { padding-block: 30px; border-bottom: 1px solid #d9e8f5; }
body.am-v3.am-page-wystapienia-plenarne #am-main .vc_row.vc_custom_1744119070016 img { border-radius: 0; box-shadow: 0 12px 25px rgba(16,57,98,.13); }
body.am-v3.am-page-miejsce #am-main .am-map-link { margin-top: 12px; }
body.am-v3.am-page-wystapienia-plenarne #am-main .wpb-content-wrapper > .vc_row.vc_custom_1744119051882,
body.am-v3.am-page-wystapienia-plenarne #am-main .wpb-content-wrapper > .vc_row.vc_custom_1744119070016 {
  padding: 34px 38px !important; margin-bottom: 24px; border: 1px solid #d5e5f3;
  border-left: 4px solid #2e68b0; background: #f5f9fd;
}
body.am-v3.am-page-wystapienia-plenarne #am-main .wpb-content-wrapper > .vc_row.vc_custom_1744119070016 { border-bottom: 1px solid #d5e5f3; }
body.am-v3.am-page-wystapienia-plenarne #am-main .wpb-content-wrapper > .vc_row.vc_custom_1744119051882 h3,
body.am-v3.am-page-wystapienia-plenarne #am-main .wpb-content-wrapper > .vc_row.vc_custom_1744119070016 h3 { color: #173f69 !important; font-weight: 800 !important; }
body.am-v3.am-page-miejsce .rd_img_carousel_ctn,
body.am-v3.am-page-miejsce .rd_img_carousel { height: auto !important; min-height: 0 !important; transform: none !important; }
body.am-v3.am-page-miejsce .rd_img_carousel_ctn { width: 100%; overflow: hidden; }
body.am-v3.am-page-miejsce .rd_img_carousel {
  display: flex !important; gap: 12px; width: 100%; overflow-x: auto !important;
  scroll-snap-type: x mandatory; overscroll-behavior-inline: contain; padding-bottom: 12px;
}
body.am-v3.am-page-miejsce .rd_img_carousel a {
  display: block !important; flex: 0 0 min(78%, 420px); width: auto !important;
  position: static !important; float: none !important; margin: 0 !important;
  visibility: visible !important; opacity: 1 !important; transform: none !important;
  scroll-snap-align: start;
}
body.am-v3.am-page-miejsce .rd_img_carousel img {
  display: block !important; width: 100% !important; height: 260px !important;
  object-fit: cover; border: 1px solid #d5e5f3;
}
body.am-v3.am-page-miejsce .rd_img_carousel_ctn .ic_nav { display: none !important; }
body.am-v3.am-page-rejestracja-partner #am-main .vc_row.vc_custom_1737965595494 {
  display: grid !important; grid-template-columns: minmax(0,2fr) minmax(300px,1fr);
  gap: 24px; align-items: stretch; padding-block: 58px !important;
}
body.am-v3.am-page-rejestracja-partner #am-main .vc_row.vc_custom_1737965595494::before,
body.am-v3.am-page-rejestracja-partner #am-main .vc_row.vc_custom_1737965595494::after { content: none !important; display: none !important; }
body.am-v3.am-page-rejestracja-partner #am-main .vc_row.vc_custom_1737965595494 > .wpb_column {
  width: auto !important; float: none !important; margin: 0 !important;
}
body.am-v3.am-page-rejestracja-partner #am-main .vc_row.vc_custom_1737965595494 > .wpb_column:first-child > .vc_column-inner {
  display: flex; align-items: center; justify-content: center; min-height: 430px;
  height: 100%; padding: 48px !important; border-top: 4px solid #2e68b0; background: #e8f2fc;
}
body.am-v3.am-page-rejestracja-partner #am-main .vc_row.vc_custom_1737965595494 > .wpb_column:first-child h2 {
  max-width: 21ch; margin: 0; color: #143c65 !important;
  font-size: clamp(29px,3.4vw,48px) !important; line-height: 1.2 !important; text-align: left !important;
}
body.am-v3.am-page-rejestracja-partner #am-main .vc_row.vc_custom_1737965595494 > .wpb_column:last-child > .vc_column-inner { height: 100%; }
body.am-v3.am-page-rejestracja-partner #am-main .vc_row.vc_custom_1737965595494 .vc_empty_space { display: none !important; }
body.am-v3.am-subpage #am-main [id^="rd_"] .wpcf7 form[data-archive-inactive="true"] input[type="submit"]:disabled,
body.am-v3.am-subpage #am-main [id^="rd_"] .wpcf7 form[data-archive-inactive="true"] input[type="submit"]:disabled:hover {
  background: #e1e9f3 !important; border: 1px solid #c8d7e6 !important;
  color: #294a6d !important; opacity: 1 !important; cursor: not-allowed !important;
}
body.am-v3.am-subpage form[data-archive-inactive="true"] input:disabled:not([type="submit"]),
body.am-v3.am-subpage form[data-archive-inactive="true"] textarea:disabled {
  background: #f3f7fb !important; color: #647c93 !important; opacity: 1 !important;
}

@media (max-width: 1180px) {
  body.am-v3 .am-mobile-nav > summary { color: #17395c; border-color: #c9dceb; }
  body.am-v3 .am-mobile-nav > nav { background: #fff; border-color: #d6e4f1; }
  body.am-v3 .am-mobile-nav nav > a,
  body.am-v3 .am-mobile-nav nav > details > summary { color: #17395c; border-color: #e0eaf4; }
  body.am-v3 .am-mobile-nav .am-dropdown { border-color: #e0eaf4; }
  body.am-v3 .am-mobile-nav .am-dropdown a { color: #385b7d; }
}
@media (max-width: 900px) {
  body.am-v3 .am-recap-grid, body.am-v3 .am-about-grid { grid-template-columns: 1fr; min-height: 0; }
  body.am-v3 .am-recap-image, body.am-v3 .am-about-visual { order: 0; height: 380px; min-height: 380px; max-height: none; }
  body.am-v3 .am-recap-copy, body.am-v3 .am-about-copy { order: 1; min-height: 0; padding: 65px max(48px,calc((100vw - 760px)/2)); }
  body.am-v3.am-page-rejestracja-partner #am-main .vc_row.vc_custom_1737965595494 { grid-template-columns: 1fr; }
  body.am-v3.am-page-rejestracja-partner #am-main .vc_row.vc_custom_1737965595494 > .wpb_column:first-child > .vc_column-inner { min-height: 230px; }
}
@media (max-width: 650px) {
  body.am-v3 .am-header-top { display: block; }
  body.am-v3 .am-header-top .am-container { flex-direction: column; justify-content: center; gap: 0; padding-block: 6px; }
  body.am-v3 .am-top-contact, body.am-v3 .am-top-social { justify-content: center; gap: 2px 16px; }
  body.am-v3 .am-header-top a { padding: 3px 0; font-size: 12px; }
  body.am-v3 .am-header-row { min-height: 72px; }
  body.am-v3 .am-wow-hero h1 em { color: #9bd0ff; }
  body.am-v3 .am-recap-image, body.am-v3 .am-about-visual { height: 280px; min-height: 280px; }
  body.am-v3 .am-recap-copy, body.am-v3 .am-about-copy { padding: 48px 22px 56px; }
  body.am-v3 .am-recap h2, body.am-v3 .am-about h2 { font-size: 42px; }
  body.am-v3 .am-recap-image::after, body.am-v3 .am-about-visual::after { border-width: 10px; }
  body.am-v3.am-subpage .wpb-content-wrapper > .vc_row[data-vc-parallax-image]:first-child { min-height: 270px !important; padding-top: 75px !important; padding-bottom: 75px !important; }
  body.am-v3.am-page-wystapienia-plenarne #am-main .wpb-content-wrapper > .vc_row.vc_custom_1744119051882,
  body.am-v3.am-page-wystapienia-plenarne #am-main .wpb-content-wrapper > .vc_row.vc_custom_1744119070016 { padding: 24px 22px !important; }
  body.am-v3.am-page-miejsce .rd_img_carousel img { height: 210px !important; }
  body.am-v3.am-page-rejestracja-partner #am-main .vc_row.vc_custom_1737965595494 { gap: 16px; padding-block: 35px !important; }
  body.am-v3.am-page-rejestracja-partner #am-main .vc_row.vc_custom_1737965595494 > .wpb_column:first-child > .vc_column-inner { min-height: 190px; padding: 28px !important; }
  body.am-v3.am-page-rejestracja-partner #am-main .vc_row.vc_custom_1737965595494 > .wpb_column:first-child h2 { font-size: 29px !important; }
}
