/*
Theme Name: Mechi Ruiz Luque
Theme URI: https://mechiruizluque.com/
Author: MRL
Description: Tema liviano y administrable para Mechi Ruiz Luque, pensado para canciones, textos y paginas institucionales.
Version: 0.1.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
Text Domain: mrl
*/

:root {
  --mrl-ink: #211a17;
  --mrl-muted: #75675e;
  --mrl-paper: #f6efe6;
  --mrl-sand: #dfcfbc;
  --mrl-clay: #9f765d;
  --mrl-charcoal: #11100f;
  --mrl-white: #fffaf2;
  --mrl-overlay: rgba(0, 0, 0, 0.52);
  --mrl-radius: 8px;
  --mrl-title: "Special Elite", Georgia, serif;
  --mrl-body: "Inter", Arial, sans-serif;
  --mrl-header-height: 106px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--mrl-ink);
  background: var(--mrl-paper);
  font-family: var(--mrl-body);
  font-size: 16px;
  line-height: 1.7;
}

body.mrl-dark {
  color: var(--mrl-white);
  background: var(--mrl-charcoal);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.mrl-page {
  min-height: 100vh;
  position: relative;
  isolation: isolate;
}

.mrl-page--image {
  color: var(--mrl-white);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.mrl-page--image::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background: inherit;
}

.mrl-page--image::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background: var(--mrl-overlay);
}

.mrl-container {
  width: min(1120px, calc(100% - 32px));
  margin-inline: auto;
}

.mrl-site-header {
  position: relative;
  z-index: 20;
  padding: 24px 0 10px;
}

.mrl-site-header .mrl-container {
  width: 97%;
  padding-inline: clamp(22px, 4vw, 58px);
}

.mrl-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.mrl-brand img {
  width: auto;
  height: 72px;
}

.mrl-menu {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 40px);
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: var(--mrl-title);
  font-size: clamp(15px, 1.5vw, 20px);
  letter-spacing: 0;
  text-transform: uppercase;
}

.mrl-menu a {
  opacity: 0.72;
  text-decoration: none;
}

.mrl-menu a:hover,
.mrl-menu .current-menu-item > a,
.mrl-menu .current_page_item > a,
.mrl-menu .current-menu-ancestor > a,
.mrl-about-page .mrl-menu a[href*="/sobre-mi/"],
.mrl-texts-page .mrl-menu a[href*="/textos/"],
.mrl-songs-page .mrl-menu a[href*="/canciones/"] {
  opacity: 1;
  border-bottom: 2px solid currentColor;
}

.mrl-menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 999px;
  color: inherit;
  background: rgba(255, 255, 255, 0.08);
  font: inherit;
}

.mrl-menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.mrl-hero {
  min-height: calc(100vh - 126px);
  display: grid;
  align-items: end;
  padding: 36px 0 8vh;
}

.mrl-hero__inner {
  max-width: 760px;
}

.mrl-home-social {
  position: fixed;
  right: clamp(22px, 4vw, 58px);
  top: 72vh;
  z-index: 15;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.mrl-home-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  opacity: 0.95;
}

.mrl-home-social img {
  width: 30px;
  height: 30px;
}

body.home {
  overflow: hidden;
}

body.home .mrl-page {
  height: 100vh;
  min-height: 100vh;
  overflow: hidden;
}

body.home .mrl-hero {
  min-height: calc(100vh - 120px);
  padding: 0;
}

body.home .mrl-site-footer {
  display: none;
}

.mrl-kicker {
  margin: 0 0 12px;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 250, 242, 0.78);
}

.mrl-kicker--paper {
  color: var(--mrl-muted);
}

.mrl-title {
  margin: 0;
  font-family: var(--mrl-title);
  font-size: clamp(42px, 9vw, 96px);
  line-height: 0.95;
  letter-spacing: 0;
}

.mrl-lede {
  max-width: 620px;
  margin: 22px 0 0;
  font-size: clamp(17px, 2vw, 22px);
  color: rgba(255, 250, 242, 0.86);
}

.mrl-quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.mrl-button,
.mrl-quick-links a,
.wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 18px;
  border: 1px solid currentColor;
  border-radius: var(--mrl-radius);
  font-family: var(--mrl-title);
  text-decoration: none;
  letter-spacing: 0;
  transition:
    transform 160ms ease,
    background 160ms ease;
}

.mrl-button:hover,
.mrl-quick-links a:hover,
.wp-block-button__link:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.12);
}

.mrl-section {
  padding: clamp(48px, 8vw, 96px) 0;
}

.mrl-section--paper {
  background: var(--mrl-paper);
  color: var(--mrl-ink);
}

.mrl-section__header {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 28px;
}

.mrl-section h1,
.mrl-section h2,
.mrl-archive-title,
.mrl-entry-title {
  margin: 0;
  font-family: var(--mrl-title);
  line-height: 1.1;
  letter-spacing: 0;
}

.mrl-section h2,
.mrl-archive-title {
  font-size: clamp(34px, 5vw, 58px);
}

.mrl-entry-title {
  font-size: clamp(36px, 6vw, 68px);
}

.mrl-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 36px);
}

.mrl-songs-archive {
  display: grid;
  grid-template-columns: minmax(0, 50%) minmax(0, 50%);
  min-height: calc(100vh - 126px);
  padding: 28px 0 52px;
}

