:root {
  --page-bg: #F5F3EE;
  --page-bg-alt: #EAE7E0;
  --text-main: #202020;
  --text-muted: #686868;
  --accent: #813D38;

  --pico-background-color: var(--page-bg);
  --pico-color: var(--text-main);
  --q2-accent: var(--accent);
  --q2-link: var(--accent);

  --pico-font-family-display: Georgia, "Times New Roman", serif;
  --pico-font-family-sans-serif: Inter, system-ui, -apple-system, sans-serif;
}

html,
body {
  background: var(--page-bg);
  color: var(--text-main);
}

body {
  line-height: 1.65;
}

h1,
h2,
h3,
h4 {
  color: var(--text-main);
  letter-spacing: -0.025em;
}

h1 {
  font-size: clamp(3rem, 7vw, 6.5rem);
  line-height: 0.98;
}

h2 {
  font-size: clamp(2.2rem, 4vw, 4rem);
  line-height: 1.05;
}

a {
  color: var(--accent);
}

main {
  max-width: 1280px;
  margin-inline: auto;
}

header {
  background: rgba(245, 243, 238, 0.96);
}

article {
  background: transparent;
  box-shadow: none;
  border-radius: 0;
}

/* ========================================
   MAREK MATKOWSKI — HERO
   ======================================== */

.mm-hero {
  padding: clamp(5rem, 9vw, 9rem) 0 clamp(4rem, 8vw, 8rem);
  background: var(--page-bg);
}

.mm-hero .container {
  max-width: 1280px;
}

.mm-hero .columns {
  align-items: center;
  gap: clamp(3rem, 6vw, 7rem);
}

.mm-hero p:first-child {
  margin-bottom: .4rem;
  font-family: Inter, system-ui, sans-serif;
  font-size: .82rem;
  letter-spacing: .14em;
}

.mm-hero p:nth-child(2) {
  margin-top: 0;
  margin-bottom: 2.5rem;
  font-family: Inter, system-ui, sans-serif;
  font-size: .82rem;
  letter-spacing: .12em;
  color: var(--accent);
}

.mm-hero h1 {
  max-width: 950px;
  margin: 0 0 2rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 6vw, 5.8rem);
  font-weight: 500;
  line-height: .98;
  letter-spacing: -.045em;
}

.mm-hero h1 + p {
  max-width: 720px;
  margin-bottom: 2.2rem;
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  line-height: 1.7;
  color: var(--text-muted);
}

.mm-hero a {
  display: inline-block;
  margin: .3rem .8rem 2rem 0;
  padding: .8rem 1.25rem;
  border: 1px solid var(--accent);
  border-radius: 2px;
  font-family: Inter, system-ui, sans-serif;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-decoration: none;
  text-transform: uppercase;
}

.mm-hero a:first-of-type {
  background: var(--accent);
  color: #fff;
}

.mm-hero a:hover {
  transform: translateY(-1px);
}

.mm-hero p:last-child {
  margin-top: 1.5rem;
  font-size: .85rem;
  color: var(--text-muted);
}

.mm-hero img {
  width: 100%;
  border-radius: 0;
  object-fit: cover;
}

@media (max-width: 768px) {
  .mm-hero {
    padding-top: 4rem;
  }

  .mm-hero h1 {
    font-size: clamp(2.7rem, 12vw, 4rem);
  }
}

/* Korekta HERO — bez dzielenia polskich wyrazów */

.mm-hero h1,
.mm-hero h2,
.mm-hero h3 {
  -webkit-hyphens: none !important;
  hyphens: none !important;
  word-break: normal !important;
  overflow-wrap: normal !important;
}

.mm-hero h1 {
  max-width: 1100px;
  font-size: clamp(3rem, 4.8vw, 5.2rem);
  line-height: 1.03;
  letter-spacing: -0.035em;
  text-wrap: balance;
}


/* HERO V2 */

h1, h2, h3, h4, h5, h6 {
  -webkit-hyphens: none;
  hyphens: none;
  word-break: normal;
  overflow-wrap: normal;
}

.mm-hero {
  background: #F5F3EE;
  padding: 7rem 2rem 6rem;
}

.mm-hero-inner {
  max-width: 1180px;
  margin: 0 auto;
}

.mm-hero-kicker {
  margin-bottom: 2rem;
  font-family: Arial, sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: #813D38;
}

.mm-hero-title {
  max-width: 1050px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 4.4vw, 4.9rem);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -0.03em;
  -webkit-hyphens: none;
  hyphens: none;
  word-break: normal;
  overflow-wrap: normal;
}

.mm-hero-intro {
  max-width: 720px;
  margin-top: 2.2rem;
  font-size: 1.15rem;
  line-height: 1.7;
  color: #686868;
}

.mm-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.4rem;
}

.mm-button {
  display: inline-block;
  padding: 0.8rem 1.25rem;
  border: 1px solid #813D38;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.mm-button-primary {
  background: #813D38;
  color: white;
}

.mm-button-secondary {
  color: #813D38;
}

.mm-hero-topics {
  margin-top: 3rem;
  font-size: 0.85rem;
  color: #686868;
}

@media (max-width: 700px) {
  .mm-hero {
    padding: 4rem 1.3rem;
  }

  .mm-hero-title {
    font-size: 2.8rem;
  }
}

