/* =========================================================================
   fps-chrome.css
   Az fps.hu (Angular) fejléc + lábléc hű portja a Ghost theme-hez.
   Forrás: main-header.scss, main-footer.scss, styles.scss, theme.scss
   ========================================================================= */

:root {
  --fps-forest-green: #0A2324;
  --fps-forest-light: #244A48;
  --fps-stone: #CCE1E1;
  --fps-stone-white: #E8EEEE;
  --fps-brand: #E13C1C;
  --fps-brand-off: #E55D43;
}

/* Közös, 1200px-es középre zárt konténer (Angular: .container-fluid) */
.fps-header .fps-container,
.fps-footer .fps-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
}

/* =========================== HEADER ===================================== */

.fps-header {
  display: block;
  position: sticky;
  top: 0;
  z-index: 50;
  background: transparent;
  /* A régi app.css a .site-wrapper-re 4px paddinget rak, és a fejléc azon
     belül van -> ez húzza vissza teljes szélességre, a felső élhez (mint fps.hu-n). */
  margin: -0.25rem -0.25rem 0;
}

.fps-header .MainHeader {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 32px 0;
}
@media (max-width: 768px) {
  .fps-header .MainHeader { padding: 12px 0; }
}

.fps-header .logo-container {
  width: 75px;
  height: 57px;
  position: relative;
  cursor: pointer;
  flex-shrink: 0;
  display: block;
}
.fps-header .logo-container .static-logo {
  max-width: 100%;
  max-height: 100%;
  transition: opacity .15s ease;
}
@media (max-width: 768px) {
  .fps-header .logo-container { width: 56px; height: 42px; margin-right: 24px; }
}
.fps-header .logo-container .anim-container {
  position: absolute;
  left: 0; top: 0; right: 0; bottom: 0;
  align-items: center;
  justify-content: center;
  overflow: visible;
  display: none;
}
/* Az eredeti fps.hu-val megegyező méret (a rajz szándékosan kicsit nagyobb,
   mint a statikus logó, ez az animáció hatása). */
.fps-header .logo-container .anim-container img {
  width: 112px;
  height: 112px;
  max-width: none;
}
@media (max-width: 768px) {
  .fps-header .logo-container .anim-container img { width: 83px; height: 83px; }
}
.fps-header .logo-container:hover .static-logo { opacity: 0; }
.fps-header .logo-container:hover .anim-container { display: flex; }

.fps-header .menu ul {
  display: flex;
  align-items: center;
  list-style: none;
  padding: 0;
  margin: 0;
}
.fps-header .menu .menu-item {
  display: flex;
  align-items: center;
}
.fps-header .menu .slash {
  margin: 0 20px;
  flex-shrink: 0;
}
@media (max-width: 768px) {
  .fps-header .menu .slash { margin: 0 8px; }
}
.fps-header .menu {
  padding: 24px 0;
}
@media (max-width: 768px) {
  .fps-header .menu {
    display: flex;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
  }
  .fps-header .menu::-webkit-scrollbar { display: none; }
}
.fps-header .menu .menu-item a {
  color: var(--fps-forest-green);
  font-family: "Space Grotesk", sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 24px;
  text-decoration: none;
  padding-left: 4px;
  padding-right: 4px;
  display: inline-block;
  vertical-align: middle;
  white-space: nowrap;
  background: var(--fps-stone-white);
}
.fps-header .menu .menu-item a:hover { text-decoration: underline; }
.fps-header .menu .menu-item.active a {
  background: var(--fps-forest-green);
  color: #fff;
}

/* reverse-color állapot (amikor a lábléc a fejléc alá ér görgetéskor) */
.fps-header.reverse-color .menu-item a {
  background: var(--fps-forest-green) !important;
  color: #fff !important;
}
.fps-header.reverse-color .menu-item.active a {
  background: var(--fps-brand) !important;
  color: #fff !important;
}

/* =========================== FOOTER ===================================== */

.fps-footer { display: block; }

.fps-footer .MainFooter {
  background: var(--fps-forest-green);
  color: var(--fps-stone-white);
  padding-top: 80px;
  font-family: "Space Grotesk", sans-serif;
}
@media (max-width: 1024px) { .fps-footer .MainFooter { padding-top: 44px; } }
@media (max-width: 768px)  { .fps-footer .MainFooter { padding-top: 48px; } }

