/* header,
.main-header,
.navbar,
.nav-bar {
    z-index: 1 !important;
    position: relative;
} */


/* for article page styles */

.article-banner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    height: 50vh; /* control height here */

    background-repeat: no-repeat;
    background-position: center;
    background-size: cover !important;

    position: relative;
    margin-top: 120px;
    z-index: 1;

}
.article-tag-top-space{
    margin-top:70px; 
    margin-bottom:30px;
}
/* .article-banner img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 15px;
    object-position: center;
} */

.article-banner::before {
    content: "";
    position: absolute;
    background: rgba(0, 39, 57, 0.75);
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}
.article-card-section{
     margin-top: 25px;
     margin-bottom: 50px;
}
.article-card-section-tag{
     margin-top: 20px;
     margin-bottom: 50px;
}
.articles-section {
    padding-top: 20px;
}
.article-item {
    position: relative;
    padding: 20px;
    border-radius: 20px;
    background: #f7f5f5;
    text-align: center;
    transition: var(--transition);
    margin-bottom: 50px;
    z-index: 1;
}

.article-area2 .article-item-wrap {
    position: relative;
    padding-top: 25px;
}
.article-content {
    position: relative;
     padding-bottom: 20px;
}

.article-arrow{
    margin-top: 20px; 
    position: absolute;
    left: 50%;
    bottom: -45px;
    transform: translateX(-50%);
    /* border: 10px solid #00283a;  */
    border-radius: 50px;
}

.article-area2 .article-arrow {
    border-color: #f5f7fa;
    border-radius: 20px;
}
.theme-btn {
    font-size: 16px;
    color: #fff;
       transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    text-transform: capitalize;
    position: relative;
    border-radius: 15px;
    vertical-align: middle;
    font-weight: 500;
    cursor: pointer;
    text-align: center;
   
    border: none;
    background:#0cb8b6;
    box-shadow: var(--box-shadow);
    z-index: 1;
    white-space: nowrap;
    display: inline-block;
    padding: 12px 25px;
}
.theme-btn:hover {
    font-weight: 700;
    color: #fff;
}
.py-10 {
    padding: 10px 0;
}

.article-area2.bg {
    background-color: #fff;
}
.article-item{
  --transition: all 0.5s ease-in-out;
}

.article-item .article-img img {
  transition: var(--transition);
}

.article-item:hover .article-img img {
  transform: scale(1.5) rotate(10deg);
}
.article-img {
    width: 100%;
    aspect-ratio: 1200 / 628; 
    overflow: hidden;
    border-radius: 15px;
    position: relative;
}
.article-img img{
  border-radius: 15px;
  width: 100%;
    height: 100%;
    object-fit: cover; 
}
.banner-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2; /* IMPORTANT: above overlay */
    text-align: center;
    color: #fff;
}

.banner-content h2 {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 10px;
}

.banner-content p {
    font-size: 18px;
}

.banner-content a {
    color: #fff;
    text-decoration: none;
}

.banner-content a:hover {
    text-decoration: underline;
}
.article-banner .breadcrumb-title {
  font-size: 45px;
  color: var(--color-white);
  font-weight: 700;
  margin-bottom: 10px;
  text-transform: capitalize;
}
.article-details-wrap {
    /* max-width: 800px; */
    margin: auto;
    text-align: left;
}

.details-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 20px;
    margin-top: 10px;
}

.article-details h2 {
    font-size: 28px;
    margin-bottom: 15px;
}

.article-details p {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
}
.py-30 {
    padding: 30px 0;
}
.banner-content .current {
    color: #fff;
    text-decoration: none;
    cursor: default;
}

.banner-content .current {
    color: #fff;
    cursor: default;
}
.banner-content a.active {
    color: #0cb8b6;        
    pointer-events: none;
    cursor: default;    
    text-decoration: none; 
    white-space: nowrap;
}
/* Meta (author + date) */
.article-meta {
    display: flex;
    justify-content: center;
    gap: 15px;
    font-size: 13px;
    color: #777;
    margin-bottom: 10px;
}

.article-meta i {
    margin-right: 5px;
    color: #0cb8b6;
}

/* Title spacing */
.article-title {
    font-size: 18px;
    margin-bottom: 10px;
}

/* Description */
.article-text {
    font-size: 14px;
    color: #555;
}

/* Stats (views + likes) */
.article-stats {
    display: flex;
    justify-content: center;
    gap: 20px;
    font-size: 13px;
    margin-top: 10px;
    color: #666;
}

.article-stats i {
    margin-right: 5px;
    color: #ff6b6b;
}

/* Title → max 2 lines with ... */
/* Title → 2 lines */
.article-title {
    display: -webkit-box;
    display: box; /* fallback */

    -webkit-box-orient: vertical;
    box-orient: vertical;

    -webkit-line-clamp: 2;  /* for Chrome/Safari */
    line-clamp: 2;          /* standard property */

    overflow: hidden;
    text-overflow: ellipsis;
}

/* Description → 3 lines */
.article-text {
    display: -webkit-box;
    display: box;

    -webkit-box-orient: vertical;
    box-orient: vertical;

    -webkit-line-clamp: 3;
    line-clamp: 3;

    overflow: hidden;
    text-overflow: ellipsis;
}
.articleStatClinicIcon{
    color: #08a7a2;
}
.articleStatVideoLikeIcon{
    color: #f64263;
}

@media(max-width: 991px){
    .article-title {
        font-size: 16px;
    }
    .theme-btn {
        font-size: 14px;
    }
    .article-banner .breadcrumb-title {
        font-size: 20px;
    }
    .banner-content p {
        font-size: 16px;
    }
    .article-tag-top-space{
        margin-top:50px; 
        margin-bottom:20px;
    }
}

.article-search-box {
    margin: 30px 0;
}

.search-wrapper {
    display: flex;
     width: 100%;  
    /* border: 1px solid #0cb8b6;           */
    /* border-radius: 30px;          */
    overflow: hidden;                /* join input + button */
    transition: 0.3s;
}

.search-input {
    /* border-radius: 30px 0 0 30px; */
    padding: 12px 15px;
    /* border: 1px solid #0cb8b6; */
}

.search-wrapper :focus {
    outline: none;
    border-color: #5fe3e1;
}

.search-btn {
    border: none;
    background: #0cb8b6;
    color: #fff;
    padding: 0px 20px;
    /* border-radius: 0 30px 30px 0; */
    cursor: pointer;
    transition: 0.3s;
    
   display: flex;
    align-items: center;
    gap: 6px; /* space between icon & text */
    white-space: nowrap 
}

.search-btn:hover {
    background: #2ecfcd;
}

.search-input {
    border-radius: 0rem; /* Remove border-radius */
}
/* Filter Box Styling */
.filter-box {
    margin-top: 1.3rem;
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    border: 1px solid #eee;
     display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.filter-title {
    margin-bottom: 15px;
    font-weight: 600;
}

.filter-group label {
    font-weight: 500; 
    margin-bottom: 5px; 
    display: block; 
}

/* General Styling for Filter Inputs and Select Dropdowns */
.filter-group input,
.filter-group select {
    width: 100%; 
    padding: 8px;
    border-radius: 6px;
    border: 1px solid #ddd;
    font-size: 14px;
}

/* Focus State for the Form-Control (including Select) */
.form-control:focus {
    border-color: #0cb8b6 !important;
    box-shadow: 0 0 0 0.2rem rgba(12, 184, 182, 0.25) !important;
}

.select2-container--default .select2-selection--single {
    border: 1px solid #ddd; 
    height: 40px; 
    border-radius: 6px;
    padding-right: 30px; 
    background: #fff;
    display: flex;
    align-items: center;
}

.select2-container--default .select2-selection__arrow {
    top: 10px; 
    right: 10px; 
    width: 20px;
    height: 20px;
    background-color: transparent;
    border-left: 4px solid #0cb8b6;
}

.select2-container--default.select2-container--focus .select2-selection--single {
    border-color: #0cb8b6; 
    box-shadow: 0 0 0 2px rgba(12, 184, 182, 0.2); 
}

/*Hover Effect on Dropdown Options */
.select2-container--default .select2-results__option--highlighted {
    background-color: #0cb8b6 !important; 
    color: #fff;
}

/* Selected Option Style */
.select2-container--default .select2-results__option--selected {
    background-color: #0cb8b6 !important; 
    color: #fff;
}

.select2-container--default .select2-search__field:focus {
    border-color: #0cb8b6; 
    outline: none; 
}

.filter-group {
    margin-top:10px;
    margin-bottom: 15px;
}
.select2-container--default .select2-selection--single .select2-selection__arrow {
    display: none !important; 
}
.filter-title {
    color: #0cb8b6;
}
.tag-badge {
    display: inline-block;
    background-color: #ff2a65; 
    color: #fff; 
    padding: 2px 8px;
    font-size: 13px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.tag-badge:hover {
    background-color: #e7668a; 
    color: #fff;
}
.article-tags {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto; 
    gap: 8px; 
    padding: 10px 5px;
    align-items: center; 
    width: 100%; 
 
}

.tag-badge {
    margin-right: 6px;
       min-width:150px;
}

.tag-badge {
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}
.select2-container--default .select2-selection--multiple {
    background-color: white;
    border: 1px solid #ddd;
}
.select2-container--default .select2-results__option[aria-selected=true], 
.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: rgba(12, 184, 182, 0.1);
    color: white;  /* Make text white */
}
.select2-container--default.select2-container--focus .select2-selection--multiple {
    border: solid #0cb8b6 1px;
    outline: 0;
    box-shadow: 0 0 0 2px rgba(12, 184, 182, 0.2);
}
.select2-container--default .select2-selection--multiple .select2-selection__choice {
    background-color: #fff; 
    border: 0px solid #aaa;
    color: black;
    }
   .select2-container--default .select2-selection--multiple .select2-selection__clear {
    display: none;
}
.category-select + .select2-container .select2-selection--multiple .select2-search__field {
    padding-left: 8px; 
}
.select2-container--default .select2-selection--multiple .select2-selection__rendered {
    color: #999;
}
.reset-filters-btn {
    background-color: #ff2a65; 
    border: none;            
    color: white;     
    padding: 10px 20px;    
    font-size: 16px;       
    cursor: pointer;       
    transition: background-color 0.3s ease; 
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

.reset-filters-btn:hover {
    background-color: #08a7a2;
}

/* Flexbox container for search and sort */
.article-search-sort-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* margin-top: 20px; */
    padding:0px;
}

/* Search form settings */
.search-form-left {
    flex: 1;
    /* margin-right: 80px; */
}


.search-input {
    flex: 1;
    width: 100%;
}

/* Custom Sort Button */
.sort-dropdown .btn-sort {
  min-width: 300px;        
  text-align: left;       
  background-color: #fff;
  border: 1px solid #ddd;
  color: #333;
  border-radius: 4px;
  padding: 6px 12px;
  padding-right: 30px; 
  position: relative;
}

/* Override Bootstrap’s default caret spacing */
.sort-dropdown .btn-sort::after {
  position: absolute;
  right: 10px;           
  top: 50%;
  transform: translateY(-50%);
  margin-left: 0;     
}

/* Hover/Focus for Sort Button */
.sort-dropdown .btn-sort:hover,
.sort-dropdown .btn-sort:focus {
    background-color: #08a7a2;
    color: #fff;
}
.sort-dropdown {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sort-label {
  font-weight: 600;
  color: #797979; /* muted label color */
}

.sort-dropdown .btn-sort {
  min-width: 200px;        
  text-align: left;       
  background-color: #fff;
  border: 1px solid #ddd;
  color: #333;
  border-radius: 4px;
  padding: 6px 12px;
  padding-right: 30px; 
  position: relative;
}

.sort-dropdown .dropdown-menu {
   min-width: 200px;   /* matches your button min-width */
  width: auto;  
}
/* Dropdown Menu Styles */
.dropdown-menu {
    border: 1px solid #ddd;
    border-radius: 4px;
}

/* Dropdown Item Styling */
.dropdown-item {
    color: #333;
}

/* Hover Effect for Dropdown Item */
.dropdown-item:hover {
    background-color: #08a7a2;
    color: #fff;
}
.dropdown-menu .dropdown-item.active,
.dropdown-menu .dropdown-item:active {
    background-color: #08a7a2;
    color: #fff; /* text color when active */
}
.dropdown-menu .dropdown-item:hover {
    background-color: rgba(8, 167, 162, 0.1);
    color: #08a7a2;
}
.mobile-filter {
    position: fixed;
    top: 0;            
    left: -100%;       
    width: 85%;
    height: 100vh;
    background: #fff;
    z-index: 9999999;
    transition: left 0.3s ease;
    box-shadow: 2px 0 10px rgba(0,0,0,0.1);
    padding: 15px;
    overflow-y: auto;
}

.mobile-filter.active {
    left: 0;             /* visible state */
}

.filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.close-btn {
    font-size: 24px;
    cursor: pointer;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: #08a7a2 !important;
    color: #fff !important;
}

@media (max-width: 767px) {

    .article-search-sort-box {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    /* Remove desktop spacing */
    .search-form-left {
        margin-right: 0;
        /* width: 100%; */
    }

    /* Make search full width */
    .search-wrapper {
        width: 100%;
    }

    /* Make sort full width */
    .sort-dropdown {
        width: 100%;
    }

    .sort-dropdown .btn-sort {
        width: 100%;
    }
    
    
    .search-filter-mobile {
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .search-filter-mobile .search-form {
        flex: 1;
        margin-right: 0;
    }

    .search-filter-mobile .search-wrapper {
        display: flex;
        width: 100%;
    }

    .search-filter-mobile .search-input {
        flex: 1;
    }

    .search-filter-mobile .search-btn {
        white-space: nowrap;
    }

    .search-filter-mobile button {
        background-color: #08a7a2;
        color: #fff;
        border: none;
    }
    .article-banner {
        height: 30vh; 
    }
    .sort-label {
    white-space: nowrap;
    }
}

.select2-container--default .select2-selection--multiple {
    border: 1px solid #ddd;
}


.glider {
  overflow: hidden;
}

.glider .tag-badge {
  margin-right: 8px;
  white-space: nowrap;
}

.glider-contain {
  position: relative;
}

.glider-prev,
.glider-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #08a7a2;
  color: #ddd;
  border: none;
  padding: 4px 8px;
  cursor: pointer;
}

.glider-prev,
.glider-next {
  display: none !important;
}

.glider-slide {
    min-width: 120px !important;
}
.glider:not(.glider-draggable) {
  justify-content: center;
}
.glider {
  touch-action: pan-x;
  -webkit-overflow-scrolling: touch;
}

@media (max-width: 767px) {
    .glider-prev,
    .glider-next {
    display: block !important;
    }
    .glider-slide {
        min-width: 120px !important;
    }
   
    .glider-next {
        right: -20px !important;
    }
    .glider-prev {
        left: -20px !important;
    }
    .article-card-section {
        margin-top: 25px;
        margin-bottom: 0px;
    }
    
}
.glider-prev:focus,
.glider-next:focus {
  outline: none;
  box-shadow: none;
}
.tag-header {
    /* margin-bottom: 20px; */
    text-align: left; 
}

.tag-title {
    margin: 0;
    font-size: 16px;
    font-weight: 500;
    color: #333;
    text-align: center;
    /* margin-top:20px; */
}

.tag-highlight {
    color: #e63946;
    font-weight: 600;
    margin-left: 5px;
}
.search-btn .btn-text {
    display: inline;
}
.badge-article-details {
    display: inline-block;
    background-color: #ff2a65;
    color: #fff;
    padding: 2px 8px;
    font-size: 13px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}
.hash{
    margin-right:2px;
}
@media (max-width: 768px) {
    .search-btn .btn-text {
        display: none;
    }
    .filter-btn {
    width: 42px;
    height: 32px;
    background-color: #08a7a2; 
    border: none;
    border-radius: 4px; 
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    cursor: pointer;
    }

    /* icon size */
    .filter-btn i {
        font-size: 16px;
    }

    .filter-btn {
        margin-left: 15px;
    }
    .badge-article-details {
        white-space: nowrap;
    }
}

.article-item-details {
    margin-top: 20px;
    border: 1px solid #e0e0e0; 
    border-radius: 8px;      
    padding: 20px;        
    background-color: #fff; 
    justify-content: center;  
     /* display: flex; */
    justify-content: center;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);  
}
.service-text {
    text-align: center;
}

.related-article-item {
    padding: 15px;
  background: #f4f6f8;
  border-radius: 20px;
  overflow: hidden;
  padding-bottom: 20px;
  transition: 0.3s;
  height: 100%;
  text-align: center;
}

.related-article-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}
/* Image */
.related-article-img img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 20px;
  padding: 10px;
}
/* Content spacing */
.related-article-content {
  padding: 10px 20px;
}

