.section-intro-card {
    background: #fff;
    border-radius: 24px;
    padding: 28px;
    box-shadow: 0 10px 35px rgba(0,0,0,.06);
}

.section-intro-card h2 {
    margin-bottom: 14px;
  font-size: 26px;

}

.section-intro-card p {
    margin-bottom: 0;
    line-height: 1.9;
    color: #5f6470;
}

.section-intro-more {
    display: none;
}

.section-intro-card.is-expanded .section-intro-more {
    display: inline;
}

.section-intro-card.is-expanded .section-intro-dots {
    display: none;
}

.section-intro-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    border: 0;
    background: transparent;
    font-weight: 700;
    padding: 0;
    cursor: pointer;
}

.featured-tours-grid {
    align-items: stretch;
}

.featured-tour-card {
    height: 100%;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .08);
    transition: transform .3s ease, box-shadow .3s ease;
}

.featured-tour-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 42px rgba(0, 0, 0, .12);
}

.featured-tour-media {
    position: relative;
    overflow: hidden;
}

.featured-tour-media img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
    transition: transform .6s ease;
    background: #f2f2f2;
}

.featured-tour-card:hover .featured-tour-media img {
    transform: scale(1.05);
}

.featured-tour-body {
    display: flex;
    flex-direction: column;
    height: calc(100% - 260px);
}

.featured-tour-title {
    margin: 10px 0;
}

.featured-tour-desc {
    color: #616673;
    line-height: 1.8;
    margin-bottom: 18px;
}

.featured-tour-link {
    margin-top: auto;
}

.load-more-status {
    text-align: center;
    padding: 24px 0 10px;
    color: #667085;
    font-weight: 600;
}

.loader-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: currentColor;
    margin: 0 3px;
    animation: loaderBounce 1.2s infinite ease-in-out;
}

.loader-dot:nth-child(2) {
    animation-delay: .15s;
}

.loader-dot:nth-child(3) {
    animation-delay: .3s;
}

@keyframes loaderBounce {
    0%, 80%, 100% { transform: scale(0.7); opacity: .4; }
    40% { transform: scale(1); opacity: 1; }
}

