/*
Theme Name: Maraton Hudby
Theme URI: https://martinres.cz
Author: Martin Res
Author URI: https://martinres.cz
Description: 
Tags: 
Version: 2026
Requires at least: 5.2
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v3 or Later
License URI: https://www.gnu.org/licenses/gpl.html
Text Domain: maraton
*/
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

body {
  line-height: 1;
}

a {
  text-decoration-skip-ink: auto;
}

a[href^=tel] {
  color: inherit;
  text-decoration: none;
}

button {
  outline: 0;
}

ol, ul {
  list-style: none;
}

blockquote, q {
  quotes: none;
}

blockquote:before, blockquote:after, q:before, q:after {
  content: "";
  content: none;
}

q {
  display: inline;
  font-style: italic;
}

q:before {
  content: '"';
  font-style: normal;
}

q:after {
  content: '"';
  font-style: normal;
}

textarea, input[type=text], input[type=button], input[type=submit], input[type=reset], input[type=search], input[type=password] {
  -webkit-appearance: none;
  appearance: none;
}

input[type=search] {
  -webkit-appearance: textfield;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

th, td {
  padding: 2px;
}

big {
  font-size: 120%;
}

small, sup, sub {
  font-size: 80%;
}

sup {
  vertical-align: super;
}

sub {
  vertical-align: sub;
}

dd {
  margin-left: 20px;
}

kbd, tt {
  font-family: courier;
  font-size: 12px;
}

ins {
  text-decoration: underline;
}

del, strike, s {
  text-decoration: line-through;
}

dt {
  font-weight: bold;
}

address, cite, var {
  font-style: italic;
}

article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
  display: block;
}

* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  -webkit-clip-path: inset(50%);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
  word-break: normal;
}

.screen-reader-text:focus {
  background-color: #f7f7f7;
  border-radius: 3px;
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
  clip: auto !important;
  -webkit-clip-path: none;
  clip-path: none;
  color: #007acc;
  display: block;
  font-size: 14px;
  font-size: 0.875rem;
  font-weight: 700;
  height: auto;
  right: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
}

.skip-link {
  left: -9999rem;
  top: 2.5rem;
  z-index: 999999999;
  text-decoration: underline;
}

.skip-link:focus {
  display: block;
  left: 6px;
  top: 7px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  line-height: normal;
  padding: 15px 23px 14px;
  z-index: 100000;
  right: auto;
}

.visually-hidden:not(:focus):not(:active), .form-allowed-tags:not(:focus):not(:active) {
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
  clip: rect(1px 1px 1px 1px);
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}

:focus-visible {
  outline: none;
}

:root {
  --white: #ffffff;
  --black: #000000;
  --beige: #F1ECEC;
  --accent: #FFBD52;
}

*, ::before, ::after {
  box-sizing: border-box;
}

.ta-c {
  text-align: center;
}

.ta-r {
  text-align: right;
}

.container {
  padding: 0 10px;
  height: 100%;
  display: flex;
  flex-direction: column;
  margin: 0 auto;
  width: 100%;
}

.row {
  margin: 0 -10px;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  gap: 20px 0;
}

.col-1-2, .col-1-3, .col-2-3, .col-1-4 {
  padding: 0 10px;
}

.col-sm-1-2, .col-sm-1-3, .col-sm-2-3, .col-sm-2-5, .col-sm-3-5, .col-sm-1-4, .col-md-1-2, .col-md-1-3, .col-md-2-3, .col-md-1-4, .col-md-3-4, .col-lg-1-2, .col-lg-1-3, .col-lg-2-3 {
  width: 100%;
  padding: 0 10px;
}

.col-1-2 {
  width: 50%;
}

.col-1-3 {
  width: 33.33333%;
}

.col-2-3 {
  width: 66.66666%;
}

.col-1-4 {
  width: 25%;
}