/* Title */
.related-article-title {
  font-size: 18px;
  font-weight: 600;
  margin: 10px 0;
  color: #222;
}

/* Description */
.related-article-text {
  font-size: 14px;
  color: #666;
  margin-bottom: 10px;
   text-align: justify;
}

/* Meta */
.related-article-meta {
    text-align: center;
  font-size: 13px;
  color: #777;
  display: flex;
  gap: 15px;
  align-items: center;
}

/* Stats */
.related-article-stats {
  font-size: 13px;
  color: #888;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}

.related-article-stats i {
  color: #ff4d6d;
}

/* Make whole card clickable */
.related-article-link {
  text-decoration: none;
  color: inherit;
  display: block;
  padding: 10px;
}

/* Fix spacing between slider cards */
.related-slider .related-article-link {
  padding: 10px;
}
.related-article-meta,
.related-article-stats {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap; /* prevents breaking on small screens */
  gap: 10px;
  text-align: center;
}

/* Force span alignment consistency */
.related-article-meta span,
.related-article-stats span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.related-section-title{
    margin-top:20px;
    color: #ff4d6d;
}
.article-disclaimer-tags{
    margin-top:20px;
}

.share-wrapper { position: relative; }

.share-toggle-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 13px;
    font-weight: 600;
    padding: 8px 18px;
    border-radius: 8px;
    border: 1.5px solid #08a7a2;
    background: #fff;
    color: #08a7a2;
    cursor: pointer;
    transition: all .2s;
}
.share-toggle-btn:hover { background: #08a7a2; color: #fff; }

.share-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    padding: 8px;
    min-width: 180px;
    z-index: 100;
    opacity: 0;
    transform: translateY(6px);
    pointer-events: none;
    transition: all .2s;
}
.share-dropdown.open { opacity: 1; transform: translateY(0); pointer-events: all; }

