/*******************************************************************************
 * FŐOLDALI ELEMEK (HERO, FEATURED BLOCKS, CALENDAR)
 ******************************************************************************/

/*--- HERO BANNER / VIDEO ---*/

.path-frontpage .hero-video-full-width {
  width: 100vw;
  height: 400px; 
  min-height: 400px; 
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  overflow: hidden;
  background-color: #000;
}

body.user-logged-in.path-frontpage .hero-video-full-width .contextual-region {
  position: static;
  display: block;
}

body.user-logged-in.path-frontpage .hero-video-full-width .views-element-container {
  height: 100%;
  position: static;
}

.path-frontpage .hero-video-full-width .hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.path-frontpage .hero-video-full-width .hero-overlay-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  z-index: 10;
  background: rgba(0, 0, 0, 0.2);
}

.path-frontpage .hero-video-full-width .hero-featured-content {
  display: flex;
  flex-direction: column;
  width: 100%;
  text-align: center;
  margin-top: -60px;
}

.path-frontpage .hero-video-full-width .hero-title {
  color: #ffffff;
  font-size: 2.5rem;
  font-weight: 700;
  text-transform: none;
  margin-bottom: 15px;
  text-shadow: 2px 4px 10px rgba(0, 0, 0, 0.5);
}

.path-frontpage .hero-video-full-width .hero-link-wrapper {
  display: flex;
  justify-content: flex-end;
  width: 100%;
  margin-top: 10px;
}

.path-frontpage .hero-video-full-width .hero-more-link {
  color: #ffffff;
  font-size: 1.5rem;
  font-style: italic;
  text-decoration: none;
  transition: all 0.3s ease;
  padding-right: 20px;
}

.path-frontpage .hero-video-full-width .hero-more-link:hover {
  opacity: 0.8;
  transform: translateX(-5px);
}

/*--- FEATURED SÁV - a négy láb csempéje ---*/

.path-frontpage #block-njszt-theme-views-block-thematic-contents-block-1 {
  position: relative;
  z-index: 30;
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding: 20px 20px;
  box-sizing: border-box;
}

.path-frontpage #block-njszt-theme-views-block-thematic-contents-block-1 .views-view-grid.horizontal .views-row {
  display: flex !important;
  flex-wrap: wrap !important;
  width: 100% !important;
  max-width: 100% !important;
  gap: 20px; /* Megfelelő távolság a kártyák között */
  align-items: stretch; /* Egyforma magasság biztosítása */
  margin: 0 !important; /* Esetleges gyári Bootstrap margók nullázása */
  padding: 0 !important;
}

.path-frontpage #block-njszt-theme-views-block-thematic-contents-block-1 .views-col {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
  overflow: hidden;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
  height: auto !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-sizing: border-box;
  position: relative;
  width: calc((100% - 60px) / 4) !important;
  max-width: calc((100% - 60px) / 4) !important;
  flex: 0 0 calc((100% - 60px) / 4) !important;
}

.path-frontpage #block-njszt-theme-views-block-thematic-contents-block-1 .views-col:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

.path-frontpage #block-njszt-theme-views-block-thematic-contents-block-1 .views-col .views-field-field-card-image {
  line-height: 0;
  overflow: hidden;
  flex-shrink: 0; /* Megakadályozza, hogy a flexbox összenyomja a képet */
}

.path-frontpage #block-njszt-theme-views-block-thematic-contents-block-1 .views-col .views-field-field-card-image img {
  width: 100%;
  object-fit: cover;
  display: block;
}

.path-frontpage #block-njszt-theme-views-block-thematic-contents-block-1 .views-col .views-field-body {
  padding: 0.5em;
  flex-grow: 1 !important; /* Ez nyomja le a hátteret a kártya aljáig */
  display: flex !important;
  flex-direction: column !important;
}

.path-frontpage #block-njszt-theme-views-block-thematic-contents-block-1 .views-col .views-field-body .field-content,
.path-frontpage #block-njszt-theme-views-block-thematic-contents-block-1 .views-col .views-field-body p {
  margin-bottom: 0;
  flex-grow: 1;
}

.path-frontpage #block-njszt-theme-views-block-thematic-contents-block-1 .views-col .views-field-title {
  padding: 0.5em;
  font-size: 1.25rem;
  line-height: 1.3;
  text-align: center;
}