@media (min-width: 600px) {
  .container {
    padding: 0 30px;
  }
  .row {
    flex-direction: row;
    margin: 0 -15px;
  }
  .col-sm-1-2, .col-sm-1-3, .col-sm-2-3, .col-sm-2-5, .col-sm-3-5, .col-sm-1-4, .col-md-1-2, .col-md-1-3, .col-md-2-3, .col-md-1-4, .col-md-3-4, .col-lg-1-2, .col-lg-1-3, .col-lg-2-3 {
    padding: 0 15px;
  }
  .col-sm-1-2 {
    width: 50%;
  }
  .col-sm-1-3 {
    width: 33.33333%;
  }
  .col-sm-2-3 {
    width: 66.66666%;
  }
  .col-sm-1-4 {
    width: 25%;
  }
  .col-sm-2-5 {
    width: 40%;
  }
  .col-sm-3-5 {
    width: 60%;
  }
  .order-sm-1 {
    order: 1;
  }
  .order-sm-2 {
    order: 2;
  }
  .order-sm-3 {
    order: 3;
  }
}
@media (min-width: 800px) {
  .container {
    max-width: 1000px;
  }
  .container--full {
    max-width: none;
  }
  .col-md-1-2 {
    width: 50%;
  }
  .col-md-1-3 {
    width: 33.33333%;
  }
  .col-md-2-3 {
    width: 66.66666%;
  }
  .col-md-1-4 {
    width: 25%;
  }
  .col-md-3-4 {
    width: 75%;
  }
  .order-md-1 {
    order: 1;
  }
  .order-md-2 {
    order: 2;
  }
  .order-md-3 {
    order: 3;
  }
}
@media (min-width: 1200px) {
  .col-lg-1-2 {
    width: 50%;
  }
  .col-lg-1-3 {
    width: 33.33333%;
  }
  .col-lg-2-3 {
    width: 66.66666%;
  }
}
a {
  color: inherit;
  text-decoration: underline;
}
a:hover, a:focus {
  text-decoration: none;
}

.btn {
  background-color: var(--apple-green);
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: 1000px;
  width: fit-content;
  margin: 0 auto;
  font-weight: normal;
  display: block;
  border: 0;
  cursor: pointer;
  letter-spacing: 0.1em;
  font-weight: 700;
  color: var(--fresh-white) !important;
  white-space: nowrap;
  text-decoration: none !important;
  transition: background-color 0.15s;
}
.btn:hover, .btn:focus {
  background-color: var(--sky-blue);
  color: var(--fresh-white);
}

body.home #homepage-carousel {
  width: 100%;
}
body.home #homepage-carousel .flickity-viewport {
  width: 100vw;
}
body.home #homepage-carousel .wp-block-image {
  width: 100vw !important;
  height: 100vh;
}
body.home #homepage-carousel .wp-block-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
body.home #homepage-carousel .flickity-page-dots {
  position: absolute;
  bottom: 20px;
}
body.home #homepage-carousel .flickity-page-dots .dot {
  background: var(--white);
  box-shadow: 0 0 10px 0px rgba(0, 0, 0, 0.8);
}
body.home .homepage-logo {
  position: absolute;
  left: 10px;
  bottom: 40px;
  width: 160px;
}
body.home .homepage-logo img {
  width: 100%;
}

@media (min-width: 600px) {
  body.home .homepage-logo {
    left: 30px;
    bottom: 40px;
  }
}
@media (min-width: 1200px) {
  body.home .homepage-logo {
    width: 360px;
    bottom: 20px;
  }
}
body.page-template-default #header::after {
  opacity: 1;
}
body.page-template-default .page__header .page__title {
  font-size: 66px;
  text-transform: uppercase;
  margin: 1.3em 0 0.5em;
}
body.page-template-default .page__content p {
  margin-bottom: 1em;
}

