.gradient-text-rainbow {
            background: linear-gradient(135deg, #F26522, #FFC20E, #00A651, #00AEEF, #0072BC, #662D91);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }
        .bg-rainbow-soft {
            background: linear-gradient(135deg, rgba(242,101,34,0.05), rgba(0,174,239,0.05), rgba(102,45,145,0.05));
        }
        .bg-mesh {
            background-image: radial-gradient(at 0% 0%, rgba(242, 101, 34, 0.12) 0px, transparent 50%),
                              radial-gradient(at 100% 0%, rgba(0, 174, 239, 0.12) 0px, transparent 50%),
                              radial-gradient(at 50% 100%, rgba(102, 45, 145, 0.12) 0px, transparent 50%);
        }
        .custom-scrollbar::-webkit-scrollbar {
            width: 6px;
        }
        .custom-scrollbar::-webkit-scrollbar-track {
            background: #f1f1f1;
        }
        .custom-scrollbar::-webkit-scrollbar-thumb {
            background: #cbd5e1;
            border-radius: 4px;
        }
        .custom-scrollbar::-webkit-scrollbar-thumb:hover {
            background: #94a3b8;
        }
        .text-color-white{
            color: #fff;
        }

        /*-------------Sections------------------*/
        #spaces, #booking, #section_5 {
            background: #f7f9fb;
}

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: #c9d7c2;
    border: none;
    color: var(--bold-color);
    
}
        
/*---------------GYIK------------------*/
#GYIK{
    background: #f1f7ff;
}
.toggle-item {
    background: #d8ebe9;
    border-radius: 1rem;
    margin-bottom: 1rem;
}

.toggle-title {
    background: transparent!important;
    border: none!important;
}

.toggle-content {
    background: transparent;
    padding: 0 1rem 1rem;
}
.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: none;
}

/* A belső div, ami a tényleges szöveget és a paddinget tartja */
.toggle-inner {
    min-height: 0;
    
    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);
}

/*--------------Események------------------*/
/* Reszponzív Grid elrendezés: mobilon 1, tableten 2, asztali gépen 3 oszlop */
.esemeny-content .view-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  padding: 1rem;
}

@media (min-width: 640px) {
  .esemeny-content .view-content {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .esemeny-content .view-content {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Drupal gyári elemek igazítása, hogy a kártyák magassága egységes legyen */
.esemeny-box, 
.views-field, 
.field-content {
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* Kártyák alapvető megjelenése és finomhangolása (kerekítés, finom árnyék) */
.view-content article {
  height: 100%;
  border-radius: 1.5rem;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.03);
  background-color: #f7f9fb;
}

/* --- KATEGÓRIÁK EGYEDI SZÍNEZÉSE (A képen látható narancs, zöld, lila témák) --- */

/* 1. KÁRTYA: WORKSHOP (Narancssárga téma) */
.esemeny-box:nth-child(1) article > div:first-child {
  background-color: #fdf2ed;
}
.vesemeny-box:nth-child(1) article span > a,
.esemeny-box:nth-child(1) article .border-t span:last-child {
  color: #ee6c4d;
}

/* 2. KÁRTYA: KÖZÖSSÉGI ESTE (Zöld téma) */
.esemeny-box:nth-child(2) article > div:first-child {
  background-color: #eaf6ee;
}
.esemeny-box:nth-child(2) article span > a,
.esemeny-box:nth-child(2) article .border-t span:last-child {
  color: #2ec4b6;
}

/* 3. KÁRTYA: MENTÁL EGÉSZSÉG (Lila téma) */
.esemeny-box:nth-child(3) article > div:first-child {
  background-color: #f1edfd;
}
.esemeny-box:nth-child(3) article span > a,
.esemeny-box:nth-child(3) article .border-t span:last-child {
  color: #7b2cbf;
}

/*------------------Űrlap------------------*/
textarea#edit-uzeneted, input#edit-tema-targy, input#edit-neved, input#edit-e-mail-cimed {
    padding: 0.6rem 1rem;
    border-radius: 0.7rem;
}
input#edit-actions-submit {
    width: 100%;
    background: #f26522;
    border-radius: 0.8rem;
}
/*-----------------Footer ------------------*/
.footer-bottom-middle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: none;
    padding: 1rem 0;
}
#footer {
    background: #0f1629;
    border-top: none;
}

