body {
    overflow-x: hidden !important;
}

summary {
    cursor: pointer;
    font-weight: 600;
}

summary::-webkit-details-marker {
    display: none;
}

.max-lines {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 5;
    overflow: hidden;
  }


.max-lines-card{
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
}

.tab-btn {
    color: #7a5f3b; /* muted gold text */
    background: transparent;
}

/* Hover effect */
.tab-btn:hover {
    color: #c39e6d;
    background-color: rgba(195, 158, 109, 0.1);
}

/* Active tab */
.tab-btn.active {
    color: #c39e6d;
    background-color: #fff;
    border-radius: 0.75rem; /* Tailwind rounded-lg */
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.max-lines-dest{
     display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    overflow: hidden;
}

.lg\:col-span-2 {
    /* اختياري: تحسين القراءة */
    line-height: 1.75;
}

.lg\:col-span-2 h1,
.lg\:col-span-2 h2,
.lg\:col-span-2 h3,
.lg\:col-span-2 h4,
.lg\:col-span-2 h5,
.lg\:col-span-2 h6 {
    font-weight: 700;
    color: #111827;
    /* gray-900 */
}

.lg\:col-span-2 h1 {
    font-size: 2.25rem;
}

.lg\:col-span-2 h2 {
    font-size: 1.875rem;
}

.lg\:col-span-2 h3 {
    font-size: 1.5rem;
}

.lg\:col-span-2 h4 {
    font-size: 1.25rem;
}


.lg\:col-span-2 p {
    font-size: 1.125rem;
    /* text-lg */
    color: #4b5563;
    /* text-gray-600 */
    margin-bottom: 1.5rem;
}


.lg\:col-span-2 ul {
    margin: 1.5rem 0;
    padding-left: 1.5rem;
}

.lg\:col-span-2 li {
    margin-bottom: 0.75rem;
    color: #4b5563;
}

/* container */
/* =========================
   Pagination Wrapper
========================= */
.custom-pagination {
    width: 100%;
}

/* =========================
   Nav Layout
========================= */
.custom-pagination nav {
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Lora', serif;
}

/* =========================
   Hide "Showing x to y of z results"
========================= */
.custom-pagination nav>div:first-child {
    display: none;
}

/* =========================
   Buttons Container
========================= */
.custom-pagination nav>div:last-child span.inline-flex {
    display: flex;
    gap: 0.5rem;
}

/* =========================
   Pagination Buttons
========================= */
.custom-pagination nav a,
.custom-pagination nav span[aria-current="page"] span,
.custom-pagination nav span[aria-disabled="true"] span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: 9999px;
    border: 1px solid #D4AF37;
    /* Gold */
    color: #D4AF37;
    background: transparent;
    transition: all 0.25s ease;
}

/* =========================
   Hover State
========================= */
.custom-pagination nav a:hover {
    background-color: #D4AF37;
    color: #ffffff;
}

/* =========================
   Active Page
========================= */
.custom-pagination nav span[aria-current="page"] span {
    background-color: #D4AF37;
    color: #ffffff;
    cursor: default;
}

/* =========================
   Disabled Prev / Next
========================= */
.custom-pagination nav span[aria-disabled="true"] span {
    opacity: 0.4;
    cursor: not-allowed;
}

/* =========================
   Arrows
========================= */
.custom-pagination svg {
    width: 18px;
    height: 18px;
}

/* =========================
   Mobile Fix
========================= */
@media (max-width: 640px) {
    .custom-pagination nav>div:last-child span.inline-flex {
        gap: 0.35rem;
    }

    .custom-pagination nav a,
    .custom-pagination nav span[aria-current="page"] span,
    .custom-pagination nav span[aria-disabled="true"] span {
        min-width: 36px;
        height: 36px;
        font-size: 14px;
    }
}


.blog-content h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 2rem 0 1rem;
}

.blog-content h2 {
    font-size: 2rem;
    font-weight: 600;
    margin: 1.75rem 0 1rem;
}

.blog-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 1.5rem 0 0.75rem;
}

.blog-content p {
    font-size: 1.125rem;
    line-height: 1.8;
    color: #4b5563;
    /* gray-600 */
    margin-bottom: 1.25rem;
}

.blog-content ul {
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.blog-content ul li {
    list-style: disc;
    margin-bottom: 0.5rem;
}

.blog-content img {
    border-radius: 0.75rem;
    margin: 2rem auto;
}
