/* FAQ block (inc/faq.php). Loaded only on pages that show it.
 * A white band with clear space above it, so it does not merge with the grey sections before it
 * ("Рекомендуємо" on the product page). Desktop: title + contacts on the left, questions on the right. */
.tl-faq {
  width: 100%;
  margin: 0;
  padding: 70px 0;
  background: #fff;
  border-top: 1px solid #e6e6ec; }

.tl-faq__inner {
  max-width: 1170px;
  margin: 0 auto;
  padding: 0 15px;
  display: grid;
  grid-template-columns: minmax(260px, 340px) 1fr;
  gap: 60px;
  align-items: start; }

.tl-faq__aside {
  position: sticky;
  top: 30px; }

.tl-faq__title {
  margin: 0 0 15px;
  font-size: 30px;
  line-height: 1.2;
  text-align: left; }

.tl-faq__lead {
  margin: 0 0 25px;
  font-size: 15px;
  line-height: 1.6;
  color: #555; }

.tl-faq__contacts {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px; }

.tl-faq__phone {
  font-size: 20px;
  font-weight: 700;
  color: #3c2a98;
  text-decoration: none;
  white-space: nowrap; }
  .tl-faq__phone:hover {
    text-decoration: underline; }

.tl-faq__call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 28px;
  background: #ffcd00;
  color: #000;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: background .2s; }
  .tl-faq__call:hover {
    background: #f0c000; }
  .tl-faq__call:focus-visible,
  .tl-faq__phone:focus-visible {
    outline: 2px solid #3c2a98;
    outline-offset: 3px; }

.tl-faq__list {
  border-top: 2px solid #3c2a98; }

.tl-faq__item {
  border-bottom: 1px solid #e6e6ec; }

.tl-faq__question {
  position: relative;
  display: block;
  padding: 22px 50px 22px 0;
  font-weight: 600;
  font-size: 17px;
  line-height: 1.45;
  cursor: pointer;
  list-style: none;
  transition: color .2s; }
  .tl-faq__question::-webkit-details-marker {
    display: none; }
  /* plus / minus */
  .tl-faq__question::before,
  .tl-faq__question::after {
    content: "";
    position: absolute;
    right: 8px;
    top: 50%;
    width: 16px;
    height: 2px;
    background: #3c2a98;
    transition: transform .2s; }
  .tl-faq__question::after {
    transform: rotate(90deg); }
  .tl-faq__item[open] > .tl-faq__question::after {
    transform: rotate(0); }
  .tl-faq__question:hover,
  .tl-faq__item[open] > .tl-faq__question {
    color: #3c2a98; }
  .tl-faq__question:focus-visible {
    outline: 2px solid #3c2a98;
    outline-offset: 2px; }

.tl-faq__answer {
  padding: 0 50px 24px 0;
  font-size: 15px;
  line-height: 1.7;
  color: #444; }
  .tl-faq__answer p {
    margin: 0 0 10px; }
    .tl-faq__answer p:last-child {
      margin: 0; }
  .tl-faq__answer ul,
  .tl-faq__answer ol {
    margin: 0 0 10px 20px; }
  .tl-faq__answer a {
    color: #3c2a98;
    text-decoration: underline; }

@media (max-width: 992px) {
  .tl-faq {
    padding: 50px 0; }
  .tl-faq__inner {
    grid-template-columns: 1fr;
    gap: 25px; }
  .tl-faq__aside {
    position: static; }
  .tl-faq__title {
    font-size: 26px; }
  .tl-faq__lead {
    margin: 0 0 18px; }
  .tl-faq__contacts {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 24px; } }

@media (max-width: 575px) {
  .tl-faq {
    padding: 40px 0; }
  .tl-faq__title {
    font-size: 22px; }
  .tl-faq__question {
    padding: 18px 40px 18px 0;
    font-size: 15px; }
    .tl-faq__question::before,
    .tl-faq__question::after {
      right: 4px;
      width: 14px; }
  .tl-faq__answer {
    padding: 0 0 18px;
    font-size: 14px; }
  .tl-faq__call {
    width: 100%; } }
