/*

Theme Name: WPFegyvertár Hello Child Theme

Theme URI: https://github.com/elementor/hello-theme/

Description: WPFegyvertár Hello Child Theme is a child theme of Hello Elementor, created by WPkurzus

Author: WPkurzus.hu

Author URI: https://wpkurzus.hu/

Template: hello-elementor

Version: 1.0.46

Text Domain: hello-elementor-child

License: GNU General Public License v3 or later.

License URI: https://www.gnu.org/licenses/gpl-3.0.html

*/

/* Google Fonts import */
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;500;700&display=swap');


/* ----------------- DESIGN ----------------- */
/* Selection */
::-moz-selection {
	color: #fff;
	background: var( --e-global-color-primary )
}

::selection {
	color: #fff;
	background: var( --e-global-color-primary )
}


/* Mark */
mark {
    background: var( --e-global-color-primary )
    color: #fff;
    font-weight: 700;
}


/* Fluent Forms */
.fluentform .ff-btn-submit {
	margin-top: 10px !important;
    font-weight: 700 !important;
}

.fluentform .ff-btn:hover {
    opacity: 1 !important;
}

/* Galéria címsor */
.elementor-slideshow__title {
    display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.elementor-location-footer {
  margin-top: auto;
}

/* hidden h1 */
.seo-hidden-h1 {
    position: absolute;
    left: -9999px;
    top: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
    white-space: nowrap;
}

/* Vissza a főoldalra gomb */
.back-home-btn {
  font-family: 'Oswald', sans-serif !important;
  font-size: 20px !important;
  font-weight: 400 !important;
  line-height: 50px !important;
  display: inline-block;
  margin-top: 15px;
  padding: 10px 15px;
  background: #333333;
  font-color: #ffffff!important;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.2s ease;
}
.back-home-btn:hover {
  background: #CA9B3C !important;
}

/* Menü elem kiemelt szín */
.menuitem-no-highlight a {
  color: #F2F2F2 !important;
}

.menuitem-highlight a {
  color: #CA9B3C !important;
}

.menuitem-highlight a:hover {
  color: #F2F2F2 !important;
}
/*------------------------------*/

/* FŐOLDAL POST CÍM */
.prgm-post-title h2 a {
  font-family: 'Oswald', sans-serif !important;
  font-size: 42px !important;
  font-weight: 400 !important;
  line-height: 50px !important;
}

@media (max-width: 1024px) {
  .prgm-post-title h2 a {
	  font-size: 38px !important;
	  line-height: 50px !important;
  }
}

@media (max-width: 768px) {
  .prgm-post-title h2 a {
	  font-size: 24px !important;
	  line-height: 30px !important;
  }
}

/* Kapcsolódó bejegyzések CSAK blog típusú oldalaknál jelenik meg a sidebaron */
.page .only-4-blog-posts {
  display: none !important;
}


/* ----------------- BLOG ----------------- */

/* Bejegyzés kivonatok után 3 pont*/
.elementor-posts .elementor-post__excerpt p:after {
content: "..." !important;
}


/* Post sidebarban elválasztó postok alatt*/
.elementor-post {
  border-bottom: 1px solid #f2f2f2;
  padding-bottom: 15px;
  margin-bottom: 15px;
}
.elementor-post:last-child {
  border-bottom: none;
}



/* ------------------------------------------ */

/* Kategória doboz styles blogpost oldalsávban*/
.category-box,
.tag-box {
  background: #fff;
  box-shadow: none !important;
  border: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.tag-title,
.category-title,
.category-list,
.category-list li {
  margin: 0 !important;
  padding: 0 !important;
}

.tag-title,
.category-title {
  font-family: 'Oswald', sans-serif !important;
  font-size: 24px !important;
  font-weight: 400;
  margin-bottom: 20px !important;
  text-transform: uppercase !important;
  color: #333333;
  letter-spacing: normal;
  line-height: 26.4px !important;
}

.category-list {
  list-style: none;
}

.category-list li {
  font-family: 'Raleway', 'Helvetica Neue', Arial, Helvetica, sans-serif;
  font-size: 15px !important;
  letter-spacing: normal;
  color: #525452 !important;
  line-height: 33.3px;
}

.category-list li::before {
  content: "■";
  color: #CA9B3C;
  font-size: 12px;
  margin-right: 8px;
}

.category-list a {
  color: #989999 !important;
  text-decoration: none;
  font-weight: 400 !important;
}

.category-list a:hover {
  color: #CA9B3C !important;
}
/* ------------------------------------------ */

/* KATEGÓRIA TERMS VONALAK A BLOGPOST FELETT */
.category-divider {
  position: relative !important;
  display: flex;
  justify-content: center !important;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 10px 0;
}

.category-divider ul {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px; 
  position: relative !important;
  font-family: 'Oswald', sans-serif !important;
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  color: #bbb;
  letter-spacing: 1px;
  padding: 0 20px;
  line-height: 1.5;
}
.category-divider ul a {
  font-family: 'Oswald', sans-serif !important;
  font-size: 22px !important;
  font-weight: 400 !important;
}

@media (max-width: 768px) {
  .category-divider ul a {
	  font-size: 18px !important;
  }
}

.category-divider ul a:hover{
  color: #CA9B3C !important;
}

/* BAL ÉS JOBB DEKORVONAL */
.category-divider ul::before,
.category-divider ul::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 70px;
  height: 1px;
  background-color: #dcdcdc;
  transform: translateY(-3px);
  opacity: 0.8;
}

/* Kicsit lejjebb lévő rövidebb vonalpár */
.category-divider ul span::before,
.category-divider ul span::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 50px;
  height: 1px;
  background-color: #dcdcdc;
  transform: translateY(3px);
  opacity: 0.8;
}

