/*
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: WPViking
Author URI: https://wpkurzus.hu/
Template: hello-elementor
Version: 1.0.1
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
*/

/* ----------------- 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;
}



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

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

.custom-post{

    width:min(1200px,95%);
    margin:auto;
    padding:60px 0;
}

.post-header{

    max-width:800px;
    margin:0 auto 50px;
    text-align:center;
}

.post-title{

    font-size:48px;
    line-height:1.15;
}




.post-image{

    display:flex;
    justify-content:center;
    margin-bottom:60px;

}

.post-image img{

    width:50%;
    max-width:500px;
    height:auto;
    border-radius:12px;

}

.post-content{

    max-width:800px;
    margin:auto;
    font-size:18px;
    line-height:1.9;
}

.post-content h2{

    margin-top:70px;
    margin-bottom:25px;
    font-size:34px;
}

.post-content h3{

    margin-top:50px;
    margin-bottom:20px;
}

.post-content p{

    margin-bottom:28px;
}

.post-content img{

    max-width:100%;
    border-radius:10px;
    margin:40px auto;
    display:block;
}

.related-posts{

    margin-top:100px;
}

.related-grid{

    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:25px;
}

.related-card img{

    width:100%;
    border-radius:10px;
}

.related-card h3{

    font-size:20px;
    margin-top:15px;
}

@media(max-width:900px){

.post-top{

grid-template-columns:1fr;

}

.related-grid{

grid-template-columns:1fr;

}

.post-content{

padding:0 20px;

}

}

/* ==================================================
   BLOGARCHÍVUM – TELJES MEGJELENÉS
   ================================================== */

.blog-archive {
	width: min(1200px, calc(100% - 40px));
	margin: 0 auto;
	padding: 60px 0 100px;
}


/* ==================================================
   BLOG FEJLÉC
   ================================================== */

.blog-archive-header {
	margin-bottom: 55px;
	text-align: center;
}

.blog-archive-title {
	margin: 0 0 12px;
	color: #163B88;
	font-size: 48px;
	font-weight: 700;
	line-height: 1.15;
	text-transform: none;
}

.blog-archive .blog-archive-kicker {
	margin: 0 0 18px;
	color: #00AEEF;
	font-size: 30px;
	font-weight: 600;
	line-height: 1.25;
	text-transform: none;
}

.blog-archive-introduction,
.blog-archive-description {
	max-width: 760px;
	margin: 0 auto 30px;
	color: inherit;
	font-family: inherit;
	font-size: 18px;
	font-weight: 400;
	line-height: 1.7;
}


/* ==================================================
   KERESŐ
   ================================================== */

.blog-search {
	display: flex;
	width: min(620px, 100%);
	margin: 30px auto 22px;
}

.blog-search input[type="search"] {
	flex: 1;
	min-width: 0;
	height: 48px;
	margin: 0;
	padding: 0 16px;
	color: inherit;
	font-family: inherit;
	font-size: 16px;
	background: #ffffff;
	border: 1px solid #d8d8d8;
	border-radius: 0;
	box-shadow: none;
}

.blog-search button {
	flex: 0 0 auto;
	height: 48px;
	margin: 0;
	padding: 0 24px;
	color: #ffffff;
	font-family: inherit;
	font-size: 15px;
	font-weight: 500;
	background: #d9234f;
	border: 1px solid #d9234f;
	border-radius: 0;
	cursor: pointer;
}

.blog-search button:hover,
.blog-search button:focus {
	color: #ffffff;
	background: #bd193f;
	border-color: #bd193f;
}


/* ==================================================
   KATEGÓRIAVÁLASZTÓ
   ================================================== */

.blog-category-nav {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px 22px;
	margin-top: 22px;
}

.blog-archive .blog-category-nav a {
	display: inline-block;
	margin: 0;
	padding: 0;
	color: #d9234f;
	font-family: inherit;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.5;
	letter-spacing: normal;
	text-decoration: none;
	text-transform: none;
	background: transparent;
	border: 0;
}

.blog-archive .blog-category-nav a:visited {
	color: #d9234f;
}

.blog-archive .blog-category-nav a:hover,
.blog-archive .blog-category-nav a:focus,
.blog-archive .blog-category-nav a.is-active {
	color: #d9234f;
	text-decoration: underline;
	text-underline-offset: 4px;
}


/* ==================================================
   KIEMELT CIKK
   ================================================== */

.featured-post-section {
	margin-bottom: 70px;
}

.featured-post-card {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
	overflow: hidden;
	background: #ffffff;
	border: 0;
	border-radius: 0;
	box-shadow: 0 10px 35px rgba(22, 59, 136, 0.1);
}

