/* 

1. Add your custom Css styles below
2. Place the this code in your template: 

 <link href="css/custom.css" rel="stylesheet">

*/
.video-container {position:relative;padding-bottom:56.25%;padding-top:0px;height:0;overflow:hidden;}
.video-container iframe, .video-container object, .video-container embed {position:absolute;top:0;left:0;width:100%;height:100%;}

.product-size li label span{width: 60px!important; padding: 0px 10px;}
.discounted-nornal-price{text-decoration: line-through;}
.product-size li label input:checked + span{
    background-color: #2250fc!important;
    border-color: #2250fc!important;
    color: #fff!important;
}

.post-item .post-item-description .post-meta-user{
    color: #C2C2C2;
    position: relative;
    top: -4px;
    font-size: 12px;
    margin-right: 8px;
}

.post-item .post-item-description .post-meta-user i{
    margin-right: 4px !important;
}

.post-item .post-item-description .post-meta-user a{
    
}

.single-post .post-item .post-item-description .post-meta-user{
    color: #777;
    font-size: 13px;
    margin-right: 16px;
    position: relative;
    top: -4px;
}
.single-post .post-item .post-item-description .post-meta-user i{
    margin-right: 4px !important;
}
.single-post .post-item .post-item-description .post-meta-user a{
    color: #777;
}

.alert .close {
    font-size: 20px; /* Méret beállítása */
    font-weight: bold;
    color: #fff; /* Fehér szín */
    background-color: transparent!important; /* Átlátszó háttér */
    border: none; /* Nincs keret */
    padding: 5px 10px; /* Térköz */
    cursor: pointer; /* Kéz kurzor */
    position: absolute; /* Pozicionálás */
    top: 5px; /* A gomb pozíciója */
    right: 10px; /* A gomb pozíciója */
}

.alert .close:hover {
    color: #000!important; /* Piros szín hover-re */
}

.cart-product-quantity .qty{
    outline: none;
}

.cart-product-quantity .minus:hover, .cart-product-quantity .plus:hover {
    background-color: #eee;
    border: 1px solid #eee;

}

.product-hot:has(+ .product-sale) {
    right: 60px; /* Példaérték, hogy jobban elcsússzon */
}
.custom-seperator{
    clear: both;
    height: 10px;
    width: 100%;
    margin: -10px 0px;
}

#top-basket-icon, #add-product-to-basket{
    background-image: linear-gradient(to bottom, #20CB4D, #4CB888);
    border:none;
}

.variation-navigation{
    margin-bottom: 0px;
}

.variation-ul{
    overflow: hidden;
    list-style: none;
    margin: 0px;
    padding: 0px;
}

.variation-ul li{
    float: left;
    margin-right: 10px;
}

.variation-ul li a{
    display: inline-block;
    padding: 4px 10px;
    border: 2px solid #3c4043;
    border-radius: 10rem;
    color: #3c4043;
    font-size: 13px;
}

.variation-ul li a.active,
.variation-ul li a:hover{
    color: #2250fc!important;
    border: 2px solid #2250fc;
}

.conntected-product-img{
    display: block;
    line-height: 0px;
    background-position: 50% 50%!important;
    background-size: cover!important;
    background-repeat: no-repeat!important;
    transition: all 0.5s ease; /* animáció a nagyításra */
    
}

.conntected-product-img:hover{

}

.bage-octa-index{
    font-size: 1rem!important;
}

.product-price-on-page{
    overflow: hidden;
}
.product-page-normal-price-lined{
    text-decoration: line-through;
}

.product-page-normal-price{
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 2.25rem;
    color: #244D92;
    display: inline-block;
    float: left;
}

.product-page-discounted-price{
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 2.25rem;
    color: #d6284b;
    display: inline-block;
    float: left;
}

.product-page-discount-badget{
    background: #d6284b;
    color: #ffffff;
    font-size: 12px;
    font-weight: 600;
    text-align: center;
    text-shadow: 1px 2px 1px rgba(0, 0, 0, 0.14);
    padding: 4px 10px;
    margin: 0px 10px;
    font-family: "Poppins", sans-serif;
    float: left;
}

