:root {
  --ame-ink: #0a1628;
  --ame-navy: #102a43;
  --ame-navy-2: #173f5f;
  --ame-red: #d61f2c;
  --ame-red-dark: #b31722;
  --ame-blue: #1769aa;
  --ame-paper: #fff;
  --ame-mist: #eef3f7;
  --ame-border: #dce4ea;
  --ame-muted: #627180;
  --ame-shadow: 0 18px 50px rgba(10, 22, 40, .1);
  --ame-radius: 10px;
  --ame-shell: 1240px;
  --ame-text: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --ame-display: Georgia, "Times New Roman", serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ame-paper);
  color: var(--ame-ink);
  font-family: var(--ame-text);
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: var(--ame-blue);
  text-decoration-thickness: .08em;
  text-underline-offset: .16em;
}

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

button,
input,
textarea,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 10000;
  padding: .75rem 1rem;
  background: var(--ame-paper);
  color: var(--ame-ink);
  transform: translateY(-150%);
  transition: transform .2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid #f4b400;
  outline-offset: 3px;
}

.site-shell {
  width: min(calc(100% - 2rem), var(--ame-shell));
  margin-inline: auto;
}

.utility-bar {
  background: var(--ame-ink);
  color: #dbe7ef;
  font-size: .78rem;
}

.utility-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 34px;
}

