.container-80 {
    max-width: 80%;
    margin: 0 auto;
}
.container-70 {
    max-width: 70%;
    margin: 0 auto;
}
.container-60 {
    max-width: 60%;
    margin: 0 auto;
}
span.zold {
    color: #10b981;
}
.c-flex {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}
.c-flex-2 {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-top: 2rem;
}
.space-around {
    justify-content: space-around;
}
.webform-keret {
    background: #f1f7ff;
    padding: 2rem;
    border-radius: 1rem;
}
input[type=text], input[type=email], input[type=url], input[type=password], input[type=search] {
 
    outline: 1px solid #c1d0f4 !important;
 
}
i.ikon {
    margin: 0 1rem;
}
.main-wrapper {
 
    padding: 0!important;
    
}
/*---------------Buttons--------*/
input[type=submit], input[type=button], input[type=reset], button, .button {
    display: inline-block;
    background-color: var(--color-primary);
    color: #ffffff;
    padding: 8px 1rem;
    border-radius: 6px;
    transition: all 0.4s ease-in-out;
    line-height: 1.6;
    border: none;
    margin: 0.5rem;
}
input[type=submit]:hover, input[type=button]:hover, input[type=reset]:hover, button:hover, .button:hover, input[type=submit]:focus, input[type=button]:focus, input[type=reset]:focus, button:focus, .button:focus {
    background-color: #cb8000;
    border: none;
    color: var(--bold-color);
}
button-2, .button-2, button-2:focus, .button-2:focus{
    display: inline-block;
    background-color: transparent;
    color: #ffffff;
    padding: 8px 1rem;
    border-radius: 6px;
    transition: all 0.4s ease-in-out;
    line-height: 1.6;
    border: 1px solid white;
    margin: 0.5rem;
}
button-2:hover, .button-2:hover, button-2:focus, .button-2:focus {
    background-color: #cb8000;
    border: 1px solid #10b98171;
    color: var(--bold-color);
}
button-3, .button-3, button-3:focus, .button-3:focus{
    display: inline-block;
    background-color: white;
    color: #0d3a53;
    padding: 8px 1rem;
    border-radius: 6px;
    transition: all 0.4s ease-in-out;
    line-height: 1.6;
    border: 1px solid white;
    margin: 0.5rem;
}
button-3:hover, .button-3:hover, button-3:focus, .button-3:focus {
    background-color: #cb8000;
    border: 1px solid #10b98171;
    color: var(--bold-color);
}
/*---------------Színek------------------*/
.sarga {
    color: #f59e0b;
}

/*------------Szöveg-----------*/   
.szoveg-2 {
    color: azure;
    font-size: 1rem;
}

/*--------------Keretek------------------*/
.keret-1 {
    background: #f59e0b;
    display: inline-block;
    color: white;
    border-radius: 1rem;
    padding: 0.1rem 0.8rem;
}
.keret-2 {
    background: #ddc8a3;
    display: inline-block;
    color: rgb(102, 67, 21);
    border-radius: 1rem;
    padding: 0.1rem 0.8rem;
}

/*-----------------Slider title------------------*/
.block_title {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 5rem;
}

.block_kategoria {
    border-radius: 1rem;
    background: #cee3ff;
    color: #3c6bdd;
    padding: 0 1rem;
    font-weight: bold;
}
.block_kategoria-2 {
    border-radius: 1rem;
    background: #d1e8e0;
    color: #529d84;
    padding: 0 1rem;
    font-weight: bold;
}

.block_alcim {
    color: grey;
    font-size: 1.3rem;
}
h2.block_cim {
    font-size: 2rem;
    font-weight: bold;
    margin: 0;
    margin-bottom: 1rem;
}



/*---------------- Slider Section ---------------*/

section.slider .container-80 {
    display: flex;
    align-items: center;
}

