/* 1. Hide the top-level “MENU” link */
.mainpage ul > li > a {
    display: none;
  }
  
  /* 1. Remove ALL bullets/markers from your menu lists */
  .mainpage ul {
    list-style: none;
    margin: 0;
    padding: 0;
  }
  
  /* 2. Make sure no leftover markers appear on any <li> */
  .mainpage ul li {
    list-style-type: none;
  }
  
  /* 3. (Bonus) If you’re in a modern browser, you can also target the marker pseudo-element */
  .mainpage ul li::marker {
    content: none;
  }
  
  
  
  .mainpage ul ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
  }
  
  
  
  /* 2b. Category title link */
  .mainpage ul ul > li > a {
    display: block;
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    text-decoration: none;
  }
  
  /* 3. Sub-category list inside each card as a small grid */
  .mainpage ul ul > li > ul {
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0.5rem;
  }
  
  
  .mainpage ul ul > li > ul > li > a {
    display: block;
  
    color: #555;
    text-decoration: none;
    text-align: center;
  }
  
  
  .mainpage ul ul > li:hover {
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
  }
  
  
  
  .mainpage ul ul > li > ul > li > a:hover {
      background: rgba(0,0,0,0.05);
  }
  
  
  .sub_image {
      width: 100px;
      height: 100px;
  }
  
  
  
  .mainpage ul ul > li {
      background-color: #fff;
      border-radius: 10px;
      box-shadow: 0 4px 8px rgba(0,0,0,0.1);
      overflow: hidden;
      transition: transform 0.3s, box-shadow 0.3s;
      cursor: pointer;
  }
  
  .mainpage ul ul > li:hover {
      transform: translateY(-2px);
      box-shadow: 0 5px 8px rgba(0,0,0,0.15);
  }
  
  .mainpage img {
      width: 107%;
      height: 280px;
      object-fit: cover;
      display: block;
  }
  
  .mainpage ul ul ul > li {
      background: #fff;
      border-radius: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      box-shadow: 0 4px 8px rgba(0,0,0,0.0);
  }
  
  .mainpage ul ul ul li > a {
      margin: 0;
      padding: 0;
      width: 100%;
      font-size: 14px;
  }
  
  
  .mainpage ul ul li > a {
      font-weight: bold;
      font-size: 1.2rem;
      color: #0073e6;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-direction: column;
      text-align: left;
  }
  
  
  
  
  
  .main {
      width: 1000px;
  }
  
  .slideshow {
    position: relative;
    width: 80%;
    height: 238px;
    overflow: hidden;
    background-color: #333;
    cursor: pointer;
    z-index: 1;
}
  
  
  .slides {
      display: flex;
      transition: transform 0.5s ease-in-out;
  }
  .slide {
      min-width: 100%;
      height: 100%;
      display: flex;
      justify-content: center;
      align-items: center;
      color: #fff;
      font-size: 2em;
  }
  .side {
      width: 80px;
      height: 60vw;
      display: flex;
      align-items: center;
      justify-content: center;
      user-select: none;
      pointer-events: auto;
  }
  .nav {
      position: absolute;
      top: 50%;
      width: 100%;
      display: flex;
      justify-content: space-between;
      transform: translateY(-50%);
      pointer-events: none;
  }
  .nav p {
      color: #fff;
      font-size: 20px;
      text-shadow: 1px 1px 1px rgba(0, 0, 0, 1.0);
  }
  
  
  .bullets {
      bottom: 10px;
      position: absolute;
      width: 100%;
      display: flex;
      align-items: center;
      justify-content: center;
  }
  
  .bullets div {
      background-color: #f0eceb;
      border: none;
      width: 10px;
      height: 10px;
      margin: 0 5px;
      box-shadow: 1px 1px 1px rgba(0, 0, 0, 1.0);
      border-radius: 10px;
  }
  
  .bullets div.active {
      background-color: #0c70cf;
  }

/* Mobilon elrejtjük a slideshow-t */
@media (max-width: 768px) {
    .slideshow {
        display: none !important;
    }
    
    .main {
        width: 100% !important;
        padding: 0 20px;
        box-sizing: border-box;
    }
    
    .center {
        padding: 10px 0 !important;
    }
}