/* HEADER */

.mm-brand {
  color: #202020;
  text-decoration: none;
}

.mm-brand-name {
  font-family: Arial, sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

#header {
  background: rgba(245, 243, 238, 0.97);
  border-bottom: 1px solid rgba(32, 32, 32, 0.10);
}

#header .container {
  max-width: 1360px;
}


/* Korekta wielkości i interlinii głównego nagłówka */

.mm-hero-title {
  max-width: 1200px;
  font-size: clamp(2.6rem, 4vw, 4.2rem);
  line-height: 1.14;
  letter-spacing: -0.025em;
}

@media (max-width: 700px) {
  .mm-hero-title {
    font-size: 2.5rem;
    line-height: 1.12;
  }
}

/* OSTATECZNA KOREKTA HERO */

.mm-hero .mm-hero-inner .mm-hero-title {
  font-size: clamp(2.2rem, 3.2vw, 3.5rem) !important;
  line-height: 1.28 !important;
  letter-spacing: -0.015em !important;
  max-width: 1050px !important;
}

@media (max-width: 700px) {
  .mm-hero .mm-hero-inner .mm-hero-title {
    font-size: 2.25rem !important;
    line-height: 1.25 !important;
  }
}

/* HERO — układ ze zdjęciem */

.mm-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.75fr);
  gap: clamp(3rem, 6vw, 7rem);
  align-items: center;
}

.mm-hero-copy {
  min-width: 0;
}

.mm-hero-photo {
  width: 100%;
}

.mm-hero-photo img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  display: block;
  border: 1px solid rgba(32,32,32,0.12);
}

.mm-photo-placeholder {
  aspect-ratio: 3 / 4;
  border: 1px solid rgba(32,32,32,0.15);
  background: #EAE7E0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #686868;
  font-size: 1rem;
}

@media (max-width: 900px) {
  .mm-hero-grid {
    grid-template-columns: 1fr;
  }

  .mm-hero-photo {
    max-width: 520px;
  }
}

/* NAJNOWSZA IDEA */

.mm-home .modular-row:nth-of-type(2) {
  background: #EAE7E0;
  padding: 5rem 2rem;
}

.mm-home .modular-row:nth-of-type(2) .container {
  max-width: 1180px;
}

.mm-home .modular-row:nth-of-type(2) h2 {
  max-width: 850px;
  margin-bottom: 1.5rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.4rem, 4vw, 4rem);
  line-height: 1.12;
  font-weight: 400;
}

.mm-home .modular-row:nth-of-type(2) p {
  max-width: 760px;
  font-size: 1.08rem;
  line-height: 1.7;
}

/* ========================================
   NAJNOWSZA IDEA
   ======================================== */

.mm-latest-idea {
  background: #EAE7E0;
  padding: 6rem 2rem;
}

.mm-latest-idea-inner {
  max-width: 1180px;
  margin: 0 auto;
}

.mm-section-label {
  margin-bottom: 2rem;
  font-family: Arial, sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  color: #813D38;
}

.mm-latest-idea-content h2 {
  max-width: 900px;
  margin: 0 0 2rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.3rem, 3.5vw, 3.7rem);
  font-weight: 400;
  line-height: 1.16;
  letter-spacing: -0.02em;
  color: #202020;
  hyphens: none;
}

.mm-latest-idea-content p {
  max-width: 760px;
  font-size: 1.08rem;
  line-height: 1.75;
  color: #555;
}

.mm-latest-idea-content strong {
  color: #202020;
}

.mm-latest-idea-content a {
  display: inline-block;
  margin-top: 1.5rem;
  font-weight: 600;
  color: #813D38;
  text-decoration: none;
}


/* Kadrowanie zdjęcia HERO */

.mm-hero-photo {
  width: 100%;
  max-width: 470px;
  justify-self: end;
}

.mm-hero-img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center 15%;
  border: 1px solid rgba(32,32,32,0.12);
}

@media (max-width: 900px) {
  .mm-hero-photo {
    max-width: 480px;
    justify-self: start;
  }
}

/* ========================================
   ARTYKUŁ — spokojniejsze śródtytuły
   ======================================== */

.mm-article-body {
  font-size: 1.12rem;
  line-height: 1.8;
}

.mm-article-body h2 {
  margin-top: 3.6rem;
  margin-bottom: 1.25rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.65em !important;
  font-weight: 500;
  line-height: 1.22;
  letter-spacing: -0.015em;
  hyphens: none;
}

.mm-article-body h3 {
  margin-top: 2.5rem;
  margin-bottom: 0.9rem;
  font-family: Arial, sans-serif;
  font-size: 1.3em !important;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0;
}

.mm-article-body ol,
.mm-article-body ul {
  font-size: 0.96em;
  line-height: 1.7;
}


/* ========================================
   ARTYKUŁ — wymuszone rozmiary nagłówków
   ======================================== */

/* H2 — główne śródtytuły */
body.mm-article-page main h2,
body.mm-article-page article h2,
body.mm-article-page .content h2 {
  font-size: 1.8rem !important;
  line-height: 1.28 !important;
  font-weight: 600 !important;
  letter-spacing: -0.01em !important;
  margin-top: 3.5rem !important;
  margin-bottom: 1.2rem !important;
}

