/* Mancs Manók Munkában design system: tokenek és komponensek (forrás: design system artifact) */
:root {
  --amarant: #930F44;
  --amarant-mely: #760C37;
  --malna: #DC456D;
  --malna-halvany: #FBE7EC;
  --zsalya: #B4C77B;
  --zsalya-sotet: #7A8F5E;
  --zsalya-szoveg: #5E7045;
  --homok: #F7CD96;
  --homok-halvany: #FDF0DE;
  --krem: #FDF7F5;
  --feher: #FFFFFF;
  --rozsa-vonal: #EADCE0;
  --szoveg: #444444;
  --szoveg-halk: #6B5F63;
  --tinta: #222222;
  --fokusz: var(--malna);
  --font-cim: "Bree Serif", Georgia, "Times New Roman", serif;
  --font-szoveg: "Nunito", "Segoe UI", system-ui, sans-serif;
  --font-irott: "Grafolita Script", "Dancing Script", "Segoe Script", cursive;
  --ter-1: 4px;
  --ter-2: 8px;
  --ter-3: 12px;
  --ter-4: 16px;
  --ter-5: 24px;
  --ter-6: 32px;
  --ter-7: 48px;
  --ter-8: 72px;
  --ter-9: 96px;
  --kerek-kicsi: 8px;
  --kerek-kozep: 20px;
  --kerek-ivelt: 160px;
  --kerek-pirula: 999px;
  --arnyek-puha: 0 2px 10px rgba(147, 15, 68, 0.10);
  --arnyek-kartya: 0 8px 28px rgba(147, 15, 68, 0.12);
}

/* Mancs Manók Munkában — component styles. Every value comes from tokens.css. */

.mmm-icon { display: inline-block; flex: none; vertical-align: middle; }

:where(.mmm-btn, .mmm-chip, .mmm-header a, .mmm-lang a, .mmm-post a, .mmm-footer a):focus-visible {
  outline: 3px solid var(--fokusz);
  outline-offset: 2px;
}
.mmm-sotet :where(a, button):focus-visible,
.mmm-btn--elsodleges:focus-visible { outline-color: var(--feher); }

/* Button */
.mmm-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--ter-2);
  min-height: 48px; padding: var(--ter-3) var(--ter-5);
  border-radius: var(--kerek-pirula); border: 2px solid transparent;
  font-family: var(--font-szoveg); font-size: 17px; line-height: 22px; font-weight: 700;
  text-decoration: none; cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.mmm-btn--kicsi { min-height: 40px; padding: var(--ter-2) var(--ter-4); font-size: 15px; }
.mmm-btn--elsodleges { background: var(--amarant); color: var(--feher); }
.mmm-btn--elsodleges:hover { background: var(--amarant-mely); }
.mmm-btn--masodlagos { background: transparent; color: var(--amarant); border-color: var(--amarant); }
.mmm-btn--masodlagos:hover { background: var(--malna-halvany); }
.mmm-sotet .mmm-btn--masodlagos { color: var(--feher); border-color: var(--feher); }
.mmm-sotet .mmm-btn--masodlagos:hover { background: var(--amarant-mely); }
.mmm-btn--vilagos { background: var(--feher); color: var(--amarant); }
.mmm-btn--vilagos:hover { background: var(--homok-halvany); }
.mmm-btn:disabled, .mmm-btn[aria-disabled="true"] { opacity: .45; cursor: not-allowed; }

/* Tag */
.mmm-tag {
  display: inline-flex; align-items: center; align-self: flex-start;
  padding: 5px var(--ter-3); border-radius: var(--kerek-pirula);
  font-family: var(--font-szoveg); font-size: 12px; line-height: 16px; font-weight: 800;
  letter-spacing: .08em; text-transform: uppercase;
}
.mmm-tag--amarant { background: var(--malna-halvany); color: var(--amarant); }
.mmm-tag--zsalya { background: var(--krem); color: var(--zsalya-szoveg); box-shadow: inset 0 0 0 1.5px var(--zsalya); }
.mmm-tag--homok { background: var(--homok); color: var(--tinta); }