.featured-post-image {
	display: block;
	min-height: 420px;
	overflow: hidden;
	background: #e7e7e7;
	border-radius: 0;
}

.featured-post-image img {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 420px;
	object-fit: cover;
	border-radius: 0;
}

.featured-post-content {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 48px;
	border-radius: 0;
}

.post-card-label {
	margin: 0 0 16px;
	color: #d9234f;
	font-family: inherit;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.4;
	text-transform: none;
}

.featured-post-title {
	margin: 0 0 10px;
	color: #163B88;
	font-size: 34px;
	font-weight: 600;
	line-height: 1.25;
	text-transform: none;
}

.featured-post-title a,
.featured-post-title a:visited {
	color: #163B88;
	font: inherit;
	text-decoration: none;
}

.featured-post-title a:hover,
.featured-post-title a:focus {
	color: #163B88;
	text-decoration: underline;
	text-underline-offset: 4px;
}

.featured-post-excerpt {
	margin: 4px 0 24px;
	color: inherit;
	font-family: inherit;
	font-size: 17px;
	font-weight: 400;
	line-height: 1.7;
}

.blog-read-more {
	align-self: flex-start;
	display: inline-block;
	padding: 12px 22px;
	color: #ffffff;
	font-family: inherit;
	font-size: 15px;
	font-weight: 500;
	line-height: 1.2;
	text-decoration: none;
	background: #d9234f;
	border-radius: 0;
}

.blog-read-more:visited {
	color: #ffffff;
}

.blog-read-more:hover,
.blog-read-more:focus {
	color: #ffffff;
	background: #bd193f;
}


/* ==================================================
   SZEKCIÓCÍM
   ================================================== */

.blog-section-heading {
	margin-bottom: 30px;
	text-align: center;
}

.blog-section-heading h2 {
	margin: 0;
	color: #163B88;
	font-size: 34px;
	font-weight: 600;
	line-height: 1.25;
	text-transform: none;
}


/* ==================================================
   CIKKRÁCS
   ================================================== */

.blog-post-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 30px;
	align-items: stretch;
}

.blog-post-card {
	position: relative;
	display: flex;
	flex-direction: column;
	min-width: 0;
	overflow: visible;
	background: #ffffff;
	border: 0;
	border-radius: 0;
	box-shadow: 0 8px 28px rgba(22, 59, 136, 0.09);
}

.blog-post-card-image {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: #e7e7e7;
	border-radius: 0;
}

.blog-post-card-image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 0;
	transition: transform 0.35s ease;
}

.blog-post-card:hover .blog-post-card-image img {
	transform: scale(1.03);
}

.blog-post-card-content {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 28px;
	border-radius: 0;
}


/* ==================================================
   KATEGÓRIACÍMKE A KÁRTYÁKON
   ================================================== */

.blog-archive .post-card-category-label {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 10;

	display: inline-block;
	width: auto;
	max-width: calc(100% - 20px);
	margin: 0;
	padding: 9px 14px;

	color: #ffffff;
	font-family: inherit;
	font-size: 13px;
	font-weight: 500;
	line-height: 1.2;
	letter-spacing: normal;
	text-decoration: none;
	text-transform: uppercase;

	background-color: #00AEEF;
	border: 0;
	border-radius: 0;
}

.blog-archive .post-card-category-label:visited {
	color: #ffffff;
}

.blog-archive .post-card-category-label:hover,
.blog-archive .post-card-category-label:focus {
	color: #ffffff;
	text-decoration: none;
	background-color: #0098cf;
}


/* ==================================================
   KÁRTYACÍMEK
   ================================================== */

.blog-post-card-title {
	margin: 0 0 8px;
	color: #163B88;
	font-size: 24px;
	font-weight: 600;
	line-height: 1.3;
	text-transform: none;
}

.blog-post-card-title a,
.blog-post-card-title a:visited {
	color: #163B88;
	font: inherit;
	text-decoration: none;
}

.blog-post-card-title a:hover,
.blog-post-card-title a:focus {
	color: #163B88;
	text-decoration: underline;
	text-underline-offset: 3px;
}


/* ==================================================
   DÁTUM
   ================================================== */

.blog-post-card-date {
	margin: 0 0 16px;
	color: #777777;
	font-family: inherit;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.5;
}


/* ==================================================
   KIVONAT
   ================================================== */

.blog-post-card-excerpt {
	margin-bottom: 22px;
	color: inherit;
	font-family: inherit;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.65;
}

.blog-post-card-excerpt p {
	margin: 0;
}


/* ==================================================
   TOVÁBB OLVASOM LINK
   ================================================== */

.blog-card-link {
	display: inline-block;
	align-self: flex-start;
	margin-top: auto;
	color: #d9234f;
	font-family: inherit;
	font-size: 15px;
	font-weight: 500;
	line-height: 1.4;
	text-decoration: none;
}