.utility-menu,
.primary-menu,
.footer-menu {
  display: flex;
  gap: 1rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.utility-menu a {
  color: #fff;
  text-decoration: none;
}

.masthead {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.5rem;
  min-height: 116px;
}

.site-branding {
  grid-column: 2;
}

.custom-logo-link {
  display: block;
}

.custom-logo {
  width: auto;
  max-width: 420px;
  max-height: 92px;
}

.wordmark {
  display: inline-flex;
  align-items: baseline;
  gap: .35rem;
  color: var(--ame-ink);
  font-size: clamp(1.65rem, 4vw, 3rem);
  font-weight: 900;
  letter-spacing: -.065em;
  line-height: 1;
  text-decoration: none;
}

.wordmark strong {
  padding: .17em .24em .12em;
  background: var(--ame-red);
  color: #fff;
  font-size: .62em;
  letter-spacing: .04em;
}

.site-tagline {
  grid-column: 1;
  grid-row: 1;
  max-width: 230px;
  margin: 0;
  color: var(--ame-muted);
  font-size: .83rem;
}

.masthead-actions {
  grid-column: 3;
  display: flex;
  justify-content: flex-end;
  gap: .5rem;
}

.icon-button {
  display: grid;
  width: 44px;
  height: 44px;
  padding: 0;
  place-items: center;
  border: 1px solid var(--ame-border);
  border-radius: 50%;
  background: #fff;
  color: var(--ame-ink);
  cursor: pointer;
}

.icon-button:hover {
  border-color: var(--ame-red);
  color: var(--ame-red);
}

.icon-button svg {
  width: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 2;
}

.menu-toggle {
  display: none;
}

.menu-lines,
.menu-lines::before,
.menu-lines::after {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  content: "";
  transition: transform .2s ease;
}

.menu-lines {
  position: relative;
}

.menu-lines::before {
  position: absolute;
  top: -6px;
}

.menu-lines::after {
  position: absolute;
  top: 6px;
}

.menu-toggle[aria-expanded="true"] .menu-lines {
  background: transparent;
}

.menu-toggle[aria-expanded="true"] .menu-lines::before {
  top: 0;
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-lines::after {
  top: 0;
  transform: rotate(-45deg);
}

.primary-navigation {
  border-block: 1px solid var(--ame-border);
  background: #fff;
}

.primary-navigation .site-shell {
  display: flex;
  justify-content: center;
}

.primary-menu {
  align-items: stretch;
  gap: 0;
}

.primary-menu > li {
  position: relative;
}

.primary-menu a {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0 .9rem;
  color: var(--ame-ink);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
}

.primary-menu > li > a:hover,
.primary-menu > .current-menu-item > a,
.primary-menu > .current-menu-ancestor > a {
  box-shadow: inset 0 -3px 0 var(--ame-red);
  color: var(--ame-red);
}

.primary-menu .sub-menu {
  position: absolute;
  z-index: 60;
  top: 100%;
  left: 0;
  display: none;
  min-width: 210px;
  padding: .5rem;
  margin: 0;
  background: #fff;
  border: 1px solid var(--ame-border);
  box-shadow: var(--ame-shadow);
  list-style: none;
}

.primary-menu li:hover > .sub-menu,
.primary-menu li:focus-within > .sub-menu {
  display: block;
}

.primary-menu .sub-menu a {
  min-height: 40px;
  border-radius: 5px;
}

.primary-menu .sub-menu a:hover {
  background: var(--ame-mist);
  box-shadow: none;
}

.site-search {
  padding: 1rem 0;
  background: var(--ame-mist);
  border-top: 1px solid var(--ame-border);
}

.search-form {
  display: flex;
  width: 100%;
  max-width: 760px;
  margin-inline: auto;
}

.search-form label {
  flex: 1;
}

.search-field {
  width: 100%;
  height: 50px;
  padding: 0 1rem;
  border: 1px solid var(--ame-border);
  border-radius: 7px 0 0 7px;
  background: #fff;
  color: var(--ame-ink);
}

.search-form button,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 1.25rem;
  border: 0;
  border-radius: 0 7px 7px 0;
  background: var(--ame-red);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.search-form button:hover,
.button:hover {
  background: var(--ame-red-dark);
  color: #fff;
}

.breaking-bar {
  background: var(--ame-navy);
  color: #fff;
}

.breaking-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 42px;
  overflow: hidden;
}

.breaking-inner strong {
  align-self: stretch;
  display: flex;
  align-items: center;
  padding-inline: 1rem;
  margin-left: -.5rem;
  background: var(--ame-red);
  font-size: .74rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.breaking-inner a {
  overflow: hidden;
  color: #fff;
  font-size: .86rem;
  font-weight: 700;
  text-decoration: none;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.site-main {
  min-height: 55vh;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(2, minmax(0, .7fr));
  grid-template-rows: repeat(2, minmax(210px, 1fr));
  gap: 4px;
  margin-block: 1.5rem 2.5rem;
  background: var(--ame-border);
  border-radius: var(--ame-radius);
  overflow: hidden;
}

.article-card {
  position: relative;
  min-width: 0;
  background: #fff;
}

.article-card--hero-main {
  grid-column: 1;
  grid-row: 1 / span 2;
}

.article-card--hero-side:nth-child(2) {
  grid-column: 2;
  grid-row: 1;
}

.article-card--hero-side:nth-child(3) {
  grid-column: 2;
  grid-row: 2;
}

.article-card--hero-side:nth-child(4) {
  grid-column: 3;
  grid-row: 1;
}

.article-card--hero-side:nth-child(5) {
  grid-column: 3;
  grid-row: 2;
}

.article-card--hero-main,
.article-card--hero-side {
  min-height: 220px;
  overflow: hidden;
}

.article-card--hero-main .card-image,
.article-card--hero-side .card-image {
  position: absolute;
  inset: 0;
}

.card-image {
  display: block;
  overflow: hidden;
  background: #dfe7ed;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
}

.article-card:hover .card-image img {
  transform: scale(1.035);
}

.image-placeholder {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 220px;
  background:
    linear-gradient(135deg, rgba(23, 105, 170, .18), rgba(10, 22, 40, .08)),
    var(--ame-mist);
}

.article-card--hero-main .card-image::after,
.article-card--hero-side .card-image::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(6, 14, 25, .93), rgba(6, 14, 25, .05) 70%);
  content: "";
}

.article-card--hero-main .card-content,
.article-card--hero-side .card-content {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 1.25rem;
  color: #fff;
}

.article-card--hero-main .card-content {
  padding: clamp(1.25rem, 3vw, 2.2rem);
}

.article-card h2 {
  margin: .45rem 0 .55rem;
  font-family: var(--ame-display);
  font-size: clamp(1.2rem, 2vw, 1.65rem);
  line-height: 1.15;
  letter-spacing: -.025em;
}

.article-card--hero-main h2 {
  max-width: 720px;
  font-size: clamp(2rem, 4.2vw, 3.6rem);
}

.article-card--hero-side h2 {
  font-family: var(--ame-text);
  font-size: clamp(.95rem, 1.5vw, 1.18rem);
  line-height: 1.2;
}

.article-card h2 a {
  color: inherit;
  text-decoration: none;
}

.article-card p {
  margin: 0;
  color: var(--ame-muted);
  font-size: .92rem;
}

.article-card--hero-main p {
  max-width: 650px;
  color: #e7edf2;
}

.article-card--hero-side p {
  display: none;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  color: var(--ame-red);
  font-size: .7rem;
  font-weight: 900;
  letter-spacing: .09em;
  text-decoration: none;
  text-transform: uppercase;
}

.article-card--hero-main .eyebrow,
.article-card--hero-side .eyebrow {
  color: #fff;
}

.card-meta,
.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem 1rem;
  margin-top: .8rem;
  color: var(--ame-muted);
  font-size: .73rem;
}

