/*
Theme Name: Dev-2022
Theme URI: https://balanszfforras.hu
Author: the WordPress team
Author URI: https://balanszfforras.hu
Description: Basic Theme by Judit Keczkó
Tags: one-column, custom-colors, custom-menu
Version: 1.1
Requires at least: 7.1.1
Tested up to: 7.1.1
Requires PHP: 7.1.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: dev-2022

*/

.wp-caption {
    font-size: smaller;
}
.wp-caption-text {
    font-size: smaller;
}
.wp-block-image img{
   border-top-right-radius: 2rem;
   border-bottom-left-radius: 2rem; 
}
.wp-element-button, .wp-block-button__link{
    background-color: var(--main-color) !important;
}
.sticky {}

.screen-reader-text {}

.gallery-caption {
    font-size: smaller;
}

.bypostauthor {}

.alignright,
.align-right {
    text-align: right;
}

.alignleft,
.align-left {
    text-align: left;
}

.aligncenter,
.align-center {
    text-align: center;
}

/* === RESET === */

*,
*:before,
*:after {
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

img {
    margin: 0;
    padding: 0;
    border: 0;
    line-height: 0;
    vertical-align: top;
    max-width: 100%;
    height: auto;
}

blockquote,
q {
    quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
    content: '';
    content: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

code,
pre,
kbd,
samp {
    font-family: monospace, monospace;
    font-size: 1em;
}

sub,
sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

sub {
    bottom: -0.25em;
}

sup {
    top: -0.5em;
}

iframe {
    display: block;
    max-width: 100%;
}

header {
    display: flex;
    align-items: center;
    width: 100%;
}
header .content-box {
    width: 100%;
}

header li,
#main-menu li {
    list-style-type: none;
}
#top-head {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
}

.wp-block-group, .wp-block-columns {
    max-width: 100vw;
    overflow-x: hidden;
    box-sizing: border-box;
    padding-left: 20px;
    padding-right: 20px;
  }
  
.wp-block-group__inner-container {
    padding-left: 20px ;
    padding-right: 20px ;
    box-sizing: border-box;
}

/* === RESPONSIVE TYPO === */

@media screen and (max-width: 479px) {
    html {
        font-size: 16px;
    }
}

@media screen and (min-width: 480px) and (max-width: 1199px) {
    html {
        font-size: 16px;
    }
}

@media screen and (min-width: 1200px) and (max-width: 1919px) {
    html {
        font-size: 1.2vw;
    }
}

@media screen and (min-width: 1920px) {
    html {
        font-size: 22px;
    }
}


/* === STYLE === */

:root {
    /* Elsődleges akciószín (Gombok, kiemelések) */
    --main-color: #d83b6f;
    --text-color: #052745;
    
    /* Másodlagos  */
    --menta-color: #eaf3f0;
    --turkiz-color: #008080;
    --light-text-color: #446980;
    --ui-color: #ffcc00;
    --braun-color:#bd8091;
    --light-braun-color: #fff2e3;
    
    /* Alapértelmezett lágy háttérszín */
    --bg-color: #FAFAF5;
}

.ease {
    transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    text-rendering: optimizeLegibility;
    scroll-behavior: smooth;
    color: #333;
    font-family: "Nunito Sans", sans-serif;
    font-weight: 300;
}

ul,
ol {
    padding: 0;
}

ul ul,
ul ul ul,
ol ol,
ol ol ol {
    margin: 0.5rem 0;
}

ol ol,
ol ol ol {
    padding-left: 1rem;
}

ul li {
    list-style-type: disc;
    margin-bottom: 0.25rem;
    margin-left: 1rem;
}

ul li::marker {
    color: var(--main-color);
}

ol {
    list-style: none;
    counter-reset: my-counter;
}

ol li {
    counter-increment: my-counter;
    margin-bottom: 0.25rem;
}

ol li::before {
    content: counter(my-counter) '.';
    background: var(--main-color);
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    display: inline-block;
    line-height: 1.5rem;
    color: white;
    text-align: center;
    margin-right: 0.5rem;
}

body, p {
    font-size: clamp(0.95rem, 1vw + 0.5rem, 1.1rem);
    line-height: 1.6;
}

a {
    color: var(--main-color);
    text-decoration: none;
}

a:hover {
    color: #000;
    text-decoration: none;
}

