/* Experience Detail Styles */
.stranka-bod-stranka-bod {
  width: 100%;
  display: flex;
  position: relative;
  align-items: flex-start;
  flex-shrink: 0;
  flex-direction: column;
  background-color: rgba(255, 255, 255, 1);
}

/* Banner container */
.banner-container {
  position: relative;
  width: 100%;
  height: 150px;
  margin-top: 100px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.stranka-bod-image1 {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  z-index: 1;
}

.stranka-bod-text11 {
  position: relative;
  z-index: 1;
  color: #fff;
  height: auto;
  font-size: 32px;
  font-style: normal;
  text-align: left;
  font-family: Segoe UI;
  font-weight: 700;
  line-height: normal;
  font-stretch: normal;
  text-decoration: none;
}

.spacer {
  height: 20px;
}

/* Main content layout */
.obsah {
  display: flex;
  width: 100%;
  padding: 0 100px;
  box-sizing: border-box;
  min-height: 90vh;
}

.leva-cast {
  width: 40%;
  padding-right: 20px;
}

.prava-cast {
  width: 60%;
  padding-left: 20px;
}

/* Fixed layout for left column, scrollable page */
.container-fw {
  display: flex;
  width: 100%;
  position: relative;
}

.container-fw .col-lg-5 {
  position: sticky;
  top: 0px; /* Distance from top when sticky */
  align-self: flex-start;
}

.container-fw .col-lg-7 .sticky-header {
  position: sticky;
  top: 0px;
  background-color: white;
  z-index: 10;
  padding-bottom: 15px;
  margin-bottom: 0;
}

/* Point number circle */
.point-number-circle {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  font-size: 24px;
  margin-right: 15px;
  flex-shrink: 0;
}

/* Breadcrumb */
.breadcrumb-container {
  display: flex;
  align-items: center;
  margin: 20px 0;
}

.stranka-bod-home136531081 {
  width: 25px;
  height: 25px;
  margin-right: 8px;
}

.stranka-bod-text10 {
  color: rgba(0, 0, 0, 1);
  font-size: 15px;
  font-style: normal;
  line-height: normal;
}

/* Map section */
.stranka-bod-map1 {
  width: 100%;
  margin-top: 20px;
}

.stranka-bod-right-menu {
  width: 100%;
}

.stranka-bod-map2 {
  position: relative;
  width: 100%;
  margin-bottom: 20px;
}

.stranka-bod-rectangle59 {
  width: 100%;
  height: auto;
}

.stranka-bod-path {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.stranka-bod-image2,
.stranka-bod-vector1,
.stranka-bod-vector2,
.stranka-bod-vector3,
.stranka-bod-vector4 {
  position: absolute;
}

.stranka-bod-trees {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.stranka-bod-tree10 {
  position: absolute;
}

.stranka-bod-location91315881 {
  position: absolute;
}

.stranka-bod-layer200000166641659206454329750000016209011312350 {
  position: absolute;
}

.stranka-bod-social-icon {
  position: absolute;
}

.stranka-bod-location {
  position: absolute;
}

.stranka-bod-rectangle55,
.stranka-bod-rectangle60,
.stranka-bod-rectangle61 {
  position: absolute;
}

/* Navigation to other points */
.stranka-bod-frame9 {
  width: 100%;
  margin-top: 20px;
}

.stranka-bod-frame11 {
  width: 100%;
}

.stranka-bod-frame12 {
  display: flex;
  gap: 20px;
}

/* Previous point navigation */
.stranka-bod-point1,
.stranka-bod-point2 {
  display: inline-flex;
  flex-direction: column;
  padding: 15px;
  width: 50%;
  align-items: center;
  font-family: Segoe UI;
}

.stranka-bod-text12,
.stranka-bod-text17 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 10px;
  color: #333;
}

.stranka-bod-frame52,
.stranka-bod-frame53 {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.stranka-bod-icon1,
.stranka-bod-icon2 {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: #28a699;
  margin-right: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  font-weight: bold;
}

.stranka-bod-text13,
.stranka-bod-text18 {
  font-weight: 600;
  margin-right: 5px;
}

.stranka-bod-text14,
.stranka-bod-text19 {
  color: #555;
}

.stranka-bod-frame54,
.stranka-bod-frame55 {
  display: flex;
  gap: 10px;
}

.stranka-bod-button1,
.stranka-bod-button2,
.stranka-bod-button3,
.stranka-bod-button4 {
  display: flex;
  align-items: center;
  padding: 8px 12px;
  border: 1px solid #28a699;
  border-radius: 4px;
  background-color: white;
  cursor: pointer;
  transition: all 0.3s ease;
}

.stranka-bod-button1:hover,
.stranka-bod-button3:hover,
.stranka-bod-button4:hover,
.stranka-bod-button3:hover {
  background-color: #f0f0f0;
}
.stranka-bod-button1,
.stranka-bod-button2,
.stranka-bod-button4,
.stranka-bod-button3{
    background: transparent;
    border: transparent;
    color: #28a699;
}

.stranka-bod-text15,
.stranka-bod-text16,
.stranka-bod-text20,
.stranka-bod-text21 {
  font-size: 14px;
  margin-right: 5px;
}

.stranka-bod-pin79871411,
.stranka-bod-pin79871412 {
  width: 16px;
  height: 16px;
}

.stranka-bod-arrow1,
.stranka-bod-arrow2 {
  width: 16px;
  height: 16px;
}

/* Main content */
.bod-container {
  width: 100%;
  padding: 20px;
  background-color: white;
  border-radius: 8px;
}

.bod-heading-container {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.stranka-bod-icon3 {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: #28a699;
  margin-right: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
}

.bod-nadpis {
  font-size: 28px;
  font-weight: 700;
  color: #333;
  font-family: Segoe UI;
}

.stranka-bod-navigation80591381 {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 20px;
}

.stranka-bod-frame42-navigation {
  display: flex;
  gap: 10px;
}

.stranka-bod-vector103,
.stranka-bod-vector104 {
  width: 20px;
  height: 20px;
  cursor: pointer;
}

/* Content styling */
.bod-text {
  display: block;
  font-size: 16px;
  line-height: 1.6;
  color: #333;
  margin-bottom: 20px;
}
.bod-text img {
    max-width: 100%;
    max-height: 500px;
    object-fit: cover;
}

.bod-obrazek {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 10px;
  display: block;
}

.bod-popisek {
  display: block;
  font-size: 14px;
  font-style: italic;
  color: #666;
  margin-bottom: 30px;
}


/* Responsive styles */
@media (max-width: 1200px) {
  .obsah {
    padding: 0 50px;
  }
}

@media (max-width: 992px) {
  .obsah {
    flex-direction: column;
  }

  .leva-cast,
  .prava-cast {
    width: 100%;
    padding: 0;
  }

  .leva-cast {
    margin-bottom: 30px;
  }

  /* Reset fixed layout on smaller screens */
  .container-fw {
    flex-direction: column;
  }

  .container-fw .col-lg-5 {
    position: relative;
    top: auto;
    margin-bottom: 20px;
  }

  .container-fw .col-lg-7 .sticky-header {
    position: relative;
    top: auto;
  }
}

@media (max-width: 768px) {
  .obsah {
    padding: 0 20px;
  }

  .stranka-bod-text11 {
    font-size: 30px;
  }

  .bod-nadpis {
    font-size: 24px;
  }
}

/* Scroll indicator */
.scroll-indicator {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 40px;
  height: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 100;
}

.scroll-arrow {
  width: 20px;
  height: 10px;
  border-left: 2px solid #28a699;
  border-bottom: 2px solid #28a699;
  transform: rotate(-45deg);
  margin-bottom: 5px;
  animation: scrollAnimation 1.5s infinite;
}

.scroll-arrow-1 {
  animation-delay: 0s;
}

.scroll-arrow-2 {
  animation-delay: 0.2s;
}

.scroll-arrow-3 {
  animation-delay: 0.4s;
}

@keyframes scrollAnimation {
  0% {
    opacity: 0;
    transform: rotate(-45deg) translate(0, 0);
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: rotate(-45deg) translate(10px, 10px);
  }
}

/* Quiz section */
.quiz-header {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
}

.quiz-header::before {
    content: '';
    width: 3px;
    height: 24px;
    background-color: #009688;
    margin-right: 12px;
}

.quiz-container {
    width: 100%;
    margin-top: 40px;
    padding: 20px;
    max-width: 76%;
    margin-bottom: 150px;
}

.quiz-title {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
}

.quiz-description {
    margin-bottom: 10px;
}

.quiz-description p {
    margin: 0;
    color: #555;
    font-size: 16px;
    line-height: 1.6;
}

.progress-bar {
    display: flex;
    margin-bottom: 20px;
}

.progress-segment {
    flex: 1;
    height: 6px;
    background-color: #e0e0e0;
    margin-right: 5px;
    border-radius: 3px;
}

.progress-segment.active {
    background-color: #28a699;
}

.question-box {
    padding: 20px 0px 20px 0px;
}

.question-number {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
}

.question-text {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
}

.answer-option {
    padding: 12px 15px;
    background-color: #f0f0f0;
    border-radius: 6px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.answer-option:hover {
    background-color: #e0e0e0;
}

.answer-option.selected {
    background-color: #28a699;
    color: white;
}

.answer-option.correct {
    background-color: #e8f5e9;
    border-left: 4px solid #4caf50;
}

.answer-option.incorrect {
    background-color: #ffebee;
    border-left: 4px solid #f44336;
}

.encouragement-message,
.warning-message {
    margin-top: 15px;
    padding: 10px;
    border-radius: 6px;
    text-align: center;
}

.encouragement-message {
    background-color: #d4edda;
    color: #155724;
}

.warning-message {
    background-color: #f8d7da;
    color: #721c24;
}

/* New Quiz Feedback Styles */
.feedback-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 6px;
    text-align: center;
    font-weight: 600;
    animation: fadeIn 0.3s ease-in;
}

.feedback-message.correct {
    background-color: #d4edda;
    color: #155724;
    border-left: 4px solid #28a745;
}

.feedback-message.incorrect {
    background-color: #f8d7da;
    color: #721c24;
    border-left: 4px solid #dc3545;
}

/* Quiz Results Card - Inline Display */
.quiz-results-card {
    display: none;
    margin-top: 30px;
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    animation: fadeIn 0.3s ease-in;
}

.quiz-results-card .results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    background-color: #f8f9fa;
    border-bottom: 2px solid var(--primary-color);
}

.quiz-results-card .results-header h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0;
}

.quiz-results-card .toggle-results-btn {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.quiz-results-card .toggle-results-btn:hover {
    background-color: #229954;
}

.quiz-results-card .toggle-results-btn .hide-text {
    display: inline;
}

.quiz-results-card .toggle-results-btn .show-text {
    display: none;
}

.quiz-results-card #results-content {
    padding: 25px;
}

.quiz-results-card #results-message {
    font-size: 16px;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
    text-align: center;
}

.quiz-results-card #results-stats {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.quiz-results-card #results-stats p {
    margin: 10px 0;
    font-size: 16px;
    color: #333;
}