.article-card--hero-main .card-meta,
.article-card--hero-side .card-meta {
  color: #dae3ea;
}

.content-section {
  margin-block: 3.5rem;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
  border-bottom: 3px solid var(--ame-ink);
}

.section-heading h2 {
  position: relative;
  padding: 0 0 .65rem;
  margin: 0;
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  line-height: 1.15;
}

.section-heading h2::after {
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 62px;
  height: 3px;
  background: var(--ame-red);
  content: "";
}

.section-heading > a {
  padding-bottom: .7rem;
  color: var(--ame-red);
  font-size: .8rem;
  font-weight: 800;
  text-decoration: none;
}

.content-with-sidebar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 2.25rem;
}

.article-grid,
.archive-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem 1.4rem;
}

.article-card--standard,
.article-card--section {
  display: flex;
  flex-direction: column;
}

.article-card--standard .card-image,
.article-card--section .card-image {
  aspect-ratio: 16 / 9.5;
  border-radius: 7px;
}

.article-card--standard .card-content,
.article-card--section .card-content {
  padding-top: 1rem;
}

.home-sidebar,
.article-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.sidebar-panel,
.widget {
  padding: 1.25rem;
  border: 1px solid var(--ame-border);
  border-radius: var(--ame-radius);
}

.sidebar-panel h2,
.widget .section-title {
  padding-bottom: .65rem;
  margin: 0 0 1rem;
  border-bottom: 2px solid var(--ame-ink);
  font-size: 1rem;
}

.category-list,
.widget ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

.category-list li,
.widget li {
  border-bottom: 1px solid var(--ame-border);
}

.category-list li:last-child,
.widget li:last-child {
  border: 0;
}

.category-list a,
.widget li a {
  display: flex;
  justify-content: space-between;
  padding: .65rem 0;
  color: var(--ame-ink);
  font-size: .85rem;
  font-weight: 700;
  text-decoration: none;
}

.newsletter-panel {
  background: var(--ame-navy);
  color: #fff;
}

.newsletter-panel h2 {
  border-color: var(--ame-red);
}

.newsletter-panel p {
  color: #d4e1e9;
  font-size: .88rem;
}

.section-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.3rem;
}

.section-grid .article-card h2 {
  font-family: var(--ame-text);
  font-size: 1.05rem;
}

.section-grid .article-card p {
  display: none;
}

.ame-ad-slot {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 90px;
  margin-block: 1.5rem;
  overflow: hidden;
  text-align: center;
}