/* Usunięcie ozdobnej kreski Quark2 nad H2 */
body.mm-article-page main h2::before,
body.mm-article-page article h2::before,
body.mm-article-page .content h2::before {
  display: none !important;
  content: none !important;
}

/* H3 — np. 1. Poczucie wartości, 5. Satysfakcja */
body.mm-article-page main h3,
body.mm-article-page article h3,
body.mm-article-page .content h3 {
  font-size: 1.35rem !important;
  line-height: 1.3 !important;
  font-weight: 700 !important;
  margin-top: 2.4rem !important;
  margin-bottom: 0.8rem !important;
}

/* Tekst artykułu */
body.mm-article-page main p,
body.mm-article-page article p {
  font-size: 1.1rem;
  line-height: 1.75;
}


/* ========================================
   TYTUŁ I AUTOR ARTYKUŁU
   ======================================== */

.mm-article-title {
  max-width: 900px;
  margin: 0 0 1.4rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.6rem, 4vw, 4rem) !important;
  font-weight: 400 !important;
  line-height: 1.12 !important;
  letter-spacing: -0.025em;
  hyphens: none;
}

.mm-article-author {
  margin-top: 0;
  margin-bottom: 3.4rem;
  font-size: 0.95rem;
  line-height: 1.5;
  color: #686868;
}

.mm-article-author span {
  color: #868686;
}


/* ========================================
   META I NARZĘDZIA ARTYKUŁU
   ======================================== */

.mm-article-author {
  margin-bottom: 1rem;
}

.mm-article-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 3.4rem;
  font-size: 0.9rem;
  line-height: 1.5;
  color: #686868;
}

.mm-reading-time {
  color: #686868;
}

.mm-tool-separator {
  color: #aaa;
}

.mm-article-tool {
  color: #813D38;
  text-decoration: none;
  font-weight: 600;
}

.mm-article-tool:hover {
  text-decoration: underline;
}

@media (max-width: 700px) {
  .mm-article-tools {
    gap: 0.4rem;
  }
}


/* ========================================
   IDEE — LISTA ARTYKUŁÓW
   ======================================== */

.mm-ideas {
  padding: 7rem 2rem;
}

.mm-ideas-inner {
  max-width: 1180px;
  margin: 0 auto;
}

.mm-ideas-title {
  margin: 0 0 4rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.8rem, 4vw, 4rem);
  font-weight: 400;
  line-height: 1.1;
}

.mm-ideas-list {
  border-top: 1px solid rgba(32,32,32,0.18);
}

.mm-ideas-item {
  padding: 2rem 0;
  border-bottom: 1px solid rgba(32,32,32,0.18);
}

.mm-ideas-link {
  display: block;
  max-width: 900px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.6rem, 2.4vw, 2.4rem);
  line-height: 1.2;
  color: #202020;
  text-decoration: none;
}

.mm-ideas-link:hover {
  color: #813D38;
}

.mm-ideas-date {
  margin-top: 0.6rem;
  font-size: 0.85rem;
  color: #777;
}


/* IDEE — korekta po usunięciu nagłówka "Artykuły" */

.mm-ideas .mm-section-label {
  margin-bottom: 2.5rem;
}

.mm-ideas-list {
  margin-top: 0;
}



/* ==========================================================
   MM LEADERSHIP ILLUSIONS
   ========================================================== */

.mm-illusions {
    background: #F5F3EE;
    color: #202020;
    padding: 110px 0 120px;
}

.mm-illusions-inner {
    width: min(1180px, calc(100% - 64px));
    margin: 0 auto;
}

.mm-section-label {
    margin-bottom: 28px;
    color: #813D38;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    line-height: 1.4;
    text-transform: uppercase;
}

.mm-illusions-title {
    max-width: 850px;
    margin: 0 0 28px;
    color: #202020;
    font-size: clamp(2.35rem, 4.2vw, 4.3rem);
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: -0.035em;
    hyphens: none;
    word-break: normal;
}

.mm-illusions-intro {
    max-width: 720px;
    margin: 0 0 72px;
    color: #4c4a47;
    font-size: 1.15rem;
    line-height: 1.65;
}

.mm-illusions-list {
    border-top: 1px solid rgba(32, 32, 32, 0.22);
}

.mm-illusion-row {
    display: grid;
    grid-template-columns: 90px minmax(280px, 0.9fr) minmax(360px, 1.25fr);
    gap: 32px;
    align-items: start;

    padding: 30px 0 32px;

    border-bottom: 1px solid rgba(32, 32, 32, 0.22);
}

.mm-illusion-number {
    padding-top: 3px;
    color: #813D38;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.08em;
}

.mm-illusion-myth {
    color: #202020;
    font-size: 1.28rem;
    font-weight: 600;
    line-height: 1.35;
    hyphens: none;
    word-break: normal;
}

.mm-illusion-reframe {
    color: #4c4a47;
    font-size: 1.08rem;
    line-height: 1.55;
}

.mm-illusions-more {
    margin-top: 42px;
}

