.faq-section {
  padding-top: 60px;
  padding-bottom: 60px;
  background-color: var(--color-text-main);
}

.faq-layout {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.faq-left {
  flex: 1 1 50%;
  max-width: 800px;
  display: flex;
  flex-direction: column;
}

.faq-right {
  flex: 1 1 50%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.faq-subtitle {
  display: block;
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.faq-subtitle::before {
  content: '■ ';
  color: var(--color-accent, #F15D26);
  margin-right: 5px;
  font-size: 8px;
  vertical-align: middle;
}

.faq-left h2 {
  margin: 20px 0;
}

.faq-left>p {
  margin-bottom: 60px;
  color: #d1d1d1;
  font-size: 1.125rem;
}

/* Banner specific styles */
.faq-banner {
  margin-top: auto;
  position: relative;
  max-width: 748px;
  width: 100%;
  height: 369px;
  background-image: url('../images/faq-block.png');
  background-size: cover;
  background-position: center;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.faq-banner::before {
  content: '';
  position: absolute;
  top: -1px;
  bottom: -1px;
  left: -1px;
  right: -1px;
  background: radial-gradient(ellipse at 30% 70%, rgba(52, 55, 60, 0.8) 28%, rgba(52, 55, 60, 0) 63%);
  z-index: 1;
}

.faq-banner>* {
  position: relative;
  z-index: 2;
}

.faq-banner-text {
  padding: 40px 40px 0px 40px;
  margin-top: auto;
}

.faq-banner h3 {
  font-family: var(--font-title);
  color: var(--color-white);
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 15px;
  text-transform: uppercase;
}

.faq-banner-text p {
  margin: 0;
  color: #e2e2e2;
  font-size: 16px;
}

.faq-banner .btn {
  align-self: flex-start;
  margin-left: 0;
  margin-bottom: 0;
  margin-top: auto;
  position: relative;
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  color: #fff;
  padding: 48px 64px;
  font-weight: 800;
  font-size: 18px;
  text-decoration: none;
  text-transform: uppercase;
  display: inline-block;
  transition: all 0.4s ease;
  overflow: hidden;
  z-index: 3;
  border: none;
}

.faq-banner .btn::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 16px;
  height: 16px;
  background-color: var(--color-accent, #F15D26);
  transition: all 0.3s ease;
  z-index: -1;
}

.faq-banner .btn:hover::before,
.faq-banner .btn:active::before {
  width: 100%;
  height: 100%;
}

.faq-banner .btn:hover,
.faq-banner .btn:active {
  color: #fff;
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(0px);
}

.faq-details {
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 20px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 2px;
}

.faq-details:last-child {
  margin-bottom: 0;
}

.faq-summary {
  display: flex;
  align-items: center;
  padding: 13px 20px;
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 22px;
  cursor: pointer;
  list-style: none;
  text-transform: uppercase;
  gap: 20px;
}

.faq-summary::-webkit-details-marker {
  display: none;
}

.faq-number {
  color: var(--color-accent, #F15D26);
  background: #34373C;
  font-family: var(--font-title);
  font-size: 1.5rem;
  font-weight: 800;
  width: 56px;
  height: 56px;
  border-radius: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
}

.faq-title-text {
  flex: 1 1 auto;
  min-width: 0;
  line-height: 1.3;
  font-size: 1.375rem;
  word-break: keep-all;
  overflow-wrap: normal;
}

.faq-icon {
  position: relative;
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  margin-left: 0;
}

.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  background-color: #fff;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.faq-icon::before {
  width: 14px;
  height: 2px;
}

.faq-icon::after {
  height: 14px;
  width: 2px;
  transition: 0.2s;
}

.faq-details[open] .faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
  opacity: 0;
}

.faq-content {
  padding: 0 20px;
}

.faq-content p {
  font-size: 1.125rem;
  color: #FEFEFE;
  margin: 0;
  border-top: 1px solid rgba(254, 254, 254, 0.2);
  padding: 20px 0;
}

@media(max-width: 991px) {
  .faq-layout {
    flex-direction: column;
  }

  .faq-left,
  .faq-right {
    width: 100%;
    max-width: 100%;
  }
}