.ame-ad-slot::before {
  display: block;
  margin-right: .75rem;
  color: #98a3ad;
  font-size: .6rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  content: "Advertisement";
}

.archive-main,
.page-main {
  padding-block: 1.5rem 4rem;
}

.breadcrumbs {
  display: flex;
  gap: .45rem;
  margin-block: 1rem 2rem;
  color: var(--ame-muted);
  font-size: .76rem;
  white-space: nowrap;
  overflow: hidden;
}

.breadcrumbs a {
  color: var(--ame-muted);
  text-decoration: none;
}

.breadcrumbs span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
}

.archive-header,
.page-header {
  max-width: 820px;
  margin-bottom: 2rem;
}

.archive-header h1,
.page-header h1 {
  margin: 0;
  font-family: var(--ame-display);
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1;
  letter-spacing: -.045em;
}

.archive-description {
  max-width: 690px;
  color: var(--ame-muted);
}

.archive-header .search-form {
  margin: 1.5rem 0 0;
}

.archive-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.navigation.pagination {
  margin-top: 3rem;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}

.page-numbers {
  display: grid;
  min-width: 42px;
  min-height: 42px;
  padding: .5rem;
  place-items: center;
  border: 1px solid var(--ame-border);
  border-radius: 6px;
  color: var(--ame-ink);
  font-weight: 800;
  text-decoration: none;
}

.page-numbers.current,
.page-numbers:hover {
  background: var(--ame-ink);
  color: #fff;
}

.article-header-wrap {
  padding-top: 1rem;
}

.article-header {
  max-width: 980px;
  margin: 1.5rem auto 2rem;
  text-align: center;
}

.article-header h1 {
  max-width: 1050px;
  margin: .6rem auto 1rem;
  font-family: var(--ame-display);
  font-size: clamp(2.4rem, 6vw, 5.3rem);
  line-height: .99;
  letter-spacing: -.052em;
  text-wrap: balance;
}

.subheadline {
  max-width: 790px;
  margin: 0 auto;
  color: var(--ame-muted);
  font-family: var(--ame-display);
  font-size: clamp(1.15rem, 2.2vw, 1.55rem);
  line-height: 1.35;
}

.article-header .post-meta {
  justify-content: center;
  margin-top: 1.4rem;
  color: var(--ame-muted);
  font-weight: 700;
}

.article-hero {
  margin-bottom: 2.5rem;
}

.article-hero img {
  width: 100%;
  max-height: 720px;
  border-radius: var(--ame-radius);
  object-fit: cover;
}

.article-hero figcaption {
  padding-top: .5rem;
  color: var(--ame-muted);
  font-size: .72rem;
}

.article-layout {
  display: grid;
  grid-template-columns: 56px minmax(0, 760px) minmax(230px, 1fr);
  justify-content: center;
  gap: 2rem;
}

.article-body {
  min-width: 0;
  color: #1f2b37;
  font-family: var(--ame-display);
  font-size: clamp(1.06rem, 1.6vw, 1.22rem);
  line-height: 1.75;
}

.article-body > :first-child {
  margin-top: 0;
}

.article-body h2,
.article-body h3,
.entry-content h2,
.entry-content h3 {
  color: var(--ame-ink);
  font-family: var(--ame-text);
  line-height: 1.2;
}

.article-body h2 {
  margin-top: 2.2em;
  font-size: 1.6em;
}

.article-body blockquote {
  padding: .3rem 0 .3rem 1.4rem;
  margin: 2rem 0;
  border-left: 5px solid var(--ame-red);
  color: var(--ame-navy);
  font-size: 1.25em;
  font-style: italic;
}

.article-body img,
.entry-content img {
  border-radius: 7px;
}

.article-body a {
  overflow-wrap: anywhere;
}

.share-column {
  position: relative;
}

.ame-share-links {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}

.share-column .ame-share-links {
  position: sticky;
  top: 1rem;
  flex-direction: column;
}