.blog-card-link:visited {
	color: #d9234f;
}

.blog-card-link:hover,
.blog-card-link:focus {
	color: #d9234f;
	text-decoration: underline;
	text-underline-offset: 4px;
}


/* ==================================================
   LAPOZÁS
   ================================================== */

.blog-pagination {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 8px;
	margin-top: 55px;
}

.blog-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 42px;
	height: 42px;
	padding: 0 12px;
	color: #163B88;
	font-family: inherit;
	font-size: 15px;
	font-weight: 500;
	text-decoration: none;
	background: #ffffff;
	border: 1px solid #d6dce8;
	border-radius: 0;
}

.blog-pagination .page-numbers.current,
.blog-pagination .page-numbers:hover,
.blog-pagination .page-numbers:focus {
	color: #ffffff;
	background: #163B88;
	border-color: #163B88;
}


/* ==================================================
   TABLET
   ================================================== */

@media (max-width: 1024px) {

	.blog-post-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.featured-post-card {
		grid-template-columns: 1fr 1fr;
	}

	.featured-post-content {
		padding: 35px;
	}

	.featured-post-title {
		font-size: 29px;
	}
}


/* ==================================================
   MOBIL
   ================================================== */

@media (max-width: 767px) {

	.blog-archive {
		width: min(100% - 30px, 1200px);
		padding: 40px 0 70px;
	}

	.blog-archive-header {
		margin-bottom: 40px;
	}

	.blog-archive-title {
		font-size: 36px;
	}

	.blog-archive .blog-archive-kicker {
		font-size: 25px;
	}

	.blog-archive-introduction,
	.blog-archive-description {
		font-size: 16px;
	}

	.blog-search {
		flex-direction: column;
		gap: 10px;
	}

	.blog-search input[type="search"],
	.blog-search button {
		width: 100%;
	}

	.blog-category-nav {
		gap: 8px 16px;
	}

	.featured-post-card {
		display: block;
	}

	.featured-post-image,
	.featured-post-image img {
		min-height: 260px;
	}

	.featured-post-content {
		padding: 28px 24px 32px;
	}

	.featured-post-title {
		font-size: 27px;
	}

	.blog-section-heading h2 {
		font-size: 28px;
	}

	.blog-post-grid {
		grid-template-columns: 1fr;
		gap: 25px;
	}

	.blog-post-card-title {
		font-size: 23px;
	}
}
/* Blogkártyák címei */

.blog-archive .blog-post-card-title {
	margin: 0 0 10px;
	font-size: 26px;
	font-weight: 600;
	line-height: 1.3;
	color: #163B88;
	text-transform: none;
}

.blog-archive .blog-post-card-title a,
.blog-archive .blog-post-card-title a:visited {
	color: #163B88 !important;
	font-family: inherit;
	font-size: inherit;
	font-weight: inherit;
	line-height: inherit;
	text-decoration: none;
}

.blog-archive .blog-post-card-title a:hover,
.blog-archive .blog-post-card-title a:focus {
	color: #163B88 !important;
	text-decoration: underline;
	text-underline-offset: 4px;
}


/* Kiemelt cikk címe */

.blog-archive .featured-post-title {
	margin: 0 0 10px;
	font-size: 32px;
	font-weight: 600;
	line-height: 1.3;
	color: #163B88;
	text-transform: none;
}

.blog-archive .featured-post-title a,
.blog-archive .featured-post-title a:visited {
	color: #163B88 !important;
	font-family: inherit;
	font-size: inherit;
	font-weight: inherit;
	line-height: inherit;
	text-decoration: none;
}

.blog-archive .featured-post-title a:hover,
.blog-archive .featured-post-title a:focus {
	color: #163B88 !important;
	text-decoration: underline;
	text-underline-offset: 4px;
}

.blog-archive .blog-post-card-title {
	margin: 0 0 8px;
	font-size: 26px !important;
	font-weight: 600;
	line-height: 1.3;
	color: #163B88 !important;
	text-transform: none;
}

.blog-archive .blog-post-card-title a,
.blog-archive .blog-post-card-title a:visited {
	color: #163B88 !important;
	font: inherit;
	text-decoration: none;
}

.blog-archive .featured-post-title {
	margin: 0 0 10px;
	font-size: 32px !important;
	font-weight: 600;
	line-height: 1.3;
	color: #163B88 !important;
	text-transform: none;
}

.blog-archive .featured-post-title a,
.blog-archive .featured-post-title a:visited {
	color: #163B88 !important;
	font: inherit;
	text-decoration: none;
}

.blog-archive .blog-archive-kicker {
	color: #00AEEF !important;
}