.quiz-results-card #results-stats strong {
    color: var(--primary-color);
}

.quiz-results-card .retry-quiz-btn {
    display: none;
    background-color: #3498db;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 10px;
}

.quiz-results-card .retry-quiz-btn:hover {
    background-color: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Quiz Already Answered Warning */
.quiz-already-answered-warning {
    background-color: #fff3cd;
    color: #856404;
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 20px;
    border-left: 4px solid #ffc107;
    font-size: 14px;
}

.quiz-already-answered-warning strong {
    display: block;
    margin-bottom: 5px;
}

.attachment__caption{
  text-align: center;
  color: grey;
  text-decoration: none!important;
  font-style: italic;
}

.bod-text a:-webkit-any-link{
  text-decoration: none;
}

.bod-navigation-wrapper{
  display: flex;
  justify-content: space-between;
}

.bod-text-wrapper{
  height: 450px;
  overflow-y: auto;
}
figcaption:not(.attachment__caption--edited) {
    display: none;
}

@media (max-width: 768px){
  .quiz-results-card .results-header h3 {
      font-size: 18px;
  }

  .quiz-results-card .results-header{
    padding: 10px 15px;
  }

  .quiz-results-card .toggle-results-btn{
    padding: 4px 8px;
  }

  .quiz-results-card #results-content{
    padding: 15px;
  }
}