@charset "UTF-8";
/* @use 'components/loader';
@use 'components/skeleton'; */
.events {
  gap: 4rem;
  flex-wrap: wrap;
  padding-top: 4rem;
  padding-bottom: 4.6rem;
}
.events a {
  position: relative;
  display: block;
  width: max(50% - 2rem, 33rem);
}
.events a::after, .events a::before {
  content: "";
  display: block;
  position: absolute;
  right: 0;
  bottom: 0;
  background-color: var(--grey-d9);
  transition: background-color 0.25s;
}
.events a::before {
  width: 1rem;
  height: 12.5rem;
}
@media (max-width: 500px) {
  .events a::before {
    width: 0.5rem;
    height: 8rem;
  }
}
.events a::after {
  width: 6rem;
  height: 1rem;
}
@media (max-width: 500px) {
  .events a::after {
    width: 3.25rem;
    height: 0.5rem;
  }
}
.events a article {
  padding: 0 1.5rem 0 0;
}
.events a article > div {
  position: relative;
}
.events a article > div > div {
  min-height: 12.5rem;
  display: flex;
  flex-direction: column;
  padding-bottom: 3.2rem;
  width: calc(100% - 14rem);
}
@media (max-width: 500px) {
  .events a article > div > div {
    min-height: 5.75rem;
    width: calc(100% - 7.25rem);
  }
}
.events a article .flex:has(> .btn) {
  position: absolute;
  bottom: 0;
}
.events a article .flex:has(> .btn) .btn {
  margin-bottom: 0;
}
.events a picture {
  position: relative;
  width: 12.5rem;
  height: 12.5rem;
  border-radius: 50%;
  margin-right: 1.5rem;
  overflow: hidden;
}
@media (max-width: 500px) {
  .events a picture {
    width: 5.75rem;
    height: 5.75rem;
  }
}
.events a picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@supports not (object-fit: cover) {
  .events a picture img {
    position: absolute;
    top: 50%;
    left: 50%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
  }
}
.events a picture::after {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  transition: left 0.25s;
  background-image: url("../assets/images/arrow.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}
.events a h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--red);
  margin-bottom: 0.3rem;
}
.events a:hover, .events a:focus {
  text-decoration: none;
}
.events a:hover::after, .events a:hover::before, .events a:focus::after, .events a:focus::before {
  background-color: var(--red);
}
.events a:hover picture::after, .events a:focus picture::after {
  left: 0;
}
.events .date,
.events .adress {
  line-height: 1.5rem;
  display: flex;
  margin-bottom: 0.6rem;
}
.events .date span,
.events .adress span {
  font-size: 1.5rem;
  color: var(--grey-d9);
  margin-right: 0.25rem;
}

.btn {
  display: block;
  font-family: "Montserrat";
  font-size: 1rem;
  line-height: calc(2.2rem - 6px);
  text-transform: uppercase;
  font-weight: 700;
  padding: 0 0.95rem;
  border: 3px solid transparent;
  border-radius: 1.1rem;
  cursor: pointer;
  user-select: none;
  transition: border-color 0.25s, background-color 0.25s, color 0.25s;
  color: var(--white);
  background-color: var(--red);
  border: 3px solid var(--red);
  margin: 0 1rem 1rem 0;
  text-align: center;
}
.btn:hover, .btn:focus {
  text-decoration: none;
}
.btn:hover, .btn:focus {
  background-color: var(--red-dark);
  border-color: var(--red-dark);
}
.btn.big {
  font-size: 1.25rem;
  line-height: calc(2.8rem - 6px);
  border-radius: 1.4rem;
  padding: 0 1.1rem;
}
.btn.big.double {
  font-size: 1rem;
  line-height: calc((2.8rem - 6px) / 2);
}
section.red .btn {
  color: var(--white);
  border-color: var(--white);
}
section.red .btn:hover, section.red .btn:focus {
  color: var(--red-dark);
  background-color: var(--white);
}
.btn.outline {
  color: var(--red);
  background-color: transparent;
}
.btn.outline.grey {
  color: var(--grey);
  border-color: var(--grey);
}
.btn.outline:hover, .btn.outline:focus {
  color: var(--white);
  background-color: var(--red-dark);
  border-color: var(--red-dark);
}
section.red .btn.outline, section.red-dark .btn.outline {
  color: var(--white);
  border-color: var(--white);
}
section.red .btn.outline:hover, section.red .btn.outline:focus, section.red-dark .btn.outline:hover, section.red-dark .btn.outline:focus {
  color: var(--red-dark);
  background-color: var(--white);
}
.btn.dark {
  color: var(--white);
  background-color: var(--red-dark);
  border-color: var(--red-dark);
}
.btn.dark:hover, .btn.dark:focus {
  color: var(--white);
  background-color: var(--red);
  border-color: var(--red);
}
.btn.disable {
  cursor: not-allowed;
  filter: grayscale(0.8);
}

