/* ==========================================================================
   Hero
   ========================================================================== */

/* Column splits (first column's share; see .mmp-split in primary.css) */
.mmp-ip-hero-grid { --mmp-split: 46%; }


.mmp-ip-hero {
  background:
    radial-gradient(circle at 12% 18%, rgba(199, 151, 77, 0.14), transparent 34%),
    linear-gradient(180deg, var(--mmp-page-paper), var(--mmp-page-cream));
  padding: clamp(4.5rem, 7vw, 6.5rem) 0 !important;
}

.mmp-ip-hero-grid {
  gap: clamp(2rem, 5vw, 4rem) !important;
  align-items: center;
}

.mmp-ip-hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.mmp-ip-hero-h1 {
  font-family: var(--mmp-font-heading) !important;
  font-weight: 800 !important;
  font-size: clamp(3.4rem, 8vw, 7.2rem) !important;
  line-height: var(--mmp-display-line-height) !important;
  letter-spacing: var(--mmp-display-tracking) !important;
  color: var(--mmp-page-ink) !important;
  margin: 0 !important;
}

.mmp-ip-hero-lede {
  font-family: var(--mmp-font-editorial);
  font-size: clamp(1.25rem, 2.4vw, 1.6rem);
  line-height: 1.45;
  color: var(--mmp-page-ink);
  margin: 24px 0 0 !important;
}

.mmp-ip-hero-body {
  max-width: 640px;
  color: var(--mmp-page-muted);
  margin: 18px 0 0 !important;
}


/* ==========================================================================
   Buttons
   ========================================================================== */

.mmp-ip-btn-row {
  display: flex !important;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 30px !important;
}

.mmp-ip-btn .wp-block-button__link {
  background: var(--mmp-page-ink) !important;
  color: var(--mmp-page-paper) !important;
  border: 1px solid var(--mmp-page-ink) !important;
  border-radius: 999px !important;
  font-family: var(--mmp-font-body);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none !important;
  padding: 13px 22px;
}

.mmp-ip-btn.is-style-outline .wp-block-button__link,
.mmp-ip-btn-outline .wp-block-button__link {
  background: transparent !important;
  color: var(--mmp-page-ink) !important;
}

.mmp-ip-btn .wp-block-button__link:hover {
  background: var(--mmp-page-blue) !important;
  border-color: var(--mmp-page-blue) !important;
  color: var(--mmp-page-paper) !important;
  text-decoration: none !important;
}


/* ==========================================================================
   Hero Imprint Panels
   ========================================================================== */

.mmp-ip-panels {
  gap: 16px !important;
  min-height: 560px;
}

.mmp-ip-panel {
  min-height: 520px;
  padding: 24px !important;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: var(--mmp-page-paper);
  box-shadow: var(--mmp-page-shadow);
  position: relative;
  overflow: hidden;
  border-radius: 24px;
}

.mmp-ip-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.38));
}

.mmp-ip-panel > * {
  position: relative;
  z-index: 1;
}

.mmp-ip-panel-sab {
  background: linear-gradient(135deg, var(--mmp-page-blue), var(--mmp-page-sage));
}

.mmp-ip-panel-mmp {
  background: linear-gradient(135deg, var(--mmp-page-ink), var(--mmp-page-clay));
}

/* Stagger: the middle panel drops, whichever imprint sits there. */
.mmp-ip-panels > .mmp-ip-panel:nth-child(2) {
  transform: translateY(34px);
}

