/* =========================
   GLOBAL / LAYOUT
========================= */
html, body {
  height: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
}

/* #frontsidebar:empty,
#frontsidebar .widget:empty,
#frontsidebar .widget_wrap:empty {
  display: none !important;
}

.frontpage_sidebar {
  display: none !important;
}

.home_sidebar { display:none !important; }
#optimizer_front_text-3 { display:none !important; }

.home .lay4_wrap,
.home .lay4_inner,
.home .post,
.home .post .post_content,
.home .post_image,
.home .ast_pagenav {
  background: transparent !important;
  box-shadow: none !important;
  border: 0 !important;
}

.home .lay4_inner .post { border-top: 1px solid #1a1a1a !important; }
.home .lay4_inner .post:first-child { border-top: 0 !important; }

.replace_widget,
.customize-partial-edit-shortcut { display: none !important; } */


.home .home_wrap.layer_wrapper:has(.lay4_inner:empty) {
  display: none !important;
}

.page_sidebar_empty {
  display: none !important;
}

.page_head {
  display: none !important;
}

body { background-color: #000000; }

.page_head.hide_mob_headerimg { display: none; }

.header .logo img { max-height: 60px; height: auto; width: auto; }

@media (max-width: 900px) {
  .header .logo img { max-height: 48px; }
  .header .logo {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
  }
  #simple-menu,
  #dropdown-menu {
    position: relative;
    z-index: 20;
  }
}

@media (max-width: 1300px) {
  #topmenu { display: none !important; }
  #simple-menu, #dropdown-menu { display: inline-block !important; }
}

.share_foot,
.share_this,
.share_this .social_buttons { display: none !important; }

.fb-like,
.fb_iframe_widget,
.fb_iframe_widget_fluid { display: none !important; }

.single_metainfo,
.single_metainfo * { display:none !important; }

.author_box { display: none !important; }

