@charset "utf-8";

/* hero slider */
#header_slider_wrap { position: relative; }
#header_slider { position: relative; height: 62vh; min-height: 380px; }
#header_slider .item {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
  pointer-events: none;
}
#header_slider .item.is-active { opacity: 1; pointer-events: auto; }
#header_slider .bg_image { position: absolute; inset: 0; z-index: 1; }
#header_slider .bg_image img { width: 100%; height: 100%; object-fit: cover; background: #d9d2c9; }
#header_slider .overlay { position: absolute; inset: 0; z-index: 2; background-color: rgba(0,0,0,.3); }
#header_slider .catch {
  position: absolute;
  z-index: 3;
  right: var(--gutter);
  bottom: 54px;
  margin: 0;
  color: #fff;
  font-size: 24px;
  line-height: 1.7;
  text-align: right;
  text-shadow: 0 1px 14px rgba(0,0,0,.35);
}
#header_slider .catch span { display: block; }
#header_slider .catch span { opacity: 0; transform: translate3d(0,18px,0); }
#header_slider .item.is-active .catch span { opacity: 1; transform: translate3d(0,0,0); transition: opacity 1s ease .2s, transform 1s ease .2s; }
#header_slider .item.is-active .catch span:nth-child(2) { transition-delay: .5s; }

#slider_dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 16px;
  z-index: 4;
  display: flex;
  justify-content: center;
  gap: 9px;
}
#slider_dots button {
  width: 9px;
  height: 9px;
  border-radius: 100%;
  background: rgba(255,255,255,.55);
}
#slider_dots button.is-active { background: #fff; }

/* news ticker */
#news_ticker {
  position: relative;
  z-index: 5;
  margin: -26px var(--gutter) 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 10px 18px;
  box-shadow: 0 6px 18px rgba(42,39,36,.08);
}
#news_ticker .splide__list { position: relative; }
#news_ticker .news_item { display: none; }
#news_ticker .news_item.is-visible { display: block; }
#news_ticker a { display: block; color: var(--ink); }
#news_ticker .date { display: block; font-size: 11.5px; color: var(--accent-dark); }
#news_ticker .title { margin: 0; font-size: 13px; line-height: 1.6; }

/* prose block */
.cb_free_space { padding: 46px 0 10px; }
.post_content { width: 100%; max-width: 1000px; margin: 0 auto; padding: 0 var(--gutter); }
.post_content h1 {
  font-size: 22px;
  line-height: 1.55;
  text-align: center;
  margin-bottom: 28px;
}
.post_content ul { padding-left: 1.2em; }
.post_content ul a { text-decoration: underline; }
.post_content img { margin: 26px auto; }
.pull_line {
  text-align: center;
  font-size: 16px;
  color: var(--accent-dark);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
  margin: 30px 0;
}
#page_contents { display: block; }

