/*
Theme Name: MXPMusic.blog Theme
Author: Max
Description: A quiet, focused block theme for writing about music.
Version: 0.2.52
Text Domain: mxpmusic-blog-theme
*/

@font-face {
  font-family: "Inter";
  src: url("./assets/fonts/inter/InterVariable.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("./assets/fonts/inter/InterVariable-Italic.woff2") format("woff2");
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --mxpmusic-blog-font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mxpmusic-blog-article-weight: 300;
  --mxpmusic-blog-article-line-height: 1.68;
  --mxpmusic-blog-article-letter-spacing: -0.008em;
  --mxpmusic-blog-bar-min-height: clamp(54px, 5vw, 68px);
  --mxpmusic-blog-pullquote-base: #e7eceb;
  --mxpmusic-blog-pullquote-gradient: linear-gradient(
    112deg,
    transparent 0%,
    transparent 10%,
    rgba(69, 194, 177, 0.54) 23%,
    transparent 37%,
    rgba(139, 92, 246, 0.54) 51%,
    transparent 64%,
    rgba(229, 141, 62, 0.54) 78%,
    transparent 91%,
    transparent 100%
  );
  color-scheme: dark;
  --mxp-bg: #0B1011;
  --mxp-text: #E7ECEB;
  --mxp-muted: #91A09E;
  --mxp-divider: #243033;
  --mxp-turquoise: #45C2B1;
  --mxp-shell-max: 1500px;
  --mxp-shell-padding: clamp(18px, 2.4vw, 42px);
}

body,
button,
input,
textarea,
select {
  font-family: var(--mxpmusic-blog-font-family);
  font-optical-sizing: auto;
  font-synthesis: none;
}

body {
  background: var(--mxp-bg);
  color: var(--mxp-text);
  font-size: 1.125rem;
  line-height: 1.7;
  font-weight: 325;
  font-variation-settings: "wght" 325;
}

body .wp-site-blocks {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

body .mxp-site-main {
  flex: 1 0 auto;
}

body a {
  color: var(--mxp-turquoise);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.16em;
}

body .wp-block-group.mxp-header,
body .wp-block-group.mxp-footer {
  width: 100%;
  max-width: none;
  min-height: var(--mxpmusic-blog-bar-min-height);
  margin: 0;
  padding-inline: clamp(18px, 2.5vw, 42px);
  box-sizing: border-box;
}

body .wp-block-group.mxp-header {
  min-height: 0;
  padding-block: 0;
  border-bottom: 1px solid var(--mxp-divider);
}

body .wp-block-group.mxp-header-row {
  display: grid;
  grid-template-columns: max-content minmax(0, max-content);
  align-items: stretch;
  justify-content: start;
  width: 100%;
  min-height: var(--mxpmusic-blog-bar-min-height);
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  column-gap: clamp(14px, 2vw, 28px);
}

body .wp-block-group.mxp-header,
body .wp-block-group.mxp-footer {
  font-family: var(--mxpmusic-blog-font-family);
}

body .wp-block-group.mxp-header-row > .mxp-header-title-wrap,
body .wp-block-group.mxp-header-row > .mxp-header-tagline-wrap {
  display: grid;
  align-items: center;
  justify-items: start;
  height: 100%;
  min-height: 0;
  margin: 0;
  padding: 0;
}

body .wp-block-group.mxp-footer {
  min-height: 0;
  padding-block: 0;
  border-top: 1px solid var(--mxp-divider);
}

body .wp-block-group.mxp-footer-row {
  display: grid;
  grid-template-columns: max-content 1fr max-content;
  align-items: stretch;
  width: 100%;
  min-height: var(--mxpmusic-blog-bar-min-height);
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body .wp-block-group.mxp-footer-row > .mxp-footer-title-wrap {
  display: grid;
  align-items: center;
  justify-items: start;
  height: 100%;
  min-height: 0;
  margin: 0;
  padding: 0;
}

body .wp-block-group.mxp-footer-row > .mxp-footer-links {
  display: flex;
  align-items: center;
  align-self: stretch;
  justify-content: flex-end;
  justify-self: end;
  grid-column: 3;
  height: 100%;
  min-height: 0;
  margin: 0;
  padding: 0;
}

body .wp-block-group.mxp-header .wp-block-site-title,
body .wp-block-group.mxp-footer-title-wrap .wp-block-site-title {
  display: block;
  height: auto;
  min-height: 0;
  margin: 0;
  padding: 0;
  line-height: 1;
}

body .wp-block-group.mxp-header .wp-block-site-title a,
body .wp-block-group.mxp-footer-title-wrap .wp-block-site-title a {
  display: inline-block;
  align-self: center;
  height: auto;
  min-height: 0;
  margin: 0;
  padding: 0;
  color: var(--mxp-text);
  font-family: var(--mxpmusic-blog-font-family);
  letter-spacing: 0.02em;
  line-height: 1;
  text-decoration: none;
}

body .wp-block-group.mxp-header .wp-block-site-title a {
  font-size: clamp(1.2rem, 1.65vw, 1.65rem);
  font-weight: 375;
  font-variation-settings: "wght" 375;
}

body .wp-block-group.mxp-header .mxp-header-site-title {
  display: flex;
  align-items: center;
}

body .wp-block-group.mxp-header .mxp-header-site-title a {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  white-space: nowrap;
}

body .wp-block-group.mxp-header .mxp-header-logo {
  display: block;
  flex: 0 0 auto;
  width: 50.486483px;
  height: 48px;
  transform: translateY(-6.405124%);
}

body .wp-block-group.mxp-footer-title-wrap .wp-block-site-title a {
  font-size: clamp(1.15rem, 1.5vw, 1.5rem);
  font-weight: 375;
  font-variation-settings: "wght" 375;
}

body .mxp-header-tagline {
  display: inline-block;
  align-self: center;
  height: auto;
  min-height: 0;
  margin: 0;
  padding: 0;
  color: var(--mxp-muted);
  font-family: var(--mxpmusic-blog-font-family);
  font-size: clamp(0.76rem, 0.8vw, 0.9rem);
  font-weight: 300;
  font-variation-settings: "wght" 300;
  font-style: normal;
  line-height: 1.15;
  letter-spacing: normal;
  text-align: left;
  text-transform: none;
}

body .mxp-footer-links {
  height: auto;
  min-height: 0;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
  gap: 0.9rem 1.3rem;
}

body .mxp-footer-links a {
  display: inline-block;
  align-self: center;
  height: auto;
  min-height: 0;
  margin: 0;
  padding-block: 0;
  color: var(--mxp-muted);
  font-family: var(--mxpmusic-blog-font-family);
  font-size: 0.92rem;
  font-weight: 300;
  font-variation-settings: "wght" 300;
  line-height: 1.15;
  text-decoration: none;
  transition: color 160ms ease;
}

[data-type-centre-target] {
  display: inline-block;
}

[data-type-centre-transform] {
  transform: translateY(var(--mxpmusic-type-centre-offset, 0px));
}

html.mxpmusic-type-centering-pending .mxp-header-title-wrap .wp-block-site-title a,
html.mxpmusic-type-centering-pending .mxp-header-tagline,
html.mxpmusic-type-centering-pending .mxp-footer-title-wrap .wp-block-site-title a,
html.mxpmusic-type-centering-pending .mxp-footer-links a,
html.mxpmusic-type-centering-pending [data-type-centre-target] {
  visibility: hidden;
}

html.mxpmusic-type-centering-pending [data-type-centre-transform] {
  visibility: hidden;
}

body .mxp-footer-links a:hover,
body .mxp-footer-links a:focus-visible {
  color: var(--mxp-text);
}

body .mxp-footer-links a:focus-visible {
  outline: 2px solid var(--mxp-turquoise);
  outline-offset: 3px;
}

body .wp-block-group.mxp-single-shell {
  width: min(var(--mxp-shell-max), calc(100% - (2 * var(--mxp-shell-padding))));
  margin: 0 auto;
  padding: clamp(1.5rem, 2.5vw, 3rem) 0 4rem;
  box-sizing: border-box;
}

body .wp-block-group.mxp-article-header {
  margin-bottom: 2rem;
}

body .wp-block-post-date.mxp-article-date {
  margin-bottom: 0.8rem;
  color: var(--mxp-muted);
  font-size: 0.9rem;
  font-weight: 325;
  font-variation-settings: "wght" 325;
  letter-spacing: 0.02em;
}

body .wp-block-post-title.mxp-article-title {
  margin: 0 0 1.5rem;
  color: var(--mxp-text);
  font-family: var(--mxpmusic-blog-font-family);
  font-size: clamp(2.35rem, 4.2vw, 3.85rem);
  font-weight: 375;
  font-variation-settings: "wght" 375;
  line-height: 1.08;
  letter-spacing: -0.035em;
  text-align: left;
}

body .wp-block-group.mxp-article-layout {
  display: grid;
  grid-template-columns: minmax(0, min(100%, 720px)) minmax(480px, 1fr);
  grid-template-areas: "content image";
  gap: clamp(2rem, 3.2vw, 3.25rem);
  justify-content: space-between;
  align-items: start;
  margin: 0;
}

body .wp-block-group.mxp-article-content {
  grid-area: content;
  max-width: 720px;
  margin: 0;
}

body .wp-block-group.mxp-featured-image {
  grid-area: image;
  width: 100%;
  margin: 0;
}

body .wp-block-post-content.mxp-article-body,
.editor-styles-wrapper {
  color: var(--mxp-text);
  font-family: var(--mxpmusic-blog-font-family);
  font-weight: 300;
  font-variation-settings: "wght" 300;
  font-style: normal;
  line-height: var(--mxpmusic-blog-article-line-height);
  letter-spacing: var(--mxpmusic-blog-article-letter-spacing);
  font-kerning: normal;
  font-optical-sizing: auto;
  font-synthesis: none;
}

body .wp-block-post-content.mxp-article-body {
  font-size: clamp(17px, 1.05vw, 19px);
  max-width: 720px;
}

body .mxp-article-body p,
body .mxp-article-body h2,
body .mxp-article-body h3,
body .mxp-article-body h4,
body .mxp-article-body ul,
body .mxp-article-body ol,
body .mxp-article-body blockquote,
body .mxp-article-body .wp-block-quote,
body .wp-block-post-content.mxp-article-body .wp-block-pullquote,
body .mxp-article-body cite,
body .mxp-article-body figcaption,
body .mxp-article-body .wp-element-caption {
  font-family: var(--mxpmusic-blog-font-family);
}

body .wp-block-post-content.mxp-article-body p,
body .wp-block-post-content.mxp-article-body ul,
body .wp-block-post-content.mxp-article-body ol,
body .wp-block-post-content.mxp-article-body li,
.editor-styles-wrapper .wp-block-paragraph,
.editor-styles-wrapper .wp-block-list,
.editor-styles-wrapper .wp-block-list li {
  font-family: var(--mxpmusic-blog-font-family);
  font-weight: 300;
  font-variation-settings: "wght" 300;
  font-style: normal;
  line-height: var(--mxpmusic-blog-article-line-height);
  letter-spacing: var(--mxpmusic-blog-article-letter-spacing);
  font-optical-sizing: auto;
  font-synthesis: none;
}

body .wp-block-post-content.mxp-article-body p {
  margin: 0 0 1.35rem;
  text-align: left;
  text-justify: auto;
  hyphens: manual;
  overflow-wrap: break-word;
}

body .mxp-article-body strong,
body .mxp-article-body b {
  color: var(--mxp-text);
  font-weight: 500;
  font-variation-settings: "wght" 500;
}

body .mxp-article-body em,
body .mxp-article-body i {
  font-style: italic;
  font-weight: 350;
  font-variation-settings: "wght" 350;
  opacity: 1;
}

body .mxp-article-body h2,
body .mxp-article-body h3,
body .mxp-article-body h4 {
  margin: 2.2rem 0 0.9rem;
  color: var(--mxp-text);
  font-weight: 400;
  font-variation-settings: "wght" 400;
  line-height: 1.25;
  letter-spacing: -0.02em;
  text-align: left;
}

body .mxp-article-body ul,
body .mxp-article-body ol {
  margin: 0 0 1.4rem;
  padding-left: 1.2rem;
}

body .mxp-article-body blockquote,
body .mxp-article-body .wp-block-quote {
  margin: 2rem 0;
  padding: 0;
  border: 0;
  color: var(--mxp-text);
  font-size: 1.1rem;
  font-weight: 350;
  font-variation-settings: "wght" 350;
  font-style: italic;
  line-height: 1.55;
}

body .wp-block-post-content.mxp-article-body blockquote p,
body .wp-block-post-content.mxp-article-body .wp-block-quote p {
  margin: 0 0 1.35rem;
  font-weight: 350;
  font-variation-settings: "wght" 350;
  font-style: italic;
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
  overflow-wrap: anywhere;
}

body .wp-block-post-content.mxp-article-body .wp-block-pullquote,
.editor-styles-wrapper .wp-block-pullquote {
  width: 100%;
  margin-block: clamp(1.5rem, 3vw, 2.5rem);
  margin-inline: auto;
  padding: 0;
  border: none;
  background: none;
  background-image: none;
  box-shadow: none;
  color: var(--mxp-text);
  font-family: var(--mxpmusic-blog-font-family);
  font-size: clamp(1.18rem, 1.45vw, 1.55rem);
  font-weight: var(--mxpmusic-blog-article-weight);
  font-variation-settings: "wght" var(--mxpmusic-blog-article-weight);
  font-style: italic;
  line-height: 1.38;
  letter-spacing: var(--mxpmusic-blog-article-letter-spacing);
  text-align: center;
  max-width: 720px;
}

body .wp-block-post-content.mxp-article-body .wp-block-pullquote {
  --mxpmusic-blog-pullquote-phase: 0s;
}

body .wp-block-post-content.mxp-article-body .wp-block-pullquote:nth-child(6n + 1 of .wp-block-pullquote) {
  --mxpmusic-blog-pullquote-phase: -3s;
}

body .wp-block-post-content.mxp-article-body .wp-block-pullquote:nth-child(6n + 2 of .wp-block-pullquote) {
  --mxpmusic-blog-pullquote-phase: -10s;
}

body .wp-block-post-content.mxp-article-body .wp-block-pullquote:nth-child(6n + 3 of .wp-block-pullquote) {
  --mxpmusic-blog-pullquote-phase: -17s;
}

body .wp-block-post-content.mxp-article-body .wp-block-pullquote:nth-child(6n + 4 of .wp-block-pullquote) {
  --mxpmusic-blog-pullquote-phase: -24s;
}

body .wp-block-post-content.mxp-article-body .wp-block-pullquote:nth-child(6n + 5 of .wp-block-pullquote) {
  --mxpmusic-blog-pullquote-phase: -31s;
}

body .wp-block-post-content.mxp-article-body .wp-block-pullquote:nth-child(6n + 6 of .wp-block-pullquote) {
  --mxpmusic-blog-pullquote-phase: -38s;
}

body .wp-block-post-content.mxp-article-body .wp-block-pullquote.has-text-align-left,
.editor-styles-wrapper .wp-block-pullquote.has-text-align-left {
  text-align: left;
}

body .wp-block-post-content.mxp-article-body .wp-block-pullquote.has-text-align-center,
.editor-styles-wrapper .wp-block-pullquote.has-text-align-center {
  text-align: center;
}

body .wp-block-post-content.mxp-article-body .wp-block-pullquote.has-text-align-right,
.editor-styles-wrapper .wp-block-pullquote.has-text-align-right {
  text-align: right;
}

body .wp-block-post-content.mxp-article-body .wp-block-pullquote blockquote,
.editor-styles-wrapper .wp-block-pullquote blockquote {
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  color: inherit;
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  font-variation-settings: inherit;
  font-style: inherit;
  line-height: inherit;
  letter-spacing: inherit;
  text-align: inherit;
}

body .wp-block-post-content.mxp-article-body .wp-block-pullquote p,
.editor-styles-wrapper .wp-block-pullquote p {
  width: 100%;
  max-width: 720px;
  margin: 0;
  margin-inline: auto;
  color: #E7ECEB;
  font-family: var(--mxpmusic-blog-font-family);
  font-weight: 300;
  font-variation-settings: "wght" 300;
  font-style: italic;
  font-size: clamp(1.18rem, 1.45vw, 1.55rem);
  line-height: 1.38;
  letter-spacing: var(--mxpmusic-blog-article-letter-spacing);
  text-align: inherit;
  font-optical-sizing: auto;
  font-synthesis: none;
}

body .wp-block-post-content.mxp-article-body .wp-block-pullquote p > em,
body .wp-block-post-content.mxp-article-body .wp-block-pullquote p > i {
  display: inline;
  color: #E7ECEB;
  font-family: var(--mxpmusic-blog-font-family);
  font-weight: 300;
  font-variation-settings: "wght" 300;
  font-style: italic;
  font-size: clamp(1.18rem, 1.45vw, 1.55rem);
  line-height: 1.38;
  font-optical-sizing: auto;
  font-synthesis: none;
  text-align: inherit;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

@supports ((background-clip: text) or (-webkit-background-clip: text)) {
  body .wp-block-post-content.mxp-article-body .wp-block-pullquote p {
    background-color: var(--mxpmusic-blog-pullquote-base);
    background-image: var(--mxpmusic-blog-pullquote-gradient);
    background-size: 300% 100%;
    background-position: 0% 50%;
    background-repeat: no-repeat;
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    animation: mxpmusic-blog-pullquote-colour-drift 42s ease-in-out infinite;
    animation-delay: var(--mxpmusic-blog-pullquote-phase, 0s);
  }

  body .wp-block-post-content.mxp-article-body .wp-block-pullquote p:has(> em:only-child),
  body .wp-block-post-content.mxp-article-body .wp-block-pullquote p:has(> i:only-child) {
    background-image: none;
    color: #E7ECEB;
    -webkit-text-fill-color: #E7ECEB;
    animation: none;
  }

  body .wp-block-post-content.mxp-article-body .wp-block-pullquote p > em:only-child,
  body .wp-block-post-content.mxp-article-body .wp-block-pullquote p > i:only-child {
    background-color: var(--mxpmusic-blog-pullquote-base);
    background-image: var(--mxpmusic-blog-pullquote-gradient);
    background-size: 300% 100%;
    background-position: 0% 50%;
    background-repeat: no-repeat;
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    animation: mxpmusic-blog-pullquote-colour-drift 42s ease-in-out infinite;
    animation-delay: var(--mxpmusic-blog-pullquote-phase, 0s);
  }

  body .wp-block-post-content.mxp-article-body .wp-block-pullquote p strong,
  body .wp-block-post-content.mxp-article-body .wp-block-pullquote p b {
    background: none;
    color: #E7ECEB;
    -webkit-text-fill-color: #E7ECEB;
    animation: none;
  }
}

@keyframes mxpmusic-blog-pullquote-colour-drift {
  0% {
    background-position: 0% 50%;
  }
  19% {
    background-position: 34% 50%;
  }
  41% {
    background-position: 78% 50%;
  }
  63% {
    background-position: 48% 50%;
  }
  84% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

body .wp-block-post-content.mxp-article-body .wp-block-pullquote cite,
body .wp-block-post-content.mxp-article-body .wp-block-pullquote .wp-block-pullquote__citation {
  margin-top: 1rem;
  color: var(--mxp-muted);
  font-size: 0.9rem;
  font-weight: var(--mxpmusic-blog-article-weight);
  font-variation-settings: "wght" var(--mxpmusic-blog-article-weight);
  font-style: normal;
  letter-spacing: normal;
  text-transform: none;
}

body .mxp-article-body figcaption,
body .mxp-article-body .wp-element-caption {
  font-weight: 325;
  font-variation-settings: "wght" 325;
}

body .mxp-article-body cite {
  color: var(--mxp-muted);
  font-size: 0.9rem;
  font-weight: 325;
  font-variation-settings: "wght" 325;
  font-style: normal;
  letter-spacing: normal;
  text-transform: none;
}

body figcaption,
body .wp-element-caption {
  font-family: var(--mxpmusic-blog-font-family);
}

body .mxp-featured-image img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  margin: 0;
}

body .mxp-page-shell {
  width: min(760px, calc(100% - clamp(1.25rem, 3vw, 3rem)));
  margin: 0 auto;
  padding: clamp(1.5rem, 2.4vw, 3rem) 0 4rem;
  box-sizing: border-box;
}

body .mxp-page-title {
  margin: 0 0 1.4rem;
  color: var(--mxp-text);
  font-family: var(--mxpmusic-blog-font-family);
  font-size: clamp(2rem, 3vw, 2.6rem);
  font-weight: 400;
  font-variation-settings: "wght" 400;
  line-height: 1.15;
  text-align: left;
}

body .mxp-page-body {
  color: var(--mxp-text);
  font-family: var(--mxpmusic-blog-font-family);
  font-size: clamp(1.05rem, 1rem + 0.2vw, 1.125rem);
  font-weight: 325;
  font-variation-settings: "wght" 325;
  line-height: 1.75;
}

body .mxp-page-body p {
  margin: 0 0 1.2rem;
  text-align: left;
}

body .mxp-page-body ul,
body .mxp-page-body ol {
  margin: 0 0 1.2rem;
  padding-left: 1.4rem;
}

body .mxp-page-body h2,
body .mxp-page-body h3,
body .mxp-page-body h4 {
  margin: 2rem 0 0.8rem;
  color: var(--mxp-text);
  font-family: var(--mxpmusic-blog-font-family);
  font-weight: 425;
  font-variation-settings: "wght" 425;
  line-height: 1.25;
}

body .wp-block-query.mxp-home {
  --mxp-home-card-radius: 12px;
  width: min(var(--mxp-shell-max), calc(100% - (2 * var(--mxp-shell-padding))));
  max-width: none;
  margin: 0 auto 4rem;
  padding: 0;
  box-sizing: border-box;
}

body .mxp-post-grid,
body .mxp-post-grid .wp-block-post-template {
  width: 100%;
  max-width: none;
}

body .wp-block-query.mxp-home > .wp-block-post-template.mxp-post-grid {
  display: grid;
  width: 100%;
  max-width: 1320px;
  margin-inline: auto;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 2.5vw, 42px);
  align-items: start;
}

body .mxp-post-grid .wp-block-post-template {
  display: block;
}

body .mxp-post-grid .wp-block-post,
body .mxp-post-card,
body .mxp-post-card-media,
body .wp-block-post-featured-image {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body .mxp-post-card {
  position: relative;
  min-height: 0;
  border-radius: var(--mxp-home-card-radius);
  background: none;
  overflow: visible;
}

body .mxp-post-card::before {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: var(--mxp-home-card-radius);
  box-shadow: inset 0 0 0 2px var(--wp--preset--color--petrol, #1F716D);
  pointer-events: none;
  z-index: 3;
}

body .mxp-post-card::after {
  content: "";
  position: absolute;
  inset: -3px;
  padding: 2px;
  border-radius: var(--mxp-home-card-radius);
  background:
    radial-gradient(circle at 12% 24%, #E58D3E 0%, rgba(229, 141, 62, 0.68) 18%, transparent 40%),
    radial-gradient(circle at 72% 18%, #8B5CF6 0%, rgba(139, 92, 246, 0.72) 20%, transparent 46%),
    radial-gradient(circle at 54% 82%, #1F716D 0%, rgba(31, 113, 109, 0.94) 22%, transparent 62%),
    #1F716D;
  background-repeat: no-repeat;
  background-size:
    145% 168%,
    155% 172%,
    205% 224%,
    100% 100%;
  background-position:
    0% 10%,
    90% 0%,
    45% 100%,
    0 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 250ms ease;
  z-index: 3;
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask-composite: exclude;
}

body .mxp-post-card-media {
  position: relative;
  aspect-ratio: 3 / 4;
  height: auto;
  border-radius: var(--mxp-home-card-radius);
  overflow: hidden;
  background: transparent;
}

body .mxp-post-card-media .wp-block-post-featured-image,
body .mxp-post-card-media .wp-block-post-featured-image a {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  max-width: none;
  box-sizing: border-box;
}

body .mxp-post-card-media .wp-block-post-featured-image {
  position: relative;
  border-radius: var(--mxp-home-card-radius);
}

body .mxp-post-card-media::after {
  content: "";
  position: absolute;
  inset: 22% 0 0;
  z-index: 1;
  border-radius: var(--mxp-home-card-radius);
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(0, 0, 0, 0.38) 42%,
    rgba(0, 0, 0, 0.86) 72%,
    rgba(0, 0, 0, 0.99) 100%
  );
  opacity: 0;
  pointer-events: none;
  transition: opacity 1000ms cubic-bezier(0.22, 1, 0.36, 1);
}

body .mxp-post-card-media .wp-block-post-featured-image figure,
body .mxp-post-card-media .wp-block-post-featured-image a {
  display: block;
}

body .mxp-post-card-media .wp-block-post-featured-image img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  margin: 0;
  border-radius: var(--mxp-home-card-radius);
  object-fit: cover;
  transform: none;
  filter: grayscale(1) saturate(0.85);
  transition: filter 320ms cubic-bezier(0.22, 1, 0.36, 1);
}

body .mxp-post-card-media:has(.wp-block-post-featured-image__placeholder),
body .mxp-post-card-media:has(.wp-post-image-placeholder) {
  aspect-ratio: 3 / 4;
}

body .mxp-post-card-media .wp-block-post-featured-image__placeholder,
body .mxp-post-card-media .wp-post-image-placeholder {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

body .mxp-post-card-title {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  margin: 0;
  padding: clamp(20px, 2.5vw, 42px);
  color: var(--mxp-text);
  font-family: var(--mxpmusic-blog-font-family);
  font-size: clamp(1.05rem, 1rem + 0.25vw, 1.2rem);
  font-weight: 325;
  font-variation-settings: "wght" 325;
  line-height: normal;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  box-sizing: border-box;
  overflow: hidden;
  pointer-events: none;
}

body .mxp-post-card-title-text {
  position: static;
  width: 100%;
  max-width: none;
  height: auto;
  margin: 0;
  padding: 0;
  font-size: clamp(1.5rem, 1.25rem + 0.7vw, 2.25rem);
  overflow: hidden;
  line-height: 1.1;
  text-align: left;
  overflow-wrap: anywhere;
  transform-origin: left bottom;
  opacity: 1;
  transform: none;
  transition: none;
}

body .mxp-post-card-title-text a {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
  padding: 0;
  overflow: hidden;
  line-height: inherit;
  text-align: left;
  pointer-events: auto;
}

body .wp-block-post-date.mxp-post-card-date {
  width: 100%;
  height: auto;
  margin: clamp(7px, 0.6vw, 10px) 0 0;
  padding: 0;
  color: var(--mxp-muted);
  font-family: var(--mxpmusic-blog-font-family);
  font-size: clamp(0.72rem, 0.7rem + 0.15vw, 0.82rem);
  font-weight: 300;
  font-variation-settings: "wght" 300;
  font-style: normal;
  line-height: 1.15;
  letter-spacing: normal;
  text-align: left;
  text-transform: none;
  transform-origin: left bottom;
}

html.mxpmusic-home-cards-pending body .mxp-post-card-media .wp-block-post-featured-image img,
html.mxpmusic-home-cards-pending body .mxp-post-card-title-text,
html.mxpmusic-home-cards-pending body .mxp-post-card-date,
html.mxpmusic-home-cards-pending body .mxp-post-card-media::after {
  transition: none;
}

html.mxpmusic-home-cards-pending body .mxp-post-card::after {
  transition: none;
  animation: none;
}

body .mxp-post-card-title a {
  display: block;
  width: 100%;
  margin: 0;
  text-align: left;
  color: inherit;
  text-decoration: none;
  pointer-events: auto;
}

body .mxp-post-card:has(a:focus-visible)::after,
body .mxp-post-card:has(a:active)::after,
body .mxp-post-card.mxpmusic-blog-post-card--opening::after,
body .mxp-post-card.mxpmusic-blog-post-card--last-visited::after {
  opacity: 1;
  animation: mxp-focus-ring-organic-flow 96s ease-in-out infinite;
}

html.mxpmusic-blog-history-restoring
.mxpmusic-blog-post-card--last-visited::after {
  opacity: 1;
  transition: none;
}

html.mxpmusic-blog-history-restoring
.mxpmusic-blog-post-card--last-visited .mxp-post-card-media::after,
html.mxpmusic-blog-history-restoring
.mxpmusic-blog-post-card--last-visited .mxp-post-card-title-text,
html.mxpmusic-blog-history-restoring
.mxpmusic-blog-post-card--last-visited .mxp-post-card-date,
html.mxpmusic-blog-history-restoring
.mxpmusic-blog-post-card--last-visited .wp-block-post-featured-image img {
  transition: none;
}

@keyframes mxp-focus-ring-organic-flow {
  0% {
    background-position: 0% 10%, 90% 0%, 45% 100%, 0 0;
    background-size: 145% 168%, 155% 172%, 205% 224%, 100% 100%;
  }
  11% {
    background-position: 18% 4%, 76% 22%, 62% 88%, 0 0;
    background-size: 165% 148%, 162% 188%, 220% 206%, 100% 100%;
  }
  27% {
    background-position: 34% 26%, 94% 42%, 28% 74%, 0 0;
    background-size: 140% 177%, 150% 165%, 214% 198%, 100% 100%;
  }
  43% {
    background-position: 8% 48%, 64% 8%, 74% 96%, 0 0;
    background-size: 172% 158%, 166% 174%, 228% 210%, 100% 100%;
  }
  61% {
    background-position: 42% 12%, 82% 66%, 10% 84%, 0 0;
    background-size: 160% 186%, 158% 180%, 218% 226%, 100% 100%;
  }
  78% {
    background-position: 22% 64%, 52% 18%, 92% 70%, 0 0;
    background-size: 176% 158%, 170% 176%, 224% 208%, 100% 100%;
  }
  91% {
    background-position: 4% 30%, 96% 54%, 48% 92%, 0 0;
    background-size: 150% 172%, 160% 174%, 212% 220%, 100% 100%;
  }
  100% {
    background-position: 0% 10%, 90% 0%, 45% 100%, 0 0;
    background-size: 145% 168%, 155% 172%, 205% 224%, 100% 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  body .wp-block-post-content.mxp-article-body .wp-block-pullquote p,
  body .wp-block-post-content.mxp-article-body .wp-block-pullquote p > em,
  body .wp-block-post-content.mxp-article-body .wp-block-pullquote p > i {
    animation: none;
    background-position: 50% 50%;
  }

  body .mxp-post-card:has(a:focus-visible)::after,
  body .mxp-post-card:has(a:active)::after,
  body .mxp-post-card.mxpmusic-blog-post-card--opening::after,
  body .mxp-post-card.mxpmusic-blog-post-card--last-visited::after {
    animation: none;
    opacity: 1;
  }
}

@supports not (mask-composite: exclude) {
  body .mxp-post-card:has(a:focus-visible) {
    outline: 2px solid #8B5CF6;
    outline-offset: 3px;
  }
}

@supports not selector(:has(a:focus-visible)) {
  body .mxp-post-card a:focus-visible {
    outline: 2px solid #8B5CF6;
    outline-offset: 3px;
  }
}

body .mxp-post-card:hover .mxp-post-card-media .wp-block-post-featured-image img,
body .mxp-post-card:has(a:focus-visible) .mxp-post-card-media .wp-block-post-featured-image img {
  filter: grayscale(0) saturate(1);
}

body .mxp-post-card:hover .mxp-post-card-media::after,
body .mxp-post-card:has(a:focus-visible) .mxp-post-card-media::after {
  opacity: 1;
}

body .mxp-post-card .wp-block-post-title {
  margin: 0;
}

body .mxp-post-card .wp-block-post-title a {
  color: inherit;
  text-decoration: none;
}

@media (any-hover: hover) and (any-pointer: fine) {
  body .mxp-post-card-title-text,
  body .mxp-post-card-date {
    opacity: 0;
    transform: scale(0.985);
    transition:
      opacity 1000ms cubic-bezier(0.22, 1, 0.36, 1),
      transform 1000ms cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity, transform;
  }

  body .mxp-post-card:hover .mxp-post-card-title-text,
  body .mxp-post-card:has(a:focus-visible) .mxp-post-card-title-text,
  body .mxp-post-card:hover .mxp-post-card-date,
  body .mxp-post-card:has(a:focus-visible) .mxp-post-card-date {
    opacity: 1;
    transform: scale(1);
  }
}

@media (max-width: 1050px) {
  body .wp-block-query.mxp-home > .wp-block-post-template.mxp-post-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  body .wp-block-group.mxp-header-row {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto;
    align-content: start;
    min-height: 0;
    min-block-size: 0;
    padding-block: 0.5rem;
    row-gap: 0.25rem;
  }

  body .wp-block-group.mxp-footer {
    padding-block: 0;
  }

  body .wp-block-group.mxp-header-row > .mxp-header-title-wrap,
  body .wp-block-group.mxp-header-row > .mxp-header-tagline-wrap,
  body .wp-block-group.mxp-footer-row > .mxp-footer-title-wrap,
  body .wp-block-group.mxp-footer-row > .mxp-footer-links {
    grid-column: 1;
    align-self: stretch;
    height: auto;
    block-size: auto;
  }

  body .wp-block-group.mxp-header-row > .mxp-header-title-wrap,
  body .wp-block-group.mxp-footer-row > .mxp-footer-title-wrap {
    grid-row: 1;
  }

  body .wp-block-group.mxp-header-row > .mxp-header-tagline-wrap,
  body .wp-block-group.mxp-footer-row > .mxp-footer-links {
    grid-row: 2;
  }

  body .wp-block-group.mxp-header .mxp-header-site-title a {
    font-size: min(1.2rem, calc(14vw - 12px));
    min-height: 0;
    padding-left: 0;
    gap: 10.4px;
  }

  body .wp-block-group.mxp-header .mxp-header-logo {
    position: static;
    width: 42.072069px;
    height: 40px;
  }

  body .wp-block-group.mxp-footer-row {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto;
    align-content: start;
    min-height: 0;
    min-block-size: 0;
    padding-block: 0.5rem;
    row-gap: 0.25rem;
  }

  body .wp-block-group.mxp-footer-title-wrap .wp-block-site-title {
    display: grid;
    align-items: center;
    justify-items: start;
  }

  body .wp-block-group.mxp-footer-row > .mxp-footer-links {
    align-content: flex-start;
    justify-self: start;
    justify-content: flex-start;
    row-gap: 0.25rem;
  }

  body .wp-block-group.mxp-article-layout {
    grid-template-columns: 1fr;
    grid-template-areas: "image" "content";
    gap: 1.5rem;
  }

  body .wp-block-group.mxp-article-content,
  body .wp-block-group.mxp-featured-image {
    grid-area: auto;
  }

  body .mxp-article-body p {
    text-align: left;
  }

  body .wp-block-post-content.mxp-article-body .wp-block-pullquote p {
    text-align: inherit;
  }

  body .wp-block-query.mxp-home > .wp-block-post-template.mxp-post-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  body .mxp-post-card-title-text,
  body .mxp-post-card-date {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 418px) {
  body .mxp-header-tagline {
    font-size: clamp(max(10px, 0.625rem), calc(3.15vw - 1.05px), 0.76rem);
  }
}

@media (max-width: 359px) {
  body .mxp-header-tagline {
    text-wrap: pretty;
  }
}

@media (prefers-reduced-motion: reduce) {
  body .mxp-post-card-title-text,
  body .mxp-post-card-date {
    transition: none;
    opacity: 1;
    transform: none;
  }
}
