html { box-sizing: border-box; }
*, *::before, *::after { box-sizing: inherit; }


@font-face {
    font-family: 'Roboto';
    src: url('/files/assets/fonts/Roboto-Regular.woff2') format('woff2'),
         url('/files/assets/fonts/Roboto-Regular.woff') format('woff'),
         url('/files/assets/fonts/Roboto-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@media (max-width: 800px) {
  h2 {
    font-size: 1.2rem;
  }
}

#container {
    max-width: 1000px;
    margin: auto;
}

@media (min-width: 800px) {
    #main .inside,
    #footer-custom .inside,
    #header-custom .inside {
        width: min(75vw, 1000px);
        margin: auto;
    }
}

#main,
#footer-custom {
    max-width: 1000px;
    margin: auto;
}


.site-header {
  background: #fff;
  border-bottom: 1px solid #eee;
  height: 100px;
  display: flex;
  align-items: center;
}



.header-inner {
  width: min(75vw, 1000px);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  height: 100%;
}



.logo-header img {
  max-height: 80px;
  height: auto;
  width: auto;
  display: block;
}

@media (max-width: 800px) {
  .site-header {
    height: 70px;
  }
  .logo-header img {
    max-height: 50px;
  }
}



.training-article{
  font-family: 'Roboto', sans-serif;
  color: #000;
  margin: 0;
}


.training-group { margin: 40px 0; position: relative; }

.intro-headline-title{ margin-top: 0px; margin-bottom: 0px; padding:8px 6px;}

.training-title{
  background:#ae1c22;
  color:#fff;
  font-weight:700;
  font-size:1.25rem;
  padding:10px 24px;
  text-transform:uppercase;
  display:inline-block;
  margin-bottom:10px;
  position:relative;
}



.training-group.left .training-title {
  background: #ae1c22;
  color: #fff;
  font-weight: 700;
  font-size: 1.25rem;
  text-transform: uppercase;
  display: inline-block;
  margin-bottom: 10px;


  padding: 10px 60px 10px 24px;
  
  width: fit-content;
  position: relative;


  clip-path: polygon(
    0 0,
    calc(100% - 36px) 0,
    100% 100%,
    100% 100%,
    0 100%
  );
}



.training-group.right {
  position: relative;
  padding-top: 10px;
}

.training-group.right .training-title {
  position: absolute;
  right: 0;
  top: 0;
  display: inline-block;
  text-align: right;
  padding: 10px 24px 10px 60px;

  background: #ae1c22;
  color: #fff;
  font-weight: 700;
  font-size: 1.25rem;
  text-transform: uppercase;
  line-height: 1.4;


  clip-path: polygon(
    36px 0,
    100% 0,
    100% 100%,
    0 100%,
    0 100%
  );
}


.training-group.right .training-block {
  margin-top: 50px;
}


@media (max-width: 800px) {
  .training-group.left .training-title,
  .training-group.right .training-title {
    font-size: 1.1rem;
    padding: 8px 50px 8px 18px;
  }

  .training-group.left .training-title::after,
  .training-group.right .training-title::after {
    width: 16px;
  }
}



.training-block{
  background:#fff;
  padding:20px;
  box-shadow:0 4px 10px rgba(0,0,0,0.08);
  width:var(--block-width,90%);
  margin-left: calc((100% - var(--block-width,90%)) * var(--block-shift,0.5));
  margin-bottom: 40px;
  box-sizing:border-box;
}


.training-table{ width:100%; border-collapse:collapse; font-size:1rem; }
.training-table td{ padding:8px 6px; }
.training-table td:first-child{ font-weight:700; width:30%; }
.training-table td:nth-child(2){ width:30%; }
.training-table td:last-child{ text-align:right; width:40%; }

.contact-cta { padding:8px 6px; font-weight:700 }
.contact-table{ width:100%; border-collapse:collapse; font-size:1rem; }
.contact-table td{ padding:8px 6px; }
.contact-table td:first-child{ font-weight:700; width:30%; }
.contact-table td:nth-child(2){ width:30%; }
.contact-table td:last-child{ text-align:left; width:70%; }

.studio-badge{
  --bg: #ae1c22;
  position: relative;
  width: 100%;
  max-width: 600px;
  margin: 26px auto;
  background: var(--bg);
  color:#fff;
  padding:16px 20px;
  text-align:center;
  box-sizing: border-box;
  font-weight:700;
  line-height:1.4;
  border-radius:4px;
  white-space: normal;
}

.studio-badge .badge-content{
  position: relative;
  z-index: 2;
  display:block;
}

.studio-badge .badge-content small{
  display:block;
  margin-top:6px;
  font-weight:400;
  font-size:0.85rem;
  line-height:1.3;
}


.studio-badge.badge-up {
  margin-bottom: 0;
}


.studio-badge.badge-down {
  margin-top: 0;
}


.studio-badge.badge-both {
  margin: 26px auto;
}


.studio-badge.badge-up::before{
  content:"";
  position:absolute;
  left: var(--pointer-pos-up, 50%);
  transform: translateX(-50%);
  top: -14px;
  width:0;
  height:0;
  border-left:15px solid transparent;
  border-right:15px solid transparent;
  border-bottom:15px solid var(--bg);
}

.studio-badge.badge-down::after{
  content:"";
  position:absolute;
  left: var(--pointer-pos-down, 50%);
  transform: translateX(-50%);
  bottom: -14px;
  width:0;
  height:0;
  border-left:15px solid transparent;
  border-right:15px solid transparent;
  border-top:15px solid var(--bg);
}

.studio-badge.badge-both::before{
  content:"";
  position:absolute;
  left: var(--pointer-pos-up, 50%);
  transform: translateX(-50%);
  top: -14px;
  width:0;height:0;
  border-left:15px solid transparent;
  border-right:15px solid transparent;
  border-bottom:15px solid var(--bg);
}
.studio-badge.badge-both::after{
  content:"";
  position:absolute;
  left: var(--pointer-pos-down, 50%);
  transform: translateX(-50%);
  bottom: -14px;
  width:0;height:0;
  border-left:15px solid transparent;
  border-right:15px solid transparent;
  border-top:15px solid var(--bg);
}


@media (max-width: 800px) {
  
  .training-title{ font-size:1.1rem; padding: 10px 60px 10px 24px;}
  .studio-badge{ padding:12px 14px; }


  .studio-badge.badge-up::before,
  .studio-badge.badge-both::before {
    border-left:10px solid transparent;
    border-right:10px solid transparent;
    border-bottom:10px solid var(--bg);
    top: -9px;
    bottom: auto;
  }


  .studio-badge.badge-down::after,
  .studio-badge.badge-both::after {
    border-left:10px solid transparent;
    border-right:10px solid transparent;
    border-top:10px solid var(--bg);
    bottom: -9px;
    top: auto;
  }

}

.site-footer {
  background-color: #ae1c22;
  color: #fff;
  padding: 20px 0;
  text-align: center;
  margin-top: 40px;
  font-family: 'Ubuntu', sans-serif;
}

.footer-inner {
  width: min(75vw, 1000px);
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.site-footer a {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  transition: opacity 0.2s ease;
}

.site-footer a:hover {
  opacity: 0.8;
}

.footer-separator {
  color: #fff;
  font-weight: 400;
  font-size: 1.2rem;
  line-height: 1;
}

@media (max-width: 800px) {
  .footer-inner {
    flex-direction: column;
    gap: 6px;
  }
  .footer-separator {
    display: none;
  }
}