/* ContactChip — the letterhead's white pills */
.mmm-chip {
  display: inline-flex; align-items: center; gap: var(--ter-2);
  padding: 6px var(--ter-4) 6px 6px; border-radius: var(--kerek-pirula);
  background: var(--feher); color: var(--szoveg); box-shadow: var(--arnyek-puha);
  font-family: var(--font-szoveg); font-size: 15px; line-height: 20px; text-decoration: none;
}
.mmm-chip__icon {
  display: inline-grid; place-items: center; width: 28px; height: 28px;
  border-radius: var(--kerek-pirula); background: var(--amarant); color: var(--feher);
}
a.mmm-chip:hover .mmm-chip__text { color: var(--amarant); text-decoration: underline; text-decoration-color: var(--malna); }

/* Wordmark — set the way the letterhead sets it, two lines of Bree Serif */
.mmm-wordmark { display: inline-flex; flex-direction: column; font-family: var(--font-cim); font-size: 20px; line-height: 22px; color: var(--tinta); }
.mmm-wordmark--light { color: var(--feher); }

/* SiteHeader */
.mmm-header {
  display: flex; flex-wrap: wrap; align-items: center; gap: var(--ter-4) var(--ter-6);
  padding: var(--ter-3) var(--ter-5); background: var(--feher);
  border-bottom: 1px solid var(--rozsa-vonal);
}
.mmm-header__brand { display: inline-flex; align-items: center; gap: var(--ter-3); text-decoration: none; }
.mmm-header__brand img { display: block; }
.mmm-header__nav { display: flex; flex-wrap: wrap; gap: var(--ter-1) var(--ter-5); margin-left: auto; }
.mmm-header__link {
  padding: var(--ter-2) 0; border-bottom: 2px solid transparent;
  font-family: var(--font-szoveg); font-size: 16px; font-weight: 700; color: var(--szoveg); text-decoration: none;
}
.mmm-header__link:hover { color: var(--amarant); border-bottom-color: var(--malna); }
.mmm-header__link.is-active { color: var(--amarant); border-bottom-color: var(--amarant); }

/* Language switch (magyar / English) */
.mmm-lang { display: inline-flex; padding: 3px; border-radius: var(--kerek-pirula); background: var(--krem); box-shadow: inset 0 0 0 1px var(--rozsa-vonal); }
.mmm-lang__item {
  min-width: 36px; padding: 6px var(--ter-3); border-radius: var(--kerek-pirula); text-align: center;
  font-family: var(--font-szoveg); font-size: 13px; line-height: 18px; font-weight: 800; letter-spacing: .08em;
  color: var(--szoveg-halk); text-decoration: none;
}
.mmm-lang__item:hover { color: var(--amarant); }
.mmm-lang__item.is-active { background: var(--amarant); color: var(--feher); }

