/**
 * SocialVox Theme CSS
 * Design tokens from https://socialvox.cl/
 * Brand: teal HALO (#20b2aa), amber (#ffaa00), ink (#172131), shell (#183e4f / #4d6d89)
 */

/* -------------------------------------------------------------------------- */
/* Tokens                                                                     */
/* -------------------------------------------------------------------------- */
:root {
  /* Teal brand (azure-* reutilizado por el layout) */
  --azure-surface: #f0f9f8;
  --azure-soft: #66d2cb;
  --azure-base: #20b2aa;
  --azure-deep: #0d4744;

  /* Amber accent (lime-*) */
  --lime-surface: #fff9eb;
  --lime-soft: #ffdf99;
  --lime-base: #ffaa00;
  --lime-deep: #996600;

  /* Ink / slate SocialVox */
  --slate-surface: #eff3f8;
  --slate-soft: #5d789a;
  --slate-base: #38485c;
  --slate-deep: #172131;

  /* Hero / nav shell */
  --hero-dark: #0f172a;
  --hero-base: #183e4f;
  --hero-light: #4d6d89;

  --font-display: "Plus Jakarta Sans", system-ui, sans-serif;
  --font-body: "IBM Plex Sans", system-ui, sans-serif;

  --radius-lg: 20px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  --shadow-card: 0 4px 20px rgba(15, 23, 42, 0.06);
  --shadow-card-hover: 0 20px 44px rgba(15, 23, 42, 0.12);
  --shadow-nav: 0 4px 20px rgba(15, 23, 42, 0.22);

  --container: 80rem;
  --navbar-h: 5rem;
  --gradient-brand: linear-gradient(135deg, #20b2aa 0%, #ffaa00 100%);
  --gradient-hero: linear-gradient(135deg, #0f172a 0%, #183e4f 48%, #4d6d89 100%);
}

/* -------------------------------------------------------------------------- */
/* Reset / base                                                               */
/* -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--slate-base);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

.font-body {
  font-family: var(--font-body);
}

.font-display {
  font-family: var(--font-display);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--azure-base);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--azure-deep);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--slate-deep);
  line-height: 1.2;
  margin: 0 0 0.75em;
}

p {
  margin: 0 0 1em;
}

ul, ol {
  margin: 0;
  padding: 0;
}

::selection {
  background: rgba(37, 150, 190, 0.3);
  color: var(--slate-deep);
}

.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}

.skip-link:focus {
  clip: auto;
  clip-path: none;
  height: auto;
  width: auto;
  left: 1rem;
  top: 1rem;
  z-index: 100000;
  background: #fff;
  color: var(--slate-deep);
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  box-shadow: var(--shadow-card);
}

/* -------------------------------------------------------------------------- */
/* Utilities from site                                                        */
/* -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 1rem;
}

@media (min-width: 640px) {
  .container { padding-inline: 1.5rem; }
}

@media (min-width: 1024px) {
  .container { padding-inline: 2rem; }
}

.hero-gradient {
  background: var(--gradient-hero);
}

.dot-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px);
  background-size: 30px 30px;
  pointer-events: none;
}

.gradient-text {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Solo en <a>/<button> — evita doble glow si la clase cae en un <li> */
a.btn-primary-glow,
button.btn-primary-glow,
.btn.btn-primary-glow,
input.btn-primary-glow {
  background: var(--gradient-brand);
  box-shadow: 0 4px 20px rgba(37, 150, 190, 0.3);
  color: #fff !important;
  border: none;
  cursor: pointer;
  transition: box-shadow 0.3s ease, transform 0.2s ease;
}

a.btn-primary-glow:hover,
button.btn-primary-glow:hover,
.btn.btn-primary-glow:hover {
  box-shadow: 0 8px 30px rgba(37, 150, 190, 0.5);
  transform: scale(1.03);
  color: #fff !important;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 1rem;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--lime-base);
  border-radius: 50%;
  display: inline-block;
  animation: sj-pulse 2s infinite;
  flex-shrink: 0;
}

@keyframes sj-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.2); }
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  color: var(--azure-soft);
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 1.25rem;
}

/* -------------------------------------------------------------------------- */
/* Navbar                                                                     */
/* -------------------------------------------------------------------------- */
.site-navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  height: var(--navbar-h);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  background: transparent;
}

.site-navbar.scrolled {
  background-color: var(--hero-base);
  box-shadow: var(--shadow-nav);
}