@media (min-width: 1200px) {
  body.page-template-default .page__header .page__title {
    font-size: 100px;
    margin: 1.5em 0;
  }
}
.page-template-year {
  min-height: 100vh;
}
.page-template-year .page__header .page__thumbnail img {
  width: 100%;
  height: 70vh;
  object-fit: cover;
  object-position: center;
  vertical-align: top;
}
.page-template-year .page__header .page__title {
  font-size: 66px;
  line-height: 66px;
  margin-top: -33px;
  margin-bottom: 0.2em;
}
.page-template-year .page__content h2 {
  font-size: 1.8em;
  margin: -0.2em 0 0.7em;
}
.page-template-year .page__content p {
  margin: 0 0 1.5em;
}
.page-template-year .page__content blockquote {
  padding-left: 0;
  border-left: 0;
  font-size: 1.2em;
  color: var(--accent);
  margin: 0;
}
.page-template-year .page__content .wp-block-gallery {
  margin-bottom: 1em;
}
.page-template-year .page__footer {
  position: relative;
  padding: 70px 0 20px;
  z-index: 2;
  overflow: hidden;
  color: var(--white);
  font-size: 13px;
}
.page-template-year .page__footer::after {
  width: calc(100vw + 200px);
  height: 100%;
  position: absolute;
  bottom: -30px;
  left: -100px;
  content: "";
  display: block;
  background: var(--accent);
  filter: blur(10px);
  pointer-events: none;
  z-index: 1;
}
.page-template-year .page__footer .page__footer__wrapper {
  position: relative;
  z-index: 2;
  max-width: 500px;
}

@media (min-width: 1200px) {
  .page-template-year .page__header .page__title {
    font-size: 100px;
  }
  .page-template-year .page__footer {
    padding: 160px 0 60px;
  }
  .page-template-year .page__footer::after {
    filter: blur(20px);
    bottom: -80px;
  }
}
#header {
  padding: 10px 0;
  position: fixed;
  width: 100%;
  left: 0;
  top: 0;
  z-index: 100;
}
#header::after {
  width: calc(100vw + 200px);
  height: 200px;
  position: absolute;
  top: -140px;
  left: -100px;
  content: "";
  display: block;
  background: var(--accent);
  filter: blur(10px);
  opacity: 0;
  transition: opacity 0.5s;
  pointer-events: none;
}
#header .header-holder {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
#header .logo {
  position: relative;
  z-index: 7;
}
#header .logo .logo__image {
  vertical-align: top;
  height: 40px;
}
#header #menu-toggle-button {
  position: relative;
  z-index: 6;
  border: 0;
  font-size: 0;
  height: 40px;
  width: 30px;
  padding: 5px 0;
  cursor: pointer;
  background-color: transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
#header #menu-toggle-button span {
  height: 1px;
  width: 30px;
  background-color: var(--white);
  margin: 4px 0;
  transition: transform 0.3s, width 0.3s;
  position: relative;
  z-index: 1;
}
#header #menu-toggle-button::after {
  width: 320px;
  height: 320px;
  position: absolute;
  top: -150px;
  right: -150px;
  content: "";
  display: block;
  background: var(--accent);
  border-radius: 50%;
  filter: blur(20px);
  opacity: 0;
  transition: opacity 0.5s;
  pointer-events: none;
}

#language-switcher {
  position: fixed;
  top: 10px;
  right: 55px;
  z-index: 7;
}
#language-switcher .wpm-language-switcher li a {
  font-size: 0;
  text-decoration: none;
}
#language-switcher .wpm-language-switcher li a:after {
  color: var(--white);
  font-size: 16px;
  line-height: 20px;
  padding: 10px 5px;
  display: inline-block;
}
#language-switcher .wpm-language-switcher li.active {
  display: none;
}
#language-switcher .wpm-language-switcher li.wpm-item-language-cs a:after {
  content: "CZ";
}
#language-switcher .wpm-language-switcher li.wpm-item-language-en a:after {
  content: "EN";
}

#year-menu {
  position: fixed;
  right: 100px;
  top: 10px;
  text-align: center;
  color: #fff;
  height: 40px;
  overflow: hidden;
  transition: height 0.3s;
  z-index: 7;
}
#year-menu #year-menu__label {
  padding: 10px 40px 10px 20px;
  line-height: 18px;
  border: 1px solid #fff;
  display: block;
  border-radius: 1000px;
  position: relative;
}
#year-menu #year-menu__label::after {
  content: "";
  width: 10px;
  height: 10px;
  display: block;
  position: absolute;
  top: 14px;
  right: 20px;
  background-image: url("img/icons/arrow-down.svg");
}
#year-menu .year-menu__list {
  padding: 7px 0;
  background-color: #fff;
  border-radius: 20px;
}
#year-menu .year-menu__list li a {
  text-decoration: none;
  padding: 3px 20px;
  display: inline-block;
  color: #000;
}

