.sans {
  font-family: var(--font-accent);
  letter-spacing: 0.05em;
}


/* Variables */

:root {
  /* Unhyd typography (Merriweather and Inter are loaded in default.hbs; Georgia is a system font).
     Ghost's own font settings (--gh-font-*) still take precedence.
       --font-heading  Merriweather: editorial headlines
       --font-body     Georgia: article and descriptive text
       --font-accent   Inter: navigation, labels, buttons and forms */
  --font-body: Georgia, Cambria, 'Times New Roman', Times, serif;
  --font-heading: Merriweather, Georgia, 'Times New Roman', serif;
  --font-accent: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --color-body-bg: #fff;
  --color-body-text: #1a1817;
  --color-titles: #000;
  --color-lighter: #6e6e6e;
  --color-lightest: #dbdbdb;
  --color-darker: #7F7F7F;
  --color-darkest: #000000;
}

html.theme-dark {
  --color-body-bg: #1a1817;
  --color-body-text: #f0eeeb;
  --color-titles: #f5f3f0;
  --color-lighter: #9a9590;
  --color-lightest: #4a4744;
  --color-darker: #c0bbb6;
  --color-darkest: #f5f3f0;
}


/* Reset */

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

*:not(dialog) {
  margin: 0;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: -apple-system,BlinkMacSystemFont,"Segoe UI","Roboto","Oxygen","Ubuntu","Cantarell","Fira Sans","Droid Sans","Helvetica Neue",sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}

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

p, h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word;
}

svg {
  overflow: visible;
}

#ghost-portal-root, #ghost-portal {
  isolation: isolate;
}


/* Helpers */

.position-absolute {
  position: absolute!important;
}

.position-relative {
  position: relative!important;
}

.position-fixed {
  position: fixed!important;
}

.overflow-hidden {
  overflow: hidden!important;
}

.d-block {
  display: block;
}

.d-inline-block {
  display: inline-block!important;
}

.d-flex {
  display: flex!important;
}

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

.flex-grow-1 {
  flex-grow: 1;
}

.flex-wrap {
  flex-wrap: wrap;
}

.align-items-center {
  align-items: center;
}

.align-items-end {
  align-items: end;
}

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

.justify-content-between {
  justify-content: space-between;
}

.justify-content-end {
  justify-content: end;
}

.mb-0 {
  margin-bottom: 0!important;
}

.mb-05rem {
  margin-bottom: 0.5rem!important;
}

.mb-075rem {
  margin-bottom: 0.75rem!important;
}

.mb-1rem {
  margin-bottom: 1rem!important;
}

.mb-125rem {
  margin-bottom: 1.25rem!important;
}

.mb-15rem {
  margin-bottom: 1.5rem!important;
}

.mb-2rem {
  margin-bottom: 2rem!important;
}

.mb-25rem {
  margin-bottom: 2.5rem!important;
}

.mb-3rem {
  margin-bottom: 3rem!important;
}

.mt-0 {
  margin-top: 0!important;
}

.pt-05rem {
  padding-top: 0.5rem!important;
}

.pt-0 {
  padding-top: 0!important;
}

.px-0 {
  padding-left: 0!important;
  padding-right: 0!important;
}

.text-balance {
  text-wrap: balance;
}

.text-center {
  text-align: center;
}

.cover {
  inset: 0;
}

.bg-cover {
  background-size: cover;
  background-position: center;
  object-fit: contain;
}

.img-object-fit {
  inset: 0;
  object-fit: cover;
  position: absolute;
  height: 100%;
  width: 100%;
}

/* Only if not iOS */
@supports not (-webkit-touch-callout: none) {
  .bg-fixed {
    background-attachment: fixed;
  }
}

.stretched-link::after {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  content: "";
}

.h-100 {
  height: 100%!important;
}

.w-100 {
  width: 100%!important;
}

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


/* Global */

