/* ===== ROOT VARIABLES ===== */
:root {
  --header-bg: linear-gradient(90deg, #193124 0%, #1f4b33 100%);
  --text-on-dark: #F2F5EA;
  --header-h: 80px;
  --container: 1200px;
  --gap: 20px;
  --life-overlap: 115px;
  --life-gap: 80px;
  --life-img-gap: 22px;
  --life-side-gap: 64px;
  --life-shift: 64px;
}

/* ===== RESET ===== */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: #E6EAD6; }
body {
  font-family: 'Poppins', sans-serif;
  color: #111;
  padding-top: var(--header-h);
  position: relative;
  z-index: 1;
}
h1, h2, h3 { margin: 0 0 14px; }
p { margin: 0 0 14px; line-height: 1.7; }
main {
  padding: 0;
  position: relative;
  z-index: 1;
  background: transparent; /* ne takarja a body háttér + fix dekor réteget */
  overflow-wrap: break-word;
  word-wrap: break-word;
}

/* Skip link: accessibility + SEO (visible on focus only) */
.tmf-skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 10001;
  padding: 12px 24px;
  background: #193124;
  color: #F2F5EA;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 0 0 4px 0;
}
.tmf-skip-link:focus {
  left: 0;
  outline: 2px solid #eebb07;
  outline-offset: 2px;
}

/* ===== CONTAINER ===== */
.tmf-container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* ===== HEADER ===== */
.tmf-header {
  background: var(--header-bg);
  color: var(--text-on-dark);
  height: var(--header-h);
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  z-index: 1000;
}
.tmf-header__inner {
  height: var(--header-h);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
}

/* Logo */
.tmf-logo { display: block; }
.tmf-logo__link { display: inline-block; }
.tmf-logo__img {
  width: 56px;
  height: 46px;
  display: block;
  margin-left: 48px;
  margin-top: -8px;
}
.site-title, .site-description, .tmf-brand__text, .tmf-logo-text { display: none; }

/* ===== PRIMARY NAV ===== */
.tmf-nav { justify-self: center; min-width: 0; }
.tmf-menu {
  list-style: none;
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: var(--gap);
  margin: 0; padding: 0;
}
.tmf-menu li { flex-shrink: 0; }
.tmf-menu a {
  display: inline-block;
  white-space: nowrap;
  color: var(--text-on-dark);
  text-decoration: none;
  font-size: 14px;
  font-weight: 400;
  line-height: 32px;
  transition: opacity .2s ease;
}
.tmf-menu a:hover { opacity: .75; }
.tmf-menu .current-menu-item > a { font-weight: 600; }

/* ===== RIGHT TOOLS ===== */
.tmf-tools { display: flex; align-items: center; gap: 18px; white-space: nowrap; }
.tmf-social { display: flex; align-items: center; gap: 14px; }
.tmf-social a {
  display: inline-flex;
  width: 22px; height: 22px;
  color: var(--text-on-dark);
  transition: opacity .2s ease;
}
.tmf-social a:hover { opacity: .75; }
.tmf-social svg { width: 100%; height: 100%; fill: currentColor; }

.tmf-lang { display: flex; gap: 10px; }
.tmf-lang__link { color: var(--text-on-dark); text-decoration: none; font-size: 14px; opacity: .85; }
.tmf-lang__link.is-active { opacity: 1; font-weight: 600; }