.mm-illusions-more a {
    display: inline-block;
    color: #813D38;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid rgba(129, 61, 56, 0.35);
    padding-bottom: 3px;
    transition: border-color 0.2s ease;
}

.mm-illusions-more a:hover {
    border-color: #813D38;
}


/* TABLET */

@media (max-width: 900px) {

    .mm-illusions {
        padding: 85px 0 95px;
    }

    .mm-illusions-inner {
        width: min(100% - 42px, 1180px);
    }

    .mm-illusion-row {
        grid-template-columns: 55px 1fr;
        gap: 10px 24px;
    }

    .mm-illusion-number {
        grid-column: 1;
        grid-row: 1 / span 2;
    }

    .mm-illusion-myth {
        grid-column: 2;
    }

    .mm-illusion-reframe {
        grid-column: 2;
    }
}


/* MOBILE */

@media (max-width: 600px) {

    .mm-illusions {
        padding: 70px 0 80px;
    }

    .mm-illusions-inner {
        width: calc(100% - 32px);
    }

    .mm-section-label {
        margin-bottom: 22px;
        font-size: 0.7rem;
    }

    .mm-illusions-title {
        font-size: clamp(2rem, 10vw, 2.8rem);
        line-height: 1.08;
    }

    .mm-illusions-title br {
        display: none;
    }

    .mm-illusions-intro {
        margin-bottom: 52px;
        font-size: 1.04rem;
    }

    .mm-illusion-row {
        grid-template-columns: 42px 1fr;
        gap: 8px 14px;
        padding: 24px 0 26px;
    }

    .mm-illusion-number {
        font-size: 0.78rem;
    }

    .mm-illusion-myth {
        font-size: 1.12rem;
    }

    .mm-illusion-reframe {
        font-size: 1rem;
        line-height: 1.55;
    }

    .mm-illusions-more {
        margin-top: 34px;
    }
}



/* ==========================================================
   MM ILLUSIONS — korekta 09.09.2026
   ========================================================== */

/* Nagłówek w skali zbliżonej do "Lider musi motywować..." */
.mm-illusions .mm-illusions-title {
    font-size: clamp(2.4rem, 4.1vw, 3.8rem) !important;
    line-height: 1.08 !important;
    letter-spacing: -0.025em !important;
    font-weight: 400 !important;
    max-width: 900px;
    hyphens: none !important;
}

/* Cały wiersz może być linkiem */
.mm-illusion-link {
    color: inherit !important;
    text-decoration: none !important;
    transition:
        background-color 0.2s ease,
        padding-left 0.2s ease,
        padding-right 0.2s ease;
}

.mm-illusion-link .mm-illusion-myth,
.mm-illusion-link .mm-illusion-reframe {
    transition: color 0.2s ease;
}

/* Bardzo subtelne zaznaczenie kliknięcia */
.mm-illusion-link:hover .mm-illusion-myth {
    color: #813D38;
}

.mm-illusion-link:hover .mm-illusion-reframe {
    color: #202020;
}

.mm-illusion-link:hover {
    background: rgba(129, 61, 56, 0.035);
}

/* Nie zmieniamy charakteru sekcji na "kafelki" */
.mm-illusion-link:focus-visible {
    outline: 2px solid #813D38;
    outline-offset: 4px;
}

@media (max-width: 600px) {
    .mm-illusions .mm-illusions-title {
        font-size: clamp(2rem, 9vw, 2.7rem) !important;
    }
}


/* Ten nagłówek korzysta dokładnie ze stylu Latest Idea */
.mm-title-style-proxy {
    display: contents;
}



/* ==========================================================
   MM — STEROWANIE TYTUŁAMI Z GRAV ADMIN
   ========================================================== */

/* KRÓJ */

.mm-title-font-serif {
    --mm-admin-title-font: Georgia, "Times New Roman", serif;
}

.mm-title-font-sans {
    --mm-admin-title-font: Arial, sans-serif;
}


/* WIELKOŚĆ */

.mm-title-size-match {
    --mm-admin-title-size: clamp(2.3rem, 3.5vw, 3.7rem);
}

.mm-title-size-size48 {
    --mm-admin-title-size: clamp(2.1rem, 3vw, 3rem);
}

.mm-title-size-size56 {
    --mm-admin-title-size: clamp(2.2rem, 3.3vw, 3.5rem);
}

.mm-title-size-size64 {
    --mm-admin-title-size: clamp(2.3rem, 3.8vw, 4rem);
}

.mm-title-size-size72 {
    --mm-admin-title-size: clamp(2.4rem, 4.2vw, 4.5rem);
}


/* NAJNOWSZA IDEA */

.mm-latest-idea .mm-latest-idea-content h2 {
    font-family: var(--mm-admin-title-font) !important;
    font-size: var(--mm-admin-title-size) !important;

    font-weight: 400 !important;
    line-height: 1.16 !important;
    letter-spacing: -0.02em !important;

    hyphens: none !important;
    word-break: normal !important;
}


/* PIĘĆ ZŁUDZEŃ */

.mm-illusions .mm-illusions-title-v2 {
    max-width: 900px;
    margin: 0 0 2rem;

    font-family: var(--mm-admin-title-font) !important;
    font-size: var(--mm-admin-title-size) !important;

    font-weight: 400 !important;
    line-height: 1.16 !important;
    letter-spacing: -0.02em !important;

    color: #202020;

    hyphens: none !important;
    word-break: normal !important;
}


