﻿/* ============================================
   FAQ (BLOCK17)
   ============================================ */
.block17 {
  max-width: var(--page-width);
  width: 100%;
  margin: 0 auto;
  padding: 50px var(--side-padding) 60px;
  box-sizing: border-box;
}

.block17_container {
  max-width: 1140px;
  margin: 0 auto;
}

.block17_title {
  text-align: left;
  font-family: Lora, serif;
  font-weight: 500;
  font-size: 32px;
  margin-bottom: 35px;
  color: #000000;
}

.block17_content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.block17_column {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.block17_accordion_item {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
}

.block17_accordion_header {
  padding: 13px 20px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s;
  position: relative;
}

.block17_accordion_header > * {
  flex: 1;
  padding-right: 50px;
  min-width: 0;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.block17_accordion_header:hover {
  background-color: #ebebeb;
}

.block17_accordion_header::before {
  content: "";
  position: absolute;
  width: 18px;
  height: 2px;
  background-color: #D9D9D9;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  transition: all 0.3s;
}

.block17_accordion_header::after {
  content: "";
  position: absolute;
  width: 2px;
  height: 18px;
  background-color: #D9D9D9;
  right: 28px;
  top: 50%;
  transform: translateY(-50%);
  transition: all 0.3s;
}

.block17_accordion_header.active::before {
  width: 18px;
  height: 2px;
  background-color: #D2232A;
  right: 20px;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}

.block17_accordion_header.active::after {
  width: 18px;
  height: 2px;
  background-color: #D2232A;
  right: 20px;
  top: 50%;
  transform: translateY(-50%) rotate(-45deg);
}

.block17_accordion_info {
  font-family: Lora, serif;
  font-weight: 500;
  font-style: normal;
  font-size: 20px;
  line-height: 22px;
  color: #000000;
  margin: 0;
  padding-right: 40px;
}

.block17_accordion_content {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  background-color: #fff;
}

.block17_accordion_content.open {
  padding: 20px;
  max-height: 1000px;
}

.block17_accordion_content p {
  font-family: Roboto, sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 16px;
  line-height: 28px;
  margin: 0;
  color: black;
}

.block17_accordion_content.open p {
  color: #000000;
}

.block17_schedule_button,
.block17_menu_button {
  display: inline-block;
  margin-top: 16px;
  padding: 10px 11px;
  font-family: Roboto, sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 18px;
  color: #D2232A;
  text-decoration: none;
  border: 1px solid #D2232A;
  border-radius: 6px;
  transition: background-color 0.3s ease, color 0.3s ease;
  cursor: pointer;
}

.block17_schedule_button:hover,
.block17_menu_button:hover {
  background-color: #D2232A;
  color: #FFFFFF;
}


@media (max-width: 1023px) {
  .block17_content {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

@media (max-width: 768px) {
  .block17 {
    padding: 32px 20px !important;
  }
  
  .block17_title {
    margin-bottom: 26px !important;
  }
  
  .block17_column {
    gap: 10px !important;
  }
  
  .block17_accordion_info {
    font-size: 20px !important;
  }
  
  .block17_accordion_content.open {
    font-size: 14px !important;
  }
  
  .block17_accordion_content.open p {
    font-size: 14px !important;
    line-height: 18px !important;
  }
}
