/*
Theme Name: ValaszOnline
Theme URI: https://linkensphere.com/
Author: Linkensphere
Author URI: https://linkensphere.com
Description: Saját Válasz Online sablon
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: valaszonline

*/

:root {
  --blue: #27aae1;
  --green: #ccff66;
  --grey: grey;
  --page-width: 1200px;
  --tablet-width: 900px;
  --paddings: 1.55rem;
}
body {
	font-family: 'MuseoSans', 'Arial', sans-serif;
	
}
body {
	background-color: #eee;
	font-size: 1.1rem;
}
p {
	line-height: var(--paddings);
	word-break: break-word;

}

.blocklink {
	display:block; width: 100%; height: 100%;
}
a {
	color: var(--blue);
	text-decoration: none;
}
a.hidelink {
	text-decoration: none;
	color: #000;
}
.fullwidth {
	max-width: var(--page-width);
	margin: 0 auto;
	height: auto;
}
.taglist {
	font-weight: bold;
	margin: 1.5rem 0;
}
.taglist a {
	margin-right: 1rem;
	text-decoration: none;
	color: #000;
	display: inline-block;
}
.taglist span {
	color: var(--blue);
	margin-right: 0.3rem;
}
.blue {
	color: var(--blue);
}
.strong {
	font-weight: bold;
}
.no-decoration {
	text-decoration: none;
}
.wp-block-image img {
	height: auto;
}
a img {
	max-width: 100%;
}

figure {
	margin: 0;
	padding-top: 0.5rem;
}
figcaption {
	margin-top: 0.5rem;
	text-align: center;
	font-size: 0.8rem;
}

figure.is-provider-youtube div iframe{
	width: 100% !important;
	aspect-ratio: 16 / 9;
}
article.single-article {
	max-width: 770px;
	margin: 0 auto;
	padding: 10px 215px ;
	background-color: #fff;
	font-size: 1.1rem;
}
article.single-article.elemntor {
	max-width: var(--page-width);
	margin: 0 auto;
	padding: 0px;
	background-color: #fff;
	font-size: 1.1rem;
}
article.single-article div.elementor {
	margin: 0px -10px -10px -10px;
}
article.single-article ul:not(.blocks-gallery-grid) {
	padding-left: 0.8em;
}
article.single-article ul:not(#shipping_method) li:not(.blocks-gallery-item):not(.product):not(.wc_payment_method)::before {
	content: '■';
	padding-right: 2rem;
  position: absolute;
  left: -0.8em;          /* Adjust this value so that it appears where you want. */
  font-size: 1.1em;   

}
article.single-article ul li {
	line-height: 1.5rem;
	padding-left: 10px;
	list-style-type: none;
	position: relative;
}
article.single-article p strong {
	font-weight: bold;
}
div.single-image {
	background-color: #eeeeee;
	display: var(--page-title-display);
	max-width: var(--page-width);
	margin: 0 auto;
}
img.fullwidth {
	width: 100%;
	display: block;

}

figure.wp-block-embed.is-type-video {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /*16:9*/
}
figure.wp-block-embed.is-type-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

figure.wp-block-embed div.wp-block-embed__wrapper {
	position: initial;
}

div.post-meta {
	display: block;
	justify-content: left;
	align-items: center;
/*	gap: 1rem;*/
	margin-bottom: var(--paddings);
	font-size: 1rem;
	display: var(--page-title-display);
}
div.post-meta div {
	float: left;
	line-height: 50px;
}
div.post-meta::after {
  content:"";
  display: block;
  clear:both;
}
div.post-meta img {
	vertical-align: middle;
	padding-right: 1rem;
}
blockquote {
	color: var(--blue);
	border-left: 3px solid var(--blue);
	margin: 0;
	margin-bottom: 1em;
  padding: 0 1em;
}
blockquote p {
	font-size: 1.5rem !important;
	line-height: 2rem !important;

}
h1 a,
h2 a,
h3 a,
h4 a {
	color: #000;
	text-decoration: none;
}
p.large {
	font-size: 1.65rem;
	line-height: 2rem;
}
a.authorlink {
	color: var(--blue);
	font-weight: bold;
	text-decoration: none;
	padding-right: 16px;
}
.thin, .authorlink.thin {
	font-weight: 300;
}

.half-width {
	width: 50%;
	margin-left: 0;
	border-top: 1px solid var(--green);
}
.uppercase {
	text-transform: uppercase;
}


