@charset "UTF-8";

     /* ===== CONTAINER ===== */
      .container {
        max-width: 1200px;
        margin: 0 auto;
      }

      /* ===== SLIDER WRAPPER ===== */
      .slider-wrapper {
        position: relative;
      }

      .slider {
        display: flex;
        gap: 16px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scroll-behavior: smooth;
      }

      .slider::-webkit-scrollbar {
        display: none;
      }

      .slide {
        flex: 0 0 100%;
        scroll-snap-align: start;
      }

      /* ===== SVG ARROWS ===== */
      .arrow {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        background: none;
        border: none;
        cursor: pointer;
        z-index: 10;
        padding: 0.2em;
      }

      .arrow svg {
        width: 30px;
        height: 30px;
      }

      .arrow.left {
        left: 0px;
      }
      .arrow.right {
        right: 0px;
      }

      /* Hide arrows on tablet/desktop */
      @media (min-width: 768px) {
        .arrow {
          display: none;
        }
      }

      /* ===== GRID FOR TABLET / DESKTOP ===== */
      @media (min-width: 768px) {
        .slider {
          display: grid;
          grid-template-columns: repeat(2, 1fr);
          gap: 24px;
          overflow: visible;
        }
        .slide {
          flex: none;
        }
      }

      @media (min-width: 1024px) {
        .slider {
          grid-template-columns: repeat(4, 1fr);
        }
      }

      /* ===== LINK RESET ===== */
      .card-link {
        display: block;
        text-decoration: none;
        color: inherit;
        height: 100%;
      }

      /* ===== CARD ===== */
      .card {
        background: #fff;
        display: flex;
        flex-direction: column;
        height: 100%;
        transition: box-shadow 0.3s ease;
      }

      .card-link:hover .card {
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
      }

      /* ===== IMAGE ===== */
      .card-image {
        width: 100%;
        height: 200px;
        object-fit: cover;
        display: block;
      }

      /* ===== CONTENT ===== */
      .card-content {
        padding: 16px;
        display: flex;
        flex-direction: column;
        flex-grow: 1;
      }

      .card-title {
        font-size: 1.5rem;
        font-weight: 500;
        line-height: 1.5;
        text-align: center;
        color: var(--i_main_color);
        padding-bottom: 12px;
        border-bottom: 1px solid #e0e0e0;
      }

      .card-title span {
        display: block;
      }

      .card-category {
        margin-top: 12px;
        font-size: 14px;
        line-height: 1.6;
        color: #666;
        flex-grow: 1;
      }