/* The --navbar-* height tokens used here and below are defined in mews-header.css */
html {
  font-size: clamp( 14px, calc(0.5556vw + 8px), 20px);
  scroll-behavior: smooth;
  /* Keep anchor targets and keyboard focus clear of the sticky header (WCAG 2.4.11) */
  scroll-padding-top: calc(var(--navbar-compact-height) + 1rem);
}

body {
  background-color: var(--color-body-bg);
  color: var(--color-body-text);
  font-family: var(--gh-font-body, var(--font-body));
  font-size: 1rem;
  line-height: 1.6;
  padding-top: var(--navbar-height);
  overflow-wrap: break-word;
  text-rendering: optimizeLegibility;
}

body.nav-menu-open {
  overflow: hidden;
}

.body-overlay {
  background-color: rgba(26,24,23,0.5);
  content: '';
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: 0.3s ease-out;
  z-index: 98;
}

html.theme-dark .body-overlay {
  background-color: rgba(0,0,0,0.5);
}

body.nav-menu-open .body-overlay, body.mews-comments-open .body-overlay {
  opacity: 1;
  pointer-events: auto;
}

.page-fade {
  animation: fade-out 1s forwards;
  background-color: var(--color-body-bg);
  inset: 0;
  pointer-events: none;
  z-index: 100;
}

@keyframes fade-out {
  0% {opacity: 1;}
  20% {opacity: 1;} 
  100% {opacity: 0;}
}

.kg-width-wide {
  grid-column: unset;
}

.kg-width-full {
  grid-column: unset;
}

#ghost-portal-root {
  position: relative;
  z-index: 9999;
}


/* Layout */

.block {
  display: block;
  margin-top: 7rem;
  position: relative;
}

.block.block-sm-top {
  margin-top: 3.5rem;
}

.block:last-child {
  margin-bottom: 7rem;
}

.container {
  margin: 0 auto;
  max-width: 88rem;
  padding: 0 4rem;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: -2rem;
  margin-left: -1rem;
  margin-right: -1rem;
}

.col {
  flex: 0 0 auto;
  margin-bottom: 2rem;
  padding-left: 1rem;
  padding-right: 1rem;
  width: 100%;
}


/* Colors */

.color-lighter, .color-lighter a {
  color: var(--color-lighter)!important;
}


/* Typography */

.font-accent {
  font-family: var(--font-accent);
  letter-spacing: 0.05em;
}

a {
  color: var(--color-body-text);
  text-decoration: none;
}

a:not(.btn, .navbar-menu-item):hover {
  text-decoration: underline;
}

:is(h1, h2, h3, h4, h5, h6, p, ol, ul):last-child {
  margin-bottom: 0;
}

h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6, p.subtitle, .title-font {
  color: var(--color-titles);
  font-family: var(--gh-font-heading, var(--font-heading));
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  text-wrap: balance;
}

h1 a, .h1 a, h2 a, .h2 a, h3 a, .h3 a, h4 a, .h4 a, h5 a, .h5 a, h6 a, .h6 a {
  color: var(--color-titles);
}

h1, .h1 {
  font-size: 3rem;
}

h2, .h2 {
  font-size: 3rem;
}

h3, .h3 {
  font-size: 2rem;
}

p {
  margin-bottom: 1.25rem;
}

hr {
  background-color: var(--color-lightest);
  border: none;
  height: 1px;
}

[data-contrast="#000000" i] hr {
  background-color: #000;
}

.text-white, 
.text-white :is(h1,.h1,h2,.h2,h3,.h3,h4,.h4,h5,.h5,h6,.h6,p,a),
[data-contrast="#ffffff" i] :is(h1,.h1,h2,.h2,h3,.h3,h4,.h4,h5,.h5,h6,.h6,p,a) {
  color: #fff!important;
}

.text-1rem {
  font-size: 1rem;
}

.text-xxs {
  font-size: 0.625rem;
}

.text-xs {
  font-size: 0.75rem;
}

.text-sm {
  font-size: 0.875rem;
}

.text-lg {
  font-size: 1.125rem;
}

.text-xl {
  font-size: 1.25rem;
}