/* AMP green, matching the Appalachian Memory Project page */
.mmp-ip-panel-amp {
  background: linear-gradient(135deg, #2B432D, var(--amp-forest));
}

.mmp-ip-panel-label {
  font-family: var(--mmp-font-body);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: var(--mmp-eyebrow-tracking);
  text-transform: uppercase;
  color: var(--mmp-page-gold);
  margin: 0 !important;
}

.mmp-ip-panel-title {
  color: var(--mmp-page-paper) !important;
  margin: 0 0 10px !important;
}

.mmp-ip-panel-body {
  color: rgba(255, 250, 241, 0.82);
  margin: 0 !important;
}


/* ==========================================================================
   Intro
   ========================================================================== */

.mmp-ip-intro {
  background:
    radial-gradient(circle at 85% 12%, rgba(199, 151, 77, 0.16), transparent 34%),
    var(--mmp-page-ink);
  color: var(--mmp-page-paper);
  text-align: center;
  padding: clamp(4.5rem, 7vw, 6.5rem) 0 !important;
}

.mmp-ip-intro .mmp-kicker {
  color: var(--mmp-page-gold);
}

.mmp-ip-intro .mmp-kicker {
  margin: 0 0 1.25rem !important;
}

/* Statement headline: larger, capped width, balanced wrapping */
.mmp-ip-intro h2 {
  color: var(--mmp-page-paper) !important;
  font-size: clamp(2rem, 3.6vw, 3.25rem) !important;
  line-height: var(--mmp-h2-line-height) !important;
  letter-spacing: var(--mmp-h2-tracking);
  max-width: 920px;
  margin: 0 auto !important;
  text-wrap: balance;
}

.mmp-ip-intro-lede {
  color: rgba(255, 250, 241, 0.82);
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 640px;
  margin: 1.75rem auto 0 !important;
}


/* ==========================================================================
   Imprint Sections
   ========================================================================== */

.mmp-ip-imprint {
  background: var(--mmp-page-paper);
  padding: clamp(4.5rem, 7vw, 6.5rem) 0 !important;
}

.mmp-ip-imprint-alt {
  background: var(--mmp-page-cream);
}

.mmp-ip-imprint-grid {
  gap: clamp(2rem, 5vw, 4rem) !important;
  align-items: center;
}

/* Desktop: logo/media column 33%, info column 66% */
.mmp-ip-imprint-grid > .wp-block-column:first-child {
  flex-basis: 33% !important;
}

.mmp-ip-imprint-grid > .wp-block-column:last-child {
  flex-basis: 67% !important;
}

.mmp-ip-copy {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.mmp-ip-imprint-lede {
  font-family: var(--mmp-font-editorial);
  font-size: clamp(1.25rem, 2.4vw, 1.6rem);
  line-height: 1.45;
  color: var(--mmp-page-ink);
  margin: 0 !important;
}


/* ==========================================================================
   Pills
   ========================================================================== */

.mmp-ip-pill-row {
  display: flex !important;
  gap: 10px;
  flex-wrap: wrap;
}

.mmp-ip-pill {
  border: 1px solid var(--mmp-page-border);
  border-radius: 999px;
  padding: 7px 12px;
  font-family: var(--mmp-font-body);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--mmp-page-muted);
  background: rgba(255, 255, 255, 0.65);
  margin: 0 !important;
}


/* ==========================================================================
   Featured Project Cards
   ========================================================================== */

.mmp-ip-feature-card {
  background: #fff;
  border: 1px solid var(--mmp-page-border);
  border-radius: 22px;
  padding: 26px !important;
  box-shadow: var(--mmp-page-shadow);
}

.mmp-ip-feature-kicker {
  margin-bottom: 12px !important;
}

.mmp-ip-feature-title {
  color: var(--mmp-page-ink) !important;
  margin: 0 0 18px !important;
}

.mmp-ip-feature-layout {
  display: grid !important;
  grid-template-columns: minmax(86px, 112px) 1fr;
  gap: 18px;
  align-items: start;
}

.mmp-ip-feature-thumb {
  margin: 0 !important;
  width: 100%;
}

.mmp-ip-feature-thumb figure,
.mmp-ip-feature-thumb .wp-block-image {
  margin: 0 !important;
}

.mmp-ip-feature-thumb img {
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center center;
  display: block;
}

.mmp-ip-feature-content {
  padding: 0 !important;
  margin: 0 !important;
  align-self: start;
}

.mmp-ip-feature-content .wp-block-group__inner-container {
  padding: 0 !important;
  margin: 0 !important;
}

.mmp-ip-feature-content > *:first-child,
.mmp-ip-feature-content .wp-block-group__inner-container > *:first-child {
  margin-top: 0 !important;
}

.mmp-ip-feature-content p,
.mmp-ip-feature-description {
  color: var(--mmp-page-muted);
  margin: 0 !important;
  align-self: start;
}

/* ==========================================================================
   Media / Logo Blocks
   ========================================================================== */

.mmp-ip-media {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.mmp-ip-media-main {
  margin: 0 !important;
}

.mmp-ip-media-main img {
  width: 100%;
  min-height: 360px;
  object-fit: contain;
  object-position: center center;
  display: block;
  background: transparent;
}

.mmp-ip-media-main img[src=""] {
  min-height: 360px;
  background: linear-gradient(135deg, var(--mmp-page-blue), var(--mmp-page-sage));
}


/* ==========================================================================
   CTA
   ========================================================================== */

.mmp-ip-cta {
  background:
    radial-gradient(circle at 85% 18%, rgba(199, 151, 77, 0.2), transparent 34%),
    var(--mmp-page-ink);
  color: var(--mmp-page-paper);
  text-align: center;
  padding: clamp(4.5rem, 7vw, 6.5rem) 0 !important;
}

.mmp-ip-cta h2 {
  color: var(--mmp-page-paper) !important;
}

.mmp-ip-cta .mmp-kicker {
  color: var(--mmp-page-gold);
}

.mmp-ip-cta p {
  color: rgba(255, 250, 241, 0.82);
  max-width: 680px;
  margin: 22px auto 0 !important;
}

.mmp-ip-cta .mmp-ip-btn-row {
  justify-content: center;
}

.mmp-ip-cta .mmp-ip-btn .wp-block-button__link {
  background: var(--mmp-page-paper) !important;
  color: var(--mmp-page-ink) !important;
  border-color: var(--mmp-page-paper) !important;
}

.mmp-ip-cta .mmp-ip-btn .wp-block-button__link:hover {
  background: var(--mmp-page-gold) !important;
  border-color: var(--mmp-page-gold) !important;
  color: var(--mmp-page-ink) !important;
}

.mmp-ip-cta .mmp-ip-btn-outline .wp-block-button__link {
  background: transparent !important;
  color: var(--mmp-page-paper) !important;
  border-color: rgba(255, 250, 241, 0.45) !important;
}


/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 920px) {
  .mmp-ip-hero-grid,
  .mmp-ip-imprint-grid {
    flex-direction: column !important;
  }

  .mmp-ip-imprint-grid > .wp-block-column:first-child,
  .mmp-ip-imprint-grid > .wp-block-column:last-child {
    flex-basis: 100% !important;
  }

  .mmp-ip-panels {
    min-height: auto;
  }

  .mmp-ip-panel {
    min-height: 280px;
  }

  .mmp-ip-panels > .mmp-ip-panel:nth-child(2) {
    transform: none;
  }

  .mmp-ip-media-main img {
    max-width: 360px;
    min-height: 0;
    margin-inline: auto;
  }
}

@media (max-width: 680px) {
  .mmp-ip-panels {
    flex-direction: column !important;
  }

  .mmp-ip-panel {
    min-height: 230px;
  }

  .mmp-ip-hero-h1 {
    font-size: 3.2rem !important;
  }

  .mmp-ip-btn-row {
    flex-direction: column;
    align-items: stretch;
  }

  .mmp-ip-btn,
  .mmp-ip-btn .wp-block-button__link {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 600px) {
  .mmp-ip-feature-layout {
    grid-template-columns: 78px 1fr;
    gap: 14px;
  }
}


/* ==========================================================================
   EXPERIMENT (2026-10-15): imprint sections in their imprint colors
   Sound Archive Books (blue-to-sage), Appalachian Memory Project (green)
   and Million Memory Project (ink-to-clay) sections carry the gradient
   across the whole section; their featured cards stay white.
   ========================================================================== */

/* Blue-to-sage gets a light dark tint so white text passes AA at the
   lighter sage end. The green is dark enough without one. */
.mmp-ip-imprint--sab {
  background:
    linear-gradient(rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.15)),
    linear-gradient(135deg, var(--mmp-page-blue), var(--mmp-page-sage));
}

.mmp-ip-imprint--amp {
  background: linear-gradient(135deg, #2B432D, var(--amp-forest));
}

.mmp-ip-imprint--mmp {
  background: linear-gradient(135deg, var(--mmp-page-ink), var(--mmp-page-clay));
}

/* The MMP logo file is dark ink on transparent; recolor it to light
   paper on the brown section until a light logo file exists. */
.mmp-ip-imprint--mmp .mmp-ip-media-main img {
  filter: brightness(0) invert(1) sepia(0.12);
}

.mmp-ip-imprint--sab,
.mmp-ip-imprint--amp,
.mmp-ip-imprint--mmp {
  color: var(--mmp-page-paper);
}

.mmp-ip-imprint--sab .mmp-ip-copy .mmp-kicker:not(.mmp-ip-feature-kicker),
.mmp-ip-imprint--sab .mmp-ip-copy h2,
.mmp-ip-imprint--sab .mmp-ip-copy .mmp-ip-imprint-lede,
.mmp-ip-imprint--sab .mmp-ip-copy > p,
.mmp-ip-imprint--amp .mmp-ip-copy .mmp-kicker:not(.mmp-ip-feature-kicker),
.mmp-ip-imprint--amp .mmp-ip-copy h2,
.mmp-ip-imprint--amp .mmp-ip-copy .mmp-ip-imprint-lede,
.mmp-ip-imprint--amp .mmp-ip-copy > p,
.mmp-ip-imprint--mmp .mmp-ip-copy .mmp-kicker:not(.mmp-ip-feature-kicker),
.mmp-ip-imprint--mmp .mmp-ip-copy h2,
.mmp-ip-imprint--mmp .mmp-ip-copy .mmp-ip-imprint-lede,
.mmp-ip-imprint--mmp .mmp-ip-copy > p {
  color: var(--mmp-page-paper) !important;
}

.mmp-ip-imprint--sab .mmp-ip-pill,
.mmp-ip-imprint--amp .mmp-ip-pill,
.mmp-ip-imprint--mmp .mmp-ip-pill {
  color: var(--mmp-page-paper);
  background: rgba(255, 250, 241, 0.08);
  border-color: rgba(255, 250, 241, 0.45);
}

.mmp-ip-imprint--sab .mmp-ip-btn .wp-block-button__link,
.mmp-ip-imprint--amp .mmp-ip-btn .wp-block-button__link,
.mmp-ip-imprint--mmp .mmp-ip-btn .wp-block-button__link {
  background: var(--mmp-page-paper) !important;
  color: var(--mmp-page-ink) !important;
  border-color: var(--mmp-page-paper) !important;
}

.mmp-ip-imprint--sab .mmp-ip-btn .wp-block-button__link:hover,
.mmp-ip-imprint--amp .mmp-ip-btn .wp-block-button__link:hover,
.mmp-ip-imprint--mmp .mmp-ip-btn .wp-block-button__link:hover {
  background: var(--mmp-page-gold) !important;
  border-color: var(--mmp-page-gold) !important;
  color: var(--mmp-page-ink) !important;
}

.mmp-ip-imprint--sab .mmp-ip-feature-card,
.mmp-ip-imprint--amp .mmp-ip-feature-card,
.mmp-ip-imprint--mmp .mmp-ip-feature-card {
  border-color: transparent;
}

/* ==========================================================================
   IMPRINT SECTIONS — copy hierarchy (2026-10-15)
   Name as the clear headline, tagline as a serif pull-line with a gold
   rule, kicker/name/tagline grouped tightly, one consistent gap below,
   body capped at a readable line length.
   ========================================================================== */

.mmp-ip-imprint .mmp-ip-copy {
  gap: 0;
}

/* Kicker: small gold dash marks it as a section label */
.mmp-ip-imprint .mmp-ip-copy > .wp-block-group:first-child .mmp-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 10px !important;
}

.mmp-ip-imprint .mmp-ip-copy > .wp-block-group:first-child .mmp-kicker::before {
  content: "";
  width: 24px;
  height: 2px;
  background: var(--mmp-page-gold);
  flex-shrink: 0;
}

/* Imprint name: the headline */
.mmp-ip-imprint .mmp-ip-copy h2 {
  font-size: clamp(2.4rem, 3.6vw, 3.4rem) !important;
  line-height: var(--mmp-h2-line-height) !important;
  letter-spacing: var(--mmp-h2-tracking);
  margin: 0 !important;
}

/* Tagline: serif pull-line with a gold rule */
.mmp-ip-imprint .mmp-ip-imprint-lede {
  font-style: italic;
  font-size: clamp(1.15rem, 1.6vw, 1.4rem);
  line-height: 1.4;
  border-left: 3px solid var(--mmp-page-gold);
  padding-left: 16px;
  margin: 14px 0 0 !important;
}

/* Body: readable measure, one clear gap above */
.mmp-ip-imprint .mmp-ip-copy > p:not(.mmp-ip-imprint-lede) {
  font-size: 1.0625rem;
  line-height: 1.7;
  max-width: 60ch;
  margin: 32px 0 0 !important;
}

.mmp-ip-imprint .mmp-ip-copy > .mmp-ip-pill-row {
  margin: 28px 0 0 !important;
}

.mmp-ip-imprint .mmp-ip-copy > .mmp-ip-feature-card {
  margin: 32px 0 0 !important;
}

.mmp-ip-imprint .mmp-ip-media > .mmp-ip-btn-row {
  margin: 0 !important;
  justify-content: center;
}

/* ==========================================================================
   IMPRINT SECTIONS — call-to-action buttons (2026-10-15)
   Larger, with an arrow and a lift on hover. Each imprint gets a color
   that stands out from its section background (all text pairs pass AA):
   SAB gold / ink, AMP field / dark green, MMP paper / clay.
   ========================================================================== */

.mmp-ip-imprint .mmp-ip-media .mmp-ip-btn .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  padding: 17px 30px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.mmp-ip-imprint .mmp-ip-media .mmp-ip-btn .wp-block-button__link::after {
  content: "\2192";
  font-size: 1.1em;
  line-height: 1;
  transition: transform 0.15s ease;
}

.mmp-ip-imprint .mmp-ip-media .mmp-ip-btn .wp-block-button__link:hover,
.mmp-ip-imprint .mmp-ip-media .mmp-ip-btn .wp-block-button__link:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.28);
}

