/* =============== BASE STYLES =============== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  list-style: none;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: #333;
  background: #e0e0e0 url('../images/backgroundimg.webp') center center / cover no-repeat fixed;
  height: 100%;
  width: 100%;
  list-style: none;
}

.cc-btn.cc-allow {
  color: #000 !important; /* sötét szöveg */
  background-color: #FFD700 !important; /* világos sárga háttér, ha szeretnéd megtartani */
  font-weight: bold;
}

.social-icon.pinterest {
  background-color: #E60023; /* Pinterest piros */
  border-radius: 8px;
  padding: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.social-icon.pinterest img {
  filter: brightness(0) invert(1); /* ha az ikon fehér vagy világos volt */
}




img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

a {
  display: block;
  text-decoration: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.termsfeed-com---nb-simple {
  position: fixed;
  bottom: 0;
  max-width: 50%;
}

.tags-title {
  background-color: orange;
  display: inline-block;
  padding: 14px;
  margin-top: 34px;
  border-radius: 14px;
  color: black;
  font-size: 20px;
  text-align: center;
}

.content-wrapper {
  max-width: 1230px;
  margin: 0 auto;
  padding: 0 20px;
}

/* =============== NAVIGATION =============== */
header nav {
  background: #2C3E50;
  width: 100%;
  box-shadow: 0 1rem 1rem rgba(0, 0, 0, 0.2);
}

.container.nav__container {
  max-width: 1300px;
  margin: auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 4.5rem;
}

/* Desktop logó */
.logo-desktop {
    display: block;
    max-height: 150px;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* Mobil logó */
.logo-mobile {
    display: none;
    max-height: 60px;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* Mobil nézet */
@media (max-width: 768px) {
    .logo-desktop {
        display: none;
    }

    .logo-mobile {
        display: block;
    }
}



.time-display {
  font-family: 'Arial', sans-serif;
  font-size: 1.2rem;
  color: #fff;
  background-color: #d67127;
  padding: 5px 10px;
  border-radius: 15px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  margin: 0 15px 0 20px;
  display: inline-block;
}

/* =============== SEARCH =============== */
.search__bar {
  position: relative;
}

@media (max-width: 320px) {
  /*.logo img {*/
  /*  max-width: 130px;*/
  /*}*/

  .search-icon {
    font-size: 20px;
  }

  #open__nav-btn {
    font-size: 24px;
  }

  .nav-right {
    gap: 8px;
  }
}


.search-icon {
  cursor: pointer;
  /*position: absolute;*/
  /*top: -10px;*/
  /*left: 10px;*/
  /*z-index: 10;*/
  color: #fff;
  font-size: 20px;
  margin:15px;
}

.search__bar-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 99;
}

.search__bar-overlay.active {
  display: block;
}

.search__bar-container {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 100;
  width: 80%;
  max-width: 600px;
  padding: 20px;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.search__bar-container.active {
  display: flex;
  height: 100%;
}

.search__bar-container .search-wrapper {
  display: flex;
  width: 100%;
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.search-input {
  flex: 1;
  border: none;
  padding: 10px 20px;
  font-size: 16px;
  border-radius: 4px 0 0 4px;
}

.close-search {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: #007bff;
  color: #fff;
  font-size: 20px;
  border: none;
  cursor: pointer;
  border-radius: 0 4px 4px 0;
  margin: 0;
}

.search-results .p {
  background-color: orange;
  display: inline-block;
  padding: 14px;
  margin: 0;
  border-radius: 14px;
  color: black;
  font-size: 20px;
  text-align: center;
  margin-top: 20px;
}

/* =============== NAV ITEMS =============== */
.nav__items {
  list-style: none;
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
}

.nav-menu-icon{
    filter: brightness(0) invert(1);
}

.nav-icon{
    filter: brightness(0) invert(1);
}

.nav__items .nav-item {
  position: relative;
}

.nav__items .nav-link {
  color: #fff;
  /*text-decoration: none;*/
  /*padding: 25px 10px;*/
  /*display: flex;*/
  /*align-items: center;*/
}

.nav-link i {
  margin-left: 5px;
  transition: transform 0.3s ease;
}

.nav-item:hover .nav-link i,
.nav-item:focus-within .nav-link i {
  transform: rotate(180deg);
}

.dropdown-menu {
  display: none;
  position: absolute;
  /*background-color: #333;*/
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  border-radius: 5px;
  padding: 10px;
  z-index: 100;
  right: -20px;
  top: 100%;
  width: 150px;
  text-align: center;
  list-style: none;
}

.nav-item:hover .dropdown-menu,
.nav-item:focus-within .dropdown-menu {
  display: block;
}

.dropdown-menu .dropdown-item {
  color: #fff;
  padding: 8px 16px;
  display: block;
  background-color: #333;
  border-radius: 20px;
}

/*.dropdown-menu .dropdown-item:hover {*/
/*  background-color: #444;*/
/*}*/

#navbarProfileDropdown {
  width: 40px;
  padding: 0;
  text-align: center;
  margin: 0 auto;
}

.mainavatar {
  width: 40px;
  padding-bottom: 15px;
}

/* =============== MEDIA QUERIES =============== */
@media (max-width: 768px) {
  .search-input {
    font-size: 14px;
  }

  .close-search {
    width: 40px;
    font-size: 18px;
  }
}

@media (max-width: 480px) {
  .search__bar-container {
    width: 95%;
    padding: 10px;
  }

  .search-input {
    padding: 8px 16px;
  }
}

@media (max-width: 750px) {
  .nav-list {
    position: static;
    display: none;
    width: 100%;
    flex-wrap: wrap;
    text-align: center;
    margin-top: 10px;
  }

  .nav-list li {
    flex: 1;
    padding: 10px 0;
    border-top: 1px solid #ccc;
  }
}


/* CLEANED CSS – PART 2 */

/* =============== AVATAR & TOGGLE =============== */
.avatar {
  border-radius: 50%;
  display: flex;
  align-items: center;
  align-content: center;
}

.theme-toggle {
  cursor: pointer;
  font-size: 1.2rem;
  margin-right: 14px;
}

/* =============== RESPONSIVE NAV BUTTONS =============== */
#open__nav-btn,
#close__nav-btn {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  /*position: absolute;*/
  /*top: 20px;*/
  /*right: 20px;*/
  z-index: 100;
  padding: 0;
  margin: 0;
}

/* =============== RESPONSIVE NAVIGATION =============== */
@media screen and (max-width: 650px) {
  /*.container.nav__container {*/
  /*  align-items: center;*/
  /*  display: flex;*/
  /*  justify-content: left;*/
  /*}*/

  #open__nav-btn {
    display: block;
  }

  .nav__items {
    display: none;
    flex-direction: column;
    width: 100%;
    margin-top: 20px;
  }

  .nav__items.show {
    display: flex;
  }

  .nav-active .nav__items {
    display: flex;
    flex-direction: column;
    position: absolute;
    left: 75%;
    top: 30px;
    transform: translateX(-50%);
    background: #2d2a30;
    width: 30%;
    max-width: 300px;
    z-index: 2;
    height: auto;
    /*padding: 20px;*/
    text-align: center;
    border-radius: 15px;
  }

  .time-display {
    display: none;
  }

  .nav-item {
    width: 100%;
    text-align: center;
  }

  .nav-item .dropdown-menu {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    background-color: #2d2a30;
    width: 100%;
    padding: 0;
    border-radius: 8px;
    margin-top: 10px;
    box-shadow: none;
  }

  .dropdown-menu .dropdown-item {
    display: block;
    padding: 14px 0;
    background-color: #2d2a30;
    border-bottom: 1px solid #444;
    color: #fff;
    text-align: center;
    font-size: 16px;
    width: 100%;
  }

  .dropdown-menu .dropdown-item:hover {
    background-color: #444;
  }

  .nav-item .nav-link + .dropdown-menu {
    display: block;
    position: static;
    background-color: transparent;
    box-shadow: none;
    padding: 0;
    list-style: none;
  }

  .theme-toggle {
    margin-right: 0;
    margin-bottom: 14px;
  }

  /* Hamburger open/close gomb logika */
  #close__nav-btn {
    display: none;
  }

  .nav-active #open__nav-btn {
    display: none;
  }

  .nav-active #close__nav-btn {
    display: block;
  }
}

