/* =========================================================
   XEE CONSULTING
   STUDY IN HUNGARY
========================================================= */

.xee-hungary-page {
  --xee-gold: #9d7530;
  --xee-gold-dark: #78561f;
  --xee-gold-light: #c5a15e;

  --xee-dark: #181713;
  --xee-heading: #211f1a;
  --xee-text: #68625a;

  --xee-white: #ffffff;

  --xee-soft: #f8f5ef;
  --xee-soft-2: #f2ede3;

  --xee-border: rgba(157, 117, 48, 0.18);

  width: 100%;
  color: var(--xee-text);
  font-family: inherit;
  line-height: 1.75;
}

.xee-hungary-page *,
.xee-hungary-page *::before,
.xee-hungary-page *::after {
  box-sizing: border-box;
}

.xee-hungary-page h1,
.xee-hungary-page h2,
.xee-hungary-page h3,
.xee-hungary-page h4,
.xee-hungary-page p {
  margin-top: 0;
}

.xee-hungary-page h1,
.xee-hungary-page h2,
.xee-hungary-page h3,
.xee-hungary-page h4 {
  color: var(--xee-heading);
}

.xee-hu-container {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;

  padding-left: 36px;
  padding-right: 36px;
}

.xee-hu-section {
  padding: 75px 0;
}

.xee-hu-section-soft {
  background: var(--xee-soft);
}

/* =========================================================
   EYEBROW
========================================================= */

.xee-hu-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 11px;

  margin-bottom: 15px;

  color: var(--xee-gold);

  font-size: 12px;
  line-height: 1;

  font-weight: 700;

  letter-spacing: 1.8px;

  text-transform: uppercase;
}

.xee-hu-eyebrow::before {
  content: "";

  width: 28px;
  height: 1px;

  background: var(--xee-gold);
}

/* =========================================================
   SECTION HEADING
========================================================= */

.xee-hu-section-heading {
  max-width: 710px;

  margin-bottom: 42px;
}

.xee-hu-section-heading h2 {
  margin: 0 0 17px;

  color: var(--xee-heading);

  font-size: clamp(31px, 3.3vw, 43px);

  line-height: 1.1;

  letter-spacing: -1.2px;

  font-weight: 600;
}

.xee-hu-section-heading p {
  margin: 0;

  font-size: 15px;
  line-height: 1.85;
}

/* =========================================================
   HERO / INTRO
========================================================= */

