/* Pyetje të shpeshta (FAQ) — <details> pa JavaScript */

.faq .wrap {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 64px;
  align-items: start;
}
.faq-h {
  position: sticky;
  top: 110px;
}
.faq-h .eyb {
  justify-content: flex-start;
}
.faq-h .eyb::after {
  display: none;
}
.faq-h h2.serif {
  text-align: left;
  font-size: clamp(34px, 4.8vw, 56px);
  line-height: 1.05;
}
.faq-h p {
  color: var(--muted);
  margin: 18px 0 26px;
  max-width: 340px;
}
.qa {
  border-bottom: 1px solid var(--line);
}
.qa:first-child {
  border-top: 1px solid var(--line);
}
.qa summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 22px 4px;
  font-weight: 600;
  font-size: 17px;
  cursor: pointer;
  transition: color 0.2s;
}
.qa summary::-webkit-details-marker {
  display: none;
}
.qa summary:hover {
  color: #d7202b;
}
.qa summary i {
  flex: none;
  position: relative;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--text);
  transition:
    background 0.3s,
    color 0.3s,
    border-color 0.3s,
    rotate 0.3s;
}
.qa summary i::before,
.qa summary i::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 11px;
  height: 1.6px;
  border-radius: 2px;
  background: currentColor;
  translate: -50% -50%;
  transition: rotate 0.3s;
}
.qa summary i::after {
  rotate: 90deg;
}
.qa[open] summary i {
  background: var(--text);
  border-color: var(--text);
  color: var(--bg);
  rotate: 180deg;
}
.qa[open] summary i::after {
  rotate: 0deg;
}
.qa p {
  margin: 0;
  padding: 0 56px 24px 4px;
  color: var(--muted);
  line-height: 1.7;
  font-size: 15px;
}
/* Hapje e butë aty ku shfletuesi e mbështet */
:root {
  interpolate-size: allow-keywords;
}
.qa::details-content {
  block-size: 0;
  overflow: hidden;
  transition:
    block-size 0.35s ease,
    content-visibility 0.35s allow-discrete;
}
.qa[open]::details-content {
  block-size: auto;
}
@media (max-width: 860px) {
  .faq .wrap {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .faq-h {
    position: static;
  }
  .qa summary {
    font-size: 15.5px;
  }
  .qa p {
    padding-right: 8px;
  }
}