/* card grids */
.cb_box_content { padding: 40px 0 8px; }
.cb_box_content.num3 { background: var(--paper-warm); padding-bottom: 40px; }
.catch.common_catch {
  font-size: 20px;
  text-align: center;
  margin: 0 var(--gutter) 24px;
  position: relative;
  padding-bottom: 14px;
}
.catch.common_catch:before {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 44px;
  height: 2px;
  margin-left: -22px;
  background: var(--accent);
}
.cb_box_content .content {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 26px;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.cb_box_content .item {
  display: block;
  color: var(--ink);
  border: 1px solid var(--line);
  background: #fff;
}
.cb_box_content .item:hover { text-decoration: none; }
.cb_box_content .image_wrap { position: relative; overflow: hidden; height: 210px; }
.cb_box_content .image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #ded7cd;
  transition: transform 1.2s cubic-bezier(.19,1,.22,1);
}
.cb_box_content .item:hover .image { transform: scale(1.05); }
.cb_box_content .headline {
  position: relative;
  margin: -34px 16px 0;
  background: #fff;
  padding: 10px 14px;
  font-size: 16px;
  z-index: 2;
}
.cb_box_content .desc { margin: 12px 16px 16px; font-size: 13.5px; line-height: 1.85; color: var(--ink-soft); }
.link_button { margin: 0 16px 18px; }
.design_button {
  display: inline-block;
  border: 1px solid var(--accent);
  border-radius: 100px;
  padding: 9px 20px;
  font-size: 12.5px;
  color: var(--accent-dark);
  background: #fff;
}
.item:hover .design_button { background: var(--accent); color: #fff; }

/* carousels */
.cb_carousel { padding: 40px 0 10px; }
.index_carousel { position: relative; max-width: 1160px; margin: 0 auto; padding: 0 var(--gutter); }
.index_carousel .splide__track { overflow: hidden; }
.index_carousel .splide__list {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: 6px;
}
.index_carousel .splide__list::-webkit-scrollbar { display: none; }
.index_carousel .item { flex: 0 0 82%; max-width: 340px; scroll-snap-align: start; }
.index_carousel .image_wrap { height: 170px; overflow: hidden; }
.index_carousel .image { width: 100%; height: 100%; object-fit: cover; background: #ded7cd; }
.index_carousel .category {
  display: inline-block;
  margin-top: 12px;
  padding: 3px 12px;
  border: 1px solid var(--accent);
  border-radius: 100px;
  font-size: 11px;
  color: var(--accent-dark);
}
.index_carousel .title { margin: 8px 0 6px; font-size: 14px; line-height: 1.7; font-weight: 400; }
.index_carousel .date { font-size: 11.5px; color: var(--ink-mute); }
.splide__arrows { display: flex; justify-content: flex-end; gap: 10px; margin: 0 var(--gutter) 12px; }
.splide__arrow {
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 100%;
  position: relative;
  background: #fff;
}
.splide__arrow span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
}
.splide__arrow:before {
  content: '';
  position: absolute;
  top: 14px;
  left: 14px;
  width: 9px;
  height: 9px;
  border-top: 2px solid var(--ink);
  border-right: 2px solid var(--ink);
  transform: rotate(45deg);
}
.splide__arrow--prev:before { transform: rotate(-135deg); left: 16px; }
.splide__arrow:hover { border-color: var(--accent); }

/* przebieg dnia */
.cb_program { padding: 40px 0 10px; background: var(--paper-warm); }
.program_wrap { max-width: 1000px; margin: 0 auto; padding: 0 var(--gutter); }
.program_list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.program_item { margin: 0; padding: 18px 0; border-bottom: 1px solid var(--line); }
.program_time {
  display: inline-block;
  margin-bottom: 8px;
  padding: 3px 12px;
  background: #fff;
  border: 1px solid var(--accent);
  border-radius: 100px;
  font-size: 11.5px;
  color: var(--accent-dark);
}
.program_title { font-size: 16px; margin-bottom: 6px; }
.program_desc { margin: 0; font-size: 13.5px; line-height: 1.85; color: var(--ink-soft); }
.program_note { margin: 20px 0 0; font-size: 13px; color: var(--ink-mute); line-height: 1.8; }

/* kto prowadzi */
.cb_team { padding: 40px 0 10px; }
.team_wrap { max-width: 1000px; margin: 0 auto; padding: 0 var(--gutter); display: grid; grid-template-columns: minmax(0, 1fr); gap: 30px; }
.team_person { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.team_photo { width: 100%; height: 260px; object-fit: cover; background: #ded7cd; }
.team_name { font-size: 18px; margin-bottom: 2px; }
.team_role { margin: 0 0 12px; font-size: 12px; color: var(--accent-dark); }
.team_desc { font-size: 13.5px; line-height: 1.85; color: var(--ink-soft); margin-bottom: 1em; }
.team_desc:last-child { margin-bottom: 0; }

/* price list + table */
.cb_free_space.num7 .post_content ul ul { margin: .5em 0 .8em; }
.cb_free_space.num7 strong { color: var(--ink); }
.schedule_content { max-width: 1000px; margin: 0 auto; }
.schedule_content .info p { font-size: 13px; color: var(--ink-soft); }
.schedule { overflow-x: auto; }
.schedule table { min-width: 560px; border-top: 1px solid var(--line); }
.schedule td {
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
  padding: 0;
  text-align: center;
  font-size: 13px;
}
.schedule td:first-child { text-align: left; }
.schedule .content { padding: 12px 14px; }
.schedule .row1 td { background: var(--paper-warm); font-weight: 600; }
.schedule .col1 { width: 46%; }

/* image marquee */
#footer_image_carousel { overflow: hidden; margin-top: 46px; }
#footer_image_carousel .splide__list {
  display: flex;
  gap: 10px;
  width: max-content;
  animation: strip_move 48s linear infinite;
}
#footer_image_carousel .item img { height: 190px; width: auto; max-width: none; object-fit: cover; background: #ded7cd; }
@keyframes strip_move { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  #footer_image_carousel .splide__list { animation: none; }
  #header_slider .item { transition: none; }
}

@media screen and (min-width: 768px) {
  #header_slider { height: 70vh; min-height: 460px; }
  #header_slider .catch { font-size: 29px; bottom: 74px; }
  #news_ticker { margin: -30px auto 0; max-width: 760px; }
  #news_ticker .title { font-size: 14px; }
  .post_content h1 { font-size: 28px; }
  .catch.common_catch { font-size: 25px; }
  .cb_box_content .content { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
  .cb_box_content .image_wrap { height: 230px; }
  .index_carousel .item { flex-basis: 46%; }
  .index_carousel .image_wrap { height: 190px; }
  .cb_free_space { padding: 64px 0 10px; }
  .cb_box_content, .cb_carousel { padding: 64px 0 10px; }
  .cb_box_content.num3 { padding-bottom: 64px; }
  #footer_image_carousel .item img { height: 240px; }
  .cb_program, .cb_team { padding: 64px 0 10px; }
  .program_item { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 4px 24px; padding: 22px 0; }
  .program_time { grid-row: span 2; align-self: start; }
  .team_person { grid-template-columns: 230px minmax(0, 1fr); gap: 26px; align-items: start; }
  .team_photo { height: 290px; }
  .team_person.is_second { grid-template-columns: minmax(0, 1fr) 230px; }
  .team_person.is_second .team_photo { order: 2; }
}

@media screen and (min-width: 1222px) {
  #header_slider { height: 76vh; min-height: 560px; }
  #header_slider .catch { font-size: 34px; right: 9%; bottom: 96px; }
  .post_content h1 { font-size: 32px; }
  .catch.common_catch { font-size: 28px; margin-bottom: 34px; }
  .cb_box_content .image_wrap { height: 260px; }
  .index_carousel .item { flex-basis: 31.3%; }
  .index_carousel .image_wrap { height: 210px; }
  .pull_line { font-size: 18px; }
}
