/* ========== BAZA (Twoje obecne style – zachowane 1:1) ========== */
body {margin:0;}
h1 {color:#000080 ;font-size:2em;}
h2 {color:#000080 ;}
.cmec-overlay-title{color:white;}
h3 {font-size: 20px; color:#000080 ;}

h6 {font-weight: normal;}

span {font-family:'Raleway' !important;color:#000080 !important;}

.cmec * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    scrollbar-width: thin;
    scrollbar-color: #D81F73 #FCE8F2;
}

.cmec-html,
.cmec-body {
    overflow-x: hidden;
}

.cmec-body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    font-family: 'Raleway' !important;
    color: #000080 !important;
    padding: 10px;
}

.cmec::-webkit-scrollbar {
    width: 8px;
}

.cmec::-webkit-scrollbar-track {
    background: #FCE8F2;
}

.cmec::-webkit-scrollbar-thumb {
    background: #D81F73;
    border-radius: 4px;
}

.cmec-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.cmec-top-bar {
    background: #FCE8F2;
}

.cmec-container-top {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 10px 0;
}

.cmec-login,
.cmec-register {
    font-weight: 300;
    text-decoration: none;
    color: #D81F73;
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
}

.cmec-login:hover {
    color: #000080;
}

.cmec-login {
  position: relative;
}

.cmec-login-menu {
  display: none;
  position: absolute;
  color: #000080;
  top: 100%;
  right: 0;
  background: #fff;
  border: 1px solid #ccc;
  padding: 8px 0;
  z-index: 9999;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  min-width: 160px;
}

.cmec-login-menu a {
  display: block;
  padding: 8px 16px;
  text-decoration: none;
  font-weight: normal;
  color: #D81F73;
}

.cmec-login-menu a:hover {
  background-color: #f0f0f0;
}

.cmec-login:hover .cmec-login-menu {
  display: block;
}

.cmec-register {
    background: #000080;
    color: #fff;
}

.cmec-register:hover {
    color: #D81F73;
}
.cmec-header{background:#fff;position:sticky;top:0;box-shadow: 0 4px 14px -8px rgba(41, 56, 130, 0.18);z-index:1000}
.cmec-header-inner{display:flex;align-items:center;justify-content:space-between;padding:20px 0}
.cmec-separator-line{border:0;height:2px;border-bottom:2px solid;border-image:linear-gradient(to right,#062476,#ffffff)1;margin:0.5em 0}
.cmec-logo{font-size:28px;font-weight:300}
.cmec-nav-menu{display:flex;gap:8px}
.cmec-nav-menu a{font-weight:300;color:#D81F73;text-decoration:none}
.cmec-nav-menu a:hover {color: #000080;}
.cmec-nav-menu a.cmec-active{color:#000080}
.cmec-sep{color:#D81F73}
.cmec-hamburger{display:none;flex-direction:column;cursor:pointer;margin-right:20px;z-index:1001}
.cmec-hamburger span{width:25px;height:3px;background:#111;margin:4px 0}
.cmec-slider{position:relative;overflow:hidden}
.cmec-slides{display:flex;transition:transform 0.6s ease-in-out}
.cmec-slide{flex:0 0 100%;width:100%;position:relative}
.cmec-slide img{display:block;width:100vw;height:auto;object-fit:cover;object-position:center}
.cmec-slider-controls{position:absolute;top:50%;width:100%;display:flex;justify-content:space-between;transform:translateY(-50%)}
.cmec-arrow{background:rgba(0,0,0,0.5);color:#fff;padding:10px;cursor:pointer}
.cmec-overlay{position:absolute;top:50%;right:calc((100vw - 1350px) / 2 + 0px);transform:translateY(-50%);text-align:center;color:#fff;padding:20px;width:60%;max-width:none}
.cmec-overlay h1{font-size:clamp(20px,4vw,36px);line-height:1;font-weight:700;margin:0 0 15px}
.cmec-subtitle{font-size:clamp(16px,3vw,24px);margin-bottom:15px;font-weight:400}
.cmec-director{font-size:clamp(14px,2.5vw,16px);margin-bottom:15px;font-weight:300;color:#fff}
.cmec-overlay .cmec-director b{font-weight:700}
.cmec-meta{margin-bottom:15px}
.cmec-meta span{font-weight:300;margin:0 5px;font-size:clamp(14px,2.5vw,16px)}
.cmec-btn-primary{display:inline-block;background:#D81F73;color:#fff;padding:12px 24px;font-weight:700;text-decoration:none;margin-top:10px;transition:transform .3s ease}
.cmec-btn-primary:hover{transform:scale(1.05)}
.cmec-events{padding:40px 0;background:#f9f9f9;flex:1}
.cmec-card{display:flex;max-width:1200px;height:350px;margin:0 auto;margin-top:30px;background:#fff;border-radius:8px;overflow:hidden;box-shadow:0 2px 8px rgba(0,0,0,0.1)}
.cmec-card-text{flex:1;padding:20px;display:flex;flex-direction:column}
.cmec-meta-small{margin-bottom:15px;position:relative;display:inline-block;padding-right:10px}
.cmec-meta-small span{color:#e4227e;font-weight:300;margin-right:10px}
.cmec-card-text h2{font-size:24px;line-height:1.3;color:#000080;margin:10px 0;font-weight:700}
.cmec-subtitle-small{color:#7a7ab0;font-size:16px;margin-bottom:20px;font-weight:600}
.cmec-speaker-title{font-size:14px;color:#e4227e;margin-bottom:5px;font-weight:300}
.cmec-speaker-name{font-size:16px;color:#D81F73;margin-bottom:15px;font-weight:700}
.cmec-card-footer{display:flex;align-items:center;justify-content:flex-end;gap:15px;margin-top:auto;padding-top:10px;margin-bottom:20px}
.cmec-free{font-size:16px;color:#000080;font-weight:700}
.cmec-btn-secondary{background:#000080;color:#fff;padding:10px 20px;font-weight:300;text-decoration:none;transition:transform .3s ease;margin-right: 25px;cursor:pointer;}
.cmec-btn-secondary:hover{transform:scale(1.05)}
.cmec-card-image{flex:1;overflow:hidden;display:flex;align-items:center;justify-content:center}
.cmec-card-image img{width:100%;height:100%;object-fit:cover;object-position:center}
.cmec-footer-top{padding:20px 0;text-align:center}
.cmec-footer-top a{margin:0 10px;color:#000080;text-decoration:none;font-weight:300}
.cmec-footer-bottom{background:#FCE8F2;padding:10px 0;margin-top:auto}
.cmec-footer-inner{display:flex;justify-content:space-between;align-items:center}

@media(max-width:768px){
  .cmec-hamburger{display:flex}
  .cmec-nav-menu{
    display:flex;
    flex-direction:column;
    position:absolute;
    top:100%;
    left:0;
    width:100%;
    background:#fff;
    box-shadow:0 4px 4px -2px rgba(0,0,0,0.2);
    z-index:1001;
    max-height:1500px;
    transition:max-height .3s cubic-bezier(.4,0,.2,1);
    overflow:visible;
  }
  .cmec-nav-menu:not(.cmec-active){
    max-height:0;
    transition:max-height .3s cubic-bezier(.4,0,.2,1);
    overflow:hidden;
  }
  .cmec-nav-menu .cmec-sep{display:none}
  .cmec-nav-menu a{padding:12px;text-align:center;border-bottom:1px solid #eee;font-weight:300}
  .cmec-nav-menu a:last-child{border-bottom:none}
  .cmec-slider{margin-top:0;left:0;right:0;margin-left:0;margin-right:0;width:100vw}
  .cmec-slides{width:100vw;height:400px}
  .cmec-slide img{width:200vw;height:400px}
  .cmec-overlay{top:50%;left:50%;right:auto;transform:translate(-50%,-50%);width:90%;padding:20px}
  .cmec-btn-primary{width:60%;display:block;margin:15px auto 0;text-align:center}
  .cmec-card{flex-direction:column;height:auto}
  .cmec-card-text{width:100%}
  .cmec-card-image{width:100%;height:200px}
  .cmec-footer-inner{flex-direction:column;gap:10px}
  .cmec-logo{margin-left:10px}
  .cmec-submenu-wrapper{
    width:100%;
    display:block;
    text-align:center;
    position:relative;
  }
  .cmec-submenu-wrapper > a{
    display:block;
    padding:12px;
    border-bottom:1px solid #eee;
    background:#fff;
    position:relative;
    z-index:1;
  }
  .cmec-submenu-wrapper > i{display:none;}
  .cmec-submenu{
    display:block;
    overflow:hidden;
    max-height:0;
    background:#fff;
    transition:max-height .4s cubic-bezier(.4,0,.2,1);
    width:100%;
    margin:0;
    padding:0;
    text-align:center;
    box-shadow:none;
    border:none;
    position:relative;
  }
  .cmec-submenu.cmec-open{
    max-height:800px;
    transition:max-height .4s cubic-bezier(.4,0,.2,1);
  }
  .cmec-submenu li{
    display:block;
  }
  .cmec-submenu li a{
    padding:10px 0;
    border-bottom:none;
    display:block;
    text-align:center;
    margin:0;
    background:#fff;
  }
  .cmec-submenu li:last-child a{
    border-bottom:none;
  }
}

@media(min-width:769px){
  .cmec-overlay{width:800px}
}

.cmec-slider .cmec-meta span strong{font-weight:700}
.cmec-director-name{font-weight:700}
.cmec-strong{font-weight:700}
.cmec-submenu-wrapper { position:relative;display:inline-block }
.cmec-submenu {
  position: absolute;
  left: 0;
  top: 100%;
  background: #fff;
  z-index: 1000;
  min-width: 200px;
  border: 1px solid #ccc;
  box-shadow: 0 4px 16px -6px rgba(41, 56, 130, 0.10);
  display: none;
  transition: none;
}
.cmec-submenu.cmec-open { display: block; }
.cmec-submenu li { display:block }
.cmec-submenu li a { display:block;padding:0.25rem 0.5rem;color:#D81F73;text-decoration:none }
.cmec-submenu li a:hover {
    color: #000080;
}

@media (max-width: 991px) {
  .description__columns {
    flex-direction: column;
    gap: 24px;
  }
  .description__text, .description__video {
    max-width: 100%;
  }
  .video-wrapper {
    aspect-ratio: 16 / 9;
  }
}
.speakers {
  width: 100%;
}
.speakers__header {
  width: 90%;
  max-width: 1520px;
  margin: 60px auto 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.speakers__header h2 {
  font-size: 28px;
  margin: 0;
  padding: 0;
  white-space: nowrap;
  color:#000080;
}
.speakers__line {
  margin-top: 8px;
  height: 1px;
  background: #e4227e;
  width: 100%;
  border-radius: 2px;
}
@media (max-width: 991px) {
  .speakers__header {
    width: 96%;
    margin: 32px auto 0 auto;
  }
  .speakers__header h2 {
    font-size: 22px;
  }
}
.description__container {
  width: 90%;
  max-width: 1520px;
  margin: 60px auto 0 auto;
}
.description__columns {
  display: flex;
  gap: 40px;
}
.description__text {
  flex: 7;

  font-size: 20px;
  line-height: 1.6;
}
.description__video {
  flex: 3;

  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
}
.video-wrapper {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 12px;
  overflow: hidden;
}
.video-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.video-wrapper video {
  width: 100%;
  height: 100%;
  display: block;
}
.worth__slider .advice.cart,
.must-know__slider .knowledge.cart {
  box-shadow: 0 2px 10px rgba(0,0,0,0.07);
  border-radius: 14px;
  background: #fff;
  padding: 32px 24px;
  margin: 12px 10px;
  min-width: 280px;
  /*max-width: 350px;*/
  box-sizing: border-box;
  height: auto;
  display: block;
}
.worth__slider,
.must-know__slider {
  padding-bottom: 36px;
}
.slick-slide {
  height: auto !important;
}
.slick-track {
  display: flex !important;
  align-items: flex-start !important;
}
.note-editable span[style*="color"] {
  color: inherit !important;
}

.cmec-card:last-of-type .cmec-card-text {
    display: inline-block;
    padding-bottom: 30px;
}

/* ========== DODATKI POD KARUZELĘ KAFELKÓW (NOWE) ========== */

/* Spójny kontener sekcji (nagłówki nie “wychodzą” poza treść) */
.section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

.section-container > h2 {
  font-size: 28px;
  line-height: 1.25;
  font-weight: 600;
  margin: 0 0 18px 0;
  padding: 0 0 10px 0;
  border-bottom: 1px solid #FCE8F2;
  color: #000080;
}

/* --- KAFELKI – wyśrodkowanie ikon/obrazków i tekstów --- */
.cart__image,
.advice__image,
.knowledge__image,
.knowledge.__image {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: initial !important;
  width: 100%;
  min-height: 64px;
}
.cart__image img,
.advice__image img,
.knowledge__image img,
.knowledge.__image img,
.cart__image svg,
.advice__image svg,
.knowledge__image svg {
  display: block !important;
  margin: 0 auto !important;
  max-width: 100%;
  height: auto;
}

.cart__content,
.advice__content,
.knowledge__content {
  padding-left: 0 !important;
  padding-right: 0 !important;
  text-align: center !important;
}
.cart__title,
.advice__title,
.knowledge__title {
  margin: 8px 0 0 0 !important;
  text-align: center !important;
}

/* --- KARUZELA: layout siatki kiedy wszystko się mieści --- */
.tile-carousel .tiles {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(280px, 320px));
  gap: 24px;
  justify-content: center;
  align-items: stretch;
}

/* --- KARUZELA: wymuszony pojedynczy rząd przy overflow --- */
.tile-carousel {
  position: relative;
}
.tile-carousel.is-carousel .tiles {
  display: flex !important;
  flex-wrap: nowrap !important;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  padding-bottom: 8px;
}
.tile-carousel.is-carousel .tiles > * {
  flex: 0 0 auto;
  width: 320px;
  scroll-snap-align: start;
}

/* --- Strzałki przewijania: widoczne tylko, gdy karuzela aktywna --- */
.tile-carousel .tile-nav { display: none; }
.tile-carousel.is-carousel .tile-nav {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
}
.tile-btn {
  border: 1px solid #e6e6e6;
  background: #fff;
  border-radius: 8px;
  width: 40px;
  height: 40px;
  cursor: pointer;
}
.tile-btn[disabled] { opacity: .4; cursor: default; }

/* Drobne: obrazki partnerów (jeśli są używane) */
.partners__image { gap: 24px; }
.partners__image img {
  display: block;
  max-height: 80px;
  object-fit: contain;
}

/* Bezpiecznie wyłączone popupy, jeśli były */
.hover_bkgr_fricc { display: none; }
