
  #kuyu-modul {
    --kuyu-primary: #0ea5e9;
    --kuyu-primary-dark: #0369a1;
    --kuyu-green: #0a6e48;
    --kuyu-text: #0f172a;
    --kuyu-muted: #64748b;
    --kuyu-border: #e2e8f0;
    --kuyu-bg: #f8fafc;
    max-width: 1180px;
    margin: 0 auto;
    padding: 28px 16px;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--kuyu-text);
  }

  #kuyu-modul,
  #kuyu-modul * {
    box-sizing: border-box;
  }

  .kuyu-hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 22px;
    margin-bottom: 18px;
    padding: 28px;
    border-radius: 24px;
    color: #fff;
    background:
      radial-gradient(circle at top right, rgba(255,255,255,.20), transparent 32%),
      linear-gradient(to left, var(--kuyu-green), var(--kuyu-primary));
    box-shadow: 0 18px 45px rgba(14, 165, 233, 0.20);
    overflow: hidden;
  }

  .kuyu-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    opacity: .9;
  }

  .kuyu-kicker::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 99px;
    background: #bbf7d0;
    box-shadow: 0 0 0 5px rgba(187, 247, 208, .22);
  }

  .kuyu-hero h2 {
    margin: 0 0 8px;
    font-size: clamp(24px, 4vw, 36px);
    line-height: 1.1;
    letter-spacing: -.03em;
  }

  .kuyu-hero p {
    margin: 0;
    max-width: 680px;
    color: rgba(255,255,255,.88);
    font-size: 15px;
    line-height: 1.55;
  }

  .kuyu-hero-count {
    min-width: 124px;
    padding: 18px 20px;
    border: 1px solid rgba(255,255,255,.28);
    border-radius: 20px;
    background: rgba(255,255,255,.16);
    backdrop-filter: blur(12px);
    text-align: center;
  }

  .kuyu-hero-count strong {
    display: block;
    font-size: 34px;
    line-height: 1;
  }

  .kuyu-hero-count span {
    display: block;
    margin-top: 5px;
    font-size: 13px;
    opacity: .9;
  }

  .kuyu-hero-count-icon {
    display: block;
    margin: 0 auto 4px;
  }

  .kuyu-logo-badge {
    display: inline-flex;
    align-items: center;
    margin-bottom: 14px;
  }

  .kuyu-logo-badge img {
    display: block;
    height: 46px;
    width: auto;
    max-width: 220px;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .22));
  }

  .kuyu-toolbar {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 14px;
    align-items: end;
    margin-bottom: 18px;
    padding: 16px;
    border: 1px solid var(--kuyu-border);
    border-radius: 22px;
    background: rgba(255,255,255,.92);
    box-shadow: 0 14px 35px rgba(15, 23, 42, .07);
    backdrop-filter: blur(12px);
  }

  .kuyu-search label {
    display: block;
    margin-bottom: 8px;
    color: #334155;
    font-size: 14px;
    font-weight: 800;
  }

  .kuyu-search-box {
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr) 38px;
    align-items: center;
    min-height: 52px;
    border: 1px solid #dbe3ea;
    border-radius: 16px;
    background: var(--kuyu-bg);
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
  }

  .kuyu-search-box:focus-within {
    border-color: var(--kuyu-primary);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(14, 165, 233, .14);
  }

  .kuyu-search-icon {
    display: grid;
    place-items: center;
    color: #0f766e;
    font-size: 22px;
    font-weight: 900;
  }

  #kuyuAra {
    width: 100%;
    min-width: 0;
    height: 50px;
    border: 0;
    outline: 0;
    background: transparent;
    color: #111827;
    font-size: 15px;
  }

  #kuyuAra::placeholder {
    color: #94a3b8;
  }

  .kuyu-clear-btn {
    width: 30px;
    height: 30px;
    margin-right: 8px;
    border: 0;
    border-radius: 999px;
    background: #e2e8f0;
    color: #475569;
    cursor: pointer;
    font-size: 20px;
    line-height: 1;
    display: none;
    transition: .18s ease;
  }

  .kuyu-clear-btn:hover {
    background: #cbd5e1;
    color: #0f172a;
  }

  .kuyu-clear-btn.is-visible {
    display: inline-grid;
    place-items: center;
  }


  .kuyu-filter-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(120px, 1fr)) auto;
    gap: 10px;
    margin-top: 12px;
    align-items: end;
  }

  .kuyu-filter-field label {
    display: block;
    margin-bottom: 6px;
    color: #475569;
    font-size: 12px;
    font-weight: 800;
  }

  .kuyu-filter-field input,
  .kuyu-filter-field select {
    width: 100%;
    height: 42px;
    border: 1px solid #dbe3ea;
    border-radius: 13px;
    background: #fff;
    color: #0f172a;
    outline: 0;
    padding: 0 12px;
    font-size: 14px;
  }

  .kuyu-filter-field input:focus,
  .kuyu-filter-field select:focus {
    border-color: var(--kuyu-primary);
    box-shadow: 0 0 0 3px rgba(14, 165, 233, .13);
  }

  .kuyu-filter-clear {
    height: 42px;
    border: 0;
    border-radius: 13px;
    background: #e2e8f0;
    color: #334155;
    cursor: pointer;
    padding: 0 14px;
    font-weight: 800;
    white-space: nowrap;
  }

  .kuyu-filter-clear:hover {
    background: #cbd5e1;
    color: #0f172a;
  }

  .kuyu-result-card {
    min-width: 154px;
    padding: 15px 16px;
    border-radius: 16px;
    border: 1px solid #cffafe;
    background: #ecfeff;
    color: #075985;
    font-size: 14px;
    font-weight: 800;
    text-align: center;
    white-space: nowrap;
  }

  #kuyuListesi {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    align-items: start;
  }

  .kuyu {
    min-width: 0;
    border: 1px solid var(--kuyu-border);
    border-radius: 22px;
    background: #fff;
    overflow: hidden;
    box-shadow: 0 12px 28px rgba(15, 23, 42, .06);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  }

  .kuyu:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 38px rgba(15, 23, 42, .10);
    border-color: #bae6fd;
  }

  .kuyu[open] {
    grid-column: 1 / -1;
    border-color: #7dd3fc;
    box-shadow: 0 20px 45px rgba(14, 165, 233, .12);
  }

  .kuyu-baslik {
    list-style: none;
    cursor: pointer;
    user-select: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    min-height: 92px;
    padding: 18px;
    background: linear-gradient(180deg, #fff, #f8fafc);
  }

  .kuyu-baslik::-webkit-details-marker {
    display: none;
  }

  .kuyu-title-wrap {
    display: flex;
    align-items: center;
    min-width: 0;
    gap: 12px;
  }

  .kuyu-no-badge {
    min-width: 58px;
    height: 42px;
    padding: 0 10px;
    border-radius: 14px;
    display: inline-grid;
    place-items: center;
    color: var(--kuyu-primary-dark);
    background: #e0f2fe;
    font-weight: 900;
    font-size: 15px;
    letter-spacing: -.02em;
  }

  .kuyu-title-text {
    min-width: 0;
  }

  .kuyu-title-text strong {
    display: block;
    color: #0f172a;
    font-size: 17px;
    line-height: 1.25;
  }

  .kuyu-title-text small {
    display: -webkit-box;
    margin-top: 5px;
    color: var(--kuyu-muted);
    font-size: 13px;
    line-height: 1.35;
    font-weight: 700;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }

  .kuyu-ok {
    flex: 0 0 auto;
    width: 36px;
    height: 36px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    color: var(--kuyu-primary-dark);
    background: #e0f2fe;
    font-size: 20px;
    line-height: 1;
    transition: transform .2s ease, background .2s ease, color .2s ease;
  }

  .kuyu[open] .kuyu-ok {
    transform: rotate(180deg);
    color: #fff;
    background: var(--kuyu-primary);
  }

  .kuyu-icerik {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 18px;
    padding: 0 18px 18px;
    border-top: 1px solid #eef2f7;
  }

  .kuyu-bilgi {
    min-width: 0;
  }

  .kuyu-bilgi table {
    width: 100%;
    margin-top: 16px;
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid #eef2f7;
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
  }

  .kuyu-bilgi th,
  .kuyu-bilgi td {
    padding: 12px 14px;
    border-bottom: 1px solid #eef2f7;
    text-align: left;
    vertical-align: top;
    font-size: 14px;
    line-height: 1.45;
  }

  .kuyu-bilgi tr:last-child th,
  .kuyu-bilgi tr:last-child td {
    border-bottom: 0;
  }

  .kuyu-bilgi th {
    width: 230px;
    color: #475569;
    background: #f8fafc;
    font-weight: 800;
  }

  .kuyu-bilgi td {
    color: #111827;
    background: #fff;
    font-weight: 600;
  }

  .kuyu-video {
    min-width: 0;
    margin-top: 16px;
  }

  .kuyu-video a {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    background: #e5e7eb;
    text-decoration: none;
  }

  .kuyu-video img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform .24s ease, filter .24s ease;
  }

  .kuyu-video a:hover img {
    transform: scale(1.045);
    filter: brightness(.78);
  }

  .oynat-ikon {
    position: absolute;
    inset: 0;
    width: 60px;
    height: 60px;
    margin: auto;
    border-radius: 999px;
    background: rgba(239, 68, 68, .95);
    box-shadow: 0 12px 30px rgba(0,0,0,.28);
  }

  .oynat-ikon::after {
    content: "";
    position: absolute;
    left: 24px;
    top: 19px;
    width: 0;
    height: 0;
    border-left: 18px solid #fff;
    border-top: 11px solid transparent;
    border-bottom: 11px solid transparent;
  }

  .etiket {
    display: block;
    margin-top: 9px;
    color: #64748b;
    font-size: 12px;
    font-weight: 800;
    text-align: center;
  }

  .kuyu-bos-sonuc {
    display: none;
    margin-top: 16px;
    padding: 22px;
    border: 1px solid #fed7aa;
    border-radius: 20px;
    background: #fff7ed;
    color: #9a3412;
    font-weight: 800;
    text-align: center;
  }

  .kuyu-bos-sonuc.is-visible {
    display: block;
  }

  .kuyu-sayfalama {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 24px;
  }

  .kuyu-page-btn {
    min-width: 40px;
    height: 40px;
    padding: 0 13px;
    border: 1px solid #dbe3ea;
    border-radius: 13px;
    background: #fff;
    color: #334155;
    cursor: pointer;
    font-weight: 900;
    transition: .18s ease;
  }

  .kuyu-page-btn:hover:not(:disabled) {
    border-color: var(--kuyu-primary);
    color: var(--kuyu-primary-dark);
    transform: translateY(-1px);
  }

  .kuyu-page-btn.active {
    border-color: var(--kuyu-primary);
    background: var(--kuyu-primary);
    color: #fff;
  }

  .kuyu-page-btn:disabled {
    opacity: .45;
    cursor: not-allowed;
  }

  .kuyu-page-dots {
    padding: 0 4px;
    color: #94a3b8;
    font-weight: 900;
  }

  .kuyu-gizle {
    display: none !important;
  }

  @media (max-width: 920px) {
    .kuyu-hero {
      align-items: flex-start;
      flex-direction: column;
    }

    .kuyu-hero-count {
      width: 100%;
      text-align: left;
    }

    .kuyu-toolbar {
      position: static;
      grid-template-columns: 1fr;
    }

    .kuyu-result-card {
      text-align: left;
      white-space: normal;
    }

    #kuyuListesi {
      grid-template-columns: 1fr;
    }

    .kuyu[open] {
      grid-column: auto;
    }

    .kuyu-icerik {
      grid-template-columns: 1fr;
    }
  }

  @media (max-width: 560px) {
    #kuyu-modul {
      padding: 18px 10px;
    }

    .kuyu-hero {
      padding: 22px;
      border-radius: 20px;
    }

    .kuyu-toolbar {
      padding: 12px;
      border-radius: 18px;
    }

    .kuyu-baslik {
      min-height: 82px;
      padding: 14px;
    }

    .kuyu-no-badge {
      min-width: 50px;
      height: 38px;
      border-radius: 12px;
      font-size: 14px;
    }

    .kuyu-title-text strong {
      font-size: 15px;
    }

    .kuyu-title-text small {
      font-size: 12px;
    }

    .kuyu-ok {
      width: 32px;
      height: 32px;
    }

    .kuyu-icerik {
      padding: 0 12px 14px;
    }

    .kuyu-bilgi th,
    .kuyu-bilgi td {
      display: block;
      width: 100%;
      padding: 10px 12px;
    }

    .kuyu-bilgi th {
      border-bottom: 0;
      padding-bottom: 3px;
      color: #64748b;
    }

    .kuyu-bilgi td {
      padding-top: 3px;
    }

    .kuyu-bilgi tr:not(:last-child) td {
      border-bottom: 1px solid #eef2f7;
    }


    .kuyu-filter-grid {
      grid-template-columns: 1fr;
    }

    .kuyu-page-btn {
      min-width: 36px;
      height: 36px;
      padding: 0 10px;
      border-radius: 11px;
    }
  }