@media (max-width: 480px) {
  .nav-menu-icon {
    width: 18px;
    height: 18px;
  }
}

/* =============== SEARCH RESULTS HEADING =============== */
.search-results h2 {
  text-align: center;
  margin-top: 5rem;
  padding: 20px;
  background: radial-gradient(circle, #f5f5f5 0%, #fcac46 100%);
  border-radius: 20px;
}

@media (max-width: 480px) {
  .social-share h2 {
    display: none;
  }
}

/* =============== NEWS TICKER =============== */
.news-ticker {
  width: 100%;
  overflow: hidden;
  background-color: #d67127;
  color: #fff;
  font-family: Arial, sans-serif;
  position: relative;
}

.ticker-content {
  display: inline-block;
  white-space: nowrap;
  animation: ticker 400s linear infinite;
  /*will-change: transform;*/
}

.ticker-item {
  display: inline-block;
  padding: 18px 20px;
  border-right: 2px solid #444;
  min-width: 150px;
  border-radius: 10px 50px 15px 5px;
}

@keyframes ticker {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-100%);
  }
}

/* =============== CATEGORY BUTTONS =============== */
.categories-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  padding: 20px 15px;
  background: radial-gradient(circle, #bc9145 0%, #00000000 100%);
  width: 80%;
  margin: 0 auto 20px auto;
}

