/* DESIGN: voteforjohncassidy.com | Barlow Condensed + DM Sans | editorial stripes + photo hero | campaign, not corporate print */
:root {
  --navy-950: #0a1628;
  --navy-900: #0f2744;
  --navy-800: #153a5c;
  --red-600: #c81e2e;
  --red-700: #9f1825;
  --gold-400: #d4af37;
  --gold-500: #b8922a;
  --white: #ffffff;
  --mist: #f1f5f9;
  --mist-2: #e2e8f0;
  --text: #1e293b;
  --text-muted: #475569;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 18px 40px rgba(10, 22, 40, 0.12);
  --shadow-sm: 0 8px 24px rgba(10, 22, 40, 0.08);
  --font-display: "Barlow Condensed", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, sans-serif;
  --header-h: 72px;
  --content-max: 1180px;
  --section-y: clamp(3rem, 5vw, 4.25rem);
  --section-gap: clamp(2.5rem, 4vw, 3.5rem);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--mist);
}

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

a {
  color: var(--navy-800);
}

a:hover {
  color: var(--red-600);
}

[id] {
  scroll-margin-top: 80px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  z-index: 9999;
  padding: 0.75rem 1rem;
  background: var(--white);
  color: var(--navy-900);
  font-weight: 600;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--mist-2);
  backdrop-filter: blur(10px);
}

.header-inner {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

/* Breadcrumbs — blog + article only, left-aligned */
.breadcrumb-wrap {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0.75rem 1.25rem 0;
  text-align: left;
}

.breadcrumb {
  list-style: none;
  margin: 0;
  padding: 0.5rem 0.85rem 0.55rem;
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: var(--white);
  border: 1px solid var(--mist-2);
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
}

.breadcrumb li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.breadcrumb li:not(:last-child)::after {
  content: "/";
  color: var(--mist-2);
  font-weight: 700;
  opacity: 0.9;
}

.breadcrumb a {
  color: var(--navy-800);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--red-600);
  text-decoration: underline;
}

.breadcrumb [aria-current="page"] {
  color: var(--navy-900);
  max-width: min(52ch, 100%);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.page-title-row .breadcrumb-wrap {
  padding-left: 0;
  padding-right: 0;
  margin-bottom: 0.25rem;
}

.page-title-row .breadcrumb {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.75);
}

.page-title-row .breadcrumb a {
  color: rgba(255, 255, 255, 0.95);
}

.page-title-row .breadcrumb li:not(:last-child)::after {
  color: rgba(255, 255, 255, 0.35);
}

.page-title-row .breadcrumb [aria-current="page"] {
  color: var(--white);
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
  flex-shrink: 0;
}

.logo-img {
  height: calc(44px * 1.2);
  width: auto;
  max-width: min(100vw - 10rem, 336px);
  display: block;
  object-fit: contain;
}

.logo:focus-visible {
  outline: 2px solid var(--red-600);
  outline-offset: 4px;
  border-radius: 4px;
}

.nav-main ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.nav-main a {
  display: inline-block;
  padding: 0.5rem 0.85rem;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--navy-900);
  border-radius: 999px;
  transition: background 0.2s, color 0.2s;
}

.nav-main a:hover {
  background: var(--mist);
  color: var(--red-600);
}

.nav-main a[aria-current="page"] {
  background: var(--navy-900);
  color: var(--white);
}

.nav-main a.nav-pill {
  background: linear-gradient(135deg, var(--red-600), var(--red-700));
  color: var(--white);
  box-shadow: var(--shadow-sm);
}

.nav-main a.nav-pill:hover {
  color: var(--white);
  filter: brightness(1.05);
}

.ad-wrap {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0.5rem 1.25rem;
  min-height: 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.ad-wrap ins,
.ad-float ins,
.ad-sidebar ins {
  display: block;
  min-height: 0;
}

.hero {
  position: relative;
  background: var(--navy-950);
  color: var(--white);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 22%;
  opacity: 0.45;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(10, 22, 40, 0.94) 0%,
    rgba(15, 39, 68, 0.78) 48%,
    rgba(10, 22, 40, 0.55) 100%
  );
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 3.25rem 1.25rem 3.75rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: end;
}