/*-----------------Időpontfoglalás ------------------*/
/* Konténer rendezése Flexbox-al */
.idopontfoglalas .view-content {
  display: flex;
  flex-wrap: wrap; /* Ha nem fér el a képernyőn, törje több sorba */
  gap: 1rem;      /* Dobozok közötti távolság */
}

/* Dobozok fix/rugalmas méretezése */
.idopontfoglalas .view-content .views-row {
  /* A kártyák minimális szélessége pl. 180px, de ha van hely, egyenletesen nyúlnak */
  flex: 1 1 180px; 
  max-width: 240px; /* Megakadályozza, hogy 1-2 elem esetén óriásira nyúljanak */
}

/* Drupal burkolók igazítása az egyenlő magassághoz */
.idopontfoglalas .view-content .views-field,
.idopontfoglalas .view-content .field-content,
.idopontfoglalas .view-content .field-content > a {
  display: block;
  height: 100%;
}

.idopontfoglalas .view-content .field-content > a > div {
  height: 100%;
}

.field--name-field-ismerteto {
    margin: 1rem 0;
    background: #fdfff8;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

/*-----------------Fejléc (Beugroom terv) ------------------*/
#mainHeader .block,
#mainHeader .block-content {
    margin: 0;
    padding: 0;
}
#mainHeader .site-logo img {
    max-height: 3.5rem;
    width: auto;
}
#mainHeader .bg-main-menu,
#mainHeader .bg-submenu {
    list-style: none;
    margin: 0;
}
/* A téma általános gombstílusának semlegesítése a mobil menü gombon */
#bgMobileMenuBtn,
#bgMobileMenuBtn:focus {
    background-color: transparent;
    border: none;
    color: #475569;
}
#bgMobileMenuBtn:hover {
    background-color: #f1f5f9;
    color: #0f172a;
}

/*-----------------Események slider (Slick) ------------------*/
/* Kártyák közötti térköz, egyforma magasság, hely az árnyéknak */
.view-esemenyek .slick-list {
    margin: 0 -12px;
    padding: 8px 0 28px;
}
.view-esemenyek .slick-track {
    display: flex;
}
.view-esemenyek .slick-slide {
    height: auto;
    padding: 0 12px;
}
.view-esemenyek .slick-slide > div,
.view-esemenyek .slick__slide .slide__content,
.view-esemenyek .slick__slide .views-field,
.view-esemenyek .slick__slide .field-content,
.view-esemenyek .slick__slide article {
    height: 100%;
}