.mrl-songs-archive__grid {
  grid-column: 2;
  justify-self: center;
  width: min(42.3vw, 864px);
}

.mrl-songs-archive .mrl-song-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(128px, 1fr));
  gap: clamp(14px, 1.4vw, 24px);
  max-height: calc(100vh - 220px);
  overflow-y: auto;
  padding: 8px 10px 8px 0;
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
}

.mrl-songs-archive .mrl-song-grid::-webkit-scrollbar {
  width: 8px;
}

.mrl-songs-archive .mrl-song-grid::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.3);
}

.mrl-songs-archive .mrl-card {
  display: block;
  width: 100%;
  min-width: 0;
  scroll-snap-align: start;
  text-align: left;
}

.mrl-songs-archive .mrl-card__image {
  width: 100%;
  border-radius: 8px;
}

.mrl-songs-archive .mrl-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mrl-songs-archive .mrl-card h3 {
  margin: 8px 0 1px;
  font-size: clamp(15px, 1.5vw, 20px);
  line-height: 1.06;
}

.mrl-songs-archive .mrl-card time {
  display: block;
  font-size: clamp(13px, 1vw, 15px);
  line-height: 1.1;
}

.mrl-collab-archive {
  display: grid;
  grid-template-columns: minmax(0, 50%) minmax(0, 50%);
  min-height: calc(100vh - 126px);
  padding: 12px 0 24px;
}

.mrl-collab-archive__grid {
  grid-column: 2;
  justify-self: center;
  width: min(46vw, 900px);
  max-height: calc(100vh - 220px);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 2.4vw, 34px);
  overflow-y: auto;
  padding: 8px 10px 8px 0;
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
}

.mrl-collab-archive--centered {
  align-items: center;
}

.mrl-collab-archive--centered .mrl-collab-archive__grid {
  align-self: center;
}

.mrl-collab-archive__grid::-webkit-scrollbar {
  width: 8px;
}

.mrl-collab-archive__grid::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.3);
}

.mrl-collab-card {
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  padding: clamp(20px, 3vw, 30px);
  border-radius: var(--mrl-radius);
  scroll-snap-align: start;
  background: rgba(17, 16, 15, 0.62);
  backdrop-filter: blur(10px);
}

.mrl-collab-card--wide {
  grid-column: 1 / -1;
  display: flex;
  min-height: auto;
  justify-content: start;
}

.mrl-collab-card--centered {
  align-items: center;
  justify-content: center;
  min-height: min(520px, calc(100vh - var(--mrl-header-height) - 94px));
}

.mrl-collab-card--intro {
  justify-content: end;
}

.mrl-collab-card h1,
.mrl-collab-card h2 {
  margin: 0;
  font-family: var(--mrl-title);
  line-height: 1.05;
  letter-spacing: 0;
}

.mrl-collab-card h1 {
  font-size: clamp(38px, 5vw, 66px);
  max-width: 780px;
}

.mrl-collab-card h2 {
  font-size: clamp(25px, 3vw, 36px);
}

.mrl-collab-card p {
  margin: 0;
  color: rgba(255, 250, 242, 0.84);
}

.mrl-collab-copy {
  display: grid;
  gap: 14px;
  max-width: 790px;
  font-size: clamp(16px, 1.2vw, 18px);
  line-height: 1.65;
}

.mrl-donation-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(22px, 3vw, 34px);
  width: 100%;
  margin-top: 8px;
}

.mrl-donation-links .mrl-button {
  min-width: min(100%, 190px);
  border-color: rgba(255, 250, 242, 0.46);
  color: var(--mrl-charcoal);
  background: var(--mrl-white);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.24);
  font-weight: 700;
}

.mrl-donation-links .mrl-button:hover {
  color: var(--mrl-white);
  background: rgba(255, 255, 255, 0.14);
}

.mrl-collab-card .mrl-entry-content {
  max-width: none;
  font-size: clamp(16px, 1.35vw, 18px);
}

.mrl-collab-card .mrl-entry-content > *:last-child {
  margin-bottom: 0;
}

.mrl-collab-card .mrl-entry-content p {
  margin: 0 0 1.1em;
}

.mrl-about-card {
  min-height: auto;
  justify-content: center;
  padding-block: clamp(14px, 2vw, 24px);
  padding-inline: clamp(24px, 3vw, 40px);
}

.mrl-about-page .mrl-brand {
  visibility: hidden;
}

.mrl-about-page .mrl-nav {
  justify-content: space-between;
}

.mrl-about-archive__grid {
  grid-column: 1;
  width: min(48vw, 920px);
  align-self: center;
  max-height: calc(100vh - var(--mrl-header-height) - 52px);
}

.mrl-about-copy {
  max-width: 780px;
  gap: clamp(6px, 0.8vw, 10px);
  font-size: clamp(14px, 1vw, 16px);
  line-height: 1.44;
  text-align: justify;
  text-justify: inter-word;
}

.mrl-about-copy p {
  text-indent: 1.4em;
}

.mrl-about-signature {
  width: min(220px, 48%);
  margin: 0 auto;
}

.mrl-contact-archive {
  display: grid;
  grid-template-columns: minmax(0, 50%) minmax(0, 50%);
  min-height: calc(100vh - 126px);
  padding: 12px 0 24px;
  align-items: center;
}

