/* Accelevate — premium editorial design with senior-friendly readability */

@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,500;0,600;1,500&family=Inter:wght@400;500;600;700&display=swap");

:root {
  --ml-bg: #f7f7f5;
  --ml-surface: #ffffff;
  --ml-text: #161616;
  --ml-muted: #5c5c5c;
  --ml-ink: #0a0a0a;
  --ml-accent-green: #8fd400;
  --ml-accent-blue: #3d5afe;
  --ml-accent-green-soft: rgba(143, 212, 0, 0.14);
  --ml-border: #e8e8e4;
  --ml-shadow: 0 18px 50px rgba(10, 10, 10, 0.08);
  --ml-radius: 16px;
}

body {
  background-color: var(--ml-bg);
  color: var(--ml-text);
  font-family: Inter, "Segoe UI", system-ui, sans-serif;
  font-size: 1.125rem;
  line-height: 1.75;
}

/* Header — dark premium bar */
#masthead,
.site-header,
.site-header-main-section-wrap,
.site-header-inner-wrap,
.site-main-header-wrap,
.site-header-row-container-inner {
  background: var(--ml-ink) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.18);
}

.site-header .site-title,
.site-header .site-description,
.site-header .brand .site-title,
.site-header .brand .site-description {
  display: none !important;
}

.site-header .brand.has-logo-image img,
.site-header .custom-logo,
.site-header .brand img {
  max-height: 42px;
  width: auto;
  display: block;
}

.main-navigation .menu,
.header-navigation .menu,
.site-header .menu {
  display: flex !important;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
}

.main-navigation .menu > li,
.header-navigation .menu > li,
.site-header .menu > li {
  margin: 0 !important;
}

.main-navigation .menu > li > a,
.mobile-navigation a,
.header-navigation a,
.site-header .menu > li > a {
  color: #f4f4f4 !important;
  font-size: 0.98rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.95rem 1.55rem !important;
}

.main-navigation .menu > li > a:hover,
.mobile-navigation a:hover,
.header-navigation a:hover,
.site-header .menu > li > a:hover,
.main-navigation .menu > li.current-menu-item > a {
  color: var(--ml-accent-green) !important;
}

.mobile-toggle-open-container .menu-toggle-open,
.menu-toggle-open {
  color: #ffffff !important;
}

/* Content */
.entry-content,
.entry-summary,
.wp-block-post-content {
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  line-height: 1.9;
  color: var(--ml-text);
}

.entry-content p,
.wp-block-post-content p {
  margin-bottom: 1.55rem;
}

.entry-content h1,
.entry-content h2,
.entry-content h3,
.wp-block-post-content h1,
.wp-block-post-content h2,
.wp-block-post-content h3,
.wp-block-heading {
  font-family: Inter, "Segoe UI", system-ui, sans-serif;
  color: var(--ml-ink);
  letter-spacing: -0.02em;
  font-weight: 600;
}

.entry-content h2,
.wp-block-post-content h2 {
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  margin-top: 2.75rem;
  margin-bottom: 1rem;
}

.entry-content h3,
.wp-block-post-content h3 {
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  margin-top: 2rem;
  margin-bottom: 0.8rem;
}

.entry-content .wp-block-image img,
.wp-block-post-content .wp-block-image img {
  border-radius: var(--ml-radius);
  box-shadow: var(--ml-shadow);
}

.wp-block-separator {
  border-color: var(--ml-border);
  margin: 2.25rem auto;
}

/* Shared editorial post cards (archive + homepage) */
.ml-post-grid,
#archive-container.ml-dynamic-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem !important;
  list-style: none;
  margin: 0;
  padding: 0;
}

#archive-container.ml-dynamic-grid > .entry-list-item,
.ml-post-grid > .entry-list-item {
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
  height: 100%;
}

#archive-container.ml-dynamic-grid > .entry-list-item > .loop-entry,
.ml-post-grid > .entry-list-item > .loop-entry {
  width: 100%;
}

.ml-post-grid .ml-post-card,
#archive-container.ml-dynamic-grid .loop-entry.ml-post-card,
#archive-container.ml-dynamic-grid .loop-entry {
  background: var(--ml-surface);
  border: 1px solid var(--ml-border);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: none;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
  margin: 0;
}

.ml-post-grid .ml-post-card:hover,
#archive-container.ml-dynamic-grid .loop-entry:hover {
  transform: translateY(-3px);
  border-color: #d6d6d0;
  box-shadow: 0 10px 28px rgba(10, 10, 10, 0.06);
}

.ml-post-card .entry-content-wrap,
#archive-container.ml-dynamic-grid .entry-content-wrap {
  padding: 0.85rem 1rem 0.95rem !important;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  gap: 0;
}

.ml-post-card .entry-title,
#archive-container.ml-dynamic-grid .entry-title {
  font-family: Inter, sans-serif !important;
  font-size: 0.98rem !important;
  font-weight: 700 !important;
  line-height: 1.4 !important;
  margin: 0 0 0.35rem !important;
  /* Reserve equal title height across cards; clamp lives on the link */
  min-height: calc(1.4em * var(--ml-card-title-lines, 2));
  max-height: none;
  overflow: visible;
  display: block;
}

.ml-post-card .entry-title a,
#archive-container.ml-dynamic-grid .entry-title a {
  display: -webkit-box !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: var(--ml-card-title-lines, 2);
  line-clamp: var(--ml-card-title-lines, 2);
  overflow: hidden !important;
  text-overflow: ellipsis;
  white-space: normal !important;
  font-family: inherit !important;
  font-size: inherit !important;
  font-weight: inherit !important;
  line-height: inherit !important;
  max-width: 100%;
  color: var(--ml-ink) !important;
  text-decoration: none !important;
  border: 0 !important;
  box-shadow: none !important;
}

.ml-post-card .entry-meta,
#archive-container.ml-dynamic-grid .entry-meta {
  font-family: Inter, sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ml-muted);
  margin: 0 0 var(--ml-card-meta-gap, 8px) !important;
}

.ml-post-card .ml-card-footer,
.ml-post-card .entry-footer,
#archive-container.ml-dynamic-grid .entry-footer {
  margin-top: var(--ml-card-footer-mt, auto) !important;
  margin-bottom: 0 !important;
  padding: 0 !important;
}