.product_subname_lang{
    font-weight: 600;
    color: #244D92;
    margin-bottom: 0;
}

.product-sale-off{
    background: #d6284b!important;
    border-radius: 0!important;
}

.product-sale{
    background: #d6284b!important;
}

.product-hot{
    background: #ffc300!important;
}

.product-status{
    padding: 5px 0px;
}
.product-status span.ready{
    color: #8abd1b;
    font-weight: bold;
}
.product-status span.out{
    color: #d90000;
    font-weight: bold;
}

.product .product-price{
    float: left;
    width: 100%;
    margin-top: 10px;
    text-align: left;
}

.partner-ar, .lista-ar{
    float: left;
    width: 100%;
}

.partner-ar{
    color: #16C60C;
}
.partner-ar .product-price ins{
    color: #16C60C;
}

.lista-ar{
    color: #004595;
}
.lista-ar .product-price ins{
    color: #004595;
}

.product .product-price ins{
    
    font-weight: bold;
    font-size: 24px;
}

.product .product-netto-price{
    float: left;
    width: 100%;
    margin-top: 0px;
    text-align: left;
    font-size: 14px;
    
}
.product .product-netto-price ins{
    font-weight: bold;
}

.lista-ar.akcios-ar .product-price ins{
    color: #d6284b!important
}

.normal-ar .product-price span{
    font-weight: bold;
    text-decoration: line-through;
}

/* Temék grid view*/


.grid-item .product .product-description .product-title h2 a{
    font-size: 1.75rem;
    color: #45B8EC!important;
}

.grid-item .product .product-description .product-title h2 a:hover{
    color: #10407E!important;
}

.grid-item .product .product-description .product-title{
    max-width: 100%;
}

.grid-item .product .product-description .product-title h2{
    line-height: 1.1em;
}

.grid-item .product .product-description  .product-price{
    width: 100%;
    text-align: left;
    float: none;
    clear: both;
    margin: 0;
}

.grid-item .product-image {
  width: 100%;
  aspect-ratio: 1 / 1; /* vagy pl. height: 300px; ha nincs aspect-ratio támogatás */
  position: relative;
  overflow: hidden;
  background: #f9f9f9;

  display: flex;
  justify-content: center;
  align-items: center;
}

/* Minden kép pozícionálása középre */
.grid-item .product-image a {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* A képek ne lépjék túl a keretet */
.grid-item .product-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
  transition: opacity 0.3s ease;
}

/* Csak az első kép legyen látható alapból */
.grid-item .product-image a:nth-child(1) {
  z-index: 1;
}

.grid-item .product-image a:nth-child(2) {
  z-index: 2;
  opacity: 0;
}

/* Hover hatás: a második kép fade-in */
.grid-item .product-image:hover a:nth-child(2) {
  opacity: 1;
}

.grid-item .product-image:hover a:nth-child(1) {
  opacity: 0;
}

.grid-item .product .product-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  text-align: center;
  padding: 10px;
  opacity: 0;
  transform: translateY(100%);
  transition: all 0.3s ease;
  z-index: 3;
}

.grid-item .product:hover .product-overlay {
  opacity: 1;
  transform: translateY(0);
}

.grid-item .product:hover .product-overlay a{
    opacity: 1;
}

select.no-arrow {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: none !important;
}

.mobile-search-icon{
    font-family: "Poppins", sans-serif;
    font-size: 18px;
    position: absolute;
    right: 60px;
    top: -2px;
    color: #fff;
    z-index: 22;
    text-shadow: 0px 0px 5px #000
}

