/*
Theme Name: Divi Child
Theme URI: https://www.elegantthemes.com/gallery/divi/
Description: IHGY child theme for Divi
Author: IHGY
Template: Divi
Version: 1.0.0
*/

/* IHGY SAJÁT FEJLÉC */

:root {
  --ihgy-brown: #50301c;
  --ihgy-brown-light: #73523d;
  --ihgy-cream: #f5f1ea;
  --ihgy-blue: #123d5b;
  --ihgy-radius-small: 12px;
}

.ihgy-site-top,
.ihgy-site-top * {
  box-sizing: border-box;
}

.ihgy-site-top {
  position: relative;
  z-index: 10000;
  width: 100%;
  padding-top: 112px;
  font-family: "Raleway", Arial, sans-serif;
}

.ihgy-site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 3;
  width: 100%;
  height: 112px;
  color: var(--ihgy-cream);
  background: var(--ihgy-brown);
}

.ihgy-skip-link {
  position: fixed;
  top: 14px;
  left: 18px;
  z-index: 100002;
  transform: translateY(-160%);
}

.ihgy-skip-link:focus {
  transform: translateY(0);
}

.ihgy-scroll-progress {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #c49a80, #f2e4d5);
  transform: scaleX(0);
  transform-origin: left center;
}

body.admin-bar .ihgy-site-header {
  top: 32px;
}

.ihgy-header-inner {
  position: relative;
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) 150px;
  align-items: center;
  width: calc(100% - 32px);
  height: 100%;
  margin: 0 auto;
}

.ihgy-logo {
  display: inline-flex;
  align-items: center;
  width: 132px;
  height: 100px;
  overflow: hidden;
}

.ihgy-logo img {
  display: block;
  width: 145px;
  height: 145px;
  max-height: none;
  object-fit: contain;
}

.ihgy-navigation {
  display: flex;
  grid-column: 2;
  justify-content: center;
  width: 100%;
  min-width: 0;
  height: 100%;
}

.ihgy-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  width: max-content;
  gap: clamp(26px, 4vw, 66px);
  height: 100%;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.ihgy-menu > .menu-item {
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
  margin: 0 !important;
  padding: 0 !important;
}

.ihgy-menu a {
  display: block;
  color: var(--ihgy-cream) !important;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: .16em;
  text-decoration: none;
  text-transform: uppercase;
}

.ihgy-menu > .menu-item > a {
  padding: 38px 0;
  white-space: nowrap;
}

.ihgy-menu .ihgy-menu-cta > a {
  padding: 8px 21px;
  border-radius: var(--ihgy-radius-small);
  background: var(--ihgy-blue);
  box-shadow: 0 7px 13px rgba(0,0,0,.28);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: .12em;
}

.ihgy-language-switcher {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: 112px;
  height: 46px;
  padding: 4px;
  overflow: hidden;
  border: 1px solid rgba(245,241,234,.2);
  border-radius: 999px;
  grid-column: 3;
  justify-self: end;
  background: rgba(245,241,234,.08);
}

.ihgy-language-option {
  position: relative;
  z-index: 2;
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: rgba(245,241,234,.68) !important;
  font-size: 11px;
  font-weight: 700;
  text-decoration: none !important;
}

.ihgy-language-option.is-active {
  color: var(--ihgy-brown) !important;
}

.ihgy-language-slider {
  position: absolute;
  top: 4px;
  left: 4px;
  z-index: 1;
  width: 52px;
  height: 36px;
  border-radius: 999px;
  background: var(--ihgy-cream);
}

.ihgy-language-switcher.is-en .ihgy-language-slider {
  right: 4px;
  left: auto;
}

.ihgy-menu-toggle {
  display: none !important;
}

/* Divi alapfejléc teljes elrejtése */
#top-header,
#main-header,
#main-header.et-fixed-header,
.et_header_style_left #main-header,
header#main-header {
    display: none !important;
}

/* A Divi fejléc helyének megszüntetése */
#page-container {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

/* A saját IHGY fejléc mindig felül legyen */
.ihgy-site-header {
    z-index: 99999 !important;
}