.postitle.entry-title {
  position: relative;
  font-weight: 700;
  font-size: 48px;
  line-height: 100%;
  letter-spacing: 0;
  vertical-align: middle;
  color: #FFFFFF;
  padding-bottom: 17px;
}
.postitle.entry-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 80px;
  height: 3px;
  background-color: #E31E24;
}
.related_h3 { color: #FFFFFF !important; }

.fc-title{
  color:#fff !important;
  font-size:64px;
  font-weight:800;
  line-height:1.05;
  margin:0 0 36px;
  letter-spacing:.02em;
  position:relative;
  display:inline-block;
}
.fc-title::after{
  content:"";
  position:absolute; left:0; bottom:-12px;
  width:90px; height:4px; background:#E31E24;
}

.fc-days-nav{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap:24px;
  margin:28px 0 22px;
  text-align:center;
}
.fc-day-tab{
  text-transform:uppercase;
  letter-spacing:.08em;
  font-weight:800;
  background:#d9d9d9;
  color:#111;
  border:none;
  border-radius:4px;
  padding:14px 12px;
  cursor:pointer;
}
.fc-day-tab[aria-selected="true"]{
  background:#fff;
  position:relative;
}
.fc-day-tab[aria-selected="true"]::after{
  content:"";
  position:absolute; left:50%; transform:translateX(-50%);
  bottom:-10px; width:28px; height:3px; background:#E31E24;
}

.fc-schedule{
  max-width:1700px;
  margin:0 auto 32px;
  padding:0 24px;
}

.fc-table .fc-head{
  background:#E31E24;
  color:#fff;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.02em;
}
.fc-table .fc-head > div{
  border:none;
  padding:22px 18px 17px;
  text-align:center;
}

.fc-row{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  align-items:center;
}
.fc-row > div{
  padding:22px 18px;
  color:#111;
  text-align:center;
}
.fc-row > div:nth-child(2),
.fc-row > div:nth-child(3){ text-align:left; }

.fc-row:not(.fc-head){
  background:#d9d9d9;
  border-top:12px solid #000;
}
.fc-table .fc-row:nth-of-type(2){ border-top:none; }

.fc-day-name{ display:none; }

.fc-groups{
  max-width:1100px;
  margin:40px auto 48px;
  padding:0 24px;
  color:#e5e7eb;
}
.fc-subtitle{
  color:#fff !important;
  font-size:40px;
  font-weight:800;
  line-height:1.1;
  margin:0 0 24px;
  position:relative;
  display:inline-block;
  letter-spacing:.02em;
}
.fc-subtitle::after{
  content:"";
  position:absolute; left:0; bottom:-10px;
  width:80px; height:3px; background:#E31E24;
}
.fc-groups-list{
  list-style:none; margin:0 0 20px; padding:0;
}
.fc-groups-list li{
  background:#d9d9d9; color:#111;
  padding:18px 16px;
  border-top:12px solid #000;
  line-height:1.35; font-size:16px;
}
.fc-groups-list li:first-child{ border-top:none; }
.fc-group{ font-weight:800; text-transform:uppercase; letter-spacing:.03em; }
.fc-location{ margin:20px 0 0; font-size:16px; color:#e5e7eb; }

@media (max-width:1100px){
  .fc-title{ font-size:52px; }
}

@media (max-width: 900px){
  .fc-table .fc-head{ display:none; }

  .fc-row{
    display:block;
    border-top:8px solid #000;
    background:#d9d9d9;
  }

  .fc-row > div{
    display:flex;
    gap:12px;
    align-items:flex-start;
    padding:14px 16px;
    text-align:left;
    border-top:1px solid rgba(0,0,0,.16);
    word-break:break-word;
  }
  .fc-row > div:first-child{ border-top:0; }

  .fc-row > div::before{
    content:"";
    flex:0 0 104px;
    min-width:104px;
    font-size:12px;
    font-weight:800;
    letter-spacing:.06em;
    text-transform:uppercase;
    opacity:.65;
    line-height:1.2;
    margin-top:2px;
  }
  .fc-row > div:nth-child(1)::before{ content:"Godzina"; }
  .fc-row > div:nth-child(2)::before{ content:"Grupa"; }
  .fc-row > div:nth-child(3)::before{ content:"Rodzaj zajęć"; }
  .fc-row > div:nth-child(4)::before{ content:"Trener"; }

  .fc-row > div:nth-child(1){ font-size:20px; font-weight:800; }
  .fc-row > div:nth-child(2){ font-weight:800; }

  .fc-title{ font-size:40px; margin-bottom:24px; }
  .fc-subtitle{ font-size:28px; margin-bottom:18px; }
  .fc-groups-list li{ border-top:8px solid #000; }
}

#site-footer { margin-top: auto; }
#ast_related_wrap {
  margin-bottom: 50px;
}

#site-footer {
  border-top: 1px solid #ef4444;
  background:#0b0b0b;
  color:#e5e7eb;
  padding:48px 0;
}
#site-footer .footer-inner {
  max-width:1200px;
  margin:0 auto;
  padding:0 24px;
  display:grid;
  grid-template-columns:1.2fr 1fr 1fr;
  gap:48px;
}
#site-footer .footer-col h3 {
  margin:0 0 12px;
  font-size:18px;
  text-transform:uppercase;
  color:#ef4444;
}
#site-footer .footer-nav ul,
#site-footer .contact-list { list-style:none; margin:0; padding:0; }
#site-footer .footer-nav li,
#site-footer .contact-list li { margin:6px 0; }
#site-footer .footer-col a { color:inherit; text-decoration:none; }
#site-footer .footer-col a:hover { text-decoration:underline; }
#site-footer .logo img { max-height: 64px; width: auto; height: auto; display: block; }
#site-footer .logo.hide_sitetagline .desc { display: none; }

@media (max-width: 900px){
  #site-footer { padding:24px 0; }
  #site-footer .footer-inner {
    grid-template-columns:1fr;
    gap:16px;
    text-align:center;
    padding:0 16px;
  }
  #site-footer .logo,
  #site-footer .logo img { margin-left:auto; margin-right:auto; }
  #site-footer .logo img{ max-height:44px; }
  .footer-col.brand { display:flex; justify-content:center; }
}

@media (max-width: 600px){
  #site-footer { padding:20px 0; }
  #site-footer .footer-inner { gap:16px; }

  #site-footer .logo img { max-height:40px; }

  #site-footer .footer-col h3 {
    font-size:14px;
    margin:0 0 8px;
  }

  #site-footer .footer-nav ul { display:block; padding:0; margin:0; }
  #site-footer .footer-nav li {
    margin:6px 0;
    font-size:16px;
    line-height:1.4;
  }

  #site-footer .contact-list { font-size:14px; line-height:1.35; }
  #site-footer .contact-list li { margin:3px 0; }

  #site-footer .contact-list li:nth-child(3),
  #site-footer .contact-list li:last-child {
    font-size:13px; opacity:.9;
  }
}