@media (max-width: 600px) {

    .mm-illusions .mm-illusions-title-v2 br {
        display: none;
    }

}


.mm-illusions-intro p {
    margin: 0;
}



/* ==========================================================
   MM — OBSZARY PRACY
   ========================================================== */

.mm-expertise {
    background: #EAE7E0;
    color: #202020;
    padding: 7rem 2rem;
}

.mm-expertise-inner {
    max-width: 1180px;
    margin: 0 auto;
}

.mm-expertise-content {
    max-width: 900px;
    margin-bottom: 4.5rem;
}

.mm-expertise-content h2 {
    max-width: 900px;
    margin: 0 0 2rem;

    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.3rem, 3.5vw, 3.7rem);
    font-weight: 400;
    line-height: 1.16;
    letter-spacing: -0.02em;

    color: #202020;

    hyphens: none;
    word-break: normal;
}

.mm-expertise-content p {
    max-width: 760px;
    margin: 0;

    font-size: 1.08rem;
    line-height: 1.75;
    color: #555;
}

.mm-expertise-list {
    border-top: 1px solid rgba(32, 32, 32, 0.22);
}

.mm-expertise-row {
    display: grid;
    grid-template-columns: 90px minmax(250px, 0.8fr) minmax(380px, 1.3fr);
    gap: 32px;
    align-items: start;

    padding: 30px 0 32px;

    border-bottom: 1px solid rgba(32, 32, 32, 0.22);
}

.mm-expertise-number {
    padding-top: 3px;

    color: #813D38;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.08em;
}

.mm-expertise-name {
    font-size: 1.28rem;
    font-weight: 600;
    line-height: 1.35;

    color: #202020;

    hyphens: none;
    word-break: normal;
}

.mm-expertise-description {
    font-size: 1.08rem;
    line-height: 1.6;
    color: #555;
}


@media (max-width: 900px) {

    .mm-expertise {
        padding: 5.5rem 1.5rem;
    }

    .mm-expertise-row {
        grid-template-columns: 55px 1fr;
        gap: 10px 24px;
    }

    .mm-expertise-number {
        grid-column: 1;
        grid-row: 1 / span 2;
    }

    .mm-expertise-name,
    .mm-expertise-description {
        grid-column: 2;
    }

}


@media (max-width: 600px) {

    .mm-expertise {
        padding: 4.5rem 1rem;
    }

    .mm-expertise-content {
        margin-bottom: 3.2rem;
    }

    .mm-expertise-content h2 {
        font-size: clamp(2rem, 9vw, 2.7rem);
    }

    .mm-expertise-row {
        grid-template-columns: 42px 1fr;
        gap: 8px 14px;
        padding: 24px 0 26px;
    }

    .mm-expertise-name {
        font-size: 1.12rem;
    }

    .mm-expertise-description {
        font-size: 1rem;
    }

}



/* ==========================================================
   MM — BADANIA / ROZUMIENIE / PRAKTYKA
   ========================================================== */

.mm-method {
    background: #F5F3EE;
    color: #202020;
    padding: 7rem 2rem;
}

.mm-method-inner {
    max-width: 1180px;
    margin: 0 auto;
}

.mm-method-content {
    max-width: 900px;
    margin-bottom: 4.5rem;
}

.mm-method-content h2 {
    max-width: 900px;
    margin: 0 0 2rem;

    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.3rem, 3.5vw, 3.7rem);
    font-weight: 400;
    line-height: 1.16;
    letter-spacing: -0.02em;

    color: #202020;
    hyphens: none;
    word-break: normal;
}

.mm-method-content p {
    max-width: 760px;
    margin: 0;

    font-size: 1.08rem;
    line-height: 1.75;
    color: #555;
}

.mm-method-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid rgba(32,32,32,0.22);
    border-bottom: 1px solid rgba(32,32,32,0.22);
}

.mm-method-step {
    padding: 2.2rem 2.2rem 2.5rem 0;
}

.mm-method-step + .mm-method-step {
    border-left: 1px solid rgba(32,32,32,0.22);
    padding-left: 2.2rem;
}

.mm-method-number {
    margin-bottom: 2rem;

    color: #813D38;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.08em;
}

.mm-method-name {
    margin: 0 0 1rem;

    font-size: 1.35rem;
    font-weight: 600;
    line-height: 1.3;

    color: #202020;
}

.mm-method-description {
    margin: 0;

    font-size: 1.04rem;
    line-height: 1.65;
    color: #555;
}


@media (max-width: 800px) {

    .mm-method {
        padding: 5.5rem 1.5rem;
    }

    .mm-method-steps {
        display: block;
    }

    .mm-method-step {
        padding: 2rem 0;
    }

    .mm-method-step + .mm-method-step {
        border-left: 0;
        border-top: 1px solid rgba(32,32,32,0.22);
        padding-left: 0;
    }

    .mm-method-number {
        margin-bottom: 1rem;
    }

}


@media (max-width: 600px) {

    .mm-method {
        padding: 4.5rem 1rem;
    }

    .mm-method-content {
        margin-bottom: 3rem;
    }

    .mm-method-content h2 {
        font-size: clamp(2rem, 9vw, 2.7rem);
    }

}