.slider {
    height: 70vh;
    background-image: url(../images/hero-bg.jpg);
    background-size: cover;
    background-position: center;
        display: flex;
    align-items: center;

}

.hero-text h1 {
    font-size: 4rem;
    color: white;
    font-weight: bold;
    max-width: 700px;
}

.slider h2 {
    color: white;
    max-width: 1420px;
    font-size: 1.3rem;
}


/*----------------Szolgáltatásaink lista------------------*/
.szolgaltatasaink .view-content {
display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.szolgaltatasaink .views-row, .szolgaltatasaink .views-view-responsive-grid__item {
    flex: 0 370px;
    border: 1px solid lightgrey;
    border-radius: 0.5rem;
    padding: 1rem;
    transition: all 0.3s ease-in-out;
}
.szolgaltatasaink .views-row:hover {
    background: white;
    box-shadow: rgb(201, 201, 201) 0px 9px 10px !important;
    transition: all 0.3s ease-in-out;
    scale: 105%;
    cursor: pointer;
}
.szolgaltatasaink .views-row:hover .icon i {
  background-color: #3c6bdd; /* amit szeretnél */
    transition: all 0.3s ease-in-out;
 
}
.szolgaltatasaink .views-row:hover .icon i{
   color: white;
     transition: all 0.3s ease-in-out;
}
.szolgaltatasaink  .icon i, .megbizhato-partner .icon i, #kapcsolat_info .icon i {
    background: #cee3ff;
    padding: 0.8rem;
    border-radius: 0.3rem;
  
}
.szolgaltatasaink .icon i, .megbizhato-partner .icon i, #kapcsolat_info .icon i {
color: #3c6bdd;
    transition: all 0.3s ease-in-out;
    padding: 0.7rem;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.szolgaltatasaink .cim, .megbizhato-partner .cim {
    font-size: 1.1rem;
    font-weight: bold;
    margin: 5px 0;
}
.szolgaltatasaink .arkategoria {
    display: inline-block;
    background: #d1e8e0;
    color: green;
    padding: 0 1rem;
    border-radius: 1rem;
    font-size: 0.7rem;
}
.szolgaltatasaink .alcim, .megbizhato-partner .alcim { 
    font-size: 0.8rem;
    margin-bottom: 10px;
}

/*------------------miért pont minket? ------------------*/
section#section-2 {
    background-color: #edf5ff;
}
.section_2 .jobb_oldal img {
    border-radius: 1rem;
box-shadow: silver 0px 0px 20px !important;
}

.mutato-container {
    display: flex;
    gap: 2rem;
}

.mutato-container .mutato {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.mutato-container .szam {
    font-size: 2rem;
    font-weight: bold;
    color: #4043c6;
}

.mutato-container .szoveg {
    color: grey;
}

/*------------Blog------------------*/
.lekerekitett-kep img {
    border-radius: 1rem;
    overflow: hidden;
}

.blog-box {
    border: 1px solid lightgrey;
    border-radius: 1rem;
    padding: 0.5rem;
}
.blogbejegyzesek .kategoria {
    background: #cee3ff;
    color: #0b7fd2;
    padding: 0 1rem;
    border-radius: 1rem;
    font-weight: bold;
}
.blogbejegyzesek .cim {
    font-weight: bold;
    margin: 1rem 0;
}

.blogbejegyzesek .lead {
    font-size: 0.8rem;
}

/* 1. A fő konténer: a sorok (oszlopok) egyforma magasak lesznek */
.blogbejegyzesek .view-content {
    display: flex;
    flex-wrap: wrap; /* Hogy több sorba törhessen, ha sok elem van */
    gap: 20px;       /* Távolság a kártyák között */
}

/* 2. A Drupal specifikus rétegek nyújtása */
.blogbejegyzesek .views-row, .blogbejegyzesek .views-field, 
.blogbejegyzesek .field-content{
    display: flex;
    flex: 0 350px;        /* Kitöltik a rendelkezésre álló helyet */
}


/* 3. A blog kártya belső elrendezése */
.blog-box, .palyazat-box {
    display: flex;
    flex-direction: column; /* Egymás alá rendezzük a tartalmat */
    width: 100%;
    background: #fff;       /* Csak a láthatóság kedvéért */
    border: 1px solid #ddd;
    padding: 15px;
}

/* 4. A tartalom elosztása (A bűvös trükk) */
.sor.lead, .sor.lenyegi_pontok {
    flex-grow: 1;   /* Ez a rész (a leírás) "ki fogja rúgni" magát, 
                       hogy a gomb mindig az aljára kerüljön */
    margin-bottom: 15px;
}

/* Opcionális: a cím magasságának egységesítése */
.sor.cim {
    font-weight: bold;
    min-height: 3em; /* Ha azt akarod, hogy a címek is egy vonalban kezdődjenek */
}

/*----------Keresztlinkek------------------*/
section#section-4 {
    text-align: center;
    background: #0b7fd2;

}
.feher-szoveg{
    color: white;
    text-align: center;
}