.mmp-ip-imprint .mmp-ip-media .mmp-ip-btn .wp-block-button__link:hover::after {
  transform: translateX(3px);
}

/* Sound Archive Books: gold on blue */
.mmp-ip-imprint--sab .mmp-ip-media .mmp-ip-btn .wp-block-button__link {
  background: var(--mmp-page-gold) !important;
  border-color: var(--mmp-page-gold) !important;
  color: var(--mmp-page-ink) !important;
}

.mmp-ip-imprint--sab .mmp-ip-media .mmp-ip-btn .wp-block-button__link:hover {
  background: #e4c784 !important;
  border-color: #e4c784 !important;
}

/* Appalachian Memory Project: AMP field with dark green text */
.mmp-ip-imprint--amp .mmp-ip-media .mmp-ip-btn .wp-block-button__link {
  background: var(--amp-field) !important;
  border-color: var(--amp-field) !important;
  color: #2B432D !important;
}

.mmp-ip-imprint--amp .mmp-ip-media .mmp-ip-btn .wp-block-button__link:hover {
  background: #fff !important;
  border-color: #fff !important;
  color: #2B432D !important;
}

/* Million Memory Project: paper with clay text, gold on hover */
.mmp-ip-imprint--mmp .mmp-ip-media .mmp-ip-btn .wp-block-button__link {
  background: var(--mmp-page-paper) !important;
  border-color: var(--mmp-page-paper) !important;
  color: var(--mmp-page-clay) !important;
}