.ml-post-card .ml-card-media,
.ml-post-card .post-thumbnail,
.ml-post-grid .post-thumbnail,
.ml-post-grid .ml-card-media,
#archive-container.ml-dynamic-grid .post-thumbnail,
#archive-container.ml-dynamic-grid .entry-thumbnail {
  display: block !important;
  margin: 0;
  overflow: hidden;
  position: relative !important;
  height: auto !important;
  min-height: 0 !important;
  padding-bottom: 0 !important;
}

.ml-post-card .post-thumbnail-inner,
.ml-post-grid .post-thumbnail-inner,
#archive-container.ml-dynamic-grid .post-thumbnail-inner {
  position: static !important;
  inset: auto !important;
  display: block !important;
  height: auto !important;
  width: 100% !important;
}

.ml-post-card .ml-card-media img,
.ml-post-card .post-thumbnail img,
.ml-post-card .post-thumbnail-inner img,
.ml-post-grid .post-thumbnail img,
.ml-post-grid .post-thumbnail-inner img,
#archive-container.ml-dynamic-grid .post-thumbnail img,
#archive-container.ml-dynamic-grid .entry-thumbnail img,
#archive-container.ml-dynamic-grid .post-thumbnail-inner img {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 0;
  display: block !important;
  position: static !important;
  inset: auto !important;
  max-width: none !important;
  transform: none !important;
}

.ml-post-card .entry-taxonomies,
#archive-container.ml-dynamic-grid .entry-taxonomies {
  margin: 0 0 0.35rem;
}

.ml-post-card .entry-taxonomies a,
#archive-container.ml-dynamic-grid .entry-taxonomies a {
  font-family: Inter, sans-serif;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #5b6cff !important;
  text-decoration: none !important;
  background: transparent !important;
}

.ml-post-card .entry-title a:hover,
#archive-container.ml-dynamic-grid .entry-title a:hover {
  color: var(--ml-accent-blue) !important;
}

.ml-post-card .entry-meta .posted-by,
#archive-container.ml-dynamic-grid .entry-meta .posted-by {
  display: none !important;
}

.ml-post-card .entry-summary,
#archive-container.ml-dynamic-grid .entry-summary {
  display: none !important;
}

.ml-post-card .post-more-link,
#archive-container.ml-dynamic-grid .post-more-link {
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
  font-family: Inter, sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ml-ink) !important;
  text-decoration: none !important;
}

.ml-post-card .post-more-link:hover,
#archive-container.ml-dynamic-grid .post-more-link:hover {
  color: var(--ml-accent-blue) !important;
}

/* Hide Kadence SVG arrow (first); keep one CSS arrow */
.ml-post-card .post-more-link .kadence-svg-iconset,
#archive-container.ml-dynamic-grid .post-more-link .kadence-svg-iconset {
  display: none !important;
}

.ml-post-card .post-more-link::after,
#archive-container.ml-dynamic-grid .post-more-link::after {
  content: "→";
  margin-left: 0.25rem;
}

@media (max-width: 1023px) {
  .ml-post-grid,
  #archive-container.ml-dynamic-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .ml-post-grid,
  #archive-container.ml-dynamic-grid {
    grid-template-columns: 1fr;
  }
}

/* Category pills */
.ml-category-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 0 0 1.35rem;
}

.ml-pill {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--ml-border);
  background: var(--ml-surface);
  color: var(--ml-muted);
  font-family: Inter, sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
}

.ml-pill:hover {
  color: var(--ml-ink);
  border-color: #cfcfc9;
}

.ml-pill.is-active {
  background: var(--ml-ink);
  border-color: var(--ml-ink);
  color: #ffffff;
}

/* Full-width spotlight insert */
.ml-archive-spotlight {
  grid-column: 1 / -1 !important;
  border: 1px solid var(--ml-border);
  background:
    radial-gradient(circle at 90% 20%, rgba(143, 212, 0, 0.12), transparent 35%),
    linear-gradient(135deg, #ffffff 0%, #f3f3ef 100%) !important;
}

.ml-archive-spotlight-inner {
  padding: clamp(1.25rem, 3vw, 2rem);
}

.ml-spotlight-eyebrow,
.ml-page-eyebrow {
  font-family: Inter, sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ml-muted);
  margin: 0 0 0.4rem;
}

.ml-spotlight-title {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1.15;
  margin: 0 0 0.65rem;
  color: var(--ml-ink);
}

.ml-spotlight-text {
  font-family: Inter, sans-serif;
  color: var(--ml-muted);
  font-size: 0.98rem;
  line-height: 1.65;
  max-width: 42rem;
  margin: 0 0 1rem;
}

.ml-spotlight-link {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  background: var(--ml-ink);
  color: #ffffff !important;
  font-family: Inter, sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
}

.ml-spotlight-link:hover {
  background: #222222;
  color: #ffffff !important;
}

/* Legacy card selectors — loop cards only (do not strip single-post padding) */
.entry-loop-entry,
.content-wrap article.loop-entry {
  background: var(--ml-surface);
  border: 1px solid var(--ml-border);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: none;
}

/* Single post — padded editorial frame (Customizer: Appearance → Accelevate Single Post) */
body.single-post .content-wrap > article.single-entry,
body.single .content-wrap > article.single-entry {
  background: var(--ml-surface);
  border: 1px solid var(--ml-border);
  border-radius: var(--ml-single-radius, 16px);
  box-shadow: 0 18px 48px rgba(10, 10, 10, 0.07);
  overflow: hidden;
  position: relative;
  z-index: 1;
}

body.single-post .content-wrap > article.single-entry > .entry-content-wrap,
body.single .content-wrap > article.single-entry > .entry-content-wrap,
body.content-style-unboxed .content-wrap > article.single-entry > .entry-content-wrap {
  padding: var(--ml-single-pad-y, 2.75rem) var(--ml-single-pad-x, 2.75rem) !important;
  box-sizing: border-box;
}

body.single-post article.single-entry .entry-header {
  margin-bottom: 1.75rem;
  padding-bottom: 1.35rem;
  border-bottom: 1px solid rgba(10, 10, 10, 0.06);
}

body.single-post article.single-entry .entry-taxonomies {
  margin: 0 0 0.85rem;
}

body.single-post article.single-entry .entry-taxonomies a {
  display: inline-block;
  font-family: Inter, sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ml-accent-blue);
}

body.single-post article.single-entry .entry-taxonomies a:hover {
  color: var(--ml-ink);
}