/* ==========================================================
   MM ABOUT PAGE START
   ========================================================== */

.mm-about {
    background: #F5F3EE;
    color: #202020;
    padding: 7rem 2rem 8rem;
}

.mm-about-inner {
    max-width: 1180px;
    margin: 0 auto;
}

.mm-about-content {
    max-width: 900px;
}

.mm-about-content > h1 {
    max-width: 980px;
    margin: 0 0 3rem;

    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.7rem, 4.5vw, 4.6rem);
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -0.03em;

    color: #202020;

    hyphens: none;
    word-break: normal;
}

.mm-about-content > h2 {
    max-width: 780px;
    margin: 4.7rem 0 1.5rem;

    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.75rem, 2.5vw, 2.35rem);
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: -0.018em;

    color: #202020;

    hyphens: none;
    word-break: normal;
}

.mm-about-content > p {
    max-width: 780px;
    margin: 0 0 1.45rem;

    font-size: 1.08rem;
    line-height: 1.78;
    color: #4e4d49;
}

.mm-about-content > p strong {
    color: #202020;
    font-weight: 600;
}


/* Fotografie */

.mm-about-gallery {
    display: grid;

    grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr);
    grid-template-rows: 0.56fr 1fr;

    gap: 18px;

    height: 680px;
    margin-top: 5.5rem;
}

.mm-about-photo {
    margin: 0;
    overflow: hidden;
    background: #EAE7E0;
}

.mm-about-photo-main {
    grid-column: 1;
    grid-row: 1 / 3;
}

.mm-about-photo-bike {
    grid-column: 2;
    grid-row: 1;
}

.mm-about-photo-dog {
    grid-column: 2;
    grid-row: 2;
}

.mm-about-photo img {
    width: 100%;
    height: 100%;
    display: block;

    object-fit: cover;
}

.mm-about-photo-main img {
    object-position: 50% 50%;
}

.mm-about-photo-bike img {
    object-position: 50% 55%;
}

.mm-about-photo-dog img {
    object-position: 50% 48%;
}


/* Tablet */

@media (max-width: 850px) {

    .mm-about {
        padding: 5.5rem 1.5rem 6rem;
    }

    .mm-about-gallery {
        height: 570px;
        grid-template-columns: 1.55fr 1fr;
    }

}


/* Telefon */

@media (max-width: 650px) {

    .mm-about {
        padding: 4.5rem 1rem 5rem;
    }

    .mm-about-content > h1 {
        font-size: clamp(2.2rem, 10vw, 3rem);
        margin-bottom: 2.5rem;
    }

    .mm-about-content > h2 {
        margin-top: 3.8rem;
        font-size: 1.75rem;
    }

    .mm-about-content > p {
        font-size: 1.03rem;
        line-height: 1.72;
    }

    .mm-about-gallery {
        display: block;
        height: auto;
        margin-top: 4rem;
    }

    .mm-about-photo {
        margin-bottom: 14px;
    }

    .mm-about-photo img {
        width: 100%;
        height: auto;
        object-fit: contain;
    }

}

/* ==========================================================
   MM ABOUT PAGE END
   ========================================================== */




/* ==========================================================
   MM ARTICLE BACK LINK
   ========================================================== */

.mm-article-back {
    margin: 0 0 1.8rem;
}

.mm-article-back a {
    color: #813D38;
    font-size: 0.92rem;
    font-weight: 600;
    text-decoration: none;
}

.mm-article-back a:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
}



/* ==========================================================
   MM ARTICLE BACK BOTTOM
   ========================================================== */

.mm-article-back-bottom {
    margin-top: 3.5rem;
    margin-bottom: 0;
    padding-top: 1.8rem;
    border-top: 1px solid rgba(32, 32, 32, 0.16);
}



/* MM LATEST IDEA BUTTON TEXT FIX */

.mm-latest-idea-action .mm-button,
.mm-latest-idea-action .mm-button:visited {
    color: #ffffff !important;
    font-size: 1rem !important;
    opacity: 1 !important;
}

.mm-latest-idea-action .mm-button:hover {
    color: #ffffff !important;
}



/* ==========================================================
   FINAL FIX — NAJNOWSZA IDEA BUTTON
   ========================================================== */

.mm-latest-idea .mm-latest-idea-action .mm-button.mm-button-primary {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: auto !important;
    min-width: 190px !important;
    height: auto !important;
    min-height: 52px !important;

    padding: 0.9rem 1.5rem !important;

    background: #813D38 !important;

    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;

    font-size: 1rem !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;

    text-indent: 0 !important;
    text-decoration: none !important;
    text-transform: none !important;
    letter-spacing: 0 !important;

    opacity: 1 !important;
    visibility: visible !important;

    position: relative !important;
    z-index: 10 !important;
}

.mm-latest-idea .mm-latest-idea-action .mm-button.mm-button-primary:hover,
.mm-latest-idea .mm-latest-idea-action .mm-button.mm-button-primary:visited {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}



/* DEFINITIVE FIX — label przycisku Najnowsza idea */

.mm-latest-idea-action .mm-button {
    position: relative !important;
    overflow: visible !important;
}