.mrl-contact-archive__grid {
  grid-column: 2;
  justify-self: center;
  align-self: center;
  width: min(46vw, 900px);
  max-height: calc(100vh - var(--mrl-header-height) - 52px);
  overflow-y: auto;
  padding: 8px 10px 8px 0;
}

.mrl-contact-card {
  min-height: auto;
  justify-content: start;
  padding-block: clamp(16px, 2vw, 24px);
}

.mrl-contact-form {
  display: grid;
  gap: 8px;
  margin-top: 4px;
}

.mrl-contact-form form,
.mrl-contact-form p,
.mrl-contact-form .contact-form,
.mrl-contact-form .contact-form > div,
.mrl-contact-form .grunion-field-wrap,
.mrl-contact-form .grunion-field,
.mrl-contact-form .contact-submit {
  width: 100%;
  max-width: none;
}

.mrl-contact-form label {
  margin-top: 3px;
  font-weight: 500;
  line-height: 1.25;
}

.mrl-contact-form label span {
  color: rgba(255, 250, 242, 0.62);
  font-weight: 400;
}

.mrl-contact-form input,
.mrl-contact-form textarea {
  width: 100%;
  max-width: none;
  border: 1px solid rgba(255, 250, 242, 0.2);
  border-radius: var(--mrl-radius);
  color: var(--mrl-white);
  background: rgba(255, 250, 242, 0.12);
  font: inherit;
}

.mrl-contact-form input[type="text"],
.mrl-contact-form input[type="email"],
.mrl-contact-form input[type="url"],
.mrl-contact-form input[type="tel"],
.mrl-contact-form .grunion-field input,
.mrl-contact-form .grunion-field-wrap input {
  width: 100% !important;
  max-width: none !important;
}

.mrl-contact-form input {
  min-height: 44px;
  padding: 9px 12px;
}

.mrl-contact-form textarea {
  min-height: 75px;
  padding: 12px;
  resize: vertical;
}

.mrl-contact-form input:focus,
.mrl-contact-form textarea:focus {
  border-color: rgba(255, 250, 242, 0.64);
  outline: 2px solid rgba(255, 250, 242, 0.18);
  outline-offset: 2px;
}

.mrl-contact-form__submit,
.mrl-contact-form button,
.mrl-contact-form input[type="submit"],
.mrl-contact-form .contact-submit button,
.mrl-contact-form .wp-block-button__link {
  justify-content: center;
  width: 100%;
  min-height: 48px;
  margin-top: 12px;
  padding: 11px 18px;
  border: 1px solid currentColor;
  border-radius: var(--mrl-radius);
  color: var(--mrl-white);
  background: rgba(17, 16, 15, 0.72);
  font-family: var(--mrl-title);
  cursor: pointer;
}

.mrl-contact-form__submit:disabled,
.mrl-contact-form button:disabled,
.mrl-contact-form input[type="submit"]:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.mrl-contact-form .contact-form-submission > * {
  display: none;
}

.mrl-contact-card:has(.contact-form-submission) {
  justify-content: center;
}

.mrl-contact-card:has(.contact-form-submission) .mrl-collab-copy {
  display: none;
}

.mrl-contact-card:has(.contact-form-submission) .mrl-contact-form {
  width: 100%;
}

.mrl-contact-form .contact-form-submission {
  width: 100%;
  max-width: none;
}

.mrl-contact-form .contact-form-submission::before {
  content: "Gracias por escribirme. Tu mensaje fue enviado.";
  display: block;
  width: 100%;
  padding: 9px 12px;
  border-radius: var(--mrl-radius);
  background: rgba(95, 139, 108, 0.38);
  color: var(--mrl-white);
  font-weight: 700;
}

.mrl-form-notice {
  margin: 0;
  padding: 9px 12px;
  border-radius: var(--mrl-radius);
}

.mrl-form-notice--success {
  background: rgba(95, 139, 108, 0.38);
}

.mrl-form-notice--error {
  background: rgba(151, 70, 58, 0.42);
}

.mrl-form-notice p {
  margin: 0;
}

.mrl-card {
  color: inherit;
  text-decoration: none;
}

.mrl-card__image {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: var(--mrl-radius);
  background: rgba(255, 255, 255, 0.14);
}

.mrl-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 300ms ease;
}

.mrl-card:hover img {
  transform: scale(1.035);
}

.mrl-card h3 {
  margin: 12px 0 4px;
  font-family: var(--mrl-title);
  font-size: clamp(19px, 2vw, 25px);
  line-height: 1.15;
}

.mrl-card p,
.mrl-card time {
  margin: 0;
  color: rgba(255, 250, 242, 0.76);
}

.mrl-paper-list {
  display: grid;
  gap: 18px;
}

.mrl-post-row {
  display: grid;
  grid-template-columns: minmax(150px, 180px) minmax(0, 1fr);
  align-items: center;
  gap: 24px;
  padding: 22px;
  border-radius: var(--mrl-radius);
  color: inherit;
  background: rgba(17, 16, 15, 0.62);
  text-decoration: none;
  backdrop-filter: blur(10px);
}

.mrl-post-row--no-image {
  grid-template-columns: 1fr;
}

.mrl-post-row__image {
  align-self: center;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: var(--mrl-radius);
  background: rgba(255, 255, 255, 0.12);
}