body.single-post article.single-entry .entry-title {
  margin: 0 0 0.85rem;
  font-family: Inter, sans-serif;
  font-size: clamp(1.75rem, 3.2vw, 2.45rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.22;
  color: var(--ml-ink);
}

body.single-post article.single-entry .entry-meta {
  margin: 0;
  font-family: Inter, sans-serif;
  font-size: 0.88rem;
  color: var(--ml-muted);
}

body.single-post article.single-entry .entry-content.single-content > *:first-child {
  margin-top: 0;
}

body.single-post article.single-entry .entry-content.single-content > *:last-child {
  margin-bottom: 0;
}

/* Post-end subscribe CTA (meta ads / email list capture) */
.ml-post-subscribe {
  margin: 2.5rem 0 0;
  padding-top: 2rem;
  border-top: 1px solid rgba(10, 10, 10, 0.08);
}

.ml-post-subscribe__inner {
  background: linear-gradient(145deg, #0a0a0a 0%, #151515 100%);
  color: #f3efe6;
  border-radius: 18px;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  box-shadow: 0 22px 50px rgba(10, 10, 10, 0.14);
}

.ml-post-subscribe__eyebrow {
  margin: 0 0 0.5rem;
  font-family: Inter, sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(243, 239, 230, 0.55);
}

.entry-content .ml-post-subscribe h2,
.entry-content .ml-post-subscribe__title,
.ml-post-subscribe .ml-post-subscribe__title {
  margin: 0 0 0.65rem !important;
  font-family: Inter, sans-serif !important;
  font-size: clamp(1.25rem, 2.4vw, 1.55rem) !important;
  font-weight: 600 !important;
  letter-spacing: -0.02em !important;
  line-height: 1.3 !important;
  color: #ffffff !important;
}

.ml-post-subscribe__title {
  margin: 0 0 0.65rem;
  font-family: Inter, sans-serif;
  font-size: clamp(1.25rem, 2.4vw, 1.55rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.3;
  color: #ffffff;
}

.ml-post-subscribe__title::after {
  content: "";
  display: block;
  width: 2.25rem;
  height: 2px;
  margin-top: 0.7rem;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--ml-accent-green), rgba(143, 212, 0, 0.2));
}

.ml-post-subscribe__text {
  margin: 0 0 1.15rem;
  max-width: 34rem;
  font-family: Inter, sans-serif;
  font-size: 0.95rem;
  line-height: 1.65;
  color: rgba(243, 239, 230, 0.72);
}

.ml-post-subscribe .ml-subscribe-notice.is-success {
  color: var(--ml-accent-green);
}

.ml-post-subscribe .ml-subscribe-notice.is-error {
  color: #ffb4b4;
}

.ml-post-subscribe__form {
  max-width: 100%;
  width: 100%;
}

.ml-post-subscribe__legal {
  margin: 0.75rem 0 0;
  font-family: Inter, sans-serif;
  font-size: 0.72rem;
  line-height: 1.5;
  color: rgba(243, 239, 230, 0.48);
}

@media (max-width: 767px) {
  body.single-post .content-wrap > article.single-entry > .entry-content-wrap,
  body.single .content-wrap > article.single-entry > .entry-content-wrap,
  body.content-style-unboxed .content-wrap > article.single-entry > .entry-content-wrap {
    padding: var(--ml-single-pad-y-mobile, 1.5rem) var(--ml-single-pad-x-mobile, 1.25rem) !important;
  }

  body.single-post article.single-entry .entry-header {
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
  }
}

/* Similar Posts — blog cards in Splide carousel */
.ml-related {
  margin-top: 2.75rem;
  padding: 2.75rem 0 3rem;
  background: linear-gradient(180deg, rgba(247, 247, 245, 0.35) 0%, #f3f3f0 100%);
  border-top: 1px solid rgba(10, 10, 10, 0.06);
}

.ml-related__inner {
  max-width: 1120px !important;
  width: min(1120px, calc(100% - 2.5rem)) !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.ml-related__header {
  margin: 0 0 1.5rem;
  max-width: 36rem;
}

.ml-related__eyebrow {
  margin: 0 0 0.45rem;
  font-family: Inter, sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ml-muted);
}

.ml-related__title,
.ml-related .entry-related-title {
  margin: 0;
  font-family: Inter, sans-serif !important;
  font-size: clamp(1.45rem, 2.4vw, 1.85rem) !important;
  font-weight: 600 !important;
  letter-spacing: -0.025em;
  line-height: 1.25;
  color: var(--ml-ink) !important;
}

.ml-related__title::after {
  content: "";
  display: block;
  width: 2.5rem;
  height: 2px;
  margin-top: 0.75rem;
  background: linear-gradient(90deg, var(--ml-accent-green), rgba(143, 212, 0, 0.15));
  border-radius: 999px;
}

.ml-related__intro {
  margin: 0.85rem 0 0;
  font-family: Inter, sans-serif;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--ml-muted);
}

.ml-related__carousel {
  position: relative;
}

.ml-related .splide__list {
  align-items: stretch !important;
}

.ml-related .splide__slide {
  height: auto !important;
  display: flex !important;
}

.ml-related .splide__slide > .ml-post-card,
.ml-related .splide__slide > .loop-entry {
  width: 100%;
  height: 100%;
  margin: 0;
}

.ml-related .splide__arrow {
  width: 2.5rem !important;
  height: 2.5rem !important;
  background: var(--ml-ink) !important;
  opacity: 0.88 !important;
  border-radius: 10px !important;
  box-shadow: 0 10px 24px rgba(10, 10, 10, 0.18);
  transition: opacity 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.ml-related .splide__arrow:hover {
  opacity: 1 !important;
  background: #1a1a1a !important;
  transform: scale(1.04);
}

.ml-related .splide__arrow svg {
  fill: #ffffff !important;
}

.ml-related .splide__pagination {
  margin-top: 1.15rem;
  padding: 0;
}

.ml-related .splide__pagination__page {
  width: 0.45rem;
  height: 0.45rem;
  background: rgba(10, 10, 10, 0.2);
  opacity: 1;
  transition: width 0.2s ease, background 0.2s ease;
}

.ml-related .splide__pagination__page.is-active {
  width: 1.15rem;
  border-radius: 999px;
  background: var(--ml-ink);
}

.entry-related:not(.ml-related) {
  display: none !important;
}

@media (max-width: 900px) {
  .ml-related {
    margin-top: 2rem;
    padding: 2rem 0 2.25rem;
  }
}

/* Leave a Reply / comments — refined editorial frame */
#comments.comments-area {
  max-width: 1120px;
  width: min(1120px, calc(100% - 2.5rem));
  margin: 2.5rem auto 3rem;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

#comments .comment-respond,
#respond.comment-respond {
  background: var(--ml-surface);
  border: 1px solid var(--ml-border);
  border-radius: 16px;
  box-shadow: 0 16px 42px rgba(10, 10, 10, 0.05);
  padding: clamp(1.5rem, 3vw, 2.35rem);
}

#comments .comment-reply-title,
#respond .comment-reply-title {
  margin: 0 0 0.35rem;
  font-family: Inter, sans-serif;
  font-size: clamp(1.35rem, 2.2vw, 1.7rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ml-ink);
}