.mmp-ip-imprint--mmp .mmp-ip-media .mmp-ip-btn .wp-block-button__link:hover {
  background: var(--mmp-page-gold) !important;
  border-color: var(--mmp-page-gold) !important;
  color: var(--mmp-page-ink) !important;
}

@media (max-width: 680px) {
  .mmp-ip-imprint .mmp-ip-media .mmp-ip-btn .wp-block-button__link {
    justify-content: center;
    padding: 16px 22px;
  }
}


/* ==========================================================================
   IMPRINT SECTIONS — logo column (2026-10-15; 2026-10-19: covers removed,
   Explore button moved under the logo)
   Desktop: the copy column sets the row height. The logo column fills it:
   the logo scales into the space and the Explore button sits at the
   bottom, level with the case study card.
   ========================================================================== */

@media (min-width: 921px) {
  .mmp-ip-imprint .mmp-ip-imprint-grid {
    align-items: stretch !important;
  }

  /* The copy column alone sets the row height; the media column fills it */
  .mmp-ip-imprint .mmp-ip-imprint-grid > .wp-block-column:first-child {
    position: relative;
  }

  .mmp-ip-imprint .mmp-ip-imprint-grid > .wp-block-column:first-child > .mmp-ip-media {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    gap: 28px;
  }

  /* Logo scales to the space left above the button */
  .mmp-ip-imprint .mmp-ip-media > figure {
    flex: 1 1 auto;
    min-height: 0;
    margin: 0 !important;
  }

  .mmp-ip-imprint .mmp-ip-media > figure img {
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    max-width: none !important;
    object-fit: contain;
    object-position: center center;
  }

  .mmp-ip-imprint .mmp-ip-media > .mmp-ip-btn-row {
    flex: 0 0 auto;
  }
}

