.no-scrollbar::-webkit-scrollbar {
    height: 10px;
}

.hero-dir {
    background: var(--teal-primary);
    padding-top: 30px;
    padding-bottom: 30px;
    position: relative;
    overflow: hidden;
}
    .hero-dir::before {
      content: '';
      position: absolute;
      top: -80px; left: -80px;
      width: 500px; height: 500px;
      background: #d49a5514;
      border-radius: 50%;
      filter: blur(120px);
    }
    .cat-pill {
      background: #ffffff14;
      border: 1.5px solid #ffffff26;
      color: rgba(255,255,255,0.7);
      padding: 0.5rem 1.25rem;
      border-radius: 2rem;
      font-size: 12px;
      font-weight: 900;
      cursor: pointer;
      transition: all 0.25s;
      white-space: nowrap;
    }
    .cat-pill.active, .cat-pill:hover {
      background: #d49a5540;
      border-color: var(--mustard-primary);
      color: var(--mustard-primary);
    }
    .filter-card {
      background: white;
      border-radius: 2rem;
      padding: 1.75rem;
      box-shadow: 0 8px 30px #0000000f;
      border: 1px solid #f1f5f9;
      position: sticky;
      top: 90px;
    }
    .dir-card {
      background: white;
      border-radius: 2rem;
      border: 1px solid #f1f5f9;
      box-shadow: 0 4px 20px #0000000a;
      transition: all 0.3s;
      cursor: pointer;
      overflow: hidden;
    }
    .dir-card:hover {
      transform: translateY(-6px);
      box-shadow: 0 20px 50px #1f4e551f;
      border-color: #d49a554d;
    }
    .dir-card .card-img {
      width: 88px; height: 88px;
      border-radius: 1.5rem;
      object-fit: cover;
      border: 3px solid #f1f5f9;
      flex-shrink: 0;
    }
    .badge-feat {
      background: #1f4e5512;
      color: var(--teal-primary);
      border: 1px solid #1f4e5526;
      padding: 0.2rem 0.7rem;
      border-radius: 0.6rem;
      font-size: 9px;
      font-weight: 900;
    }
    .star-row { color: var(--mustard-primary); }
    .filter-check {
      display: flex;
      align-items: center;
      gap: 0.6rem;
      padding: 0.5rem 0;
      cursor: pointer;
      font-size: 13px;
      font-weight: 700;
      color: #374151;
    }
    .filter-check input { accent-color: var(--teal-primary); width: 16px; height: 16px; }
    .page-btn {
      width: 40px; height: 40px;
      border-radius: 0.75rem;
      border: 1px solid #e2e8f0;
      background: white;
      font-weight: 900;
      font-size: 13px;
      color: #6b7280;
      cursor: pointer;
      transition: all 0.2s;
    }
    .page-btn.active, .page-btn:hover {
      background: var(--teal-primary);
      border-color: var(--teal-primary);
      color: white;
    }

/* ─── directory.html utility classes ─────────────────────────────────────── */

/* Hero layout */
.dir-hero-z        { z-index: 10; }
.dir-breadcrumb    { font-size: 12px; }
.dir-breadcrumb-link    { opacity: 0.6; }
.dir-breadcrumb-chevron { width: 14px; height: 14px; opacity: 0.4; }

/* Hero icon */
.dir-hero-icon-wrap { width: 72px; height: 72px; }
.dir-hero-icon      { width: 36px; height: 36px; }