#comments .comment-reply-title::after {
  content: "";
  display: block;
  width: 2.25rem;
  height: 2px;
  margin-top: 0.7rem;
  margin-bottom: 1.1rem;
  background: linear-gradient(90deg, var(--ml-accent-green), rgba(143, 212, 0, 0.15));
  border-radius: 999px;
}

#comments .comment-notes,
#respond .comment-notes {
  margin: 0 0 1.25rem;
  font-family: Inter, sans-serif;
  font-size: 0.84rem;
  line-height: 1.55;
  color: var(--ml-muted);
}

#comments .comment-form label,
#respond .comment-form label,
#comments .comment-form .float-label,
#respond .comment-form .float-label {
  font-family: Inter, sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ml-muted);
}

#comments .comment-form input[type="text"],
#comments .comment-form input[type="email"],
#comments .comment-form input[type="url"],
#comments .comment-form textarea,
#respond .comment-form input[type="text"],
#respond .comment-form input[type="email"],
#respond .comment-form input[type="url"],
#respond .comment-form textarea {
  width: 100%;
  border: 1px solid #e0e0da !important;
  border-radius: 12px !important;
  background: #fafaf8 !important;
  color: var(--ml-ink);
  font-family: Inter, sans-serif !important;
  font-size: 0.95rem !important;
  line-height: 1.5;
  padding: 0.85rem 1rem !important;
  box-shadow: none !important;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

#comments .comment-form textarea,
#respond .comment-form textarea {
  min-height: 9rem;
  resize: vertical;
  font-family: "Cormorant Garamond", Georgia, serif !important;
  font-size: 1.15rem !important;
  line-height: 1.7 !important;
}

#comments .comment-form input:focus,
#comments .comment-form textarea:focus,
#respond .comment-form input:focus,
#respond .comment-form textarea:focus {
  outline: none;
  border-color: #c9c9c2 !important;
  background: #ffffff !important;
  box-shadow: 0 0 0 3px rgba(143, 212, 0, 0.18) !important;
}

#comments .comment-input-wrap,
#respond .comment-input-wrap {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem 1rem;
}

#comments .comment-form-cookies-consent,
#respond .comment-form-cookies-consent {
  margin: 1rem 0 1.25rem;
  font-family: Inter, sans-serif;
  font-size: 0.82rem;
  color: var(--ml-muted);
}

#comments .form-submit,
#respond .form-submit {
  margin: 0;
}

#comments .form-submit input[type="submit"],
#respond .form-submit input[type="submit"],
#comments .form-submit .submit,
#respond .form-submit .submit {
  min-height: 48px;
  padding: 0.8rem 1.6rem !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: var(--ml-ink) !important;
  color: #ffffff !important;
  font-family: Inter, sans-serif !important;
  font-size: 0.78rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(10, 10, 10, 0.14);
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

#comments .form-submit input[type="submit"]:hover,
#respond .form-submit input[type="submit"]:hover {
  background: #222222 !important;
  transform: translateY(-1px);
  box-shadow: 0 16px 32px rgba(10, 10, 10, 0.18);
}

#comments .comment-list {
  list-style: none;
  margin: 0 0 2rem;
  padding: 0;
}

#comments .comment-list .comment {
  background: var(--ml-surface);
  border: 1px solid var(--ml-border);
  border-radius: 14px;
  padding: 1.25rem 1.35rem;
  margin: 0 0 1rem;
}

#comments .comments-title {
  font-family: Inter, sans-serif;
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ml-ink);
  margin: 0 0 1.25rem;
}

@media (max-width: 767px) {
  #comments .comment-input-wrap,
  #respond .comment-input-wrap {
    grid-template-columns: 1fr;
  }

  #comments .comment-respond,
  #respond.comment-respond {
    padding: 1.25rem;
  }
}

.entry-title a {
  font-family: Inter, sans-serif;
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  line-height: 1.35;
  color: var(--ml-ink);
}

/* Buttons */
.wp-block-button__link,
.button,
.button-primary,
a.wp-block-button__link {
  min-height: 48px;
  padding: 0.8rem 1.5rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--ml-accent-green) 0%, #b8e62d 100%) !important;
  color: var(--ml-ink) !important;
  font-weight: 600;
  letter-spacing: 0.03em;
  border: none;
  box-shadow: 0 10px 24px rgba(143, 212, 0, 0.22);
}

.wp-block-button.is-style-outline .wp-block-button__link {
  background: transparent !important;
  color: var(--ml-ink) !important;
  border: 1px solid var(--ml-ink) !important;
  box-shadow: none;
}

.wp-block-button.ml-cta-button .wp-block-button__link,
.ml-cta-button .wp-block-button__link {
  background: var(--ml-ink) !important;
  color: #ffffff !important;
  border: 1px solid var(--ml-ink) !important;
  box-shadow: 0 12px 28px rgba(10, 10, 10, 0.14);
  min-height: 48px;
  padding: 0.85rem 1.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.82rem;
  font-weight: 600;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.wp-block-button.ml-cta-button .wp-block-button__link:hover,
.ml-cta-button .wp-block-button__link:hover {
  background: #222222 !important;
  color: #ffffff !important;
  transform: translateY(-1px);
  box-shadow: 0 16px 32px rgba(10, 10, 10, 0.18);
}

/* Pagination — centered, premium, site-wide */
.pagination,
nav.pagination,
.navigation.pagination,
.wp-block-query-pagination {
  display: flex !important;
  justify-content: center !important;
  align-items: center;
  width: 100%;
  margin: 2.5rem 0 1rem !important;
  padding: 0;
}

.pagination .nav-links,
.navigation.pagination .nav-links,
.wp-block-query-pagination {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.45rem;
}

.pagination .page-numbers,
.navigation.pagination .page-numbers,
.wp-block-query-pagination .page-numbers,
.wp-block-query-pagination-numbers .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  min-height: 42px;
  padding: 0 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--ml-border);
  background: var(--ml-surface);
  color: var(--ml-ink) !important;
  font-family: Inter, sans-serif;
  font-size: 0.84rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-decoration: none !important;
  box-shadow: none;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.pagination .page-numbers:hover,