/*header*/
.headerholder {
	background-color: black;
}
.header {
	display: grid;
	grid-template-columns: 180px 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
	grid-template-rows: 100px;
	align-items: end;
	max-width: var(--page-width);
	margin: 0 auto;

}
.header .logo {
	grid-column: 1;
	grid-row: 1/2;
	background-color: #000;
	align-self: end;
	border-bottom: 0px solid;
	padding-bottom: 1rem;
}
.logo img {
	width: 180px;
	height: auto;
	margin: 0 auto;
}
.menuicon {
	display: none;
}
.header-menu {
	grid-column: 2 / 7;
	background-color: #000;
	text-align: right;
}
.header-search {
	grid-column: 7 / span 2;
	background-color: #000;
}
.header-search form input {
	background-color: #000;
	border: none;
	color: #ccff66;
}
.header-search {
	margin-bottom: 13px;
}
.header-search form input:focus {
	outline: none;
}

.header-search form input::placeholder { /* Most modern browsers support this now. */
   color:    #ccff66; font-weight: bold;
}
.header-search form input:focus::placeholder {
	color: transparent;
}
.header-search form button {
		background: #000;
    border: none;
    color: #27aae1;
}
.header-menu ul, .footer-menu ul  {
		list-style: none;
    padding-bottom: 1rem;
    margin: 0;
    font-size: 0.97rem;
}
.header-menu ul li, .footer-menu ul li {
	display: inline-block;
}
.header-menu ul li a, .footer-menu ul li a {
	color: #fff;
	text-decoration: none;
	text-transform: uppercase;
	font-weight: bold;
}
.header-menu ul li:after {
	content: '|';
	color: var(--blue);
	padding: 0 0.5em;
}
.footer-menu ul li:after {
	content: '|';
	color: var(--blue);
	padding: 0.5rem;
}
.footer-menu ul li:last-child:after {
	content: none;

}
@media screen and (max-width: 1200px) {
	div.menuicon {
		grid-column: 2;
		grid-row: 1;
		color: var(--blue);
		align-self: center;
		text-align: right;
		padding-right: 1rem;
		display: block;
		font-size: 2rem;
	}
	i.dashicons.dashicons-menu {
		width: 3rem;
		height: 3rem;
	}
	i.dashicons.dashicons-menu:before {
		font-size: 3rem;
	}
	.header {
		grid-template-columns: 1fr 1fr;
		grid-template-rows: auto auto auto;
	}
	.header .logo {
		grid-column: 1;
		grid-row: 1;
		padding: 0;
		align-self: center;
	}
	.header .logo img {
		margin: 1rem;
	}
	.header-menu {
		grid-column: 1 span 2;
		grid-row: 2;
		background-color: #000;
		text-align: right;
		margin-right: 1rem;
		line-height: 2rem;
		display: none;
	}
	.header-search {
		grid-column: 2;
		grid-row: 3;
		text-align: right;
		display: none;
	}
	.header-menu ul, .footer-menu ul {
		list-style: initial;
	}
	.header-menu ul li, .footer-menu ul li {
		display: block;
	}
	.header-menu ul li:after, .footer-menu ul li:after {
		content: none;
	}
	input {
		width: 145px;
	}
	span.dashicons-search {
		padding-right: 5px;
	}
}
/*header*/



/*lines*/
.lines {

	display: grid;
	grid-template-columns: 1fr 1fr 1fr 1fr;
	max-width: var(--page-width);
	margin: 0 auto;
}
.linesbg {
	background-color: var(--blue);
}
.lines .left {
	background-color: var(--blue);
	height: 8px;
	grid-column: 1 / 4;
}
.lines .right {
	background: linear-gradient(to right, var(--green) 0%, var(--blue) 100%);
	height: 8px;

	grid-column: 4;
}
@media screen and (max-width: 768px) {
	.lines .left {
		grid-column: 1/3;
	}
	.lines .right {
		grid-column: 3 /span 2;
	}
}

/*lines*/



/*promoted*/
.nagycikk {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr 1fr ;
	grid-template-rows: auto auto auto;
	max-width: var(--page-width);
	margin: 0 auto;
	background-color: #fff;
}
.promoted {
	grid-column: 1 / span 3;
	grid-row: 1 / 4;
}
.promoted-lead {
	padding: 	1.5rem;
	padding-top: 1.7em;
}
.promoted-lead p:last-of-type {
	line-height: 1.7rem;
}
.promoted-home-image {
	width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    background-size: cover;
    background-position: center;
}
h1.promoted-title {
	margin: 0;
}
.runner-up h4 {
	padding-top: 0.6rem;
	line-height: 1.4rem;
	font-size: 1.05rem;
	margin-top: 0.75rem;
}
.runner-up {
	padding: 1.5rem 1.5rem 0 1.5rem;
}
.runner-up-1 {
	grid-column: 4;
	grid-row: 1;
}
.runner-up-2 {
	grid-column: 4;
	grid-row: 2;
}
.runner-up-3 {
	grid-column: 4;
	grid-row: 3;
}
.runner-up-img {
	width: 100%;
	background-size: cover;
	aspect-ratio: 16 / 9;
	background-position: center;
}
	.promoted-lead .author-info {
			font-size: 0.9rem;
			color: grey;
	}
	.only-sm{
		display: none;
	}