/* Hero title */
.dir-hero-title { font-size: clamp(1.8rem, 4vw, 2.8rem); line-height: 1.2; }
.dir-hero-desc  { font-size: 14px; color: #ffffffa6; }

/* Stat pills */
.dir-stat-pill {
  background: #ffffff1a;
  font-size: 12px;
  color: #ffffffd9;
}

/* Hero search */
.dir-search-icon  { right: 14px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; pointer-events: none; }
.dir-search-input { padding-right: 42px; font-size: 13px; height: 48px; }
.dir-search-btn   { height: 48px; font-size: 13px; }

/* Card text sizes */
.dir-card-name     { font-size: 14px; }
.dir-card-specialty{ font-size: 12px; }
.dir-card-location { font-size: 11px; }

/* Star & rating */
.dir-star-icon    { width: 11px; height: 11px; fill: currentColor; }
.dir-rating-val   { font-size: 11px; }
.dir-rating-count { font-size: 10px; }
.dir-mappin-icon  { width: 12px; height: 12px; }

/* Card buttons */
.dir-btn-contact  { background: #1f4e550f; color: var(--teal-primary); font-size: 11px; }
.dir-btn-view     { font-size: 11px; width: 40px; }
.dir-btn-icon     { width: 13px; height: 13px; }
.dir-btn-icon-sm  { width: 14px; height: 14px; }

/* Sort select */
.dir-sort-select  { font-size: 13px; width: auto; }

/* Add service CTA */
.dir-cta-banner { background: linear-gradient(135deg, var(--teal-primary), #2d6b74); }
.dir-cta-desc   { font-size: 13px; color: #ffffffb3; }
.dir-cta-btn    { background: var(--mustard-primary); font-size: 14px; }

/* ─── Bootstrap Nav Pills (category tabs in hero) ────────────────────────── */
.dir-nav-pills {     gap: 0.5rem;
    background: #ffffff;
    margin-top: 0 !important;
    margin-bottom: 20px;
    list-style: none;
    justify-content: center;
    padding: 10px;
    border-radius: 16px;
  justify-content: start; }
.dir-nav-pills .nav-item { flex-shrink: 0; }

.dir-pill {
       background: #dbbbbb47;
border: 1.5px solid #2424246e;
    color: #000000b3;
  padding: 0.5rem 1.25rem;
  border-radius: 2rem;
    font-size: 14px;
  font-weight: 900;
  cursor: pointer;
  transition: all 0.25s;
  white-space: nowrap;
  font-family: 'Cairo', sans-serif;
  outline: none;
}
.dir-pill:hover,
.dir-pill.active,
.dir-pill[aria-selected="true"] {
background: #C63D2F;
    border-color: #000000;
    color: #ffffff;
}

/* ─── Empty pane placeholder ─────────────────────────────────────────────── */
.dir-empty-pane {
  padding: 5rem 2rem;
  text-align: center;
  background: white;
  border-radius: 2rem;
  border: 2px dashed #e2e8f0;
}

/* start clinics */

.categories-nav {
            display: flex;
            gap: 10px;
            overflow-x: auto;
            padding-bottom: 15px;
            margin-bottom: 20px;
            border-bottom: 3px solid #1a4a4d;
        }

        .categories-nav::-webkit-scrollbar {
            height: 4px;
        }

        .category-tab {
            padding: 8px 20px;
            border-radius: 30px;
            border: 1px solid #dcdcdc;
            color: #555;
            background-color: white;
            text-decoration: none;
            font-weight: 600;
            font-size: 14px;
            white-space: nowrap;
            transition: all 0.3s;
        }

        .category-tab.active {
            background-color: #bd2d30;
            color: white;
            border-color: #bd2d30;
        }

        .page-title {
            color: #1a4a4d;
            font-weight: 800;
            font-size: 28px;
            margin-bottom: 5px;
        }

        .results-count {
            color: #888;
            font-size: 14px;
        }

        .filter-btn {
            background-color: white;
            border: 1px solid #dcdcdc;
            border-radius: 20px;
            padding: 6px 15px;
            color: #555;
            font-size: 14px;
            font-weight: 600;
            display: inline-flex;
            align-items: center;
            gap: 8px;
        }

        .directory-card {
            background-color: white;
            border-radius: 20px;
            padding: 20px;
            box-shadow: 0 4px 15px #00000008;
            border: 1px solid #f0f0f0;
            transition: all 0.3s;
        }

        .directory-card:hover {
            box-shadow: 0 8px 25px #00000014;
            transform: translateY(-3px);
        }

        .card-top-content {
            display: flex;
            flex-direction: row-reverse;
            align-items: center;
            gap: 15px;
            margin-bottom: 15px;
        }

        .rating-stars {
            color: #f39c12;
            font-size: 12px;
            font-weight: bold;
        }

        .rating-count {
            color: #999;
            font-size: 11px;
        }

        .card-actions {
            display: flex;
            gap: 10px;
        }

        /* end clinics */

        /* start Members of Parliament */
        .categories-nav {
            display: flex;
            gap: 10px;
            overflow-x: auto;
            padding-bottom: 15px;
            margin-bottom: 20px;
            border-bottom: 3px solid #1a4a4d;
        }

        .categories-nav::-webkit-scrollbar {
            height: 4px;
        }

        .category-tab {
            padding: 8px 20px;
            border-radius: 30px;
            border: 1px solid #dcdcdc;
            color: #555;
            background-color: white;
            text-decoration: none;
            font-weight: 600;
            font-size: 14px;
            white-space: nowrap;
            transition: all 0.3s;
        }

        .category-tab.active {
            background-color: #bd2d30;
            color: white;
            border-color: #bd2d30;
        }

        .page-title {
            color: #1a4a4d;
            font-weight: 800;
            font-size: 28px;
            margin-bottom: 5px;
        }

        .results-count {
            color: #888;
            font-size: 14px;
        }

        .filter-btn {
            background-color: white;
            border: 1px solid #dcdcdc;
            border-radius: 20px;
            padding: 6px 15px;
            color: #555;
            font-size: 14px;
            font-weight: 600;
            display: inline-flex;
            align-items: center;
            gap: 8px;
        }

        .card-info {
            flex-grow: 1;
        }

        .rating-row {
            display: flex;
            justify-content: flex-start;
            align-items: center;
            gap: 10px;
            margin-bottom: 5px;
        }

        .premium-badge {
            background-color: #eaf4f4;
            color: #1a4a4d;
                white-space: nowrap;
            padding: 2px 10px;
            border-radius: 12px;
            font-size: 11px;
            font-weight: 700;
        }

        .party-name {
            color: #7f8c8d;
            font-size: 12px;
            font-weight: bold;
        }
        
        .party-name i {
            color: #c0a15a;
        }

        .entity-name {
            font-size: 14px;
            font-weight: 800;
            color: #1a4a4d;
            margin-bottom: 2px;
        }

.entity-desc {
    font-size: 13px;
    color: #6c757d;
    margin-bottom: 4px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    line-clamp: 1;
}

        .entity-loc {
            font-size: 12px;
            color: #bd2d30;
        }

        .btn-view:hover {
            background-color: #113335;
            color: white;
        }
        /* end Members of Parliament */

        /* start Artists */
        .categories-nav {
            display: flex;
            gap: 10px;
            overflow-x: auto;
            padding-bottom: 15px;
            margin-bottom: 20px;
            border-bottom: 3px solid #1a4a4d;
        }

        .categories-nav::-webkit-scrollbar {
            height: 4px;
        }

        .category-tab {
            padding: 8px 20px;
            border-radius: 30px;
            border: 1px solid #dcdcdc;
            color: #555;
            background-color: white;
            text-decoration: none;
            font-weight: 600;
            font-size: 14px;
            white-space: nowrap;
            transition: all 0.3s;
        }

        .category-tab.active {
            background-color: #bd2d30;
            color: white;
            border-color: #bd2d30;
        }

        .page-title {
            color: #1a4a4d;
            font-weight: 800;
            font-size: 28px;
            margin-bottom: 5px;
        }

        .results-count {
            color: #888;
            font-size: 14px;
        }

        .filter-btn {
            background-color: white;
            border: 1px solid #dcdcdc;
            border-radius: 20px;
            padding: 6px 15px;
            color: #555;
            font-size: 14px;
            font-weight: 600;
            display: inline-flex;
            align-items: center;
            gap: 8px;
        }


        .art-type {
            color: #bd2d30;
            font-size: 12px;
            font-weight: bold;
                white-space: nowrap;
        }
        
        .art-type i {
            color: #c0a15a;
            margin-left: 4px;
        }

        .card-divider {
            border-top: 1px solid #f0f0f0;
            margin: 15px 0;
        }

        .btn-contact {
            flex-grow: 1;
            background-color: #f8f9fa;
            border: 1px solid #e9ecef;
            color: #2c3e50;
            font-weight: 600;
            border-radius: 10px;
            padding: 8px;
            font-size: 14px;
            transition: 0.3s;
        }

        .btn-contact:hover {
            background-color: #e2e6ea;
        }

        .btn-view {
            width: 45px;
            height: 40px;
            background-color: #1a4a4d;
            color: white;
            border: none;
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: 0.3s;
        }

        .btn-view:hover {
            background-color: #113335;
            color: white;
        }
        /* end Artists */

        /* start Media */
        .categories-nav {
            display: flex;
            gap: 10px;
            overflow-x: auto;
            padding-bottom: 15px;
            margin-bottom: 20px;
            border-bottom: 3px solid #1a4a4d;
        }

        .categories-nav::-webkit-scrollbar {
            height: 4px;
        }

        .category-tab {
            padding: 8px 20px;
            border-radius: 30px;
            border: 1px solid #dcdcdc;
            color: #555;
            background-color: white;
            text-decoration: none;
            font-weight: 600;
            font-size: 14px;
            white-space: nowrap;
            transition: all 0.3s;
        }

        .category-tab.active {
            background-color: #bd2d30;
            color: white;
            border-color: #bd2d30;
        }

        /* تصميم الهيدر والفلتر */
        .page-title {
            color: #1a4a4d;
            font-weight: 800;
            font-size: 28px;
            margin-bottom: 5px;
        }

        .results-count {
            color: #888;
            font-size: 14px;
        }

        .filter-btn {
            background-color: white;
            border: 1px solid #dcdcdc;
            border-radius: 20px;
            padding: 6px 15px;
            color: #555;
            font-size: 14px;
            font-weight: 600;
            display: inline-flex;
            align-items: center;
            gap: 8px;
        }

        .card-top-content {
            display: flex;
            align-items: center;
            gap: 15px;
            margin-bottom: 15px;
        }

        .card-img-wrapper {
            flex-shrink: 0;
        }

        .card-img {
            width: 80px;
            height: 80px;
            border-radius: 50%;
            object-fit: cover;
            border: 2px solid #f8f9fa;
        }

        .media-type {
            color: #bd2d30;
            font-size: 12px;
            font-weight: bold;
               white-space: nowrap;

        }
        
        .card-divider {
            border-top: 1px solid #f0f0f0;
            margin: 15px 0;
        }

        .card-actions {
            display: flex;
            gap: 10px;
        }
        /* end Media */

.details-hero {
    background: linear-gradient(135deg, #0d47a1 0%, #002147 100%);
    padding: 60px 0;
    color: #fff;
    border-bottom: 5px solid #f9a826;
}

.entity-main-img {
    width: 140px;
    height: 140px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid #fff;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    background-color: #fff;
}

.info-card {
    background: #fff;
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    margin-bottom: 1.5rem;
    border: 1px solid #eee;
}

.info-card-title {
    font-size: 1.1rem;
    font-weight: 900;
    color: #004d40;
    margin-bottom: 1rem;
    border-bottom: 2px solid #f8f9fa;
    padding-bottom: 0.75rem;
}

.contact-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 800;
    padding: 12px;
    border-radius: 0.75rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-call {
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #c8e6c9;
}

    .btn-call:hover {
        background: #2e7d32;
        color: #fff;
    }

.btn-whatsapp {
    background: #e0f2f1;
    color: #00bfa5;
    border: 1px solid #b2dfdb;
}

    .btn-whatsapp:hover {
        background: #00bfa5;
        color: #fff;
    }

.branch-box {
    background: #f8f9fa;
    border-right: 4px solid #f9a826;
    padding: 1rem;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
}

.share-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff !important;
    transition: transform 0.3s ease;
    text-decoration: none !important;
}

    .share-icon:hover {
        transform: translateY(-3px);
    }

    .share-icon.facebook {
        background: #3b5998;
    }

    .share-icon.twitter {
        background: #1da1f2;
    }

    .share-icon.whatsapp {
        background: #25d366;
    }

    .share-icon.email {
        background: #7f8c8d;
    }

    .share-icon.print {
        background: #2c3e50;
    }

.text-teal-primary {
    color: #0d47a1;
}

.btn-facebook-new {
    background: #e8f0fe;
    color: #1877f2;
    border: 1px solid #d2e3fc;
}

    .btn-facebook-new:hover {
        background: #1877f2;
        color: #fff;
    }

.btn-twitter-new {
    background: #e1f5fe;
    color: #03a9f4;
    border: 1px solid #b3e5fc;
}

    .btn-twitter-new:hover {
        background: #03a9f4;
        color: #fff;
    }

.btn-instagram-new {
    background: #fce4ec;
    color: #e91e63;
    border: 1px solid #f8bbd0;
}

    .btn-instagram-new:hover {
        background: #e91e63;
        color: #fff;
    }

.btn-linkedin-new {
    background: #e3f2fd;
    color: #0077b5;
    border: 1px solid #bbdefb;
}

    .btn-linkedin-new:hover {
        background: #0077b5;
        color: #fff;
    }

.btn-youtube-new {
    background: #ffebee;
    color: #ff0000;
    border: 1px solid #ffcdd2;
}

    .btn-youtube-new:hover {
        background: #ff0000;
        color: #fff;
    }

.btn-website-new {
    background: #f1f8e9;
    color: #558b2f;
    border: 1px solid #dcedc8;
}

    .btn-website-new:hover {
        background: #558b2f;
        color: #fff;
    }

.gallery-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #eee;
    box-shadow: 0 2px 8px #0000000d;
    cursor: pointer;
}

.dir-nav-pills .dir-pill {
    display: inline-block;
    text-decoration: none;
}

.dir-nav-pills {
    scroll-behavior: smooth;
}

.paginationBlock .pagination {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
}