/* Kártyák színezése (a JS adja a bg-card-c0/1/2 osztályt) */
.view-esemenyek .bg-card-c0 article > div:first-child {
    background-color: rgba(242, 101, 34, 0.1);
    border-color: rgba(242, 101, 34, 0.1);
}
.view-esemenyek .bg-card-c1 article > div:first-child {
    background-color: rgba(0, 166, 81, 0.1);
    border-color: rgba(0, 166, 81, 0.1);
}
.view-esemenyek .bg-card-c2 article > div:first-child {
    background-color: rgba(102, 45, 145, 0.1);
    border-color: rgba(102, 45, 145, 0.1);
}
.view-esemenyek .bg-card-c0 article .text-beugroom-orange { color: #F26522; }
.view-esemenyek .bg-card-c1 article .text-beugroom-orange { color: #00A651; }
.view-esemenyek .bg-card-c2 article .text-beugroom-orange { color: #662D91; }

/* Nyilak: kerek gombok ikonnal, a slider alatt középen */
.view-esemenyek .slick__arrow {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 0.5rem;
}
.view-esemenyek .slick-prev,
.view-esemenyek .slick-next {
    position: static;
    transform: none;
    width: 3rem;
    height: 3rem;
    padding: 0;
    border-radius: 9999px;
    border: 1px solid #e2e8f0;
    background: #fff;
    color: #475569;
    font-size: 0;           /* a "Előző / Következő" felirat elrejtése */
    line-height: 0;
    cursor: pointer;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
    transition: all 0.2s ease;
}
.view-esemenyek .slick-prev::before,
.view-esemenyek .slick-next::before {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 1rem;
    line-height: 1;
    opacity: 1;
    color: inherit;
}
.view-esemenyek .slick-prev::before { content: "\f053"; }
.view-esemenyek .slick-next::before { content: "\f054"; }
.view-esemenyek .slick-prev:hover,
.view-esemenyek .slick-next:hover,
.view-esemenyek .slick-prev:focus,
.view-esemenyek .slick-next:focus {
    border-color: transparent;
    color: #252525;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px -5px rgba(102, 45, 145, 0.3);
}
.view-esemenyek .slick-arrow.slick-disabled {
    opacity: 0.4;
    cursor: default;
    transform: none;
}

/* Pöttyök (ha be vannak kapcsolva) */
.view-esemenyek .slick-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    list-style: none;
    margin: 0.75rem 0 0;
    padding: 0;
}
.view-esemenyek .slick-dots li button {
    width: 0.625rem;
    height: 0.625rem;
    padding: 0;
    border: none;
    border-radius: 9999px;
    background: #cbd5e1;
    font-size: 0;
    transition: all 0.2s ease;
}
.view-esemenyek .slick-dots li.slick-active button {
    width: 1.75rem;
    background: linear-gradient(to right, #F26522, #662D91);
}

/*-----------------Szerkesztővel írt szöveg (tartalmak törzsszövege) ------------------*/
/* A Tailwind alapbeállítása (preflight) leveszi a listák pöttyeit, a bekezdések
   térközét stb. Itt ezeket visszaadjuk – CSAK a tartalmak (node) hosszú szöveg
   mezőiben, a Tailwinddel épített blokkokat/szekciókat nem érinti. */
.node .field--type-text-long,
.node .field--type-text-with-summary {
    color: #334155;
    line-height: 1.7;
}
.node .field--type-text-long :where(p, ul, ol, blockquote, table, figure),
.node .field--type-text-with-summary :where(p, ul, ol, blockquote, table, figure) {
    margin: 0 0 1rem;
}
.node .field--type-text-long :where(ul),
.node .field--type-text-with-summary :where(ul) {
    list-style: disc;
    padding-left: 1.5rem;
}
.node .field--type-text-long :where(ol),
.node .field--type-text-with-summary :where(ol) {
    list-style: decimal;
    padding-left: 1.5rem;
}
.node .field--type-text-long :where(li),
.node .field--type-text-with-summary :where(li) {
    margin-bottom: 0.25rem;
}
.node .field--type-text-long :where(li)::marker,
.node .field--type-text-with-summary :where(li)::marker {
    color: #F26522;
}
.node .field--type-text-long :where(h2, h3, h4),
.node .field--type-text-with-summary :where(h2, h3, h4) {
    color: #0f172a;
    font-weight: 700;
    line-height: 1.3;
    margin: 1.75rem 0 0.75rem;
}
.node .field--type-text-long :where(h2),
.node .field--type-text-with-summary :where(h2) { font-size: 1.5rem; }
.node .field--type-text-long :where(h3),
.node .field--type-text-with-summary :where(h3) { font-size: 1.25rem; }
.node .field--type-text-long :where(h4),
.node .field--type-text-with-summary :where(h4) { font-size: 1.1rem; }
.node .field--type-text-long :where(a),
.node .field--type-text-with-summary :where(a) {
    color: #0072BC;
    text-decoration: underline;
}
.node .field--type-text-long :where(strong, b),
.node .field--type-text-with-summary :where(strong, b) {
    font-weight: 700;
    color: #0f172a;
}
.node .field--type-text-long :where(blockquote),
.node .field--type-text-with-summary :where(blockquote) {
    border-left: 4px solid #00AEEF;
    padding: 0.5rem 1rem;
    background: #f8fafc;
    border-radius: 0 0.75rem 0.75rem 0;
    font-style: italic;
}
.node .field--type-text-long :where(table),
.node .field--type-text-with-summary :where(table) {
    width: 100%;
    border-collapse: collapse;
}
.node .field--type-text-long :where(th, td),
.node .field--type-text-with-summary :where(th, td) {
    border: 1px solid #e2e8f0;
    padding: 0.5rem 0.75rem;
    text-align: left;
}
.node .field--type-text-long :where(img),
.node .field--type-text-with-summary :where(img) {
    border-radius: 1rem;
}
.node .field--type-text-long :where(:last-child),
.node .field--type-text-with-summary :where(:last-child) {
    margin-bottom: 0;
}

/*-----------------Képmezők a tartalmakban (pl. termek galéria) ------------------*/
/* Több kép: egy sorban, azonos méretű, lekerekített kártyák.
   (Címke nélkül: .field--type-image.field-items; címkével: .field--type-image > .field-items) */
.node .field--type-image.field-items,
.node .field--type-image > .field-items {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(0, 1fr);
    gap: 1.5rem;
    margin: 1.5rem 0 2rem;
}
/* Egy kép és a galéria elemei */
.node .field--type-image .field-item,
.node .field--type-image.field-item {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 1.5rem;
    border: 1px solid #f1f5f9;
    background: #f8fafc;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.node .field--type-image.field-item {
    max-width: 48rem;
    margin: 1.5rem 0 2rem;
}
.node .field--type-image .field-item:hover,
.node .field--type-image.field-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 35px -10px rgba(15, 23, 42, 0.15);
}
.node .field--type-image .field-item a,
.node .field--type-image.field-item a {
    display: block;
    height: 100%;
}
.node .field--type-image img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease;
}
.node .field--type-image .field-item:hover img,
.node .field--type-image.field-item:hover img {
    transform: scale(1.04);
}
/* Mobilon két oszlop, sortöréssel */
@media (max-width: 639px) {
    .node .field--type-image.field-items,
    .node .field--type-image > .field-items {
        grid-auto-flow: row;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.75rem;
    }
    .node .field--type-image .field-item {
        border-radius: 1rem;
    }
}

/*-----------------Lábléc (Beugroom) ------------------*/
#footer {
    background: #0f172a;
    border-top: none;
    color: #94a3b8;
    font-size: 0.9rem;
    line-height: 1.7;
}
/* Színes csík a lábléc tetején */
.bg-footer-rainbow {
    height: 4px;
    background: linear-gradient(90deg, #F26522, #FFC20E, #00A651, #00AEEF, #0072BC, #662D91);
}
#footer .container {
    max-width: 80rem;
    margin: 0 auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

/* Négy szekció: mobilon egymás alatt, tableten 2, asztalin 4 oszlop */
#footer .footer-blocks {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding: 4rem 0 3rem;
}
@media (min-width: 640px) {
    #footer .footer-blocks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
    /* Az első szekció (logók, bemutatkozás) kicsit szélesebb */
    #footer .footer-blocks { grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 3rem; }
}
#footer .footer-block {
    flex: none;
    min-width: 0;
}
#footer .block {
    margin: 0 0 1.5rem;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
}
#footer .block:last-child { margin-bottom: 0; }