.mrl-post-row__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mrl-post-row > div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.mrl-post-row h2 {
  margin: 0 0 8px;
  font-family: var(--mrl-title);
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1.08;
}

.mrl-post-row p {
  margin: 0 0 10px;
  color: rgba(255, 250, 242, 0.78);
}

.mrl-meta {
  display: block;
  margin-bottom: 10px;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 250, 242, 0.64);
}

.mrl-reader,
.mrl-song {
  display: grid;
  grid-template-columns: minmax(240px, 34%) 1fr;
  gap: clamp(30px, 6vw, 70px);
  align-items: start;
  padding: clamp(32px, 5vw, 64px) 0 clamp(64px, 8vw, 110px);
}

.mrl-song {
  grid-template-columns: minmax(260px, 44%) minmax(0, 1fr);
  align-items: center;
}

.mrl-reader__media,
.mrl-song__cover {
  position: sticky;
  top: 132px;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: var(--mrl-radius);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.34);
  background: rgba(255, 255, 255, 0.12);
}

.mrl-reader__media img,
.mrl-song__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mrl-song__media {
  min-width: 0;
  overflow: visible;
}

.mrl-song__release-link {
  display: inline-flex;
  margin-top: 14px;
  color: rgba(255, 250, 242, 0.78);
  font-family: var(--mrl-title);
  font-size: 16px;
  text-decoration: none;
}

.mrl-song__release-link:hover {
  color: var(--mrl-white);
  text-decoration: underline;
}

.mrl-entry-content {
  max-width: 760px;
  font-size: 18px;
}

.mrl-newspaper {
  width: min(1240px, calc(100% - 44px));
  grid-template-columns: 1fr;
  gap: 0;
  padding-inline: clamp(18px, 3vw, 34px);
  border: 1px solid rgba(255, 250, 242, 0.16);
  border-radius: var(--mrl-radius);
  background:
    linear-gradient(rgba(255, 250, 242, 0.045), rgba(255, 250, 242, 0.02)),
    rgba(17, 16, 15, 0.48);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(14px);
}

.mrl-newspaper__header {
  max-width: none;
  padding-bottom: 18px;
  margin-bottom: 22px;
  border-bottom: 1px solid rgba(255, 250, 242, 0.22);
}

.mrl-newspaper .mrl-entry-title {
  max-width: none;
  font-size: clamp(26px, 3.2vw, 36px);
  line-height: 1.1;
}

.mrl-newspaper__excerpt {
  max-width: 780px;
  margin: 18px 0 0;
  color: rgba(255, 250, 242, 0.8);
  font-family: Georgia, serif;
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.45;
}

.mrl-newspaper__content {
  max-width: none;
  color: rgba(255, 250, 242, 0.9);
  font-family: var(--mrl-body);
  font-size: 15px;
  line-height: 1.7;
}

.mrl-newspaper__content p {
  text-align: justify;
  text-justify: inter-word;
}

.mrl-newspaper__content .alignleft {
  float: left;
  width: auto;
  max-width: min(36%, 320px);
  min-width: 240px;
  margin: 4px 10px 16px 0;
}

.mrl-newspaper__content .alignright,
.mrl-newspaper__content .wp-block-image:not(.alignleft):not(.aligncenter) {
  float: right;
  width: auto;
  min-width: 200px;
  max-width: 100%;
  margin: 4px 0 16px 10px;
}

.mrl-newspaper__content img.alignleft,
.mrl-newspaper__content img.alignright {
  width: min(36%, 320px);
  min-width: 240px;
  height: auto;
}

.mrl-newspaper__content .aligncenter,
.mrl-newspaper__content .wp-block-image.aligncenter {
  float: none;
  max-width: 100%;
  margin: 24px auto;
}

.mrl-newspaper__content figure img,
.mrl-newspaper__content img {
  display: block;
  max-width: 100%;
  height: auto;
}

.mrl-newspaper__content blockquote {
  margin: 32px 0;
  padding: 4px 0 4px 22px;
  border-left: 3px solid rgba(255, 250, 242, 0.42);
  color: rgba(255, 250, 242, 0.82);
  font-size: 1.08em;
}

.mrl-entry-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  max-width: none;
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 250, 242, 0.18);
}

.mrl-like-button,
.mrl-comment-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 42px;
  padding: 9px 15px;
  border: 1px solid rgba(255, 250, 242, 0.28);
  border-radius: var(--mrl-radius);
  color: var(--mrl-white);
  background: rgba(255, 250, 242, 0.08);
  font: inherit;
  text-decoration: none;
}

.mrl-like-button {
  cursor: pointer;
}

.mrl-like-button:hover,
.mrl-comment-link:hover,
.mrl-like-button.is-liked {
  background: rgba(255, 250, 242, 0.16);
}

.mrl-like-button__icon {
  color: #d65f62;
  font-size: 18px;
  line-height: 1;
}

.mrl-like-button__count {
  min-width: 1.5em;
  font-weight: 600;
  text-align: right;
}

.mrl-like-button.is-loading {
  opacity: 0.72;
  cursor: wait;
}

.mrl-comments {
  max-width: none;
  margin-top: 34px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 250, 242, 0.22);
}

.mrl-comments__header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.mrl-comments h2,
.mrl-comments h3 {
  margin: 0;
  font-family: var(--mrl-title);
  letter-spacing: 0;
}