/* On blog/pages (no full-bleed hero under nav initially still needs contrast) */
body.is-blog-index .site-navbar,
body.is-singular .site-navbar,
body.error404 .site-navbar {
  background-color: var(--hero-base);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--navbar-h);
  gap: 1.5rem;
  flex-wrap: nowrap;
}

.navbar-brand {
  flex: 0 0 auto;
  position: relative;
  z-index: 2;
  margin-right: 0.5rem;
}

.navbar-brand .custom-logo,
.navbar-brand img {
  height: 2.75rem;
  width: auto;
  max-width: 10.5rem;
  object-fit: contain;
  display: block;
}

.navbar-brand .custom-logo-link {
  display: flex;
  align-items: center;
  line-height: 0;
}

.navbar-desktop {
  display: none;
  min-width: 0;
  flex: 1 1 auto;
  justify-content: flex-end;
  margin-left: 1rem;
}

@media (min-width: 900px) {
  .navbar-desktop {
    display: flex;
  }
  .mobile-menu-btn {
    display: none !important;
  }
}

/* Una sola línea, como space-x-8 del HTML original */
.nav-menu {
  list-style: none;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-end;
  gap: 1.1rem;
  margin: 0;
  margin-left: auto;
  padding: 0;
  white-space: nowrap;
  width: auto;
  max-width: 100%;
}

.nav-menu > li {
  flex: 0 0 auto;
  white-space: nowrap;
  background: none !important;
  box-shadow: none !important;
  border: none !important;
  padding: 0;
  margin: 0;
}

.nav-menu a {
  display: inline-block;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.25;
  white-space: nowrap;
  background: none;
  box-shadow: none;
  border: none;
}

.nav-menu a:hover,
.nav-menu .current-menu-item > a,
.nav-menu a.is-current {
  color: #fff;
}

/* CTA solo en el <a> — un solo borde/glow (no en el <li>) */
.nav-menu a.nav-cta,
.nav-menu a.btn-primary-glow,
.nav-menu .menu-item-cta > a {
  padding: 0.5rem 1.15rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  color: #fff !important;
  white-space: nowrap;
  border: none !important;
  outline: none;
  background: var(--gradient-brand);
  box-shadow: 0 4px 14px rgba(37, 150, 190, 0.28);
}

.nav-menu a.nav-cta:hover,
.nav-menu a.btn-primary-glow:hover,
.nav-menu .menu-item-cta > a:hover {
  box-shadow: 0 6px 20px rgba(37, 150, 190, 0.4);
  transform: scale(1.03);
}

@media (min-width: 1280px) {
  .nav-menu {
    gap: 1.75rem;
  }
  .nav-menu a {
    font-size: 0.9rem;
  }
  .nav-menu a.nav-cta,
  .nav-menu a.btn-primary-glow,
  .nav-menu .menu-item-cta > a {
    padding: 0.55rem 1.35rem;
    font-size: 0.9rem;
  }
  .navbar-brand .custom-logo,
  .navbar-brand img {
    height: 3rem;
    max-width: 11rem;
  }
}

@media (min-width: 1440px) {
  .nav-menu {
    gap: 2rem;
  }
  .nav-menu a {
    font-size: 0.95rem;
  }
}

.mobile-menu-btn {
  background: transparent;
  border: none;
  color: #fff;
  padding: 0.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
}

.mobile-menu-btn .icon-close {
  display: none;
}

.mobile-menu-btn.is-open .icon-menu {
  display: none;
}

.mobile-menu-btn.is-open .icon-close {
  display: block;
}

.mobile-menu {
  background: rgba(14, 37, 47, 0.95);
  backdrop-filter: blur(12px);
  padding: 1rem 1.25rem 1.5rem;
}

.mobile-menu[hidden] {
  display: none !important;
}

.mobile-nav-menu,
.mobile-menu .nav-menu {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0;
  margin: 0;
}

.mobile-nav-menu a,
.mobile-menu .nav-menu a {
  display: block;
  color: rgba(255, 255, 255, 0.8);
  padding: 0.75rem 0;
}

.mobile-nav-menu a:hover,
.mobile-menu .nav-menu a:hover {
  color: #fff;
}

.mobile-menu a.btn-primary-glow,
.mobile-menu a.nav-cta {
  text-align: center;
  margin-top: 0.5rem;
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius-full);
  display: block;
  border: none;
}

/* -------------------------------------------------------------------------- */
/* Page hero                                                                  */
/* -------------------------------------------------------------------------- */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: calc(var(--navbar-h) + 3.5rem) 0 3.5rem;
  color: #fff;
}

.page-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 56rem;
}

.page-hero-inner.text-center {
  max-width: 40rem;
  margin-inline: auto;
  text-align: center;
}