.roboto-<uniquifier> {
    font-family: "Roboto", sans-serif;
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: normal;
    font-variation-settings:
      "wdth" 100;
  }
  
  .nunito-sans-<uniquifier> {
    font-family: "Nunito Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-variation-settings:
      "wdth" 100,
      "YTLC" 500;
  }
  
h1 {
    font-size: clamp(2rem, 5vw + 1rem, 3.2rem) !important;
    font-weight: bold;
    margin-top: 0;
    line-height: 1.2 !important;
}

h2{
    font-size: clamp(1.6rem, 3.5vw + 0.8rem, 2.4rem) !important;
    line-height: 1.25 !important;
}
h2.post-title,
.post-title a {
    font-size: clamp(1.1rem, 1.5vw + 0.5rem, 1.4rem) !important;
    line-height: 1.3 !important;
    color: inherit !important; 
}

h3, h4 {
    font-size: clamp(1.2rem, 2.5vw + 0.5rem, 1.6rem) !important;
    line-height: 1.3 !important;
}

h1 a,
h2 a,
h3 a,
h4 a {
    color: inherit;
}

h1, h2, h3, h4, h5, h6 {
    font-family: "Roboto", sans-serif;
    font-weight: 600;
    color: var(--text-color);
    font-style: normal;
    font-variation-settings: "wdth" 100;
  }

blockquote {
    background: #eee;
    margin-left: 0;
    margin-right: 0;
    padding: 0.5rem 1.5rem;
    overflow: hidden;
    border-left: solid 5px var(--main-color);
}

hr {
    border: none !important;
    height: 3px;
    background: #eee;
}

table {
    border-spacing: 0;
    border: solid 1px #ddd;
}

td,
th {
    padding: 0.5rem 1rem;
    border: solid 1px #ddd;
}

th {
    background: #eee;
    text-align: left;
}

#logo {
    text-align: left;
    margin: 0;
}

#logo a {
    display: inline-block;
    margin: 1.5rem 0;
}

#logo svg {
    width: auto;
    max-height: 50px;
}
#main-menu nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 20px; 
}
#menu-item-518 a {
    background-color: var(--main-color);
    color: #ffffff !important;
    padding: 3px 10px;
    border-radius: 20px;
    transition: opacity 0.2s ease;
}
#menu-item-518 a:hover {
    opacity: 0.6;
}
body:not(.home) main {
    padding: 1rem 0 0;
}

.post-meta ul {
    overflow: hidden;
    display: inline-block;
    margin: 0 auto;
    font-size: smaller;
}

.post-meta ul li {
    display: inline-block;
    float: left;
    margin-right: 20px;
    margin-left: 0;
}

.post-tags a,
.tagcloud a {
    display: block;
    float: left;
    padding: 0.15rem 0.25rem;
    border: solid 2px transparent;
    font-size: small !important;
    text-transform: uppercase;
    display: inline-block;
    margin: 0 5px 5px 0;
    cursor: pointer;
    background: var(--main-color);
    color: #fff;
}

.post-tags a:hover,
.tagcloud a:hover {
    background: #000;
}

.light-bg {
    background: #eee;
    padding-top: 6vw;
    padding-bottom: 6vw;
}

.pagination {
    clear: both;
    text-align: center;
    margin-top: 2rem;
}

.nav-links .current {
    color: var(--main-color);
    font-weight: bold;
}

.nav-links {
    display: inline-block;
    border-right: solid 1px #ddd;
    border-top: solid 1px #ddd;
    border-bottom: solid 1px #ddd;
}

.nav-links a,
.nav-links span {
    display: block;
    float: left;
    width: 2.5rem;
    height: 2.5rem;
    line-height: 2.5rem;
    color: inherit;
    border-left: solid 1px #ddd;
}

.nav-links a:hover {
    background: #eee;
}

