.site-logo {
  height: 2.75rem;
  width: auto;
  max-width: 11rem;
}

@media (min-width: 640px) {
  .site-logo {
    height: 3rem;
  }
}

@media (min-width: 1024px) {
  .site-logo {
    height: 3.25rem;
  }
}

.footer-logo {
  height: 7.25rem;
  width: auto;
  max-width: 15.75rem;
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  min-width: 12rem;
  padding: 0.75rem;
  border: 1px solid rgba(204, 204, 204, 0.6);
  border-radius: 0.375rem;
  background: #fff;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
  display: none;
  z-index: 20;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  display: block;
}

.nav-dropdown-link {
  display: block;
  padding: 0.4rem 0.6rem;
  color: rgba(27, 26, 26, 0.78);
  font-weight: 600;
  border-radius: 0.25rem;
}

.nav-dropdown-link:hover,
.nav-dropdown-link:focus {
  color: #1b1a1a;
  background: rgba(178, 31, 31, 0.08);
}

#mobile-menu {
  max-height: calc(100vh - 6rem);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.guide-content > * + * {
  margin-top: 1rem;
}

.guide-content ul,
.guide-content ol {
  margin: 0.75rem 0 0.75rem 1.5rem;
  padding-left: 1.25rem;
}

.guide-content ul {
  list-style: disc;
}

.guide-content ol {
  list-style: decimal;
}

.guide-content li + li {
  margin-top: 0.4rem;
}

.guide-content h1,
.guide-content h2,
.guide-content h3,
.guide-content h4,
.guide-content h5 {
  font-weight: 600;
  color: #1b1a1a;
}

.guide-content a {
  color: #b21f1f;
  font-weight: 600;
  text-decoration: underline;
}

.guide-content img {
  max-width: 100%;
  height: auto;
  border-radius: 0.375rem;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.25rem 0.6rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border: 1px solid transparent;
}

.status-new {
  background: rgba(178, 31, 31, 0.08);
  color: #b21f1f;
  border-color: rgba(178, 31, 31, 0.2);
}

.status-reviewed {
  background: rgba(27, 26, 26, 0.06);
  color: rgba(27, 26, 26, 0.72);
  border-color: rgba(27, 26, 26, 0.12);
}

.status-contacted {
  background: rgba(16, 124, 70, 0.08);
  color: #107c46;
  border-color: rgba(16, 124, 70, 0.2);
}

.status-default {
  background: rgba(27, 26, 26, 0.06);
  color: rgba(27, 26, 26, 0.72);
  border-color: rgba(27, 26, 26, 0.12);
}

.resource-filter-pill {
  border: 1px solid rgba(204, 204, 204, 0.75);
  background: #f6f5f3;
  color: #1b1a1a;
  border-radius: 999px;
  padding: 0.5rem 0.95rem;
  font-size: 0.875rem;
  font-weight: 600;
  transition: background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}

.resource-filter-pill:hover {
  background: #eceae6;
}

.resource-filter-pill.is-active {
  background: #b21f1f;
  border-color: #b21f1f;
  color: #fff;
  font-weight: 700;
}

.resource-category-section {
  padding-top: 0.25rem;
}

.resource-category-priority {
  background: #f7f5f2;
  border: 1px solid rgba(204, 204, 204, 0.55);
  border-radius: 0.375rem;
  padding: 1rem;
}

.resource-category-title {
  position: relative;
  padding-bottom: 0.55rem;
}

.resource-category-title::after {
  content: "";
  display: block;
  width: 3.2rem;
  height: 2px;
  background: rgba(178, 31, 31, 0.35);
  margin-top: 0.5rem;
}

.resource-card {
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease, background-color 0.16s ease;
}

.resource-card:hover {
  transform: translateY(-2px);
}

.resource-card-standard {
  background: #fff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

.resource-card-standard:hover {
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.08);
}

.resource-card-featured {
  background: #f9f7f4;
  border-left: 4px solid #b21f1f;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
}

.resource-card-featured:hover {
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.13);
}

.resource-logo-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.resource-logo-fallback {
  background: #f3f1ed;
  border-radius: 0.2rem;
}