/* ===== HAMBURGER ===== */
.tmf-burger {
  display: none;
  width: 40px; height: 40px;
  border: 0;
  background: transparent;
  color: var(--text-on-dark);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.tmf-burger svg { width: 26px; height: 26px; fill: currentColor; }

/* ===== MOBILE DRAWER ===== */
.tmf-drawer {
  display: none;
  position: fixed;
  top: var(--header-h); left: 0;
  width: 100%;
  background: var(--header-bg);
  color: var(--text-on-dark);
  z-index: 999;
  padding: 18px 0 24px;
}
.tmf-drawer.is-open { display: block; }
.tmf-drawer .tmf-menu { flex-direction: column; align-items: flex-start; gap: 14px; }
.tmf-drawer .tmf-container { display: flex; flex-direction: column; gap: 18px; }

/* ===== FOOTER ===== */
.tmf-footer {
  background: var(--header-bg);
  color: var(--text-on-dark);
  padding: 40px 0 24px; /* alap - newsletter nélkül */
  position: relative;
  z-index: 1;
}
/* Ha van newsletter a footer előtt */
.tmf-newsletter + .tmf-footer,
body:not(.home) .tmf-footer {
  padding-top: 140px;
}
.home .tmf-footer {
  padding-top: 40px;
}

.tmf-footer__inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.tmf-footer a { color: var(--text-on-dark); text-decoration: none; opacity: .9; }
.tmf-footer a:hover { opacity: .75; }
.tmf-footer-menu {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

/* ===== BUTTONS ===== */
.tmf-btn {
  display: inline-block;
  padding: 14px 28px;
  background: #F2C94C;
  color: #193124;
  font-weight: 600;
  text-decoration: none;
  border-radius: 4px;
  transition: all .2s ease;
}
.tmf-btn:hover { background: #e6b93f; }
.tmf-btn--dark { background: #193124; color: #F2F5EA; }
.tmf-btn--dark:hover { background: #15261c; }

/* ===== HERO ===== */
.tmf-hero {
  position: relative;
  min-height: 520px;
  height: 72vh;
  overflow: hidden;
}
.home .tmf-hero {
  margin-top: calc(var(--header-h) * -1);
  height: calc(800px + var(--header-h));
  min-height: calc(600px + var(--header-h));
}
.tmf-hero__video {
  position: absolute;
  inset: 0; width: 100%; height: 100%;
  object-fit: cover;
}
.tmf-hero__shade {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.25); z-index: 1;
}
.tmf-hero__panel {
  position: absolute; inset: 0;
  width: 46%; max-width: 560px;
  background: linear-gradient(90deg, #193124 3.25%, rgba(25,49,36,0) 50%);
  z-index: 2;
}
.tmf-hero__content {
  position: relative; z-index: 3;
  height: 100%; width: 100%;
  display: flex; align-items: flex-start; justify-content: flex-start;
  padding-left: clamp(16px, 4vw, 64px);
  padding-right: clamp(16px, 4vw, 64px);
}
.tmf-hero__stack { max-width: 520px; padding-top: clamp(80px, 12vh, 160px); }
.tmf-hero__logo { width: 220px; height: auto; display: block; margin-bottom: 18px; }
.tmf-hero__title {
  font-family: "Coustard", serif; font-size: 40px; font-weight: 400;
  line-height: 48px; color: #eebb07; margin: 0 0 10px;
}
.tmf-hero__lead { color: #fff; margin: 0 0 18px; line-height: 1.6; max-width: 520px; }
.tmf-hero__cta {
  display: inline-flex; align-items: center; gap: 10px;
  color: #eebb07; font-family: Poppins, sans-serif;
  font-size: 16px; font-weight: 600; text-decoration: none;
}
.tmf-hero__cta:hover { text-decoration: underline; }

/* ===== STATS ===== */
.tmf-stats {
  background-color: #223724;
  width: 100%;
  min-height: 444px;
  box-sizing: border-box;
}
.tmf-stats__holder {
  margin: auto;
  padding-top: 3rem;
  width: 70%;
  display: flex;
  justify-content: space-evenly;
  background-color: #223724;
  padding-bottom: 3rem;
}
.tmf-stats__card { width: 355px; display: flex; flex-direction: column; align-items: center; }
.tmf-stats__imgwrap { margin: auto; }
.tmf-stats__imgwrap img { height: 196px; width: 196px; display: block; }
.tmf-stats__number {
  font-family: "Coustard", serif; font-size: 56px; font-weight: 400;
  line-height: 84px; color: #eebb07; text-align: center;
}
.tmf-stats__label { font-size: 16px; font-weight: 500; color: #fff; text-align: center; }

/* ===== HOW TO HELP ===== */
.tmf-help {
  width: 100%; position: relative;
  background: linear-gradient(0deg, #E6EAD6, #E6EAD6),
              radial-gradient(50% 50% at 50% 50%, #ecf4d7 0%, #ced8b4 100%);
  padding-bottom: 5rem;
}
.tmf-help__leaf {
  position: absolute; z-index: 2; opacity: .25; pointer-events: none;
}
.tmf-help__leaf--right {
  width: 521px; right: 130px; top: 0;
  transform: scaleX(-1) rotate(-101deg);
}
.tmf-help__leaf--leftalt {
  width: 700px; left: -150px; bottom: -150px;
  transform: rotate(-101deg);
}
.tmf-help__title {
  font-family: "Coustard", serif; font-size: 40px; font-weight: 400;
  line-height: 48px; text-align: center; color: #193124;
  padding-top: 3rem; margin: 0 0 3rem;
}
.tmf-help__grid {
  display: flex; flex-wrap: wrap;
  justify-content: space-evenly;
  z-index: 3; margin: auto;
  width: 100%;
  gap: 2rem;
  padding: 0 2rem;
  box-sizing: border-box;
}
.tmf-help__card {
  position: relative;
  width: 288px; height: 404px;
  background-color: #f2f5ea;
  color: #385244;
  z-index: 3;
  display: flex; flex-direction: column;
  overflow: hidden;
  margin-bottom: 1rem;
}
.tmf-help__card-text {
  margin-top: 2rem;
  font-family: Poppins, sans-serif; font-size: 18px; font-weight: 500;
  line-height: 28px; text-align: center;
  padding: 0 1rem;
}
.tmf-help__card-img {
  background-color: #223724;
  margin: auto; margin-top: 2rem;
  height: 10rem; width: auto;
  display: block;
}
.tmf-help__card-btnwrap {
  width: 100%; position: absolute; bottom: 1rem;
  display: flex; justify-content: center;
}
.tmf-help__card-btn {
  display: inline-block;
  background-color: #385244; border-radius: 2px; color: #f2f5ea;
  font-family: Poppins, sans-serif; font-size: 18px; font-weight: 600;
  line-height: 24px; text-align: center;
  padding: 12px 32px; text-decoration: none;
}
.tmf-help__card-btn:hover { background-color: #eebb07; color: #212529; text-decoration: none; }

/* ===== MISSION ===== */
.tmf-mission {
  background-color: #312319;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  /* Ugyanaz a háttér, mint a 10milliofa.hu főoldalán (leaderbg + bal oldali sötét átmenet) */
  background-image:
    linear-gradient(90deg, #312319 3.25%, rgba(49,35,25,0) 100%),
    url('../img/leaderbg.webp');
  width: 100%; min-height: 634px;
  display: flex; justify-content: space-between;
}
.tmf-mission__content {
  width: 100%; min-height: 634px;
  display: flex; justify-content: space-between; align-items: center;
}
.tmf-mission__text {
  padding-top: 10rem; height: 100%;
  padding-left: 5rem; width: 600px;
  padding-bottom: 5rem;
}
.tmf-mission__title {
  font-family: "Coustard", serif; font-size: 40px; font-weight: 400;
  line-height: 48px; letter-spacing: 0; color: #eebb07; margin: 0 0 1rem;
}
.tmf-mission__lead {
  font-size: 14px; line-height: 1.7;
  color: #fff; margin: 0 0 1rem;
  font-family: 'Open Sans', Poppins, sans-serif; font-weight: 400;
}
.tmf-mission__link {
  font-family: Poppins, sans-serif; font-size: 16px; font-weight: 600;
  color: #eebb07; text-decoration: none;
}
.tmf-mission__link:hover { text-decoration: underline; }
.tmf-mission__sig { margin-top: 1rem; }
.tmf-mission__name { font-family: Poppins, sans-serif; font-size: 16px; font-weight: 600; color: #fff; margin: 0; }
.tmf-mission__role { font-family: Poppins, sans-serif; font-size: 14px; color: #eebb07; margin: 0; }
.tmf-mission__imgwrap {
  flex-shrink: 0;
  margin-right: 9rem; margin-top: 7rem;
}
.tmf-mission__leader {
  border-radius: 50%; object-fit: cover;
  height: 392px; width: 392px;
  border: 8px solid #F2F5EA;
  display: block;
}

/* ===== PARTNERS ===== */
.tmf-partners { background: #fff; padding: 0 0 5rem; width: 100%; }
.tmf-partners__title {
  font-family: "Coustard", serif; font-size: 40px; font-weight: 400;
  text-align: center; color: #193124; margin: 0; padding-top: 3rem; padding-bottom: 1rem;
}
.tmf-partners__lead {
  text-align: center; font-size: 14px; line-height: 1.6;
  max-width: 700px; margin: 0 auto 1rem; color: #333; padding: 0 1rem;
}
.tmf-partners__special {
  display: flex; justify-content: center;
  margin-top: 2rem; margin-bottom: 0;
}
.tmf-partners__special img { max-height: 80px; width: auto; }
.tmf-partners__grid {
  display: flex; flex-wrap: wrap;
  justify-content: center; align-items: center;
  padding: 2rem 1rem;
  width: 100%; box-sizing: border-box;
}
.tmf-partner {
  width: 184px; height: 184px;
  display: flex; align-items: center; justify-content: center;
  padding: 2rem; box-sizing: border-box;
}
.tmf-partner img { max-width: 100%; max-height: 100%; object-fit: contain; }
@media (max-width: 768px) {
  .tmf-partner { width: 123px; height: 123px; padding: 1rem; }
}

/* ===== SECTION TITLE ===== */
.tmf-section-title {
  font-family: "Coustard", serif; font-size: 40px; font-weight: 400;
  line-height: 48px; text-align: center; color: rgb(56,82,68);
  margin: 4px auto 24px; padding-top: 12px;
}

/* ===== LIFE / NEWS ===== */
/* Egységes oldalháttér: ugyanaz a lágy zöld mint a body (#E6EAD6), szekció átlátszó — mint a hírek oldal */
.tmf-life {
  background: transparent;
  padding: 20px 0 70px;
  position: relative;
  overflow: visible;
}

.tmf-news-archive { background: transparent !important; }
.tmf-life--news {
  width: 100%;
  padding: 0 0 70px;
  position: relative;
  overflow: visible;
  background: transparent !important;
}
.tmf-life--news .tmf-container { position: relative; z-index: 3; }
.tmf-life--hirek-preview .tmf-container,
.tmf-life.tmf-press .tmf-container { position: relative; z-index: 3; }

.tmf-news-archive__title {
  padding-top: 3rem;
  margin: 0 auto 5rem;
  width: 28rem;
  max-width: 100%;
  box-sizing: border-box;
  font-family: "Coustard", serif;
  font-size: 40px;
  font-weight: 400;
  line-height: 56px;
  letter-spacing: 0;
  text-align: center;
  color: #385244;
}
@media (max-width: 767.98px) {
  .tmf-news-archive__title { width: 90%; }
}

/* SPA-val azonos: <img> dekor, nem pszeudo — elkerüli a .tmf-life::before/::after kaszkád + dupla „tejesség” */
.tmf-news-archive__leaf {
  position: absolute;
  z-index: 2;
  pointer-events: none;
  user-select: none;
  opacity: 0.25;
  display: block;
  object-fit: cover;
}
.tmf-news-archive__leaf--right {
  top: 0;
  right: 130px;
  width: 520.875656849px;
  height: 695.2839161414px;
  transform: scaleX(-1) rotate(-101deg);
}
.tmf-news-archive__leaf--left {
  left: -150px;
  bottom: 0;
  width: 700.03px;
  height: 934.42px;
  transform: rotate(-101deg);
}
/* SPA /news második blokk: leaf4 + leaf3 (Rólunk írták szekció + hosszú hírlista alja) */
.tmf-news-archive__leaf--spa-rb {
  right: 22px;
  bottom: -60px;
  width: min(775px, 58vw);
  height: auto;
  transform: matrix(-0.866025, -0.5, -0.5, 0.866025, 0, 0);
  object-fit: contain;
}
.tmf-news-archive__leaf--spa-left2 {
  left: -150px;
  bottom: 12%;
  width: min(700px, 52vw);
  height: auto;
  transform: rotate(-101deg);
  object-fit: contain;
}
@media (max-width: 767.98px) {
  .tmf-news-archive__leaf {
    display: none;
  }
}

/* Kezdőlap / hireink / rólunk írták: továbbra is átlátszó szekció; levéldekor: hírek/SPA img (tmf-news-archive__leaf), nem pszeudo */
.tmf-life.tmf-life--hirek-preview,
.tmf-life.tmf-press {
  background: transparent !important;
  overflow: visible;
}
.tmf-life__grid {
  display: flex; flex-direction: column; align-items: center; gap: 0;
}
.tmf-life__grid > .tmf-postcard {
  position: relative; display: flex; flex-direction: row;
  justify-content: center; align-items: flex-start;
  width: 100%; margin: 0; padding: 0;
  background: transparent; border: 0; box-shadow: none; border-radius: 0; overflow: visible;
}
.tmf-life__grid > .tmf-postcard:nth-child(even) { flex-direction: row-reverse; }
.tmf-life__grid > .tmf-postcard:nth-child(1) { z-index: 3; }
.tmf-life__grid > .tmf-postcard:nth-child(2) { z-index: 2; margin-top: -60px; }
.tmf-life__grid > .tmf-postcard:nth-child(3) { z-index: 1; margin-top: -60px; }
.tmf-life__grid > .tmf-postcard:nth-child(2) .tmf-postcard__img,
.tmf-life__grid > .tmf-postcard:nth-child(3) .tmf-postcard__img { margin-top: 40px; }
.tmf-life .tmf-postcard__img {
  display: block; width: 600px; height: 600px; flex: 0 0 600px; overflow: hidden;
}
.tmf-life .tmf-postcard__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tmf-life .tmf-postcard__body {
  width: 700px; min-height: 406px; padding: 60px 80px;
  background: #F3F1E1; margin-top: 97px;
  margin-left: -60px;
  position: relative; z-index: 2;
  display: flex; flex-direction: column; gap: 14px;
}
.tmf-life__grid > .tmf-postcard:nth-child(even) .tmf-postcard__body { margin-left: 0; margin-right: -60px; }
.tmf-life .tmf-postcard__meta { font-size: 13px; color: #555; display: flex; gap: 12px; }
.tmf-life .tmf-postcard__title { margin: 0; font-family: "Coustard", serif; font-size: 32px; font-weight: 400; line-height: 40px; }
.tmf-life .tmf-postcard__title a { color: #193124; text-decoration: none; }
.tmf-life .tmf-postcard__title a:hover { text-decoration: underline; }
.tmf-life .tmf-postcard__excerpt { margin: 0; font-size: 16px; line-height: 26px; color: #111; }
.tmf-life .tmf-postcard__btn {
  margin-top: auto; align-self: flex-start;
  padding: 12px 32px; border-radius: 2px;
  background: #193124; color: #F2F5EA;
  text-decoration: none; font-size: 16px; font-weight: 600;
}
.tmf-life .tmf-postcard__btn:hover { background: #15261c; }
.tmf-life__more { text-align: center; padding: 56px 0 40px; }
.tmf-moreBtn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 48px; padding: 0 28px;
  border: 2px solid #385244; background: #E6EAD6;
  color: #385244; font-family: Poppins, sans-serif;
  font-size: 20px; font-weight: 600; text-decoration: none; border-radius: 2px;
}
.tmf-moreBtn:hover { background: #385244; color: #eebb07; }

/* Lapozó (paginate_links type=list): vízszintes, témához illeszkedő — hireink, hirek */
.tmf-life__pagination { padding: 56px 0 40px; text-align: center; }
.tmf-life__pagination .page-numbers {
  list-style: none;
  margin: 0;
  padding: 0;
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  align-items: center;
  justify-content: center;
}
.tmf-life__pagination .page-numbers li {
  margin: 0;
  padding: 0;
  list-style: none;
}
.tmf-life__pagination .page-numbers a,
.tmf-life__pagination .page-numbers span.page-numbers {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border: 2px solid #385244;
  background: #F3F1E1;
  color: #193124;
  font-family: Poppins, sans-serif;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 2px;
  line-height: 1;
}
.tmf-life__pagination .page-numbers a:hover {
  background: #385244;
  color: #eebb07;
  border-color: #385244;
}
.tmf-life__pagination .page-numbers span.page-numbers.current {
  background: #193124;
  color: #F2C94C;
  border-color: #193124;
  cursor: default;
}
.tmf-life__pagination .page-numbers span.page-numbers.dots {
  border-color: transparent;
  background: transparent;
  color: #385244;
  min-width: auto;
  padding: 0 4px;
  font-weight: 500;
}
.tmf-life__pagination .page-numbers .prev,
.tmf-life__pagination .page-numbers .next {
  min-width: auto;
  padding: 0 16px;
}

/* ===== BREAK (köztes kép) ===== */
.tmf-break {
  width: 100%; height: 520px;
  background-image: url("../img/treebranch.webp");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

/* ===== SINGLE POST / CIKK OLDAL (egységes betűtípus: Coustard címsorok, Poppins szöveg) ===== */
.tmf-single { padding-bottom: 80px; font-family: "Poppins", sans-serif; }
.tmf-single__hero { padding: 0 16px; }
.tmf-single__hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  height: clamp(260px, 38vw, 520px);
  overflow: hidden;
  border-radius: 10px;
}
.tmf-single__hero-img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; display: block; }
.tmf-single__body { padding: 0 16px; position: relative; z-index: 2; }
.tmf-single__card {
  max-width: 760px;
  margin: clamp(-160px, -12vw, -90px) auto 0;
  background: #fff;
  border-radius: 10px;
  padding: 28px 28px 34px;
  box-shadow: 0 12px 30px rgba(0,0,0,.12);
  font-family: "Poppins", sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.7;
  color: #252525;
}
.tmf-single__title {
  margin: 0 0 10px;
  font-family: "Coustard", serif;
  font-size: 40px;
  font-weight: 400;
  line-height: 1.2;
  color: #252525;
}
.tmf-single__meta {
  opacity: .7;
  margin-bottom: 18px;
  font-family: "Poppins", sans-serif;
  font-size: 14px;
}
.tmf-single__content {
  font-family: "Poppins", sans-serif;
  font-size: 18px;
  line-height: 1.7;
  color: #252525;
}
.tmf-single__content h1,
.tmf-single__content h2,
.tmf-single__content h3 {
  font-family: "Coustard", serif;
  font-weight: 400;
  margin-top: 1.5em;
  margin-bottom: 0.5em;
}
.tmf-single__content h1 { font-size: 40px; line-height: 1.2; }
.tmf-single__content h2 { font-size: 32px; line-height: 1.25; }
.tmf-single__content h3 { font-size: 24px; line-height: 1.3; }
.tmf-single__content p,
.tmf-single__content li { font-family: "Poppins", sans-serif; }
.tmf-single__content a { color: #385244; text-decoration: underline; }
.tmf-single__content a:hover { opacity: .85; }
.tmf-single__content > *:first-child { margin-top: 0; }
.tmf-single__content img { max-width: 100%; height: auto; }

/* ===== GYIK / FAQ – 10milliofa.hu SPA (accordionContainer_a5avg + details) ===== */
.tmf-gyik-page {
  width: 100%;
  background-color: #e5e5d2;
  color: #223724;
  box-sizing: border-box;
}
.tmf-gyik-page__accordion-shell {
  width: 100%;
  min-height: 96vh;
  padding-top: 5rem;
  padding-bottom: 5.34rem;
  box-sizing: border-box;
}
@media (max-width: 991.98px) {
  .tmf-gyik-page__accordion-shell {
    min-height: unset;
  }
}
@media (max-width: 767.98px) {
  .tmf-gyik-page__accordion-shell {
    padding-bottom: 2rem;
  }
}
.tmf-gyik-page__title {
  margin: 0;
  padding-top: 3rem;
  padding-bottom: 3rem;
  font-family: "Coustard", serif;
  font-size: 40px;
  font-style: normal;
  font-weight: 400;
  line-height: 48px;
  letter-spacing: 0;
  text-align: center;
  color: #385244;
}
@media (max-width: 767.98px) {
  .tmf-gyik-page__title {
    font-size: 36px;
    line-height: 44px;
  }
}
.tmf-gyik-page__body {
  width: 100%;
  margin: 0;
  padding: 0 1rem;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
  font-size: 18px;
  line-height: 1.7;
  color: #223724;
}
.tmf-gyik-page__body:empty {
  display: none;
}
.tmf-gyik-page__body > *:first-child {
  margin-top: 0;
}
.tmf-gyik-page__body a {
  color: #385244;
  text-decoration: underline;
}
.tmf-gyik-page__body a:hover {
  opacity: 0.85;
}
.tmf-gyik-page__body img {
  max-width: 100%;
  height: auto;
}

.tmf-gyik-section__title {
  margin: 0 0 0 17%;
  padding-top: 3rem;
  padding-bottom: 3rem;
  font-family: "Coustard", serif;
  font-size: 32px;
  font-style: normal;
  font-weight: 400;
  line-height: 48px;
  letter-spacing: 0;
  text-align: left;
  color: #385244;
}
@media (max-width: 991.98px) {
  .tmf-gyik-section__title {
    margin-left: 8%;
    padding-top: 1rem;
    padding-bottom: 1rem;
  }
}

.tmf-gyik-accordion {
  width: 66.5%;
  box-sizing: border-box;
  margin: 5px auto 0.5rem;
  background: #f2f5ea;
  border-radius: 5px;
  position: relative;
  z-index: 2;
  overflow: hidden;
  transition: margin 0.3s ease, background 0.15s ease;
}
@media (max-width: 991.98px) {
  .tmf-gyik-accordion {
    width: 85%;
    margin-left: auto;
    margin-right: auto;
  }
}

.tmf-gyik-page details summary::-webkit-details-marker,
.tmf-gyik-page details summary::marker {
  display: none;
}
.tmf-gyik-accordion > .tmf-gyik-accordion__summary {
  list-style: none;
  margin: 0 auto;
  padding: 1rem 2.2rem 1rem 1rem;
  display: block;
  position: relative;
  z-index: 10;
  cursor: pointer;
  border-radius: 5px;
  outline: none;
  transition: color 0.15s ease, background 0.15s ease, border-color 0.15s ease;
  font-family: "Poppins", sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.45;
  color: #223724;
}
.tmf-gyik-accordion > .tmf-gyik-accordion__summary::after {
  content: "\25b6";
  color: #385244;
  position: absolute;
  top: 1rem;
  right: 1rem;
  transform: rotate(0);
  transform-origin: center;
  transition: transform 0.2s ease, color 0.15s ease;
  font-size: 0.85em;
  line-height: 1;
}
.tmf-gyik-accordion[open] > .tmf-gyik-accordion__summary::after {
  transform: rotate(90deg);
  transition: transform 0.45s ease, color 0.15s ease;
}
.tmf-gyik-accordion[open] > .tmf-gyik-accordion__summary,
.tmf-gyik-accordion > .tmf-gyik-accordion__summary:hover {
  color: #eebb07;
  background: #385244;
  border-color: #385244;
}
.tmf-gyik-accordion[open] > .tmf-gyik-accordion__summary strong,
.tmf-gyik-accordion > .tmf-gyik-accordion__summary:hover strong {
  color: #eebb07;
}
.tmf-gyik-accordion[open] > .tmf-gyik-accordion__summary::after,
.tmf-gyik-accordion > .tmf-gyik-accordion__summary:hover::after {
  color: #eebb07;
}
.tmf-gyik-accordion[open] > .tmf-gyik-accordion__summary {
  border-radius: 5px 5px 0 0;
}

.tmf-gyik-accordion__content {
  margin-top: 0;
  padding: 10px;
  border: 3px solid #385244;
  border-top: none;
  border-radius: 0 0 5px 5px;
  transition: border-color 0.3s ease, padding 0.3s ease;
  font-family: "Poppins", sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.65;
  color: #223724;
  position: relative;
  z-index: 1;
}
.tmf-gyik-accordion__content h1 { font-size: 14pt; }
.tmf-gyik-accordion__content h2 { font-size: 13pt; }
.tmf-gyik-accordion__content h3 { font-size: 12pt; }
.tmf-gyik-accordion__content h4 { font-size: 11pt; }
.tmf-gyik-accordion__content p {
  margin: 0 0 12px;
}
.tmf-gyik-accordion__content p:last-child {
  margin-bottom: 0;
}
.tmf-gyik-accordion__content a {
  color: #385244;
  text-decoration: underline;
}
.tmf-gyik-accordion__content a:hover {
  opacity: 0.85;
}
.tmf-gyik-accordion__content figure {
  margin: 1rem 0;
  max-width: 100%;
}
.tmf-gyik-accordion__content figure.image_resized,
.tmf-gyik-accordion__content figure.image-style-align-left {
  width: auto !important;
  max-width: 100%;
}
.tmf-gyik-accordion__content figure img {
  display: block;
  max-width: 100%;
  height: auto;
}

.tmf-gyik-page__newsletter .tmf-newsletter {
  margin-bottom: 0;
  padding: 8px 16px 56px;
}

/* ===== NEWSLETTER ===== */
.tmf-newsletter {
  padding: 56px 16px 0;
  margin-bottom: -110px;
  position: relative;
  z-index: 5;
}
.tmf-newsletter__inner {
  max-width: 1100px;
  margin: 0 auto;
  background: #F6F4E6;
  border-radius: 10px;
  padding: 52px 56px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  position: relative;
  overflow: hidden;
}
.tmf-newsletter__title {
  font-family: "Coustard", sans-serif;
  font-size: 40px;
  font-weight: 400;
  line-height: 56px;
  color: rgb(56, 82, 68);
  margin: 0 0 10px;
}
.tmf-newsletter__text,
.tmf-newsletter__value,
.tmf-newsletter__label,
.tmf-newsletter__note {
  font-family: "Poppins", sans-serif;
  font-size: 18px;
  font-weight: 300;
  line-height: 28px;
  color: rgb(37, 37, 37);
  margin: 0 0 18px;
  max-width: 520px;
}
.tmf-newsletter__subtitle {
  font-family: "Poppins", sans-serif;
  font-size: 18px;
  font-weight: 600;
  line-height: 28px;
  color: rgb(37, 37, 37);
  margin: 0 0 8px;
}
.tmf-newsletter__label { font-size: 12px; opacity: .7; margin-bottom: 4px; }
.tmf-newsletter__block { margin: 10px 0; }
.tmf-newsletter__block--spaced { margin-top: 18px; }
.tmf-newsletter__mail,
.tmf-newsletter__value a,
.tmf-newsletter__fb {
  font-family: "Poppins", sans-serif;
  font-size: 18px;
  font-weight: 300;
  line-height: 28px;
  color: rgb(37, 37, 37);
  text-decoration: none;
  display: inline-block;
}
.tmf-newsletter__mail:hover,
.tmf-newsletter__value a:hover,
.tmf-newsletter__fb:hover { text-decoration: underline; }
.tmf-newsletter__btn {
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  font-weight: 400;
  display: inline-block;
  padding: 12px 22px;
  border-radius: 2px;
  background: #2f4a3a;
  color: #fff;
  text-decoration: none;
}
.tmf-newsletter__btn:hover { filter: brightness(1.05); }
.tmf-newsletter__leafimg {
  position: absolute;
  top: 26px;
  right: -20px;
  width: 240px;
  height: auto;
  pointer-events: none;
  user-select: none;
}

/* ===== PAGE: Híreink ===== */
.page-id-19 a, .page-id-19 a:visited { color: inherit; }
.page-id-19 a:hover { color: inherit; }
.page-id-19 h1, .page-id-19 h2, .page-id-19 h3 { text-decoration: none; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1250px) {
  .tmf-help__grid { grid-template-columns: repeat(2, 288px); }
}
@media (max-width: 1280px) {
  .tmf-nav .tmf-menu { display: none; }
  .tmf-burger { display: inline-flex; }

  .tmf-life__grid > .tmf-postcard,
  .tmf-life__grid > .tmf-postcard:nth-child(even) { flex-direction: column; align-items: center; margin: 0 0 24px; }
  .tmf-life__grid > .tmf-postcard:nth-child(2),
  .tmf-life__grid > .tmf-postcard:nth-child(3) { margin-top: 0; }
  .tmf-life__grid > .tmf-postcard:nth-child(2) .tmf-postcard__img,
  .tmf-life__grid > .tmf-postcard:nth-child(3) .tmf-postcard__img { margin-top: 0; }
  .tmf-life .tmf-postcard__img { width: 95%; height: 420px; flex: 0 0 auto; }
  .tmf-life .tmf-postcard__body { width: 90%; min-height: auto; margin: -50px 0 0 0; padding: 32px; }
  .tmf-life__grid > .tmf-postcard:nth-child(even) .tmf-postcard__body { margin-right: 0; }
}
@media (max-width: 900px) {
  .tmf-mission, .tmf-mission__content { min-height: 460px; }
  .tmf-hero__panel { width: 100%; max-width: none; }
  .tmf-hero__logo { width: 180px; }
  .tmf-hero { height: 70vh; }
  .tmf-hero__stack { padding-left: 16px; padding-top: 90px; }
  .tmf-newsletter__inner { grid-template-columns: 1fr; padding: 28px 22px; gap: 22px; }
  .tmf-newsletter__leafimg { width: 140px; opacity: .5; }
  .tmf-stat__icon img { width: 140px; height: 140px; }
  .tmf-logo__img { margin-left: 16px; margin-top: 0; width: 44px; height: 36px; }
}
@media (max-width: 768px) {
  .tmf-break { height: 360px; }
}
@media (max-width: 680px) {
  .tmf-help__grid { grid-template-columns: 288px; }
}
@media (max-width: 600px) {
  .tmf-single__card { padding: 20px 18px 24px; margin-top: -70px; }
}

/* ===== ESEMÉNYEINK (naptár: inc/esemeny.php + assets/css/esemeny.css) ===== */

/* ===== KIK VAGYUNK (about-us) ===== */
.tmf-about-legacy {
  background: #E6EAD6;
  position: relative;
  overflow: hidden;
}

/* Oldal cím */
.tmf-about-legacy__title {
  font-family: Coustard, serif;
  font-size: 32px;
  font-weight: 400;
  color: #385244;
  padding: 48px 0 0;
  margin: 0;
}

/* Egy szekció (TOP / BOTTOM) */
.tmf-about-legacy__section {
  position: relative;
  height: 42rem;
  overflow: hidden;
}

/* Abszolút háttérkép a szekció felén */
.tmf-about-legacy__bg {
  position: absolute;
  top: 0;
  width: 50%;
  height: 100%;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  z-index: 0;
}
.tmf-about-legacy__bg--right { right: 0; background-image: url('/wp-content/themes/10milliofa/assets/img/about/aboutusBg1.webp'); }
.tmf-about-legacy__bg--left  { left: 0;  background-image: url('/wp-content/themes/10milliofa/assets/img/about/aboutusBg2.webp'); }

/* Dekoratív levél */
.tmf-about-legacy__leaf {
  position: absolute;
  pointer-events: none;
  user-select: none;
  z-index: 1;
  width: 380px;
  opacity: 0.55;
}
.tmf-about-legacy__leaf--left  { left: -40px; top: -20px; }
.tmf-about-legacy__leaf--right { right: -40px; top: -20px; transform: scaleX(-1); }

/* Tartalom sor – felülírjuk a tmf-container max-width korlátját */
.tmf-about-legacy__content.tmf-container {
  max-width: none;
  width: 100%;
  padding: 0;
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: flex-start;
}

/* TOP: jobb bg → tartalom jobbra igazítva */
.tmf-about-legacy__section--right .tmf-about-legacy__content {
  justify-content: flex-end;
}

/* BOTTOM: bal bg → fordított sorrend, jobbra igazítva */
.tmf-about-legacy__content--reverse {
  flex-direction: row-reverse;
  justify-content: flex-end;
}

/* Szöveges doboz */
.tmf-about-legacy__news {
  background: #F2F5EA;
  padding: 40px;
  width: 808px;
  min-height: 370px;
  margin-top: 67px;
  z-index: 3;
  position: relative;
  flex-shrink: 0;
}

/* TOP: a doboz kicsit ráúszik a fotóra balról */
.tmf-about-legacy__section--right .tmf-about-legacy__news {
  margin-left: -4rem;
}

/* BOTTOM: a doboz kicsit eltolva */
.tmf-about-legacy__content--reverse .tmf-about-legacy__news {
  margin-right: 20rem;
  margin-top: 8rem;
}

/* Avatar – kör alakú portré */
.tmf-about-legacy__avatar {
  border-radius: 50%;
  object-fit: cover;
  width: 392px;
  height: 392px;
  border: 8px solid #F2F5EA;
  flex-shrink: 0;
  z-index: 4;
  position: relative;
  margin-left: 24px;
}

.tmf-about-legacy__avatar--right {
  margin-top: 4rem;
  margin-right: 20rem;
}
.tmf-about-legacy__avatar--left {
  margin-top: 7rem;
  margin-right: 5rem;
}

/* Tipográfia a szövegdobozon belül */
.tmf-about-legacy__h2 {
  font-family: Coustard, serif;
  font-size: 32px;
  font-weight: 400;
  line-height: 40px;
  color: #385244;
  margin: 0 0 16px;
}
.tmf-about-legacy__p {
  font-family: Poppins, sans-serif;
  font-size: 16px;
  font-weight: 300;
  line-height: 26px;
  color: #252525;
  margin: 0 0 20px;
}
.tmf-about-legacy__sig { margin-top: 8px; }
.tmf-about-legacy__name {
  font-family: Poppins, sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #193124;
  margin: 0 0 2px;
}
.tmf-about-legacy__role {
  font-family: Poppins, sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #385244;
  opacity: 0.85;
}

/* ===== ABOUT RESPONSIVE ===== */
@media (min-width: 1030px) and (max-width: 1366px) {
  .tmf-about-legacy__news { width: 768px; }
  .tmf-about-legacy__avatar--right { margin-right: 1rem; }
}
@media (min-width: 1370px) and (max-width: 1605px) {
  .tmf-about-legacy__news { width: 768px; }
  .tmf-about-legacy__avatar--right { margin-right: 7rem; }
}
@media (max-width: 1199.98px) {
  .tmf-about-legacy__news { width: 630px; }
}
@media (max-width: 991.98px) {
  .tmf-about-legacy__section { height: auto; overflow: visible; }
  .tmf-about-legacy__bg {
    position: relative;
    width: 100%;
    height: 320px;
    right: unset; left: unset;
  }
  .tmf-about-legacy__content.tmf-container,
  .tmf-about-legacy__content--reverse {
    flex-direction: column;
    width: 95%;
    margin: 0 auto;
    padding: 32px 0 40px;
    height: auto;
    justify-content: flex-start;
  }
  .tmf-about-legacy__news,
  .tmf-about-legacy__section--right .tmf-about-legacy__news,
  .tmf-about-legacy__content--reverse .tmf-about-legacy__news {
    width: 100%;
    min-height: auto;
    margin: 0 0 24px 0;
  }
  .tmf-about-legacy__avatar {
    position: absolute;
    width: 196px;
    height: 196px;
    border: 6.6px solid #F2F5EA;
    filter: drop-shadow(rgba(0,0,0,.32) 0px 8px 24px);
    margin: 0;
  }
  .tmf-about-legacy__avatar--right { left: 10px; top: 80px; }
  .tmf-about-legacy__avatar--left  { left: 10px; top: 32px; }
}
@media (max-width: 767.98px) {
  .tmf-about-legacy__news { padding: 32px; }
  .tmf-about-legacy__avatar--right { left: 0; top: 8px; }
  .tmf-about-legacy__avatar--left  { left: 0; top: 0; }
}

/* ===== MOBILBARÁT – teljes oldal, minden részlet ===== */
html { overflow-x: hidden; }
body { overflow-x: hidden; min-width: 0; }
.tmf-drawer .tmf-container { padding: 20px 20px 32px; }

@media (max-width: 768px) {
  .tmf-container { padding-left: 20px; padding-right: 20px; }
  .tmf-header__inner { gap: 16px; padding: 0 12px; }
  .tmf-logo__img { width: 44px; height: 36px; margin-left: 0; }
  .tmf-burger {
    min-width: 44px; min-height: 44px;
    padding: 10px;
  }
  .tmf-drawer .tmf-menu a {
    min-height: 44px;
    display: flex;
    align-items: center;
    padding: 8px 0;
    font-size: 16px;
  }
  .tmf-drawer .tmf-tools { padding-left: 0; }
  .tmf-drawer .tmf-social a { min-width: 44px; min-height: 44px; }
  .tmf-drawer .tmf-lang__link { padding: 10px 0; min-height: 44px; display: inline-flex; align-items: center; }

  .tmf-stats__holder {
    flex-direction: column;
    width: 100%;
    padding: 2rem 1rem;
    gap: 2rem;
  }
  .tmf-stats__card { width: 100%; max-width: 320px; margin: 0 auto; }
  .tmf-stats__imgwrap img { height: 140px; width: 140px; }
  .tmf-stats__number { font-size: 42px; line-height: 1.2; }
  .tmf-stats__label { font-size: 14px; }

  .tmf-hero__title { font-size: 28px; line-height: 1.25; }
  .tmf-hero__lead { font-size: 15px; margin-bottom: 14px; }
  .tmf-hero__stack { padding-top: 60px; }
  .tmf-hero__cta { font-size: 15px; padding: 12px 0; min-height: 44px; align-items: center; }
  .tmf-hero { min-height: 380px; height: 65vh; }
  .home .tmf-hero { min-height: 480px; height: 75vh; max-height: 700px; }

  .tmf-mission__content { flex-direction: column; padding: 2rem 1rem; min-height: auto; }
  .tmf-mission__text {
    width: 100%;
    padding: 2rem 1rem 1.5rem;
    padding-top: 2rem;
  }
  .tmf-mission__title { font-size: 26px; line-height: 1.3; }
  .tmf-mission__lead { font-size: 14px; }
  .tmf-mission__imgwrap {
    margin: 0 auto 2rem;
    margin-right: 0;
    margin-top: 0;
  }
  .tmf-mission__leader { width: 260px; height: 260px; }
  .tmf-mission { min-height: auto; }
  .tmf-mission__content { min-height: auto; }

  .tmf-help__title { font-size: 28px; line-height: 1.3; padding-top: 2rem; margin-bottom: 2rem; }
  .tmf-help__grid { padding: 0 1rem; gap: 1.5rem; }
  .tmf-help__card { width: 100%; max-width: 320px; margin-left: auto; margin-right: auto; height: auto; min-height: 380px; }
  .tmf-help__card-btn { min-height: 44px; padding: 12px 24px; display: inline-flex; align-items: center; justify-content: center; }

  .tmf-partners__title { font-size: 28px; padding-top: 2rem; }
  .tmf-partners__lead { font-size: 13px; padding: 0 0.5rem; }
  .tmf-partners__grid { padding: 1rem 0.5rem; }

  .tmf-section-title { font-size: 28px; line-height: 1.3; padding-top: 8px; }
  .tmf-life { padding: 16px 0 48px; }
  .tmf-life .tmf-postcard__body { padding: 24px 20px; width: 95%; }
  .tmf-life .tmf-postcard__img { width: 95%; height: 280px; }
  .tmf-life .tmf-postcard__title { font-size: 24px; line-height: 1.3; }
  .tmf-moreBtn { min-height: 48px; padding: 0 20px; font-size: 17px; display: inline-flex; align-items: center; }

  .tmf-newsletter__inner { padding: 24px 20px; }
  .tmf-newsletter__title { font-size: 24px; }
  .tmf-newsletter__btn { min-height: 44px; padding: 12px 20px; }
  .tmf-newsletter__leafimg { width: 120px; right: -10px; }

  .tmf-footer__inner { flex-direction: column; align-items: flex-start; gap: 20px; padding: 0 20px 24px; }
  .tmf-newsletter + .tmf-footer, body:not(.home) .tmf-footer { padding-top: 48px; }
  .tmf-footer-menu { flex-direction: column; gap: 8px; }
  .tmf-footer small { font-size: 13px; }

  .tmf-single__hero { padding: 0 12px; }
  .tmf-single__hero-inner { height: clamp(200px, 45vw, 400px); border-radius: 8px; }
  .tmf-single__body { padding: 0 12px; }
  .tmf-single__card { padding: 20px 16px 28px; margin-top: -60px; }
  .tmf-single__title { font-size: 1.5rem; line-height: 1.35; }
  .tmf-single__content { font-size: 17px; }
}

@media (max-width: 480px) {
  .tmf-container { padding-left: 16px; padding-right: 16px; }
  .tmf-stats__number { font-size: 36px; }
  .tmf-stats__imgwrap img { height: 110px; width: 110px; }
  .tmf-hero__title { font-size: 24px; }
  .tmf-hero__lead { font-size: 14px; }
  .tmf-hero__logo { width: 140px; }
  .tmf-help__title { font-size: 24px; }
  .tmf-partners__title { font-size: 24px; }
  .tmf-section-title { font-size: 24px; }
  .tmf-partner { width: 100px; height: 100px; padding: 0.75rem; }
  .tmf-life .tmf-postcard__img { height: 240px; }
  .tmf-life .tmf-postcard__body { padding: 20px 16px; width: 100%; }
  .tmf-single__card { padding: 18px 14px 24px; margin-top: -50px; }
  .tmf-single__title { font-size: 1.35rem; }
}

@media (max-width: 360px) {
  .tmf-hero__title { font-size: 22px; }
  .tmf-stats__number { font-size: 32px; }
  .tmf-help__card-text { font-size: 16px; }
}