.ame-share-links a {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--ame-border);
  border-radius: 50%;
  color: var(--ame-ink);
  font-size: .7rem;
  font-weight: 900;
  text-decoration: none;
}

.ame-share-links a:hover {
  border-color: var(--ame-red);
  color: var(--ame-red);
}

.correction-note {
  padding: 1rem 1.2rem;
  margin-block: 2rem;
  border-left: 4px solid #f4b400;
  background: #fff8db;
  color: #433b1e;
  font-family: var(--ame-text);
  font-size: .9rem;
}

.correction-note p {
  margin: .35rem 0 0;
}

.article-tags {
  padding-top: 1.5rem;
  margin-top: 2.5rem;
  border-top: 1px solid var(--ame-border);
  font-family: var(--ame-text);
  font-size: .82rem;
}

.article-tags a {
  display: inline-flex;
  padding: .25rem .55rem;
  margin: .15rem;
  border-radius: 999px;
  background: var(--ame-mist);
  color: var(--ame-ink);
  text-decoration: none;
}

.author-box {
  display: flex;
  max-width: 850px;
  gap: 1rem;
  padding-block: 2rem;
  margin-top: 3rem;
  border-block: 1px solid var(--ame-border);
}

.author-box img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
}

.author-box span {
  color: var(--ame-muted);
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.author-box h2,
.author-box p {
  margin: .15rem 0;
}

.author-box h2 {
  font-size: 1.1rem;
}

.author-box h2 a {
  color: var(--ame-ink);
  text-decoration: none;
}

.author-box p {
  color: var(--ame-muted);
  font-size: .85rem;
}

.related-stories {
  margin-block: 3.5rem;
}

.page-shell {
  max-width: 920px;
}

.page-article .entry-content {
  color: #263645;
  font-family: var(--ame-display);
  font-size: 1.08rem;
}

.empty-state {
  max-width: 700px;
  padding-block: 7rem;
  margin-inline: auto;
  text-align: center;
}

.empty-state h1 {
  margin: 0 0 1rem;
  font-family: var(--ame-display);
  font-size: clamp(2rem, 6vw, 4.5rem);
  line-height: 1;
}

.empty-state p {
  color: var(--ame-muted);
}

.empty-state .search-form {
  margin-block: 1.5rem;
}

.empty-state .button {
  border-radius: 7px;
}

.error-code {
  color: var(--ame-red);
  font-size: 4rem;
  font-weight: 950;
  letter-spacing: -.08em;
}

.site-footer {
  margin-top: 4rem;
  background: var(--ame-ink);
  color: #d8e2e9;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  padding-block: 3.5rem;
}

.wordmark-light {
  color: #fff;
}

.site-footer p {
  max-width: 430px;
  color: #aebdca;
  font-size: .86rem;
}

.site-footer h2 {
  margin: 0 0 1rem;
  color: #fff;
  font-size: .82rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.footer-menu {
  flex-direction: column;
  gap: .45rem;
}

.footer-menu a,
.site-footer a {
  color: #d8e2e9;
  font-size: .84rem;
  text-decoration: none;
}

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

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .1);
}

.footer-bottom .site-shell {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1rem;
  color: #8798a7;
  font-size: .72rem;
}

@media (max-width: 1080px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.5fr) 1fr;
  }

  .article-card--hero-side:nth-child(4),
  .article-card--hero-side:nth-child(5) {
    display: none;
  }

  .article-card--hero-side:nth-child(2),
  .article-card--hero-side:nth-child(3) {
    grid-column: 2;
  }

  .article-card--hero-side:nth-child(2) {
    grid-row: 1;
  }

  .article-card--hero-side:nth-child(3) {
    grid-row: 2;
  }

  .section-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .article-layout {
    grid-template-columns: 48px minmax(0, 720px);
  }

  .article-sidebar {
    display: none;
  }
}