.navigation.pagination .page-numbers:hover,
.wp-block-query-pagination .page-numbers:hover {
  border-color: #cfcfc8;
  background: #f3f3ef;
  color: var(--ml-ink) !important;
  transform: translateY(-1px);
}

.pagination .page-numbers.current,
.navigation.pagination .page-numbers.current,
.wp-block-query-pagination .page-numbers.current {
  background: var(--ml-ink) !important;
  border-color: var(--ml-ink) !important;
  color: #ffffff !important;
  box-shadow: 0 10px 22px rgba(10, 10, 10, 0.14);
}

.pagination .page-numbers.prev,
.pagination .page-numbers.next,
.navigation.pagination .page-numbers.prev,
.navigation.pagination .page-numbers.next {
  min-width: 42px;
  color: var(--ml-muted) !important;
}

.pagination .page-numbers.dots,
.navigation.pagination .page-numbers.dots {
  border-color: transparent;
  background: transparent;
  min-width: 28px;
  color: var(--ml-muted) !important;
  box-shadow: none;
}

/* Footer — content-width, multi-column */
.site-footer,
.site-footer .site-middle-footer-wrap,
.site-footer .site-bottom-footer-wrap,
.site-footer .site-top-footer-wrap {
  background: var(--ml-ink) !important;
  color: rgba(232, 228, 220, 0.78);
}

.site-footer .site-container,
.site-footer .footer-html-inner,
.site-footer .footer-widget-area,
.site-footer .site-middle-footer-inner-wrap,
.site-footer .site-bottom-footer-inner-wrap {
  max-width: 1120px !important;
  width: min(1120px, calc(100% - 2.5rem)) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  box-sizing: border-box !important;
}

.site-footer a {
  color: rgba(243, 239, 230, 0.88);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--ml-accent-green);
}

.site-footer .footer-html-inner,
.site-footer .footer-section-inner,
.site-footer .footer-widget-area,
.site-footer .widget,
.site-footer .site-footer-row-container-inner {
  text-align: left !important;
}

.ml-footer {
  padding: 2.75rem 0 1.1rem;
  text-align: left !important;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow-wrap: anywhere;
}

.ml-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0rem 3rem;
  align-items: start;
  text-align: left !important;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.ml-footer__links {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 2rem 2.5rem;
  align-items: start;
  text-align: left !important;
}

.ml-footer__brand-col,
.ml-footer__nav,
.ml-footer__subscribe {
  text-align: left !important;
}

.ml-footer__logo,
.ml-footer__logo img,
.ml-footer-logo {
  max-width: 150px;
  height: auto;
  display: block;
  margin: 0 0 1rem 0 !important;
  margin-left: 0 !important;
  margin-right: auto;
  opacity: 0.96;
}

.ml-footer__sitename {
  margin: 0 0 0.85rem;
  font-family: Inter, sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffffff;
  text-align: left !important;
}

.ml-footer__tagline {
  margin: 0 0 1.6rem;
  max-width: 28rem;
  font-family: Inter, sans-serif;
  font-size: 0.95rem;
  line-height: 1.65;
  color: rgba(232, 228, 220, 0.72);
  text-align: left !important;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

.ml-footer__subscribe-title {
  margin: 0 0 0.75rem;
  font-family: Inter, sans-serif;
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.4;
  color: #ffffff;
  text-align: left !important;
}

.ml-footer__form,
.ml-subscribe-form {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  max-width: 26rem;
  padding: 0.35rem 0.35rem 0.35rem 0.95rem;
  border-radius: 14px;
  background: #ffffff;
  box-sizing: border-box;
}

.ml-footer__form br,
.ml-subscribe-form br {
  display: none !important;
}

.ml-footer__form input[type="hidden"],
.ml-subscribe-form input[type="hidden"] {
  display: none !important;
}

.ml-footer__form .screen-reader-text,
.ml-subscribe-form .screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.ml-footer__form input[type="email"],
.ml-subscribe-form input[type="email"] {
  flex: 1 1 auto;
  min-width: 0;
  border: 0 !important;
  padding: 0.65rem 0.35rem;
  font-family: Inter, sans-serif;
  font-size: 0.92rem;
  color: #161616;
  background: transparent !important;
  box-shadow: none !important;
}

.ml-footer__form input[type="email"]:focus,
.ml-subscribe-form input[type="email"]:focus {
  outline: none;
  box-shadow: none !important;
}

.ml-footer__form button,
.ml-subscribe-form button {
  flex: 0 0 auto;
  border: 0 !important;
  border-radius: 10px;
  background: #0a0a0a;
  color: #ffffff;
  padding: 0.7rem 1.15rem;
  font-family: Inter, sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
}

.ml-footer__form button:hover,
.ml-subscribe-form button:hover {
  background: #1b1b1b;
}

.ml-footer__notice,
.ml-subscribe-notice {
  margin: 0 0 0.7rem;
  font-family: Inter, sans-serif;
  font-size: 0.85rem;
  text-align: left !important;
}

.ml-footer__notice.is-success,
.ml-subscribe-notice.is-success {
  color: #c6e35a;
}

.ml-footer__notice.is-error,
.ml-subscribe-notice.is-error {
  color: #ffb4b4;
}

.ml-footer__legal-note {
  margin: 0.7rem 0 0;
  max-width: 26rem;
  font-family: Inter, sans-serif;
  font-size: 0.72rem;
  line-height: 1.5;
  color: rgba(232, 228, 220, 0.48);
  text-align: left !important;
}

.ml-footer__notice {
  margin: 0 0 0.7rem;
  font-family: Inter, sans-serif;
  font-size: 0.85rem;
  text-align: left !important;
}

.ml-footer__notice.is-success {
  color: #c6e35a;
}

.ml-footer__notice.is-error {
  color: #ffb4b4;
}

.ml-footer__heading {
  margin: 0 0 0.9rem;
  font-family: Inter, sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffffff;
  text-align: left !important;
}

.ml-footer__nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: left !important;
}

.ml-footer__nav li {
  margin: 0 0 0.65rem;
  text-align: left !important;
}

.ml-footer__nav a {
  font-family: Inter, sans-serif;
  font-size: 0.92rem;
  line-height: 1.45;
  color: rgba(232, 228, 220, 0.72);
}

.ml-footer__nav a:hover {
  color: #ffffff;
}