/* Hero — Rebeka's Facebook cover as the opening band */
.mmm-hero {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; align-items: center; min-height: 460px;
  background: var(--amarant); color: var(--feher);
}
.mmm-hero__text {
  position: relative; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; gap: var(--ter-5);
  width: 46%; min-width: 0; padding: var(--ter-8) var(--ter-5) var(--ter-8) var(--ter-8);
}
.mmm-hero__title { margin: 0; font-family: var(--font-cim); font-weight: 400; font-size: 56px; line-height: 60px; letter-spacing: -.01em; text-wrap: balance; }
.mmm-hero__script { display: block; margin-top: var(--ter-1); font-family: var(--font-irott); font-weight: 500; font-size: 64px; line-height: 72px; letter-spacing: 0; }
.mmm-hero__pill {
  padding: var(--ter-3) var(--ter-6); border-radius: var(--kerek-pirula); background: var(--feher); color: var(--tinta);
  font-family: var(--font-szoveg); font-size: 15px; line-height: 20px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
}
.mmm-hero__lead { margin: 0; max-width: 30em; font-family: var(--font-szoveg); font-size: 18px; line-height: 28px; }
.mmm-hero__email { display: flex; align-items: center; gap: var(--ter-3); margin: 0; font-family: var(--font-szoveg); font-size: 17px; line-height: 24px; }
.mmm-hero__actions { display: flex; flex-wrap: wrap; gap: var(--ter-3); }
.mmm-hero__img {
  position: absolute; z-index: 1; right: 0; top: 0; height: 100%; width: auto; max-width: none;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 20%);
  mask-image: linear-gradient(to right, transparent 0, #000 20%);
}
.mmm-hero__star { position: absolute; z-index: 0; width: 280px; left: -170px; bottom: -120px; }
.mmm-hero .mmm-star__line { fill: var(--feher); }
.mmm-star__line { fill: var(--zsalya); }
.mmm-star__fill { fill: var(--amarant); }
@media (max-width: 1100px) {
  .mmm-hero { flex-direction: column; align-items: stretch; min-height: 0; }
  .mmm-hero__text { width: auto; padding: var(--ter-7) var(--ter-4) var(--ter-5); }
  .mmm-hero__title { font-size: 40px; line-height: 46px; }
  .mmm-hero__script { font-size: 48px; line-height: 56px; }
  .mmm-hero__img { position: relative; height: auto; width: 100%; max-width: 100%; -webkit-mask-image: linear-gradient(to right, transparent 0, #000 16%); mask-image: linear-gradient(to right, transparent 0, #000 16%); }
  .mmm-hero__star { display: none; }
}

/* PostCard */
.mmm-post {
  display: flex; flex-direction: column; overflow: hidden; min-width: 0;
  background: var(--feher); border: 1px solid var(--rozsa-vonal); border-radius: var(--kerek-kozep);
  transition: box-shadow .2s ease;
}
.mmm-post:hover { box-shadow: var(--arnyek-kartya); }
.mmm-post__media img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.mmm-post__body { display: flex; flex-direction: column; gap: var(--ter-3); padding: var(--ter-5); }
.mmm-post__title { margin: 0; font-family: var(--font-cim); font-weight: 400; font-size: 24px; line-height: 32px; text-wrap: balance; }
.mmm-post__title a { color: var(--amarant); text-decoration: none; }
.mmm-post__title a:hover { text-decoration: underline; text-decoration-color: var(--malna); text-underline-offset: 4px; }
.mmm-post__excerpt { margin: 0; font-family: var(--font-szoveg); font-size: 16px; line-height: 26px; color: var(--szoveg); }
.mmm-post__meta { margin: 0; font-family: var(--font-szoveg); font-size: 14px; line-height: 22px; color: var(--szoveg-halk); }

/* DogCard */
.mmm-dog {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: var(--ter-2); min-width: 0;
  padding: var(--ter-6) var(--ter-5); background: var(--feher); border: 1px solid var(--rozsa-vonal); border-radius: var(--kerek-kozep);
}
.mmm-dog__photo {
  display: grid; place-items: center; width: 148px; height: 148px; margin-bottom: var(--ter-2);
  border-radius: var(--kerek-pirula); background: var(--homok); overflow: hidden;
  box-shadow: 0 0 0 6px var(--feher), 0 0 0 8px var(--zsalya);
}
.mmm-dog__photo img { width: 100%; height: 100%; object-fit: cover; }
.mmm-dog__initial { font-family: var(--font-cim); font-size: 64px; color: var(--amarant); }
.mmm-dog__name { margin: 0; font-family: var(--font-cim); font-weight: 400; font-size: 26px; line-height: 34px; color: var(--amarant); }
.mmm-dog__role { margin: 0; font-family: var(--font-irott); font-weight: 500; font-size: 26px; line-height: 32px; color: var(--malna); }
.mmm-dog__breed { margin: 0; font-family: var(--font-szoveg); font-size: 14px; line-height: 22px; color: var(--szoveg-halk); }
.mmm-dog__text { margin: var(--ter-2) 0 0; font-family: var(--font-szoveg); font-size: 16px; line-height: 26px; color: var(--szoveg); max-width: 32em; }
.mmm-dog__tags { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--ter-2); margin-top: var(--ter-2); }

/* Quote */
.mmm-quote {
  position: relative; margin: 0; padding: var(--ter-6) var(--ter-6) var(--ter-6) var(--ter-8);
  background: var(--homok-halvany); border-radius: var(--kerek-kozep) var(--kerek-kozep) var(--kerek-kozep) var(--kerek-ivelt);
}
.mmm-quote__mark { position: absolute; left: var(--ter-5); top: -56px; font-family: var(--font-irott); font-size: 120px; line-height: 1; color: var(--malna); }
.mmm-quote__text { margin: 0; font-family: var(--font-cim); font-size: 24px; line-height: 34px; color: var(--amarant); text-wrap: pretty; }
.mmm-quote__by { margin-top: var(--ter-4); font-family: var(--font-szoveg); font-size: 15px; line-height: 22px; font-weight: 700; color: var(--szoveg); }
.mmm-quote__by span { font-weight: 400; color: var(--szoveg-halk); }

/* MediaFeature — "Rólunk mondták": the podcast and other media appearances */
.mmm-media {
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: center; gap: var(--ter-6);
  padding: var(--ter-5); background: var(--feher); border: 1px solid var(--rozsa-vonal); border-radius: var(--kerek-kozep);
}
.mmm-media__thumb {
  position: relative; display: block; overflow: hidden; aspect-ratio: 16 / 9; max-width: 100%;
  border-radius: var(--kerek-kicsi) var(--kerek-kicsi) var(--kerek-kicsi) var(--kerek-ivelt); background: var(--amarant);
}
.mmm-media__thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.mmm-media__play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  display: grid; place-items: center; width: 76px; height: 76px; border-radius: var(--kerek-pirula);
  background: var(--amarant); color: var(--feher); box-shadow: 0 0 0 6px var(--feher);
  transition: background-color .15s ease;
}
.mmm-media__thumb:hover .mmm-media__play { background: var(--amarant-mely); }
.mmm-media__duration {
  position: absolute; right: var(--ter-3); bottom: var(--ter-3); padding: 2px var(--ter-2); border-radius: var(--kerek-kicsi);
  background: var(--tinta); color: var(--feher); font-family: var(--font-szoveg); font-size: 13px; line-height: 18px; font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.mmm-media__body { display: flex; flex-direction: column; align-items: flex-start; gap: var(--ter-3); min-width: 0; }
.mmm-media__label { font-family: var(--font-szoveg); font-size: 13px; line-height: 18px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--zsalya-szoveg); }
.mmm-media__title { margin: 0; font-family: var(--font-cim); font-weight: 400; font-size: 26px; line-height: 34px; color: var(--amarant); text-wrap: balance; }
.mmm-media__source { margin: 0; font-family: var(--font-szoveg); font-size: 14px; line-height: 22px; color: var(--szoveg-halk); }
.mmm-media__text { margin: 0; font-family: var(--font-szoveg); font-size: 16px; line-height: 26px; color: var(--szoveg); }
.mmm-media__thumb:focus-visible { outline: 3px solid var(--fokusz); outline-offset: 2px; }
@media (max-width: 720px) { .mmm-media { grid-template-columns: minmax(0, 1fr); } }