@media (min-width: 900px) {
  .hero-inner {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    padding: 4rem 1.25rem 4.5rem;
  }
}

.hero-kicker {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.8rem;
  color: var(--gold-400);
  margin: 0 0 0.75rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.35rem, 4vw, 3.35rem);
  line-height: 1.08;
  font-weight: 700;
  margin: 0 0 1rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.hero-lead {
  font-size: 1.125rem;
  max-width: 36rem;
  color: rgba(255, 255, 255, 0.92);
  margin: 0 0 1.5rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.35rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s, filter 0.15s;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--red-600), var(--red-700));
  color: var(--white);
  box-shadow: 0 10px 28px rgba(200, 30, 46, 0.35);
}

.btn-primary:hover {
  color: var(--white);
  filter: brightness(1.06);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.35);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.18);
  color: var(--white);
}

.hero-jumps {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.hero-jumps a {
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.hero-jumps a:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
}

.hero-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  padding: 1rem 1.15rem;
  backdrop-filter: blur(8px);
}

.hero-card p {
  margin: 0;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.88);
}

.hero-card strong {
  color: var(--gold-400);
}

.section {
  padding: var(--section-y) 1.25rem;
}

.section.alt {
  background: var(--white);
}

.section.striped {
  background: linear-gradient(180deg, var(--mist) 0%, var(--white) 100%);
}

.section-inner {
  max-width: var(--content-max);
  margin: 0 auto;
}

.section + .section {
  margin-top: 0;
}

.section-head {
  max-width: 720px;
  margin-bottom: 2rem;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3vw, 2.35rem);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--navy-900);
  margin: 0 0 0.75rem;
  line-height: 1.15;
}

.section-head .lede {
  margin: 0;
  color: var(--text-muted);
  font-size: 1.05rem;
}

.split {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 880px) {
  .split {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }

  .split.reverse .split-text {
    order: 2;
  }

  .split.reverse .split-media {
    order: 1;
  }
}

.split-media {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--mist-2);
}

.split-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 260px;
}

.split-text h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--navy-800);
  margin: 0 0 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.split-text p {
  margin: 0 0 1rem;
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.pill-list li {
  background: var(--mist);
  border: 1px solid var(--mist-2);
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy-800);
}

.feed-block {
  margin-top: var(--section-gap);
  padding-top: var(--section-gap);
  border-top: 1px solid var(--mist-2);
}

.feed-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 0.85rem;
}

.feed-label {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--navy-900);
  font-weight: 700;
}

.live-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--red-600);
  box-shadow: 0 0 0 0 rgba(200, 30, 46, 0.55);
  animation: pulse-dot 1.8s ease-out infinite;
}