.ml-footer__bottom {
  margin-top: 1.15rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center !important;
}

.ml-footer__bottom p {
  margin: 0;
  font-family: Inter, sans-serif;
  font-size: 0.78rem;
  color: rgba(232, 228, 220, 0.5);
  text-align: center !important;
}

.ml-simple-page {
  max-width: 42rem;
  margin: 0 auto;
  padding: 0.5rem 0 2rem;
}

.ml-simple-page h1 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 600;
  margin: 0 0 0.85rem;
}

.ml-simple-lead {
  font-family: Inter, sans-serif !important;
  font-size: 1.05rem !important;
  line-height: 1.7 !important;
  color: var(--ml-muted) !important;
  margin-bottom: 1.25rem !important;
}

@media (max-width: 900px) {
  .ml-footer__grid {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }

  .ml-footer__brand-col,
  .ml-footer__subscribe,
  .ml-footer__tagline,
  .ml-footer__legal-note,
  .ml-footer__form {
    max-width: 100%;
    width: 100%;
  }

  .ml-footer__links {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 1.5rem 2rem;
  }
}

@media (max-width: 767px) {
  /* Full-bleed footer: one 16px inset only — nested wrappers must not stack padding */
  .site-footer .site-container,
  .site-footer .site-footer-row-container-inner,
  .site-footer .site-middle-footer-inner-wrap,
  .site-footer .site-bottom-footer-inner-wrap,
  .site-footer .footer-widget-area,
  .site-footer .footer-widget-area-inner,
  .site-footer .footer-html,
  .site-footer .footer-html-inner,
  .site-footer .footer-section-inner,
  .site-footer .site-info-inner {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box !important;
  }

  .site-footer .ml-footer {
    width: 100%;
    max-width: 100%;
    padding: 2.25rem 16px 1rem;
    box-sizing: border-box;
  }

  .ml-footer__grid,
  .ml-footer__brand-col,
  .ml-footer__subscribe,
  .ml-footer__links,
  .ml-footer__tagline,
  .ml-footer__legal-note,
  .ml-footer__form {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }

  .ml-footer__links {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 1.5rem 1.75rem;
  }

  .ml-footer__form {
    max-width: 100%;
  }

  .ml-footer__form button {
    padding: 0.65rem 0.85rem;
    font-size: 0.7rem;
  }
}

/* Homepage */
.home .content-area .entry-content {
  padding-top: 0.5rem;
  width: min(1120px, 100%);
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
}

.home .entry-hero {
  display: none !important;
}

.home .content-wrap > article.page.entry,
.home .content-area article.page.entry.content-bg,
.home article.page.entry.content-bg {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}

.home .ml-category-card {
  border: none !important;
  box-shadow: none !important;
  background: transparent !important;
  padding: 0.35rem 0.15rem 1rem;
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* Full-bleed homepage hero — editorial hierarchy */
.ml-home-hero {
  position: relative;
  width: 100vw;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  min-height: min(78vh, 820px);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
  color: #f4f1ea;
  background: #0e1012;
  --ml-hero-fade: 1;
  --ml-hero-cream: #f3efe6;
  --ml-hero-muted: rgba(233, 228, 216, 0.78);
  --ml-hero-accent: #c6e35a;
  --ml-hero-accent-soft: rgba(198, 227, 90, 0.88);
}

.ml-home-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  transform-origin: center center;
  will-change: transform;
}

.ml-home-hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% center;
  display: block;
  transform: scale(1.03);
  filter: saturate(0.94) contrast(1.03);
}

.ml-home-hero__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(10, 12, 14, 0.72) 0%, rgba(10, 12, 14, 0.42) 42%, rgba(10, 12, 14, 0.12) 72%, rgba(10, 12, 14, 0.04) 100%),
    linear-gradient(180deg, rgba(10, 12, 14, 0.16) 0%, rgba(10, 12, 14, 0.08) 50%, rgba(10, 12, 14, 0.36) 100%);
  opacity: var(--ml-hero-fade);
}

.ml-home-hero__inner {
  position: relative;
  z-index: 1;
  width: min(1200px, calc(100% - 3rem));
  margin: 0 auto;
  padding: 4.25rem 0 4.75rem;
  opacity: var(--ml-hero-fade);
}

.ml-home-hero__copy {
  max-width: min(46rem, 72%);
  padding-left: 1.5rem;
  border-left: 1px solid rgba(198, 227, 90, 0.38);
}

.ml-home-hero__brand {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem 0.85rem;
  margin: 0 0 1.35rem;
}

.ml-home-hero__brand-mark {
  display: inline-block;
  width: 1.65rem;
  height: 1px;
  background: var(--ml-hero-accent);
}

.ml-home-hero__brand-name {
  font-family: Inter, sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ml-hero-accent-soft);
}

.ml-home-hero__eyebrow {
  font-family: Inter, sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(233, 228, 216, 0.55);
}

.ml-home-hero__eyebrow::before {
  content: "·";
  margin-right: 0.75rem;
  color: rgba(233, 228, 216, 0.35);
}

.ml-home-hero__title {
  margin: 0 0 1.35rem;
  max-width: 18ch;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2.7rem, 5.4vw, 4.35rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.028em;
  color: var(--ml-hero-cream);
  text-wrap: balance;
}

.ml-home-hero__title-line {
  display: inline;
  font-weight: 500;
  color: var(--ml-hero-cream);
}

.ml-home-hero__title-accent {
  font-style: italic;
  font-weight: 500;
  color: var(--ml-hero-accent);
}

.ml-home-hero__title-rest {
  font-weight: 400;
  color: rgba(243, 239, 230, 0.92);
}

.ml-home-hero__text {
  margin: 0 0 1.85rem;
  max-width: 36rem;
  font-family: Inter, sans-serif;
  font-size: clamp(1rem, 1.4vw, 1.12rem);
  font-weight: 400;
  line-height: 1.72;
  letter-spacing: 0.01em;
  color: var(--ml-hero-muted);
}

.ml-home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem;
}

.ml-home-hero__cta {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  border: 1px solid rgba(243, 239, 230, 0.35);
  background: rgba(243, 239, 230, 0.94);
  color: #14160f !important;
  font-family: Inter, sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none !important;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.22);
  transition: transform 0.22s ease, background 0.22s ease, border-color 0.22s ease, color 0.22s ease;
}

.ml-home-hero__cta:hover {
  background: var(--ml-hero-accent);
  border-color: var(--ml-hero-accent);
  color: #14160f !important;
  transform: translateY(-2px);
}