/* SiteFooter — the letterhead's amaránt band with white contact pills */
.mmm-footer { display: flex; flex-direction: column; gap: var(--ter-6); padding: var(--ter-7) var(--ter-6) var(--ter-5); background: var(--amarant); color: var(--feher); }
.mmm-footer__top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--ter-6); }
.mmm-footer__brand { display: flex; align-items: center; gap: var(--ter-4); }
.mmm-footer__brand img { display: block; }
.mmm-footer__slogan { margin: var(--ter-2) 0 0; font-family: var(--font-irott); font-weight: 500; font-size: 26px; line-height: 32px; color: var(--homok); }
.mmm-footer__links { display: flex; flex-wrap: wrap; align-content: flex-start; gap: var(--ter-2) var(--ter-5); }
.mmm-footer__links a { font-family: var(--font-szoveg); font-size: 16px; font-weight: 700; color: var(--feher); text-decoration: none; }
.mmm-footer__links a:hover { text-decoration: underline; text-underline-offset: 4px; }
.mmm-footer__chips { display: flex; flex-wrap: wrap; gap: var(--ter-3); }
.mmm-footer__note { margin: 0; padding-top: var(--ter-4); border-top: 1px solid var(--malna); font-family: var(--font-szoveg); font-size: 13px; line-height: 20px; color: var(--feher); opacity: .85; }

@media (prefers-reduced-motion: reduce) {
  .mmm-btn, .mmm-post, .mmm-media__play { transition: none; }
}
