/*
 Theme Name:     Divi Child
 Theme URI:      https://www.elegantthemes.com/gallery/divi/
 Description:    Divi Child Theme
 Author:         Elegant Themes
 Author URI:     https://www.elegantthemes.com
 Template:       Divi
 Version:        1.0.0
*/


/* =Theme customization starts here
------------------------------------------------------- */

/* Fejléc – Ajánlatkérés gomb */
header li.headbtt {
  display: flex;
  align-items: center;
  margin-left: 32px !important;
  padding: 0 !important;
}

header li.headbtt > a {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 12px 24px !important;

  background: #e51b2b;
  color: #ffffff !important;

  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
  opacity: 1 !important;

  transition: background-color 0.2s ease;
}

header li.headbtt > a::after {
  content: "\24";
  position: static !important;
  margin: 0 !important;

  font-family: "ETmodules";
  font-size: 22px;
  font-weight: 400;
  line-height: 1;

  transition: transform 0.2s ease;
}

header li.headbtt > a:hover {
  background: #c81728;
  opacity: 1 !important;
}

header li.headbtt > a:hover::after {
  transform: translateX(4px);
}

@media (max-width: 980px) {
  header li.headbtt {
    margin: 14px 0 4px !important;
  }

  header li.headbtt > a {
    display: flex !important;
    width: 100%;
    box-sizing: border-box;
  }
}



/* hero buttons */

.hero ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin: 32px 0 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.hero ul li {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.hero ul li::before,
.hero ul li::marker {
  display: none !important;
  content: "";
}

.hero ul li a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  box-sizing: border-box;
  padding: 15px 24px;

  border: 2px solid #1d2227;
  background: transparent;
  color: #1d2227 !important;

  font-family: "Inter", Arial, sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none !important;

  transition:
    color 0.2s ease,
    background-color 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}

/* Ajánlatot kérek */
.hero ul li:first-child a {
  border-color: #e51b2b;
  background: #e51b2b;
  color: #ffffff !important;
}

.hero ul li:first-child a::after {
  content: "\35";
  margin-left: 18px;
  font-size: 24px;
  font-weight: 400;
  line-height: 1;
  transition: transform 0.2s ease;
}

.hero ul li:first-child a:hover {
  border-color: #c81728;
  background: #c81728;
}

.hero ul li:first-child a:hover::after {
  transform: translateX(4px);
}

/* Szolgáltatásaink */
.hero ul li:nth-child(2) a:hover {
  background: #1d2227;
  color: #ffffff !important;
}

.hero ul li a:focus-visible {
  outline: 3px solid rgba(229, 27, 43, 0.3);
  outline-offset: 3px;
}

@media (max-width: 767px) {
  .hero ul {
    align-items: stretch;
    flex-direction: column;
  }

  .hero ul li,
  .hero ul li a {
    width: 100%;
  }
}



/* countrytags */

.countrytags ul {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.countrytags ul li {
  display: inline-flex;
  align-items: center;
  margin: 0 !important;
  padding: 13px 20px !important;

  border: 1px solid #e51b2b;
  background: #e51b2b;
  color: #ffffff;

  font-family: "Inter", Arial, sans-serif;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.2;

  list-style: none !important;
}

.countrytags ul li::before,
.countrytags ul li::marker {
  display: none !important;
  content: "";
}

.countrytags ul li a {
  display: block;
  color: inherit !important;
  text-decoration: none !important;
}

.countrytags ul li:has(a) {
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease;
}

.countrytags ul li:has(a):hover {
  border-color: #c81728;
  background: #c81728;
}




.countrytags.countrytags-s ul {
  gap: 10px 12px;
  margin-top: 18px !important;
}

.countrytags.countrytags-s ul li {
  padding: 8px 13px !important;

  border: 1px solid #d9dcde;
  background: transparent;
  color: #6d7073;

  font-size: 15px;
  font-weight: 500;
  line-height: 1.2;
}

.countrytags.countrytags-s ul li:has(a):hover {
  border-color: #e51b2b;
  background: transparent;
  color: #e51b2b;
}


/* form button */

button.wpforms-submit {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 20px;

  width: 100% !important;
  min-height: 58px;
  padding: 16px 28px !important;

  border: 2px solid #e51b2b !important;
  border-radius: 0 !important;
  background: #e51b2b !important;
  color: #ffffff !important;

  font-family: "Inter", Arial, sans-serif !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;

  box-shadow: none !important;
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease;
}

button.wpforms-submit::after {
  content: "\24";
  display: inline-block;

  font-family: "ETmodules";
  font-size: 22px;
  font-weight: 400;
  line-height: 1;

  transition: transform 0.2s ease;
}

button.wpforms-submit:hover {
  border-color: #c81728 !important;
  background: #c81728 !important;
  color: #ffffff !important;
}

button.wpforms-submit:hover::after {
  transform: translateX(4px);
}

button.wpforms-submit:focus-visible {
  outline: 3px solid rgba(229, 27, 43, 0.3);
  outline-offset: 3px;
}