@media screen and (max-width: 768px) {
	.nagycikk {
		display: block;
	}
	.promoted {
/*		height: 180px;*/
			aspect-ratio: 16 / 9;
	}
	.promoted-lead {
		display: grid;
		grid-template-rows: auto auto auto;
	}
	.promoted-lead .author-info {
		grid-row: 2;;
	}
	.promoted-lead .author-info,
	.promoted-lead .promoted-title,
	.promoted-lead .promoted-excerpt {
		margin: 0.4rem 0;
	}
	.runner-up {
		padding: 0;
		display: grid;
		grid-template-columns: 1fr 1fr;
		border-bottom: 1px solid var(--blue);
		margin-bottom: 0.7rem;
	}
	.runner-up-img {
	aspect-ratio: initial;
	background-position: center;
	}
	.runner-up h4 {
		margin: 0 1rem;
		margin-top: 0;
		padding-top: 0;
	}
	.only-sm{
		display: block;
	}

}
/*promoted*/




/*podcasts*/
.podcasts {
	display: block;
}
.carousel {
		background-color: #000;
    padding-top: 1.5rem;
    max-width: 1170px;
    margin: 0 auto;
    padding: var(--paddings) 1rem;
}
.slideholder {
	padding: 0 0.7rem;
}

.splide__slide.is-visible {
	box-shadow: 1px 0px var(--blue);
}
.splide__arrow {
	background: #ffffff00;
	width: 9rem;
	text-transform: uppercase;
	font-weight: bold;
	opacity: 1;
	border-radius: 0;
	height: 3rem;
	top: initial;
	bottom: 7.8rem;

}
.splide__arrow:disabled {
	opacity: 0;
}
.splide__arrow--prev {
	left: -0.5rem;
	text-align: left;
    background-image: url(assets/masked-l.webp);
    background-position: left;
}
.slideholder img {
	aspect-ratio: 16 / 9;
	width: 100%;
}
.splide__arrow--next {
	right: -0.4rem;
	text-align: right;
    background-image: url(assets/masked-r.webp);
    background-position: right;

}
.slidetitle {
  background-color: #ccc;
  padding: 1rem;
  height: 7.3rem;
  font-size: 1.05rem;
  line-height: 1.4rem;
  overflow: hidden;
  line-height: 1.4rem;
	font-size: 1.05rem;
	font-weight: bold;
}
.splide__pagination {
  opacity: 0; 
  pointer-events: none;
}
.icons {
	margin-bottom: 1rem;
}
@media screen and (max-width: 768px) {
	.splide__slide.is-visible {
		box-shadow: none;
	}
	.carousel {
		background-color: #000;
		padding: 1.3rem 0.5rem;
	}
}
/*podcasts*/