@keyframes pulse-dot {
  0% {
    box-shadow: 0 0 0 0 rgba(200, 30, 46, 0.55);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(200, 30, 46, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(200, 30, 46, 0);
  }
}

.ticker-wrap {
  overflow: hidden;
  border-radius: var(--radius-sm);
  border: 1px solid var(--mist-2);
  background: var(--white);
  margin-top: 0.75rem;
}

.ticker {
  display: flex;
  gap: 2.5rem;
  white-space: nowrap;
  animation: ticker-scroll 48s linear infinite;
  padding: 0.65rem 0;
}

.ticker:hover {
  animation-play-state: paused;
}

.ticker a {
  color: var(--navy-800);
  font-weight: 600;
  text-decoration: none;
  font-size: 0.92rem;
}

.ticker a:hover {
  color: var(--red-600);
  text-decoration: underline;
}

@keyframes ticker-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.ticker-fallback {
  font-size: 0.9rem;
  color: var(--text-muted);
  padding: 0.5rem 0;
}

.rss-grid {
  display: grid;
  gap: 0.65rem;
}

@media (min-width: 640px) {
  .rss-grid.cols-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

a.rss-card {
  display: block;
  padding: 0.85rem 1rem;
  background: var(--white);
  border: 1px solid var(--mist-2);
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
}

a.rss-card:hover {
  border-color: rgba(200, 30, 46, 0.35);
  box-shadow: var(--shadow-sm);
}

.rss-card-title {
  font-weight: 700;
  color: var(--navy-900);
  margin-bottom: 0.35rem;
  line-height: 1.35;
}

.rss-card-meta {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.rss-loading,
.rss-empty {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin: 0;
}

.faq {
  margin-top: 0;
  padding: 2rem;
  background: var(--navy-900);
  color: var(--white);
  border-radius: var(--radius);
}

.faq h2 {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 1.25rem;
  font-size: 1.65rem;
}

.faq details {
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0.85rem 0;
}

.faq details:last-child {
  border-bottom: 0;
}

.faq summary {
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}

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

.faq details p {
  margin: 0.65rem 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.98rem;
}

/* Blog layout */
.page-title-row {
  padding: 1.25rem 1.25rem var(--section-y);
  background: linear-gradient(180deg, var(--navy-950) 0%, var(--navy-900) 100%);
  color: var(--white);
}

.page-title-row .section-inner {
  max-width: var(--content-max);
  margin: 0 auto;
}

.page-title-row h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 0 0 0.5rem;
}

.page-title-row .lede {
  margin: 0;
  max-width: 42rem;
  color: rgba(255, 255, 255, 0.88);
}

.blog-layout {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: var(--section-y) 1.25rem;
  display: grid;
  gap: var(--section-gap);
}

@media (min-width: 960px) {
  .blog-layout {
    grid-template-columns: minmax(0, 1fr) 320px;
    align-items: start;
  }
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.filter-btn {
  border: 1px solid var(--mist-2);
  background: var(--white);
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  color: var(--navy-900);
}

.filter-btn:hover {
  border-color: var(--navy-800);
}

.filter-btn.is-active {
  background: var(--navy-900);
  color: var(--white);
  border-color: var(--navy-900);
}

.post-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.post-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--mist-2);
  box-shadow: var(--shadow-sm);
}

@media (min-width: 560px) {
  .post-card.own-post {
    grid-template-columns: 200px 1fr;
  }
}

.post-card.hidden {
  display: none;
}

.post-thumb {
  min-height: 140px;
  background: linear-gradient(135deg, var(--navy-800), var(--navy-950));
  position: relative;
}

.post-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-body {
  padding: 1.15rem 1.25rem 1.25rem;
}

.post-card .tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--red-600);
  margin-bottom: 0.35rem;
}

.post-card h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin: 0 0 0.5rem;
  line-height: 1.25;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.post-card h2 a {
  text-decoration: none;
  color: var(--navy-900);
}

.post-card h2 a:hover {
  color: var(--red-600);
}

.post-meta {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin: 0 0 0.5rem;
}

.post-card .excerpt {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text);
}

