section {
  scroll-margin-top: 75px;
}

.page-template-sport-page main {
	display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 0;
	margin-bottom:3rem;
}

.page-template-sport-page main section {
	padding-top:3rem;
}

.page-template-sport-page h2 {
	font-weight:600;
	margin-bottom:2rem;
	text-transform:uppercase;
}

.pricing-tab-title {
	font-weight:600;
	margin-bottom:1rem;
}

.page-template-sport-page .sport-content-wrapper h2 {
	margin-bottom:1rem;
	margin-top:2rem;
}

.page-template-sport-page .page-hero {
	background-color:var(--light);
	padding:1rem
}

.page-template-sport-page .page-hero .hero-wrapper {
	border-radius:4px;
	padding-top:5rem;
	padding-bottom:5rem;
	background-size: cover;
	background-position: center;
}

.page-template-sport-page .hero-content {
	padding:1rem;
	width:fit-content;
	border-radius:4px;
}

.page-template-sport-page .hero-content h1 {
	text-transform:uppercase;
	margin-bottom:0;
}

.plavanie .page-hero h1, .patboj .page-hero h1, .laser .page-hero h1, .ocr .page-hero h1 {
	color:#ffffff;
	font-weight:600;
}

.serm .page-hero h1, .serm .page-hero .hero-subtext {
	color:var(--text);
	font-weight:600;
}

.page-template-sport-page .page-hero .hero-subtext {
	max-width:40ch;
	font-weight:300;
	margin-top:2rem;
	color:#ffffff
}

.page-template-sport-page .page-content p:last-child, .pricing-description p:last-child {
	margin-bottom:0;
}

.post-card {
	position:relative;
	margin-bottom: 19px;
}



.post-card-thumb-link {
	aspect-ratio: 4 / 3;
    width: 100%;
    display: block;
    height: auto;
}

.post-card img {
	object-fit:cover;
	height:100%;
}

.card-thumb-bottom {
	content:"";
	width:100%;
	height:3px;
}

.post-card-body {
	background-color: var(--light);
    padding: 1rem;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: flex-start;
    gap: 1rem;
}

.post-card-body-top {
	display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-start;
    gap: 1rem;
    font-size: clamp(1rem, 0.7867rem + 0.3445vw, 1.2rem);
}

.post-card-body a {
	text-decoration:none;
}

.post-card-body-top a {
	text-decoration:underline;
	color:var(--text);
}

.post-card-title {
	margin-bottom: 0;
    font-weight: 600;
	color:var(--text);
	text-transform:uppercase;
}

.post-card-body p {
	margin-bottom:2rem;
	font-weight:200;
	font-size: clamp(1rem, 0.7867rem + 0.3445vw, 1.2rem);
}

.post-card-text {
	font-size: clamp(1rem, 0.7867rem + 0.3445vw, 1.2rem);
}

.post-card-body-btn {
    position: absolute;
    bottom: -19px;
    left: 1rem;
	text-transform:none;
	font-weight:200;
}

/*.related-sport-articles {
	margin:1rem;
}*/

.related-sport-articles .row {
	row-gap:1.5rem;
}

.coach-row {
	row-gap:2rem;
}

.sport-coaches img {
	width:100%;
	aspect-ratio: 3 / 4;
    object-fit: cover;
}

.coach-photo-bottom {
	content:"";
	width:100%;
	height:3px;
}

.coach-info {
	background-color:var(--light);
	padding:1rem;
}

.coach-info h3 {
	font-weight:600;
}

.coach-info p {
	margin-bottom:0;
}

.day-terms {
	list-style:none;
	padding:0;
	margin-bottom:0;
}

.schedule-day {
	margin-bottom:2rem;
}

.schedule-day:last-child {
	margin-bottom:0;
}

.day-title {
	font-weight:600;
	margin-bottom:0;
	padding:1rem 1rem 0;
}

.schedule-item {
	width:100%;
	display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
	padding:1rem;
}

.schedule-time {
	flex:3;
}

.schedule-location {
	flex:3;
}

.schedule-description {
	flex:3;
}

.pricing-table-wrapper table {
	width:100%;
}

.wp-block-table.has-fixed-layout {
    table-layout: fixed;
    width: 100%;
}

.pricing-table-wrapper table td {
	border-left:none;
	border-right:none;
	border-top:none;
}

.pricing-table-wrapper table thead, .pricing-table-wrapper table th {
	border:none;
}

.pricing-description, .pricing-table-wrapper {
	margin-bottom:2rem;
}

.pricing-table-wrapper:last-child {
	margin-bottom:0;
}

.prihlaska-odkazy {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 2rem;
}

.hero-nav {
	background-color: var(--light);
	padding:0 4px;
	position:sticky;
	top:71px;
	z-index:999;
}

.hero-nav-list {
	margin:0;
	list-style:none;
	padding:0;
	display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
}

.hero-nav-list a {
	color:var(--text);
	padding:.5rem 0;
	text-decoration:none;
	position:relative;
}

.hero-nav-list a.active:after {
	content:"";
	width:100%;
	height:3px;
	position:absolute;
	bottom:0;
	left:0;
	background-color:var(--active-color, #000);
}

.hero-wrapper {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.hero-wrapper::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.6), rgba(0,0,0,0.1)); */
  z-index: 1;
}

.hero-wrapper > * {
  position: relative;
  z-index: 2;
}

@media (min-width:992px) {

section {
  scroll-margin-top: 100px;
}

	
	.page-template-sport-page main {
    gap: 0;
	margin-bottom:4rem;
}

.page-template-sport-page main section {
    padding-top:4rem;
}
	
	
	.page-template-sport-page .page-hero {
		padding:2rem 2rem 0;
	}
	
	.page-template-sport-page .page-hero .hero-wrapper {
	padding-top:10rem;
	padding-bottom:10rem;
}
.related-sport-articles {
	margin:0 2rem;
}	

.hero-nav {
        position: sticky;
        top: 81px;
        z-index: 999;
    }
	
	.hero-nav-list a {
	padding:1rem;
}

.hero-nav-list {
	padding:1rem 0;
}

.page-template-sport-page .page-hero .hero-subtext {
	margin-top:2rem;
}

.page-template-sport-page .hero-content {
	padding:2rem;
}

}

@media (max-width: 992px) {
	
	.page-content, .sport-coaches, .sport-schedule, .sport-pricing, .related-sport-articles, .sport-sign, .sponsor {
		padding-left:4px;
		padding-right:4px;
	}
	
	.sponsor {
		padding-bottom:2rem;
	}
	
  .hero-nav-list {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
  }

  .hero-nav-list::-webkit-scrollbar {
    display: none; /* Chrome, Safari */
  }

  .hero-nav-list li {
    flex: 0 0 auto;
    margin-right: 1.5rem; /* medzera medzi položkami */
  }

  .hero-nav-list a {
    display: inline-block;
    white-space: nowrap;
  }
  

  
}

@media (max-width:676px) {
	
	.prihlaska-odkazy {
    flex-direction: column;
    gap: 1rem;
	align-items: stretch;
}

  .schedule-item {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: flex-start;
}
	
}

@media (max-width:767px) {

  .schedule-item {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: flex-start;
}

.coach-info h3 {
	font-size:clamp(1.2rem, 1.0737rem + 0.204vw, 1.4rem);
}

.coach-info .coach-qualification {
	font-size: clamp(1rem, 0.7867rem + 0.3445vw, 1.2rem);
}
	
}

@media (min-width:768px) and (max-width:991px) {
	
.schedule-time {
	flex:3;
}

.schedule-location {
	flex:3;
}

.schedule-description {
	flex:3;
}
	
}