.feher-szoveg h2 {
    color: white;
    font-weight: bold;
}

/*---------------GYIK------------------*/
#GYIK{
    background: #f1f7ff;
}

.toggle-title {
    background: transparent!important;
}

.toggle-content {
    background: transparent;
}
.accordion-title::before, .toggle-title::before {
    content: none;
    }
/* A külső tároló, ami a függöny mozgást végzi */
.toggle-content {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
  
}

/* Ez az állapot, amikor nyitva van */
.toggle-item.active .toggle-content {
    grid-template-rows: 1fr;
    border-bottom: 1px solid #eaeaea;
}

/* A belső div, ami a tényleges szöveget és a paddinget tartja */
.toggle-inner {
    min-height: 0;
    padding: 20px; /* Itt van a fix távolság */
    color: #444;
    line-height: 1.6;
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Ha nyitva van, a szöveg is látszódjon */
.toggle-item.active .toggle-inner {
    opacity: 1;
}

/* Cím és nyíl stílus (Font Awesome) */
.toggle-title {
    position: relative;
    cursor: pointer;
    padding: 18px 50px 18px 20px;
    background-color: #f9f9f9;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.toggle-title::after {
    content: "\f054"; /* Font Awesome kacsacsőr */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    transition: transform 0.4s ease;
}

.toggle-item.active .toggle-title::after {
    transform: rotate(90deg);
}

/*-------------Pályázat blokk------------------*/
.palyazat-blokk .views-row, .palyazat-blokk .views-field, 
.palyazat-blokk .field-content{
    display: flex;
    flex: 1;        /* Kitöltik a rendelkezésre álló helyet */
}
.palyazat-box {
    border-radius: 1rem;
}
.palyazat-blokk .cim {
    text-align: center;
    text-transform: uppercase;
    /* color: #3c6bdd; */
}
.palyazat-blokk .button-container {
    text-align: center;
    
}

/*---------------Modal ablak------------------*/
.custom-modal {
    display: none;
    position: fixed;
    z-index: 99999;
    left: 0; top: 0;
    width: 100%; height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    align-items: center;
    justify-content: center;
}

.custom-modal.is-visible {
    display: flex;
}

.modal-inner {
    background: #fff;
    padding: 10px; /* Kevesebb padding, hogy az iframe-nek több helye legyen */
    border-radius: 8px;
    width: 95%;
    max-width: 117 0px;
    position: relative;
    box-shadow: 0 10px 40px rgba(0,0,0,0.6);
}

.close-x {
    position: absolute;
    right: 10px; top: 5px;
    font-size: 35px;
    cursor: pointer;
    color: #333;
    z-index: 10;
}

/* Mobilon legyen majdnem teljes képernyős */
@media (max-width: 600px) {
    .modal-inner { height: 90vh; }
    #msIframe { height: 100%; }
}