.mrl-comments h2 {
  font-size: clamp(28px, 3vw, 40px);
}

.mrl-comments__header p,
.mrl-comments__closed {
  margin: 0;
  color: rgba(255, 250, 242, 0.68);
}

.mrl-comment-list {
  display: grid;
  gap: 14px;
  margin: 0 0 26px;
  padding: 0;
  list-style: none;
}

.mrl-comment-list .comment {
  padding: 16px;
  border: 1px solid rgba(255, 250, 242, 0.16);
  border-radius: var(--mrl-radius);
  background: rgba(255, 250, 242, 0.07);
}

.mrl-comment-list .children {
  margin: 14px 0 0 18px;
  padding: 0;
  list-style: none;
}

.mrl-comment-list .comment-meta {
  color: rgba(255, 250, 242, 0.64);
  font-size: 13px;
}

.mrl-comment-list .comment-author {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--mrl-white);
}

.mrl-comment-list .avatar {
  width: 36px;
  height: 36px;
  border-radius: 999px;
}

.comment-respond {
  margin-top: 22px;
}

.comment-form {
  display: grid;
  gap: 12px;
}

.comment-form p {
  margin: 0;
}

.comment-form label {
  display: block;
  margin-bottom: 6px;
  color: rgba(255, 250, 242, 0.82);
}

.comment-form input:not([type="checkbox"]),
.comment-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 250, 242, 0.22);
  border-radius: var(--mrl-radius);
  color: var(--mrl-white);
  background: rgba(255, 250, 242, 0.1);
  font: inherit;
}

.comment-form input:not([type="checkbox"]) {
  min-height: 42px;
  padding: 8px 12px;
}

.comment-form textarea {
  min-height: 150px;
  padding: 12px;
}

.comment-form input:focus,
.comment-form textarea:focus {
  border-color: rgba(255, 250, 242, 0.64);
  outline: 2px solid rgba(255, 250, 242, 0.18);
  outline-offset: 2px;
}

.mrl-comment-submit {
  justify-content: center;
  width: fit-content;
  color: var(--mrl-white);
  background: rgba(255, 250, 242, 0.1);
  cursor: pointer;
}

.mrl-page-content {
  max-width: 820px;
  padding: clamp(28px, 5vw, 58px);
  border-radius: var(--mrl-radius);
  background: rgba(17, 16, 15, 0.58);
  backdrop-filter: blur(10px);
}

.mrl-entry-content p {
  margin: 0 0 1.25em;
}

.mrl-entry-content iframe {
  max-width: 100%;
  margin: 24px 0;
  border-radius: var(--mrl-radius);
}

.mrl-entry-content a {
  color: inherit;
}

.mrl-song-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 24px 0 30px;
}

.mrl-song__credits {
  max-width: 680px;
  margin: 14px 0 0;
  color: rgba(255, 250, 242, 0.78);
}

.mrl-song-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 11px 18px;
  border-radius: var(--mrl-radius);
  color: #fff;
  font-family: var(--mrl-title);
  line-height: 1;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
  transition:
    transform 160ms ease,
    filter 160ms ease;
}

.mrl-song-link:hover {
  transform: translateY(-1px);
  filter: brightness(1.08);
}

.mrl-song-link img {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
}

.mrl-song-link__glyph {
  width: 20px;
  text-align: center;
  font-family: var(--mrl-body);
  font-weight: 700;
}

.mrl-song-links--icons {
  gap: 16px;
  margin: 14px 0 0;
}

.mrl-song-links--icons .mrl-song-link {
  width: 40px;
  min-height: 40px;
  padding: 0;
  border-radius: 999px;
  background: transparent !important;
  box-shadow: none !important;
  color: var(--mrl-white);
  opacity: 0.88;
}

.mrl-song-links--icons .mrl-song-link span:not(.mrl-song-link__glyph) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.mrl-song-links--icons .mrl-song-link img,
.mrl-song-links--icons .mrl-song-link__glyph,
.mrl-song-links--icons .mrl-song-link__guitar {
  width: 35px;
  height: 35px;
}

.mrl-song-links--icons .mrl-song-link__glyph {
  color: var(--mrl-white);
  font-size: 35px;
  line-height: 35px;
}

.mrl-song-links--icons .mrl-song-link__guitar {
  display: block;
  color: var(--mrl-white);
}

.mrl-song-links--icons .mrl-song-link:hover {
  background: rgba(255, 255, 255, 0.1);
  opacity: 1;
}

.mrl-song-link--spotify {
  background: #1db954;
}

.mrl-song-link--youtube {
  background: #ff0000;
}

.mrl-song-link--chords {
  background: #d8422b;
}

.mrl-song-link--instagram {
  background: #e4405f;
}

.mrl-song-link--whatsapp {
  background: #25d366;
}

.mrl-song-link--donation,
.mrl-song-link--release {
  background: #2f5fa7;
}

.mrl-release {
  width: min(1180px, calc(100% - 40px));
  height: 100%;
  min-height: calc(100vh - var(--mrl-header-height));
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(280px, 46%) minmax(0, 1fr);
  align-items: center;
  gap: clamp(34px, 5vw, 72px);
  padding: 24px 0 54px;
}

.mrl-release__media {
  position: relative;
  overflow: hidden;
  border-radius: var(--mrl-radius);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.38);
  background: #142e47;
}