.button.remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 0.4rem;
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 50%;
  background: var(--red-dark);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: bold;
  cursor: pointer;
  position: relative;
}
.button.remove:hover {
  background: var(--red);
}

/* TODO: připravit scroll tabuky pro mobil */
.table {
  width: 100%;
  border-collapse: collapse;
}
.table .row {
  border-top: 1px solid var(--grey);
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  width: 100%;
  font-size: 0.9rem;
}
.table .row:last-child {
  border-bottom: 1px solid var(--grey);
}
.table .row > * {
  border-right: 6px solid var(--red-light);
  padding: 0.5rem;
  transition: border-color 0.25s;
}
.table .row > *:first-child {
  padding-left: 0;
}
.table .row > *:last-child {
  border-width: 0;
}
.table .row:hover > * {
  border-color: var(--red-dark);
}
.table .row.thead {
  font-weight: 700;
  border-top: 0;
}
.table .row.thead > * {
  border-right: 0;
}
.table + .text-container {
  margin-top: 1.35rem;
}

.row .col-1 {
  grid-column: span 1;
}
.row .col-2 {
  grid-column: span 2;
}
.row .col-3 {
  grid-column: span 3;
}
.row .col-4 {
  grid-column: span 4;
}
.row .col-5 {
  grid-column: span 5;
}
.row .col-6 {
  grid-column: span 6;
}
.row .col-7 {
  grid-column: span 7;
}
.row .col-8 {
  grid-column: span 8;
}
.row .col-9 {
  grid-column: span 9;
}
.row .col-10 {
  grid-column: span 10;
}
.row .col-11 {
  grid-column: span 11;
}
.row .col-12 {
  grid-column: span 12;
}

.user-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.card {
  background: var(--red-light);
  padding: 1rem 1.25rem;
}
.card h3 {
  margin-top: 0;
  font-size: 1.1rem;
  border-bottom: 1px solid var(--grey);
  padding-bottom: 0.3rem;
  margin-bottom: 0.8rem;
}
.card .label {
  font-weight: 600;
  display: inline-block;
  width: 6.5rem;
}
.card p {
  margin: 0.2rem 0;
}

#caste-dotazy {
  padding: 5rem 0;
}
#caste-dotazy h1 {
  font-size: 1.5rem;
  margin-bottom: 1.35rem;
  color: var(--red);
  position: relative;
  padding-left: calc(1rem + 5px);
  padding-top: calc(0.75rem + 5px);
}
#caste-dotazy h1::before, #caste-dotazy h1::after {
  content: "";
  display: block;
  background-color: var(--red);
  position: absolute;
  left: 0;
}
#caste-dotazy h1::before {
  top: 5px;
  width: 5px;
  height: 1.75rem;
}
#caste-dotazy h1::after {
  top: 0;
  width: 6rem;
  height: 5px;
}

.faq {
  display: flex;
  flex-wrap: wrap;
  gap: 4rem;
}
.faq .faq-column {
  width: calc(50% - 2rem);
}
@media (max-width: 500px) {
  .faq .faq-column {
    width: 100%;
  }
}
@media (max-width: 500px) {
  .faq {
    gap: 0;
  }
}

.faq-item {
  margin-bottom: 1rem;
  width: 100%;
}
.faq-item .faq-question {
  position: relative;
  background-color: var(--white);
  padding: 0.6rem 1rem;
  padding-right: 2.7rem;
  border: none;
  font-weight: 700;
  width: 100%;
  text-align: left;
  cursor: pointer;
  font-size: 1rem;
  line-height: 1.2rem;
  transition: background-color 0.3s ease;
  /* &:hover {
          background-color: $clr-red-dark;
      } */
}
.faq-item .faq-question:hover, .faq-item .faq-question:focus {
  color: var(--red-dark);
}
.faq-item .faq-question > div {
  display: block;
  position: absolute;
  top: 0.6rem;
  right: 1rem;
  color: var(--red);
  transition: transform 0.25s, color 0.25s;
}
.faq-item .faq-question > div:hover {
  color: var(--red-dark);
}
.faq-item .faq-question > div span {
  display: block;
  font-size: 1.2rem;
  line-height: 1.2rem;
}
.faq-item .faq-answer {
  max-height: 0;
  /* display: none; */
  overflow: hidden;
  transition: max-height 0.25s ease;
  background-color: var(--white);
  padding: 0 1rem;
}
.faq-item .faq-answer > * {
  margin: 0.5rem 0 0.8rem;
}
.faq-item.active .faq-answer {
  display: block;
  max-height: 1000px;
}
.faq-item.active .faq-question > div {
  transform: rotate(-180deg);
}
.faq-item:hover .faq-question > div {
  color: var(--red-dark);
}