.share-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    color: #333;
    text-decoration: none;
    border: none;
    background: none;
    width: 100%;
    cursor: pointer;
    transition: background .15s;
}
.share-option:hover { background: #f5f5f5; color: #333; }

.share-icon {
    width: 28px; height: 28px;
    border-radius: 7px;
    display: flex; align-items: center; justify-content: center;
    font-size: 13px; color: #fff; flex-shrink: 0;
}
.wa-icon   { background: #25D366; }
.fb-icon   { background: #1877F2; }
.tw-icon   { background: #1DA1F2; }
.copy-icon { background: #555; }
.share-divider { border: none; border-top: 1px solid #f0f0f0; margin: 4px 0; }

.article-top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: #f5f5f5;
    border-radius: 6px;
    text-decoration: none;
    color: #333;
    font-weight: 500;
}

.share-wrapper {
    position: relative;
}


.back-btn-article {
    white-space: nowrap;
    font-size: 14px;
    color: #08a7a2;
    text-decoration: none;
    font-weight: 600;
}
.article-title-author{
    font-size: 20px;
}
.disclaimer-card {
    background: #fff5f7; /* very light pink shade */
    border: 1px solid #ffccd5; /* soft border */
    border-left: 5px solid #ff4d6d; /* main highlight color */
    padding: 15px 18px;
    border-radius: 8px;
    margin-top: 20px;
}

.disclaimer-title {
    color: #ff4d6d;
    font-size: 15px;
    display: block;
    margin-bottom: 6px;
}

.disclaimer-text {
    color: #555;
    font-size: 14px;
    line-height: 1.6;
}
.author-card {
    border-radius: 14px;
    padding: 20px;

    /* outer subtle gradient border */
    background: linear-gradient(15deg, #ffd6de,   #d9f5f3 );
}
.author-avatar {
    width: 64px;
    height: 64px;
    /* border-radius: 50%; */
    overflow: hidden;
    flex-shrink: 0;

    /* soft premium look */
    border: 2px solid #f1f1f1;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);

    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
}

.author-img {
    width: 20%;
    height: 20%;
    object-fit: cover;
}
.author-header {
    display: flex;
    align-items: center;  
    justify-content: center; 
    gap: 12px;
    text-align: center;    
}
.author-meta{
  display: flex;
  justify-content: center;  
  align-items: center;
  width: 100%;
}


/* for dummy add section */
.ads-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: sticky;
    top: 100px;
}

.ad-label {
    font-size: 12px;
    text-transform: uppercase;
    color: #999;
    letter-spacing: 1px;
}

.ad-box {
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    overflow: hidden;
}

.google-ad-slot {
    padding: 10px;
}

.ad-placeholder {
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: repeating-linear-gradient(
        45deg,
        #f7f7f7,
        #f7f7f7 10px,
        #ffffff 10px,
        #ffffff 20px
    );
    color: #888;
    font-weight: 600;
    border-radius: 8px;
}
@media (max-width: 767px) {
  .ads-section {
    display: none;
  }
  .article-details-title {
    margin-top: 13px;
    font-size: 20px;
    font-weight: 600;
    color: #222;
    line-height: 1.4;
}
    .related-section-title{
        font-size: 20px;
    }
    .details-img {
        width: 100%;
        height: 200px;
    }
}


/* Description → 3 lines */
.related-article-text {
    display: -webkit-box;
    display: box;

    -webkit-box-orient: vertical;
    box-orient: vertical;

    -webkit-line-clamp: 2;
    line-clamp: 2;

    overflow: hidden;
    text-overflow: ellipsis;
}
.article-meta {
    margin-top:10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.meta-left{
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.meta-left span
{
    display: flex;
    align-items: center;
    gap: 5px;
    color: #666;
    font-size: 14px;
}

.meta-right-like-views {
  display: flex;
  gap: 10px;
  align-items: center;
}

.meta-right-like-views span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 6px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 500;
  color: #fff;
}

.meta-right-like-views .views {
  background: #08a7a2; /* green */
}

.meta-right-like-views .likes {
  background: #08a7a2; /* pink/red */
}

.meta-right-like-views i {
  font-size: 14px;
}
.article-meta .fa-eye{
    margin-right: 5px;
    color: #fff;
}
.article-meta .fa-heart{
    margin-right: 5px;
    color: #fff;
}
.meta-left span:first-child {
    max-width: 180px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
@media (max-width: 600px) {
    .article-meta {
        flex-direction: row;
        align-items: flex-start;
    }

    .meta-right-like-views {
        width: 100%;
        justify-content: flex-start;
    }
}
.related-tags {
     display: flex;
    justify-content: center; 
    flex-wrap: wrap;
    gap: 6px;
    margin: 8px 0;

    max-height: 50px;   /* prevents card stretching */
    overflow: hidden;   /* hides extra tags */
}

.tag-badge-realted {
    display: inline-block;
    background-color: #ff2a65; 
    color: #fff; 
    padding: 2px 8px;
    font-size: 13px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.tag-badge-realted:hover {
    background-color: #e7668a; 
    color: #fff;
}
.tag-badge-realted {
    margin-right: 6px;
}

.tag-badge-realted {
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}
.related-tags .tag-badge-realted {
  margin-right: 8px;
  white-space: nowrap;
    overflow: hidden;
}



.related-tags .tag-badge-realted {
  margin-right: 8px;
  white-space: nowrap;
  min-width: 130px;
}

.related-tags  {
  position: relative;
}

.glider-prev-tags,
.glider-next-tags {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  /* background: #08a7a2; */
  color: #ddd;
  padding: 4px 8px;
  cursor: pointer;
  display: none !important;
}

.related-tags:not(.glider-draggable) {
  justify-content: center;
}
.related-tags {
  touch-action: pan-x;
  -webkit-overflow-scrolling: touch;
}

@media (max-width: 767px) {
    .glider-next,.glider-prev {
    position: absolute;
    background: 0 0;
    z-index: 2;
    font-size: 40px;
    text-decoration: none;
    cursor: pointer;
    color: #666;
    opacity: 1;
    line-height: 1;
    transition: opacity .5s cubic-bezier(.17, .67, .83, .67), color .5s cubic-bezier(.17, .67, .83, .67);
}
 .article-meta {
        flex-direction: row;
        align-items: flex-start;
    }

    .meta-left,
    .meta-right {
        width: 100%;
        justify-content: flex-start;
        gap: 8px;
    }

    /* hide separators on mobile */
    .divider {
        display: none;
    }

    .meta-left span,
    .meta-right span {
        font-size: 12px;
        flex-wrap: wrap;
    }
    
}
.author-container {
    display: flex;
    /* align-items: center; */
    gap: 20px;
    flex-wrap: wrap;
}

.author-left {
    justify-content: center;
    align-items: center;
}

.author-left img {
    width: 120px;
    height: 120px;
    border-radius: 0;
    object-fit: cover;
    /* border: 2px dashed #08a7a2; */
    padding: 5px;
    border-radius: 12px; 
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Avatar (initials) */
.author-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #EAEAEA;
    /* color: #fff; */
    font-size: 36px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    /* border: 2px dashed #08a7a2; */
}

/* Right section */
.author-right {
    flex: 1;
}

.author-reactions {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.like-btn,
.dislike-btn {
    border: 1px solid #ddd;
    background: #fff;
    padding: 2px 8px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 13px;
    transition: 0.3s;
}
.like-btn i {
    color: #f1c40f;
}

.dislike-btn i {
    color: #f39c12; 
}
.like-btn:hover {
    background: #e6f7ff;
    border-color: #08a7a2;
}

.dislike-btn:hover {
    background: #fff0f0;
    border-color: #ff4d4f;
}
.related-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0px;
}

.see-more-wrapper {
    display: flex;
    justify-content: flex-end;  /* pushes to right */
    margin-top: 20px;
}

.see-more-btn {
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
    color: #000000;
    transition: 0.3s;
}

.see-more-btn:hover {
    color: #4a4747;
}


/* MOBILE RESPONSIVE */
@media (max-width: 600px) {
    .author-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .author-right {
        width: 100%;
    }

    .author-reactions {
        justify-content: center;
    }

     .related-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
     .see-more-wrapper {
        justify-content: center;
    }
}

.dept-badge {
    background: transparent;           
    color: #ff4d6d;                  
    border: 1.5px solid #f64263;     
    padding: 3px 9px;
    border-radius: 20px;
    font-size: 12px;
    margin-right: 8px;
    margin-bottom: 5px;
    margin-top: 5px;
    display: inline-block;
    white-space: nowrap;
}
.dept-badge:hover {
    background: #ed93a4;
    color: #fff;
    transition: 0.3s ease;
}
.author-departments {
    display: flex;
    flex-wrap: wrap; 
}
.theme-btn-profile {
    font-size: 16px;
    color: #fff;
    /* transition: var(--transition); */
    text-transform: capitalize;
    position: relative;
    border-radius: 15px;
    vertical-align: middle;
    font-weight: 500;
    cursor: pointer;
    text-align: center;
   
    border: none;
    background:#0cb8b6;
    box-shadow: var(--box-shadow);
    z-index: 1;
    white-space: nowrap;
    display: inline-block;
    padding: 8px 18px;
}

/* Common row style */
.author-row {
    display: flex;
    align-items: center;
    gap: 10px;
    /* margin-bottom: 10px; */
}

/* Icons alignment */
.author-row i {
    min-width: 20px;
    text-align: center;
    color: #434343;
}
.author-row .fa-check {
    min-width: 20px;
    text-align: center;
    color: #fff;
    margin-top:1px;
    margin-left:1px;
    cursor: pointer;
}
.author-row .fa-certificate{
    font-size: 20px; 
    min-width: 20px;
    text-align: center;
    color:  #4285f4;
}
/* Departments */
.author-departments {
    align-items: flex-start;
}

.dept-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.author-name span {
    font-size: 16px;
    font-weight: 600;
    color: #222;
}
.author-deisgnation,
.author-gender,
.author-experiance,
.author-departments,
.author-location
 span{
    font-size: 13px;
    font-weight: 400;
    color: #222;
}

.author-social a {
    display: inline-flex; 
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    line-height: 32px;
    text-align: center;
    border: 2px solid #0cb8b6;
    border-radius: 50px;
    margin-right: 5px;
    color: #0cb8b6;
    transition: var(--transition);
}
.author-social a:hover {
    background-color: #0cb8b6; 
    color: #fff;             
    border-color: #0cb8b6;  
}

.verified-badge {
    position: relative;
    display: inline-block;
    width: 18px;
    height: 18px;
    margin-left: 6px;
     margin-bottom: 3px;
}

/* Background (certificate shape) */
.badge-bg {
    font-size: 18px;
}

/* Tick centered */
.badge-check {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -55%);
    font-size: 8px;
    color: #fff;
}
.article-feedback {
    display: flex;
    justify-content: flex-end;
    margin: 20px 0;
    gap: 6px;
    align-items: center;
}
.article-title-likes .article-feedback {
    margin: 0;
}
.feedback-btn.simple-btn {
    width: 40px;
    height: 40px;
    border: none;
    background: #f5f4f4;
    border-radius: 50%;   /* makes it circle */
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.feedback-btn i {
    color: #f64263;
    font-size: 18px;
    transition: 0.3s;
}
/* Filled state */
.feedback-btn.active i {
    color: #f64263;
}
.feedback-btn:focus {
    outline: none;
    box-shadow: none;
}

.feedback-btn:active {
    outline: none;
    box-shadow: none;
     transform: scale(0.9);
}

.tag-like-dislike{
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.categories {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  font-size: 14px;
  margin-bottom:20px;
}

.categories > span:first-child {
  font-weight: 600;
  margin-right: 10px;
  color: #797979;
   font-size: 18px;
}

.badge-outline {
  display: inline-block;
  padding: 3px 10px;
  border: 1px solid  #ff4d6d; 
  border-radius: 6px;    
  background: transparent; 
  color: #fc5876;
  font-size: 12px;
  font-weight: 500;
  transition: all 0.2s ease;
}

.badge-outline:hover {
  background: #fc5876;
  color: #fff
}
.author-name span.verified-text{
    font-size:12px;
    color: #4285f4;
}
.profile-button {
    text-align: right;
}
.article-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}
@media(max-width: 768px){
   
    .theme-btn-profile {
        font-size: 14px;
    }
      .author-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .author-right {
        width: 100%;
    }

    
    .author-row {
        justify-content: center;
        text-align: center;
    }

    .author-departments {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .dept-list {
        justify-content: center;
    }

    .author-social {
        text-align: start;
    }

    .article-feedback {
        justify-content: center;
    }
    .author-reactions,
    .profile-button {
        justify-content: center;
        display: flex;
    }
   .tag-like-dislike{
      display: block;
    align-items: center;
    }
    .pageTitle{
        height: 50px;
        padding-top: 10%;
        text-align: left;
        padding-left: 13%;
    }
    .expertTitle{
        padding-left: 4%;
    }
    .articleTitle{
        padding-left: 8%;
    }
    .wrapper h1 {
        font-size: 16px;
    }
    .article-header {
        margin-top:30px;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 8px;
    }

    .back-btn-article {
        order: 1;
    }

    .tag-header {
        order: 2;
    }
    .tag-title {
         margin-top: 0px;
    }
    .categories > span:first-child {
        font-size: 14px;
    }
}
@media (min-width: 768px) and (max-width: 1024px) {
    .pageTitle{
        height: 50px;
        padding-top: 5%;
        text-align: left;
        padding-left: 13%;
    }
    .wrapper h1 {
        font-size: 16px;
    }
}

/* Style for dental experts contiruvutors page */
.contibutors-search-group {
    padding-left: 0;
    padding-right: 0;
    /* margin-bottom: 0; */
}
.topRow {
    display: flex;
    align-items: center;
}

.bottomRow {
    margin-top: 10px;
    display: flex;
    gap: 10px;
}
.viewArticleLink,
.viewClinicLink {
    display: inline-block;
    margin-top: 8px;
    margin-right: 8px;
}
.outlineBtn {
    display: block;
    width: 100%;
    padding: 4px 6px;
    text-align: center;
    background: transparent;
    color: #0cb8b6;
    border: 1px solid #0cb8b6;
    transition: 0.3s ease;
     border-radius: 6px; 
     font-size:13px;
}

.outlineBtn:hover {
    background: #0cb8b6;
    color: #fff;
}
.speakerInfo span {
    display: block;
}
.infoRow {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size:13px;
    font-weight: 400;
    color: #222;
}

.infoRow i {
    color: #434343;
    min-width: 18px; 
}

.infoRow span {
    display: inline-block;
    max-width: 250px;     
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
/* Videos - Blue */
.videoBtn {
    color: #0cb8b6;
    border-color: #0cb8b6;
}
.videoBtn:hover {
    background: #0cb8b6;
    color: #fff;
}

/* Articles - Green */
.articleBtn {
    color: #fc5876;
    border-color: #fc5876;
}
.articleBtn:hover {
    background: #fc5876;
    color: #fff;
}

/* Clinic - Orange */
.clinicBtn {
    color: #8A5AB9;
    border-color: #8A5AB9;
}
.clinicBtn:hover {
    background: #8A5AB9;
    color: #fff;
}
.speakerPMainImg {
    width: 120px;
    height: 120px;
    object-fit: cover;  
    margin-right: 30px;
}
.speakerPMainImg {
    border-radius: 8px; /* optional, gives soft corners */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}
.speakerPMainImg:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    transition: 0.3s ease;
}
.searchSec input{
    border-radius: 0;
}


.filterBar {
    margin-top:10px;
    display: flex;
    gap: 20px;
    background-color: #f5f5f5;
    padding: 12px;
    border-radius: 6px;
    justify-content: center;
    
}
.articles-page .filterBar {
     background-color: #f5f5f5;
}

.filterItem {
  display: flex;
  align-items: center;
  gap: 8px;
}
.filterItem-mobile {
  display: flex;
  /* align-items: center; */
  gap: 8px;
}
.filterLabel {
  font-size: 13px;
  font-weight: 600;
  color: #555;
  white-space: nowrap;
  margin-bottom:0px;
}

.dropdown {
  position: relative;
}

.dropdownBtn {
  display: flex;
  justify-content: space-between; 
  align-items: center;
  padding: 6px 10px;
  min-width: 180px;
  border: 1px solid #ccc;
  border-radius: 4px;
  background-color: #eeecec;
  color: #333;
  cursor: pointer;
  font-size:13px;
}
.dropdownBtn:focus,
.dropdownBtn:active {
    outline: none;
    box-shadow: none;
    border-color: #acabab; 
}
.dropdownIcon {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-right: 2px solid #666; 
  border-bottom: 2px solid #666; 
  transform: rotate(45deg);  
  margin-left: 8px;
}


.dropdownList {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
  border: 1px solid #f6f3f3;
  border-radius: 4px;
  background-color: #fff;
  z-index: 10;
}

.dropdownList li {
    font-size:13px;
    padding: 6px 10px;
    cursor: pointer;
}

.dropdownList li:hover {
  background-color: #eeecec;
}

.dropdownList li.active {
  background-color: #d5d2d2;
}

.heading-verified {
    /* margin-left: 185px; */
    display: flex;
    align-items: center;
    align-items: center;   
    gap: 6px;              
}
.name-share .heading-verified {
    margin-bottom:10px;
    margin-left: 185px;
}
.heading-verified h4 {
    margin: 0;           
}
.heading-verified .fa-check {
     min-width: 20px;
    text-align: center;
    color: #fff;
    margin-top:1px;
    margin-left:1px;
}
.heading-verified span.verified-text
 {
     font-weight:600;
    font-size: 12px;
    color: #4285f4;
}
.heading-verified .fa-certificate{
    font-size: 20px; 
    min-width: 20px;
    text-align: center;
    color:  #4285f4;
}
.speaker-tags {
    cursor: pointer;
    display: flex;
    flex-wrap: nowrap !important;
    gap: 6px;
    margin-top: 20px;
     min-height: 20px; 
        width: max-content;     

}

.speaker-tags .tag {
     flex: 0 0 auto;      
    font-size: 12px;
    padding: 10px 8px;
    border-radius: 20px;
    background: #f1f5f9;   
    color: #334155;    
    font-weight: 500;
    line-height: 1;
}

/* optional subtle hover */
.speaker-tags .tag:hover {
    font-weight:700;
}
.contributors-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.contributors-section .contributors-heading {
    font-size: 16px;
    font-weight: 500 !important;
    justify-content: center;
    align-items: center;
    margin-bottom:0px;
}
.tag-highlight {
    color: #e63946;
    font-weight: 600;
}


.search-input-contributors {
    flex: 1;
    width: 100%;
}
.search-input-contributors {
    border-radius: 0rem; 
}
.search-input-contributors {
    flex: 1;
    width: 100%;
}
@media (max-width: 767px) {
   .bottomRow {
        display: block;
        gap: 10px;
    }
    .outlineBtn {
        margin-bottom:10px;
    } 
    .topRow {
        display: block;
        align-items: start;
    }
    .speakerPMainImg {
         margin-right: 0px;
    }
    .speakersPage .contibutors-search-group .search-wrapper {
        padding: 10px 15px;
    }
    .infoRow span {
            max-width: 100%;
            white-space: normal;   
        }
         .topRow {
        display: block;
        text-align: center;
    }

    .speakerPMainImg {
        margin: 0 auto 12px;
        display: block;
        width: 100px;
        height: 100px;
    }

    .speakerInfo {
        text-align: left; 
    }
     .filterBar {
        display: none;
    }
     .contributors-section {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .contributors-heading {
        font-size: 18px;
        line-height: 1.4;
    }
    
}
/* ================= MOBILE BUTTON ================= */
.mobileFilterBtn {
    display: none;
}
.search-wrapper-contributors{
    display: flex;
     width: 100%;  
    overflow: hidden;              
    transition: 0.3s;
}

@media (max-width: 767px) {
    .mobileFilterBtn {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 6px;
        background: #0cb8b6;
        color: #fff;
        padding: 10px;
        margin: 10px 15px;
        border-radius: 6px;
        cursor: pointer;
    }
    .search-filter-mobile .search-wrapper-contributors {
        display: flex;
        width: 100%;
    }
     .speakersPage .contibutors-search-group .search-wrapper-contributors {
        padding: 10px 15px;
    }
    .contibutors-search-group {
        display: flex;
        align-items: center;
        gap: 2px;
    }
    .contibutors-search-group .filter-btn {
        margin-right: 15px;
        margin-left:0px;
    }
}

/* ================= DRAWER ================= */
.filterDrawer {
    position: fixed;
    top: 0;
    left: -100%;
     width: 85%;
    height: 100%;
    background: #fff;
    z-index: 999;
    transition: 0.3s ease;
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
}
.filterModalContent {
    padding: 20px 15px;
}
.filterDrawer.active {
    left: 0;
}

/* PANEL */
.filterDrawer .filterDrawerContent {
    width: 85%;
    max-width: 320px;
    height: 100%;
    background: #fff;
    padding: 20px 15px;
    overflow-y: auto;
    box-shadow: 4px 0 12px rgba(0,0,0,0.15);

    transform: translateX(-100%);
    transition: 0.3s ease;
}

.filterDrawer.active .filterDrawerContent {
    transform: translateX(0);
}

/* HEADER */
.filterDrawer .filterHeader {
        display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}
.filterDrawer .filterHeader h4 {
    color: #0cb8b6;
    font-size: 18px;
    margin-bottom:0;
}
.filterDrawer .closeFilter {
    font-size: 22px;
    cursor: pointer;
}

/* ================= FILTERS (SCOPED) ================= */
.filterDrawer .filterBarMobile {
    margin-top:10px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.filterDrawer .filterItem-mobile {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.filterDrawer .filterLabel {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
}

/* DROPDOWN */
.filterDrawer .dropdown {
    width: 100%;
}

.filterDrawer .dropdownBtn {
    width: 100%;
    height: 40px;
    padding: 6px 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    background: #f5f5f5;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
}

/* ICON */
.filterDrawer .dropdownIcon {
    width: 8px;
    height: 8px;
    border-right: 2px solid #666;
    border-bottom: 2px solid #666;
    transform: rotate(45deg);
}

/* DROPDOWN LIST */
.filterDrawer .dropdownList {
    display: none;
    width: 100%;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 4px;
    margin-top: 5px;
    list-style: none;
    padding: 0;
}

.filterDrawer .dropdownList li {
    padding: 8px 10px;
    font-size: 13px;
    cursor: pointer;
}

.filterDrawer .dropdownList li:hover {
    background: #f0f0f0;
}

.filterDrawer .dropdownList li.active {
    background: #e0e0e0;
}


/* Contributors detail page */
.contributor-detail-top-padding{
    padding-top:20px;
    padding-bottom:50px;
}
h3.contributors-detail-name {
    font-size: 20px;
    margin-bottom:0;
}
.info-icon-detail {
    margin-right: 12px;   
    color: #434343;     
    width: 18px;      
    text-align: center;
}
.detail-tag{
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 20px;
    background: #f1f5f9;
    color: #334155;
    font-weight: 500;
    line-height: 1;
    margin-right:6px;
}
.info-text-detail{
    color: #222;
}
.bottom-margin-detail p {
    font-size:14px;
    margin-bottom:0.5rem !important;
}
.doctor-tabs {
    border-bottom: 1px solid #ddd;
}

.doctor-tabs .nav-link {
    color: #777;
    font-weight: 500;
    border: none;
    margin-right: 20px;
}

.doctor-tabs .nav-link.active {
    color: #000;
    border-bottom: 3px solid #0cb8b6;
    background: none;
}

.tab-content h5 {
    font-size:16px;
    font-weight: 600;
    margin-bottom: 10px;
    color:#000;
}

.tab-content p {
    color: #444;
    line-height: 1.6;
}
.space-between{
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap:6px;
}
.row-flex span {
    display: inline-flex;
    align-items: center;
    /* margin-bottom:10px; */
    font-size:13px;
}
.row-flex i {
    margin-right: 5px;
    color: #ff6b6b;
}
.profile-wrapper{
    margin-right:30px;
}
.avatar-initial {
    width: 120px;       
    height: 120px;
    border-radius: 8px;   
    background-color: #EAEAEA;
    /* color: #fff; */
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    /* optional same shadow/hover feel */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: 0.3s ease;
}

.avatar-initial:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}
.contributors-name {
    max-width: 180px;  
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.specialization-line {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.specialization-slider {
    flex: 1;
     cursor: grab;
}
.specialization-slider,
.languages-slider {
    flex: 1;
    cursor: grab;
    min-width: 0;  
     overflow: hidden;
}
.sponsor-swiper .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
}

.sponsor-swiper img {
    height: 70px;   /* control logo size */
    width: auto;
    display: block;
}
.spec-text {
    width: auto;
    font-size: 14px;
    color: #333;
    display: inline-flex;
    align-items: center;
}

.dot-separator {
    margin: 0 6px;
    color: #08a7a2;
    font-weight: 600;
}
.dot {
    color: #08a7a2;   
    margin: 0 6px;
    font-weight: 600;
}

@media (max-width: 767px) {
     .space-between {
        flex-direction: column;
        align-items: flex-start;
    }
    .row-flex {
        align-self: flex-start; 
    }
    .heading-verified {
        margin-bottom: 0px;
    }
    .speakerInfo {
        border: 1px solid rgba(12, 184, 182, 0.2);
        border-radius: 10px;
        padding: 12px;
    }
    .avatar-initial {
        margin: 0 auto 12px;
        width: 100px;
        height: 100px
    }
    .profile-wrapper{
        margin-right:0px;
    }
    h3.contributors-detail-name {
        font-size: 14px;
        margin-bottom:0;
         max-width: 15ch;  
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}
.profile-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

/* full width rows */
.profile-bottom {
    grid-column: span 2;
}

/* spacing */
.bottom-margin-detail p {
    margin-bottom: 8px;
}

/* icon alignment */
.info-icon-detail {
    width: 20px;
    margin-right: 8px;
}


/* tags */
.detail-tag {
    background: #f1f1f1;
    padding: 5px 10px;
    border-radius: 20px;
    margin-right: 5px;
    font-size: 13px;
}

/* social icons */
.author-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid #0aa;
    border-radius: 50%;
    margin-right: 8px;
    color: #0aa;
    text-decoration: none;
}
.website-link {
    cursor: pointer;
    color: #666; 
    text-decoration: none;
}

.website-link:hover {
    color:#007bff;
    text-decoration: underline;
}

.share-toggle-btn-contributors {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1.5px solid #08a7a2;
    background: #fff;
    color: #08a7a2;
    cursor: pointer;
    transition: all 0.2s;
    margin-bottom:10px;
}
.share-toggle-btn-contributors:hover { background: #08a7a2; color: #fff; }
.name-share {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.name-share{
    display: flex;
    align-items: center;
    gap: 8px;
}
.profile-left {
    border-right: 1px solid #e0e0e0;
    padding-right: 20px;
}
.profile-right {
    padding-left: 20px;
}
.number-cards {
    display: flex;
    justify-content: center;   
    align-items: center;
    gap: 40px;                
    text-align: center;
    flex-wrap: wrap;          
}

.number-cards h4 {
    margin-bottom: 5px;
    font-weight: 600;
}

.number-cards p {
    margin: 0;
    font-size: 14px;
    color: #777;
     margin-top:10px;
}
.stat-link {
    text-decoration: none;
    color: inherit;
    display: block;
    text-align: center;
}

.stat-link:hover h4 {
    color: #08a7a2;
}

.stat-link:hover p {
    text-decoration: underline;
    font-weight: 700;
}

.stat-link {
    cursor: pointer;
}
.article-title-likes {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
}
/* responsive */
@media (max-width: 768px) {
    .profile-grid {
        grid-template-columns: 1fr;
    }

    .profile-bottom {
        grid-column: span 1;
        margin-top:5px;
    }
    .profile-right {
        padding-left: 0px;
    }
    .name-share .heading-verified {
        margin-bottom:10px;
        margin-left: 0px;
    }
}
.contibutors-tag-slider {
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    cursor: grab;
    user-select: none;
    -webkit-overflow-scrolling: touch; 
}

/* Hide scrollbar */
.contibutors-tag-slider::-webkit-scrollbar {
    display: none;
}
.contibutors-tag-slider {
    -ms-overflow-style: none;
    scrollbar-width: none;  
}

.contibutors-tag-slider:active {
    cursor: grabbing;
}

.tag-like-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}
.tag-like-row .article-feedback {
    margin-top:10px;
    margin-bottom:0px;
    margin-left:0px;
    margin-right:0px;
}
.share-like-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}
.share-like-row .article-feedback {
    margin-top:0px;
    margin-bottom:10px;
    margin-left:0px;
    margin-right:0px;
}
@media (max-width: 768px) {

    /* keep layout stable */
    .profile-left,
    .profile-right,
    .specialization-line {
        min-width: 0;
    }
    .profile-left {
        border-right: 0px ;
        padding-right: 0px;
    }

    .specialization-slider {
        overflow-x: auto;
        overflow-y: hidden;
        min-width: 0;
        cursor: grab;

        scrollbar-width: none; 
        -ms-overflow-style: none;  
    }

    .specialization-slider::-webkit-scrollbar {
        display: none;         
    }

    .swiper-wrapper {
        width: max-content;
    }

    .spec-text {
        white-space: nowrap;
        flex-shrink: 0;
    }
    .specialization-slider:active {
        cursor: grabbing;
    }
    .number-cards{
        gap: 10px;
    }
    .stat-item h4 {
        font-size: 16px;     
    }

    .stat-item p {
        font-size: 12px;       
    }
    .bottom-margin-detail p {
        font-size:13px;
    }
    .detail-tag {
         font-size:13px;
    }
     .tab-content {
        font-size: 13px;
    }
   
    .tab-content li {
        font-size: 13px;
        margin-bottom: 4px;
    }

    .tab-content p {
        font-size: 13px;
        margin-bottom: 6px;
    }
}

/* For videos page */
.videoCard {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    transition: 0.3s;
       display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
}

.videoCard:hover {
    transform: translateY(-5px);
}

.videoWrapper {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.videoThumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.playBtn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0,0,0,0.6);
    color: #fff;
    padding: 12px;
    border-radius: 50%;
    font-size: 18px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.videoContent {
    padding: 16px 18px;
    padding-top: 8px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.videoTitleNew {
    color:#000;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 6px;
}

.videoDesc {
    font-size: 14px;
    color: #555;
    margin-bottom: 10px;
     line-height: 1.5;
    
}
.descText {
    display: block;
    overflow: hidden;
    word-break: break-word;
    text-align: justify;
}

.toggleBtn {
    color: blue;
    cursor: pointer;
    font-size: 13px;
    display: inline-block;
    margin-top: 5px;
}
.showMore, .showLess {
    color: #007bff;
    cursor: pointer;
    font-size: 13px;
}
.videoMeta {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: #000;
    margin-bottom: 8px;
}

.videoTopic {
    display: inline-block;
     background: #e6f7f7;   
    color: #087f7d;  
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 6px;
}
.videoTags{
   display: flex;     
    flex-wrap: nowrap;   
    gap: 8px;  
}
.videoTags span {
    flex: 0 0 auto;      
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 20px;
    background: #f1f5f9;   
    color: #334155;    
    font-weight: 500;
    line-height: 1;
}

.videoModal {
    display: none;
    position: fixed;
    z-index: 99999;
    inset: 0;
    background: rgba(0,0,0,0.85);
    align-items: center;
    justify-content: center;
    
}

.videoModalContent {
    position: relative;
    width: 80%;
    max-width: 800px;
    margin: 5% auto;
    background: #fff;
    padding: 10px;
    border-radius: 10px;
}
/* Instagram Reel Mode (vertical) */
.videoModalContent.instaMode {
    width: 360px;
    height: 80vh;
    max-width: 95%;
    padding: 0;
    /* display: flex; */
    align-items: center;
    justify-content: center;
}
/* Center the reel */
.videoModalContent.instaMode #instagramContainer {
    display: flex;
    justify-content: center;
}

/* Hide title & sponsor for instagram */
.videoModalContent.instaMode .sponsorDivider,
.videoModalContent.instaMode .sponsor-heading,
.videoModalContent.instaMode .videoSponsor {
    display: none;
}
.videoModal iframe {
    width: 100%;
    height: 400px;
}

#instagramContainer {
    display: flex;
    justify-content: center;
}

.closeBtn {
    position: absolute;
    top: -30px;
    right: 0;
    color: #fff;
    font-size: 30px;
    cursor: pointer;
}
.video-tag-top-space{
    margin-top:80px;
    margin-bottom:20px;
}
.videoTitleNew {
    display: -webkit-box;
    -webkit-box-orient: vertical;

    -webkit-line-clamp: 1; 
    line-clamp: 1;     

    overflow: hidden;

    line-height: 1.4;
    max-height: calc(1.4em * 2); 
}
.langTag {
    color: #ff2a65;   
}
.videosPage{
        padding: 20px 0; 
}
.videoBottom {
    display: flex;
    justify-content: space-between; 
    align-items: center;
    gap: 20px;
   padding-bottom: 8px;
}
.videos-tag-slider {
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    cursor: grab;
    user-select: none;
    -webkit-overflow-scrolling: touch; 
}

/* Hide scrollbar */
.videos-tag-slider::-webkit-scrollbar {
    display: none;
}
.videos-tag-slider {
    -ms-overflow-style: none;
    scrollbar-width: none;  
}

.videos-tag-slider:active {
    cursor: grabbing;
}
.share-wrapper-video{
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 10;
}

.share-toggle-btn-video {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1.5px solid #08a7a2;
    background: #fff;
    color: #08a7a2;
    cursor: pointer;
    transition: all 0.2s;
    margin-bottom:10px;
}
.share-toggle-btn-video:hover { background: #08a7a2; color: #fff; }
.videoDate{
    font-size:12px;
    /* margin-bottom: 5px; */
}
.videoDate i {
    margin-left: 8px;
}
.row-flex-video {
    display: flex;
    align-items: center;
    gap: 6px;
}
.video-date-like-row{
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-bottom:5px;
}
/* LEFT GROUP */
.videoMetaLeft {
    display: flex;
    align-items: center;
    gap: 8px; /* perfect spacing */
}

.row-flex-video span {
    align-items: center;
    font-size:12px;
}
.row-flex-video {
    display: flex;
    align-items: center;
    gap: 8px;
}
.row-flex-video i {
    color: #08a7a2;
}

.custom-row-margin {
    margin-top: 30px;
}
.custom-row-margin-tag{
   margin-top: 20px; 
}
.authorName {
    display: inline-block;
    max-width: 150px; 
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    vertical-align: middle;
}
.videoLang{
    font-size:12px;
    color: #ff2a65;
}
.tag {
   flex: 0 0 auto;
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 20px;
    background: #f1f5f9;
    color: #334155;
    font-weight: 500;
    line-height: 1;
}

.tag:hover {
    background: #0cb8b6;
    color: #fff;
}
.pageTitleFlex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.videosPage .contributors-section {
    /* margin-top:130px; */
    margin-bottom: 25px;
}


.videoHeader {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    color: #fff;
}

.videoModalWrapper iframe {
    width: 100%;
    height: 400px;
}

.videoModalSponsor {
    padding: 12px;
    text-align: center;
    background: #111;
    border-radius: 8px;
    margin-top: 10px;
}

.videoModalSponsor img {
    height: 40px;
    margin: 5px;
}

#videoModelTitle {
    color: #000;
    font-size: 18px;
    margin: 20px;
}

.sponsorDivider {
    border: none;
    border-top: 1px solid #333;
    margin: 20px 0px;
}

.videoSponsor {
    color: #ccc;
    font-size: 14px;
}

.videoSponsor p {
    margin-bottom: 8px;
}

.sponsorLogos img {
    width: 40%;
    display: inline-block;
    margin-right: 15px;
}
.swiper-button-next,
.swiper-button-prev {
  width: 25px;
  height: 25px;
}

.swiper-button-next::after,
.swiper-button-prev::after {
  font-size: 14px  !important;
}
.sponsor-heading {
  font-size: 18px;        
  font-weight: 600;        
  color: #333;              
  text-transform: uppercase;
  letter-spacing: 1px;  
  margin-bottom: 10px;  
  text-align: center;     
  position: relative;
}
@media (max-width: 768px) {
    .video-top-bar {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        margin-bottom:20px;
    }
    .custom-row-margin {
            margin-top: 10px;
    }
    #videoModelTitle {
        color: #000;
        font-size: 14px;
        margin: 20px;
    }
    .video-tag-top-space{
        margin-top:0px;
        margin-bottom:20px;
    }
    .videosPage .contributors-section {
        margin-top:80px;
    }
    .closeBtn {
        position: absolute;
        top: -10px;
        right: -20px;
    }
    .sponsor-heading {
        font-size: 14px;
    }
}

/* For clinic page */
.clinicCard {
    gap: 20px;
    align-items: flex-start;
    padding: 20px;
    margin-bottom: 20px;

    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.125); /* soft gray border */
    border-radius: 16px;

    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05); /* lighter neutral shadow */
    transition: all 0.3s ease;

    position: relative;
}

/* Rank badge */
.rank {
    background: #0cb8b6;
    color: #fff;
    font-weight: bold;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.clinicImage {
   width: 100%; 
      height: 150px;       
    aspect-ratio: 1/1;
    border-radius: 12px;
    overflow: hidden;
    background: #f1f5f9;

    display: flex;
    align-items: center;
    justify-content: center;

    position: relative;
}
/* Image */
.clinicImage img {
    width: 100%;
    height: 100%;
    object-fit: cover;
     border: 2px solid #e5e7eb; /* light grey border */
}

/* Info */
.clinicInfoHeading h2 {
    margin: 0 0 5px;
    font-size: 20px;
    font-weight: 600px;
    color: #000;
}

.clinicInfoHeading {
    display: block;
    align-items: center;
    gap: 10px; 
}
.clinic-left {
    display: flex;
    align-items: center;
    gap: 8px;
}
.clinicInfo p {
    margin: 5px 0;
    color: #000;
    font-size:13px;
    font-weight: 400;
}

/* Open status */
.open {
    color: green;
    font-weight: 500;
}

/* Services */
.services {
    margin-top: 10px;
}

.services span {
    display: inline-block;
    background: #e6f7f7;
    color: #0cb8b6;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500px;
    margin: 3px;
}
.category-label{
    font-weight: 500;
    font-size: 14px;
    color: #000;
    margin-right: 5px;
}

/* Buttons */
.actions {
    margin-top: 12px;
}

.actions a {
    display: inline-block;
    padding: 8px 14px;
    margin-right: 8px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
    transition: 0.3s;
}

/* Primary button */
.actions a:first-child {
    background: #0cb8b6;
    color: #fff;
}

/* Outline buttons */
.actions a:nth-child(2),
.actions a:nth-child(3) {
    border: 1px solid #0cb8b6;
    color: #0cb8b6;
}

/* Hover buttons */
.actions a:hover {
    opacity: 0.85;
}

/* Score box */
.scoreBox {
    margin-left: auto;
    text-align: center;
    background: #f3fafa;
    border: 1px solid #0cb8b6;
    border-radius: 12px;
    padding: 10px 14px;
}

.scoreBox span {
    font-size: 20px;
    font-weight: bold;
    color: #0cb8b6;
    display: block;
}

.scoreBox small {
    font-size: 11px;
    color: #777;
}
.clinicList{
    margin-top:20px;
}
.clinicListTitle{
     padding-left: 13.5%;
}
.video-stack-between{
     display: flex;
    justify-content: space-between;
    /* align-items: center; */
}
.clinic-description {
    display: -webkit-box;
    -webkit-box-orient: vertical;

    line-clamp: 2;
    -webkit-line-clamp: 2;

    overflow: hidden;
    text-overflow: ellipsis;
}

.clinic-description.expanded {
    line-clamp: unset;
    -webkit-line-clamp: unset;
}
.read-more-btn{
    display: inline-block;
    color: #007bff;
    cursor: pointer;
    font-size: 13px;
}
.doctor-section {
    margin-top: 15px;
    padding-right: 0px;
}

.doctor-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 10px;
}


.doctor-card {
    min-width: 220px;
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 10px;
    display: flex;
    gap: 10px;
    background: #fff;
    scroll-snap-align: start;
}
.doctor-card {
    flex: 0 0 220px;              
}
.doctor-img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: cover;
}

.doctor-info h5 {
    font-size: 13px;
    margin: 0;
}

.doctor-info p {
    font-size: 12px;
    margin: 2px 0;
    color: gray;
}

.doctor-meta {
    font-size: 11px;
    color: green;
}
.doctor-carousel-wrapper {
    position: relative;
    margin-top: 10px;
     overflow: hidden;
}

.doctor-list {
    display: flex;
    gap: 12px;
    padding:0px;
    transition: transform 0.3s ease;
}
.doctor-card {
    flex: 0 0 auto;
}
.doctor-list::-webkit-scrollbar {
    display: none;
}

.doc-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #fff;
    border: 1px solid #ddd;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;

    display: flex;

    align-items: center;
    justify-content: center;
    font-size: 18px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
      transition: opacity 0.2s ease;
}

.doc-arrow.left {
    color:#ccc;
    left: 0;
}
.doc-arrow:focus,
.doc-arrow:active,
.doc-arrow:focus-visible {
    outline: none;
    box-shadow: none;
}
.doc-arrow.right {
    color:#ccc;
    right: 0;
}
.doc-arrow.hidden {
    opacity: 0;
    pointer-events: none;
}
.doctor-card-like {
    font-size: 12px;          
    color: #ff4d6d;          
    display: flex;
    align-items: center;
    gap: 4px;
}

.doctor-card-like i {
    color: #ff4d6d;           
    font-size: 11px;         
}
.doctor-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: #ff4d6d;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
}
.doctor-actions {
    margin-top: 20px; 
    padding-right: 20px;             
    display: flex;
    justify-content: flex-end;     
    gap: 6px;
    flex-wrap: wrap;
}
.doctor-actions .btn {
    display: block;
    padding: 8px 14px;
    text-align: center;
    background: transparent;
    border-radius: 6px;
    font-size: 12px;
    text-decoration: none;
    border: 1px solid;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.call-btn {
    color: #fc5876;
    border-color: #fc5876;
}

.website-btn {
    color: #8A5AB9;
    border-color: #8A5AB9;
}
.view-profile {
    background: #0cb8b6 !important;
    color: #fff !important;
    border: 1px solid #0cb8b6;
    padding: 10px 16px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.view-profile:hover {
    background: #fff !important;
    color: #0cb8b6 !important;
    border-color: #0cb8b6 !important;
}

.call-btn:hover {
    background: #fc5876;
    color: #fff;
}

.website-btn:hover {
    background: #8A5AB9;
    color: #fff;
}
.doctor-actions .btn i {
    font-size: 12px;
    margin-right: 4px;
}
.badge-outline-clinics {
    flex: 0 0 auto;
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 20px;
    background: #f1f5f9;
    color: #334155;
    font-weight: 500;
    line-height: 1;
}

.badge-outline-clinics:hover {
 font-weight: 700;
}
.more-category{
    font-size:12px;
    font-weight:600;
}

.status-dot.open {
    background-color: #28a745;
}

.status-dot.closed {
    background-color: #9e9e9e;
}

/* Text color */
.text-open {
    color: #28a745 !important;
    font-weight: 500 !important;
}

.text-closed {
    color: #9e9e9e !important;
     font-weight: 500 !important;
}
.tags-scroll {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-right:20px;
}

/* THIS is your scroll container */
.clinic-tag-section {
    display: flex;
    overflow-x: auto;  
    gap: 6px;
    cursor: grab;
    scrollbar-width: none;
    -ms-overflow-style: none;
    
}
.clinic-tag-section {
    user-select: none;     
    -webkit-user-select: none; 
    -moz-user-select: none;   
    -ms-user-select: none;     
}
.clinic-tag-section::-webkit-scrollbar {
    display: none;
}

.badge-outline-clinics {
    flex: 0 0 auto;
    white-space: nowrap;
}
.clinic-left .verified-badge .fa-certificate {
    color: #4285f4;
    font-size: 20px;
}
.clinic-left .verified-badge .fa-check {
    position: absolute;
    top: 55%;
    left: 55%;
    transform: translate(-50%, -50%);
    font-size: 10px;
    color: white;
     font-size: 8px;
}
.clinic-left span.verified-text
 {
    font-weight: 600;
    font-size: 12px;
    color: #4285f4;
}

.share-toggle-btn-clinic {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1.5px solid #08a7a2;
    background: #fff;
    color: #08a7a2;
    cursor: pointer;
    transition: all 0.2s;
}
.share-toggle-btn-clinic:hover { background: #08a7a2; color: #fff; }
.share-toggle-btn-clinic:hover i {
    color: #fff;
}

.row-flex-video .fa-heart,
.row-flex-video .fa-eye,
.row-flex-video .fa-thumbs-up {
    color: #ff6b6b;
}
.row-flex-video .fa-share-alt {
    color: #08a7a2;
}
.clinic-grid {
    display: grid;
    grid-template-columns: auto 1fr; /* icons in first column, text in second */
    gap: 10px 15px; /* row gap, column gap */
    align-items: center;
    background: #fff;
    border-radius: 6px;
    margin-top:6px;
}

.clinic-row {
    display: contents; /* allows each row to span both grid columns */
}

.clinic-row i,
.clinic-row .status-dot {
    grid-column: 1; /* icon column */
    justify-self: end; /* align right inside first column */
    color: #222;
}

.clinic-row span {
    grid-column: 2; /* text column */
    align-self: center;
    font-size: 13px;
    color: #333;
}
.open-doctor-count {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.doctor-icon {
    margin-left: 10px;
    font-size: 14px;
}
.status-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
}

.status-dot.open {
    background-color: #28a745; /* green */
}

.status-dot.closed {
    background-color: #dc3545; /* red */
}
.reg-no{
    font-weight: 600;
    margin-right:3px;
}
.doctor-info h5,
.doctor-info p {
    display: flex;
    align-items: center;
    gap: 4px;
    margin: 4px 0;
        width: 100%;   
}
/* Make all icons same width */
.doctor-info i {
    width: 18px;
    text-align: center;
    flex-shrink: 0;
}
/* Like section */
.doctor-card-like {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.doctor-card-name {
      max-width: 20ch;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;

    flex: 1;              
    min-width: 0;
}
.doctor-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto; 
}
.read-more-doc {
    font-size: 11px;
    color: #000;
    text-decoration: underline;
    cursor: pointer;
}

.read-more-doc:hover {
    color: #099a98;
}
.clinic-avatar{
    width: 100%;
    height: 100%;
    border-radius: 8px;
    background-color: #EAEAEA;
    /* color: #fff; */
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: 0.3s ease;
}
.appointment-modal{
    border-radius: 18px;
    overflow: hidden;
}
.custom-input {
    font-size: 14px;
}
.select2-container--default .select2-selection--single .select2-selection__rendered {
    font-size: 14px !important;
    color: #000;
}
.select2-container--default .select2-selection--single .select2-selection__placeholder {
    font-size: 13px !important;
    color: #495057 !important;
}
.select2-results__option {
    font-size: 13px !important;
}
.select2-container .select2-selection--single {
    height: 48px !important;
    border-radius: 10px !important;
    border: 1px solid #dcdcdc !important;
    padding: 10px 12px !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 28px !important;
}
.select2-container .select2-selection--single .select2-selection__rendered
 {
    padding-left: 0px; 
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 46px !important;
}
.custom-input{
    height: 48px;
    border-radius: 10px;
    border: 1px solid #dcdcdc;
    padding: 6px 12px;
    transition: 0.3s;
}

.custom-input:focus{
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.15rem rgba(13,110,253,.15);
}

textarea.custom-input{
    height: auto;
}

.modal-content{
    animation: modalFade 0.3s ease;
}
.custom-appoinment-btn{
    font-size:14px;
    background-color: #08a7a2;
    border-color: #08a7a2;
    color: white;
}

.custom-appoinment-btn:hover{
     background-color: #0dc1bb;
    border-color: #08a7a2;
    font-weight:800px;
    color: white;
}
.custom-icon-modal{

    color: #08a7a2;
}
@keyframes modalFade{
    from{
        transform: translateY(-20px);
        opacity: 0;
    }
    to{
        transform: translateY(0);
        opacity: 1;
    }
}
@media (max-width: 767px) {
    .tab-content h5 {
        font-size:14px;
    }
    .clinicListTitle {
        padding-left: 4%;
    }
    .clinicInfoHeading h2
    {
        font-size: 16px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;

        max-width: 30ch; 
    }
    .video-stack-between {
        display: flex;
        flex-direction: column; 
        gap: 5px;
    }
   
    .clinic-content-media {
        margin-top: 10px;  
        padding: 10px !important;  
    }
    .doctor-section {
        padding-right: 0px;
    }
    .doctor-actions {
        display: flex;
        flex-direction: column;  
        gap: 10px;            
    }

    .doctor-actions .btn {
        width: 100%;          
        text-align: center;
    }
    .doctor-actions {
        margin-top: 20px; 
        padding-right: 0px; 
    }
    .clinicImage {
       aspect-ratio: 2/1;
    }
    .detail-top-padding {
        padding:0px;
    }
}

/* -----clinic detail section---- */

.clinic-detail-section {
    padding-top: 20px;
}
.detail-top-padding{
    /* padding:70px; */
    margin-top:80px;
    margin-bottom:20px;
}
.back-btn-clinic-detail {
    white-space: nowrap;
    font-size: 14px;
    color: #08a7a2;
    text-decoration: none;
    font-weight: 600;
   
}
.head-back{
    margin-bottom:20px;
}
.clinicImageDetails {
   width: 100%; 
      height: 100%;       
    aspect-ratio: 1/1;
    border-radius: 12px;
    overflow: hidden;
    background: #f1f5f9;

    display: flex;
    align-items: center;
    justify-content: center;

    position: relative;
}
/* Image */
.clinicImageDetails img {
    width: 100%;
    height: 100%;
    object-fit: cover;
     border: 2px solid #e5e7eb;
}



/* ABOUT + QUICK */
.about-card, .quick-card {
    padding: 20px;
    border-radius: 10px;
    background: #fff;
    border: 1px solid #eee;
     box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.quick-link {
    display: block;
    margin: 8px 0;
}

.social-icons a {
    margin-right: 10px;
    font-size: 18px;
}

/* SERVICES */
.service-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 0;
    list-style: none;
}

.service-list li {
    background: #f1f5f9;
    padding: 5px 10px;
    border-radius: 6px;
}

.abt-clinic-head{
    font-size:20px;
    
}
.quick-info-head{
    font-size:20px;
    color:#000;
    font-weight: 600;
}
.estblished-text{
    color:#000;
    font-weight: 600;
}
.doctor-section-box {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    border: 1px solid #eee;
    box-shadow: 0 6px 20px rgba(0,0,0,0.06);
}

.doctor-section-title {
    font-size:20px;
    margin-bottom: 10px;
    font-weight: 600;
}

.doctor-card-new {
    display: grid;
    grid-template-columns: 100px 1fr 210px;
    gap: 15px;
    position: relative;
}

.doc-left  {
    width: 100%;
    height: 100%;
}
/* LEFT */
.doc-left img {
    width: 100px;
    height: 100px;
    border-radius: 6px;
    object-fit: cover;
}

.doc-avatar {
    width: 100px;
    height: 100px;
    background: #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    font-weight: bold;
}

/* MIDDLE */
.doc-name-detail {
    color: #08a7a2;
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 4px;
}

.doc-degree,
.doc-exp,
.doc-role {
    font-size: 14px;
    color: #475569;
    margin: 2px 0;
}

/* RIGHT */
.doc-right {
    font-size: 13px;
    color: #434343;
}

.timing {
    font-size: 13px;
    white-space: nowrap;
}
.timing-dropdown {
    position: relative;
}
.timing-btn {
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
    font-size: 13px;
    color: #333;
    display: flex;
    align-items: center;
    gap: 6px;
}

.timing-menu {
    display: none;
    position: absolute;
    background: #fff;
    width: 250px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
    border-radius: 8px;
    padding: 10px;
    z-index: 10;
}

.timing-dropdown:hover .timing-menu {
    display: block;
}

.timing-day {
    margin-bottom: 8px;
}

.timing-day strong {
    display: block;
    font-size: 12px;
    color: #333;
}

.timing-slot {
    font-size: 12px;
    color: #666;
    margin-left: 8px;
}

/* BOTTOM ACTIONS */
.doc-actions-bottom {
    grid-column: span 3;
    display: flex;
    justify-content: flex-end;
    margin-top: 10px;
}


.doc-middle {
    font-size: 14px; 
}

.doc-middle div {
    font-size: 13px;
    color: #434343;
}

.doc-middle i {
    font-size: 13px;
    color: #434343;
}

.doc-middle span {
    font-size: 13px;
}
.doc-actions-bottom {
    display: flex;
    gap: 6px;
    margin-top: 12px;
    flex-wrap: wrap;
}

/* Base */
.btn-jd {
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 12px;
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

/* GREEN - Call */
.btn-call {
    background: #0b8f1a;
    color: #fff;
}
.btn-call:hover {
    background: #19a82b; /* lighter green */
    box-shadow: 0 8px 20px rgba(11, 143, 26, 0.25);
    transform: translateY(-2px);
}

/* BLUE - Book */
.btn-book {
    background: #4285f4;
    color: #fff;
}
.btn-book:hover {
    background: #5a95f5; /* lighter blue */
    box-shadow: 0 8px 20px rgba(66, 133, 244, 0.25);
    transform: translateY(-2px);
}
.btn-outline:hover {
    background: #fc5876;
    color: #fff;
    box-shadow: 0 8px 20px rgba(252, 88, 118, 0.25);
    transform: translateY(-2px);
}
.btn-jd:hover i,
.btn-jd:hover span {
    color: #fff;
    font-weight: 700;
}

.btn-outline {
    border: 1px solid #fc5876;
    color: #fc5876;
    background: #fff;
}
.btn-jd i {
    margin-right: 6px;
    font-size: 13px;
}
.phone-icon {
    display: inline-block;
    transition: transform 0.3s ease;
}
.quick-link {
    color: #000;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.quick-link i {
    color: #ff6b6b;
}
.quick-link:hover {
    font-weight: 600;
}
.quick-link:hover .phone-icon {
    animation: callIcon 0.6s ease;
}

@keyframes callIcon {
    0% {
        transform: scale(1) rotate(0deg);
    }

    20% {
        transform: scale(1.2) rotate(-15deg);
    }

    40% {
        transform: scale(1.25) rotate(15deg);
    }

    60% {
        transform: scale(1.2) rotate(-10deg);
    }

    80% {
        transform: scale(1.1) rotate(10deg);
    }

    100% {
        transform: scale(1) rotate(0deg);
    }
}
.clinic-left-details {
    display: flex;
    align-items: center;
    gap: 8px;
}
.clinic-left-details .verified-badge .fa-certificate {
    color: #4285f4;
    font-size: 20px;
}
.clinic-left-details .verified-badge .fa-check {
    position: absolute;
    top: 50%;
    left: 55%;
    transform: translate(-50%, -50%);
    font-size: 10px;
    color: white;
     font-size: 8px;
}
.clinic-left-details span.verified-text
 {
    font-weight: 600;
    font-size: 12px;
    color: #4285f4;
}
.doc-head-line {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.doc-name-detail {
    margin-bottom: 0;
}

.verified-badge-clinic-doctor {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
}

/* BLUE CERTIFICATE */
.badge-bg-details {
    color: #4285f4 !important;
    font-size: 20px !important;
}

/* WHITE CENTER CHECK */
.badge-check-details {
    position: absolute;
    top: 48%;
    left: 50%;
    transform: translate(-50%, -55%);
    font-size: 8px !important;
    color: #fff !important;
    z-index: 2;
}

.verified-text-details {
    color: #4285f4;
    font-size: 12px;
    font-weight: 600;
}
.doctor-treatment-badges {
    width: 100%;
    /* display: flex; */
    flex-wrap: wrap;
    gap: 8px;
    margin: 12px 0;
    padding-top: 10px;
    border-top: 1px dashed #e6e6e6;
}

/* TOP GRID ONLY */
.doctor-top-grid {
    display: grid;
    grid-template-columns: 100px 1fr 210px;
    gap: 15px;
}

/* FULL WIDTH SECTIONS */
.doctor-treatment-section,
.doc-actions-bottom {
    width: 100%;
    margin-top: 12px;
    
}

/* TREATMENTS */
.doctor-treatment-section {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding-top: 10px;
    border-top: 1px dashed #e5e7eb;
}


/* BADGES */
.treatment-badge {
     display: inline-flex;
    align-items: center;
    background: #f7f7f7;
    color: #000;
    border: 1px solid #ccc;
    padding: 3px 8px;
    border-radius: 30px;
    font-size: 12px;
    gap:4px;
}

.treatment-badge small {
    font-weight: 600;
    color: #000;
}
.treatment-label{
    color: #000;
    font-size:16px;
     font-weight:600;
}
.doctor-whole-card{
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 16px;
    margin-bottom: 15px;
}
.clinicImageDetails {
    position: relative;
    width: 100%;
}

/* MAIN IMAGE */
.main-img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    border-radius: 10px;
}

/* INITIALS AVATAR */
.clinic-avatar {
    width: 100%;
    height: 140px;
    background: #e6f0ff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: bold;
    color: #2b6cb0;
    border-radius: 10px;
}

/* GALLERY STRIP */
.gallery-strip {
    justify-content: center;
    display: flex;
    gap: 4px;
    margin-top: 6px;
    flex-wrap: nowrap;
}
.gallery-strip a {
    position: relative;
    display: block;
    flex: 0 0 auto;
}
/* THUMBNAILS */
.thumb {
    width: 32px;
    height: 32px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid #ddd;
}

/* +MORE STYLE */
.more-thumb {
    position: absolute;
    top: 0;
    left: 0;
    width: 32px;
    height: 32px;
    border-radius: 6px;
    background: rgba(0,0,0,0.6);
    color: #fff;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}
.treatment-section {
    margin-top: 10px;
}

.treatment-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    margin-top: 6px;
}

.treatment-item {
    font-size: 13px;
    color: #444;
    white-space: nowrap;
}
html,
body {
    overflow-x: hidden;
}
.more-treatment-count {
    font-size: 13px;
    font-weight: 700;
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

.more-treatment-count:hover {
    text-decoration: underline;
}
.doctor-count-scroll {
    font-size: 13px;
    font-weight: 700;
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

.doctor-count-scroll:hover {
    text-decoration: underline;
}
.business-hours-card{
    background:#fff;
    border:1px solid #e5e7eb;
    border-radius:20px;
    padding:20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.business-hours-head{
    display:flex;
    align-items:center;
    gap:12px;
    margin-bottom:20px;
}

.business-hours-head h4{
    margin:0;
    font-size:20px;
    font-weight:600;
    color:#000;
}

.business-hours-icon{
    width:40px;
    height:40px;
    border-radius:12px;
    background:#e6f8f8;;
    display:flex;
    align-items:center;
    justify-content:center;
    color:#0cb8b6;
    font-size:18px;
}

.business-hours-table{
    border:1px solid #e5e7eb;
    border-radius:14px;
    overflow:hidden;
}

.business-hour-row{
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:10px 16px;
    border-bottom:1px solid #e5e7eb;
    gap:20px;
}

.business-hour-row:last-child{
    border-bottom:none;
}

.business-day{
    font-size:13px;
    font-weight:600;
    color:#0f172a;
}

.business-time{
    display:flex;
    align-items:flex-end;
    gap:6px;
}

.time-slot{
    display:flex;
    align-items:center;
    gap:8px;
    font-size:13px;
    color:#334155;
}

.time-bullet{
    width:7px;
    height:7px;
    border-radius:50%;
    background:#28a745;
    flex-shrink:0;
}
.holiday-bullet{
    background:#fc5876;
}
.active-day{
    background:#f0f9ff;
}

.active-day .business-day{
    color:#0284c7;
}

.today-badge{
    font-size:14px;
    margin-left:6px;
    font-weight:500;
}
.consultation-fee {
    display: flex;
    align-items: center;
    font-size: 13px;
    margin-top: 4px;
    color: #333;
}

@media(max-width:768px){

    .business-hour-row{
        flex-direction:column;
        align-items:flex-start;
    }

    .business-time{
        text-align:left;
    }

    .business-hours-head h4{
        font-size:22px;
    }
      .about-card{
        padding:16px;
        border-radius:12px;
    }

    .abt-clinic-head{
        font-size:16px;
    }

    .about-card p{
        font-size:12px;
    }
     .doctor-section-box {
        padding: 14px;
        overflow: hidden;
    }

    .doctor-card-new {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    /* LEFT */
    .doc-left {
        display: flex;
        justify-content: center;
    }

    .doc-left img,
    .doc-avatar {
        width: 90px;
        height: 90px;
    }

    /* MIDDLE */
    .doc-middle {
        text-align: center;
    }

    .doc-head-line {
        justify-content: center;
        flex-wrap: wrap;
    }

    .doc-name-detail {
        font-size: 14px;
    }

    /* RIGHT */
    .doc-right {
        text-align: center;
        border-top: 1px solid #eee;
        padding-top: 10px;
    }

    .timing {
        white-space: normal;
        font-size: 12px;
    }

    .row-flex-video {
        justify-content: center;
        flex-wrap: wrap;
    }

    /* TREATMENTS */
    .doctor-treatment-badges {
        margin-top: 12px;
    }

    .treatment-badge-wrapper {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
    }

    .treatment-badge {
        font-size: 12px;
    }

    /* BUTTONS */
    .doc-actions-bottom {
        grid-column: span 1;
        justify-content: center;
        width: 100%;
        gap: 10px;
    }

    .btn-jd {
        flex: 1 1 100%;
        width: 100%;
        padding: 6px;
        font-size: 12px;
    }
      .business-hours-card {
        padding: 16px;
        border-radius: 16px;
        overflow: hidden;
    }

    .business-hours-head {
        gap: 10px;
        margin-bottom: 16px;
    }

    .business-hours-head h4 {
        font-size: 16px;
    }

    .business-hours-icon {
        width: 36px;
        height: 36px;
        font-size: 16px;
        border-radius: 10px;
        flex-shrink: 0;
    }

    .business-hours-table {
        border-radius: 12px;
    }

    .business-hour-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding: 14px;
    }

    .business-day {
        font-size: 14px;
        width: 100%;
        font-size:12px;
    }

    .business-time {
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .time-slot {
        width: 100%;
        font-size: 12px;
        flex-wrap: wrap;
        line-height: 1.4;
    }

    .today-badge {
        display: inline-block;
        margin-left: 6px;
        font-size: 11px;
    }
    .quick-link {
        font-size: 13px;
    }
     .clinic-grid {
        gap: 10px 10px;
        margin-bottom: 20px;
    }

    .clinic-row span {
        font-size: 12px;
        line-height: 1.4;
    }

    .open-doctor-count {
        display: flex;
        align-items: flex-start;
        gap: 10px;
        flex-wrap: wrap;
    }

    .open-doctor-count a {
        font-size: 12px;
        line-height: 1.3;
        word-break: break-word;
    }

    .open-doctor-count i {
        margin-left: 0 !important;
        font-size: 13px;
    }

    .status-dot {
        width: 10px;
        height: 10px;
    }
    .treatment-list {
        gap: 6px;
    }

    .category-label {
        /* width: 100%; */
        margin-bottom: 2px;
        font-size: 12px;
    }

    .treatment-item {
        font-size: 12px;
        padding: 1px 3px;
        max-width: 100%;
    }

    .treatment-item i {
        font-size: 10px;
    }

    .more-treatment-count {
        font-size: 11px;
    }
    .doctor-section-title{
        font-size: 16px;
    }
    .doc-middle div {
        font-size: 12px;
    }
    .doc-middle span {
        font-size: 12px;
    }
    .doc-right {
        font-size: 12px;
    }
    .quick-info-head {
        font-size: 16px;
    }
}
.appointment-modal {
    border: none;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.12);
}

.appointment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    color: #fff;
}

.appointment-header h4 {
    margin: 0;
    font-size: 22px;
    font-weight: 700;
}

.appointment-header p {
    margin: 4px 0 0;
    font-size: 13px;
    opacity: 0.9;
}

.appointment-modal .modal-body {
    padding: 16px;
}

.appointment-modal .form-label {
    font-size: 13px;
    font-weight: 600;
    color: #222;
}

.appointment-modal .form-control {
    border-radius: 12px;
    min-height: 46px;
    border: 1px solid #dbe1e8;
    box-shadow: none;
}

.appointment-modal textarea.form-control {
    min-height: 90px;
}

.appointment-submit-btn {
    border: none;
    background: #0cb8b6;
    color: #fff;
    border-radius: 14px;
    padding: 8px 18px;
    font-weight: 600;
    transition: 0.3s ease;

    display: block;
    margin-left: auto;
}

.appointment-submit-btn:hover {
    background: #099a98;
}

@media (max-width: 767px) {

    .appointment-header {
        padding: 14px;
    }

    .appointment-modal .modal-body {
        padding: 14px;
    }

    .appointment-header h4 {
        font-size: 18px;
    }

}

/* For 404 page */

.error-page-section {
    padding: 80px 0;
    margin-top: 120px;
    background: #f7f7f7;
}

.error-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

.error-image-wrapper {
    flex: 0 0 auto;
    text-align: center;
}

.error-image {
    width: 100%;
    max-width: 260px;
    height: auto;
}

.error-content h1 {
    font-size: 60px;
    font-weight: 800;
    line-height: 1;
    color: #111;
    margin-bottom: 10px;
}

.error-content h2 {
    font-size: 30px;
    font-weight: 700;
    color: #111;
    margin-bottom: 20px;
}

.error-content p {
    font-size: 14px;
    line-height: 1.6;
    color: #5f5f5f;
    max-width: 350px;
}

.return-home-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 600;
    color: #0cb8b6;
    text-decoration: none;
    transition: 0.3s ease;
}

.return-home-btn span {
    font-size: 28px;
    transition: 0.3s ease;
}

.return-home-btn:hover {
    color: #3f5d10;
}

.return-home-btn:hover span {
    transform: translateX(5px);
}


@media (max-width: 991px) {

    .error-page-section {
        margin-top: 90px;
        padding: 60px 0;
    }

    .error-wrapper {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .error-content h1 {
        font-size: 50px;
    }

    .error-content h2 {
        font-size: 16px;
    }

    .error-content p {
        font-size: 14px;
        margin: 0 auto 25px;
    }

    .return-home-btn {
        justify-content: center;
        font-size: 12px;
    }

    .error-image {
        max-width: 150px;
    }
   
}
/*------ HEADER SECTION ------*/

.main-header{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}

/* NAVBAR */
.nav-bar{
    background: #fff;
    border-bottom: 1px solid #eee;
}

.nav-bar .container-fluid{
    max-width: 1140px;
    margin: 0 auto;
    padding: 10px 20px;

    display: flex;
    align-items: center;

    height: 72px;
}

/* LOGO */
.logo{
    display: flex;
    align-items: center;
    margin-right: 35px;
}

.logo img{
    height: 55px;
    width: auto;
}

/* MENU */
.menu{
    display: flex;
    align-items: center;
    gap: 10px;

    list-style: none;
    margin: 0;
    padding: 0;
}

.menu li a{
    position: relative;

    text-decoration: none;

    color: #222;
    font-size: 14px;
    font-weight: 500;

    padding: 10px 18px;

    border-radius: 12px;

    transition: 0.25s ease;
}

.menu li a:hover{
    background: #f7f8fa;
    color: #000;
}

/* ACTIVE */
.menu li a.active-nav{
    background: rgba(12,184,182,0.12);
    color: #0cb8b6;
    font-weight: 600;
}

/* RIGHT SIDE */
.nav-actions{
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 14px;
}

/* USER */
.user-icon{
    display: flex;
    align-items: center;
    gap: 6px;

    padding: 8px 12px;

    border-radius: 999px;

    cursor: pointer;
    transition: 0.2s ease;
}

.user-icon:hover{
    background: #f5f7f9;
}

.user-icon i{
    color: #0cb8b6;
}


/* =========================
   SEARCH TOGGLE BUTTON
========================= */

.search-toggle-wrap{
    position: relative;
    width: 250px;
    height: 40px;
}

/* SEARCH BUTTON */
.search-trigger{
     position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    gap: 8px;

    white-space: nowrap;
    height: 40px;
    padding: 0 16px;

    border-radius: 999px;

    background: #f8f9fb;
    border: 1px solid #e9edf2;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 8px;

    cursor: pointer;
    transition: 0.25s ease;

    color: #444;
    font-size: 14px;
    font-weight: 500;
}
.search-trigger .divider{
    color: #c7ccd3;
    margin-left: 1px;
    margin-right: 1px;
}
/* SEARCH ICON */
.search-trigger-icon{
        width: 28px;
    height: 28px;

    border-radius: 50%;
    background: rgba(12,184,182,0.10);
    color: #0cb8b6;

    display: flex !important;
    align-items: center;
    justify-content: center;

    font-size: 12px;
    line-height: 0;

    flex-shrink: 0;
}

/* HOVER */
.search-trigger-icon:hover{
    border-color: rgba(12,184,182,0.25);
    background: #fff;

    box-shadow: 0 6px 18px rgba(0,0,0,0.05);
}

.search-trigger-icon:hover i{
    background: #0cb8b6;
    color: #fff;
}
.search-placeholder{
    white-space: nowrap;
    color: #000;
    font-size: 12px;
    font-weight: 500;
}

.close-search{
    border:none;
     position: absolute;
    top: 6%;
    right: 4px;
    transform: translateY(-50%) scale(0.92);

    width: 80px;
    height: 35px;

    border-radius: 999px;
    background: #0cb8b6;
    color: #fff;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    cursor: pointer;

    opacity: 0;
    visibility: hidden;

    transition: 0.25s ease;
}

.close-search i{
    font-size: 13px;
}


/* =========================
   SEARCH OVERLAY
========================= */

.search-overlay{
    width:100%;
    position: fixed;
    inset: 0;

    background: rgba(0,0,0,0.25);

    backdrop-filter: blur(4px);

    z-index: 9999;

    opacity: 0;
    visibility: hidden;

    transition: 0.35s ease;
}

/* ACTIVE */
.search-overlay.active{
    margin-top: 70px;

    opacity: 1;
    visibility: visible;
}

/* =========================
   TOP SEARCH AREA
========================= */

.search-top{
    background: #fcfcfc;

    width: 100%;

    display: flex;
    justify-content: center;
    align-items: flex-start;

     padding: 10px 20px 10px 20px;
}

/* SEARCH INPUT BOX */
.search-input-box{
    width: 100%;
    /* max-width: 560px; */
    min-width: 500px;

    display: flex;
    align-items: center;
    gap: 8px;

    background: #fff;

    border: none;
border-radius: 0;
flex: 1;
min-width: 0;
 
    padding: 8px 12px;
    transition: 0.25s ease;
}

/* FOCUS */
/* .search-input-box:focus-within{
    border-color: #0cb8b6;
    box-shadow:
        0 0 0 3px rgba(12,184,182,0.10),
        0 8px 24px rgba(0,0,0,0.05);
} */

/* ICON */
.search-input-box i{
    font-size: 14px;

    color: #0cb8b6;
    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;
}

/* INPUT */
.search-input-box input{
    flex: 1;

    height: 32px;

    border: none;
    outline: none;

    background: transparent;

    font-size: 14px;
    color: #222;

    padding: 0 4px;
}

.search-input-box input::placeholder{
    color: #999;
}

/* SEARCH BUTTON */
.search-btn-header{
    border: none;
    outline: none;

    background: #0cb8b6;
    color: #fff;

    height: 32px;
    padding: 0 20px;

    border-radius: 999px;

    font-size: 14px;
    font-weight: 600;

    cursor: pointer;

    transition: 0.2s ease;

    display: flex;
    align-items: center;
    justify-content: center;
}

.search-btn-header:hover{
    transform: translateY(-1px);

    box-shadow: 0 6px 16px rgba(12,184,182,0.25);
}
.input-wrapper{
    position: relative;
    flex: 1;
}

/* INPUT */
.input-wrapper input{
    width: 100%;
    padding-right: 30px;
}

/* CLEAR ICON */
.clear-icon{
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);

    font-size: 14px;
    color: #999;

    cursor: pointer;

    display: none;
}

.clear-icon:hover{
    color: #333;
}

/* =========================
   SUGGESTIONS CONTAINER
========================= */

.search-suggestions{
    background: #fff;
    display: none;
    max-width: 656px;

    margin: 0px;

    max-height: 500px;
    overflow-y: auto;
   border-radius: 0 0 4px 4px;

    padding: 15px;
    padding-top: 15px;

    box-shadow: 0 10px 40px rgba(0,0,0,0.08);

    opacity: 0;
    visibility: hidden;

    transform: translateY(10px);

    transition: 0.25s ease;
}
.search-suggestions{
    top:9.2%;
    position: absolute;
    left: 15.2%;
    right: 0;
    margin: 0 auto;
}
/* SHOW */
.search-suggestions.active{
    display: block;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* SCROLLBAR */
.search-suggestions::-webkit-scrollbar{
    width: 6px;
}

.search-suggestions::-webkit-scrollbar-thumb{
    background: rgba(12,184,182,0.25);
    border-radius: 999px;
}

/* GROUP */
.suggestion-group h4{
    margin-bottom: 10px;
    font-size: 14px;
}

/* SCROLL */
.suggestion-scroll{
    gap: 18px;
    overflow-x: auto;
    /* padding-bottom: 10px; */
}

.suggestion-scroll::-webkit-scrollbar{
    height: 6px;
}

.suggestion-scroll::-webkit-scrollbar-thumb{
    background: #ccc;
    border-radius: 10px;
}

/* =========================
   SUGGESTION CARD (FIXED SINGLE VERSION)
========================= */

.suggestion-card{
    display: flex;
    justify-content: space-between;
    align-items: center;

    width: 100%;
    padding: 10px 14px;

    font-size: 14px;
    color: #1f2937;

    cursor: pointer;

    border-bottom: 1px solid #f1f3f6;

    transition: 0.2s ease;

    background: transparent;
    box-shadow: none;
    border-radius: 0;
}

/* hover (clean list style) */
.suggestion-card:hover{
    background: #f7fafc;
    padding-left: 18px;
}

/* last item border remove */
.suggestion-scroll .suggestion-card:last-child{
    border-bottom: none;
}

/* TITLE */
.suggestion-card .title{
    font-size: 14px;
    color: #1f2937;
}

/* TAG BADGE */
.tag{
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 3px 8px;
    border-radius: 6px;

    font-size: 11px;
    font-weight: 600;
    line-height: 1.2;
}

/* TYPE COLORS */
.suggestion-card.article .tag{
    background:#e8f3ff;
    color:#1d6fdc;
}

.suggestion-card.expert .tag{
    background:#fff3e6;
    color:#ff7a00;
}

.suggestion-card.clinic .tag{
    background:#e9f9f2;
    color:#00a67d;
}
.suggestion-card.video .tag{
    background:#ffe4f0;
    color:#ff4f9a;
}
.suggestion-card.student .tag{
    background:#f1f1f1;
    color:#6b7280;
}

/* =========================
   CITY UI (UNCHANGED)
========================= */

.header-city-name{
    white-space: nowrap;
    color: #000;
    font-size: 12px;
    font-weight: 500;
    max-width: 140px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.city-select-area{
    display:flex;
    align-items:center;
    gap:6px;
    cursor:pointer;
}
.search-click-area{
    display: flex;
    align-items: center;
    gap: 6px;
     cursor:pointer;
   
}
.search-trigger-icon::before{
    position: relative;
    top: 0.5px;
}

.search-toggle-wrap{
    position:relative;
}

/* DROPDOWN */
.city-dropdown{
    position:absolute;
    top:40px;
    left:0;
    width:150px;
    background:#fff;
    box-shadow:0 5px 25px rgba(0,0,0,0.08);
    padding:10px 0;
    display:none;
    z-index:999;
}

.city-dropdown.active{
    display:block;
}
.inline-city-dropdown{
    position:absolute;
    top:60px;
    /* left:15.5%; */
    width:230px;
    background:#fff;
    box-shadow:0 5px 25px rgba(0,0,0,0.08);
    padding:10px 0;
    display:none;
    z-index:999;
}

.inline-city-dropdown.active{
    display:block;
}

/* CITY ITEM */
.city-item{
    padding: 13px 16px;
    font-size: 14px;
    font-weight: 500;
    color: #1f2937;
    cursor: pointer;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.city-item:hover{
    background: #f7fafc;
    padding-left: 20px;
    color: #00b39b;
}

.city-item:active{
    transform: scale(0.98);
}

.city-item:not(:last-child){
    border-bottom: 1px solid #f1f3f6;
}
.search-box-wrapper{
    display:flex;
    justify-content:center;
    width:60%;
}
.city-search-box{
    
     display: flex;
    align-items: stretch;
    width: 100%;
    max-width: 1050px;

    border: 1px solid rgba(12,184,182,0.15);
    border-radius: 6px;
    overflow: hidden;

    background: #fff;

    transition: 0.25s ease;
}
.city-search-box:focus-within{
    border-color: #0cb8b6;

    box-shadow:
        0 0 0 3px rgba(12,184,182,0.10),
        0 8px 24px rgba(0,0,0,0.05);
}
.city-inline{
    display: flex;
    align-items: center;
    gap: 10px;
    font-size:14px;
    min-width: 230px;
    padding: 0 16px;

    background: #fff;

    border-right: 1px solid #edf1f5;

    cursor: pointer;
    color:#222;
    white-space: nowrap;
}
#cityArrow{
    margin-left:auto;
    color: #0cb8b6;
}
.close-text{
    font-size:14px;
}
/* =========================
   MOBILE
========================= */

@media(max-width:768px){

    .search-top{
        padding: 12px 16px;
    }

    .search-input-box{
        min-width: unset;
        max-width: 100%;
    }

    .search-btn-header{
        display: none;
    }

    .search-suggestions{
        max-width: calc(100% - 20px);
        padding: 18px;
    }

    .search-toggle-wrap{
        width: 44px;
    }

    .close-text{
        display: none;
    }
    .search-trigger,
    .close-search{
        width: 44px;
        justify-content: center;
        padding: 0;
    }
}
.mobile-menu-btn {
    display: none;
    font-size: 22px;
    cursor: pointer;
    color: #0cb8b6;
    margin-right: 15px;
    margin-left: auto; 
}

.mobile-logo-close-top{
    display:none;
}

/* =========================
   MOBILE HEADER LAYOUT
========================= */

@media (max-width: 991px) {

    .nav-bar .container-fluid {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        gap: 12px;
        flex-wrap: nowrap;
    }

    /* LOGO */
    .logo {
        flex: 0 0 auto;
    }

    .logo img {
        width: 100%;
        display: block;
    }


    /* SEARCH AREA */
    .search-toggle-wrap {
        flex: 1;
        min-width: 0;
    }

    .search-trigger {
        width: 100%;
        height: 38px;
        border-radius: 50px;
        padding: 0 12px;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        gap: 8px;
        overflow: hidden;
    }

    /* LOCATION + SEARCH TEXT */
    
    .search-placeholder {
        font-size: 14px;
    }
    .header-city-name{
        font-size: 16px;
    }
    /* MENU ICON RIGHT */
    .mobile-menu-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        flex: 0 0 auto;
        font-size: 20px;
        color: #0cb8b6;
        cursor: pointer;
    }

    /* HIDE DESKTOP MENU */
   .mobile-menu-wrapper {
        position: fixed;
        top: 0;
        left: -100%;
        width: 300px;
        max-width: 80%;
        height: 100vh;
        background: #fff;
        z-index: 99999;
        transition: left 0.35s ease;
        padding: 20px 18px;
        overflow-y: auto;
        box-shadow: 0 0 20px rgba(0,0,0,0.06);
    }

    /* OPEN */
    .mobile-menu-wrapper.active {
        left: 0;
    }
    .mobile-logo-close-top {
        display: flex;
        justify-content: flex-end;
        margin-bottom: 15px;
    }

        /* CLOSE BUTTON */
    .mobile-logo-close-top {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        margin-bottom: 0px;
    }

    /* LOGO */

    .mobile-menu-logo img {
        width: 80%;
        display: block;
    }

    /* CLOSE BUTTON */

    .mobile-menu-close {
    width: 35px;
    height: 35px;
    border: none;
    background: #7adfdd; 
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #fff;
    transition: all 0.3s ease;
    }

    .mobile-menu-close:hover {
        background: #0cb8b6;
        color: #fff;
    }
    /* MOBILE MENU LIST */
    .menu {
           display: flex;
        flex-direction: column;
        gap: 6px;
        padding: 0;
        margin: 0;
    }

    .menu li {
        list-style: none;
        border-bottom: none;
        width: 100%;
        }
    .menu li a {
        display: block;
        padding: 12px 14px;
        font-size: 14px;
        font-weight: 500;
        color: #111;
        border-radius: 12px;
        transition: 0.3s ease;
    }

    /* HOVER */

    .menu li a:hover {
        background: #f5fafa;
        color: #0cb8b6;
    }

    /* ACTIVE */

    .menu li a.active-nav {
        background: #e8f7f7;
        color: #0cb8b6;
        font-weight: 600;
    }
}

/* =========================
   EXTRA SMALL MOBILE
========================= */

@media (max-width: 576px) {

    .nav-bar .container-fluid {
        gap: 8px;
    }

    .search-trigger {
        height: 38px;
        padding: 0 10px;
    }

    .divider {
        margin: 0 6px;
    }

    .mobile-menu-btn {
        font-size: 18px;
    }
    .city-select-area {
        display: none;
    }
}
/* desktop corrections menu */
/* DESKTOP MENU */
.desktop-menu{
    display:flex;
    align-items:center;
    gap:10px;
    list-style:none;
    margin:0;
    padding:0;
}

/* MENU LINKS */
.desktop-menu li a{
    text-decoration:none;
    color:#222;
    font-size:15px;
    font-weight:500;
    transition:0.3s ease;
}

/* HOVER */
.desktop-menu li a:hover{
    color:#0cb8b6;
}

/* MORE MENU */
.more-menu{
    position:relative;
}

/* MORE LINK */
.more-link{
    display:flex;
    align-items:center;
    gap:8px;
}

/* DROPDOWN */
.more-dropdown{
    position:absolute;
    top:45px;
    left:0;

    width:220px;

    background:#fff;

    border-radius:16px;

    padding:10px 0;

    list-style:none;

    box-shadow:0 12px 30px rgba(0,0,0,0.08);

    opacity:0;
    visibility:hidden;

    transform:translateY(10px);

    transition:0.3s ease;

    z-index:999;
}

/* SHOW DROPDOWN */
.more-menu:hover .more-dropdown{
    opacity:1;
    visibility:visible;
    transform:translateY(0);
}

/* DROPDOWN LINKS */
.more-dropdown li a{
    display:block;
    padding:12px 18px;
}

/* DROPDOWN HOVER */
.more-dropdown li a:hover{
    background:#f4fdfd;
    color:#0cb8b6;
}
.desktop-search-ui{
    display: block;
}
.mobile-search-wrapper,
.mobile-menu-btn{
    display: none;
}
@media(max-width:992px){

    .desktop-search-ui{
        display: none !important;
    }
    .desktop-menu{
        display:none;
    }
    /* HIDE DESKTOP SEARCH */
    .desktop-search-ui{
        display: none;
    }

    /* SHOW MOBILE ICONS */
    .mobile-search-wrapper,
    .mobile-menu-btn{
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .nav-actions{
        /* margin-left: auto; */
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 16px;
        /* width: 100%; */
    }

    .mobile-search-wrapper i,
    .mobile-menu-btn i{
        font-size: 20px;
        color: #0cb8b6;
        cursor: pointer;
    }

}

/* ------for mobile screen search -------*/

.mobile-search-screen{
    position: fixed;
    inset: 0;
    background: #fff;
    z-index: 99999;

    display: none;
    flex-direction: column;

    overflow-y: auto;
}

/* ACTIVE */
.mobile-search-screen.active{
    display: flex;
}

/* HEADER */
.mobile-search-header{
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 16px;

    border-bottom: 1px solid #eee;

    color: #000;
}

/* BACK */
.mobile-search-back{
     position: absolute;
    left: 16px;

    font-size: 20px;
    cursor: pointer;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #0cb8b6;
}

/* LOCATION */
.mobile-search-location{
    min-width: 200px;
    display: flex;
    align-items: center;
    gap: 18px;
    font-weight: 600;
}

/* SEARCH INPUT */
.mobile-search-input-wrap{
    margin: 14px 16px;

    height: 48px;

    border: 1px solid #ddd;
    border-radius: 12px;

    display: flex;
    align-items: center;

    padding: 0 14px;
    gap: 10px;
}

.mobile-search-input-wrap input{
    flex: 1;
    border: none;
    outline: none;
    font-size: 13px;
}
.mobile-search-input-wrap:focus-within {
    border: 1px solid #0cb8b6;
    box-shadow: 0 0 0 3px rgba(12, 184, 182, 0.15);
}
/* CONTENT */
.mobile-search-content{
    padding: 0 16px 20px;
    max-height: 450px; /* or height: 400px */
    overflow-y: auto;
}

/* RECENT TOP */
.recent-search-top{
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* ITEM */
.mobile-search-item{
    padding: 10px 0;
    border-bottom: 1px solid #f1f1f1;
}

.mobile-search-left{
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
}

.mobile-search-icon{
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: #f5f7f9;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0cb8b6;
    flex-shrink: 0;
}

/* BADGES */
.mobile-search-badge{
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 3px 8px;
    border-radius: 6px; 

    font-size: 11px;
    font-weight: 600;
    line-height: 1.2;

    /* margin-top: 5px; */
}

.mobile-search-badge.article{
    background: #eef7ff;
    color: #1877f2;
}

.mobile-search-badge.expert{
    background: #eefcf7;
    color: #16a34a;
}

.mobile-search-badge.clinic{
    background: #fff7ed;
    color: #f97316;
}
.mobile-search-badge.video{
    background:#ffe4f0;
    color:#ff4f9a;
}
.mobile-search-badge.student{
    background:#f1f1f1;
    color:#6b7280;
}
/* CITY SELECTOR SCREEN */
.city-selector-screen{
    position: fixed;
    inset: 0;
    background: #fff;
    z-index: 999999;

    display: none;
    flex-direction: column;

    overflow-y: auto;
}

/* ACTIVE */
.city-selector-screen.active{
    display: flex;
}

/* HEADER */
.city-selector-header{
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 18px 16px;

    border-bottom: 1px solid #eee;
}

.city-selector-header h3{
    font-size: 20px;
    font-weight: 700;
}

/* BACK */
.city-selector-back{
    position: absolute;
    left: 16px;

    font-size: 20px;
    color: #111;

    cursor: pointer;
}

/* SEARCH BOX */
.city-search-box-mobile{
    margin: 18px 16px;

    height: 50px;

    border: 1px solid #ddd;
    border-radius: 12px;

    display: flex;
    align-items: center;

    padding: 0 14px;
    gap: 10px;
}

.city-search-box-mobile input{
    flex: 1;
    border: none;
    outline: none;

    font-size: 15px;
}

/* DETECT LOCATION */
.detect-location{
    display: flex;
    align-items: center;
    gap: 10px;

    padding: 0 16px 18px;

    color: #0078ff;
    font-weight: 600;
}

/* CITY LIST */
.city-list-wrap{
    padding: 0 16px 30px;
}

.city-list-wrap h4{
    font-size: 14px;
    color: #777;

    margin-bottom: 16px;
}

/* CITY ITEM */
.city-item-mobile{
    padding: 16px 0;

    border-bottom: 1px solid #f2f2f2;

    font-size: 18px;
    font-weight: 600;

    cursor: pointer;
}
.recent-search-text{
    font-size:16px;
    font-weight:600;
    color:#000;
}
.recent-stack{
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 12px;
    
}
.recent-stack span:first-child {
    font-size: 14px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex: 1;
}
/* .recent-stack span{
     display: block;
    max-width: 280px; 
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
} */
 .mobile-search-badge.article {
    flex-shrink: 0;
}
.city-text{
    display: block;
    max-width: 100px;   
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* HIDE INITIALLY */
.mobile-live-search-results{
    display: none;
}

/* SHOW */
.mobile-live-search-results.active{
    padding:20px;
    padding-top:0px;
    display: block;
}

/* EACH ITEM */
.mobile-live-search-item{
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 10px 0;

    border-bottom: 1px solid #f1f1f1;
}

/* LEFT SIDE */
.mobile-live-search-left{
    display: flex;
    align-items: center;
    gap: 14px;
}

/* ICON */
.mobile-live-search-icon{
    width: 42px;
    height: 42px;

    border-radius: 10px;

    background: #f5f7f9;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #0cb8b6;
}

/* TEXT STACK */
.mobile-live-search-text{
    display: flex;
    flex-direction: column;
    gap: 5px;
     display: block;
    max-width: 200px; 
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* SUB TEXT */
.mobile-live-search-sub{
    font-size: 12px;
    color: #777;
}

.mobile-city-selector-screen{
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100vh;
    background: #fff;
    z-index: 99999;
    transform: translateX(100%);
    transition: .3s ease;
    overflow-y: auto;
}

.mobile-city-selector-screen.active{
    transform: translateX(0);
}

.mobile-city-header{
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px;
    border-bottom: 1px solid #eee;
}

.mobile-city-back{
    color:#0cb8b6;
    cursor: pointer;
    font-size: 18px;
}

.mobile-city-title{
    font-size: 18px;
    font-weight: 600;
}

.mobile-city-search{
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 15px;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 12px 14px;
}
.mobile-city-search:focus-within{
    border-color: #0cb8b6;
}
.mobile-city-search input{
    width: 100%;
    border: none;
    outline: none;
    background: transparent;
}

.mobile-city-list{
    padding: 0 15px 20px;
}

.mobile-city-item{
    padding: 14px 10px;
    border-bottom: 1px solid #f1f1f1;
    cursor: pointer;
    font-size: 15px;
}
.mobile-menu-list{
    padding: 0px;
    margin: 0;
}

.mobile-menu-list li{
    list-style: none;
}

.mobile-menu-list li a{
    display: flex;
    align-items: center;
    padding: 14px 20px;
    border-bottom: 1px solid #f3f3f3;
    text-decoration: none;
}
.mobile-menu-list li a.active-nav{
    background: #e8f7f7;
    color: #0cb8b6;
    font-weight: 600;
}

/* =========================================
   BOTTOM MOBILE NAVBAR
========================================= */
.bottom-mobile-navbar{
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 68px;
    background: #fff;
    border-top: 1px solid #ececec;
    display: flex;
    align-items: center;
    justify-content: space-around;
    z-index: 9999;
    padding-bottom: env(safe-area-inset-bottom);
}

.bottom-nav-item{
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    text-decoration: none;
    color: #000;
    font-size: 12px;
    font-weight: 500;
    transition: .2s ease;
}

.bottom-nav-item i{
    font-size: 18px;
}

.bottom-nav-item.active-bottom-nav{
    color: #0cb8b6;
}

.bottom-nav-item.active-bottom-nav i{
    transform: translateY(-1px);
}
.bottom-nav-item i{
    color: #0cb8b6;
}
.bottom-nav-item.active-bottom-nav{
    color: #0cb8b6;
}

.no-search-results{
    /* padding: 18px 16px; */
    text-align: center;
    font-size: 14px;
    color: #000;
    font-weight: 500;
    display: none;
}

.no-search-results span{
    color: #f64263;
    font-weight: 600;
}
.search-bottom-action{
    display: none;
    align-items: center;
    gap: 8px;

    padding: 14px 16px;

    border-top: 1px solid #edf0f2;

    font-size: 14px;
    font-weight: 500;

    color: #0cb8b6;

    cursor: pointer;
    padding-bottom:0px;
}

.search-bottom-action i{
    font-size: 14px;
}
/* DESKTOP HIDE */
@media(min-width:992px){
    .bottom-mobile-navbar{
        display: none;
    }
}

.desktop-recent-searches{
    /* padding:10px 14px; */
    border-bottom:1px solid #eee;
}

.desktop-recent-top{
    display:flex;
    align-items:center;
    justify-content:space-between;
    margin-bottom:8px;
}

.desktop-recent-title{
    font-size:14px;
    font-weight:600;
    color:#222;
}

.desktop-clear-search{
    font-size:13px;
    color:#0cb8b6;
    cursor:pointer;
}

.desktop-recent-list{
    display:flex;
    flex-direction:column;
    gap:0px;
    max-height:260px;
    overflow-y:auto;
}

.desktop-recent-item{
    display:flex;
    align-items:center;
    justify-content:space-between;
    font-size:14px;
    padding:10px 14px;
    border-radius:10px;
    color:#1f2937;
    transition:0.2s;
    cursor:pointer;
}
.desktop-recent-left {
    display: flex;
    align-items: center;
    gap: 10px;
}
.desktop-recent-item:hover{
    background:#f7f7f7;
}

.desktop-recent-left{
    display:flex;
    align-items:center;
    gap:12px;
}

.desktop-recent-icon i{
    color:#0cb8b6;
}

.desktop-recent-stack{
    display:flex;
    flex-direction:column;
    gap:4px;
}

.desktop-recent-badge{
   display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 3px 8px;
    border-radius: 6px;

    font-size: 11px;
    font-weight: 600;
    line-height: 1.2;
}
.sugg-text{
    font-size: 14px;
    font-weight: 600;
    color: #222;
     margin-top: 12px;
      margin-bottom: 10px;
}

.desktop-recent-badge.article{
    background: #e8f3ff;
    color: #1d6fdc;
}
.desktop-recent-badge.expert{
    background: #fff3e6;
    color: #ff7a00;
}
.desktop-recent-badge.clinic{
    background: #e9f9f2;
    color: #00a67d;
}
.desktop-recent-badge.student{
   background: #f1f1f1;
    color: #6b7280;
}
.desktop-recent-badge.video{
    background: #ffe4f0;
    color: #ff4f9a;
}
#treatment .treatment-badge {
    margin-right: 6px;
}
.appointment-note{
    font-size:13px;
}
.mobile-search-query-row{
    display: none;
    align-items: center;
    gap: 10px;

    padding: 16px 18px;

    border-top: 1px solid #edf1f5;

    font-size: 16px;
    font-weight: 500;

    color: #0cb8b6;

    cursor: pointer;
}

.mobile-search-query-row i{
    font-size: 13px;
    flex-shrink: 0;
}

.mobile-search-query-row.active{
    display: flex;
}
.search-for-mobile{
    font-size:14px;
}
.mobile-no-results{
    display: none;

    padding: 18px;

    text-align: center;

    font-size: 14px;
    font-weight: 500;

    color: #222;

    border-top: 1px solid #edf1f5;
}

.mobile-no-results span{
    color: #ff4d6d;
    font-weight: 600;
}

.mobile-no-results.active{
    display: block;
}
.empty-state {
    text-align: center;
    padding: 60px 20px;
    max-width: 500px;
    margin: auto;
}

.empty-title {
    font-size: 22px;
    font-weight: 600;
    color: #222;
    margin-bottom: 8px;
     margin-top: 18px;
}

.empty-subtitle {
    font-size: 15px;
    color: #777;
    margin: 0;
}
.mobile-clear-search {
  display: none;
}
.scroll-custom {
  position: sticky;
  top: 90px; /* adjust based on header height */
  align-self: flex-start;
}
.row,
.container,
body {
  overflow: visible !important;
}
@media (max-width: 768px) {
    .appointment-fixed-layout {
        max-height: 90vh;
        display: flex;
        flex-direction: column;
    }

    .appointment-fixed-layout .modal-header {
        position: sticky;
        top: 0;
        background: #fff;
        z-index: 10;
    }

    .appointment-fixed-layout .modal-body {
        overflow-y: auto;
        flex: 1;
    }

    .appointment-fixed-layout .text-center.mt-2 {
        position: sticky;
        bottom: -11px;
        background: #fff;
        padding-top: 10px;
        padding-bottom: 0px;
        z-index: 10;
        border-top: 1px solid #f1f1f1;
    }
     header,
    .bottom-nav,
    .mobile-menu,
    .navbar {
        position: relative;
    }

    #bookAppointmentModal {
        z-index: 99999 !important;
    }
  
    .modal-backdrop {
        z-index: 99998 !important;
    }
    .custom-icon-modal {
        font-size: 16px; 
    }
    .modal-cutom-title{
        font-size: 18;
        margin-bottom: 0;
        line-height: 1.2;
    }
    .btn-close{
        font-size: 14px; 
    }
    .modal-header .btn-close {
        margin: 0 !important;
        padding: 0 !important;
        align-self: center;
    }
    .grecaptcha-badge {
        bottom: 80px !important;
        z-index: 9999;
    }
    .empty-title {
        font-size: 14px;
    }

    .empty-subtitle {
        font-size: 12px;
    }
    .scroll-custom {
        position: static;
        top: unset;
        margin-top:20px;
    }
}