.category-title {
  background-color: #ff9b00;
  display: inline-block;
  padding: 20px;
  border-radius: 14px;
  font-size: 18px;
  margin-top: 15px;
}

.category-btn {
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  transition: background-color 0.3s, transform 0.3s;
  margin-bottom: 8px;
  text-decoration: none;
  color: #000 !important;
  display: inline-block;
}

.category-btn:hover {
  transform: translateY(-2px);
  background-color: #e2e2e2;
}

@media (max-width: 768px) {
  .categories-section {
    width: 100%;
    /*padding: 15px 0;*/
    gap: 5px;
    padding: 15px;
  }

  .category-btn {
    padding: 12px 15px;
    font-size: 16px;
    margin-bottom: 10px;
    text-align: center;
  }
}

.card_category-btn {
  background: #2C3E50;
  color: #fff;
  display: inline-block;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem 0.5rem 0 0;
  font-weight: 600;
  font-size: 0.8rem;
  text-align: center;
  position: absolute;
  left: 0;
  top: -30px;
}

.card_category-btn:hover {
  color: #FF0000;
}

/* =============== TAGS =============== */
.post-tags {
  display: flex;
  flex-wrap: wrap;
}

.post-tags a {
  display: block;
  text-decoration: none;
  margin: 1rem;
  background-color: orange;
  padding: 0.5rem;
  border-radius: 10px;
}

/* =============== DARK MODE EXTRAS =============== */
.icon-dark { display: none; }

body.dark-mode .icon-dark { display: inline; }
body.dark-mode .icon-light { display: none; }

body.dark-mode {
  background-color: #000;
  color: #fff;
}

body.dark-mode .navbar a,
body.dark-mode a,
body.dark-mode .featured-post-content h2,
body.dark-mode .featured-post-content p,
body.dark-mode .overlay-text {
  color: #fff;
}

body.dark-mode .search-input {
  background-color: #555;
  color: #fff;
  border: 1px solid #777;
}

body.dark-mode .categories-section {
  color: #000;
}

body.dark-mode .signup-btn {
  background-color: #007BFF;
  color: #fff;
}

body.dark-mode .search-results h2 {
  color: #000;
}

body.dark-mode .card,
body.dark-mode .hero,
body.dark-mode .review-card,
body.dark-mode .section-title,
body.dark-mode .video-container,
body.dark-mode .image-container,
body.dark-mode .featured-post-section {
  background-color: #333;
  color: #fff;
  border: 3px solid orange;
}

body.dark-mode .card {
  border: 5px solid orange;
}

body.dark-mode .category-btn,
body.dark-mode label,
body.dark-mode .edit {
  color: #000;
}
/* CLEANED CSS – PART 3 */

/* =============== CARD STYLES =============== */
.card {
  position: relative;
  background-color: #f9f9f9;
  padding: 1.2rem;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 5px;
  text-align: center;
  transition: transform 0.3s;
  cursor: pointer;
}