.text-xxl {
  font-size: 1.5rem;
}

.text-xxxl {
  font-size: 1.75rem;
}

.fw-500 {
  font-weight: 500;
}

.lh-sm {
  line-height: 1.4;
}

/* Section labels ("Featured", "Choose your newsletters"): UI type, not a headline */
.section-title {
  font-family: var(--font-accent);
  font-size: 1.375rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.styled-sans {
  font-family: var(--font-accent);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}


/* Buttons */

.btn, 
.mews .kg-button-card a.kg-btn, 
.mews .kg-cta-button,
.mews .kg-product-card a.kg-product-card-button,
.mews .gh-post-upgrade-cta a.gh-btn,
.mews .kg-signup-card-button,
.mews .kg-header-card.kg-v2 .kg-header-card-button,
.mews .kg-header-card.kg-v2.kg-width-full .kg-header-card-button {
  border: none;
  border-radius: 0;
  color: #fff;
  cursor: pointer;
  display: inline-block;
  font-family: var(--font-accent);
  font-size: 0.625rem;
  font-weight: 600;
  height: auto;
  letter-spacing: 0.15em;
  line-height: 1.6;
  min-height: unset;
  opacity: 1!important;
  overflow: hidden;
  padding: 0.8rem 1.5rem 0.7rem;
  position: relative;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  transition: 0.15s ease-out;
  white-space: nowrap;
  z-index: 0;
}

html.theme-dark .btn:not(.simple, .btn-footer-subscribe),
html.theme-dark a.kg-cta-button.kg-style-accent,
html.theme-dark .kg-button-card a.kg-btn-accent,
html.theme-dark.mews .kg-product-card a.kg-product-card-button {
  background-color: var(--color-body-text)!important;
  color: var(--color-body-bg)!important;
}

.mews .kg-cta-button:hover {
  text-decoration: none;
}

.btn:not(.simple):before, 
.mews .kg-button-card a.kg-btn:before, 
.mews .kg-cta-button:before,
.mews .kg-header-card .kg-header-card-button:before,
.mews .kg-product-card a.kg-product-card-button:before,
.mews .gh-post-upgrade-cta a.gh-btn:before,
.mews .kg-signup-card-button:before {
  background-color: rgba(255,255,255,0.125);
  content: '';
  position: absolute;
  top: -2px; bottom: -2px; left: -5%;
  transform: translateX(-100%) skew(-10deg);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  width: 110%;
  z-index: -1;
}

.btn[data-contrast="#000000"]:before {
  background-color: rgba(0,0,0,0.05);
}

html.theme-dark.mews .btn:not(.simple):before, 
html.theme-dark.mews .kg-button-card a.kg-btn:before, 
html.theme-dark.mews .kg-cta-button:before,
html.theme-dark.mews .kg-header-card .kg-header-card-button:before,
html.theme-dark.mews .kg-product-card a.kg-product-card-button:before,
html.theme-dark.mews .gh-post-upgrade-cta a.gh-btn:before,
html.theme-dark.mews .kg-signup-card-button:before {
  background-color: rgba(0,0,0,0.05)!important;
}

.btn:not(.simple):hover:before, 
.mews .kg-button-card a.kg-btn:hover:before, 
.mews .kg-cta-button:hover:before,
.mews .kg-header-card .kg-header-card-button:hover:before,
.mews .kg-product-card a.kg-product-card-button:hover:before,
.mews .gh-post-upgrade-cta a.gh-btn:hover:before,
.mews .kg-signup-card-button:hover:before {
  transform: translateX(0) skew(-10deg);
}

.btn.simple {
  background-color: transparent;
  color: var(--color-titles);
  padding: 0.4rem 0 0.3rem; 
}

.btn.simple span {
  transition: 0.15s ease-out;
}

.btn.simple:hover span {
  opacity: 0.7;
}

html.theme-dark .btn.simple:hover span {
  opacity: 0.85;
}


/* Forms */

.form-control {
  font-family: var(--font-accent);
  font-size: 0.875rem;
  padding: 0.8rem 1rem 0.7rem;
}


/* Fade in on scroll */

body.fios-enabled .fios {
    opacity: 0;
    transform: translateY(4rem);
    transition: opacity 0.9s ease, transform 0.6s ease;
}

body.fios-enabled .fios.visible {
    opacity: 1;
    transform: translateY(0);
}


/* Header and menu drawer: see mews-header.css */


/* Announcement Bar (Ghost) */

.mews .gh-announcement-bar {
  font-family: var(--font-accent);
  font-size: 0.75rem;
  font-weight: inherit;
  letter-spacing: 0.05em;
  line-height: 1.33;
  min-height: unset;
  padding: 0.375rem 1.5rem;
  text-align: center;
  text-wrap: balance;
}

.mews .gh-announcement-bar.dark {
  background-color: var(--color-titles);
  color: var(--color-body-bg);
}

html.theme-dark.mews .gh-announcement-bar.dark {
  background-color: #242221;
  color: var(--color-body);
}

.mews .gh-announcement-bar.accent {
  color: oklch(from var(--ghost-accent-color) calc((0.5 - l) * 999999) 0 0);
}

.mews .gh-announcement-bar.accent path {
  fill: oklch(from var(--ghost-accent-color) calc((0.5 - l) * 999999) 0 0);
}

.mews .gh-announcement-bar:is(.accent, .dark, .light) a {
  color: inherit!important;
  font-weight: 400;
}

.mews .gh-announcement-bar button {
  color: unset;
  right: 0;
}

body.custom-hero #announcement-bar-root,
body.custom-split-left #announcement-bar-root,
body.custom-split-right #announcement-bar-root {
  position: absolute;
  right: 0; left: 0;
}