/* footer */
footer {
    background: var(--bg-color) !important;
    font-size: smaller;
    padding: 1.5rem 0;
    margin-top: -1rem;
  }
  footer h3 {
    margin-bottom: 12px;
    font-size: 1.2rem;
    margin-left: 1rem;
    color: var(--text-color) !important;
  }
  
  footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  footer ul li {
    margin-bottom: 8px;
    list-style-type: none;
    padding-bottom: 1rem;
    line-height: 1.6;
    font-weight: 300;
  }
  
  footer ul li a {
    text-decoration: none;
    color: var(--light-text-color) !important;
    font-weight: 400;
    transition: color 0.3s ease;
  }
  
  footer ul li a:hover {
    color: var(--main-color);
  }
  
  .social-icons {
    display: flex;
    gap: 12px;
    padding: 0;
    margin-top: 8px;
  }
  
  .social-icons li {
    list-style: none;
  }
  
  .social-icons svg {
    width: 24px;
    height: 24px;
    fill: var(--main-color);
    transition: fill 0.3s ease;
  }
  
  .social-icons a:hover svg {
    fill: var(--text-color);
  }
  #copyright {
    padding: 0.75rem 0;
    text-align: center;
    font-size: smaller;
    background: var(--bg-color) !important;
    color: var(--text-color) !important;
  }
  #copyright a {
    color: var(--text-color) !important;
  }

#gotop {
    width: 2rem;
    height: 2rem;
    line-height: 2rem;
    background: var(--main-color);
    position: fixed;
    bottom: 1rem;
    right: 1rem;
    border-radius: 50%;
    box-shadow: 0 1px 3px rgb(0 0 0 / 10%);
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10000;
}

#gotop svg {
    width: 1rem;
    height: 1rem;
    display: block;
}

#gotop svg path {
    fill: #fff;
}
/* blog gyujto */

#searchform {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 600px;
    margin: 2rem auto;
    padding: 0.6rem 1rem;
}

#searchform input[type="text"] {
    width: 100%;
    margin: 0;
    flex: 1;
    height: auto;
    padding: 0.9rem 1.2rem;
    border: none;
    border-radius: 2rem;
    background-color: #f3f3f3;
    color: var(--text-color);
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1) !important;
}

#searchform button {
    border: none;
    height: 100%;
    width: 30px;
    position: absolute;
    right: 10px;
    background: none;
    padding: 0;
    border-radius: 0;
    
}
#searchform svg {
    border: none;
    height: 60%;
    width: 30px;
}
.blog-cimsor, .archive-description{
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2rem;
    text-align: center;
}
.blog-card {
    background-color: var(--light-braun-color);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
    transition: background-color 0.3s ease;}
.post-thumb {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    margin-bottom: 1rem;
}
.post-thumb img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    border-radius: 8px;
}
.post-title {
    margin: 12px 0 6px;
}
.post-date {
    display: inline-block;
    margin: 8px 0 12px 0;
    padding: 6px 12px;
    color: var(--braun-color);
    font-weight: 300;
    line-height: 1;
    font-size: 0.95rem;
}
.post-excerpt {
    margin-top: 2px;
}
.post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
    padding: 0.5rem 0;
    overflow-wrap: anywhere;
}
.post-tags a {
    background-color:var(--light-text-color);
    color: #fff;
    padding: 0.4rem 0.8rem;
    font-size: 0.85rem;
    border-radius: 6px;
    text-decoration: none;
    white-space: nowrap;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
}
/* blog cikk belső feliratkozo boksz */

.balansz-subscribe-box {
    background-color: var(--light-text-color);
    border-radius: 18px;
    margin: 3rem 0;
}
.balansz-subscribe-wrapper {
    padding: clamp(20px, 4vw, 44px);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.balansz-title {
    font-size: clamp(1.4rem, 4.5vw, 1.8rem);
    line-height: 1.25;
    margin-bottom: 1rem;
}
.balansz-lead, .balansz-desc {
    color: #FAFAF5;
    margin-bottom: 1rem;
    max-width: 750px;
}
.balansz-gift-box {
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    color: #fff;
    margin-bottom: 1.5rem;
    max-width: 700px;
}
.balansz-submit-btn {
    display: inline-block;
    background: var(--main-color);
    color: #fff;
    padding: 14px 24px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 1rem;
}
.page-numbers {
    padding: 8px 12px;
    font-size: 14px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-wrap: nowrap;
    list-style: none;
    margin: 60px 0 40px;
}
.page-numbers li {
    display: inline-block;
}
.page-numbers .current {
    background-color: var(--main-color);
    color: #fff;
    font-weight: bold;
    cursor: default;
    box-shadow: 0 0 0 1px #333;
}
.page-numbers span, .page-numbers a {
    display: inline-block;
    padding: 10px 14px;
    background-color: #f3f3f3;
    color: #333;
    text-decoration: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
    white-space: nowrap;
    transition: background-color 0.2s ease, color 0.2s ease;
    box-shadow: 0 0 0 1px #ddd;
}
.tag-strip {
    margin: 2rem 0 1rem;
}
.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}
.tag-item {
    display: inline-block;
    padding: 0.4rem 0.8rem;
    background-color: var(--main-color);
    color: var(--bg-color);
    font-size: 0.9rem;
    border-radius: 2rem;
    text-decoration: none;
    transition: background 0.2s ease;
}

