/* Have fun adding your style here :) - PS: At all times this file should contain a comment or a rule, otherwise opera might act buggy :( */

/* General Custom CSS */

/* Impresszum: saját kapcsolati űrlap (a korábbi beágyazott Google Form helyett) */
#top .ga-contact-form {
  max-width: 640px;
  margin: 0 auto;
  padding: 36px 36px 28px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 6px 28px rgba(73, 37, 103, 0.12);
  border-top: 5px solid #e7ab00;
  font-family: 'poppins', Helvetica, Arial, sans-serif;
}

#top .ga-contact-form .ga-cf-title {
  margin: 0 0 22px;
  font-size: 24px;
  color: #492567;
}

#top .ga-contact-form .ga-hp {
  position: absolute;
  left: -9999px;
}

#top .ga-contact-form .ga-cf-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 18px;
}

#top .ga-contact-form .ga-cf-field {
  margin-bottom: 18px;
}

#top .ga-contact-form label {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  font-weight: 600;
  color: #492567;
}

#top .ga-contact-form label span[aria-hidden] {
  color: #c0392b;
}

#top .ga-contact-form input[type="text"],
#top .ga-contact-form input[type="email"],
#top .ga-contact-form textarea {
  width: 100%;
  margin: 0;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 15px;
  line-height: 1.5;
  color: #333;
  background: #faf7fc;
  border: 1px solid #ddd2e6;
  border-radius: 8px;
  box-sizing: border-box;
  transition: border-color .15s, box-shadow .15s, background .15s;
}

#top .ga-contact-form textarea {
  min-height: 160px;
  resize: vertical;
}

#top .ga-contact-form input:focus,
#top .ga-contact-form textarea:focus {
  outline: none;
  background: #fff;
  border-color: #492567;
  box-shadow: 0 0 0 3px rgba(73, 37, 103, 0.15);
}

#top .ga-contact-form.was-validated :invalid {
  border-color: #c0392b;
}

#top .ga-contact-form .ga-cf-consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 4px 0 22px;
  font-weight: 400;
  color: #555;
}

#top .ga-contact-form .ga-cf-consent input {
  flex: none;
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: #492567;
}

#top .ga-contact-form.was-validated .ga-cf-consent input:invalid + span {
  color: #c0392b;
}

#top .ga-contact-form .ga-cf-consent a {
  color: #492567;
  text-decoration: underline;
}

#top .ga-contact-form .ga-cf-submit {
  display: inline-block;
  padding: 13px 34px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  background: #492567;
  border: 0;
  border-radius: 100px;
  cursor: pointer;
  transition: background .15s, transform .15s;
}

#top .ga-contact-form .ga-cf-submit:hover {
  background: #e7ab00;
  color: #492567;
}

#top .ga-contact-form .ga-cf-submit:disabled {
  opacity: .6;
  cursor: wait;
}

#top .ga-contact-form .ga-cf-status {
  margin: 16px 0 0;
  font-size: 14px;
}

#top .ga-contact-form .ga-cf-status:empty {
  display: none;
}

#top .ga-contact-form .ga-cf-status.is-success {
  padding: 12px 14px;
  color: #1e6b3a;
  background: #e8f6ed;
  border-radius: 8px;
}

#top .ga-contact-form .ga-cf-status.is-error {
  padding: 12px 14px;
  color: #a12a1f;
  background: #fdecea;
  border-radius: 8px;
}

/* Az impresszum oldal két oszlopa alapból középre igazítja a tartalmat;
   ez a magas beágyazott űrlappal együtt lenyomta a bal oszlop szövegét. */
#top .post-entry-311 .flex_column_table_cell.av-align-middle {
  vertical-align: top !important;
  align-items: flex-start !important;
}

/* A bal oszlop szövege görgetéskor a képernyőn marad, amíg az űrlap oszlop tart. */
#top .post-entry-311 .impresszum-sticky-col {
  position: sticky;
  top: 140px;
}

@media only screen and (max-width: 767px) {
  #top .post-entry-311 .impresszum-sticky-col {
    position: static;
  }
  #top .ga-contact-form {
    padding: 26px 20px 22px;
  }
  #top .ga-contact-form .ga-cf-row {
    grid-template-columns: 1fr;
  }
}

/* Impresszum: a bal oszlop kártyái (elérhetőség, hasznos oldalak), hogy kiegyenlítsék a magas űrlapot */
#top .post-entry-311 .ga-imp-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 32px;
}

/* Az impresszumon az üzenetmező magasabb, így az űrlap kitölti a bal oszlop magasságát. */
#top .post-entry-311 .ga-contact-form textarea {
  min-height: 290px;
}

/* A jobb oszlop saját fehér, lekerekített háttere egy második keretet adott az űrlap köré. */
#top .post-entry-311 .flex_column.av-gkfov-b7dc696c3f36afbe0900face0806789e {
  background: transparent !important;
  padding: 0 !important;
}