.sidebar {
  position: sticky;
  top: calc(var(--header-h) + 1rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  width: 100%;
}

.sidebar .ad-sidebar {
  margin: 0;
  width: 100%;
  max-width: 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.sidebar .ad-sidebar ins {
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 959px) {
  .sidebar .sky-wrap {
    display: none;
  }
}

/* Article */
.article-wrap {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 1.25rem var(--section-y);
}

.article-header {
  padding: 2rem 0 1rem;
  max-width: 820px;
}

.article-meta {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.article-header h1 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3vw, 2.5rem);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  line-height: 1.15;
  margin: 0 0 0.75rem;
  color: var(--navy-900);
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.tag-row span {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: var(--mist);
  padding: 0.25rem 0.55rem;
  border-radius: 4px;
  color: var(--navy-800);
}

.article-columns {
  display: grid;
  gap: 2rem;
}

@media (min-width: 960px) {
  .article-columns {
    grid-template-columns: minmax(0, 1fr) 180px;
    align-items: start;
  }
}

.article-body {
  font-size: 1.05rem;
  max-width: 720px;
}

.article-body::after {
  content: "";
  display: table;
  clear: both;
}

.article-body p {
  margin: 0 0 1.1rem;
}

.article-body h2 {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 1.45rem;
  margin: 2rem 0 0.75rem;
  color: var(--navy-900);
}

.article-body h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin: 1.5rem 0 0.5rem;
  color: var(--navy-800);
}

.article-body .divider {
  height: 1px;
  background: linear-gradient(
    90deg,
    var(--gold-400),
    transparent
  );
  margin: 2rem 0;
  border: 0;
}

.ad-float {
  float: right;
  margin: 0 0 1rem 1.25rem;
  max-width: 300px;
}

@media (max-width: 640px) {
  .ad-float {
    float: none;
    margin: 1rem auto;
    max-width: 100%;
  }
}

.pull-quote {
  margin: 2rem 0;
  padding: 1.25rem 1.25rem 1.25rem 1.1rem;
  border-left: 4px solid var(--red-600);
  background: var(--mist);
  font-family: var(--font-display);
  font-size: 1.35rem;
  line-height: 1.35;
  color: var(--navy-900);
  font-style: italic;
}

.read-more {
  margin-top: var(--section-gap);
  padding-top: var(--section-gap);
  border-top: 1px solid var(--mist-2);
}

.read-more h2 {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 1.5rem;
  margin: 0 0 1.25rem;
}

.read-grid {
  display: grid;
  gap: 1rem;
}

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

.read-card {
  background: var(--white);
  border: 1px solid var(--mist-2);
  border-radius: var(--radius-sm);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-height: 100%;
}

.read-card h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin: 0;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.read-card h3 a {
  text-decoration: none;
  color: var(--navy-900);
}

.read-card h3 a:hover {
  color: var(--red-600);
}

.read-card .tag {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--red-600);
}

.read-card .excerpt {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0;
  flex: 1;
}

.read-card .read-link {
  font-weight: 700;
  text-decoration: none;
  color: var(--navy-800);
}

.read-card .read-link:hover {
  color: var(--red-600);
}

.read-more-note {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
}

.article-rss-section {
  padding: var(--section-y) 1.25rem;
  background: var(--white);
  border-top: 1px solid var(--mist-2);
}

.article-rss-section .section-inner {
  max-width: var(--content-max);
  margin: 0 auto;
}

.article-rss-section .feed-header {
  margin-bottom: 1rem;
}

.site-footer {
  position: relative;
  background: var(--navy-950);
  color: rgba(255, 255, 255, 0.85);
  padding: 3rem 1.25rem 2.5rem;
  margin-top: 0;
}

.site-footer::before {
  content: "";
  display: block;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--navy-800) 0%,
    var(--gold-400) 45%,
    var(--red-600) 100%
  );
  margin: 0 0 2rem;
}

.footer-inner {
  max-width: var(--content-max);
  margin: 0 auto;
  display: grid;
  gap: 1.75rem;
}

@media (min-width: 720px) {
  .footer-inner {
    grid-template-columns: 1fr auto;
    align-items: center;
  }
}

.footer-brand {
  margin: 0;
  line-height: 0;
}

.footer-logo-img {
  height: auto;
  max-height: calc(52px * 1.15);
  width: auto;
  max-width: min(100%, 345px);
  display: block;
  object-fit: contain;
}

.footer-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.88);
  font-weight: 600;
  text-decoration: none;
}

.footer-nav a:hover {
  color: var(--white);
  text-decoration: underline;
}

.copyright {
  grid-column: 1 / -1;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.55);
  margin: 0;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  letter-spacing: 0.02em;
  line-height: 1.5;
}

.footer-legal {
  grid-column: 1 / -1;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.45);
  margin: -0.5rem 0 0;
  line-height: 1.45;
}
