@charset "utf-8";
/* CSS Document */

h2 {
      text-align: center;
      margin-bottom: 10px;
    }
    .carousel-wrapper {
      position: relative;
      overflow: hidden;
    }
    .carousel {
      display: flex;
      overflow-x: auto;
      scroll-snap-type: x mandatory;
      gap: 16px;
      padding: 10px;
      scroll-behavior: smooth;
    }
    .carousel::-webkit-scrollbar {
      display: none;
    }
    .ad-item {
      flex: 0 0 auto;
      width: 240px;
      scroll-snap-align: start;
      border: 0px solid #ccc;
      border-radius: 10px;
      overflow: hidden;
      transition: transform 0.3s ease;
      background: white;
    }
    .ad-item img {
      width: 100%;
	  max-height: 400px;
      display: block;
    }
    .ad-item:hover {
      transform: scale(1.03);
    }
    .arrow-btn {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      background: rgba(0, 0, 0, 0.5);
      border: none;
      color: white;
      padding: 10px;
      border-radius: 50%;
      cursor: pointer;
      z-index: 10;
    }
    .arrow-left { left: 5px; }
    .arrow-right { right: 5px; }

    .load-more-btn {
      display: block;
      margin: 20px auto 10px;
      padding: 10px 20px;
      font-size: 16px;
      background-color: #007BFF;
      color: white;
      border: none;
      border-radius: 8px;
      cursor: pointer;
    }

    .vertical-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
      gap: 16px;
      margin-top: 30px;
    }

    @media (max-width: 600px) {
      .ad-item {
        width: 160px;
      }
    }