@media (max-width: 820px) {
  .site-tagline {
    display: none;
  }

  .masthead {
    grid-template-columns: 1fr auto;
    min-height: 82px;
  }

  .site-branding {
    grid-column: 1;
  }

  .masthead-actions {
    grid-column: 2;
  }

  .wordmark {
    font-size: 1.7rem;
  }

  .custom-logo {
    max-width: 270px;
    max-height: 64px;
  }

  .menu-toggle {
    display: grid;
  }

  .primary-navigation {
    position: fixed;
    z-index: 1000;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(88vw, 380px);
    padding: 5.5rem 1rem 2rem;
    overflow-y: auto;
    background: #fff;
    box-shadow: -20px 0 50px rgba(10, 22, 40, .25);
    transform: translateX(110%);
    transition: transform .25s ease;
  }

  .primary-navigation.is-open {
    transform: translateX(0);
  }

  .primary-navigation .site-shell {
    display: block;
    width: 100%;
  }

  .primary-menu {
    flex-direction: column;
  }

  .primary-menu a {
    min-height: 48px;
    padding: 0 .5rem;
    border-bottom: 1px solid var(--ame-border);
  }

  .primary-menu > li > a:hover,
  .primary-menu > .current-menu-item > a {
    box-shadow: none;
  }

  .primary-menu .sub-menu {
    position: static;
    display: block;
    padding: 0 0 0 .8rem;
    border: 0;
    box-shadow: none;
  }

  .content-with-sidebar {
    grid-template-columns: 1fr;
  }

  .home-sidebar {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .archive-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .article-header h1 {
    font-size: clamp(2.2rem, 9vw, 4.2rem);
  }

  .article-layout {
    grid-template-columns: minmax(0, 720px);
  }

  .share-column {
    order: 2;
  }

  .share-column .ame-share-links {
    position: static;
    flex-direction: row;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid > :first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 620px) {
  .site-shell {
    width: min(calc(100% - 1.2rem), var(--ame-shell));
  }

  .utility-inner {
    justify-content: center;
  }

  .utility-menu {
    display: none;
  }

  .masthead {
    gap: .5rem;
  }

  .wordmark {
    font-size: 1.35rem;
  }

  .custom-logo {
    max-width: 210px;
  }

  .icon-button {
    width: 40px;
    height: 40px;
  }

  .breaking-inner strong {
    padding-inline: .7rem;
  }

  .hero-grid {
    display: block;
    margin-top: .7rem;
    background: transparent;
  }

  .article-card--hero-main {
    min-height: 480px;
    border-radius: var(--ame-radius);
  }

  .article-card--hero-side {
    display: none;
  }

  .article-card--hero-main h2 {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .article-card--hero-main p {
    display: none;
  }

  .content-section {
    margin-block: 2.5rem;
  }

  .article-grid,
  .archive-grid,
  .section-grid {
    grid-template-columns: 1fr;
  }

  .article-card--standard {
    display: grid;
    grid-template-columns: 128px minmax(0, 1fr);
    gap: .85rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--ame-border);
  }

  .article-card--standard .card-image {
    aspect-ratio: 1.15;
  }

  .article-card--standard .card-content {
    padding: 0;
  }

  .article-card--standard h2 {
    font-family: var(--ame-text);
    font-size: 1rem;
  }

  .article-card--standard p {
    display: none;
  }

  .home-sidebar {
    display: block;
  }

  .home-sidebar > * {
    margin-bottom: 1rem;
  }

  .section-heading h2 {
    font-size: 1.35rem;
  }

  .article-header {
    text-align: left;
  }

  .article-header .post-meta {
    justify-content: flex-start;
  }

  .article-header h1 {
    margin-inline: 0;
    font-size: clamp(2.1rem, 11vw, 3.3rem);
  }

  .article-hero {
    width: 100%;
  }

  .article-hero img {
    border-radius: 0;
  }

  .article-body {
    font-size: 1.08rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-grid > :first-child {
    grid-column: auto;
  }

  .footer-bottom .site-shell {
    flex-direction: column;
    gap: .25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}