#top .post-entry-311 .ga-imp-card {
  margin: 0;
  padding: 24px 26px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 6px 28px rgba(73, 37, 103, 0.10);
  border-top: 4px solid #492567;
}

#top .post-entry-311 .ga-imp-card-links {
  border-top-color: #e7ab00;
}

#top .post-entry-311 .ga-imp-card h3 {
  margin: 0 0 14px;
  font-size: 19px;
  color: #492567;
}

#top .post-entry-311 .ga-imp-card p {
  margin: 0 0 12px;
  line-height: 1.5;
}

#top .post-entry-311 .ga-imp-card p:last-child {
  margin-bottom: 0;
}

#top .post-entry-311 .ga-imp-card strong {
  font-size: 13px;
  letter-spacing: .02em;
  color: #6f6578;
}

#top .post-entry-311 .ga-imp-card a {
  color: #492567;
  font-weight: 600;
  word-break: break-word;
}

#top .post-entry-311 .ga-imp-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

#top .post-entry-311 .ga-imp-card li {
  margin: 0;
  padding: 7px 0;
  border-bottom: 1px solid #eee6f3;
}

#top .post-entry-311 .ga-imp-card li:last-child {
  border-bottom: 0;
}

#top .post-entry-311 .ga-imp-card li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-decoration: none;
}

#top .post-entry-311 .ga-imp-card li a::after {
  content: "→";
  color: #e7ab00;
  transition: transform .15s;
}

#top .post-entry-311 .ga-imp-card li a:hover::after {
  transform: translateX(3px);
}

/* "Legfrissebb írásaink" widget: eredetileg csak 2 hírt sorolt egy "slide-entry-wrap"
   divbe, ami félig üres sorokat okozott. Rács elrendezésre váltjuk, ahol a wrap divek
   eltűnnek a dobozmodellből, és a hírek egyenletesen, soronként 4-esével törnek sort. */
#top .avia-content-slider-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

/* az oldalankénti lapozó-csoport (1/2/3) is eltűnik a dobozmodellből, hogy a
   benne lévő hírek közvetlenül a rács celláiba kerüljenek */
#top .gyerekasztal-pager-page {
  display: contents;
}

#top .avia-content-slider-inner .slide-entry-wrap {
  display: contents;
}

#top .avia-content-slider-inner .slide-entry {
  width: 100% !important;
  margin-left: 0 !important;
  float: none !important;
}

/* "Oldal 1 / 3" felirat: a téma ".pagination span" szabálya (float + block + padding)
   a belső oldalszám spanra is ráhatott, ezért az "1" kiugrott a sorból. */
#top #gyerekasztal-pagination .pagination-meta #gyerekasztal-pager-current {
  display: inline;
  float: none;
  padding: 0;
  line-height: inherit;
  font-size: inherit;
}

@media only screen and (max-width: 989px) {
  #top .avia-content-slider-inner {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media only screen and (max-width: 600px) {
  #top .avia-content-slider-inner {
    grid-template-columns: 1fr;
  }
}



/* "Legfrissebb írásaink" kártyák: minden kép egyforma 4:3 arányú, körbevágva – a szerkesztőben
   linkkel beágyazott, eltérő méretű képek is így illeszkednek a régi (800x600-as) képekhez. */
#top .avia-content-slider .slide-image img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* Dőlt betű: a téma alap-CSS-e (base.min.css) az <i> elemet normál betűre állítja, csak az
   <em>-et teszi újra dőltté; a szerkesztő (és a régi cikkek egy része) viszont <i>-t használ.
   Az osztály nélküli <i> szöveges dőlt; az esetleges ikonok osztályt kapnak, azokat nem érintjük. */
#top #main i:not([class]) {
  font-style: italic;
}

/* Hírek alatti megosztás sáv */
#top .ga-share {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 28px 0 8px;
  padding: 14px 0 0;
  border-top: 1px solid #e6dcef;
}
#top .ga-share-label { font-weight: 700; color: #492567; }
#top .ga-share-btn {
  display: inline-block;
  padding: 7px 16px;
  font: 600 14px/1.2 'poppins', Helvetica, Arial, sans-serif;
  color: #fff;
  background: #492567;
  border: 0;
  border-radius: 100px;
  text-decoration: none;
  cursor: pointer;
}
#top .ga-share-btn:hover { background: #e7ab00; color: #492567; }
#top .ga-share-fb { background: #1877f2; }

/* Szerkesztőfelületen írt hírekbe beágyazott videó (YouTube / Vimeo) */
.ga-video { position: relative; padding-top: 56.25%; margin: 1em 0; }
.ga-video iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; border-radius: 8px; }

/*
Desktop Styles
================================================== */
/* Note: Add new css to the media query below that you want to only effect the desktop view of your site */

@media only screen and (min-width: 768px) {
  /* Add your Desktop Styles here */

}



/*
Mobile Styles
================================================== */
/* Note: Add new css to the media query below that you want to only effect the Mobile and Tablet Portrait view */

@media only screen and (max-width: 767px) {
  /* Add your Mobile Styles here */

}