/* Szekciócímek: fehér, kis színes aláhúzással */
#footer .block-title {
    position: relative;
    margin: 0 0 1.25rem;
    padding: 0 0 0.75rem;
    border: 0;
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}
#footer .block-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 2.5rem;
    height: 3px;
    border-radius: 3px;
    background: linear-gradient(90deg, #F26522, #00AEEF, #662D91);
}

/* Szöveg, linkek */
#footer p { margin: 0 0 0.75rem; color: #94a3b8; }
#footer p:last-child { margin-bottom: 0; }
#footer strong { color: #e2e8f0; }
#footer a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.2s ease;
}
#footer a:hover,
#footer a:focus { color: #fff; }

/* Listák (pl. menük): elválasztó vonalak nélkül, finom mozgással */
#footer ul {
    margin: 0;
    padding: 0;
    list-style: none;
}
#footer li {
    padding: 0.3rem 0;
    border: 0;
    transition: transform 0.2s ease;
}
#footer li:hover {
    padding: 0.3rem 0;
    transform: translateX(4px);
}
#footer li a:hover { color: #FFC20E; }

/* Ikonos sorok (pl. cím, e-mail, telefon): <i> ikon a szöveg előtt */
#footer .block i[class*="fa-"] {
    width: 1.25rem;
    margin-right: 0.5rem;
    color: #00AEEF;
    text-align: center;
}

