.promo-container {
    display: flex;
    width: 99%;
    /*height: 160px;*/
    margin: 10px auto;
    gap: 4px;
    justify-content: space-evenly;
    align-items: stretch;
    flex-wrap: wrap;
    flex-direction: row;
}

.promo-box {
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    /*height: 100%;*/
    flex: 1 1 300px;
    height: auto;
    width: auto;
    /*width: 99%;*/
    margin: 10px auto;
    background-color: var(--bg);
    border-color: var(--primary);
    border-style: groove;
    border-radius: 10px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    padding: 20px;
}

.promo-clickable {
    display: block;
    color: inherit;
    cursor: pointer;
}

.promo-clickable:hover .promo-box {
    box-shadow: inset 0 0 0 3px var(--primary);
    transition: box-shadow 0.3s ease;
}

.promo-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
}

.promo-box li {
    color: var(--on-bg);
    font-family: "Alata";
    text-align: center;
    font-size: 16px;
    text-shadow:
        2px 2px 4px rgba(0, 0, 0, 0.5),
        0 0 10px rgba(255, 255, 255, 0.2);
}

.promo-box li.title {
    font-size: 20px;
    margin-bottom: 10px;
    font-weight: bold;
    font-family: "Rubik";
    text-shadow:
        2px 2px 4px rgba(0, 0, 0, 0.5),
        0 0 10px rgba(255, 255, 255, 0.2);
}

.promo-box li i {
    font-size: 40px;
    margin-bottom: 4px;
    color: var(--primary);
}

.videos-section {
    display: flex;
    flex-direction: row;
    gap: 10px;
    justify-content: space-between;
    align-items: stretch;
    width: 100%;
    height: 250px;
    box-sizing: border-box;
}

.videos-section video {
    height: 100%;
    width: 100%;
    object-fit: fill;
}

  .faq-wrap{
    width: 100%;
  }

  details.faq{
    background: var(--surface);
    color: var(--on-surface);
    border: 1px solid var(--primary);
    border-radius: 12px;
    margin-top: 12px;
    margin-bottom: 12px;
    overflow: hidden; /* keeps rounded corners while animating */
    box-shadow: 0 1px 0 rgba(15,23,42,0.02), 0 6px 18px rgba(15,23,42,0.04);
  }

  summary.faq__summary{
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 18px;
    gap: 12px;
    user-select: none;
    font-weight: 300;
    font-size: 16px;
    font-family: "Rubik";
    line-height: 1.2;
    transition: background .15s ease;
    outline: 3px solid color-mix(in srgb, var(--primary) 16%, transparent);
    outline-offset: 4px;
    border-radius: 8px;
    background: linear-gradient(180deg, transparent, rgba(0,0,0,0.01));
  }

  summary.faq__summary::-webkit-details-marker { display:none; }
  summary.faq__summary::marker { font-size: 0; }

  .faq__title{
    display:flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    min-width: 0; /* allow ellipsis */
  }

  .faq__title .title-line{
    display:flex;
    gap: 8px;
    align-items: center;
    width:100%;
  }

  .faq__heading{
    white-space: normal;
    overflow: visible;
    text-overflow: ellipsis;
    color: var(--on-surface);
    line-height: 1.4;
  }

  .faq__hint{
    font-size: 16px;
    color: color-mix(in srgb, var(--on-surface) 60%, transparent);
    font-weight: 500;
  }

  .faq__caret{
    display:inline-block;
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    transform-origin: 50% 50%;
    transition: transform 220ms cubic-bezier(.2,.9,.2,1);
    opacity: .95;
  }

  .faq__caret svg{
    display:block;
    width:100%;
    height:100%;
  }

  .faq__content{
    padding: 14px 18px 18px 18px;
    border-top: 1px solid rgba(0,0,0,0.04);
    color: color-mix(in srgb, var(--on-surface) 90%, transparent);
    font-size: 20px;
    line-height: 1.5;
    max-height: 0;
    overflow: hidden;
    font-family: "Rubik";
    transition: max-height 300ms cubic-bezier(.2,.9,.2,1), opacity 220ms ease, transform 220ms ease;
    opacity: 0;
    transform: translateY(-6px);
  }

  details.faq[open] .faq__content{
    max-height: 600px;
    opacity: 1;
    transform: translateY(0);
  }

  details.faq[open] .faq__caret{
    transform: rotate(90deg);
  }

  summary.faq__summary:hover{
    background: linear-gradient(180deg, rgba(0,0,0,0.04), rgba(0,0,0,0.01));
  }

  @media (max-width:420px){
    .faq__hint{ display:none; }
  }


@media (max-width: 768px) {

    .videos-section {
        flex-direction: column;
        align-items: center;
        margin-bottom: 80px;
        width: 100%;
    }

    .promo-container {
        flex-direction: column;
        align-items: center;
    }

    .promo-box {
        width: 100%;
        margin: 10px 0;
    }

    .promo-box li {
        font-size: 18px;
    }

    .promo-box li i {
        font-size: 28px;
    }

    .promo-box li.title {
        font-size: 18px;
    }
}