.fps-footer .MainFooter a { color: #fff; }
.fps-footer .MainFooter a:hover { color: var(--fps-brand-off); }
.fps-footer .MainFooter a:hover img {
  filter: brightness(0) saturate(100%) invert(53%) sepia(30%) saturate(6210%) hue-rotate(336deg) brightness(95%) contrast(88%);
}

.fps-footer .content { padding-top: 80px; }
@media (max-width: 1024px) { .fps-footer .content { padding-top: 44px; } }
@media (max-width: 768px)  { .fps-footer .content { padding-top: 24px; } }

.fps-footer .main-title {
  font-family: "Space Grotesk", sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 124px;
  line-height: 132px;
  letter-spacing: -0.03em;
  padding-bottom: 30px;
  margin: 0;
  color: var(--fps-stone-white);
}
.fps-footer .main-title span {
  font-family: "Playfair Display", serif;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.03em;
}
@media (max-width: 1024px) {
  .fps-footer .main-title { font-size: 80px; line-height: 80px; }
}
@media (max-width: 768px) {
  .fps-footer .main-title { font-size: 44px; line-height: 44px; padding-bottom: 0; }
}

.fps-footer .secondary-title {
  font-family: "Space Grotesk", sans-serif;
  font-size: 24px;
  font-style: normal;
  font-weight: 700;
  line-height: 36px;
  letter-spacing: -0.01em;
  margin: 0;
}
@media (max-width: 768px) {
  .fps-footer .secondary-title { font-size: 22px; line-height: 32px; }
}

.fps-footer .mail-link {
  display: inline-flex;
  align-items: center;
  text-decoration: underline;
  font-family: "Space Grotesk", sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: 24px;
  letter-spacing: -0.03em;
}
.fps-footer .mail-link img { margin-right: 8px; }

.fps-footer .menu {
  padding-top: 88px;
  max-width: 514px;
}
@media (max-width: 1024px) { .fps-footer .menu { padding-top: 24px; } }
.fps-footer .menu ul {
  list-style: none;
  margin: 0;
  padding-left: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.fps-footer .menu a {
  font-family: "Space Grotesk", sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: 28px;
  letter-spacing: -0.03em;
}

.fps-footer .copyright-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 88px;
  padding-bottom: 88px;
}
@media (max-width: 1024px) {
  .fps-footer .copyright-container {
    padding-top: 44px;
    padding-bottom: 44px;
  }
}
@media (max-width: 991px) {
  .fps-footer .copyright-container { display: block; }
  .fps-footer .copyright-privacy { margin-top: 8px; }
}
.fps-footer .copyright-container .text {
  font-size: 14px;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: -0.03em;
}
.fps-footer .copyright-container a {
  font-size: 14px;
  font-weight: 700;
  line-height: 24px;
  letter-spacing: -0.03em;
}
@media (min-width: 992px) { .fps-footer .copyright-privacy { text-align: right; } }

/* Lottie sávok — a natív animáció-méretekhez igazított magasságok
   (footer-top: 1440x184, footer-bottom: 1440x92), különben zöld sáv marad. */
.fps-footer .lottie-container {
  display: flex;
  flex-direction: row;
  overflow: hidden;
  align-items: end;
}
.fps-footer .lottie-container .lottie-item {
  flex: 0 0 1440px;
  width: 1440px;
}
.fps-footer .lottie-container[data-fps-lottie="top"] {
  height: 184px;
}
.fps-footer .lottie-container[data-fps-lottie="top"] .lottie-item {
  height: 184px;
  margin-bottom: -5px;
}
.fps-footer .lottie-container[data-fps-lottie="bottom"] {
  height: 92px;
}
.fps-footer .lottie-container[data-fps-lottie="bottom"] .lottie-item {
  height: 92px;
}

/* ------- A footer által használt segéd-osztályok (styles.scss-ből) ------ */
.fps-footer .two-article-container {
  display: grid;
  grid-template-columns: minmax(0, 448fr) minmax(0, 688fr);
  gap: 32px;
}
@media (max-width: 1024px) {
  .fps-footer .two-article-container { display: block; }
}
.fps-footer .header-text-3 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
}
.fps-footer p { margin-top: 0; }
.fps-footer .d-flex { display: flex; }
.fps-footer .mb-24 { margin-bottom: 24px; }
.fps-footer .pb-24 { padding-bottom: 24px; }
.fps-footer .mt-88 { margin-top: 88px; }
.fps-footer .mr-24 { margin-right: 24px; }
@media (max-width: 1024px) {
  .fps-footer .mt-xs-44 { margin-top: 44px !important; }
}