/* A lenyíló egyedi stílusa, hogy illeszkedjen az alulhúzott keresőhöz */
.custom-search-select {
    border: none;
    margin-top: 1px;
    border-bottom: 2px solid #ced4da; /* Olyan alsó vonal, mint az eredeti mezőé */
    margin-bottom: 8px;
    font-weight: 700;
    min-height: 40px;
    height: 60px;
    background: transparent;
    padding: 12px 20px 12px 10px; /* Hely a jobb oldali nyílnak */
    font-size: 24px;
    color: #6c757d;
    cursor: pointer;
    outline: none;
    border-left: 1px dotted #cccccc;
    /* Egyedi, letisztult kis nyíl ikon a jobb oldalon */
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://w3.org' width='12' height='12' fill='%236c757d' viewBox='0 0 16 16'><path d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 8px center;
    transition: border-color 0.15s ease-in-out;
    -webkit-box-flex: 1 !important;
    flex-grow: 1 !important;
}

/* Fókusz állapot (amikor aktív a mező) */
.custom-search-select:focus {
    border-bottom-color: #495057;
}

/* Az input mező alsó keretének eltávolítása, mert most a közös konténer vagy a select tartja meg a stílust */
.search-form .form-control {
    border-bottom: 2px solid #ced4da !important;
}
.q-home-slider-2 {
    overflow: hidden;
}

.q-home-slider-2 .inspiro-slider {
    height: 680px !important;
    min-height: 680px !important;
}

.q-home-slider-2 .inspiro-slider .slide {
    height: 680px !important;
}

@media (max-width: 700px) {
    .q-home-slider-2 .inspiro-slider {
        height: 480px !important;
        min-height: 480px !important;
    }

    .q-home-slider-2 .inspiro-slider .slide {
        height: 480px !important;
    }
}
#zene,
#video {
    scroll-margin-top: 77px;
}

/* Az Opera Corner custom_operacorner.css fájljából átemelt, a Myrtill verzióból hiányzó szabályok */
.interest-form {
    background: #f7f8f9;
    padding: 35px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
}

@media (max-width: 767px) {
    .interest-form {
        padding: 20px;
    }
}

.contact-required-invalid {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.1) !important;
}

.form-control.contact-required-invalid {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.1) !important;
    background-image: none !important;
}

.callback-phone-error {
    position: relative;
    left: -25px;
}

.contact-method-error {
    color: #dc3545 !important;
    font-size: 0.875rem;
    line-height: 1.5;
}
/* Desktop logó méretezése és függőleges igazítása */
@media (min-width: 992px) {
    #header .header-inner #logo,
    #header #header-wrap #logo {
        height: 80px;
        display: flex;
        align-items: center;
    }

    #header .header-inner #logo > a,
    #header #header-wrap #logo > a {
        display: flex;
        align-items: center;
    }

    #header .header-inner #logo a > img,
    #header #header-wrap #logo a > img {
        height: 55px;
        width: auto;
    }
}

/* 

1. Add your custom Css styles below
2. Place the this code in your template: 

 <link href="css/custom.css" rel="stylesheet">

*/
.video-container {position:relative;padding-bottom:56.25%;padding-top:0px;height:0;overflow:hidden;}
.video-container iframe, .video-container object, .video-container embed {position:absolute;top:0;left:0;width:100%;height:100%;}

.product-size li label span{width: 60px!important; padding: 0px 10px;}
.discounted-nornal-price{text-decoration: line-through;}
.product-size li label input:checked + span{
    background-color: #2250fc!important;
    border-color: #2250fc!important;
    color: #fff!important;
}

.post-item .post-item-description .post-meta-user{
    color: #C2C2C2;
    position: relative;
    top: -4px;
    font-size: 12px;
    margin-right: 8px;
}

.post-item .post-item-description .post-meta-user i{
    margin-right: 4px !important;
}

.post-item .post-item-description .post-meta-user a{
    
}

.single-post .post-item .post-item-description .post-meta-user{
    color: #777;
    font-size: 13px;
    margin-right: 16px;
    position: relative;
    top: -4px;
}
.single-post .post-item .post-item-description .post-meta-user i{
    margin-right: 4px !important;
}
.single-post .post-item .post-item-description .post-meta-user a{
    color: #777;
}