/* Close Buttons (menu drawer and comments panel) */

.navbar-menu-close, .mews-comments-close {
  background-color: transparent;
  border: 0;
  color: inherit;
  height: 48px;
  min-width: 48px;
  width: 48px;
  margin: 0 -11px 0 0.5rem;
  cursor: pointer;
  padding: 0;
  position: relative;
}

.navbar-menu-close span, .mews-comments-close span {
  background-color: var(--color-titles);
  display: block;
  height: 2px;
  position: absolute;
  right: 11px; left: 11px;
}

.navbar-menu-close span:nth-child(1), .mews-comments-close span:nth-child(1) {
  top: 23px;
  transform: rotate(45deg);
}

.navbar-menu-close span:nth-child(2), .mews-comments-close span:nth-child(2) {
  top: 23px;
  transform: rotate(-45deg);
}


/* Footer */

footer {
  padding: 4rem 0;
}

footer.footer-Accent {
  background-color: var(--ghost-accent-color);
}

html.theme-dark footer.footer-Dark, footer.footer-Light {
  border-top: 1px solid var(--color-lightest);
}

footer.footer-Light {
  background-color: var(--color-body-bg);
}

html.theme-dark footer.footer-Dark {
  background-color: var(--color-body-bg);
}

html:not(.theme-dark) footer.footer-Dark {
  background-color: #1a1817;
}

/* Same approach as the header: cap height and width so wide wordmarks don't dominate */
.footer-logo img {
  height: auto;
  width: auto;
  max-height: 3rem;
  max-width: 10rem;
}

.footer-logo .logo-inverted {
  filter: invert(1);
}

.footer-logo .logo-light, 
.footer-Dark .footer-logo .logo-standard,
[data-contrast="#ffffff" i] .footer-logo .logo-standard,
html.theme-dark .footer-logo .logo-standard {
  display: none;
}

.footer-Dark .footer-logo .logo-light,
[data-contrast="#ffffff" i] .footer-logo .logo-light,
html.theme-dark .footer-logo .logo-light {
  display: block;
}

footer hr {
  margin: 3rem 0;
}

.footer-left {
  min-width: 30rem;
  width: 30rem;
}

.footer-left hr {
  display: none;
}

.footer-links {
  margin: 0 auto;
}