.xee-hu-intro {
  position: relative;

  overflow: hidden;

  padding: 72px 0 58px;

  background:
    radial-gradient(
      circle at 90% 15%,
      rgba(157, 117, 48, 0.1),
      transparent 32%
    ),
    linear-gradient(135deg, #ffffff 0%, #fbf9f5 100%);
}

.xee-hu-intro::after {
  content: "";

  position: absolute;

  right: -230px;
  bottom: -320px;

  width: 550px;
  height: 550px;

  border: 1px solid rgba(157, 117, 48, 0.11);

  border-radius: 50%;

  pointer-events: none;
}

.xee-hu-hero-content {
  position: relative;

  z-index: 2;

  max-width: 720px;
}

.xee-hu-hero-content h2 {
  margin: 17px 0 26px;

  max-width: 650px;

  color: var(--xee-heading);

  font-size: clamp(38px, 4vw, 54px);

  line-height: 1.06;

  letter-spacing: -1.8px;

  font-weight: 500;
}

.xee-hu-hero-content h2 span {
  display: block;

  color: var(--xee-gold);
}

.xee-hu-hero-content p {
  max-width: 700px;

  margin-bottom: 17px;

  color: var(--xee-text);

  font-size: 15px;

  line-height: 1.85;
}

.xee-hu-hero-content .xee-hu-lead {
  color: #4f4a42;

  font-size: 17px;

  line-height: 1.8;
}

/* =========================================================
   HERO POINTS
========================================================= */

.xee-hu-hero-points {
  position: relative;
  z-index: 2;

  display: grid;

  grid-template-columns: repeat(2, minmax(0, 1fr));

  gap: 12px;

  max-width: 760px;

  margin-top: 38px;
}

.xee-hu-hero-point {
  display: flex;

  align-items: center;

  gap: 15px;

  min-height: 86px;

  padding: 17px 18px;

  background: #fff;

  border: 1px solid var(--xee-border);

  border-radius: 5px;

  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.xee-hu-hero-point:hover {
  transform: translateY(-3px);

  border-color: rgba(157, 117, 48, 0.38);

  box-shadow: 0 12px 30px rgba(71, 52, 22, 0.07);
}

.xee-hu-point-icon {
  display: inline-flex;

  align-items: center;
  justify-content: center;

  flex: 0 0 42px;

  width: 42px;
  height: 42px;

  border-radius: 50%;

  background: var(--xee-gold);

  color: #fff;

  font-size: 10px;

  font-weight: 800;
}

.xee-hu-hero-point strong {
  display: block;

  margin-bottom: 3px;

  color: var(--xee-heading);

  font-size: 14px;

  line-height: 1.3;
}

.xee-hu-hero-point small {
  display: block;

  color: #8a847c;

  font-size: 12px;

  line-height: 1.4;
}

/* =========================================================
   BENEFIT CARDS
========================================================= */

.xee-hu-benefits-grid {
  display: grid;

  grid-template-columns: repeat(2, minmax(0, 1fr));

  gap: 17px;
}

.xee-hu-benefit {
  min-height: 225px;

  padding: 30px;

  background: #fff;

  border: 1px solid var(--xee-border);

  border-radius: 5px;

  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.xee-hu-benefit:hover {
  transform: translateY(-5px);

  border-color: rgba(157, 117, 48, 0.38);

  box-shadow: 0 18px 40px rgba(66, 48, 20, 0.07);
}

.xee-hu-benefit-number {
  display: block;

  margin-bottom: 27px;

  color: var(--xee-gold);

  font-size: 11px;

  font-weight: 800;
}

.xee-hu-benefit h3 {
  margin: 0 0 10px;

  font-size: 19px;

  line-height: 1.3;
}

.xee-hu-benefit p {
  margin: 0;

  font-size: 14px;

  line-height: 1.75;
}

/* =========================================================
   DETAIL LIST
========================================================= */

.xee-hu-detail-list {
  border-top: 1px solid var(--xee-border);
}

.xee-hu-detail-item {
  display: grid;

  grid-template-columns: 42px 185px 1fr;

  gap: 18px;

  padding: 25px 0;

  border-bottom: 1px solid var(--xee-border);
}

.xee-hu-detail-number {
  color: var(--xee-gold);

  font-size: 11px;

  font-weight: 800;
}

.xee-hu-detail-item h3 {
  margin: 0;

  font-size: 16px;

  line-height: 1.45;
}

.xee-hu-detail-item p {
  margin: 0;

  font-size: 14px;

  line-height: 1.8;
}

/* =========================================================
   DOCUMENTS
========================================================= */

.xee-hu-documents {
  display: grid;

  grid-template-columns: repeat(2, minmax(0, 1fr));

  gap: 13px;
}

.xee-hu-document {
  display: flex;

  align-items: flex-start;

  gap: 12px;

  padding: 18px;

  background: #fff;

  border: 1px solid var(--xee-border);

  border-radius: 5px;

  color: var(--xee-heading);

  font-size: 14px;

  font-weight: 600;
}

.xee-hu-check-icon {
  display: inline-flex;

  align-items: center;
  justify-content: center;

  flex: 0 0 25px;

  width: 25px;
  height: 25px;

  border-radius: 50%;

  color: var(--xee-gold);

  background: rgba(157, 117, 48, 0.1);

  font-size: 11px;

  font-weight: 800;
}

/* =========================================================
   INTAKES
========================================================= */

.xee-hu-intakes {
  display: grid;

  grid-template-columns: repeat(2, minmax(0, 1fr));

  gap: 18px;
}

.xee-hu-intake {
  position: relative;

  overflow: hidden;

  padding: 34px;

  background: #fff;

  border: 1px solid var(--xee-border);

  border-radius: 5px;
}

.xee-hu-intake::before {
  content: "";

  position: absolute;

  left: 0;
  top: 0;

  width: 4px;
  height: 100%;

  background: var(--xee-gold);
}

.xee-hu-intake-label {
  color: var(--xee-gold);

  font-size: 11px;

  font-weight: 800;

  letter-spacing: 1.3px;

  text-transform: uppercase;
}

.xee-hu-intake h3 {
  margin: 8px 0 13px;

  font-size: 26px;
}

.xee-hu-intake p {
  margin: 0;

  font-size: 14px;

  line-height: 1.75;
}

.xee-hu-note {
  margin-top: 20px;

  padding: 16px 18px;

  color: #665f55;

  background: var(--xee-soft);

  border-left: 3px solid var(--xee-gold);

  font-size: 13px;

  line-height: 1.7;
}

/* =========================================================
   VISA
========================================================= */

.xee-hu-visa {
  padding: 75px 0;

  color: #fff;

  background: linear-gradient(135deg, #ad833a 0%, #9d7530 48%, #74511d 100%);
}

.xee-hu-visa-grid {
  display: grid;

  grid-template-columns: 0.85fr 1.15fr;

  gap: 50px;
}

.xee-hu-visa h2 {
  margin: 15px 0 18px;

  color: #fff !important;

  font-size: clamp(31px, 3.5vw, 43px);

  line-height: 1.1;
}

.xee-hu-visa p {
  color: rgba(255, 255, 255, 0.8) !important;
}

.xee-hu-white-eyebrow {
  color: #fff !important;
}

.xee-hu-white-eyebrow::before {
  background: #fff !important;
}

.xee-hu-visa-list {
  border-top: 1px solid rgba(255, 255, 255, 0.24);
}

.xee-hu-visa-item {
  display: grid;

  grid-template-columns: 45px 1fr;

  gap: 12px;

  padding: 17px 0;

  border-bottom: 1px solid rgba(255, 255, 255, 0.2);

  color: #fff !important;

  font-size: 14px;
}

.xee-hu-visa-item span {
  color: rgba(255, 255, 255, 0.55);

  font-size: 11px;

  font-weight: 800;
}

/* =========================================================
   UNIVERSITY
========================================================= */

.xee-hu-university {
  display: grid;

  grid-template-columns: 0.55fr 1.45fr;

  gap: 38px;

  align-items: stretch;
}

.xee-hu-university-card {
  display: flex;

  min-height: 300px;

  padding: 32px;

  flex-direction: column;

  justify-content: space-between;

  color: #fff;

  background: var(--xee-dark);

  border-radius: 6px;
}

.xee-hu-university-card strong {
  color: var(--xee-gold-light);

  font-size: 68px;

  line-height: 1;

  letter-spacing: -4px;
}

.xee-hu-university-card p {
  margin: 0;

  color: rgba(255, 255, 255, 0.7) !important;

  font-size: 12px;

  line-height: 1.6;

  letter-spacing: 1px;

  text-transform: uppercase;
}

.xee-hu-university-copy {
  display: flex;

  flex-direction: column;

  justify-content: center;
}

.xee-hu-university-copy h2 {
  margin: 13px 0 19px;

  font-size: clamp(30px, 3.5vw, 42px);

  line-height: 1.12;
}

.xee-hu-university-copy p {
  font-size: 15px;

  line-height: 1.85;
}

/* =========================================================
   FACTS
========================================================= */

.xee-hu-facts {
  display: grid;

  grid-template-columns: repeat(2, minmax(0, 1fr));

  margin-top: 45px;

  border-top: 1px solid var(--xee-border);
  border-left: 1px solid var(--xee-border);
}

.xee-hu-fact {
  padding: 22px;

  background: #fff;

  border-right: 1px solid var(--xee-border);
  border-bottom: 1px solid var(--xee-border);
}

.xee-hu-fact-label {
  display: block;

  margin-bottom: 7px;

  color: var(--xee-gold);

  font-size: 10px;

  font-weight: 800;

  letter-spacing: 1px;

  text-transform: uppercase;
}

.xee-hu-fact strong {
  display: block;

  color: var(--xee-heading);

  font-size: 13px;

  line-height: 1.55;
}

/* =========================================================
   PROGRAMMES
========================================================= */

.xee-hu-programmes {
  margin-top: 55px;
}

.xee-hu-programme {
  display: grid;

  grid-template-columns: 130px minmax(0, 1fr);

  gap: 18px;

  padding: 24px 0;

  border-bottom: 1px solid var(--xee-border);
}

.xee-hu-programme:first-of-type {
  border-top: 1px solid var(--xee-border);
}

.xee-hu-programme-type {
  color: var(--xee-gold);

  font-size: 10px;

  font-weight: 800;

  letter-spacing: 0.9px;

  text-transform: uppercase;
}

.xee-hu-programme h3 {
  margin: 0;

  font-size: 15px;

  line-height: 1.65;
}

.xee-hu-programme-price {
  grid-column: 2;

  color: var(--xee-gold);

  font-size: 13px;

  font-weight: 800;
}

/* =========================================================
   PROCESS
========================================================= */

.xee-hu-process {
  border-top: 1px solid var(--xee-border);
}

.xee-hu-process-item {
  display: grid;

  grid-template-columns: 55px 1fr;

  gap: 15px;

  padding: 26px 0;

  border-bottom: 1px solid var(--xee-border);

  transition: padding-left 0.25s ease;
}

.xee-hu-process-item:hover {
  padding-left: 7px;
}

.xee-hu-process-number {
  color: var(--xee-gold);

  font-size: 12px;

  font-weight: 800;
}

.xee-hu-process-item h3 {
  margin: 0 0 7px;

  font-size: 19px;

  line-height: 1.3;
}

.xee-hu-process-item p {
  margin: 0;

  font-size: 14px;

  line-height: 1.75;
}

/* =========================================================
   INFO CARDS
========================================================= */

.xee-hu-info-grid {
  display: grid;

  grid-template-columns: 1fr;

  gap: 17px;
}

.xee-hu-info-card {
  padding: 35px;

  background: #fff;

  border: 1px solid var(--xee-border);

  border-radius: 5px;
}

.xee-hu-info-card h2 {
  margin: 13px 0 17px;

  font-size: 28px;

  line-height: 1.2;
}

.xee-hu-info-card p:last-child {
  margin-bottom: 0;
}

/* =========================================================
   WHY XEE
========================================================= */

.xee-hu-why-xee {
  padding: 45px;

  color: #fff;

  background: var(--xee-dark);

  border-radius: 6px;
}

.xee-hu-why-xee h2 {
  max-width: 750px;

  margin: 13px 0 18px;

  color: #fff !important;

  font-size: clamp(30px, 3.5vw, 41px);

  line-height: 1.12;
}

.xee-hu-why-xee p {
  max-width: 900px;

  margin: 0;

  color: rgba(255, 255, 255, 0.76) !important;

  font-size: 15px;

  line-height: 1.85;
}

/* =========================================================
   FAQ
   IMPORTANT:
   Strong overrides because many WP themes style buttons.
========================================================= */

.xee-hu-faq-list {
  width: 100%;
  max-width: 900px;
}

.xee-hu-faq-item {
  position: relative;

  width: 100%;

  border-bottom: 1px solid var(--xee-border);
}

.xee-hu-faq-item:first-child {
  border-top: 1px solid var(--xee-border);
}

/*
 * Force button appearance so the parent theme
 * cannot turn text white.
 */
.xee-hungary-page button.xee-hu-faq-question {
  width: 100% !important;

  min-height: 0 !important;

  display: flex !important;

  align-items: center !important;

  justify-content: space-between !important;

  gap: 20px !important;

  margin: 0 !important;

  padding: 21px 0 !important;

  border: 0 !important;

  border-radius: 0 !important;

  outline: none !important;

  box-shadow: none !important;

  background: transparent !important;

  background-image: none !important;

  color: var(--xee-heading) !important;

  text-align: left !important;

  text-transform: none !important;

  text-decoration: none !important;

  letter-spacing: normal !important;

  font-family: inherit !important;

  font-size: 17px !important;

  line-height: 1.45 !important;

  font-weight: 700 !important;

  cursor: pointer !important;

  -webkit-appearance: none !important;

  appearance: none !important;
}

.xee-hungary-page button.xee-hu-faq-question:hover,
.xee-hungary-page button.xee-hu-faq-question:focus,
.xee-hungary-page button.xee-hu-faq-question:active {
  background: transparent !important;

  color: var(--xee-gold) !important;

  border: 0 !important;

  box-shadow: none !important;
}

/*
 * Question text.
 */
.xee-hu-faq-question-text {
  display: block;

  flex: 1;

  color: inherit !important;
}

/*
 * We do NOT place + text inside this element.
 * CSS draws the + and -.
 */
.xee-hu-faq-icon {
  position: relative;

  display: inline-flex !important;

  align-items: center;
  justify-content: center;

  flex: 0 0 40px;

  width: 40px;
  height: 40px;

  padding: 0 !important;

  border: 1px solid rgba(157, 117, 48, 0.28);

  border-radius: 50%;

  background: #fff;

  transition:
    background 0.25s ease,
    border-color 0.25s ease;
}

/* Horizontal line */
.xee-hu-faq-icon::before {
  content: "";

  position: absolute;

  left: 50%;
  top: 50%;

  width: 14px;
  height: 2px;

  background: var(--xee-gold);

  border-radius: 2px;

  transform: translate(-50%, -50%);
}

/* Vertical line */
.xee-hu-faq-icon::after {
  content: "";

  position: absolute;

  left: 50%;
  top: 50%;

  width: 2px;
  height: 14px;

  background: var(--xee-gold);

  border-radius: 2px;

  transform: translate(-50%, -50%);

  transition: opacity 0.2s ease;
}

/*
 * OPEN STATE
 *
 * Do not rotate.
 * Simply hide vertical line.
 */
.xee-hu-faq-item.is-open .xee-hu-faq-icon {
  background: var(--xee-gold);

  border-color: var(--xee-gold);
}

.xee-hu-faq-item.is-open .xee-hu-faq-icon::before {
  background: #fff;
}

.xee-hu-faq-item.is-open .xee-hu-faq-icon::after {
  opacity: 0;
}

/*
 * Answer animation.
 *
 * Important:
 * no padding on this outer element because
 * max-height calculation works better that way.
 */
.xee-hu-faq-answer {
  width: 100%;

  max-height: 0;

  overflow: hidden;

  opacity: 0;

  visibility: hidden;

  transition:
    max-height 0.35s ease,
    opacity 0.25s ease,
    visibility 0.25s ease;
}

.xee-hu-faq-item.is-open .xee-hu-faq-answer {
  opacity: 1;

  visibility: visible;
}

.xee-hu-faq-answer-inner {
  padding: 0 60px 23px 0;
}

.xee-hu-faq-answer-inner p {
  margin: 0 !important;

  color: var(--xee-text) !important;

  font-size: 14px !important;

  line-height: 1.8 !important;

  font-weight: 400 !important;
}

/* =========================================================
   CTA
========================================================= */

.xee-hu-cta {
  padding: 70px 0;

  color: #fff;

  background: var(--xee-gold);
}

.xee-hu-cta-grid {
  display: grid;

  grid-template-columns: 1fr;

  gap: 30px;
}

.xee-hu-cta h2 {
  max-width: 700px;

  margin: 13px 0 16px;

  color: #fff !important;

  font-size: clamp(30px, 3.5vw, 42px);

  line-height: 1.12;
}

.xee-hu-cta p {
  max-width: 700px;

  margin: 0;

  color: rgba(255, 255, 255, 0.8) !important;
}

.xee-hu-buttons {
  display: flex;

  flex-wrap: wrap;

  gap: 10px;
}

.xee-hu-button {
  display: inline-flex;

  min-height: 52px;

  padding: 0 21px;

  align-items: center;

  justify-content: center;

  border: 1px solid #fff;

  border-radius: 4px;

  text-decoration: none !important;

  font-size: 13px;

  font-weight: 700;

  transition:
    transform 0.25s ease,
    background 0.25s ease;
}

.xee-hu-button:hover {
  transform: translateY(-2px);
}

.xee-hu-button-white {
  color: var(--xee-gold) !important;

  background: #fff;
}

.xee-hu-button-outline {
  color: #fff !important;

  background: transparent;
}

/* =========================================================
   FINAL CTA
========================================================= */

.xee-hu-final {
  padding: 60px 30px;

  text-align: center;

  background: var(--xee-soft);
}

.xee-hu-final h2 {
  max-width: 700px;

  margin: 14px auto 25px;

  color: var(--xee-heading);

  font-size: clamp(28px, 3.5vw, 38px);

  line-height: 1.15;
}

.xee-hu-final-button {
  display: inline-flex;

  min-height: 52px;

  padding: 0 23px;

  align-items: center;

  justify-content: center;

  color: #fff !important;

  background: var(--xee-gold);

  border-radius: 4px;

  text-decoration: none !important;

  font-size: 13px;

  font-weight: 700;

  transition:
    background 0.25s ease,
    transform 0.25s ease;
}

.xee-hu-final-button:hover {
  color: #fff !important;

  background: var(--xee-gold-dark);

  transform: translateY(-2px);
}

/* =========================================================
   SCROLL REVEAL
========================================================= */

.xee-hu-reveal {
  opacity: 0;

  transform: translateY(20px);

  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

.xee-hu-reveal.xee-visible {
  opacity: 1;

  transform: translateY(0);
}

/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {
  .xee-hu-container {
    padding-left: 25px;
    padding-right: 25px;
  }

  .xee-hu-visa-grid,
  .xee-hu-university {
    grid-template-columns: 1fr;
  }

  .xee-hu-hero-points,
  .xee-hu-benefits-grid,
  .xee-hu-documents {
    grid-template-columns: 1fr;
  }

  .xee-hu-detail-item {
    grid-template-columns: 40px 170px 1fr;
  }
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 650px) {
  .xee-hu-container {
    padding-left: 18px;
    padding-right: 18px;
  }

  .xee-hu-section,
  .xee-hu-visa {
    padding: 58px 0;
  }

  .xee-hu-intro {
    padding: 52px 0 45px;
  }

  .xee-hu-hero-content h2 {
    font-size: 36px;

    letter-spacing: -1px;
  }

  .xee-hu-detail-item {
    grid-template-columns: 34px 1fr;

    gap: 10px;
  }

  .xee-hu-detail-item p {
    grid-column: 2;
  }

  .xee-hu-intakes,
  .xee-hu-facts {
    grid-template-columns: 1fr;
  }

  .xee-hu-programme {
    grid-template-columns: 1fr;

    gap: 7px;
  }

  .xee-hu-programme-price {
    grid-column: auto;
  }

  .xee-hu-info-card,
  .xee-hu-why-xee {
    padding: 27px 23px;
  }

  .xee-hu-faq-answer-inner {
    padding: 0 5px 20px 0;
  }

  .xee-hungary-page button.xee-hu-faq-question {
    font-size: 15px !important;

    padding: 18px 0 !important;
  }

  .xee-hu-faq-icon {
    flex-basis: 36px;

    width: 36px;
    height: 36px;
  }

  .xee-hu-buttons,
  .xee-hu-button {
    width: 100%;
  }
}