.alert .close {
    font-size: 20px; /* Méret beállítása */
    font-weight: bold;
    color: #fff; /* Fehér szín */
    background-color: transparent!important; /* Átlátszó háttér */
    border: none; /* Nincs keret */
    padding: 5px 10px; /* Térköz */
    cursor: pointer; /* Kéz kurzor */
    position: absolute; /* Pozicionálás */
    top: 5px; /* A gomb pozíciója */
    right: 10px; /* A gomb pozíciója */
}

.alert .close:hover {
    color: #000!important; /* Piros szín hover-re */
}

.cart-product-quantity .qty{
    outline: none;
}

.cart-product-quantity .minus:hover, .cart-product-quantity .plus:hover {
    background-color: #eee;
    border: 1px solid #eee;

}

.product-hot:has(+ .product-sale) {
    right: 60px; /* Példaérték, hogy jobban elcsússzon */
}
.custom-seperator{
    clear: both;
    height: 10px;
    width: 100%;
    margin: -10px 0px;
}

#top-basket-icon, #add-product-to-basket{
    background-image: linear-gradient(to bottom, #20CB4D, #4CB888);
    border:none;
}

.variation-navigation{
    margin-bottom: 0px;
}

.variation-ul{
    overflow: hidden;
    list-style: none;
    margin: 0px;
    padding: 0px;
}

.variation-ul li{
    float: left;
    margin-right: 10px;
}

.variation-ul li a{
    display: inline-block;
    padding: 4px 10px;
    border: 2px solid #3c4043;
    border-radius: 10rem;
    color: #3c4043;
    font-size: 13px;
}

.variation-ul li a.active,
.variation-ul li a:hover{
    color: #2250fc!important;
    border: 2px solid #2250fc;
}

.conntected-product-img{
    display: block;
    line-height: 0px;
    background-position: 50% 50%!important;
    background-size: cover!important;
    background-repeat: no-repeat!important;
    transition: all 0.5s ease; /* animáció a nagyításra */
    
}

.conntected-product-img:hover{

}

.bage-octa-index{
    font-size: 1rem!important;
}

.product-price-on-page{
    overflow: hidden;
}
.product-page-normal-price-lined{
    text-decoration: line-through;
}

.product-page-normal-price{
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 2.25rem;
    color: #244D92;
    display: inline-block;
    float: left;
}

.product-page-discounted-price{
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 2.25rem;
    color: #d6284b;
    display: inline-block;
    float: left;
}

.product-page-discount-badget{
    background: #d6284b;
    color: #ffffff;
    font-size: 12px;
    font-weight: 600;
    text-align: center;
    text-shadow: 1px 2px 1px rgba(0, 0, 0, 0.14);
    padding: 4px 10px;
    margin: 0px 10px;
    font-family: "Poppins", sans-serif;
    float: left;
}

.product_subname_lang{
    font-weight: 600;
    color: #244D92;
    margin-bottom: 0;
}

.product-sale-off{
    background: #d6284b!important;
    border-radius: 0!important;
}

.product-sale{
    background: #d6284b!important;
}

.product-hot{
    background: #ffc300!important;
}

.product-status{
    padding: 5px 0px;
}
.product-status span.ready{
    color: #8abd1b;
    font-weight: bold;
}
.product-status span.out{
    color: #d90000;
    font-weight: bold;
}

.product .product-price{
    float: left;
    width: 100%;
    margin-top: 10px;
    text-align: left;
}

.partner-ar, .lista-ar{
    float: left;
    width: 100%;
}

.partner-ar{
    color: #16C60C;
}
.partner-ar .product-price ins{
    color: #16C60C;
}

.lista-ar{
    color: #004595;
}
.lista-ar .product-price ins{
    color: #004595;
}

.product .product-price ins{
    
    font-weight: bold;
    font-size: 24px;
}