.page-hero-title {
  font-size: clamp(1.65rem, 3.2vw, 2.35rem);
  font-weight: 800;
  color: #fff;
  margin: 0 0 1rem;
  line-height: 1.25;
  max-width: none;
  /* Evita saltos de línea prematuros en títulos medianos */
  text-wrap: balance;
}

.page-hero-desc {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.125rem;
  margin: 0;
}

.page-hero-desc p {
  color: inherit;
}

.page-hero-actions {
  margin-top: 1.5rem;
}

/* Título del post: casi todo el ancho del container (menos saltos en 2 líneas) */
.single-hero .page-hero-inner {
  max-width: min(72rem, 100%);
}

.single-hero .page-hero-title {
  font-size: clamp(1.5rem, 2.8vw, 2.25rem);
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.single-meta {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.95rem;
}

.single-meta a {
  color: var(--azure-soft);
}

.single-meta a:hover {
  color: #fff;
}

/* -------------------------------------------------------------------------- */
/* Blog layout                                                                */
/* -------------------------------------------------------------------------- */
.site-main {
  min-height: 50vh;
}

.blog-layout {
  padding-block: 3.5rem;
}

.content-narrow {
  max-width: 48rem;
  margin-inline: auto;
  padding-block: 3rem;
}

.single-layout {
  padding-block: 3rem;
}

/* -------------------------------------------------------------------------- */
/* Post cards                                                                 */
/* -------------------------------------------------------------------------- */
.posts-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  align-items: stretch; /* todas las cards de la fila a la misma altura */
}

@media (min-width: 768px) {
  .posts-grid {
    /* 2 columnas: más ancho por card → títulos más largos en 1 línea */
    grid-template-columns: repeat(2, 1fr);
  }
}

.post-card {
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--slate-surface);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.post-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-brand);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.post-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
}

.post-card:hover::before {
  opacity: 1;
}

/* Altura fija del media: alinea las cards aunque las imágenes midan distinto */
.post-card-media {
  display: block;
  overflow: hidden;
  background: var(--slate-surface);
  line-height: 0;
  aspect-ratio: 16 / 10;
  width: 100%;
  flex-shrink: 0;
}

.post-card-img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* imagen completa, sin recorte; bandas si hace falta */
  object-position: center;
  display: block;
  transition: transform 0.4s ease;
}

.post-card:hover .post-card-img {
  transform: scale(1.02);
}

.post-card-placeholder {
  width: 100%;
  height: 100%;
  min-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-hero);
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.2;
  aspect-ratio: 16 / 10;
}

.post-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
}

.post-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 0.65rem;
  line-height: 1.35;
}

.post-card-title a {
  color: var(--slate-deep);
}

.post-card-title a:hover {
  color: var(--azure-base);
}

.post-card-meta {
  font-size: 0.85rem;
  color: var(--slate-soft);
  margin-bottom: 0.75rem;
}

.post-card-meta a {
  color: var(--slate-soft);
}

.post-card-excerpt {
  color: var(--slate-soft);
  font-size: 0.95rem;
  flex: 1;
  margin-bottom: 1rem;
}

.post-card-excerpt p {
  margin: 0;
}

.post-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--azure-base);
  margin-top: auto;
}

.post-card-link:hover {
  color: var(--azure-deep);
}

/* Categories pills */
.entry-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.75rem;
}

.cat-pill {
  display: inline-block;
  background: rgba(37, 150, 190, 0.1);
  color: var(--azure-deep);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
}

.cat-pill:hover {
  background: rgba(37, 150, 190, 0.2);
  color: var(--azure-deep);
}

.page-hero .cat-pill {
  background: rgba(255, 255, 255, 0.12);
  color: var(--azure-soft);
}

.page-hero .cat-pill:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

/* -------------------------------------------------------------------------- */
/* Single post                                                                */
/* -------------------------------------------------------------------------- */
.single-featured {
  margin: 0 0 2rem;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  background: var(--azure-surface);
  line-height: 0;
}

.single-featured-img {
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

.prose {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--slate-base);
}

.prose > *:first-child {
  margin-top: 0;
}

.prose h2,
.prose h3,
.prose h4 {
  margin-top: 1.75em;
  color: var(--slate-deep);
}