.footer-col {
  margin-left: 8rem;
  max-width: 13rem;
}

.footer-links p {
  font-size: 0.75rem;
  margin-bottom: 1.5rem;
}

.footer-links > div > div  {
  overflow-wrap: normal;
  margin-bottom: 0.75rem;
}

.footer-links > div > div:last-child {
  margin-bottom: 0;
}

/* The footer subscribe form is styled in mews-newsletters.css (.nl-form--footer) */


.social-icons, .author-social-icons {
  margin-bottom: -1.5rem;
}

.social-icons > *, .author-social-icons > * {
  margin: 0 1.5rem 1.5rem 0;
}

.social-icons img, .author-social-icons img {
  height: 1.25rem;
  min-width: 1.25rem;
  width: 1.25rem;
}

.footer-Dark .social-icons img,
html.theme-dark .social-icons img,
.footer-Dark .author-social-icons img,
html.theme-dark .author-social-icons img,
[data-contrast="#ffffff" i] .social-icons img {
  filter: invert(1);
}


/* Post Snippets */

.row.row-snippets {
  margin-bottom: -2rem;
}

.row.row-snippets > .col {
  margin-bottom: 2rem;
}

.block-tag-snippets .snippets-title svg {
  height: 0.625rem;
  margin-left: 0.25rem;
  min-width: 0.625rem;
  width: 0.625rem;
}

.snippet {
  position: relative;
}

.snippet.sm {
  gap: 0.5rem;
}

.snippet :is(picture,video) {
  aspect-ratio: 1/1;
}

.feature-grid .snippet :is(picture,video),
.feature-grid-alt .col.left .snippet :is(picture,video),
.snippet.sm :is(picture,video) {
  aspect-ratio: 1/1!important;
}

.snippet.Landscape :is(picture,video) {
  aspect-ratio: 4/3;
}

.snippet.Portrait :is(picture,video) {
  aspect-ratio: 3/4;
}

.feature-grid-alt .col.left > .row > .col:first-child > .row > .col:nth-child(odd) :is(picture,video),
.feature-grid-alt .col.left > .row > .col:last-child > .row > .col:not(:first-child) :is(picture,video) {
  aspect-ratio: 3/4!important;
}

.featured-slider .snippet :is(picture,video) {
  aspect-ratio: 4/3!important;
}

.snippet video.img-object-fit {
  position: relative;
}

.snippet img {
  transition: 0.15s ease-out;
}

.snippet:hover img {
  filter: saturate(1.25);
}

.snippet h2 {
  position: relative;
  z-index: 2;
}

/* Card titles: the Mews demo's 24px and 18px, scaled for Merriweather, which reads about a fifth
   larger than the demo's Cormorant Garamond at the same size. The lead stories (editorial,
   spotlight), the slider and the featured sections keep their own sizes. */
.snippet h2.text-xxl {
  font-size: 1.25rem;
}

.snippet h2.text-lg {
  font-size: 0.9375rem;
}

.snippet h2:hover {
  text-decoration: underline;
}

.snippet p, .snippet-author a {
  color: var(--color-lighter);
}

.snippet-author {
  font-size: 0.625rem;
}

/* Author names and the tag label above the title link to their pages: lift them above the card's
   .stretched-link, like the title */
.snippet-author a,
.snippet-tag {
  position: relative;
  z-index: 2;
}

.snippet-tag {
  color: inherit;
  text-decoration: none;
}