.mm-latest-idea-action .mm-button::before,
.mm-latest-idea-action .mm-button::after {
    display: none !important;
    content: none !important;
}

.mm-latest-idea-action .mm-latest-button-label {
    display: inline-block !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    opacity: 1 !important;
    visibility: visible !important;
    position: relative !important;
    z-index: 999 !important;
}



/* MM LATEST IDEA — TYPOGRAFIA JAK POZOSTAŁE PRZYCISKI */

.mm-latest-idea-action .mm-button.mm-button-primary {
    font-size: inherit !important;
}

.mm-latest-idea-action .mm-latest-button-label {
    font-family: inherit !important;
    font-size: inherit !important;
    font-weight: inherit !important;
    line-height: inherit !important;
    letter-spacing: inherit !important;
    text-transform: inherit !important;

    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    opacity: 1 !important;
    visibility: visible !important;
    position: relative !important;
    z-index: 999 !important;
}



/* ==========================================================
   MM LATEST IDEA — FINAL BUTTON TYPOGRAPHY
   dokładnie jak zwykły .mm-button
   ========================================================== */

.mm-latest-idea .mm-latest-idea-action .mm-button.mm-button-primary {
    font-size: 0.8rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.06em !important;
    text-transform: uppercase !important;
    line-height: 1.2 !important;
}

.mm-latest-idea .mm-latest-idea-action .mm-latest-button-label {
    display: inline-block !important;
    font-family: inherit !important;
    font-size: 0.8rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.06em !important;
    text-transform: uppercase !important;
    line-height: 1.2 !important;

    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    opacity: 1 !important;
    visibility: visible !important;
    position: relative !important;
    z-index: 999 !important;
}


/* ==========================================================
   IDEE — TŁO
   ========================================================== */

.mm-ideas {
    background-image: url("../images/idee-tlo.png");
    background-repeat: no-repeat;
    background-position: top right;
    background-size: 44% auto;
}

.mm-ideas-inner {
    position: relative;
    z-index: 1;
}

@media (max-width: 1200px) {
    .mm-ideas {
        background-size: 50% auto;
    }
}

@media (max-width: 900px) {
    .mm-ideas {
        background-size: 60% auto;
    }
}

@media (max-width: 700px) {
    .mm-ideas {
        background-image: none;
    }
}

/* MM IDEE BACKGROUND START */

/*
   Delikatna grafika górska jako tło strony IDEE.
   Obraz jest osobną warstwą, dzięki czemu nie wpływa na czytelność listy.
*/

.mm-ideas {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    background-image: none !important;
}

.mm-ideas::before {
    content: "";
    position: absolute;
    top: 1.5rem;
    right: -2rem;
    width: min(52vw, 820px);
    height: 390px;

    background-image: url("../images/idee-tlo.png");
    background-repeat: no-repeat;
    background-position: top right;
    background-size: contain;

    opacity: 0.72;
    pointer-events: none;
    z-index: 0;
}

.mm-ideas-inner {
    position: relative;
    z-index: 1;
}

@media (max-width: 1000px) {
    .mm-ideas::before {
        width: 62vw;
        height: 320px;
        right: -3rem;
        opacity: 0.55;
    }
}

@media (max-width: 700px) {
    .mm-ideas::before {
        top: 1rem;
        right: -5rem;
        width: 92vw;
        height: 240px;
        opacity: 0.32;
    }
}

/* MM IDEE BACKGROUND END */



/* ==========================================================
   MM IDEE — EDITORIAL LAYOUT 2026
   ========================================================== */

/* Neutralizacja wcześniejszych eksperymentów z tłem */
.mm-ideas {
    position: relative !important;
    overflow: hidden !important;
    background-image: none !important;
    background-color: #F5F3EE;
    padding: 6.5rem 2rem 4rem !important;
}

.mm-ideas::before,
.mm-ideas::after {
    content: none !important;
    display: none !important;
}

.mm-ideas-inner {
    position: relative;
    z-index: 1;
    max-width: 1180px;
    margin: 0 auto;
}

/* ---------- GÓRA STRONY ---------- */

.mm-ideas-hero {
    position: relative;
    min-height: 300px;
    margin-bottom: 2.5rem;
}

.mm-ideas-hero-copy {
    position: relative;
    z-index: 3;
    width: min(68%, 760px);
}

.mm-ideas .mm-section-label {
    margin-bottom: 1.8rem !important;
    color: #813D38;
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.17em;
}

.mm-ideas-heading {
    margin: 0;
    max-width: 760px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.7rem, 4.4vw, 4.3rem);
    font-weight: 400;
    line-height: 1.08;
    letter-spacing: -0.025em;
    color: #202020;
    hyphens: none;
}

/* Grafika gór — korzysta z już zamontowanego idee-tlo.png */
.mm-ideas-mountains {
    position: absolute;
    z-index: 1;
    top: -4.5rem;
    right: -4rem;
    width: min(55vw, 720px);
    height: 300px;

    background-image: url("../images/idee-tlo.png");
    background-repeat: no-repeat;
    background-position: center right;
    background-size: contain;

    opacity: 0.62;
    pointer-events: none;
}