.prose a {
  color: var(--azure-base);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.prose img {
  border-radius: 12px;
  margin: 1.5rem 0;
}

.prose blockquote {
  margin: 1.5rem 0;
  padding: 1.25rem 1.5rem;
  border-left: 4px solid transparent;
  border-image: var(--gradient-brand) 1;
  background: var(--slate-surface);
  border-radius: 0 12px 12px 0;
  color: var(--slate-deep);
  font-size: 1.1rem;
}

.prose pre {
  background: var(--slate-deep);
  color: #e8f0f4;
  padding: 1.25rem;
  border-radius: 12px;
  overflow-x: auto;
}

.prose code {
  font-size: 0.9em;
  background: var(--azure-surface);
  padding: 0.15em 0.4em;
  border-radius: 4px;
}

.prose pre code {
  background: none;
  padding: 0;
}

.prose ul,
.prose ol {
  padding-left: 1.35rem;
  margin-bottom: 1.25em;
}

.prose li {
  margin-bottom: 0.4em;
}

.entry-footer {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--slate-surface);
}

.entry-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
}

.entry-tags a {
  background: var(--slate-surface);
  color: var(--slate-base);
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
}

.entry-tags a:hover {
  background: var(--azure-surface);
  color: var(--azure-deep);
}

.tags-label {
  color: var(--slate-soft);
  font-weight: 600;
}

/* Post navigation */
.post-navigation {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--slate-surface);
}

.post-navigation .nav-links {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 640px) {
  .post-navigation .nav-links {
    grid-template-columns: 1fr 1fr;
  }
  .post-navigation .nav-next {
    text-align: right;
  }
}

.post-navigation a {
  display: block;
  padding: 1.25rem;
  background: var(--slate-surface);
  border-radius: var(--radius-lg);
  color: var(--slate-deep);
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

.post-navigation a:hover {
  background: var(--azure-surface);
  box-shadow: var(--shadow-card);
}

.post-navigation .nav-label {
  display: block;
  font-size: 0.8rem;
  color: var(--slate-soft);
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.post-navigation .nav-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
}

/* Pagination */
.navigation.pagination,
.SocialVox-pagination {
  margin-top: 2.5rem;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  justify-content: center;
}

.page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  height: 2.5rem;
  padding: 0 0.75rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--slate-base);
  background: var(--slate-surface);
}

.page-numbers.current,
a.page-numbers:hover {
  background: var(--gradient-brand);
  color: #fff;
}

/* Search form */
.search-form {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.search-field {
  flex: 1;
  min-width: 12rem;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(139, 160, 169, 0.35);
  border-radius: 12px;
  font-family: var(--font-body);
  background: #f8fafc;
}

.search-field:focus {
  outline: none;
  border-color: var(--azure-base);
  box-shadow: 0 0 0 3px rgba(37, 150, 190, 0.2);
  background: #fff;
}

.search-submit {
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.9rem;
}

/* Empty state */
.empty-state {
  text-align: center;
  padding: 3rem 1.5rem;
  background: var(--slate-surface);
  border-radius: var(--radius-xl);
}

.empty-icon {
  font-size: 2.5rem;
  display: block;
  margin-bottom: 1rem;
}

/* -------------------------------------------------------------------------- */
/* Footer                                                                     */
/* -------------------------------------------------------------------------- */
.site-footer {
  background: var(--slate-deep);
  padding: 4rem 0 2rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

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

.footer-logo {
  height: 3rem;
  width: auto;
  margin-bottom: 1rem;
}

.footer-tagline {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
  max-width: 16rem;
}

.footer-heading {
  font-family: var(--font-display);
  font-weight: 700;
  color: #fff;
  font-size: 1rem;
  margin: 0 0 1rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.6);
}

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

.footer-contact li {
  color: rgba(255, 255, 255, 0.6);
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 2rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    align-items: flex-end;
  }
}

.footer-infra-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
  margin: 0 0 1rem;
}

.footer-certs {
  max-width: 100%;
  height: auto;
  opacity: 0.8;
  transition: opacity 0.2s;
}

.footer-certs:hover,
.footer-partner-logo:hover {
  opacity: 1;
}

.footer-partner-logo {
  max-height: 8rem;
  width: auto;
  opacity: 0.8;
  transition: opacity 0.2s;
}

.footer-legal {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}

@media (min-width: 768px) {
  .footer-legal {
    flex-direction: row;
  }
}

.footer-copy {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.4);
  margin: 0;
}

.footer-legal-links {
  display: flex;
  gap: 1.5rem;
}

.footer-legal-links a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.4);
}

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

/* Align custom logo image in WP */
.custom-logo-link img.custom-logo {
  height: 3rem;
  width: auto;
}

/* WP admin bar offset */
.admin-bar .site-navbar {
  top: 32px;
}

@media screen and (max-width: 782px) {
  .admin-bar .site-navbar {
    top: 46px;
  }
}