@media (max-width: 991.98px) {
    .featured-tour-media img {
        height: 240px;
    }

    .featured-tour-body {
        height: calc(100% - 240px);
    }

    .section-intro-card {
        padding: 24px;
        border-radius: 20px;
    }
}
@media (max-width: 767.98px) {
    .section-intro-card {
        padding: 20px;
        border-radius: 18px;
    }

    .featured-tour-media img {
        height: 220px;
    }

    .featured-tour-body {
        height: calc(100% - 220px);
    }
}
/* إضافات تصميم الأقسام والـ pagination - ضعها داخل /assets/css/categories.css أو أضفها لنهاية ملفك الحالي */
.category-toolbar{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;
    margin-bottom:28px;
    padding:22px 24px;
    border:1px solid rgba(15,23,42,.08);
    border-radius:24px;
    background:linear-gradient(135deg,#fff,rgba(248,250,252,.92));
    box-shadow:0 18px 45px rgba(15,23,42,.07);
}
.category-toolbar span{
    display:inline-flex;
    align-items:center;
    gap:8px;
    margin-bottom:6px;
    color:#b67a2f;
    font-weight:700;
    font-size:13px;
    text-transform:uppercase;
    letter-spacing:.08em;
}
.category-toolbar h2{margin:0;font-size:clamp(24px,3vw,36px);line-height:1.15;color:#102033;}
.category-back-link,.category-card-link{
    display:inline-flex;
    align-items:center;
    gap:8px;
    font-weight:700;
    text-decoration:none;
    color:#102033;
}
.category-back-link{
    padding:12px 16px;
    border-radius:999px;
    background:#fff;
    border:1px solid rgba(15,23,42,.08);
    box-shadow:0 10px 28px rgba(15,23,42,.06);
}
.category-grid{align-items:stretch;}
.category-card{
    position:relative;
    overflow:hidden;
    border-radius:28px;
    background:#fff;
    border:1px solid rgba(15,23,42,.08);
    box-shadow:0 18px 45px rgba(15,23,42,.08);
    transition:transform .25s ease, box-shadow .25s ease;
}
.category-card:hover{transform:translateY(-6px);box-shadow:0 24px 60px rgba(15,23,42,.12);}
.category-card-media{position:relative;display:block;height:240px;overflow:hidden;background:#eef2f7;}
.category-card-media img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .45s ease;}
.category-card:hover .category-card-media img{transform:scale(1.06);}
.category-card-media::after{
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(180deg,rgba(0,0,0,0) 45%,rgba(0,0,0,.55) 100%);
}
.category-card-badge{
    position:absolute;
    left:18px;
    bottom:18px;
    z-index:2;
    display:inline-flex;
    align-items:center;
    gap:8px;
    padding:9px 13px;
    border-radius:999px;
    color:#fff;
    background:rgba(16,32,51,.78);
    backdrop-filter:blur(10px);
    font-weight:700;
    font-size:13px;
}
.category-card-body{padding:22px 22px 24px;}
.category-card-body h3{margin:0 0 10px;font-size:21px;line-height:1.25;}
.category-card-body h3 a{color:#102033;text-decoration:none;}
.category-card-body p{margin:0 0 18px;color:#5f6b7a;line-height:1.7;}
.category-card-link{color:#b67a2f;}
.bt-pagination-wrap{display:flex;justify-content:center;margin-top:36px;}
.bt-pagination{display:flex;align-items:center;gap:8px;list-style:none;padding:0;margin:0;flex-wrap:wrap;}
.bt-pagination a,.bt-pagination span{
    min-width:42px;
    height:42px;
    padding:0 12px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    border-radius:14px;
    background:#fff;
    border:1px solid rgba(15,23,42,.09);
    color:#102033;
    font-weight:800;
    text-decoration:none;
    box-shadow:0 10px 24px rgba(15,23,42,.06);
}
.bt-pagination a.active,.bt-pagination a:hover{background:#102033;color:#fff;}
.empty-state-card{
    max-width:760px;
    margin:0 auto;
    text-align:center;
    padding:46px 30px;
    border-radius:28px;
    background:#fff;
    border:1px solid rgba(15,23,42,.08);
    box-shadow:0 18px 45px rgba(15,23,42,.08);
}
.empty-state-card i{font-size:44px;color:#b67a2f;}
.empty-state-card h2{margin:14px 0 8px;color:#102033;}
.empty-state-card p{color:#64748b;margin-bottom:20px;}
.section-kicker{
    display:inline-flex;
    color:#b67a2f;
    font-weight:800;
    text-transform:uppercase;
    letter-spacing:.08em;
    font-size:12px;
    margin-bottom:8px;
}
.section-intro-text{color:#526070;line-height:1.8;}
.section-intro-text h2,.section-intro-text h3,.section-intro-text h4{color:#102033;margin-top:18px;}
.section-intro-text a{color:#b67a2f;font-weight:700;}
@media(max-width:767px){
    .category-toolbar{align-items:flex-start;flex-direction:column;padding:18px;border-radius:20px;}
    .category-card-media{height:210px;}
}


/* Intro read more */
.category-intro-readmore {
    position: relative;
    line-height: 1.9;
}

.category-intro-toggle {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-inline-start: 8px;
    border: 0;
    background: transparent;
    color: var(--primary-color, #b8860b);
    font-weight: 700;
    cursor: pointer;
    padding: 0;
    white-space: nowrap;
}

.category-intro-toggle:hover {
    text-decoration: underline;
}

.category-intro-toggle i {
    font-size: 14px;
    transition: transform .25s ease;
}

.category-intro-toggle.is-open i {
    transform: rotate(180deg);
}

/* Smaller toolbar title */
.category-toolbar-heading span {
    display: block;
    font-size: 13px;
    line-height: 1.3;
    font-weight: 600;
    letter-spacing: .02em;
    opacity: .72;
}

.category-toolbar-heading h2 {
    font-size: clamp(20px, 2vw, 28px);
    line-height: 1.25;
    margin: 4px 0 0;
}




/* عنوان الكارت الرئيسي */
.listing-shell .tour-grid-layout .section-intro-card > h2 {
    font-size:22px !important;
    line-height: 1.25 !important;
    font-weight: 800 !important;
    margin-bottom: 18px !important;
}

/* أي H2 داخل وصف التصنيف */
.listing-shell .section-intro-card .category-intro-html h2 {
    font-size: 26px !important;
    line-height: 1.35 !important;
    font-weight: 800 !important;
    margin: 18px 0 12px !important;
}

/* H3 داخل الوصف */
.listing-shell .section-intro-card .category-intro-html h3 {
    font-size: 22px !important;
    line-height: 1.35 !important;
    font-weight: 700 !important;
    margin: 16px 0 10px !important;
}

/* Tablet */
@media (max-width: 991px) {
    .listing-shell .tour-grid-layout .section-intro-card > h2 {
        font-size: 28px !important;
    }

    .listing-shell .section-intro-card .category-intro-html h2 {
        font-size: 24px !important;
    }

    .listing-shell .section-intro-card .category-intro-html h3 {
        font-size: 21px !important;
    }
}

/* Mobile */
@media (max-width: 575px) {
    .listing-shell .tour-grid-layout .section-intro-card > h2 {
        font-size: 24px !important;
        line-height: 1.3 !important;
    }

    .listing-shell .section-intro-card .category-intro-html h2 {
        font-size: 21px !important;
        line-height: 1.35 !important;
    }

    .listing-shell .section-intro-card .category-intro-html h3 {
        font-size: 19px !important;
        line-height: 1.35 !important;
    }
}