.partners {
  padding-bottom: 3rem;
  gap: 3rem;
}
.partners a {
  display: flex;
  align-items: center;
  justify-content: center;
}
.partners a .logo-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  /* Skoro čtvercová loga – trochu zvětšit */
  /* Hodně široká loga – beze změny */
  /* Extrémně široká loga – malinko zmenšit */
  /* Vysoká loga – trochu zmenšit */
}
.partners a .logo-inner img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.2s ease;
}
.partners a .logo-inner img.square {
  transform: scale(1.2);
}
.partners a .logo-inner img.wide {
  transform: scale(1);
}
.partners a .logo-inner img.superwide {
  transform: scale(0.85);
}
.partners a .logo-inner img.tall {
  transform: scale(0.9);
}
.partners.small a {
  width: 7rem;
  height: 3rem;
}
.partners.big a {
  width: 12rem;
  height: 5rem;
}

section.event-program .middle {
  padding-top: 1.7rem;
  padding-bottom: 1.7rem;
}
section.event-program .place {
  color: var(--red-dark);
  margin-bottom: 0.6rem;
}

.program-block {
  margin-bottom: 4.3rem;
  width: calc(50% - 2rem);
}
.program-block.w100 {
  width: 100%;
}
@media (max-width: 768px) {
  .program-block {
    width: 100%;
  }
}
.program-block h3 {
  font-size: 1.25rem;
  margin-bottom: 0;
  text-transform: none;
}

.program-table .row {
  border-top: 1px solid var(--grey);
  display: grid;
  grid-template-columns: calc(6rem + 6px) 1fr;
  grid-template-rows: auto auto;
  font-size: 0.9rem;
}
.program-table .row:last-child {
  border-bottom: 1px solid var(--grey);
}
.program-table .row .time {
  grid-row: span 2/span 2;
  width: calc(6rem + 6px);
  border-right: 6px solid var(--red-light);
  padding: 0.5rem 0;
  padding-right: 0.5rem;
  transition: border-color 0.25s;
}
.program-table .row .name,
.program-table .row .lecture {
  padding: 0 0.5rem;
  border-width: 0;
}
.program-table .row .name {
  font-weight: 700;
  margin-bottom: 0.25rem;
  margin-top: 0.5rem;
}
.program-table .row .lecture {
  grid-column-start: 2;
  grid-row-start: 2;
  margin-bottom: 0.5rem;
  color: var(--grey);
}
.program-table .row:hover .time {
  border-color: var(--red-dark);
}
.program-table .row.no-lecture .name {
  color: var(--grey);
}
.program-table + .text-container {
  margin-top: 1.35rem;
}

.notices {
  position: fixed;
  display: flex;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2em;
  overflow: hidden;
  z-index: 1000;
  pointer-events: none;
}
.notices.is-bottom-right {
  flex-direction: column-reverse;
  align-items: flex-end;
}
.notices .notification {
  animation-duration: 0.15s;
  margin: 0.5em 0;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12), 0 0 6px rgba(0, 0, 0, 0.04);
  /* border-radius: 4px; */
  pointer-events: auto;
  min-height: 3em;
  position: relative;
  transform: translateX(calc(100% + 2em));
  transition: all 0.5s, transform 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.35), opacity 0.3s ease, height 0.5s ease;
  color: #fff;
  background-color: rgba(0, 0, 0, 0.9);
  padding: 2rem;
}
.notices .notification.active {
  transform: translateX(0%);
}
.notices .notification.is-success {
  background-color: var(--success);
}
.notices .notification.is-danger {
  background-color: var(--err);
}
.notices .notification.is-warning {
  background-color: var(--err);
}
.notices .notification.is-info {
  background-color: var(--white);
  color: var(--black);
}
.notices .notification .progress {
  margin-top: 0.5em;
  height: 4px;
  background-color: rgba(255, 255, 255, 0.3);
  border-radius: 2px;
  overflow: hidden;
  width: 100%;
}
.notices .notification .progress::-webkit-progress-bar {
  background-color: rgba(255, 255, 255, 0.3);
}
.notices .notification .progress::-webkit-progress-value {
  background-color: #fff;
}
.notices .notification .progress::-moz-progress-bar {
  background-color: #fff;
}
.notices .notification .delete {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  background: none;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.7);
  width: 1.5rem;
  height: 1.5rem;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.notices .notification .delete:before {
  content: "×";
  font-size: 1.2rem;
  line-height: 1;
  color: inherit;
  display: block;
}
.notices .notification .delete:hover {
  color: #fff;
}
.notices .notification.is-closing {
  transform: scaleY(0);
  opacity: 0;
  transition: transform 0.5s ease, opacity 0.5s ease;
}

@media (max-width: 500px) {
  .notices {
    padding: 0;
    position: fixed !important;
  }
  .notices .notification {
    width: 100%;
    margin: 0;
    border-radius: 0;
  }
}
@media print, screen and (min-width: 769px) {
  .notices .notification {
    min-width: 350px;
    max-width: 600px;
    overflow: hidden;
  }
}
/* @use 'layout/article'; */