
.home-category-area{
    background: #fff;
    padding:  65px 25px;
}
.home-leaders-area{
    padding: 80px 25px;
}
.home-leaders-area .section-header{
    display:flex;
    justify-content:space-between;
    align-items:flex-end;
    flex-wrap:wrap;
    gap:12px;
}
.counter-title{
    font-size:13px;
    margin-top:6px;
    font-weight:500;
}

.our-team-area{
    padding:0 25px 80px 25px;
    overflow: hidden;
}
.our-team-area .team-photo{
    overflow: hidden;
    height: 350px;
}
.our-team-area .team-photo img{
    width: 100%;
    height: auto;
    display: block;
}
.story-row{
    display: flex;
    flex-direction:column;
}
.story-list{
    display:flex;
    gap:20px;
}
.story-list-inner{
    display:flex;
    flex-direction:column;
    align-items:center;
    flex-shrink:0;
}
.story-list-year{
    font-size:12px;
    font-weight:700;
    color:var(--color-primary);
    margin-bottom:4px;
}
.story-list-title{
    font-size:16px;
    font-weight:800;
    margin-bottom:6px;
}
.story-list-info{
    font-size:14px;
    color:var(--color-text-muted);
    line-height:1.65;
}

.join-us-area{
    padding:70px 25px;
    overflow: hidden;
}
.post-card{
    position: relative;
}
.full-link{
    position: absolute;
    width: 100%;
    height: 100%;
    display: block;
    top: 0;
    left: 0;
}
.post-author-avatar{
    width: 40px;
    height: 40px;
}
/* ============================================================
   ADD / EDIT BUSINESS PAGE — extra styles
   ============================================================ */

/* Form grouping */
.form-group         { margin-bottom: 18px; }
.form-hint          { font-size: 11px; color: var(--color-text-faint); margin-top: 5px; line-height: 1.4; }
.gap-form-lg        { gap: 16px; }
.req                { color: #ef4444; }

/* Section headings */
.form-section-title {
    font-size: 18px; font-weight: 900;
    margin-bottom: 22px;
    display: flex; align-items: center; gap: 10px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--color-border-light);
}
.form-section-num {
    width: 28px; height: 28px;
    background: var(--color-primary); color: #fff;
    border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 13px; font-weight: 900;
    flex-shrink: 0;
}