/* ==========================================================================
   MASTHEAD PANELS — clickable, jump to their imprint section (2026-10-15)
   The panel title links to the section anchor; its ::after stretches over
   the whole panel. The dark overlay moves from ::before into each panel's
   background so nothing sits between the link and the text. Panels are
   hidden on phones.
   ========================================================================== */

html {
  scroll-behavior: smooth;
}

.mmp-ip-imprint {
  scroll-margin-top: 24px;
}

.mmp-ip-panel::before {
  display: none;
}

.mmp-ip-panel > *,
.mmp-ip-panel .wp-block-group,
.mmp-ip-panel .mmp-ip-panel-title {
  position: static;
}

.mmp-ip-panel-sab {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.38)),
    linear-gradient(135deg, var(--mmp-page-blue), var(--mmp-page-sage));
}

.mmp-ip-panel-amp {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.38)),
    linear-gradient(135deg, #2B432D, var(--amp-forest));
}

.mmp-ip-panel-mmp {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.38)),
    linear-gradient(135deg, var(--mmp-page-ink), var(--mmp-page-clay));
}

.mmp-ip-panel-title a,
.mmp-ip-panel-title a:visited {
  color: inherit !important;
  text-decoration: none !important;
}

.mmp-ip-panel-title a::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  z-index: 2;
}