.card:hover {
  transform: translateY(-10px);
}

.card img {
  max-width: 100%;
  border-radius: 5px;
}

.card h2,
.card p {
  margin: 14px 0;
  line-height: 1.5;
  display: -webkit-box;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-box-orient: vertical;
}

.card h2 {
  font-size: 1.2rem;
  -webkit-line-clamp: 2;
}

.card p {
  font-size: 1rem;
  -webkit-line-clamp: 3;
}

.read-more {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.5rem 1rem;
  background-color: #2C3E50;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s;
}

.read-more:hover {
  background-color: #E74C3C;
}

/* =============== GRID LAYOUT =============== */
.content-grid,
.alternative-content-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
  padding-top: 2rem;
  margin: 2rem 0;
}

.grid-section1 {
  margin-bottom: 1rem;
  padding-bottom: 1rem;
}

.grid-section {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  grid-template-rows: auto auto;
  gap: 20px;
  margin: 2rem 0 1rem;
  padding-top: 2rem;
}

.grid-column.left,
.grid-column.right {
  display: grid;
  gap: 45px;
}

.grid-column.center.video-container {
  position: relative;
}

/* =============== CAROUSEL =============== */
.carousel-container {
  position: relative;
  overflow: hidden;
  width: 70%;
  margin: 0 auto;
}

.carousel {
  display: flex;
  transition: transform 0.5s ease;
  padding-top: 2rem;
}

.carousel .card {
  display: flex;
  justify-content: flex-start;
  align-items: stretch;
  flex-shrink: 0;
  width: 100%;
  height: 45vh;
  box-sizing: border-box;
  padding: 1rem;
}

.card-image {
  flex-basis: 50%;
  height: 100%;
  overflow: hidden;
}

.card-image picture,
.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.carousel .card-content {
  flex-basis: 50%;
  padding-left: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.carousel .card h2,
.carousel .card p {
  margin: 0.5rem 0;
}

.carousel .card a.read-more {
  display: inline-block;
  margin-top: 1rem;
  padding: 10px 20px;
  background: #2C3E50;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s;
}

.carousel .card a.read-more:hover {
  background: #0055bb;
}

#prevSlide,
#nextSlide {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.6);
  color: #fff;
  border: none;
  cursor: pointer;
  padding: 1rem;
  z-index: 1000;
  font-size: 1.5rem;
}

#prevSlide { left: 0; }
#nextSlide { right: 0; }

/* =============== MEDIA QUERIES =============== */
@media (max-width: 768px) {
  .carousel .card {
    flex-direction: column;
    height: auto;
  }

  .card-image,
  .card-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
  }

  .carousel .card-content {
    width: 100%;
    padding-left: 0;
  }

  .carousel-container {
    width: 100%;
  }
}

@media (max-width: 1280px) {
  .content-wrapper {
    padding: 0 60px;
  }
}

@media (max-width: 1230px) {
  .content-wrapper {
    padding: 0 20px;
  }
}

@media (max-width: 800px) {
  .grid-section {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .card,
  .image-container {
    margin-bottom: 20px;
  }

  .overlay-text h2 {
    font-size: 1.2em;
  }

  .overlay-text p {
    font-size: 0.9em;
  }
}

/* =============== VIDEO & IMAGE CONTAINERS =============== */
.image-container,
.video-container {
  display: flex;
  position: relative;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  background-color: #f9f9f9;
  border-radius: 5px;
  padding: 1rem;
}

.video-container video,
.image-container img {
  width: 100%;
  max-height: 500px;
  object-fit: contain;
  align-self: center;
}

.overlay-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #000;
  line-height: 1.8;
  padding: 20px;
  box-sizing: border-box;
  text-align: center;
}

.overlay-text h2 {
  margin: 10px 0;
  font-size: 1.5em;
}

.overlay-text p {
  margin: 10px 0;
}
/* CLEANED CSS – PART 4 */

/* =============== FOOTER =============== */
footer {
  background-color: transparent; /* mivel van háttérképed */
  color: #fff;
  padding: 20px 0;
  font-size: 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin-top: 2rem;
}

