/* ================================================
       SECTION
       ================================================ */
    .visited-section {
      position: relative;
      width: 100%;
      padding: 10px 0 40px;
      /*background: #f8f7f4;*/
    }

    .visited-container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 20px;
    }

    /* --- Header --- */
    .visited-header {
      text-align: center;
      margin-bottom: 48px;
    }

    .visited-header-tag {
      display: inline-flex;
      align-items: center;
      gap: 12px;
      margin-bottom: 16px;
    }

    .visited-header-tag .tag-line {
      display: inline-block;
      width: 32px;
      height: 1px;
      background: #d4a853;
    }

    .visited-header-tag .tag-text {
      font-size: 0.72rem;
      font-weight: 600;
      letter-spacing: 3px;
      text-transform: uppercase;
      color: #d4a853;
    }

    .visited-title {
      font-family: 'Playfair Display', serif;
      font-size: clamp(1.8rem, 4vw, 2.8rem);
      font-weight: 600;
      color: #1a1a1a;
      margin-bottom: 14px;
      line-height: 1.2;
    }

    .visited-subtitle {
      font-size: 0.95rem;
      font-weight: 300;
      color: #777;
      max-width: 500px;
      margin: 0 auto;
      line-height: 1.7;
    }

    /* --- Slider Box --- */
    .visited-slider {
      position: relative;
      width: 100%;
      aspect-ratio: 16 / 8;
      border-radius: 12px;
      background: #e8e6e1;
      box-shadow: 0 20px 60px rgba(0,0,0,0.08);
    }

    /* --- Slides --- */
    .visited-slide {
      position: absolute;
      top: 0; left: 0;
      width: 100%; height: 100%;
      opacity: 0;
      visibility: hidden;
      transition: opacity 0.9s cubic-bezier(0.4,0,0.2,1),
                  visibility 0.9s cubic-bezier(0.4,0,0.2,1);
      border-radius: 12px;
      z-index: 0;
    }

    .visited-slide.active {
      opacity: 1;
      visibility: visible;
      z-index: 1;
    }

    .visited-slide-img {
      position: absolute;
      top: 0; left: 0;
      width: 100%; height: 100%;
      overflow: hidden;
      border-radius: 12px;
    }

    .visited-slide-img img {
      width: 100%; height: 100%;
      object-fit: cover;
      display: block;
      transform: scale(1.06);
      transition: transform 6s cubic-bezier(0.25,0.46,0.45,0.94);
    }

    .visited-slide.active .visited-slide-img img {
      transform: scale(1);
    }

    .visited-slide-overlay {
      position: absolute;
      top: 0; left: 0;
      width: 100%; height: 100%;
      background: linear-gradient(
        to top,
        rgba(0,0,0,0.65) 0%,
        rgba(0,0,0,0.1) 40%,
        rgba(0,0,0,0.05) 100%
      );
      border-radius: 12px;
      z-index: 1;
    }

    .visited-slide-content {
      position: absolute;
      bottom: 0; left: 0;
      width: 100%;
      padding: 32px 36px;
      z-index: 2;
      opacity: 0;
      transform: translateY(15px);
      transition: all 0.7s cubic-bezier(0.16,1,0.3,1) 0.3s;
    }

    .visited-slide.active .visited-slide-content {
      opacity: 1;
      transform: translateY(0);
    }

    .visited-slide-counter {
      font-size: 0.7rem;
      font-weight: 500;
      letter-spacing: 2px;
      color: rgba(255,255,255,0.5);
      margin-bottom: 8px;
    }

    .visited-slide-name {
      font-family: 'Playfair Display', serif;
      font-size: clamp(1.3rem, 3vw, 2rem);
      font-weight: 600;
      color: #ffffff;
      margin-bottom: 10px;
    }

    .visited-slide-line {
      width: 40px;
      height: 2px;
      background: #d4a853;
      border-radius: 1px;
      transform: scaleX(0);
      transform-origin: left;
      transition: transform 0.6s cubic-bezier(0.16,1,0.3,1) 0.6s;
    }

    .visited-slide.active .visited-slide-line {
      transform: scaleX(1);
    }

    /* --- Arrows --- */
    .visited-arrow {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      z-index: 10;
      width: 48px; height: 48px;
      display: flex;
      align-items: center;
      justify-content: center;
      background: rgba(255,255,255,0.9);
      backdrop-filter: blur(8px);
      -webkit-backdrop-filter: blur(8px);
      border: none;
      border-radius: 50%;
      color: #1a1a1a;
      cursor: pointer;
      transition: all 0.3s ease;
      box-shadow: 0 4px 15px rgba(0,0,0,0.1);
      opacity: 0;
    }

    .visited-slider:hover .visited-arrow { opacity: 1; }

    .visited-arrow:hover {
      background: #d4a853;
      color: #fff;
      transform: translateY(-50%) scale(1.08);
      box-shadow: 0 6px 20px rgba(212,168,83,0.3);
    }

    .visited-arrow-prev { left: 16px; }
    .visited-arrow-next { right: 16px; }

    /* --- Dots --- */
    .visited-dots {
      position: absolute;
      bottom: -36px;
      left: 50%;
      transform: translateX(-50%);
      z-index: 10;
      display: flex;
      gap: 8px;
    }

    .visited-dot {
      width: 8px; height: 8px;
      border-radius: 50%;
      border: none;
      background: #d1cfc9;
      cursor: pointer;
      transition: all 0.4s ease;
      padding: 0;
    }

    .visited-dot.active {
      background: #d4a853;
      width: 28px;
      border-radius: 4px;
    }

    .visited-dot:hover:not(.active) { background: #b8b5ad; }

    /* --- Thumbnails --- */
    .visited-thumbs {
      display: flex;
      gap: 10px;
      margin-top: 52px;
      padding-bottom: 4px;
      overflow-x: auto;
      overflow-y: hidden;
      scroll-behavior: smooth;
      -webkit-overflow-scrolling: touch;
      scrollbar-width: none;
      -ms-overflow-style: none;
      justify-content: center;
    }

    .visited-thumbs::-webkit-scrollbar { display: none; }

    .visited-thumb {
      flex: 0 0 auto;
      width: 90px; height: 62px;
      border-radius: 8px;
      overflow: hidden;
      border: 2px solid transparent;
      cursor: pointer;
      padding: 0;
      background: none;
      transition: all 0.3s ease;
      opacity: 0.5;
    }

    .visited-thumb img {
      width: 100%; height: 100%;
      object-fit: cover;
      display: block;
      transition: transform 0.4s ease;
    }

    .visited-thumb:hover { opacity: 0.8; }
    .visited-thumb:hover img { transform: scale(1.08); }

    .visited-thumb.active {
      border-color: #d4a853;
      opacity: 1;
      box-shadow: 0 4px 12px rgba(212,168,83,0.25);
    }

    /* ================================================
       RESPONSIVE — Tablet
       ================================================ */
    @media (max-width: 991px) {
      .visited-section { padding: 60px 0 30px; }
      .visited-header { margin-bottom: 36px; }
      .visited-slider { aspect-ratio: 16 / 9; border-radius: 10px; }
      .visited-slide,
      .visited-slide-img,
      .visited-slide-overlay { border-radius: 10px; }
      .visited-slide-content { padding: 24px 28px; }
      .visited-arrow { width: 42px; height: 42px; opacity: 1; }
      .visited-arrow-prev { left: 10px; }
      .visited-arrow-next { right: 10px; }
      .visited-thumb { width: 76px; height: 52px; border-radius: 6px; }
      .visited-thumbs { gap: 8px; margin-top: 44px; }
    }

    /* ================================================
       RESPONSIVE — Mobile
       ================================================ */
    @media (max-width: 767px) {
      .visited-section { padding: 48px 0 24px; }
      .visited-container { padding: 0 16px; }
      .visited-header { margin-bottom: 28px; }
      .visited-subtitle { font-size: 0.85rem; }
      .visited-slider { aspect-ratio: 4 / 3; border-radius: 8px; }
      .visited-slide,
      .visited-slide-img,
      .visited-slide-overlay { border-radius: 8px; }
      .visited-slide-content { padding: 20px; }
      .visited-slide-name { font-size: 1.15rem; }
      .visited-slide-counter { font-size: 0.65rem; }

      .visited-arrow {
        width: 36px; height: 36px;
        opacity: 1;
        top: auto; bottom: 16px;
        transform: none;
        box-shadow: 0 2px 10px rgba(0,0,0,0.15);
      }
      .visited-arrow:hover { transform: scale(1.05); }
      .visited-arrow-prev { left: 12px; }
      .visited-arrow-next { right: 12px; }
      .visited-arrow svg { width: 16px; height: 16px; }

      .visited-dots { display: none; }

      .visited-thumb { width: 64px; height: 44px; border-radius: 6px; }
      .visited-thumbs { gap: 6px; margin-top: 40px; justify-content: flex-start; }
    }

    @media (max-width: 400px) {
      .visited-slider { aspect-ratio: 3 / 2.5; }
      .visited-thumb { width: 56px; height: 38px; }
      .visited-slide-content { padding: 16px; }
      .visited-arrow { width: 32px; height: 32px; bottom: 12px; }
      .visited-arrow-prev { left: 8px; }
      .visited-arrow-next { right: 8px; }
    }