/*postlist*/
.postlist {
	max-width: var(--page-width);
	margin: 0 auto;
	background-color: #fff;
}
.postlist-entry {
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-template-rows: auto auto;
	padding: 1rem 0;
	border-bottom: 1.3px solid var(--blue);
}
.postlist .postlist-entry:last-child {
	border-bottom: none;
}
.postlist-entry .thumbnail {
grid-column: 1;
    grid-row: 1 / span 2;
    width: 100%;
    height: auto;
    background-size: cover;
    /* aspect-ratio: 16 / 9; */
    /* align-self: center; */
    background-position: center;
}
.postlist-entry .post-info {
	grid-column: 2;
	grid-row: 1;
	padding: 0 var(--paddings);
}
.postlist-entry .postlist-info-meta {
	color: var(--grey);
}
.postlist-entry .post-excerpt {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	grid-column: 2;
	grid-row: 2;
	padding: 0 var(--paddings);
}
.postlist-entry h2 {
	font-weight: 500;
}
.podcastcategory .postlist-entry:nth-child(1),
.podcastcategory .postlist-entry:nth-child(2),
.podcastcategory .postlist-entry:nth-child(3),
.podcastcategory .postlist-entry:nth-child(4)
{
	border-bottom: none;
}
.podcastcategory .postlist-entry:nth-child(2),
.podcastcategory .postlist-entry:nth-child(3),
.podcastcategory .postlist-entry:nth-child(4) {
	padding: 0;
	line-height: 1rem;
}
.podcastcategory .postlist-entry:nth-child(2) .thumbnail,
.podcastcategory .postlist-entry:nth-child(3) .thumbnail,
.podcastcategory .postlist-entry:nth-child(4) .thumbnail
{
	display: none;
}
.podcastcategory .postlist-entry:nth-child(2) .post-info ,
.podcastcategory .postlist-entry:nth-child(3) .post-info ,
.podcastcategory .postlist-entry:nth-child(4) .post-info {
	grid-column: 1 / span 2;
}
.podcastcategory .postlist-entry:nth-child(2) .post-info h2 , 
.podcastcategory .postlist-entry:nth-child(3) .post-info h2 , 
.podcastcategory .postlist-entry:nth-child(4) .post-info h2 { 
		font-weight: bold;
    font-size: 1.3rem;
    margin-top: 0.4rem;
    margin-bottom: 0;
    line-height: 1.5rem;
}
.podcastcategory .postlist-entry:nth-child(2) .post-info hr.half-width,
.podcastcategory .postlist-entry:nth-child(3) .post-info hr.half-width,
.podcastcategory .postlist-entry:nth-child(4) .post-info hr.half-width {
		width: 70px;
    margin-left: 0;
    border-top: 1px solid var(--blue);
}
.podcastcategory .postlist-entry:nth-child(2) .post-info h2 a:after , 
.podcastcategory .postlist-entry:nth-child(3) .post-info h2 a:after , 
.podcastcategory .postlist-entry:nth-child(4) .post-info h2 a:after { 
	content: ' | Bővebben >>>';
    text-transform: uppercase;
    color: var(--blue);
    font-weight: bold;
    font-size: 80%;

}
.podcastcategory .postlist-entry:nth-child(2) .post-excerpt,
.podcastcategory .postlist-entry:nth-child(3) .post-excerpt,
.podcastcategory .postlist-entry:nth-child(4) .post-excerpt,
.podcastcategory .postlist-entry:nth-child(2) .postlist-info-meta,
.podcastcategory .postlist-entry:nth-child(3) .postlist-info-meta,
.podcastcategory .postlist-entry:nth-child(4) .postlist-info-meta {
	display: none;
}
@media screen and (max-width: 768px) {
	.archive .postlist-entry:first-child {
		padding-top: 0px;
	}
	.postlist-entry {
		display: block;
		padding: 1rem 0;
		border-bottom: none;
	}
	.postlist-entry .thumbnail {
		min-height: 180px;
	}
	.postlist-entry hr {
		display: none;
	}
	.postlist-entry .post-info {
		display: grid;
		grid-template-rows: auto auto auto;
	}
	.postlist-entry .postlist-info-meta {
		font-size: 0.8rem;
		padding-top: 1rem;
		margin-bottom: 0;
	}
	.post-info h2 {
		margin-top: 1rem;
	}
	.postlist-entry h2.thin {
		font-weight: bold;
	}
	.postlist-entry p {
		display: inline;
	}
	.postlist-entry br {
		display: none;
	}
	.postlist-entry a {
		display: inline;
	}
}

/*postlist*/

/*single*/
@media screen and (max-width: 768px) {
	article.single-article {
		padding: 1rem;	
	}
	h1 {
		 margin-top: 0.7rem;
	}
	
}
/*single*/

/*footer*/
.footer {
	
	display: flex;
	flex-direction: row;
	align-items: center;
  justify-content: space-between;
max-width: var(--page-width);
    margin: 0 auto;
    min-height: 3.6px;
}
.footer hr {
	display: none;
}
.footerlogo{
    height: 3rem;
    width: auto;
    margin: var(--paddings);

}
.footer .icons {
	margin: calc(var(--paddings) / 2) 0;
}
.footer .icons img ,
.footer .icons span {
		color: white;
    font-size: 2rem;
    padding-right: 2rem;
    line-height: 2rem;
    height: 30px;
}
.footer .icons a {
		text-decoration: none;
}
.footer-menu ul {
	padding: 0;
	}
.footer-menu ul li a {
	text-transform: initial;
}
@media screen and (max-width: 768px) {
	.footer {
		flex-direction: column;
		align-items: flex-start;
	}
	.footer .logo img {
		height: 40px;
		margin-top: 2rem;
	}
	.footer-menu ul {
		padding-left: var(--paddings);
		line-height: 2rem;
	}
	.footer .icons {
		padding-top: 0.5rem;
		padding-left: var(--paddings);
	}
	.footer hr.half-width {
		display: block;
		border-top: 1px solid #ccc;
		margin-left: var(--paddings);
		width: 35%;
	}

}
/*footer*/

/*pagination*/
.pagination {
	padding: 2rem;
	font-weight: bold;
}
.pagination a {
	text-decoration: none;
	margin: 0.5rem;
	color: var(--blue);
}
/*pagination*/

.woocommerce .cart-collaterals .cart_totals, .woocommerce-page .cart-collaterals .cart_totals {
    width: 100% !important;
}