.mmp-ip-panel {
  cursor: pointer;
  transition: translate 0.2s ease, box-shadow 0.2s ease;
}

.mmp-ip-panel:hover,
.mmp-ip-panel:focus-within {
  translate: 0 -6px;
  box-shadow: 0 30px 70px rgba(48, 43, 40, 0.24);
}

.mmp-ip-panel:focus-within {
  outline: 3px solid var(--mmp-page-gold);
  outline-offset: 4px;
}

.mmp-ip-panel-title a:focus {
  outline: none;
}

@media (max-width: 680px) {
  .mmp-ip-hero-grid > .wp-block-column:last-child {
    display: none !important;
  }
}

/* Case study card ([mmp_imprint_case_study], 2026-10-19): summary and the
   "Read the case study" link share the text column. */
.mmp-ip-feature-link {
  margin: 14px 0 0 !important;
}

.mmp-ip-feature-link a {
  color: var(--mmp-page-blue);
  font-weight: 800;
  text-decoration: none;
}

.mmp-ip-feature-link a:hover,
.mmp-ip-feature-link a:focus-visible {
  color: var(--mmp-page-gold);
}


/* ==========================================================================
   IMPRINT SECTIONS — Explore button under the logo (2026-10-19)
   Desktop: a tighter button so the label fits the logo column on one line
   from ~1280px; narrower desktops wrap it rather than overflow.
   Tablet/phone (stacked): logo, then the copy and case study, then the
   button; every logo is capped like the SAB one.
   ========================================================================== */

@media (min-width: 921px) {
  .mmp-ip-imprint .mmp-ip-media .mmp-ip-btn .wp-block-button__link {
    font-size: 0.76rem;
    letter-spacing: 0.04em;
    padding: 15px 20px;
    text-align: center;
  }
}

@media (max-width: 920px) {
  .mmp-ip-imprint .mmp-ip-imprint-grid {
    display: flex !important;
    flex-direction: column !important;
  }

  .mmp-ip-imprint .mmp-ip-imprint-grid > .wp-block-column:first-child,
  .mmp-ip-imprint .mmp-ip-media {
    display: contents;
  }

  .mmp-ip-imprint .mmp-ip-media > figure {
    order: 1;
    margin: 0 !important;
  }

  .mmp-ip-imprint .mmp-ip-media > figure {
    min-width: 0;
  }

  .mmp-ip-imprint .mmp-ip-media > figure img {
    display: block;
    width: 100%;
    max-width: min(360px, 100%) !important;
    min-height: 0;
    margin-inline: auto;
  }

  .mmp-ip-imprint .mmp-ip-copy {
    order: 2;
    flex-basis: auto !important;
  }

  .mmp-ip-imprint .mmp-ip-media > .mmp-ip-btn-row {
    order: 3;
    margin-top: 0 !important;
  }
}

/* ==========================================================================
   IMPRINT SECTIONS — logo and name link like the Explore button (2026-10-19)
   ========================================================================== */

.mmp-ip-imprint .mmp-ip-copy h2 a {
  color: inherit !important;
  text-decoration: none;
}

.mmp-ip-imprint .mmp-ip-copy h2 a:hover,
.mmp-ip-imprint .mmp-ip-copy h2 a:focus-visible {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
  text-decoration-color: var(--mmp-page-gold);
}

.mmp-ip-imprint .mmp-ip-media > figure > a {
  display: block;
  height: 100%;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.mmp-ip-imprint .mmp-ip-media > figure > a:hover,
.mmp-ip-imprint .mmp-ip-media > figure > a:focus-visible {
  transform: translateY(-3px);
  opacity: 0.9;
}