#main-menu {
  position: fixed;
  top: 60px;
  right: -100vw;
  text-align: right;
  z-index: 101;
  transition: right 0.3s;
}
#main-menu a {
  display: block;
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  padding: 3px 0;
}

body.menu-opened #header #menu-toggle-button span:first-child {
  transform: translate(-0.5px, 9px) rotate(45deg);
}
body.menu-opened #header #menu-toggle-button span:nth-child(2) {
  width: 0;
}
body.menu-opened #header #menu-toggle-button span:last-child {
  transform: translate(-0.5px, -9px) rotate(-45deg);
}
body.menu-opened #header #menu-toggle-button::after {
  opacity: 1;
}
body.menu-opened #main-menu {
  right: 10px;
}

body.year-menu-opened #year-menu {
  height: 300px;
}

body.scrolled #header::after {
  opacity: 1;
}

@media (min-width: 600px) {
  #language-switcher {
    right: 75px;
  }
  #year-menu {
    right: 120px;
  }
  body.menu-opened #main-menu {
    right: 30px;
  }
}
@media (min-width: 1200px) {
  #header {
    padding: 20px 0;
  }
  #header::after {
    filter: blur(20px);
    top: -110px;
  }
  #header .header-holder {
    align-items: start;
  }
  #header .logo .logo__image {
    height: 60px;
  }
  #language-switcher {
    top: 20px;
  }
  #year-menu {
    top: 20px;
    right: calc(50% - 300px);
    overflow: visible;
  }
  #year-menu #year-menu__label {
    display: none;
  }
  #year-menu .year-menu__list {
    background-color: transparent;
  }
  #year-menu .year-menu__list li a {
    color: var(--white);
  }
  #year-menu .year-menu__list #menu-year-menu {
    display: flex;
  }
  #main-menu {
    top: 70px;
  }
}
#footer {
  background-color: var(--apple-green);
  padding: 3em 0 2em;
  position: relative;
  z-index: 5;
  font-size: var(--fs-18);
}
#footer .footer__column {
  margin-bottom: 3em;
}
#footer .footer__column .logo {
  width: 240px;
  display: block;
  max-width: 100%;
}
#footer .footer__column .logo img {
  vertical-align: top;
}
#footer .footer__column .footer__column__title {
  color: var(--fresh-white);
  text-transform: uppercase;
  margin: 1em 0 1.5em;
  font-weight: 700;
  letter-spacing: 0.1em;
}
#footer .footer__column .footer__column__list__item {
  display: flex;
  align-content: center;
  margin: 15px 0;
  gap: 10px;
}
#footer .footer__column .footer__column__list__item .footer__column__list__item__link {
  text-decoration: none;
}
#footer .footer__column .footer__column__list__item .footer__column__list__item__icon {
  height: 20px;
  align-self: center;
}
#footer .footer__column .footer-socials {
  display: flex;
  gap: 10px;
  margin-bottom: 0.75em;
}
#footer .footer__column .footer-socials .footer-socials__icon {
  width: 25px;
}
#footer .footer__column .footer-socials .footer-socials__icon img {
  vertical-align: top;
}

@media (min-width: 800px) {
  #footer .footer__column .footer__column__title {
    margin: 1em 0 2.5em;
  }
}
html {
  scroll-padding-top: 60px;
  scroll-behavior: auto !important;
  margin-top: 0px !important;
}

body {
  font-family: "neue-haas-grotesk-display", sans-serif;
  font-weight: 600;
  font-style: normal;
  line-height: 1.2;
  min-height: 100dvh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: var(--black);
  background-color: var(--beige);
  font-size: 16px;
}

::selection {
  color: var(--red);
  background-color: var(--brown);
}

input, button, textarea, select {
  font-family: "neue-haas-grotesk-display", sans-serif;
  font-weight: 600;
  font-style: normal;
  line-height: 1.2;
  font-size: var(--fs-21);
}

#wpadminbar {
  display: none;
}

.email-address {
  white-space: nowrap;
  cursor: pointer;
}

.email-address::before {
  content: attr(data-name) "@";
  display: inline-block;
}

.email-address::after {
  content: "." attr(data-tld);
  display: inline-block;
}

@media (min-width: 1200px) {
  body {
    font-size: 20px;
  }
}