/* Bal és jobb oldali elhelyezés */
.category-divider ul::before { left: -80px; }
.category-divider ul::after  { right: -80px; }
.category-divider ul span::before    { left: -60px; }
.category-divider ul span::after     { right: -60px; }

/* Mobilon eltűnik minden dekorvonal */
@media (max-width: 767px) {
  .category-divider ul span::before,
  .category-divider ul span::after,
  .category-divider ul::before,
  .category-divider ul::after {
    display: none;
  }
}
/* ------------------------------------------ */

/* DÁTUM és SZERZŐ A BLOGPOST ALATT */
.meta-banner ul li a {
  font-family: 'Oswald', sans-serif !important;
  font-size: 15px !important;
  font-weight: 400 !important;
  text-transform: uppercase;
  word-spacing: 0;
}

.meta-banner ul li {
  position: relative;
}

.meta-banner ul li a {
  display: inline-block;
  text-decoration: none;
  transition: color 0.3s ease;
}

/* Fehér vonal hoverkor */
.meta-banner ul li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 10px;
  width: 0;
  height: 2px;
  background: #f4f7f7;
}

/* Hoverkor animáltan megjelenik */
.meta-banner ul li a:hover::after {
  transition: all 0.35s ease-in-out;
  width: 100%;
}

/*
.meta-banner ul li a span:hover {
  color: #CA9B3C !important;
}*/

.meta-banner {
  display: inline-block;
  background-color: #333333;
  color: #fff;
  padding: 8px 35px 8px 15px;
  position: relative;
}

/* Jobboldali nyíl alakzat */
.meta-banner::after {
  content: "";
  position: absolute;
  right: -1px;
  top: 0;
  width: 0;
  height: 0;
  border-top: 22px solid transparent;
  border-bottom: 22px solid transparent;
  border-right: 22px solid #ffffff;
}

@media (max-width: 1024px) {
	.meta-banner::after {
	  border-right: 0;
	}
	
	.meta-banner ul li a::after {
	  bottom: 0;
	}
	
	.meta-banner ul li a {
	  font-size: 12px !important;
	  font-weight: 400 !important;
	  letter-spacing: 0.5px;
	}
}
/* ------------------------------------------ */

