.wrapper,
.wrapper * {
  box-sizing: border-box;
}
.wrapper {
  display: flex;
  flex-direction: row;
  gap: 16px;
  align-items: flex-start;
  justify-content: flex-start;
  align-self: stretch;
  flex-shrink: 0;
  position: relative;
  margin-bottom: 40px;
}
.column {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
  justify-content: flex-start;
  flex-shrink: 0;
  width: 280px;
  position: relative;
}
.title {
  border-style: solid;
  border-color: var(--neutral-02, #cacaca);
  border-width: 0px 0px 0.5px 0px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: flex-start;
  justify-content: center;
  align-self: stretch;
  flex-shrink: 0;
  height: 52px;
  position: relative;
  padding: 0px 16px;
}
.date-format {
  color: var(--neutral-04, #808080);
  text-align: left;
  font-size: 16px;
  line-height: 32px;
  font-weight: 400;
  position: relative;
}
.menu {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
  justify-content: flex-start;
  align-self: stretch;
  flex-shrink: 0;
  position: relative;
}
.container {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-start;
  justify-content: flex-start;
  align-self: stretch;
  flex-shrink: 0;
  position: relative;
}
.item {
  display: flex;
  flex-direction: row;
  gap: 10px;
  align-items: center;
  justify-content: flex-start;
  align-self: stretch;
  flex-shrink: 0;
  position: relative;
}
.arrow-right {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  position: relative;
  overflow: visible;
  aspect-ratio: 1;
}

.arrow-right2 {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  position: relative;
  overflow: visible;
  aspect-ratio: 1;
}
.column2 {
  display: flex;
  flex-direction: column;
  gap: 57px;
  align-items: flex-start;
  justify-content: flex-start;
  flex-shrink: 0;
  width: 795px;
  position: relative;
}
.block {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
  justify-content: flex-start;
  align-self: stretch;
  flex-shrink: 0;
  position: relative;
}
.title2 {
  border-style: solid;
  border-color: var(--neutral-02, #cacaca);
  border-width: 0px 0px 1px 0px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: flex-start;
  justify-content: center;
  align-self: stretch;
  flex-shrink: 0;
  position: relative;
}
.content {
  border-style: solid;
  border-color: var(--primary-04, #113ef9);
  border-width: 0px 0px 3px 0px;
  padding: 8px 12px 8px 12px;
  display: flex;
  flex-direction: row;
  gap: 4px;
  align-items: center;
  justify-content: flex-start;
  flex-shrink: 0;
  position: relative;
}
.summary-content {
  color: var(--neutral-06, #4d4d4d);
  text-align: left;
  font-size: 16px;
  line-height: 34px;
  font-weight: 400;
  position: relative;
  align-self: stretch;
}
.block2 {
  background: var(--overlay-light-50, rgba(229, 242, 255, 0.5));
  border-radius: 8px;
  padding: 0px 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: flex-start;
  justify-content: center;
  align-self: stretch;
  flex-shrink: 0;
  position: relative;
}
.explanation-content {
  color: var(--primary-06, #233582);
  text-align: left;
  font-size: 16px;
  line-height: 34px;
  font-weight: 400;
  position: relative;
  align-self: stretch;
}
.column3 {
  flex-shrink: 0;
  width: auto;
  height: auto;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.text {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
  justify-content: flex-start;
  flex-shrink: 0;
  width: 280px;
  position: relative;
}


.explanation-expert {
  margin-top: 30px;
  width: 100%;
  border-radius: 12px;
}

.rectangle-2 {
  background: var(--neutral-05, #5e5e5e);
  border-radius: 16px;
  flex-shrink: 0;
  width: 80px;
  height: 6px;
  position: relative;
}
.frame-22 {
  display: flex;
  flex-direction: row;
  gap: 12px;
  align-items: center;
  justify-content: flex-start;
  flex-shrink: 0;
  position: relative;
}
.volume-high {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  position: relative;
  overflow: visible;
  aspect-ratio: 1;
}
.more-vertical {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  position: relative;
  overflow: visible;
  aspect-ratio: 1;
}

/* Add styles for expert in explanation section */
.explanation-expert {
  margin-top: 30px;
  width: 100%;
  border-radius: 12px;
}

/* Style for explanation block in right column */
.explanation-block {
  margin-bottom: 30px;
}


.content-row {
  display: flex;
  flex-direction: row;
  gap: 16px;
}

/* Mobile responsive design */
@media (max-width: 992px) {
  .wrapper {
    flex-direction: column;
  }
  
  .column, .column2, .column3 {
    width: 100%;
  }
  
  
  .explanation-expert {
    width: 100%;
    border-radius: 8px;
  }

  .explanation-block {
    margin-top: 30px;
  }

  .content-row {
    flex-direction: column;
    padding: 0 8px;
  }
  
  .column2, .column3, .summary-sidebar, .explanation-sidebar {
    width: 100%;
  }
}

/* Add tablet-specific styles to reduce gaps */
@media (max-width: 1024px) and (min-width: 769px) {
  .column2 {
    gap: 0px; /* Reduced from 57px for tablet view */
  }
  
  .block {
    gap: 0px; /* Reduced from 24px */
  }
  
  .title2 {
    margin-bottom: 5px;
  }
  
  /* Reduce spacing between elements inside content blocks */
  .column2 > div {
    width: 100vw;
    margin-bottom: 15px;
  }
  
  /* Reduce spacing in block2 (explanation content) */
  .block2 {
    padding: 15px;
    gap: 2px;
  }
}

/* Add mobile-specific styles for even tighter spacing */
@media (max-width: 768px) {
  .column2 {
    gap: 0px;
  }
  
  .block {
    gap: 0px;
    margin-bottom: 10px;
  }
  
  .title2 {
    margin-bottom: 3px;
  }
  
  /* Further reduce spacing between elements for mobile */
  .column2 > div {
    width: 100vw;
    margin-bottom: 10px;
  }
  
  /* Hide breadcrumb navigation on mobile devices */
  .breadcrumb-nav {
    display: none;
  }
  
  /* Tighter spacing in explanation content for mobile */
  .block2 {
    padding: 12px;
    gap: 0px;
  }
  
  /* Adjust text sizes for better mobile readability */
  .summary-content, .explanation-content {
    font-size: 15px;
    line-height: 28px;
    word-wrap: break-word;
  }
  
  /* Reduce padding in content sections */
  .content {
    padding: 6px 8px;
  }
}

/* Audio player button styles */
.play-button {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  position: relative;
  cursor: pointer;
  transition: transform 0.15s ease;
  aspect-ratio: 1;
}

.play-button:hover {
  transform: scale(1.1);
}

.play-button:active {
  transform: scale(0.95);
}

/* Style for progress bar */
.progress-bar {
  background: var(--neutral-03, #e0e0e0);
  border-radius: 16px;
  flex: 1;
  height: 6px;
  position: relative;
  cursor: pointer;
  overflow: hidden;
}

/* Audio timestamp style */
.audio-timestamp {
  color: var(--neutral-05, #5e5e5e);
  text-align: left;
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
  margin: 0 12px;
  width: 85px; /* Fixed width to prevent layout shifts */
}

/* Audio controls container */
.audio-controls {
  display: flex;
  flex-direction: row;
  gap: 12px;
  align-items: center;
  justify-content: flex-start;
  position: relative;
}

/* Volume and options buttons */
.volume-icon, .more-options {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  position: relative;
  cursor: pointer;
  transition: opacity 0.2s ease;
  aspect-ratio: 1;
}

.volume-icon:hover, .more-options:hover {
  opacity: 0.8;
}

/* Audio options dropdown styling */
.audio-options-dropdown {
  position: absolute;
  right: 0;
  top: 30px;
  background-color: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  border-radius: 4px;
  padding: 8px 0;
  z-index: 1000;
  min-width: 120px;
}