/* Logók az első szekcióban (sötét háttérhez világos/fehér logó ajánlott) */
#footer .region-footer-first img {
    display: inline-block;
    max-height: 4rem;
    width: auto;
    margin: 0 1.25rem 1rem 0;
    vertical-align: middle;
}

/* Alsó sáv: copyright + jogi linkek */
#footer .footer-bottom-middle {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem 1.5rem;
    padding: 1.5rem 0 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: #64748b;
    font-size: 0.8rem;
}
#footer .bg-footer-legal {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.25rem;
}
#footer .bg-footer-legal a { color: #94a3b8; }
#footer .bg-footer-legal a:hover { color: #fff; }
@media (max-width: 639px) {
    #footer .footer-bottom-middle { flex-direction: column; align-items: flex-start; }
}

/*-----------------Lábléc: közösségi média ikonok ------------------*/
/* Ajánlott jelölés: <div class="bg-social"><a href="..." aria-label="Instagram"><i class="fa-brands fa-instagram"></i></a> ... </div>
   A szabályok a régi (listás vagy sima linkes) jelölést is kezelik. */
#footer .bg-social,
#footer .region-footer-first ul:has(i.fa-brands),
#footer .region-footer-first p:has(> a > i.fa-brands) {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: 1.5rem 0 0;
    padding: 0;
    list-style: none;
    justify-content: center;
}
.region-footer-first {
 
    text-align: center;
}
#footer .region-footer-first li:has(i.fa-brands),
#footer .region-footer-first li:has(i.fa-brands):hover {
    padding: 0;
    transform: none;
}
#footer .bg-social a,
#footer .region-footer-first a:has(> i.fa-brands) {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #e2e8f0;
    font-size: 1.1rem;
    text-decoration: none;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