.mrl-release__media img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.mrl-release__content {
  min-height: 0;
  max-height: 100%;
  overflow-y: auto;
  padding-right: 10px;
}

.mrl-release__inner {
  max-width: 680px;
}

.mrl-release__copy {
  margin-top: 26px;
}

.mrl-release__links {
  margin-top: 28px;
}

.mrl-release__links--mobile {
  display: none;
}

body.mrl-release-page {
  margin: 0;
  overflow: auto;
  background: #142e47;
}

body.mrl-release-page::before,
body.mrl-release-page::after {
  display: none;
}

.mrl-release-only {
  min-height: 100dvh;
  color: var(--mrl-white);
  background: var(--mrl-release-bg, #142e47);
}

.mrl-release-only__layout {
  display: flex;
  min-height: 100dvh;
}

.mrl-release-only__image {
  position: relative;
  flex: 1;
  overflow: hidden;
}

.mrl-release-only__image > img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.mrl-release-only__buttons {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.mrl-release-only__links {
  width: min(100%, 420px);
  display: grid;
  gap: 14px;
  margin: 0;
}

.mrl-release-only__links .mrl-song-link {
  width: 100%;
  min-height: 54px;
  padding: 15px 20px;
  border-radius: 44px;
}

.mrl-release-only__links--mobile {
  display: none;
}

.sharedaddy,
.sd-sharing-enabled,
.sd-rating,
.sd-block,
.sd-social,
.jp-relatedposts,
#jp-relatedposts,
.jp-relatedposts-post,
.wpl-likebox,
.wpl-button,
.wp-block-jetpack-related-posts,
.entry-footer,
.post-navigation {
  display: none !important;
}

.mrl-song .sd-like,
.mrl-song .sd-like-enabled,
.mrl-song .likes-widget-placeholder,
.mrl-song .likes-widget-wrapper,
.mrl-song .wp-block-jetpack-like {
  display: none !important;
}

.mrl-newspaper .sd-like,
.mrl-newspaper .sd-like-enabled,
.mrl-newspaper .likes-widget-wrapper,
.mrl-newspaper .wp-block-jetpack-like {
  display: none !important;
}

.mrl-newspaper .sd-like .sd-title,
.mrl-newspaper .sd-like-enabled .sd-title,
.mrl-newspaper .likes-widget-placeholder {
  display: none !important;
}

.mrl-newspaper .sd-like .sd-content,
.mrl-newspaper .sd-like-enabled .sd-content,
.mrl-newspaper .likes-widget-wrapper {
  min-height: 0 !important;
}

.mrl-newspaper .likes-widget-wrapper {
  line-height: 1.3;
}

.mrl-song {
  position: relative;
  width: min(1240px, calc(100% - 44px));
  padding-inline: clamp(22px, 3vw, 38px);
  border: 1px solid rgba(255, 250, 242, 0.13);
  border-radius: var(--mrl-radius);
  background: rgba(17, 16, 15, 0.34);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(16px);
}

.mrl-song .mrl-entry-title {
  font-size: clamp(26px, 3.2vw, 36px);
  margin-bottom: 12px;
}

.mrl-song__panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: clamp(12px, 2.6vw, 28px) clamp(8px, 1.4vw, 18px);
}

.mrl-song__panel .mrl-meta {
  margin-bottom: 18px;
}

.mrl-song__panel .mrl-entry-content {
  max-width: 640px;
}

.mrl-song__panel .mrl-entry-content > :last-child {
  margin-bottom: 0;
}

.mrl-song-nav {
  position: absolute;
  top: 50%;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 58px;
  color: var(--mrl-white);
  background: rgba(17, 16, 15, 0.28);
  border: 1px solid rgba(255, 250, 242, 0.16);
  border-radius: var(--mrl-radius);
  text-decoration: none;
  transform: translateY(-50%);
  backdrop-filter: blur(10px);
}

.mrl-song-nav:hover {
  background: rgba(255, 255, 255, 0.12);
}

.mrl-song-nav span {
  font-size: 42px;
  line-height: 1;
}

.mrl-song-nav--prev {
  right: -62px;
}

.mrl-song-nav--next {
  left: -62px;
}

.mrl-empty {
  padding: 40px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--mrl-radius);
  background: rgba(0, 0, 0, 0.28);
}

.mrl-site-footer {
  padding: 36px 0;
  color: rgba(255, 250, 242, 0.72);
  background: #11100f;
}

.mrl-site-footer a {
  text-decoration: none;
}

.mrl-footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.mrl-pagination {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-top: 34px;
  font-family: var(--mrl-title);
}

.mrl-pagination .nav-links {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.mrl-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  min-height: 42px;
  padding: 9px 14px;
  border: 1px solid rgba(255, 250, 242, 0.28);
  border-radius: 999px;
  color: rgba(255, 250, 242, 0.84);
  background: rgba(17, 16, 15, 0.44);
  text-decoration: none;
  backdrop-filter: blur(10px);
}

.mrl-pagination .page-numbers.current,
.mrl-pagination .page-numbers:hover {
  color: var(--mrl-charcoal);
  background: var(--mrl-white);
}