.ml-home-hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 1.35rem;
  z-index: 2;
  width: 22px;
  height: 34px;
  margin-left: -11px;
  border: 1px solid rgba(243, 239, 230, 0.35);
  border-radius: 999px;
  opacity: calc(var(--ml-hero-fade) * 0.85);
}

.ml-home-hero__scroll span {
  display: block;
  width: 4px;
  height: 8px;
  margin: 8px auto 0;
  border-radius: 999px;
  background: var(--ml-hero-accent);
  animation: ml-hero-scroll 1.8s ease-in-out infinite;
}

[data-ml-hero-anim] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.ml-home-hero.is-ready [data-ml-hero-anim="brand"] {
  opacity: 1;
  transform: none;
  transition-delay: 0.1s;
}

.ml-home-hero.is-ready [data-ml-hero-anim="title"] {
  opacity: 1;
  transform: none;
  transition-delay: 0.28s;
}

.ml-home-hero.is-ready [data-ml-hero-anim="text"] {
  opacity: 1;
  transform: none;
  transition-delay: 0.44s;
}

.ml-home-hero.is-ready [data-ml-hero-anim="cta"],
.ml-home-hero.is-ready [data-ml-hero-anim="scroll"] {
  opacity: 1;
  transform: none;
  transition-delay: 0.6s;
}

@keyframes ml-hero-scroll {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(10px); opacity: 0.2; }
  100% { transform: translateY(0); opacity: 1; }
}

@media (max-width: 900px) {
  .ml-home-hero__copy {
    max-width: 100%;
  }

  .ml-home-hero__title {
    max-width: 16ch;
  }
}

@media (max-width: 767px) {
  .ml-home-hero__copy {
    padding-left: 1rem;
  }

  .ml-home-hero__title {
    max-width: none;
    font-size: clamp(2.35rem, 9vw, 3.1rem);
  }

  .main-navigation .menu > li > a,
  .header-navigation a,
  .site-header .menu > li > a {
    padding: 0.85rem 1.1rem !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  [data-ml-hero-anim],
  .ml-home-hero.is-ready [data-ml-hero-anim] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .ml-home-hero__scroll span {
    animation: none;
  }
}

.ml-section-title {
  font-family: Inter, sans-serif;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}

.ml-category-card {
  background: var(--ml-surface);
  border: 1px solid var(--ml-border);
  border-radius: var(--ml-radius);
  padding: 1.75rem;
  height: 100%;
  box-shadow: 0 8px 24px rgba(10, 10, 10, 0.04);
}

.ml-category-card h3 {
  margin-top: 0;
  font-size: 1.3rem;
  font-family: Inter, sans-serif;
}

.ml-category-card h3 a {
  color: var(--ml-ink);
  text-decoration: none;
}

.ml-category-card h3 a:hover {
  color: var(--ml-accent-blue);
}

.ml-category-card p {
  color: var(--ml-muted);
  font-family: Inter, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
}

.ml-category-card::before {
  content: "";
  display: block;
  width: 42px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--ml-accent-green), var(--ml-accent-blue));
  margin-bottom: 1rem;
}

.ml-category-card {
  display: flex;
  flex-direction: column;
}

.ml-category-cta-wrap {
  margin: auto 0 0 !important;
  padding-top: 1rem;
}

.ml-category-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: Inter, sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none !important;
  color: var(--ml-ink) !important;
  border-bottom: 1px solid rgba(10, 10, 10, 0.18);
  padding-bottom: 0.15rem;
  transition: color 0.25s ease, border-color 0.25s ease;
}

.ml-category-cta__arrow {
  display: inline-block;
  transform: translateX(0);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.ml-category-cta:hover,
.ml-category-card:hover .ml-category-cta {
  color: var(--ml-accent-blue) !important;
  border-color: rgba(61, 90, 254, 0.45);
}

.ml-category-cta:hover .ml-category-cta__arrow,
.ml-category-card:hover .ml-category-cta__arrow {
  transform: translateX(0.4rem);
}

/* Latest articles — center cards on narrow screens */
.home .ml-post-grid {
  width: 100%;
  max-width: 100%;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  box-sizing: border-box;
}

@media (max-width: 640px) {
  .home .ml-post-grid > .entry-list-item {
    width: 100%;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .home .content-area .entry-content {
    width: min(1120px, calc(100% - 1.25rem));
    padding-left: 0;
    padding-right: 0;
  }
}

/* Company pages — About / Contact */
body.page-about .entry-hero,
body.page-contact .entry-hero {
  display: none !important;
}

.ml-page {
  max-width: 44rem;
  margin: 0 auto;
  padding: 0.35rem 0 2.5rem;
}

.ml-page__eyebrow {
  margin: 0 0 0.65rem !important;
  font-family: Inter, sans-serif !important;
  font-size: 0.75rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  color: var(--ml-muted) !important;
}

.ml-page__title {
  font-family: "Cormorant Garamond", Georgia, serif !important;
  font-size: clamp(2.15rem, 4.5vw, 3.15rem) !important;
  font-weight: 600 !important;
  letter-spacing: -0.02em !important;
  line-height: 1.15 !important;
  color: var(--ml-ink) !important;
  margin: 0 0 1.15rem !important;
}

.ml-page__lead {
  font-family: Inter, sans-serif !important;
  font-size: 1.08rem !important;
  line-height: 1.75 !important;
  color: var(--ml-muted) !important;
  margin: 0 0 1.35rem !important;
}

.ml-page__section-title {
  font-family: Inter, sans-serif !important;
  font-size: clamp(1.2rem, 2vw, 1.45rem) !important;
  font-weight: 600 !important;
  letter-spacing: -0.02em !important;
  margin: 2.5rem 0 1.15rem !important;
  color: var(--ml-ink) !important;
}

.ml-page__section-title::after {
  content: "";
  display: block;
  width: 2.35rem;
  height: 2px;
  margin-top: 0.7rem;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--ml-accent-green), rgba(143, 212, 0, 0.2));
}

.ml-page .entry-content p,
.ml-page p {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.28rem;
  line-height: 1.8;
  color: var(--ml-text);
}

.ml-page__lead,
.ml-page__eyebrow,
.ml-belief h3,
.ml-belief p,
.ml-contact-card p,
.ml-contact-item h3,
.ml-contact-item p,
.ml-page__closing {
  font-family: Inter, sans-serif !important;
}

.ml-beliefs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 1.15rem;
  margin: 0 0 0.5rem;
}