/* Az általános lábléc-ikon szabály (szélesség, margó, kék szín) itt ne érvényesüljön */
#footer .bg-social a i[class*="fa-"],
#footer .region-footer-first a > i.fa-brands {
    width: auto;
    margin: 0;
    color: inherit;
    line-height: 1;
}
#footer .bg-social a:hover,
#footer .bg-social a:focus,
#footer .region-footer-first a:has(> i.fa-brands):hover,
#footer .region-footer-first a:has(> i.fa-brands):focus {
    color: #fff;
    border-color: transparent;
    transform: translateY(-3px);
}
/* Az adott közösségi oldal saját színe, ha fölé viszed az egeret */
#footer a:has(> .fa-instagram):hover,
#footer a:has(> .fa-instagram):focus {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}
#footer a:has(> .fa-facebook-f):hover,
#footer a:has(> .fa-facebook-f):focus,
#footer a:has(> .fa-facebook):hover,
#footer a:has(> .fa-facebook):focus { background: #1877F2; }
#footer a:has(> .fa-tiktok):hover,
#footer a:has(> .fa-tiktok):focus {
    background: #000;
    box-shadow: -2px -2px 0 #25F4EE, 2px 2px 0 #FE2C55;
}
#footer a:has(> .fa-youtube):hover,
#footer a:has(> .fa-youtube):focus { background: #FF0000; }
#footer a:has(> .fa-x-twitter):hover,
#footer a:has(> .fa-x-twitter):focus { background: #000; }
#footer a:has(> .fa-linkedin-in):hover,
#footer a:has(> .fa-linkedin-in):focus,
#footer a:has(> .fa-linkedin):hover,
#footer a:has(> .fa-linkedin):focus { background: #0A66C2; }

/* Discord nem kell: ha a blokkban maradt, elrejtjük (javasolt a blokkból is törölni) */
#footer a[href*="discord"],
#footer a:has(> .fa-discord),
#footer li:has(.fa-discord) {
    display: none !important;
}

/*-----------------Alapoldalak (pl. Házirend, Adatkezelési tájékoztató) ------------------*/
/* Csak az "Alapoldal" (page) tartalomtípusra vonatkozik. */
.page-type-page .main-wrapper {
    background-image:
        radial-gradient(at 0% 0%, rgba(242, 101, 34, 0.08) 0px, transparent 45%),
        radial-gradient(at 100% 10%, rgba(0, 174, 239, 0.08) 0px, transparent 45%),
        radial-gradient(at 50% 100%, rgba(102, 45, 145, 0.06) 0px, transparent 50%);
    padding-bottom: 4rem;
}
/* Oldalcím: középen, nagy, alatta színes csík */
.page-type-page .page-title-wrap {
    text-align: center;
    padding: 3rem 1rem 2.5rem;
}
.page-type-page .page-title {
    display: inline-block;
    position: relative;
    margin: 0;
    padding-bottom: 1rem;
    font-size: clamp(1.9rem, 4vw, 2.75rem);
    font-weight: 800;
    line-height: 1.15;
    color: #0f172a;
}
.page-type-page .page-title::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 4rem;
    height: 4px;
    border-radius: 4px;
    transform: translateX(-50%);
    background: linear-gradient(90deg, #F26522, #FFC20E, #00A651, #00AEEF, #662D91);
}
/* A tartalom egy fehér, lekerekített kártyán, olvasható szélességben */
.page-type-page .node-content {
    max-width: 52rem;
    margin: 0 auto;
    padding: clamp(1.5rem, 4vw, 3rem);
    background: #fff;
    border: 1px solid #f1f5f9;
    border-radius: 1.5rem;
    box-shadow: 0 20px 45px -20px rgba(15, 23, 42, 0.15);
}
.page-type-page .node-content h2:first-child,
.page-type-page .node-content .field-item > h2:first-child {
    margin-top: 0;
}
/* Címsorok a szövegben: kis színes jelölő a bal oldalon */
.page-type-page .node-content :where(h2) {
    padding-left: 0.9rem;
    border-left: 4px solid #F26522;
}
.page-type-page .node-content :where(h3) {
    color: #0072BC;
}

/* ---------- Szabály-kártyák (pl. Házirend) ----------
   Jelölés: <div class="bg-rules"><div class="bg-rule"><div class="bg-rule-icon"><i class="fa-solid fa-broom"></i></div>
            <div><h3>Tarts rendet!</h3><p>Leírás…</p></div></div> … </div> */