.product .product-netto-price{
    float: left;
    width: 100%;
    margin-top: 0px;
    text-align: left;
    font-size: 14px;
    
}
.product .product-netto-price ins{
    font-weight: bold;
}

.lista-ar.akcios-ar .product-price ins{
    color: #d6284b!important
}

.normal-ar .product-price span{
    font-weight: bold;
    text-decoration: line-through;
}

/* Temék grid view*/


.grid-item .product .product-description .product-title h2 a{
    font-size: 1.75rem;
    color: #45B8EC!important;
}

.grid-item .product .product-description .product-title h2 a:hover{
    color: #10407E!important;
}

.grid-item .product .product-description .product-title{
    max-width: 100%;
}

.grid-item .product .product-description .product-title h2{
    line-height: 1.1em;
}

.grid-item .product .product-description  .product-price{
    width: 100%;
    text-align: left;
    float: none;
    clear: both;
    margin: 0;
}

.grid-item .product-image {
  width: 100%;
  aspect-ratio: 1 / 1; /* vagy pl. height: 300px; ha nincs aspect-ratio támogatás */
  position: relative;
  overflow: hidden;
  background: #f9f9f9;

  display: flex;
  justify-content: center;
  align-items: center;
}

/* Minden kép pozícionálása középre */
.grid-item .product-image a {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* A képek ne lépjék túl a keretet */
.grid-item .product-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
  transition: opacity 0.3s ease;
}

/* Csak az első kép legyen látható alapból */
.grid-item .product-image a:nth-child(1) {
  z-index: 1;
}

.grid-item .product-image a:nth-child(2) {
  z-index: 2;
  opacity: 0;
}

/* Hover hatás: a második kép fade-in */
.grid-item .product-image:hover a:nth-child(2) {
  opacity: 1;
}

.grid-item .product-image:hover a:nth-child(1) {
  opacity: 0;
}

.grid-item .product .product-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  text-align: center;
  padding: 10px;
  opacity: 0;
  transform: translateY(100%);
  transition: all 0.3s ease;
  z-index: 3;
}

.grid-item .product:hover .product-overlay {
  opacity: 1;
  transform: translateY(0);
}

.grid-item .product:hover .product-overlay a{
    opacity: 1;
}

select.no-arrow {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: none !important;
}

.mobile-search-icon{
    font-family: "Poppins", sans-serif;
    font-size: 18px;
    position: absolute;
    right: 60px;
    top: -2px;
    color: #fff;
    z-index: 22;
    text-shadow: 0px 0px 5px #000
}

/* A lenyíló egyedi stílusa, hogy illeszkedjen az alulhúzott keresőhöz */
.custom-search-select {
    border: none;
    margin-top: 1px;
    border-bottom: 2px solid #ced4da; /* Olyan alsó vonal, mint az eredeti mezőé */
    margin-bottom: 8px;
    font-weight: 700;
    min-height: 40px;
    height: 60px;
    background: transparent;
    padding: 12px 20px 12px 10px; /* Hely a jobb oldali nyílnak */
    font-size: 24px;
    color: #6c757d;
    cursor: pointer;
    outline: none;
    border-left: 1px dotted #cccccc;
    /* Egyedi, letisztult kis nyíl ikon a jobb oldalon */
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://w3.org' width='12' height='12' fill='%236c757d' viewBox='0 0 16 16'><path d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 8px center;
    transition: border-color 0.15s ease-in-out;
    -webkit-box-flex: 1 !important;
    flex-grow: 1 !important;
}

/* Fókusz állapot (amikor aktív a mező) */
.custom-search-select:focus {
    border-bottom-color: #495057;
}

/* Az input mező alsó keretének eltávolítása, mert most a közös konténer vagy a select tartja meg a stílust */
.search-form .form-control {
    border-bottom: 2px solid #ced4da !important;
}
.q-home-slider-2 {
    overflow: hidden;
}

.q-home-slider-2 .inspiro-slider {
    height: 680px !important;
    min-height: 680px !important;
}

