/*
  The Romanian menu and footer of the public site (Views/Home/Shared/_SiteMenu and
  _SiteFooter), built from Framework/PublicSite. Kept out of tailwind.css, which
  only holds the classes that existed when it was last generated.
*/

.sn-menu {
  display: flex;
  align-items: center;
}

.sn-link,
.sn-drop__toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 14px;
  border: 0;
  background: none;
  color: #181b1d;
  font: inherit;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
}

.sn-link:hover,
.sn-drop:hover .sn-drop__toggle,
.sn-drop:focus-within .sn-drop__toggle {
  color: #ff4586;
}

.sn-drop {
  position: relative;
}

.sn-drop__toggle svg {
  transition: transform 0.2s;
}

.sn-drop:hover .sn-drop__toggle svg,
.sn-drop:focus-within .sn-drop__toggle svg {
  transform: rotate(180deg);
}

.sn-drop__panel {
  position: absolute;
  top: 100%;
  left: 50%;
  z-index: 60;
  display: none;
  min-width: 230px;
  padding: 10px;
  border: 1px solid rgba(24, 27, 29, 0.08);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 24px 48px -24px rgba(15, 34, 57, 0.35);
  transform: translateX(-50%);
}

.sn-drop:hover .sn-drop__panel,
.sn-drop:focus-within .sn-drop__panel {
  display: flex;
  gap: 18px;
}

.sn-drop__group {
  display: flex;
  min-width: 190px;
  flex-direction: column;
}

.sn-drop__label {
  padding: 6px 10px 4px;
  color: #7b8898;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.sn-drop__item {
  padding: 8px 10px;
  border-radius: 10px;
  color: #181b1d;
  font-size: 0.9rem;
  text-decoration: none;
  white-space: nowrap;
}

.sn-drop__item:hover {
  background: #faf6ef;
  color: #ff4586;
}

/* The phone menu: each dropdown becomes an open/close group. */
.sn-mobile {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sn-mobile details > summary {
  list-style: none;
  cursor: pointer;
}

.sn-mobile details > summary::-webkit-details-marker {
  display: none;
}

.sn-mobile__link,
.sn-mobile summary {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  color: #181b1d;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
}

.sn-mobile__sub {
  display: flex;
  flex-direction: column;
  padding: 0 0 8px 12px;
}

.sn-mobile__sub span {
  padding: 8px 0 2px;
  color: #7b8898;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.sn-mobile__sub a {
  padding: 7px 0;
  color: #47586c;
  font-size: 0.9rem;
  text-decoration: none;
}

/* Footer: the brand, then six columns. */
.sn-footer {
  display: grid;
  gap: 32px;
  grid-template-columns: repeat(2, 1fr);
}

.sn-footer__brand {
  grid-column: 1 / -1;
}

@media (min-width: 768px) {
  .sn-footer {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1280px) {
  .sn-footer {
    grid-template-columns: 1.4fr repeat(6, 1fr);
  }

  .sn-footer__brand {
    grid-column: auto;
  }
}

.sn-footer h4 {
  margin-bottom: 14px;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.sn-footer ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sn-footer a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
  text-decoration: none;
}

.sn-footer a:hover {
  color: #fff;
}