.path-frontpage #block-njszt-theme-views-block-thematic-contents-block-1 .views-col .views-field-title a {
  text-decoration: none;
  color: #f0a459;
  display: block;
  font-weight: 700;
}

.path-frontpage #block-njszt-theme-views-block-thematic-contents-block-1 .views-col .views-field-title a:hover {
  color: #f0a459;
}


/*--- KIEMELT HÍREK SZEKCIÓ (FEATURED TILES) ---*/


.path-frontpage .additional-section {
  width: 100%;
  padding: 80px 0;
  background-color: #ffffff;
  border-top: 1px solid #eee;
}


.path-frontpage .additional-section #block-njszt-theme-views-block-featured-news-contents-block-1 {
  /* position: relative; */
  /* z-index: 30; */
  /* margin-top: -130px; */
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 20px;
}

.path-frontpage .additional-section #block-njszt-theme-views-block-featured-news-contents-block-1 h2 {
  color: #000000 !important;
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 20px;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
}

.path-frontpage .additional-section .featured-news-tiles-grid .view-content {
  display: flex !important;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
}

.path-frontpage .additional-section .featured-news-tiles-grid .views-row {
  flex: 1 1 300px;
  max-width: 400px;
  display: flex;
}

.path-frontpage .additional-section .news-card {
  width: 100%;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

.path-frontpage .additional-section .news-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

.path-frontpage .additional-section .news-card-image {
  line-height: 0;
  overflow: hidden;
}

.path-frontpage .additional-section .news-card-image img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
}

.path-frontpage .additional-section .news-card-body {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.path-frontpage .additional-section .news-card-title {
  margin: 0;
  font-size: 1.25rem;
  line-height: 1.3;
  text-align: center;
}

.path-frontpage .additional-section .news-card-title a {
  text-decoration: none;
  color: #ffffff;
  display: block;
  font-weight: 700;
}

.path-frontpage .additional-section .news-card-title a:hover {
  color: #f0a459;
}

.path-frontpage .additional-section #block-njszt-theme-views-block-featured-news-contents-block-1 .more-link {
  text-align: center;
  padding: 2em 0;
}

.path-frontpage .additional-section #block-njszt-theme-views-block-featured-news-contents-block-1 .more-link a{
  color: #234465;
  background-color: #f0a459;
  border-radius: 6px;
  text-decoration: none;
  padding: 5px 10px;
}

.path-frontpage .additional-section #block-njszt-theme-views-block-featured-news-contents-block-1 .more-link a:hover{
  color: #FFF;
  text-decoration: none;
  padding: 5px 10px;
  opacity: 0.8;
}










/*--- HÍRLEVÉL FOOTER RÉGIÓ ---*/

.path-frontpage .newsletter-section {
  background-color: #34aeaf;
  padding: 60px 0;
  color: #ffffff;
}

.path-frontpage .newsletter-title {
  font-weight: 800;
  margin-bottom: 30px;
  letter-spacing: 1px;
  text-align: center;
}

.path-frontpage .newsletter-form-wrapper form {
  max-width: 1000px;
  margin: 0 auto;
}

.path-frontpage .newsletter-form-wrapper input[type="text"],
.path-frontpage .newsletter-form-wrapper input[type="email"] {
  padding: 12px 20px;
  border-radius: 4px;
  border: none;
  min-width: 200px;
}

.path-frontpage .newsletter-form-wrapper .form-submit {
  background-color: #ffffff;
  color: #34aeaf;
  font-weight: bold;
  border: 2px solid #ffffff;
  padding: 10px 30px;
  transition: all 0.3s ease;
}

.path-frontpage .newsletter-form-wrapper .form-submit:hover {
  background-color: transparent;
  color: #ffffff;
}

.path-frontpage .newsletter-form-wrapper .form-actions {
  text-align: center;
}


/*--- LOGÓ FOOTER RÉGIÓ ---*/

.path-frontpage .logo-footer-section {
  width: 100%;
  padding: 80px 0;
  background-color: #ffffff;
  border-top: 1px solid #eee;
}

.path-frontpage .logo-footer-section #block-njszt-theme-views-block-szponzor-block-1 {
  /* position: relative; */
  /* z-index: 30; */
  /* margin-top: -130px; */
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 20px;
}

.path-frontpage .logo-footer-section #block-njszt-theme-views-block-szponzor-block-1 h2 {
  color: #000000 !important;
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 20px;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
}