.footer-columns {
  padding: 30px;
  border: 2px solid orange;
  background-color: rgba(0, 0, 0, 0.75); /* áttetsző fekete háttér */
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
  color: #f1f1f1;
  max-width: 1000px;
  margin: 0 auto;
}

.footer-container {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  width: 100%;
}

/* Szövegformázás */
.about-section,
.sitemap {
  flex: 1;
  margin: 20px;
  text-align: center;
}

.about-section p,
.sitemap p {
  line-height: 1.6;
  margin-bottom: 0.8rem;
  font-size: 15px;
  color: #f1f1f1;
}

.footer-title {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
  color: orange;
}

.footer-quote {
  font-style: italic;
  color: #ffcc80;
  margin-bottom: 1rem;
}

.footer-invite {
  font-weight: bold;
  color: #ffa726;
  margin-top: 1rem;
}

/* Email gombblokk (ikon + szöveg) */
.email-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 25px;
  margin-top: 1.5rem;
}

.email-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 20px;
}

/* Magyarázó szöveg a gomb alatt */
.email-note {
  margin-top: 8px;
  font-size: 14px;
  color: #ddd;
  text-align: center;
  max-width: 300px;
}

/* Gombok stílusa */
.email-btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 8px;
  text-align: center;
  font-weight: bold;
  transition: background-color 0.3s ease;
  color: white;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0,0,0,0.4);
  min-width: 240px;
}

.default-email {
  background-color: #4caf50;
}

.default-email:hover {
  background-color: #45a049;
}

.gmail {
  background-color: #d93025;
}

.gmail:hover {
  background-color: #b71c1c;
}

/* Linkek a lábléc alján */
footer a {
  color: #ddd;
  text-decoration: none;
  margin: 0 10px;
  font-weight: 500;
}

footer a:hover {
  text-decoration: underline;
}

/* Mobil optimalizálás */
@media screen and (max-width: 768px) {
  .footer-container {
    flex-direction: column;
  }

  .about-section,
  .sitemap {
    flex-basis: 100%;
    text-align: center;
    margin: 30px 0;
  }

  .email-btn {
    width: 90%;
  }

  .email-note {
    font-size: 13px;
    max-width: 90%;
  }
}


.social-share {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin: 10px;
  padding-bottom: 20px;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  transition: all 0.3s ease;
  text-decoration: none;
  margin-right: 8px;
}

.social-icon img {
  width: 20px;
  height: 20px;
  filter: brightness(0) invert(1); /* fehér ikon sötét háttéren */
  transition: transform 0.2s ease;
}