.q-home-slider-2 .inspiro-slider .slide {
    height: 680px !important;
}

@media (max-width: 700px) {
    .q-home-slider-2 .inspiro-slider {
        height: 480px !important;
        min-height: 480px !important;
    }

    .q-home-slider-2 .inspiro-slider .slide {
        height: 480px !important;
    }
}
#zene,
#video {
    scroll-margin-top: 77px;
}

/* Az Opera Corner custom_operacorner.css fájljából átemelt, a Myrtill verzióból hiányzó szabályok */
.interest-form {
    background: #f7f8f9;
    padding: 35px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
}

@media (max-width: 767px) {
    .interest-form {
        padding: 20px;
    }
}

.contact-required-invalid {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.1) !important;
}

.form-control.contact-required-invalid {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.1) !important;
    background-image: none !important;
}

.callback-phone-error {
    position: relative;
    left: -25px;
}

.contact-method-error {
    color: #dc3545 !important;
    font-size: 0.875rem;
    line-height: 1.5;
}
/* Desktop logó méretezése és függőleges igazítása */
@media (min-width: 992px) {
    #header .header-inner #logo,
    #header #header-wrap #logo {
        height: 80px;
        display: flex;
        align-items: center;
    }

    #header .header-inner #logo > a,
    #header #header-wrap #logo > a {
        display: flex;
        align-items: center;
    }

    #header .header-inner #logo a > img,
    #header #header-wrap #logo a > img {
        height: 55px;
        width: auto;
    }
}


/* Menüpontok színmezői */
.quest-color-field {
    display: block;
    min-width: 0;
}

.quest-color-field input[type="color"],
.quest-color-grid input.content-color-picker {
    display: block;
    box-sizing: border-box;
    width: 100% !important;
    min-width: 0;
    height: 58px !important;
    margin: 0;
    padding: 4px;
    border: 1px solid #aaa;
    border-radius: 4px;
    background: #f2f2f2;
    cursor: pointer;
}

.quest-color-field input[type="text"],
.quest-color-grid input.content-color-hex {
    display: block;
    box-sizing: border-box;
    width: 100% !important;
    min-width: 0;
    height: 38px;
    margin: 5px 0 0;
    padding: 7px 9px;
    border: 1px solid #aaa;
    border-radius: 3px;
}

/* Négy színbeállítás közös rácselrendezése */
.quest-color-grid {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    align-items: start;
    gap: 14px;
    width: 100%;
    margin: 10px 0 6px;
}

.quest-color-grid > .quest-color-grid-item {
    display: block;
    float: none !important;
    width: auto !important;
    max-width: none !important;
    min-width: 0;
}

.quest-color-grid .quest-color-grid-item > label {
    display: block;
    margin: 0 0 6px;
    font-weight: 600;
}

/* Quest article content color settings */
.content-color-settings {
    margin: 14px 0 8px;
    padding: 14px;
    border: 1px solid #d0d0d0;
    border-radius: 3px;
    background: #fff;
}
.content-color-settings h4 {
    margin: 0 0 10px;
    padding-bottom: 8px;
    border-bottom: 1px dotted #aaa;
    font-size: 16px;
    font-weight: 600;
}
.content-color-note {
    margin: 0 0 12px;
    padding: 8px 10px;
    background: #eee;
    border: 1px solid #d6d6d6;
    border-radius: 3px;
}
.content-color-field label {
    display: block;
    margin-bottom: 4px;
}
.content-color-field .content-color-picker {
    display: block;
    box-sizing: border-box;
    width: 100%;
    height: 34px;
    padding: 4px 8px;
    border: 1px solid #aaa;
    border-radius: 3px;
    background: #f2f2f2;
}
.content-color-field .content-color-hex {
    display: block;
    box-sizing: border-box;
    width: 100%;
    height: 32px;
    margin-top: 3px;
    padding: 6px 9px;
    border: 1px solid #aaa;
    border-radius: 3px;
}