.bg-rules {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin: 1.5rem 0;
    counter-reset: bgrule;
}
@media (min-width: 768px) {
    .bg-rules { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.bg-rule {
    counter-increment: bgrule;
    position: relative;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1.25rem;
    background: #f8fafc;
    border: 1px solid #eef2f7;
    border-radius: 1.25rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.bg-rule:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px -12px rgba(15, 23, 42, 0.18);
}
.bg-rule::after {
    content: counter(bgrule);
    position: absolute;
    top: 0.75rem;
    right: 1rem;
    font-size: 1.5rem;
    font-weight: 800;
    color: rgba(15, 23, 42, 0.07);
}
.bg-rule-icon {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 0.9rem;
    font-size: 1.15rem;
    color: #F26522;
    background: rgba(242, 101, 34, 0.1);
}
.bg-rule:nth-child(5n+2) .bg-rule-icon { color: #00A651; background: rgba(0, 166, 81, 0.1); }
.bg-rule:nth-child(5n+3) .bg-rule-icon { color: #00AEEF; background: rgba(0, 174, 239, 0.1); }
.bg-rule:nth-child(5n+4) .bg-rule-icon { color: #0072BC; background: rgba(0, 114, 188, 0.1); }
.bg-rule:nth-child(5n+5) .bg-rule-icon { color: #662D91; background: rgba(102, 45, 145, 0.1); }
.node .bg-rule h3,
.bg-rule h3 {
    margin: 0 0 0.25rem;
    padding-right: 1.5rem;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.35;
    color: #0f172a;
}
.node .bg-rule p,
.bg-rule p {
    margin: 0;
    font-size: 0.925rem;
    line-height: 1.55;
    color: #475569;
}
/* Kiemelt (teljes szélességű) szabály, pl. "A legfontosabb" */
.bg-rule--highlight {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, rgba(242, 101, 34, 0.08), rgba(0, 174, 239, 0.08), rgba(102, 45, 145, 0.08));
    border-color: transparent;
}
.bg-rule--highlight .bg-rule-icon { color: #fff; background: linear-gradient(135deg, #F26522, #662D91); }
.bg-rule--highlight h3 { font-size: 1.15rem; }

/*-----------------Tartalmi építőelemek (bármely oldalon használhatók) ------------------*/
/* Bevezető kiemelés */
.node .bg-lead,
.bg-lead {
    font-size: 1.125rem;
    line-height: 1.7;
    color: #334155;
}

/* Előnyök: 3 kis kártya ikonnal (.bg-features > .bg-feature) */
.bg-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin: 2rem 0;
}
@media (min-width: 640px) {
    .bg-features { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.bg-feature {
    padding: 1.25rem;
    text-align: center;
    background: #f8fafc;
    border: 1px solid #eef2f7;
    border-radius: 1.25rem;
}
.bg-feature i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    margin-bottom: 0.75rem;
    border-radius: 9999px;
    font-size: 1.25rem;
    color: #fff;
    background: linear-gradient(135deg, #F26522, #662D91);
}
.bg-feature:nth-child(2) i { background: linear-gradient(135deg, #00A651, #00AEEF); }
.bg-feature:nth-child(3) i { background: linear-gradient(135deg, #00AEEF, #662D91); }
.node .bg-feature h3,
.bg-feature h3 { margin: 0 0 0.25rem; font-size: 1rem; font-weight: 700; color: #0f172a; }
.node .bg-feature p,
.bg-feature p { margin: 0; font-size: 0.9rem; line-height: 1.5; color: #475569; }

/* Szolgáltatás-kártyák linkkel (.bg-services > a.bg-service) */
.bg-services {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin: 1.5rem 0 2rem;
}
@media (min-width: 768px) {
    .bg-services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.bg-service {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1.5rem;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 1.25rem;
    color: inherit;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.bg-service:hover,
.bg-service:focus-within {
    transform: translateY(-4px);
    border-color: transparent;
    box-shadow: 0 18px 35px -15px rgba(15, 23, 42, 0.25);
}
.bg-service-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border-radius: 1rem;
    font-size: 1.3rem;
    color: #00AEEF;
    background: rgba(0, 174, 239, 0.1);
}
.bg-service:nth-child(4n+2) .bg-service-icon { color: #00A651; background: rgba(0, 166, 81, 0.1); }
.bg-service:nth-child(4n+3) .bg-service-icon { color: #662D91; background: rgba(102, 45, 145, 0.1); }
.bg-service:nth-child(4n+4) .bg-service-icon { color: #F26522; background: rgba(242, 101, 34, 0.1); }
.node .bg-service h3,
.bg-service h3 { margin: 0.25rem 0 0; font-size: 1.15rem; font-weight: 800; color: #0f172a; }
.node .bg-service p,
.bg-service p { margin: 0; font-size: 0.925rem; line-height: 1.55; color: #475569; }
.node a.bg-service-more,
a.bg-service-more {
    margin-top: auto;
    padding-top: 0.5rem;
    font-size: 0.9rem;
    font-weight: 700;
    color: #F26522;
    text-decoration: none;
}
/* A link a teljes kártyát lefedi, így az egész kártya kattintható */
a.bg-service-more::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
}
.bg-service:hover a.bg-service-more { text-decoration: underline; }

/* Lépések (ol.bg-steps) */
.node ol.bg-steps,
ol.bg-steps {
    list-style: none;
    counter-reset: bgstep;
    margin: 1.5rem 0 2rem;
    padding: 0;
}
.node ol.bg-steps > li,
ol.bg-steps > li {
    counter-increment: bgstep;
    position: relative;
    margin: 0;
    padding: 0 0 1.5rem 3.5rem;
    min-height: 2.5rem;
}
ol.bg-steps > li::marker { content: none; }
ol.bg-steps > li::before {
    content: counter(bgstep);
    position: absolute;
    left: 0;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 9999px;
    font-weight: 800;
    color: #fff;
    background: linear-gradient(135deg, #F26522, #662D91);
}
ol.bg-steps > li:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 1.2rem;
    top: 2.75rem;
    bottom: 0.25rem;
    width: 2px;
    background: #e2e8f0;
}
.node ol.bg-steps strong,
ol.bg-steps strong { display: block; color: #0f172a; }

/* Kiemelt doboz (.bg-callout; zöld: .bg-callout--safe, piros: .bg-callout--help) */
.bg-callout {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    margin: 2rem 0;
    padding: 1.25rem 1.5rem;
    border-radius: 1.25rem;
    background: rgba(0, 174, 239, 0.08);
    border: 1px solid rgba(0, 174, 239, 0.2);
}
.bg-callout > i {
    flex-shrink: 0;
    margin-top: 0.2rem;
    font-size: 1.5rem;
    color: #00AEEF;
}
.node .bg-callout h3,
.bg-callout h3 { margin: 0 0 0.35rem; font-size: 1.05rem; font-weight: 800; color: #0f172a; }
.node .bg-callout p,
.bg-callout p { margin: 0 0 0.35rem; color: #334155; }
.bg-callout p:last-child { margin-bottom: 0; }
.bg-callout--safe { background: rgba(0, 166, 81, 0.08); border-color: rgba(0, 166, 81, 0.2); }
.bg-callout--safe > i { color: #00A651; }
.bg-callout--help { background: rgba(242, 101, 34, 0.07); border-color: rgba(242, 101, 34, 0.25); }
.bg-callout--help > i { color: #F26522; }
.node .bg-callout--help a,
.bg-callout--help a { color: #c2410c; font-weight: 700; text-decoration: none; }

/* Gomb (a.bg-button) */
.node a.bg-button,
a.bg-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    border-radius: 9999px;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    background: linear-gradient(90deg, #F26522, #00AEEF, #662D91);
    box-shadow: 0 10px 25px -8px rgba(102, 45, 145, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
a.bg-button:hover,
a.bg-button:focus { transform: translateY(-2px); color: #fff; }
.bg-center { text-align: center; }