.social-icon.facebook { background-color: #3b5998; }
.social-icon.twitter  { background-color: #000; }
.social-icon.youtube  { background-color: #FF0000; }
.social-icon.linkedin { background-color: #0077b5; }
.social-icon.instagram { background-color: #e4405f; }

.social-icon:hover {
  filter: brightness(85%);
  transform: scale(1.1);
}

.social-icon:hover img {
  transform: scale(1.1);
}


.legal {
  text-align: center;
  margin-top: 20px;
  display: flex;
}

.legal a {
  margin: 10px;
}

@media screen and (max-width: 768px) {
  .privacy-policy {
    width: 95%;
  }
}

/* =============== MODAL & PRIVACY POLICY =============== */
.modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.4);
}

.modal-content {
  background-color: #fefefe;
  margin: 15% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 50%;
}

.close-button {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close-button:hover,
.close-button:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

.privacy-policy {
  font-family: Arial, sans-serif;
  color: #333;
  background-color: #f9f9f9;
  padding: 20px;
  border-radius: 5px;
  margin: 20px auto;
  width: 80%;
  max-width: 800px;
  line-height: 1.6;
}

.privacy-policy h2 {
  color: #0077cc;
  margin-bottom: 10px;
}

.privacy-policy h3 {
  margin-top: 15px;
  color: #333;
}

.privacy-policy p {
  margin-bottom: 10px;
}

.privacy-policy ul,
.privacy-policy ol {
  margin-left: 20px;
  margin-bottom: 10px;
}

.privacy-policy a {
  color: #0077cc !important;
  text-decoration: none;
}

.privacy-policy a:hover {
  text-decoration: underline;
  color: red !important;
}

.privacy-policy .contact-info {
  margin-top: 20px;
  font-style: italic;
}

@media screen and (max-width: 768px) {
  .privacy-policy {
    width: 80%;
  }
  .modal-content {
    width: 80%;
  }
}

/* =============== BACK TO TOP BUTTON =============== */
#backToTop {
  display: none;
  position: fixed;
  bottom: 10px;
  right: 10px;
  padding: 10px 15px;
  font-size: 24px;
  background-color: #f70303;
  color: #fff;
  font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
  font-weight: bold;
  border: none;
  cursor: pointer;
  border-radius: 4px;
  opacity: 0.8;
  transition: opacity 0.3s;
}

#backToTop:hover {
  opacity: 1;
}

/* =============== AFFILIATE PRODUCTS =============== */
.content-section {
  max-width: 1400px;
  margin: 20px auto;
  border: 1px solid #e98383;
  position: relative;
  padding-top: 30px;
}

.section-title {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #fff;
  padding: 0 10px;
  font-size: 16px;
  font-weight: bold;
}

.affiliate-products {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding: 10px;
  justify-content: center;
  background: #0deded94;
}

.product-item {
  flex-basis: calc(25% - 20px);
  max-width: 250px;
  text-align: center;
}

.product-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.product-image {
  width: 100%;
  height: auto;
  transition: transform 0.3s ease;
}

.product-image:hover {
  transform: scale(1.05);
}

.product-info {
  padding: 10px 0;
}

.product-title {
  font-size: 14px;
  font-weight: bold;
}

.product-price {
  font-size: 12px;
  color: #333;
}

@media screen and (max-width: 768px) {
  .product-item {
    flex-basis: calc(50% - 20px);
  }
}
/* CLEANED CSS – PART 5 */

/* =============== FEATURED POST DESIGN =============== */
.featured-post-section {
  margin: 40px 0;
  padding: 20px;
  background-color: #f4f4f4;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.featured-post {
  display: grid;
  grid-template-columns: minmax(300px, 1fr) 2fr;
  gap: 20px;
  align-items: center;
}

.featured-post-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  border-radius: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.featured-post-image {
  width: 100%;
  height: auto;
  max-height: 450px;
  object-fit: cover;
  display: block;
}

.featured-post-image-wrapper:hover .featured-post-image {
  transform: scale(1.05);
  transition: transform 0.3s ease-in-out;
}


.featured-post-content {
  padding: 10px;
  cursor: pointer;
}

.featured-post-title {
  margin-bottom: 15px;
  font-size: 28px;
  color: #333;
  font-weight: bold;
}

.featured-post-summary {
  margin-bottom: 20px;
  font-size: 16px;
  line-height: 1.6;
  color: #555;
}

@media screen and (max-width: 1024px) {
  .featured-post {
    grid-template-columns: 1fr;
  }
  .featured-post-image {
    max-height: 350px;
  }
}

/* =============== ALERT STYLES =============== */
.alert {
  padding: 20px;
  color: white;
  opacity: 1;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1000;
  width: 80%;
  max-width: 600px;
  transition: opacity 0.5s;
}

.alert-success { background-color: #4CAF50; }
.alert-danger { background-color: #f44336; }

.alert ul {
  list-style: none;
  padding-left: 0;
}

.fade-out {
  opacity: 0;
  transition: opacity 1s ease-out;
}

.closebtn {
  margin-left: 15px;
  color: white;
  font-weight: bold;
  float: right;
  font-size: 22px;
  line-height: 20px;
  cursor: pointer;
  transition: 0.3s;
}

.closebtn:hover {
  color: black;
}

/* =============== ADMIN RECIPE WRAPPER =============== */
.admin-recipe-wrapper {
  width: 100%;
  max-width: 900px;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #c12525;
  line-height: 1.5;
  background-color: #110217;
  padding: 18px;
  margin: 0 auto;
}

.admin-recipe-wrapper h2 {
  font-size: 2.2rem;
  font-weight: bold;
  margin-bottom: 20px;
  text-align: center;
  color: #fff;
}

.admin-recipe-wrapper h3 {
  font-size: 1.4rem;
  margin: 25px 0 10px;
  color: #fff;
  text-align: left;
}

.admin-back-link {
  color: #99ccff;
  text-decoration: none;
  font-weight: 500;
  display: inline-block;
  margin-bottom: 30px;
}

.admin-back-link:hover {
  text-decoration: underline;
}

/* 📷 Fő kép */
.admin-recipe-image {
  width: 100%;
  max-width: 400px;
  max-height: 400px;
  height: auto;
  object-fit: cover;
  margin: 0 auto 30px;
  display: block;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
}

/* 🖼️ Galéria konténer */
.admin-gallery-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-top: 10px;
}

/* 🖼️ Egy galéria elem */
.admin-gallery-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 150px;
}

.admin-gallery-item img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  margin-bottom: 8px;
}

.admin-gallery-item a {
  font-size: 0.8rem;
  background-color: #007BFF;
  color: white;
  padding: 6px 8px;
  border-radius: 4px;
  text-decoration: none;
}

/* 🧾 Meta adatok (idő, adag, videó stb.) */
.admin-recipe-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 30px 0;
  justify-content: space-between;
  color: red;
}