/* Quest content-area color customization.
   Actual colors are resolved server-side and applied only when configured. */
.content-color-area {
    /* Intentionally no default color values: preserve the site's existing appearance. */
}


/* Public content-area colors: carry the configured colors through theme wrappers.
   Rules activate only when the controller has resolved at least one custom color. */
.content-color-area[style*="background-color"] .content,
.content-color-area[style*="background-color"] .single-post,
.content-color-area[style*="background-color"] .post-item,
.content-color-area[style*="background-color"] .post-item-wrap,
.content-color-area[style*="background-color"] .post-item-description,
.content-color-area[style*="background-color"] .page-title,
.content-color-area[style*="background-color"] .event-detail__main,
.content-color-area[style*="background-color"] .event-detail__description {
    background-color: inherit !important;
}

.content-color-area[style*="color:"] h3,
.content-color-area[style*="color:"] h4,
.content-color-area[style*="color:"] h5,
.content-color-area[style*="color:"] h6,
.content-color-area[style*="color:"] p,
.content-color-area[style*="color:"] li,
.content-color-area[style*="color:"] .post-meta,
.content-color-area[style*="color:"] .breadcrumb,
.content-color-area[style*="color:"] .blockquote,
.content-color-area[style*="color:"] .event-article-year {
    color: inherit !important;
}


/* Quest public content-area color fixes (v4).
   Keep configured text color exact across typography while preserving social/action button styling. */
.content-color-area[style*="background-color"] .content,
.content-color-area[style*="background-color"] .single-post,
.content-color-area[style*="background-color"] .post-item,
.content-color-area[style*="background-color"] .post-item-wrap,
.content-color-area[style*="background-color"] .post-item-description,
.content-color-area[style*="background-color"] .page-title,
.content-color-area[style*="background-color"] .post-navigation,
.content-color-area[style*="background-color"] #connected-articles,
.content-color-area[style*="background-color"] .event-detail__main,
.content-color-area[style*="background-color"] .event-detail__description {
    background-color: inherit !important;
}

/* The theme applies its own muted colors (and sometimes opacity) to typography.
   Inherit the configured content color without changing social/share buttons. */
.content-color-area[style*="color:"] h3,
.content-color-area[style*="color:"] h4,
.content-color-area[style*="color:"] h5,
.content-color-area[style*="color:"] h6,
.content-color-area[style*="color:"] p,
.content-color-area[style*="color:"] li,
.content-color-area[style*="color:"] a:not(.btn):not(.post-all),
.content-color-area[style*="color:"] span:not(.btn):not(.post-all),
.content-color-area[style*="color:"] strong,
.content-color-area[style*="color:"] em,
.content-color-area[style*="color:"] small,
.content-color-area[style*="color:"] label,
.content-color-area[style*="color:"] blockquote,
.content-color-area[style*="color:"] .post-meta,
.content-color-area[style*="color:"] .breadcrumb,
.content-color-area[style*="color:"] .blockquote,
.content-color-area[style*="color:"] .event-article-year {
    color: inherit !important;
    opacity: 1 !important;
}

/* The "back to home / all articles" grid control should blend into the configured area. */
.content-color-area[style*="background-color"] .post-navigation .post-all {
    background-color: inherit !important;
    color: inherit !important;
    border-color: currentColor !important;
}
.content-color-area[style*="color:"] .post-navigation .post-all,
.content-color-area[style*="color:"] .post-navigation .post-all i {
    color: inherit !important;
}

/* Ensure theme wrapper elements themselves do not replace the configured text color. */
.content-color-area[style*="color:"] .content,
.content-color-area[style*="color:"] .single-post,
.content-color-area[style*="color:"] .post-item,
.content-color-area[style*="color:"] .post-item-wrap,
.content-color-area[style*="color:"] .post-item-description,
.content-color-area[style*="color:"] .event-detail__main,
.content-color-area[style*="color:"] .event-detail__description,
.content-color-area[style*="color:"] .post-navigation,
.content-color-area[style*="color:"] #connected-articles {
    color: inherit !important;
    opacity: 1 !important;
}