/* Címke doboz styles blogpost oldalsávban */
.tag-box {
  background: #fff;
  padding: 25px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.tag-box-title {
  font-size: 20px;
  margin-bottom: 15px;
  color: #444;
  font-weight: 600;
  text-transform: uppercase;
}

.tag-container {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-container a {
  display: inline-block;
  padding: 6px 10px;
  border: 1px solid #CA9B3C;
  color: #CA9B3C;
  text-decoration: none;
  font-size: 13px;
  border-radius: 3px;
  transition: all 0.3s ease;
}

.tag-container a:hover {
  background-color: #CA9B3C;
  color: #fff;
}
/* ------------------------------------------ */

/* Iniciálé - Nagy kezdőbetű minden bejegyzés első bekezdésénél */
.elementor-widget-archive-posts p:first-of-type:first-letter,
.prgm-initialed p:first-of-type::first-letter,
.prgm-initialed .elementor-text-editor::first-letter,
.prgm-initialed.elementor-widget-text-editor::first-letter {
  float: left;
  font-size: 100px;
  line-height: 0.8;
  font-weight: 700;
  margin-right: 10px;
  margin-top: 5px;
  color: #333;
}
/* ------------------------------------------ */


/* ----------- ARCHIVE BLOG POSTS ---------------- */
.pgrm-archives article h3 {
  text-align: center;
  padding-bottom: 10px;
}

.pgrm-archives article p {
  line-height: 33px;
}
/* ------------------------------------------ */

/* ----------- FŐOLDAL SINGLE POST HÁTTÉR ELEMENTOR BUG ---------------- */
.loop-single-post {
  background-color: #ffffff !important;
 /*	 width: 100% !important;*/
}

@media (max-width: 1366px) {
	.loop-single-grid {
	/*	width: 80% !important;*/
	}
}

/* Elementor Loop Grid pagination főoldal (balra rendezett, letisztított) */
nav.elementor-pagination {
  display: flex;
  justify-content: flex-start; /* balra rendezés */
  align-items: center;
}

/* Alap gombok */
nav.elementor-pagination .page-numbers {
  display: inline-block;
  width: 40px;
  height: 60px;
  line-height: 60px;
  text-align: center;
  font-family: 'Raleway', 'Helvetica Neue', Arial, sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #333333;
  background-color: #FFFFFF;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  box-shadow: none;
}

/* Hover */
nav.elementor-pagination .page-numbers:hover {
  background-color: #333333;
  color: #ffffff;
}

/* Aktív oldal */
nav.elementor-pagination .page-numbers.current {
  background-color: #333333;
  color: #ffffff;
}

/* Előző / Következő nyilak */
nav.elementor-pagination .prev,
nav.elementor-pagination .next {
  font-weight: 400;
  font-size: 16px;
  width: 40px;
  height: 60px;
  line-height: 60px;
  color: #333333;
  background-color: #FFFFFF;
  transition: all 0.3s ease;
}

nav.elementor-pagination .prev:hover,
nav.elementor-pagination .next:hover {
  background-color: #333333;
  color: #ffffff;
}

/* Kis távolság alulra */
nav.elementor-pagination {
  padding-bottom: 20px;
}

/* Elrejtés ha az elem nem link, csak span */
nav.elementor-pagination .page-numbers.prev:not([href]),
nav.elementor-pagination .page-numbers.next:not([href]) {
  display: none !important;
}
/* ------------------------------------------ */

/* ----------- FŐOLDAL OWNER KÉP - CSAK LOGO ESETÉN HASZNÁLTAM, rendes képnél nem kell a konténerbe betenni ---------------- */
.home-author-img {
/*  aspect-ratio: 1 / 1; */
  object-fit: cover;
  display: block;
  width: auto;
/* height: auto; */
/* max-height: 320px; */
  max-width: 320px;
}

/* ------------------------------------------ */

/* ----------- FŐOLDAL 3 CARD ---------------- */
.popular-card {
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

/* Felső rész (cím + divider + excerpt) */
.popular-titlebox {
  position: relative;
  background: #ffffff;
  padding: 40px 20px 30px;
  text-align: center;
  z-index: 2;
  transition: background-color 0.3s ease 0.15s;
}

/* Háromszög a képbe belógva */
.popular-titlebox::after {
  content: "";
  position: absolute;
  bottom: -14px; /* mennyire lógjon bele a képbe */
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 20px solid transparent;
  border-right: 20px solid transparent;
  border-top: 15px solid #fff;
  z-index: 3;
  transition: border-top-color 0.3s ease;
}

/* Cím, vonal és alcím stílus */
.popular-title {
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  color: #333;
  margin-bottom: 10px;
}

.popular-card:has(.popular-titlebox:hover),
.popular-titlebox:hover {
  border-color: transparent !important;  /* teljesen láthatatlanná teszi a card borderét */
  outline: none !important;
  box-shadow: none !important;
}

/* Elementor wrapper szintek borderének nullázása is */
.popular-card:has(.popular-titlebox:hover) .elementor-widget-container,
.popular-card:has(.popular-titlebox:hover) .elementor-element {
  border: none !important;
  box-shadow: none !important;
  outline: none !important;
  background-clip: border-box;
}

.popular-titlebox:hover {
  background: #222222 !important;
}

.popular-card:has(.popular-titlebox:hover) {
  border-color: transparent;
}

.popular-titlebox:hover::after {
  border-top-color: #222222 !important;
}

.popular-titlebox:hover .popular-title h3 {
  color: #ffffff !important;
}

.popular-titlebox:hover .popular-excert {
  color: #999999 !important;
}

/* Kép (mindig fixen alatta, ne csúszkáljon) */
.popular-photo {
  aspect-ratio: 16 / 9;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Reszponzív finomhangolás */
@media (max-width: 768px) {
  .popular-titlebox {
    padding: 30px 16px 25px;
  }
  .popular-titlebox::after {
    bottom: -14px;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-top: 15px solid #fff;
  }
  .popular-title {
    font-size: 16px;
  }
}