.admin-recipe-meta div {
  flex: 1 1 45%;
}

/* 📄 Szöveges tartalom (Ingredients, Instructions) */
.admin-section-content {
  background-color: #fff;
  color: #333;
  padding: 15px;
  border-radius: 10px;
  white-space: pre-line;
  text-align: left;
}

/* 📱 Mobilbarát módosítások */
@media (max-width: 600px) {
  .admin-recipe-image {
    max-width: 90%;
    max-height: 300px;
  }

  .admin-gallery-item {
    width: 120px;
  }

  .admin-gallery-item img {
    height: 120px;
  }

  .admin-recipe-meta div {
    flex: 1 1 100%;
  }
}

/* =============== SUBMIT RECIPE PROMO =============== */
.submit-recipe-promo {
  display: flex;
  justify-content: center;
  margin: 40px 0;
}

.submit-recipe-btn {
  display: inline-block;
  background-color: #dd9814;
  color: #fff;
  font-weight: bold;
  font-size: 18px;
  padding: 14px 28px;
  border-radius: 30px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  text-align: center;
}

.submit-recipe-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

body.dark-mode .submit-recipe-btn {
  background-color: #333;
  border: 3px solid orange;
}

/* === Fun Zone Wrapper === */
.fun-zone-wrapper {
    position: relative;
    display: inline-block;
}

/* === Fő link === */
.fun-zone-toggle {
    color: #ffffff;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: color 0.3s ease;
}

.fun-zone-toggle:hover {
    color: #cccccc;
}

/* === "Fun Zone" szöveg === */
.fun-zone-label {
    display: inline;
    margin: 0 4px;
}

/* === Nyíl ikon === */
.arrow {
    display: inline-block;
    transition: transform 0.3s ease;
}

.fun-zone-wrapper:hover .arrow {
    transform: rotate(180deg);
}

/* === Dropdown menü === */
#funZoneMenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    padding: 0.5rem 0;
    border-radius: 6px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    z-index: 999;
    min-width: 160px;
    max-width: 90vw; /* fontos! hogy ne lógjon ki */
    overflow-wrap: break-word;
}

/* Hoverrel megnyíló menü (asztali) */
@media (min-width: 481px) {
    .fun-zone-wrapper:hover #funZoneMenu {
        display: block;
    }

    #funZoneMenu.show {
        display: none !important;
    }
}

/* JS által aktivált lenyíló menü */
#funZoneMenu.show {
    display: block;
}

/* Menüpont stílusok */
#funZoneMenu li a {
    display: block;
    padding: 0.5rem 1rem;
    color: #ffffff;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease;
}

#funZoneMenu li a:hover {
    background-color: #333333;
    color: #ffffff;
}

/* === Mobilbarát stílus (max 480px) === */
@media (max-width: 480px) {
    .fun-zone-label {
        display: none;
    }

    .fun-zone-toggle {
        display: flex;
    }

    .fun-zone-toggle .arrow {
        font-size: 0.9rem;
    }

    #funZoneMenu {
        left: auto;
        right: 0; /* jobbra igazítás mobilon */
        min-width: 140px;
        font-size: 0.9rem;
    }
}
