footer {
  height: auto;
}
.ftr-grid {
  padding-block: var(--space-4, 16px) 0;
}
.ftr-col {
  padding-block: 4px;
}

.ftr-col--brand .logo a {
  margin-bottom: var(--space-2, 8px);
}
.ftr-acc {
  border-top: 1px solid #37383d;
}
.ftr-col:last-child .ftr-acc {
  border-bottom: 1px solid #37383d;
}
.ftr-acc summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2, 8px);
  min-height: 44px;
  padding: 12px 4px;
  cursor: pointer;
  list-style: none;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  -webkit-tap-highlight-color: transparent;
}

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

.ftr-acc summary::marker {
  content: "";
}
.ftr-acc summary:focus-visible {
  outline: 2px solid var(--c-brand);
  outline-offset: -2px;
}
.ftr-acc summary::after {
  content: "";
  flex: none;
  width: 8px;
  height: 8px;
  border-right: 2px solid #b9b9b9;
  border-bottom: 2px solid #b9b9b9;
  transform: rotate(45deg);
  transition: transform var(--transition, .2s ease);
}
.ftr-acc[open] summary::after {
  transform: rotate(-135deg);
}
@media (prefers-reduced-motion: reduce) {
  .ftr-acc summary::after {
    transition: none;
  }
}
.ftr-sublabel {
  margin: 12px 4px 4px;
  font-size: 13px;
  color: #888;
}
.ftr-sublabel:first-of-type {
  margin-top: 4px;
}
.ftr-list {
  margin: 0;
  padding: 0 4px 8px;
  list-style: none;
}
.ftr-list li {
  margin: 0;
}
.ftr-list a,
#nav-bottom a {
  display: flex;
  align-items: center;
  min-height: 44px;
  color: #b9b9b9;
  text-decoration: none;
  font-size: 14px;
}
.ftr-list a:hover,
.ftr-list a:active,
#nav-bottom a:hover,
#nav-bottom a:active {
  color: #ffd82b;
}
#nav-bottom {
  padding: 0 4px 8px;
}
#nav-bottom ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
@media (max-width: 1023px) {
  .ftr-col--brand {
    padding-bottom: var(--space-3, 12px);
    border-bottom: 1px solid #37383d;
    margin-bottom: 4px;
  }
  footer .info-contact {
    margin-top: 12px;
    margin-bottom: 8px;
  }
  footer .logo a {
    margin-bottom: 8px;
  }
  footer .info-contact a[itemprop="email"] {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }
}
@media (min-width: 1024px) {
  .ftr-grid {
    display: grid;
    grid-template-columns: minmax(230px, 1.3fr) repeat(3, minmax(0, 1fr));
    column-gap: var(--space-7, 48px);
    padding-block: var(--space-6, 32px) 0;
    align-items: start;
  }
  .ftr-col {
    padding-block: 0;
  }

  .ftr-col--brand {
    padding-bottom: 0;
    border-bottom: none;
    margin-bottom: 0;
  }
  .ftr-acc {
    border: none;
  }
  .ftr-acc summary {
    cursor: default;
    padding: 0;
    min-height: 0;
    margin-bottom: var(--space-4, 16px);
    font-size: 18px;
    font-weight: normal;
  }
  .ftr-acc summary::after {
    display: none;
  }
  .ftr-acc > *:not(summary) {
    display: block;
  }
  .ftr-acc::details-content {
    content-visibility: visible;
    display: block;
    block-size: auto;
    height: auto;
    overflow: visible;
  }
  .ftr-sublabel {
    margin: 16px 0 4px;
  }

  .ftr-sublabel:first-of-type {
    margin-top: 0;
  }

  .ftr-list,
  #nav-bottom {
    padding: 0;
  }
  .ftr-list a,
  #nav-bottom a {
    display: block;
    min-height: 0;
    padding-block: 2px;
  }
}

.ftr-bottom {
  background: #232424;
  border-top: 1px solid #37383d;
}
.ftr-bottom__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px var(--space-4, 16px);
  padding-block: var(--space-3, 12px);
  font-size: 13px;
  color: #b9b9b9;
}
#copy {
  display: flex;
  flex-wrap: wrap;
  gap: 4px var(--space-4, 16px);
}
#copy a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #b9b9b9;
  text-decoration: none;
}
#copy a:hover,
#copy a:focus-visible {
  color: #ffd82b;
}
#copy a:focus-visible {
  outline: 2px solid #ffd82b;
  outline-offset: 2px;
}

.dlg {
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow-2);
  width: min(640px, 92vw);
  max-width: 92vw;
  max-height: min(80dvh, 720px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.dlg[open] {
  animation: dlg-in var(--transition);
}
.dlg::backdrop {
  background: rgba(0, 0, 0, 0.5);
}

@media (prefers-reduced-motion: reduce) {
  .dlg[open] {
    animation: none;
  }
}
@keyframes dlg-in {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.dlg__close {
  position: absolute;
  top: var(--space-2);
  right: var(--space-2);
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  font-size: 28px;
  line-height: 1;
  color: var(--c-muted);
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: background-color var(--transition), color var(--transition);
}
.dlg__close:hover,
.dlg__close:focus-visible {
  background: var(--c-border-soft);
  color: var(--c-text);
}
.dlg__close:focus-visible {
  outline: 2px solid var(--c-brand);
  outline-offset: 2px;
}
.dlg__body {
  padding: var(--space-6) var(--space-5) var(--space-5);
  overflow: auto;
  font-size: var(--fs-body);
  color: var(--c-text);
}
.dlg__body img {
  max-width: 100%;
  height: auto;
}
.dlg__img {
  display: block;
  max-width: 100%;
  max-height: calc(min(80dvh, 720px) - var(--space-5) * 2);
  margin: 0 auto;
  border-radius: var(--radius-sm);
}

.dlg__loading {
  padding: var(--space-6) 0;
  text-align: center;
  color: var(--c-muted);
}
@media (max-width: 599px) {
  .dlg {
    width: 94vw;
    max-height: 85dvh;
  }
  .dlg__body {
    padding: var(--space-5) var(--space-4) var(--space-4);
  }
}

@keyframes lp-shimmer {
  0% { background-position: 150% 0; }
  100% { background-position: -50% 0; }
}
@keyframes lp-spin {
  to { transform: rotate(360deg); }
}

.lp-skel {
  display: block;
  background: var(--c-border-soft, #dedede);
  background-image: linear-gradient(90deg, transparent, rgba(255, 255, 255, .6), transparent);
  background-size: 200% 100%;
  border-radius: var(--radius-sm, 4px);
  animation: lp-shimmer 1.2s ease-in-out infinite;
}

.lp-spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid var(--c-border-soft, #dedede);
  border-top-color: var(--c-brand, #379ccb);
  border-radius: 50%;
  animation: lp-spin .7s linear infinite;
  vertical-align: middle;
}

.hdr-search__skeleton {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
  min-height: 44px;
}
.hdr-search__skeleton .lp-skel--thumb {
  flex: none;
  width: 36px;
  height: 36px;
}
.hdr-search__skeleton .lp-skel--line {
  flex: 1 1 auto;
  height: 14px;
}

#content.pf-loading {
  position: relative;
  pointer-events: none;
}
#content.pf-loading::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .5), transparent);
  background-size: 200% 100%;
  animation: lp-shimmer 1.1s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
  .lp-skel,
  #content.pf-loading::after {
    animation: none;
  }
  .lp-spinner {
    animation-duration: 1.4s;
  }
}