.snippet-author a:hover,
.snippet-tag:hover {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.snippet.sm picture {
  min-width: 25%;
  width: 25%;
}

.snippets-related, .snippets-latest {
  background-color: var(--color-body-bg);
  margin-top: 0!important;
  padding-bottom: 7rem;
}

.snippets-related + .snippets-latest {
  display: none;
}

picture > img {
  color: var(--color-body-bg);
}


/* No Image Placeholder Pattern */

.snippet-no-img {
  background-size: 25%;
  inset: 0;
  overflow: hidden;
  position: absolute;
}

.snippet-no-img:before, 
.mews-post-hero-no-img:before {
  background: #fefefe;
  content: '';
  inset: 0;
  position: absolute;
  z-index: -1;
}

.snippet-no-img:after, 
.mews-post-hero-no-img:after {
  background-repeat: space;
  background-size: 5rem;
  content: '';
  filter: grayscale(1);
  inset: -100%;
  opacity: 0.1;
  position: absolute;
  transform: rotate(-45deg);
}

.snippet.sm .snippet-no-img:after {
  background-size: 2.5rem;
}


/* Flickity */

.flickity-page-dots {
  bottom: -3rem;
}

.flickity-page-dots .dot {
  width: 24px;
  height: 24px;
  margin: 0;
  background: transparent;
  opacity: 1;
  padding: 8px;
  position: relative;
}

.flickity-page-dots .dot:after {
  background-color: var(--color-lightest);
  border-radius: 50%;
  content: '';
  display: block;
  position: absolute;
  top: 50%; left: 50%;
  transform: translateX(-50%) translateY(-50%);
  transition: 0.15s ease-out;
  height: 8px;
  width: 8px;
}

.flickity-page-dots .dot.is-selected:after {
  background-color: var(--color-titles);
}


/* Tocbot */

.mews .toc-list {
  font-size: 0.875rem;
  list-style: none;
  padding-left: 0;
}

.mews .toc-list-item {
  margin-top: 0;
  margin-bottom: 0.375rem;
}

.mews .toc-list-item:last-child {
  margin-bottom: 0;
}

.mews .toc-link::before {
  display: none;
}

.mews .toc-link {
  opacity: 0.5;
  text-decoration: none;
  transition: 0.15s ease-out;
}

.mews .mews-article-content .toc-link {
  opacity: 1;
}

.mews .toc-list .is-active-link {
  font-weight: 400;
  opacity: 1;
}

.mews-article-content h2 {
  scroll-margin-top: calc(1rem);
}


/* Popular */

.mews-toc + .mews-popular,
.sidebar-ad + .mews-popular {
  margin-top: 2rem;
}

.mews-popular .row {
  margin-bottom: -1rem;
}

.mews-popular .col {
  margin-bottom: 1rem;
}

.mews-popular .snippet.sm {
  border-top: 1px solid var(--color-lightest);
  padding-top: 1rem;
  opacity: 1;
  transform: translateY(0);
}


/* Index & Tags Archives */

.mews-index-header {
  padding-top: 7rem;
}

.mews-index-header .inner {
  max-width: 100%;
  padding: 0 1rem;
  width: 62.5rem;
}

.block.snippets.index-snippets {
  padding-bottom: 7rem;
}


/* Load More */

.mews-load-more {
  margin-top: 4rem;
}

.mews-load-more .btn.load-more-btn {
  background-color: var(--ghost-accent-color);
}


/* Author Index */

.col-mews-author-img-wrapper {
  width: 35%;
}

.has-cover-img .col-mews-author-info {
  width: 65%;
}

.col-mews-author-info .social-icons {
  padding-top: 1rem;
}

.mews-author-img-wrapper {
  aspect-ratio: 3/4;
}


/* Error Page */

.mews-error-header h1 {
  color: var(--color-lightest);
  font-family: var(--font-accent);
  font-size: 9rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.block.error-stack {
  border-top: 1px solid var(--color-lightest);
  padding-top: 7rem;
} 


/* Homepage */

.section-homepage {
  display: flex;
  flex-direction: column;
  padding-bottom: 7rem;
}

.section-homepage .block:first-child,
.section-homepage .block-ad-top + .block {
  margin-top: 2rem;
}

.section-homepage .block:last-child {
  margin-bottom: 0;
}

.section-homepage > * {
  order: 5;
}

.home-featured-top {
  order: 1;
}

.home-featured-top + .feature-grid + .subscribe-cta {
  order: 2;
}

/* Titles of the homepage's featured posts (top, middle and end, all from partials/featured.hbs;
   only the top one has a wrapper, and wrapping the others would change their .block spacing) */
.section-homepage :is(.featured-text-below, .featured-text-over, .featured-two-col) h2 {
  font-weight: normal;
  /* About two balanced lines for a typical headline, instead of one line across the page */
  max-width: 28ch;
  text-wrap: balance;
}

/* Centred under the image in the "Text Below Image" layout */
.section-homepage .featured-text-below h2 {
  margin-inline: auto;
}

/* 2.5rem at most; phones keep their smaller sizes */
@media (min-width: 720px) {
  .section-homepage :is(.featured-text-below, .featured-text-over, .featured-two-col) h2 {
    font-size: 2.5rem;
  }
}

/* Featured Videos */

body.tag-hash-featured-video .mews-article-content .kg-video-card:first-child,
body.tag-hash-featured-video-global .mews-article-content .kg-video-card:first-child,
body.tag-hash-featured-video .mews-article-content .mews-toc-inline + .kg-video-card,
body.tag-hash-featured-video-global .mews-article-content .mews-toc-inline + .kg-video-card,
body.tag-hash-featured-video .mews-article-content .standard-post-feat-img + .kg-video-card,
body.tag-hash-featured-video-global .mews-article-content .standard-post-feat-img + .kg-video-card {
  display: none;
}


/* Ads */

.mews-toc + .sidebar-ad {
  margin-top: 2rem;
}

.block.block-ad-article-end {
  margin-top: 0;
}



/* Media Queries */

/* 1200px */
@media (max-width: 1199.98px) {
  .footer-col {margin-left: 6rem; max-width: 6.4rem;}
  .featured-text-over .inner > * {max-width: 75%;}
}

/* 960px */
@media (max-width: 959.98px) {
  .footer-left, .footer-links {width: 100%;}
  .footer-left {min-width: unset;}
  .footer-left hr {display: block;}
  .footer-links {gap: 0.5rem; justify-content: space-between;}
  .footer-links:has(> :only-child), .footer-links:has(> :first-child:nth-last-child(2)) {gap: 3rem; justify-content: center;}
  .footer-col {margin-left: 0; max-width: unset;}
  .mews-index-header .inner {width: 100%;}
}

/* 720px */
@media (max-width: 719.98px) {
  html {font-size: 16px;}
  h1, .h1 {font-size: 2.25rem;}
  h2, .h2 {font-size: 1.75rem;}
  h3, .h3 {font-size: 1.5rem;}
  .section-title {font-size: 1.125rem;}
  .block {margin-top: 4rem;}
  .block.block-sm-top {margin-top: 2rem;}
  .block:last-child {margin-bottom: 4rem;}
  .section-homepage {padding-bottom: 4rem;}
  .section-homepage .block:first-child, .section-homepage .block-ad-top + .block {margin-top: 1.5rem;}
  .container {padding: 0 1rem;}
  .row {margin-bottom: -1.5rem; margin-left: -0.5rem; margin-right: -0.5rem;}
  .col {margin-bottom: 1.5rem; padding-left: 0.5rem; padding-right: 0.5rem;}
  .footer-bottom {text-align: center;}
  .footer-bottom > * {width: 100%;}
  .footer-bottom > *:first-child {margin-bottom: 0.5rem;}
  .footer-credit {margin-top: 0.25rem;}
  .snippets-related, .snippets-latest, .block.snippets.index-snippets {padding-bottom: 4rem;}
  .mews-index-header {padding-top: 4rem;}
  .mews-pagination {padding-top: 3rem;}
  .mews-load-more {margin-top: 3rem;}
  .col-mews-author-img-wrapper, .has-cover-img .col-mews-author-info {width: 100%;}
  .row-mews-author {margin-left: 0; margin-right: 0;}
  .col-mews-author-img-wrapper, .col-mews-author-info {padding-left: 0; padding-right: 0;}
}

/* 480px */
@media (max-width: 479.98px) {
  .snippet h2.text-xxl {font-size: 1.0625rem;}
}