.check-head h3{
    font-weight:400;
}

/* Sötétkék szövegszín a banner címére és leírására */
.cky-notice-group .cky-title,
.cky-notice-group .cky-desc, .cky-notice-des,
.cky-notice-body,
.cky-consent-container {
    color: #052745 !important;
}

.cky-btn-customize {
    border-color: #d83b6f !important;
    color: #d83b6f !important;
}

/* Fő gombok (pl. Elfogadom) háttere rózsaszín, szövege fehér */
.cky-btn.cky-btn-accept,
.cky-btn.cky-btn-preferences,
.cky-btn.cky-btn-reject {
    background-color: #d83b6f !important;
    color: #ffffff !important;
    border-color: #d83b6f !important;
}

/* Gombok hover (egér alatti) állapota */
.cky-btn:hover {
    opacity: 0.9;
}

/* ==========================================================================
   BALANSZFORRÁS - KÉTOSZLOPOS (4-4) GYIK SZEKCIÓ
   ========================================================================== */

   .bf-faq-section {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.bf-faq-intro {
    text-align: center;
    max-width: 820px;
    margin: 0 auto 45px auto;
}

.bf-faq-badge {
    display: inline-block;
    background-color: rgba(216, 59, 103, 0.08);
    color: #d83b67;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 6px 16px;
    border-radius: 20px;
    margin-bottom: 14px;
}

.bf-faq-intro h2 {
    font-size: 2rem;
    line-height: 1.3;
    color: #2b2b2b;
    margin: 0 0 12px 0;
    font-weight: 700;
}

.bf-faq-lead {
    font-size: 1.05rem;
    color: #666666;
    line-height: 1.6;
    margin: 0;
}

/* Kétoszlopos elrendezés flexboxszal */
.bf-faq-two-columns {
    display: flex;
    gap: 28px;
    align-items: flex-start;
}

.bf-faq-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Kérdés-válasz kártyák */
.bf-faq-card {
    background: #ffffff;
    border: 1px solid #eae5df;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.03);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.bf-faq-card:hover {
    border-color: #d83b67;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(216, 59, 103, 0.08);
}

/* H3 Címsor a kérdéseknek */
.bf-faq-title {
    font-size: 1.15rem;
    line-height: 1.4;
    color: #2b2b2b;
    margin: 0 0 12px 0;
    font-weight: 700;
}

/* Szövegtörzs */
.bf-faq-body p {
    font-size: 0.98rem;
    line-height: 1.65;
    color: #4a4a4a;
    margin: 0;
}

.bf-faq-body strong {
    color: #2b2b2b;
}

/* Reszponzív nézet: 860px alatt 1 oszlopos nézetre vált */
@media (max-width: 860px) {
    .bf-faq-two-columns {
        flex-direction: column;
        gap: 18px;
    }
    .bf-faq-intro h2 {
        font-size: 1.5rem;
    }
    .bf-faq-card {
        padding: 20px;
    }
    .bf-faq-title {
        font-size: 1.05rem;
    }
}

@media screen and (max-width: 767px) {
    .wp-block-group__inner-container {
        padding-left: 3px;
        padding-right: 3px;
    }
    .wp-block-columns {
        padding-left: 5px;
        padding-right: 5px;
    }
    .wp-block-spacer{
       height: 50px !important;
    }
}

@media screen and (max-width: 600px) {
    .wp-block-image img {
        width: 350px !important;
        height: 350px !important;
    }
}
@media screen and (max-width: 479px) {
    h1,
    h2 {
        font-size: 2rem;
    }
}
@media screen and (max-width: 430px) {
    .card-footer {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        text-align: center;
    }

    .card-footer .btn-primary {
        text-align: center;
        width: 100%;
        box-sizing: border-box;
    }

    .card-footer .price {
        text-align: center;
        display: block;
    }
    .wp-block-image img {
        width: 300px !important;
        height: 300px !important;
    }
}