/* Service rows */
.service-row-form {
    background: var(--color-body-bg);
    border: 1px solid var(--color-border-light);
    border-radius: 14px; padding: 20px;
    margin-bottom: 12px;
}
.service-row-header {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 12px;
}
.service-row-num {
    width: 24px; height: 24px;
    background: var(--color-primary); color: #fff;
    border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 12px; font-weight: 900;
}
.remove-row-btn {
    background: none;
    border: 1px solid var(--color-border-light);
    border-radius: 8px; padding: 4px 10px;
    font-size: 12px; cursor: pointer;
    color: var(--color-text-faint);
    transition: var(--transition);
}
.remove-row-btn:hover { border-color: #ef4444; color: #ef4444; }

/* Add row button */
.btn-add-row {
    background: none;
    border: 1.5px dashed var(--color-primary);
    border-radius: 10px; padding: 9px 18px;
    font-size: 13px; font-weight: 700;
    color: var(--color-primary); cursor: pointer;
    transition: var(--transition);
    margin-top: 4px;
}
.btn-add-row:hover { background: var(--color-indigo-light); }

/* Working hours rows */
.hours-row-form {
    display: flex; align-items: center;
    gap: 10px; margin-bottom: 8px; flex-wrap: wrap;
}

/* Specialization tags inline edit */
.spec-tag-edit {
    display: flex; align-items: center; gap: 4px;
    background: var(--color-indigo-light);
    border-radius: 9px; padding: 4px 10px;
}
.spec-input {
    border: none; background: transparent;
    font-size: 13px; font-weight: 700;
    color: var(--color-primary); width: 110px; outline: none;
}
.spec-remove {
    background: none; border: none; cursor: pointer;
    color: var(--color-primary); font-size: 16px;
    line-height: 1; padding: 0 2px;
    opacity: .6; transition: var(--transition);
}
.spec-remove:hover { opacity: 1; }

/* Gallery thumbnail (single-doc.php) */
.gallery-thumb {
    display: block; border-radius: 12px;
    overflow: hidden; aspect-ratio: 1;
    background: var(--color-body-bg);
    transition: var(--transition-lift);
}
.gallery-thumb:hover { transform: scale(1.03); }
.gallery-thumb img   { width: 100%; height: 100%; object-fit: cover; }

/* Cover edit button (single-doc.php owner) */
.cover-edit-btn {
    position: absolute; top: 20px; left: 20px;
    background: rgba(255,255,255,.15);
    backdrop-filter: blur(8px);
    color: #fff; padding: 8px 18px;
    border-radius: 10px; font-size: 13px;
    font-weight: 700; text-decoration: none;
    border: 1px solid rgba(255,255,255,.3);
    transition: var(--transition);
}
.cover-edit-btn:hover { background: rgba(255,255,255,.25); }

/* Status dot colors (overrides via inline style on the element) */
.status-text { font-size: 13px; font-weight: 700; color: var(--color-text-body); }

/* Alert boxes for form messages */
.alert-success {
    background: #f0fdf4; border: 1px solid #86efac;
    border-radius: 14px; padding: 16px 20px; margin-bottom: 24px;
}
.alert-error {
    background: #fef2f2; border: 1px solid #fca5a5;
    border-radius: 14px; padding: 16px 20px; margin-bottom: 24px;
}

/* Pagination */
.page-numbers {
    display: inline-flex; align-items: center;
    gap: 6px; margin: 0 3px;
    padding: 7px 13px; border-radius: 10px;
    font-size: 13px; font-weight: 700;
    background: var(--color-white);
    border: 1px solid var(--color-border-light);
    color: var(--color-text-body);
    transition: var(--transition);
}
.page-numbers:hover,
.page-numbers.current {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #fff;
}

/* Auth wall card */
.auth-wall-card {
    max-width: 480px; margin: 80px auto;
    padding: 48px; text-align: center;
}

/* business pending / draft banner */
.status-banner {
    border-radius: 14px; padding: 14px 20px;
    font-size: 13px; font-weight: 700;
    display: flex; align-items: center; gap: 10px;
    margin-bottom: 20px;
}
.status-banner-pending { background: #fffbeb; border: 1px solid #fde68a; color: #92400e; }
.status-banner-draft   { background: #f8fafc; border: 1px solid #e2e8f0; color: #64748b; }

/* Responsive tweaks for the add-business form */
@media (max-width: 640px) {
    .hours-row-form          { flex-direction: column; align-items: stretch; }
    .hours-row-form .form-input { width: 100%; }
    .form-section-title      { font-size: 16px; }
}

/* ============================================================
   GRID VIEW — results-grid (toggled by setView)
   ============================================================ */
.results-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 16px;
}
.results-grid .biz-row-card {
    flex-direction: column;
    border-radius: 16px;
}
.results-grid .biz-row-photo {
    width: 100%; height: 180px;
    border-radius: 12px 12px 0 0;
    flex-shrink: 0;
}
.results-grid .biz-row-photo img {
    width: 100%; height: 100%; object-fit: cover;
}
.results-grid .biz-row-body  { padding: 16px; }
.results-grid .biz-row-top   { flex-direction: column; gap: 10px; }

/* ============================================================
   STICKY HEADER scroll-shrink
   ============================================================ */
.site-header.scrolled,
header.scrolled {
    box-shadow: 0 2px 20px rgba(0,0,0,.08);
    background: rgba(255,255,255,.97);
    backdrop-filter: blur(10px);
}

/* ============================================================
   LIGHTBOX overlay (from JS)
   ============================================================ */
#tr-lightbox img {
    animation: lb-in .2s ease;
}
@keyframes lb-in {
    from { opacity: 0; transform: scale(.92); }
    to   { opacity: 1; transform: scale(1); }
}

/* ============================================================
   BUSINESS STATUS badge (in admin notices / front)
   ============================================================ */
.status-pending { color: #92400e; background: #fffbeb; border: 1px solid #fde68a; border-radius: 8px; padding: 3px 10px; font-size: 12px; font-weight: 700; }
.status-publish { color: #166534; background: #f0fdf4; border: 1px solid #86efac; border-radius: 8px; padding: 3px 10px; font-size: 12px; font-weight: 700; }
.status-draft   { color: #64748b; background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 8px; padding: 3px 10px; font-size: 12px; font-weight: 700; }

/* ============================================================
   COVER WRAP – positions the edit button absolutely
   ============================================================ */
.cover-wrap { position: relative; }

/* ============================================================
   ACF FIELD LABEL fix (admin, RTL)
   ============================================================ */
.acf-field .acf-label label { font-weight: 700; }
