body {
  margin: 0;
  background: #ffeed9;
  font-family: Arial, sans-serif;
  color: #ba5f2b;
}

.app {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 60px;
  padding: 40px 50px;
  max-width: 1400px;
  margin: 0 auto;
}

.menu-panel {
  width: 100%;
}

.accordion {
  width: 100%;
}

.group {
  margin-bottom: 0;
  border-bottom: 1px solid rgba(186, 95, 43, 0.15);
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  padding: 14px 0;
}

.title {
  font-family: "hobo-std", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 32px;
  line-height: 42px;
  color: #ba5f2b;
}

.arrow {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  background: url("assets/arrow-brown.svg") center/contain no-repeat;
  transition: transform 0.2s ease;
}

.group.open .arrow {
  transform: rotate(180deg);
}

.panel {
  display: none;
  padding: 0 0 14px 0;
}

.group.open .panel {
  display: block;
}

.item {
  font-size: 20px;
  line-height: 1.3;
  color: #c97338;
  margin: 8px 0;
  cursor: pointer;
}

.item:hover,
.item.active {
  color: #ef6d47;
}

.viewer-panel {
  min-height: 700px;
  width: 100%;
}

.viewer {
  width: 100%;
}

.viewer.dual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  justify-items: center;
  align-items: start;
}

.viewer.single {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  width: 100%;
}

.viewer img {
  width: 100%;
  height: auto;
  display: block;
}

.viewer.dual img {
  max-width: 350px;
}

.viewer.single img {
  max-width: 740px;
}

@media (max-width: 1100px) {
  .app {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .title {
    font-size: 30px;
    line-height: 38px;
  }
}

@media (max-width: 767px) {
  .app {
    padding: 24px 20px 36px;
  }

  .title {
    font-size: 28px;
    line-height: 34px;
  }

  .item {
    font-size: 18px;
  }

  .viewer.dual {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .viewer.single img {
    max-width: 100%;
  }
}