/* Quest content-area heading colors.
   H1 and H2 use their own inherited variables; theme text-color rules
   must not override these dedicated heading colors. */
.content-color-area h1,
.content-color-area h1 a {
    color: var(--content-h1-color, #A9A476) !important;
    opacity: 1 !important;
}

.content-color-area h2,
.content-color-area h2 a {
    color: var(--content-h2-color, #6C6C4A) !important;
    opacity: 1 !important;
}


/* Reszponzív elrendezés */
@media (max-width: 620px) {
    .quest-color-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 420px) {
    .quest-color-grid {
        grid-template-columns: 1fr !important;
    }
}

/* =====================================================
   CIKKEKHEZ TARTOZÓ BEÁLLÍTÁSOK
   ===================================================== */


/* YouTube videók automatikus, reszponzív megjelenítése */
.content-color-area iframe[src*="youtube.com/embed"],
.content-color-area iframe[src*="youtube-nocookie.com/embed"] {
    display: block;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 16 / 9;
    border: 0;
}

/* TOPBAR átlátszó, menüsáv normál megjelenítése */
#topbar.topbar-transparent ~ #header:not([data-transparent="true"]) + #slider,
#topbar.topbar-transparent ~ #header:not([data-transparent="true"]) + .fullscreen,
#topbar.topbar-transparent ~ #header:not([data-transparent="true"]) + .halfscreen,
#topbar.topbar-transparent ~ #header:not([data-transparent="true"]) + #google-map {
    top: -120px;
    margin-bottom: -120px;
}

/* Publikus menü: adminban beállított kiemelt menüpontok */
#mainMenu a.menu-item-highlighted {
    display: inline-block;
    padding: 12px 18px;
    border-radius: 0.42rem;
    font-weight: 600;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

#mainMenu a.menu-item-highlighted[style*="--menu-highlight-bg"] {
    background-color: var(--menu-highlight-bg);
}

#mainMenu a.menu-item-highlighted[style*="--menu-highlight-color"] {
    color: var(--menu-highlight-color);
}

#mainMenu a.menu-item-highlighted:hover[style*="--menu-highlight-hover-bg"] {
    background-color: var(--menu-highlight-hover-bg);
}

#mainMenu a.menu-item-highlighted:hover[style*="--menu-highlight-hover-color"] {
    color: var(--menu-highlight-hover-color);
}


/* Mobil menü: a kiemelés mind a négy sarka lekerekített. */
@media (max-width: 991.98px) {
    #mainMenu:not(.menu-overlay) nav > ul > li > a.menu-item-highlighted {
        padding: 12px 18px !important;
        border-radius: 6px !important;
        background-color: var(--menu-highlight-bg, transparent);
    }

    #mainMenu:not(.menu-overlay) nav > ul > li > a.menu-item-highlighted:hover {
        background-color: var(--menu-highlight-hover-bg, var(--menu-highlight-bg, transparent));
    }
}

/* Galéria kategóriaoldal: viewport-szélességű elválasztóvonal a fejléc alatt. */
.gallery-heading-divider {
    display: block;
    position: relative;
    left: 50%;
    width: 100vw;
    height: 0;
    margin: -12px 0 30px -50vw;
    border-top: 1px solid #d0d0d0;
    clear: both;
}


/* Blog: remove the theme's short page-title border; retain the full-width custom divider. */
.blog-page-title-no-divider {
    border-bottom: 0 !important;
}


/* Blog: hide only the legacy short separator above the first article.
   Keep its spacing and preserve the full-width divider below the breadcrumb. */
.blog-listing-content #blog.post-thumbnails > .post-item > div:first-child > div {
    border-top: 0 !important;
}

/* Blog: align the first article row with the full-width divider and calendar. */
@media (min-width: 992px) {
    .blog-listing-content {
        margin-top: -25px;
    }
}