@media (min-width: 861px) {
  html,
  body {
    width: 100vw;
    height: 100vh;
    overflow: hidden;
  }

  .mrl-page {
    width: 100vw;
    height: 100vh;
    min-height: 100vh;
    overflow: hidden;
  }

  .mrl-site-header {
    min-height: var(--mrl-header-height);
  }

  .mrl-site-main {
    height: calc(100vh - var(--mrl-header-height));
    min-height: 0;
    padding-inline: 20px;
    overflow: hidden;
  }

  body.single.mrl-songs-page .mrl-site-main {
    display: flex;
    align-items: center;
  }

  .mrl-site-header .mrl-container {
    width: 100%;
    padding-inline: clamp(42px, calc(4vw + 20px), 78px);
  }

  .mrl-home-social {
    right: clamp(42px, calc(4vw + 20px), 78px);
  }

  .mrl-site-footer {
    display: none;
  }

  .mrl-section,
  .mrl-songs-archive,
  .mrl-collab-archive,
  .mrl-contact-archive,
  .mrl-reader,
  .mrl-song,
  .mrl-release {
    height: 96%;
    min-height: 0;
  }

  .mrl-section {
    padding: 12px 0 24px;
    overflow: hidden;
  }

  .mrl-section > .mrl-container,
  .mrl-page-content {
    max-height: 100%;
    overflow-y: auto;
    padding-right: 10px;
  }

  .mrl-reader,
  .mrl-song {
    align-items: center;
    padding: 28px clamp(22px, 3vw, 38px);
    overflow: visible;
  }

  .mrl-newspaper {
    padding-top: 24px;
  }

  .mrl-reader__media,
  .mrl-song__cover {
    position: relative;
    top: auto;
    align-self: start;
    max-height: calc(100vh - var(--mrl-header-height) - 80px);
  }

  .mrl-song__media {
    max-height: calc(100vh - var(--mrl-header-height) - 80px);
  }

  .mrl-song__cover {
    width: min(100%, calc(100vh - var(--mrl-header-height) - 80px));
    margin-inline: auto;
  }

  .mrl-song__panel {
    min-height: 0;
    max-height: calc(100vh - var(--mrl-header-height) - 80px);
    overflow-y: auto;
    padding-top: clamp(12px, 2.6vw, 28px);
    padding-right: 18px;
    margin-right: 8px;
    scrollbar-gutter: stable;
  }

  .mrl-reader > div {
    display: flex;
    flex-direction: column;
    min-height: 0;
    max-height: calc(100vh - var(--mrl-header-height) - 80px);
    padding-right: 18px;
    margin-right: -8px;
    scrollbar-gutter: stable;
  }

  .mrl-newspaper__content {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    padding-right: 8px;
  }

  .mrl-song {
    gap: clamp(26px, 4.4vw, 58px);
    height: auto;
    max-height: calc(100vh - var(--mrl-header-height) - 48px);
  }

  .mrl-collab-archive,
  .mrl-contact-archive {
    padding: 12px 0 24px;
    overflow: hidden;
  }

  .mrl-songs-archive {
    padding: 28px 0 52px;
    overflow: hidden;
  }

  .mrl-collab-archive__grid,
  .mrl-contact-archive__grid {
    max-height: calc(100vh - var(--mrl-header-height) - 52px);
  }

  .mrl-contact-archive__grid {
    overflow-y: auto;
  }

  .mrl-songs-archive .mrl-song-grid {
    max-height: calc(100vh - var(--mrl-header-height) - 80px);
  }

  .mrl-section > .mrl-container::-webkit-scrollbar,
  .mrl-page-content::-webkit-scrollbar,
  .mrl-newspaper__content::-webkit-scrollbar,
  .mrl-song__panel::-webkit-scrollbar,
  .mrl-release__content::-webkit-scrollbar,
  .mrl-songs-archive .mrl-song-grid::-webkit-scrollbar,
  .mrl-collab-archive__grid::-webkit-scrollbar,
  .mrl-contact-archive__grid::-webkit-scrollbar {
    width: 8px;
  }

  .mrl-section > .mrl-container::-webkit-scrollbar-thumb,
  .mrl-page-content::-webkit-scrollbar-thumb,
  .mrl-newspaper__content::-webkit-scrollbar-thumb,
  .mrl-song__panel::-webkit-scrollbar-thumb,
  .mrl-release__content::-webkit-scrollbar-thumb,
  .mrl-songs-archive .mrl-song-grid::-webkit-scrollbar-thumb,
  .mrl-collab-archive__grid::-webkit-scrollbar-thumb,
  .mrl-contact-archive__grid::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.3);
  }

  .mrl-section > .mrl-container,
  .mrl-page-content,
  .mrl-newspaper__content,
  .mrl-song__panel,
  .mrl-release__content,
  .mrl-songs-archive .mrl-song-grid,
  .mrl-collab-archive__grid,
  .mrl-contact-archive__grid {
    scrollbar-color: rgba(255, 255, 255, 0.3) transparent;
    scrollbar-width: thin;
  }
}

