/*
Theme Name: Michas Marketing
Description: Update-sicheres Child Theme für Michas Marketing
Author: Michael
Template: generatepress
Version: 1.0.0
Text Domain: michasmarketing
*/

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

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

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

@font-face {
  font-family: "Oswald";
  src: url("assets/fonts/oswald-latin-500-normal.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 500;
}

@font-face {
  font-family: "Oswald";
  src: url("assets/fonts/oswald-latin-600-normal.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 600;
}

@font-face {
  font-family: "Oswald";
  src: url("assets/fonts/oswald-latin-700-normal.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 700;
}

:root {
  --mm-brand-50: #eaf1f8;
  --mm-brand-100: #cfe0ef;
  --mm-brand-200: #9fc0e0;
  --mm-brand-400: #3a7cbd;
  --mm-brand-500: #1c5da3;
  --mm-brand-600: #004488;
  --mm-brand-700: #033769;
  --mm-brand-800: #08294d;
  --mm-brand-900: #0a1f39;
  --mm-accent-400: #e0a13a;
  --mm-accent-500: #c8862a;
  --mm-ink-50: #f7f8fa;
  --mm-ink-100: #eceef1;
  --mm-ink-200: #d7dbe1;
  --mm-ink-400: #8a929d;
  --mm-ink-600: #4b525c;
  --mm-ink-700: #373d45;
  --mm-ink-800: #262b32;
  --mm-ink-900: #14171b;
  --mm-shadow-sm: 0 1px 3px rgb(20 23 27 / 0.09), 0 1px 2px rgb(20 23 27 / 0.04);
  --mm-shadow-lg: 0 18px 36px rgb(10 31 57 / 0.14);
  --mm-radius: 1rem;
  --mm-container: 72rem;
  --mm-narrow: 48rem;
}

html { scroll-behavior: smooth; }

body,
button,
input,
select,
textarea { font-family: "Inter", ui-sans-serif, system-ui, sans-serif; }

body {
  background: #fff;
  color: var(--mm-ink-800);
  font-size: 16px;
  line-height: 1.65;
}

h1,
h2,
h3,
h4,
h5,
h6,
.font-display {
  color: var(--mm-brand-800);
  font-family: "Oswald", "Inter", ui-sans-serif, system-ui, sans-serif;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.18;
}

a { color: var(--mm-brand-600); text-decoration-thickness: 0.08em; text-underline-offset: 0.14em; }
a:hover, a:focus-visible { color: var(--mm-brand-700); }
img { height: auto; max-width: 100%; }
button, summary, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--mm-accent-400); outline-offset: 3px; }

.mm-container,
.mm-container-narrow {
  box-sizing: border-box;
  margin-inline: auto;
  padding-inline: 1.5rem;
  width: 100%;
}
.mm-container { max-width: var(--mm-container); }
.mm-container-narrow { max-width: var(--mm-narrow); }

/* GeneratePress shell. */
.site.grid-container,
.site-content.grid-container,
#page,
#content { max-width: none; padding: 0; width: 100%; }
#page, .site-content { background: transparent; }
.site-content { display: block; }
.content-area, .mm-main { float: none; width: 100%; }
.site-footer, .site-info { background: transparent; padding: 0; }
.inside-site-info { display: block; padding: 0; }
.mm-main { min-height: 55vh; }

/* Header and navigation. */
.mm-site-header {
  background: rgb(10 31 57 / 0.94);
  border-bottom: 1px solid rgb(255 255 255 / 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.admin-bar .mm-site-header { top: 32px; }
.mm-header-inner {
  align-items: center;
  display: flex;
  gap: 1.5rem;
  justify-content: space-between;
  min-height: 80px;
  padding-block: 0.7rem;
}
.mm-logo { border-radius: 0.2rem; box-shadow: 0 7px 18px rgb(0 0 0 / 0.12); display: block; flex: 0 0 auto; overflow: hidden; text-decoration: none; }
.mm-logo:hover, .mm-logo:focus-visible { color: #fff; }
.mm-logo-mark { display: block; width: 190px; }
.mm-logo-mark img { display: block; height: auto; width: 100%; }
.mm-nav-list, .mm-mobile-menu, .mm-site-footer ul, .mm-breadcrumbs ol, .mm-related ul { list-style: none; margin: 0; padding: 0; }
.mm-nav-list { align-items: center; display: flex; flex-wrap: nowrap; gap: 0.1rem; justify-content: flex-end; }
.mm-nav-list a {
  border-radius: 999px;
  color: rgb(255 255 255 / 0.8);
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.55rem 0.7rem;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}
.mm-nav-list a:hover,
.mm-nav-list a:focus-visible,
.mm-nav-list .current-menu-item > a,
.mm-nav-list .current_page_item > a { background: rgb(255 255 255 / 0.1); color: #fff; }
.mm-mobile-nav { display: none; position: relative; }
.mm-mobile-nav summary {
  border: 1px solid rgb(255 255 255 / 0.22);
  border-radius: 999px;
  color: #fff;
  cursor: pointer;
  font-size: 0.875rem;
  font-weight: 500;
  list-style: none;
  padding: 0.5rem 1rem;
}
.mm-mobile-nav summary::-webkit-details-marker { display: none; }
.mm-mobile-menu {
  background: #fff;
  border: 1px solid var(--mm-ink-100);
  border-radius: 0.8rem;
  box-shadow: var(--mm-shadow-lg);
  min-width: min(19rem, calc(100vw - 2rem));
  padding: 0.5rem;
  position: absolute;
  right: 0;
  top: calc(100% + 0.6rem);
}
.mm-mobile-menu a {
  border-radius: 0.55rem;
  color: var(--mm-ink-600);
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.65rem 0.75rem;
  text-decoration: none;
}
.mm-mobile-menu a:hover, .mm-mobile-menu a:focus-visible { background: var(--mm-brand-50); color: var(--mm-brand-600); }

/* Footer. */
.mm-site-footer { background: var(--mm-ink-50); border-top: 1px solid var(--mm-ink-100); color: var(--mm-ink-600); font-size: 0.875rem; }
.mm-footer-inner { align-items: center; display: flex; gap: 1rem; justify-content: space-between; padding-block: 2rem; }
.mm-footer-inner p { margin: 0; }
.mm-site-footer ul { display: flex; flex-wrap: wrap; gap: 1rem; }
.mm-site-footer a, .mm-site-footer button { background: none; border: 0; color: var(--mm-ink-600); cursor: pointer; font-size: inherit; padding: 0; text-decoration: none; }
.mm-site-footer a:hover, .mm-site-footer button:hover { color: var(--mm-brand-600); }

/* Shared page heading and article content. */
.mm-page-header { background: var(--mm-ink-50); border-bottom: 1px solid var(--mm-ink-100); padding-block: 3.5rem; }
.mm-page-header h1 { font-size: clamp(2rem, 5vw, 2.75rem); margin: 1rem 0 0; }
.mm-page-intro { color: var(--mm-ink-600); margin-top: 1rem; }
.mm-page-intro > :first-child, .mm-article > :first-child { margin-top: 0; }
.mm-page-intro > :last-child, .mm-article > :last-child { margin-bottom: 0; }
.mm-page-intro h2, .mm-page-intro h3, .mm-page-intro h4 { margin-top: 1.75rem; }
.mm-breadcrumbs { color: var(--mm-ink-400); font-size: 0.8rem; }
.mm-breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 0.35rem; }
.mm-breadcrumbs li:not(:last-child)::after { color: var(--mm-ink-400); content: "/"; margin-left: 0.35rem; }
.mm-breadcrumbs a { color: var(--mm-brand-600); text-decoration: none; }
.mm-eyebrow { background: var(--mm-brand-50); border-radius: 999px; color: var(--mm-brand-600); display: inline-block; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em; margin-top: 1.25rem; padding: 0.3rem 1rem; text-transform: uppercase; }
.mm-post-meta, .mm-card-date { color: var(--mm-ink-400); font-size: 0.875rem; }
.mm-post-meta { margin: 0.8rem 0 0; }
.mm-article { color: var(--mm-ink-800); padding-block: 3rem; }
.mm-article p, .mm-article ul, .mm-article ol, .mm-article table, .mm-article blockquote, .mm-article figure, .mm-article .wp-block-image, .mm-page-intro p, .mm-page-intro ul, .mm-page-intro ol { margin-bottom: 1.35rem; }
.mm-article h2 { font-size: 1.75rem; margin: 2.6rem 0 1rem; }
.mm-article h3 { font-size: 1.35rem; margin: 2rem 0 0.8rem; }
.mm-article h4 { font-size: 1.12rem; margin: 1.7rem 0 0.7rem; }
.mm-article li + li { margin-top: 0.4rem; }
.mm-article blockquote { border-left: 4px solid var(--mm-accent-400); color: var(--mm-ink-700); margin-inline: 0; padding: 0.5rem 0 0.5rem 1.25rem; }
.mm-article img, .mm-page-intro img { border-radius: 0.875rem; }
.mm-article figcaption, .mm-article .wp-element-caption, .mm-ai-note { color: var(--mm-ink-400); font-size: 0.75rem; margin-top: 0.45rem; }
.mm-editorial-notice { border-top: 1px solid var(--mm-ink-100); color: var(--mm-ink-500); font-size: 0.78rem; line-height: 1.55; margin-top: 3.5rem; padding-top: 1rem; }
.mm-editorial-notice p { margin: 0; }
.mm-editorial-notice strong { color: var(--mm-ink-600); font-weight: 600; }
.mm-article table { border-collapse: collapse; display: block; max-width: 100%; overflow-x: auto; width: max-content; }
.mm-article th, .mm-article td { border: 1px solid var(--mm-ink-200); padding: 0.65rem 0.8rem; text-align: left; vertical-align: top; }
.mm-article th { background: var(--mm-brand-50); color: var(--mm-brand-800); }
.mm-related { padding-bottom: 3.5rem; }
.mm-related h2 { font-size: 1.25rem; }
.mm-related ul { display: grid; gap: 0.55rem 2rem; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 1rem; }

/* Sections and cards. */
.mm-section { padding-block: 4rem; }
.mm-section-heading { align-items: flex-end; display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; }
.mm-section-heading h2 { font-size: clamp(2rem, 4vw, 2.5rem); margin: 0; }
.mm-section-heading > a { font-size: 0.875rem; font-weight: 600; }
.mm-card-grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.mm-content-card, .mm-latest-card, .mm-topic-card { background: #fff; border-radius: var(--mm-radius); box-shadow: var(--mm-shadow-sm); color: var(--mm-ink-800); overflow: hidden; text-decoration: none; transition: box-shadow 0.25s ease, transform 0.25s ease; }
.mm-content-card, .mm-topic-card { border-top: 4px solid var(--mm-accent-400); outline: 1px solid var(--mm-ink-100); }
.mm-content-card { display: flex; flex-direction: column; min-height: 100%; }
.mm-content-card:hover, .mm-content-card:focus-visible, .mm-latest-card:hover, .mm-latest-card:focus-visible, .mm-topic-card:hover { box-shadow: var(--mm-shadow-lg); color: var(--mm-ink-800); transform: translateY(-4px); }
.mm-card-image, .mm-latest-image { aspect-ratio: 16 / 9; overflow: hidden; }
.mm-card-image img, .mm-latest-image img { height: 100%; object-fit: cover; transition: transform 0.35s ease; width: 100%; }
.mm-content-card:hover img, .mm-latest-card:hover img { transform: scale(1.04); }
.mm-card-body { flex: 1; padding: 1.75rem; }
.mm-card-body h3, .mm-latest-body h3, .mm-topic-card h3 { color: var(--mm-brand-700); font-size: 1.2rem; margin: 0; }
.mm-card-body p, .mm-latest-body > p:last-child, .mm-topic-card p { color: var(--mm-ink-600); margin: 0.75rem 0 0; }

/* Homepage. */
.mm-hero { background-color: var(--mm-brand-900); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 600' preserveAspectRatio='xMidYMid slice'%3E%3Cg fill='none' stroke='%23fff' stroke-opacity='.22' stroke-width='1.5'%3E%3Cpath d='M80 90 260 180 220 340 420 440 700 400 620 230 820 160M260 180 460 120 620 230'/%3E%3Cpath d='M0 505 220 340M460 120 540 0M820 160 1000 55M700 400 790 600'/%3E%3C/g%3E%3Cg fill='%23e0a13a' fill-opacity='.6'%3E%3Ccircle cx='80' cy='90' r='6'/%3E%3Ccircle cx='460' cy='120' r='5'/%3E%3Ccircle cx='700' cy='400' r='6'/%3E%3C/g%3E%3Cg fill='%23fff' fill-opacity='.5'%3E%3Ccircle cx='260' cy='180' r='5'/%3E%3Ccircle cx='220' cy='340' r='5'/%3E%3Ccircle cx='620' cy='230' r='5'/%3E%3Ccircle cx='820' cy='160' r='5'/%3E%3Ccircle cx='420' cy='440' r='5'/%3E%3C/g%3E%3C/svg%3E"), linear-gradient(180deg, var(--mm-brand-800), var(--mm-brand-900)); background-position: center; background-repeat: no-repeat; background-size: cover; color: #fff; isolation: isolate; overflow: hidden; position: relative; }
.mm-hero::before, .mm-hero::after { border-radius: 999px; content: ""; filter: blur(64px); pointer-events: none; position: absolute; }
.mm-hero::before { background: rgb(28 93 163 / 0.25); height: 24rem; right: -8rem; top: -8rem; width: 24rem; }
.mm-hero::after { background: rgb(224 161 58 / 0.12); bottom: -6rem; height: 18rem; left: 33%; width: 18rem; }
.mm-hero-network { height: 100%; inset: 0; opacity: 0.34; pointer-events: none; position: absolute; width: 100%; z-index: 0; }
.mm-hero-network line { stroke: rgb(255 255 255 / 0.66); stroke-width: 1.6; vector-effect: non-scaling-stroke; }
.mm-hero-network-points circle { fill: var(--mm-accent-400); filter: drop-shadow(0 0 8px rgb(224 161 58 / 0.45)); opacity: 0.8; }
.mm-hero-inner { align-items: center; display: grid; gap: 3rem; grid-template-columns: repeat(2, minmax(0, 1fr)); padding-block: 6rem; position: relative; z-index: 1; }
.mm-hero .mm-eyebrow { background: rgb(255 255 255 / 0.1); color: var(--mm-accent-400); margin: 0; }
.mm-hero h1 { color: #fff; font-size: clamp(2.75rem, 6vw, 4rem); margin: 1.25rem 0 0; }
.mm-hero-copy > p { color: rgb(255 255 255 / 0.72); font-size: 1.125rem; margin: 1.5rem 0 0; }
.mm-hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }
.mm-button-primary, .mm-button-secondary, .mm-hero-button, .mm-tool button, .search-submit { border-radius: 999px; cursor: pointer; display: inline-flex; font-size: 0.875rem; font-weight: 600; justify-content: center; line-height: 1.2; padding: 0.8rem 1.5rem; text-decoration: none; transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease; }
.mm-button-primary, .mm-hero-button.is-primary, .mm-tool .is-primary, .search-submit { background: var(--mm-accent-400); border: 1px solid var(--mm-accent-400); color: var(--mm-brand-900); }
.mm-button-primary:hover, .mm-hero-button.is-primary:hover, .mm-tool .is-primary:hover, .search-submit:hover { background: var(--mm-accent-500); border-color: var(--mm-accent-500); color: var(--mm-brand-900); }
.mm-hero-button.is-secondary { border: 1px solid rgb(255 255 255 / 0.3); color: #fff; }
.mm-hero-button.is-secondary:hover { background: rgb(255 255 255 / 0.1); color: #fff; }
.mm-hero-visual { position: relative; }
.mm-hero-visual::before { background-color: rgb(255 255 255 / 0.025); background-image: radial-gradient(circle, rgb(255 255 255 / 0.3) 1px, transparent 1.5px); background-size: 18px 18px; border: 1px solid rgb(255 255 255 / 0.1); border-radius: calc(var(--mm-radius) + 0.35rem); content: ""; inset: -1.15rem 1.5rem 1rem -1.25rem; pointer-events: none; position: absolute; transform: rotate(-2deg); }
.mm-hero-visual img { border: 1px solid rgb(255 255 255 / 0.12); border-radius: var(--mm-radius); box-shadow: 0 25px 55px rgb(0 0 0 / 0.28); display: block; position: relative; width: 100%; z-index: 1; }
.mm-hero-visual p { color: rgb(255 255 255 / 0.42); font-size: 0.75rem; margin: 0.45rem 0 0; position: relative; z-index: 1; }
.mm-stats { background: #fff; border-bottom: 1px solid var(--mm-ink-100); padding-block: 2.5rem; }
.mm-stats-grid { display: grid; gap: 2rem; grid-template-columns: repeat(4, minmax(0, 1fr)); text-align: center; }
.mm-stat strong { color: var(--mm-brand-700); display: block; font-family: "Oswald", sans-serif; font-size: clamp(2rem, 4vw, 2.5rem); font-weight: 600; line-height: 1; }
.mm-stat span { color: var(--mm-ink-600); display: block; font-size: 0.875rem; margin-top: 0.45rem; }
.mm-topics { padding-block: 6rem; }
.mm-topics h2, .mm-about h2 { font-size: clamp(2rem, 4vw, 2.5rem); margin: 0; }
.mm-topic-grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 2.5rem; }
.mm-topic-card { padding: 1.75rem; }
.mm-latest-section { background: var(--mm-ink-50); padding-block: 6rem; }
.mm-latest-grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 2.5rem; }
.mm-latest-card { display: flex; }
.mm-latest-card.is-featured { flex-direction: column; grid-row: span 2; }
.mm-latest-card:not(.is-featured) .mm-latest-image { aspect-ratio: 1; flex: 0 0 10rem; }
.mm-latest-body { padding: 1.25rem; }
.mm-latest-card.is-featured .mm-latest-body { padding: 1.75rem; }
.mm-latest-card.is-featured .mm-latest-body h3 { font-size: 1.5rem; }
.mm-card-date { margin: 0 0 0.3rem; }
.mm-about { padding-block: 6rem; }
.mm-about-grid { align-items: start; display: grid; gap: 2.5rem; grid-template-columns: minmax(180px, 1fr) minmax(0, 2fr); }
.mm-about-portrait img { border-radius: var(--mm-radius); box-shadow: var(--mm-shadow-lg); display: block; max-width: 220px; width: 100%; }
.mm-about-copy h3 { font-size: 1.25rem; margin: 1.7rem 0 0; }
.mm-about-copy p { color: var(--mm-ink-600); margin: 1rem 0 0; }

/* Tools. */
.mm-tool-wrap { padding-block: 3rem 4rem; }
.mm-tool { background: #fff; border-top: 4px solid var(--mm-accent-400); border-radius: var(--mm-radius); box-shadow: var(--mm-shadow-sm); margin-inline: auto; max-width: 42rem; outline: 1px solid var(--mm-ink-100); padding: 2rem; }
.mm-tool-row, .mm-tool-actions, .mm-tool-tabs, .mm-tool-presets { display: flex; gap: 0.75rem; }
.mm-tool-row { align-items: center; }
.mm-tool input[type="text"], .mm-tool input[type="number"], .search-field { background: var(--mm-ink-50); border: 1px solid var(--mm-ink-200); border-radius: 0.55rem; color: var(--mm-ink-900); padding: 0.7rem 0.9rem; }
.mm-tool input[type="text"] { flex: 1; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 1.1rem; min-width: 0; }
.mm-tool input[type="range"] { accent-color: var(--mm-brand-600); width: 100%; }
.mm-tool-control { margin-top: 1.5rem; }
.mm-tool-control > label, .mm-tool-label { align-items: center; color: var(--mm-ink-700); display: flex; font-size: 0.875rem; font-weight: 500; justify-content: space-between; }
.mm-checkboxes { display: grid; gap: 0.75rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.mm-checkboxes label { align-items: center; display: flex; font-size: 0.875rem; gap: 0.5rem; }
.mm-strength-track { background: var(--mm-ink-100); border-radius: 999px; height: 0.5rem; margin-top: 0.5rem; overflow: hidden; }
.mm-strength-bar { border-radius: inherit; height: 100%; transition: background 0.3s ease, width 0.3s ease; width: 0; }
.mm-tool-actions { justify-content: center; margin-top: 2rem; }
.mm-tool-actions .is-primary { min-width: 10rem; }
.mm-tool button:not(.is-primary) { background: #fff; border: 1px solid var(--mm-ink-200); color: var(--mm-ink-600); }
.mm-tool button:not(.is-primary):hover { background: var(--mm-ink-50); color: var(--mm-brand-700); }
.mm-tool-note, .mm-copied { color: var(--mm-ink-400); font-size: 0.75rem; margin: 1rem 0 0; }
.mm-copied { color: var(--mm-brand-600); min-height: 1.2em; }
.mm-tool-tabs { border-bottom: 1px solid var(--mm-ink-100); padding-bottom: 1rem; }
.mm-tool-tab[aria-selected="true"] { background: var(--mm-brand-700) !important; border-color: var(--mm-brand-700) !important; color: #fff !important; }
.mm-time-inputs { align-items: center; display: flex; font-size: 1.5rem; gap: 0.5rem; justify-content: center; margin-top: 1.5rem; }
.mm-time-inputs input[type="number"] { font-size: 1.2rem; text-align: center; width: 4.3rem; }
.mm-tool-presets { justify-content: center; margin-top: 1rem; }
.mm-tool-presets button { padding: 0.4rem 0.9rem; }
.mm-time-display { color: var(--mm-brand-800); font-family: "Oswald", sans-serif; font-size: clamp(3rem, 10vw, 4rem); font-weight: 600; line-height: 1; margin: 2rem 0 0; text-align: center; }
.mm-lap-list { color: var(--mm-ink-700); font-size: 0.875rem; margin: 1.5rem 0 0; padding-left: 2rem; }
.mm-lap-list li { border-bottom: 1px solid var(--mm-ink-100); padding: 0.45rem; }
.mm-passkeys-deck { min-height: 20rem; max-width: none; }
.mm-slide h2 { font-size: 1.6rem; margin: 0; }
.mm-slide p { color: var(--mm-ink-600); margin: 1rem 0 0; }
.mm-passkeys-table { margin-top: 1rem; overflow-x: auto; }
.mm-passkeys-table table { border-collapse: collapse; font-size: 0.875rem; width: 100%; }
.mm-passkeys-table th, .mm-passkeys-table td { border-bottom: 1px solid var(--mm-ink-100); padding: 0.55rem; text-align: left; }
.mm-passkeys-table th { color: var(--mm-brand-800); }
.mm-deck-controls { align-items: center; display: flex; justify-content: space-between; margin-top: 1.5rem; }
.mm-deck-controls button { background: #fff; border: 1px solid var(--mm-ink-200); border-radius: 999px; color: var(--mm-ink-600); cursor: pointer; font-weight: 500; padding: 0.55rem 1.25rem; }
.mm-deck-controls button:disabled { cursor: not-allowed; opacity: 0.4; }
.mm-deck-controls span { color: var(--mm-ink-400); font-size: 0.875rem; }
.mm-passkeys-faq { background: var(--mm-ink-50); border-top: 1px solid var(--mm-ink-100); }
[hidden] { display: none !important; }

/* Search. */
.search-form { display: flex; gap: 0.6rem; margin-top: 1.5rem; }
.search-form label { flex: 1; }
.search-field { width: 100%; }

/* External-link marker. */
a[href^="http://"]:not([href*="michas-marketing.com"]):not([href*="michas-marketing.local"])::after,
a[href^="https://"]:not([href*="michas-marketing.com"]):not([href*="michas-marketing.local"])::after {
  background-color: currentColor;
  content: "";
  display: inline-block;
  height: 0.72em;
  margin-inline-start: 0.22em;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1 2-2V8a2 2 0 0 1 2-2h6'/%3E%3Cpolyline points='15 3 21 3 21 9'/%3E%3Cline x1='10' y1='14' x2='21' y2='3'/%3E%3C/svg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1 2-2V8a2 2 0 0 1 2-2h6'/%3E%3Cpolyline points='15 3 21 3 21 9'/%3E%3Cline x1='10' y1='14' x2='21' y2='3'/%3E%3C/svg%3E") no-repeat center / contain;
  vertical-align: -0.03em;
  width: 0.72em;
}

/* YouTube two-click gate retained from the Astro site. */
.yt-embed { margin: 2rem 0; }
.yt-consent { background: var(--mm-brand-50); border: 1px solid var(--mm-brand-100); border-radius: 0.875rem; padding: 1.75rem 1.5rem; text-align: center; }
.yt-consent-note { color: var(--mm-brand-800); font-size: 0.95rem; margin: 0 0 1.25rem; }
.yt-unlock { background: var(--mm-brand-600); border: 0; border-radius: 0.65rem; color: #fff; cursor: pointer; font-weight: 600; max-width: 26rem; padding: 0.85rem 1.25rem; width: 100%; }
.yt-consent-more { font-size: 0.85rem; margin: 1rem 0 0; }
.yt-frame { aspect-ratio: 16 / 9; background: #000; border-radius: 0.875rem; overflow: hidden; position: relative; width: 100%; }
.yt-frame:empty { display: none; }
.yt-frame iframe { border: 0; height: 100%; inset: 0; position: absolute; width: 100%; }

/* Consent banner. */
.mm-cookie-banner { background: var(--mm-brand-900); border-top: 1px solid rgb(255 255 255 / 0.1); bottom: 0; box-shadow: 0 -14px 35px rgb(0 0 0 / 0.22); color: #fff; left: 0; padding-block: 1.25rem; position: fixed; right: 0; z-index: 1200; }
.mm-cookie-main { align-items: center; display: flex; gap: 1.5rem; justify-content: space-between; }
.mm-cookie-main > p { color: rgb(255 255 255 / 0.8); font-size: 0.875rem; margin: 0; }
.mm-cookie-main a { color: #fff; text-decoration: underline; }
.mm-cookie-actions { display: flex; flex: 0 0 auto; flex-wrap: wrap; gap: 0.7rem; }
.mm-cookie-actions .mm-button-secondary { background: transparent; border: 1px solid rgb(255 255 255 / 0.3); color: #fff; }
.mm-cookie-settings { border-top: 1px solid rgb(255 255 255 / 0.1); margin-top: 1.25rem; padding-top: 1.25rem; }
.mm-cookie-options { display: grid; gap: 1rem; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-bottom: 1rem; }
.mm-cookie-options > div, .mm-cookie-options > label { background: rgb(255 255 255 / 0.05); border-radius: 0.75rem; padding: 1rem; }
.mm-cookie-options strong { font-size: 0.875rem; }
.mm-cookie-options span { align-items: center; display: flex; justify-content: space-between; }
.mm-cookie-options div > span, .mm-cookie-options p, .mm-cookie-options small { color: rgb(255 255 255 / 0.58); display: block; font-size: 0.75rem; }
.mm-cookie-options p { margin: 0.5rem 0 0; }

/* Reveal motion. */
[data-reveal] { opacity: 0; transform: translateY(48px); transition: opacity 1.05s cubic-bezier(0.22, 1, 0.36, 1) var(--mm-reveal-delay, 0ms), transform 1.05s cubic-bezier(0.22, 1, 0.36, 1) var(--mm-reveal-delay, 0ms); will-change: opacity, transform; }
[data-reveal="left"] { transform: translateX(-64px); }
[data-reveal="right"] { transform: translateX(64px); }
[data-reveal].is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
}

@media (max-width: 1120px) {
  .mm-desktop-nav { display: none; }
  .mm-mobile-nav { display: block; }
}

@media (max-width: 782px) {
  .admin-bar .mm-site-header { top: 46px; }
}

@media (max-width: 768px) {
  .mm-hero-inner, .mm-about-grid { grid-template-columns: 1fr; }
  .mm-hero-inner { padding-block: 4rem; }
  .mm-card-grid, .mm-topic-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mm-about-portrait img { max-width: 190px; }
  .mm-cookie-main { align-items: stretch; flex-direction: column; }
  .mm-cookie-options { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  body { overflow-x: hidden; }
  [data-reveal="left"], [data-reveal="right"] { transform: translateY(24px); }
  [data-reveal].is-visible { transform: none; }
  .mm-container, .mm-container-narrow { padding-inline: 1rem; }
  .mm-hero-inner > *, .mm-hero-copy, .mm-cookie-main > * { min-width: 0; }
  .mm-hero h1, .mm-cookie-main p { overflow-wrap: anywhere; }
  .mm-hero-actions > a { max-width: 100%; text-align: center; }
  .mm-header-inner { min-height: 70px; }
  .mm-logo-mark { width: 145px; }
  .mm-footer-inner { align-items: flex-start; flex-direction: column; }
  .mm-page-header { padding-block: 2.75rem; }
  .mm-section, .mm-topics, .mm-latest-section, .mm-about { padding-block: 3.5rem; }
  .mm-card-grid, .mm-topic-grid, .mm-latest-grid, .mm-related ul { grid-template-columns: 1fr; }
  .mm-stats-grid { gap: 1.8rem 1rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mm-latest-card, .mm-latest-card.is-featured { flex-direction: column; }
  .mm-latest-card:not(.is-featured) .mm-latest-image { aspect-ratio: 16 / 9; flex-basis: auto; }
  .mm-checkboxes { grid-template-columns: 1fr; }
  .mm-tool { padding: 1.25rem; }
  .mm-tool-row { align-items: stretch; flex-direction: column; }
  .mm-tool-actions, .mm-tool-presets { flex-wrap: wrap; }
  .mm-time-inputs input[type="number"] { width: 3.8rem; }
  .search-form { align-items: stretch; flex-direction: column; }
  .mm-cookie-actions { align-items: stretch; flex-direction: column; }
}