.ml-belief {
  background: var(--ml-surface);
  border: 1px solid var(--ml-border);
  border-radius: 14px;
  padding: 1.15rem 1.2rem 1.2rem;
  box-shadow: 0 10px 28px rgba(10, 10, 10, 0.04);
}

.ml-belief h3 {
  margin: 0 0 0.45rem !important;
  font-size: 0.98rem !important;
  font-weight: 600 !important;
  letter-spacing: -0.01em !important;
  color: var(--ml-ink) !important;
}

.ml-belief p {
  margin: 0 !important;
  font-size: 0.92rem !important;
  line-height: 1.6 !important;
  color: var(--ml-muted) !important;
}

.ml-page__closing {
  margin: 1.75rem 0 1.5rem !important;
  font-size: 1.02rem !important;
  line-height: 1.7 !important;
  color: var(--ml-muted) !important;
}

.ml-contact-card {
  background: var(--ml-ink);
  color: #f3efe6;
  border-radius: 16px;
  padding: 1.5rem 1.6rem;
  margin: 0.35rem 0 2rem;
  box-shadow: 0 18px 42px rgba(10, 10, 10, 0.12);
}

.ml-contact-card__label {
  margin: 0 0 0.4rem !important;
  font-size: 0.72rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  color: rgba(243, 239, 230, 0.55) !important;
}

.ml-contact-card__email {
  margin: 0 0 0.45rem !important;
  font-size: clamp(1.2rem, 2.4vw, 1.55rem) !important;
  font-weight: 600 !important;
  letter-spacing: -0.02em !important;
}

.ml-contact-card__email a {
  color: #ffffff !important;
  text-decoration: none !important;
  border-bottom: 1px solid rgba(198, 227, 90, 0.45);
}

.ml-contact-card__email a:hover {
  color: var(--ml-accent-green) !important;
  border-color: var(--ml-accent-green);
}

.ml-contact-card__note {
  margin: 0 !important;
  font-size: 0.88rem !important;
  color: rgba(243, 239, 230, 0.62) !important;
}

.ml-contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.95rem;
  margin: 0 0 1.25rem;
}

.ml-contact-item {
  border-top: 1px solid var(--ml-border);
  padding: 1.1rem 0 0.35rem;
}

.ml-contact-item h3 {
  margin: 0 0 0.4rem !important;
  font-size: 1.02rem !important;
  font-weight: 600 !important;
  color: var(--ml-ink) !important;
}

.ml-contact-item p {
  margin: 0 !important;
  font-size: 0.95rem !important;
  line-height: 1.65 !important;
  color: var(--ml-muted) !important;
}

@media (max-width: 700px) {
  .ml-beliefs {
    grid-template-columns: 1fr;
  }
}

/* Page title / entry hero — compact light editorial band */
.entry-hero {
  position: relative;
  margin-bottom: 0 !important;
  border-bottom: 1px solid var(--ml-border);
  background: var(--ml-bg);
}

.entry-hero .entry-hero-container-inner {
  background: var(--ml-bg) !important;
  padding: 1.1rem 0 0.95rem !important;
  position: relative;
  overflow: hidden;
}

.entry-hero .hero-section-overlay {
  background: transparent !important;
  opacity: 0 !important;
}

.entry-hero .hero-container,
.entry-hero .hero-container.site-container {
  position: relative;
  z-index: 1;
}

.entry-hero .entry-header,
.entry-hero .entry-header.page-title,
.entry-hero .entry-header.post-archive-title,
.entry-hero .entry-header.category-title,
.entry-hero .entry-header.post-title {
  text-align: left;
  max-width: 100%;
  margin: 0;
  min-height: auto !important;
}

.entry-hero h1,
.entry-hero .entry-title,
.entry-hero .page-title,
.entry-hero .archive-title {
  font-family: "Cormorant Garamond", Georgia, serif !important;
  font-size: clamp(1.65rem, 2.8vw, 2.15rem) !important;
  font-weight: 600 !important;
  letter-spacing: -0.02em !important;
  line-height: 1.15 !important;
  color: var(--ml-ink) !important;
  margin: 0 !important;
}

.entry-hero h1::after,
.entry-hero .entry-title::after,
.entry-hero .page-title::after,
.entry-hero .archive-title::after {
  display: none;
}

.entry-hero .ml-hero-description,
.entry-hero .archive-description {
  display: none !important;
}

.entry-hero .kadence-breadcrumbs {
  max-width: 100%;
  margin: 0 0 0.45rem !important;
  text-align: left;
}

.entry-hero .kadence-breadcrumbs,
.entry-hero .kadence-breadcrumbs a,
.entry-hero .kadence-breadcrumbs .kadence-breadcrumb-item,
.entry-hero .kadence-breadcrumbs .kadence-breadcrumb-item a {
  color: #8a8a8a !important;
  font-family: Inter, sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.entry-hero .kadence-breadcrumbs a:hover {
  color: var(--ml-ink) !important;
}

/* Landing page: hide default "Home" hero, keep custom hero block */
.home .entry-hero.page-hero-section {
  display: none !important;
}

/* Tighter spacing below hero */
.entry-hero + #primary.content-area,
.entry-hero + .content-area {
  margin-top: 1.25rem !important;
}

.content-area {
  margin-top: 1.25rem !important;
  margin-bottom: clamp(2rem, 4vw, 3rem) !important;
}

#primary.content-area .content-container {
  padding-top: 0;
}

/* Links */
a {
  text-underline-offset: 0.15em;
}

.entry-content a,
.wp-block-post-content a {
  color: var(--ml-accent-blue);
}

/* Mobile */
@media (max-width: 767px) {
  body {
    font-size: 1.0625rem;
  }

  .entry-content,
  .wp-block-post-content {
    font-size: 1.2rem;
    line-height: 1.85;
  }

  .entry-hero .entry-hero-container-inner {
    padding: 0.95rem 0 0.85rem !important;
  }

  .entry-hero h1,
  .entry-hero .entry-title,
  .entry-hero .page-title,
  .entry-hero .archive-title {
    font-size: 1.5rem !important;
  }

  .ml-category-pills {
    gap: 0.45rem;
    margin-bottom: 1rem;
  }

  #archive-container.ml-dynamic-grid .entry-title {
    font-size: 0.92rem !important;
  }

  .site-header .brand.has-logo-image img,
  .site-header .custom-logo {
    max-height: 34px;
  }

  .main-navigation .menu > li > a,
  .mobile-navigation a {
    font-size: 1rem;
    padding: 0.9rem 1.2rem !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}