@media (max-width: 860px) {
  .mrl-site-header {
    padding: 16px 0 10px;
  }

  .mrl-brand img {
    height: 58px;
  }

  .mrl-about-page .mrl-brand {
    visibility: visible;
  }

  .mrl-about-page .mrl-about-signature {
    display: none;
  }

  .mrl-menu-toggle {
    display: inline-block;
  }

  .mrl-menu {
    position: absolute;
    top: 86px;
    right: 16px;
    left: 16px;
    display: none;
    padding: 18px;
    border-radius: var(--mrl-radius);
    background: rgba(17, 16, 15, 0.92);
    flex-direction: column;
    align-items: flex-start;
  }

  .mrl-menu.is-open {
    display: flex;
  }

  .mrl-hero {
    min-height: calc(100vh - 92px);
  }

  .mrl-home-social {
    right: 18px;
    top: auto;
    bottom: 28px;
    gap: 16px;
  }

  .mrl-grid,
  .mrl-reader,
  .mrl-song {
    grid-template-columns: 1fr;
  }

  .mrl-newspaper {
    width: min(100% - 24px, 1120px);
    padding: 18px;
  }

  .mrl-newspaper__content .alignleft,
  .mrl-newspaper__content .alignright,
  .mrl-newspaper__content .wp-block-image:not(.alignleft):not(.aligncenter),
  .mrl-newspaper__content img.alignleft,
  .mrl-newspaper__content img.alignright {
    float: none;
    width: auto;
    min-width: 0;
    max-width: 100%;
    margin: 24px auto;
  }

  .mrl-comments__header {
    display: block;
  }

  .mrl-songs-archive {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 24px 16px 48px;
  }

  .mrl-collab-archive,
  .mrl-contact-archive {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 24px 16px 48px;
  }

  .mrl-songs-archive__grid {
    grid-column: auto;
    width: 100%;
  }

  .mrl-collab-archive__grid,
  .mrl-contact-archive__grid {
    grid-column: auto;
    width: 100%;
    max-height: none;
    overflow: visible;
    padding-right: 0;
  }

  .mrl-collab-archive__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mrl-collab-card--centered {
    min-height: auto;
  }

  .mrl-songs-archive .mrl-song-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-height: none;
    overflow: visible;
    padding-right: 0;
  }

  .mrl-post-row {
    grid-template-columns: 1fr;
  }

  .mrl-reader__media,
  .mrl-song__cover {
    position: relative;
    top: auto;
  }

  .mrl-song {
    width: min(100% - 24px, 1120px);
    gap: 22px;
    padding: 18px;
  }

  .mrl-song .mrl-entry-title {
    font-size: clamp(25px, 9vw, 34px);
  }

  .mrl-song__panel {
    padding: 0 2px 4px;
    text-align: left;
  }

  .mrl-song-links--icons {
    justify-content: center;
    gap: 14px 18px;
  }

  .mrl-song-nav {
    top: 42%;
    width: 36px;
    height: 48px;
  }

  .mrl-song-nav--prev {
    right: -20px;
  }

  .mrl-song-nav--next {
    left: -20px;
  }

  .mrl-release {
    width: 100%;
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 0 16px 48px;
  }

  .mrl-release__media {
    margin-inline: -16px;
    border-radius: 0;
    box-shadow: none;
  }

  .mrl-release__media img {
    aspect-ratio: auto;
    max-height: 66vh;
    object-fit: contain;
    object-position: top;
  }

  .mrl-release__fade {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 46%;
    background: linear-gradient(
      to bottom,
      rgba(20, 46, 71, 0),
      rgba(20, 46, 71, 0.96)
    );
    pointer-events: none;
  }

  .mrl-release__content {
    max-height: none;
    overflow: visible;
    padding-right: 0;
  }

  .mrl-release__links--desktop {
    display: none;
  }

  .mrl-release__links--mobile {
    position: absolute;
    right: 0;
    bottom: 10px;
    left: 0;
    z-index: 2;
    display: grid;
    width: min(100% - 40px, 400px);
    margin: 0 auto;
    gap: 8px;
  }

  .mrl-release__links--mobile .mrl-song-link {
    min-height: 42px;
    padding: 10px 14px;
  }

  .mrl-release-only__layout {
    display: flex;
    flex-direction: column;
    min-height: 100dvh;
  }

  .mrl-release-only__image {
    flex: 1;
  }

  .mrl-release-only__image > img {
    height: auto;
    object-position: top;
  }

  .mrl-release-only__fade {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 34%;
    background: linear-gradient(
      to bottom,
      rgba(20, 46, 71, 0),
      rgba(20, 46, 71, 1)
    );
    pointer-events: none;
  }

  .mrl-release-only__buttons {
    display: none;
  }

  .mrl-release-only__links--mobile {
    position: absolute;
    right: 0;
    bottom: 10px;
    left: 0;
    z-index: 2;
    display: grid;
    width: min(100% - 40px, 400px);
    margin: 0 auto;
    gap: 8px;
  }

  .mrl-release-only__links--mobile .mrl-song-link {
    min-height: 44px;
    padding: 11px 16px;
    border-radius: 44px;
  }

  .mrl-section__header {
    display: block;
  }
}

@media (max-width: 560px) {
  .mrl-container {
    width: min(100% - 24px, 1120px);
  }

  .mrl-grid {
    gap: 22px;
  }

  .mrl-songs-archive .mrl-song-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mrl-collab-archive__grid {
    grid-template-columns: 1fr;
  }

  .mrl-collab-card {
    min-height: auto;
  }

  .mrl-post-row {
    padding: 16px;
  }

  .mrl-entry-content {
    font-size: 17px;
  }
}

@media (max-width: 420px) {
  .mrl-songs-archive .mrl-song-grid {
    grid-template-columns: 1fr;
  }
}