/* Prawy podpis */
.mm-ideas-perspective {
    position: absolute;
    z-index: 3;
    right: 0;
    top: 8.8rem;

    width: 150px;

    color: #6f625f;
    font-size: 0.72rem;
    font-weight: 500;
    line-height: 1.75;
    letter-spacing: 0.19em;
    text-transform: uppercase;
    text-align: right;
}

.mm-ideas-perspective-line {
    display: block;
    width: 28px;
    height: 1px;
    margin: 1rem 0 0 auto;
    background: #813D38;
}

/* ---------- LISTA ---------- */

.mm-ideas-list {
    margin-top: 0 !important;
    border-top: 0 !important;
}

.mm-ideas-item {
    padding: 0 !important;
    border-bottom: 1px solid rgba(32, 32, 32, 0.14) !important;
}

.mm-ideas-link {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;

    max-width: none !important;
    width: 100%;

    padding: 1.8rem 0;

    color: #202020;
    text-decoration: none;
}

.mm-ideas-link-copy {
    display: block;
    min-width: 0;
}

.mm-ideas-article-title {
    display: block;

    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.45rem, 2vw, 2rem);
    font-weight: 400;
    line-height: 1.2;
    color: #202020;

    transition: color 160ms ease;
}

.mm-ideas-date {
    display: block !important;
    margin-top: 0.55rem !important;

    color: #817875 !important;
    font-size: 0.72rem !important;
    font-weight: 500;
    line-height: 1.3;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.mm-ideas-arrow {
    flex: 0 0 auto;

    color: #813D38;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.7rem;
    font-weight: 400;
    line-height: 1;

    transition: transform 160ms ease;
}

.mm-ideas-link:hover .mm-ideas-article-title {
    color: #813D38;
}

.mm-ideas-link:hover .mm-ideas-arrow {
    transform: translateX(5px);
}

/* ---------- DÓŁ ---------- */

.mm-ideas-foot {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 3rem;

    margin-top: 5rem;
    padding-bottom: 1rem;

    color: #817875;
    font-size: 0.69rem;
    font-weight: 500;
    line-height: 1.7;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.mm-ideas-foot-left {
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
    max-width: 370px;
}

.mm-ideas-foot-line {
    display: block;
    flex: 0 0 auto;
    width: 32px;
    height: 1px;
    margin-top: 0.65em;
    background: #813D38;
}

.mm-ideas-foot-right {
    text-align: right;
}

/* ---------- TABLET ---------- */

@media (max-width: 900px) {

    .mm-ideas {
        padding-top: 5rem !important;
    }

    .mm-ideas-hero {
        min-height: 270px;
    }

    .mm-ideas-hero-copy {
        width: 74%;
    }

    .mm-ideas-mountains {
        top: -2rem;
        right: -7rem;
        width: 68vw;
        opacity: 0.43;
    }

    .mm-ideas-perspective {
        top: 9rem;
        width: 130px;
        font-size: 0.64rem;
    }
}

/* ---------- TELEFON ---------- */

@media (max-width: 700px) {

    .mm-ideas {
        padding: 3.7rem 1.25rem 3rem !important;
    }

    .mm-ideas-hero {
        min-height: auto;
        padding-bottom: 9rem;
        margin-bottom: 0.5rem;
    }

    .mm-ideas-hero-copy {
        width: 100%;
    }

    .mm-ideas-heading {
        font-size: clamp(2.25rem, 10vw, 3.15rem);
    }

    .mm-ideas-mountains {
        top: auto;
        right: -5rem;
        bottom: 0;
        width: 115vw;
        height: 180px;
        opacity: 0.28;
    }

    .mm-ideas-perspective {
        display: none;
    }

    .mm-ideas-link {
        gap: 1rem;
        padding: 1.45rem 0;
    }

    .mm-ideas-article-title {
        font-size: 1.35rem;
    }

    .mm-ideas-arrow {
        font-size: 1.45rem;
    }

    .mm-ideas-foot {
        display: block;
        margin-top: 3.5rem;
    }

    .mm-ideas-foot-right {
        margin-top: 1.8rem;
        text-align: left;
        padding-left: 52px;
    }
}



/* IDEE — nie dziel słów w haśle po prawej */

.mm-ideas-perspective {
    width: 180px !important;

    hyphens: none !important;
    -webkit-hyphens: none !important;

    word-break: normal !important;
    overflow-wrap: normal !important;
}



/* ==========================================================
   MM IDEAS MORE BUTTON
   ========================================================== */

.mm-ideas-more-wrap {
    display: flex;
    justify-content: center;
    margin: 3rem 0 1rem;
}

.mm-ideas-more-button {
    appearance: none;
    -webkit-appearance: none;

    padding: 0.85rem 1.5rem;

    background: transparent;
    border: 1px solid #813D38;
    border-radius: 2px;

    color: #813D38;

    font-family: inherit;
    font-size: 0.82rem;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.08em;
    text-transform: uppercase;

    cursor: pointer;

    transition:
        background-color 160ms ease,
        color 160ms ease;
}

.mm-ideas-more-button:hover {
    background: #813D38;
    color: #ffffff;
}

@media (max-width: 700px) {

    .mm-ideas-more-wrap {
        margin-top: 2.4rem;
    }

}

