.child-social-icons {
  display: flex;
  gap: 18px;
  border-radius: 12px;
  align-items: center;
}
.child-social-icons .social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 4px;
  transition: background 0.2s;
}
.child-social-icons .social-icon:hover {
  background: #388e13;
}
.child-social-icons svg {
  display: block;
}

/* ============================
   Doctor Slider
   ============================ */
.doctor-slider-wrap {
  position: relative;
}

.doctor-swiper {
  width: 100%;
  overflow: hidden;
}

.doctor-card__img {
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 16px;
  background: #fff;
  padding: 4px;
  border: 1px solid #C7C7C7;
}

.doctor-card__img img {
  border-radius: 12px;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.doctor-card__img-placeholder {
    width: 100%;
    height: 100%;
    background: #e0e0e0;
}

.doctor-card__info {
    padding: 12px 12px 8px;
    text-align: left;
}

.doctor-card__position {
    font-size: 18px;
    line-height: 1.3;
    font-weight: 500;
    color: #292929;
    margin: 0 0 2px;
}

.doctor-card__name {
    font-size: 24px;
    font-weight: 600;
    color: #47940B;
    line-height: 1.3;
    margin: 0 0 6px;
}

.doctor-card__department {
    font-size: 16px;
    line-height: 1.3;
    font-weight: 400;
    color: #47940B;
    margin: 0;
}

.doctor-swiper-prev,
.doctor-swiper-next {
    width: 36px;
    height: 36px;
    background: #4caf1c;
    border-radius: 50%;
    color: #fff;
    top: 40%;
}

.doctor-swiper-prev::after,
.doctor-swiper-next::after {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
}

.doctor-swiper-prev:hover,
.doctor-swiper-next:hover {
    background: #388e13;
}

.doctor-swiper-prev {
    left: 0;
}

.doctor-swiper-next {
    right: 0;
}

/* ============================
   Blogs Grid
   ============================ */
.blogs-grid {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 640px) {
    .blogs-grid--cols-3 {
        grid-template-columns: repeat(3, 1fr);
    }
    .blogs-grid--cols-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .blogs-grid--cols-3 {
        grid-template-columns: repeat(3, 1fr);
    }
    .blogs-grid--cols-4 {
        grid-template-columns: repeat(4, 1fr);
    }
}

.blog-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  transition: box-shadow 0.2s;
  padding: 4px;
}

.blog-card:hover {
    box-shadow: 0 6px 24px rgba(0,0,0,0.13);
}

.blog-card__thumb-link {
    display: block;
    overflow: hidden;
}

.blog-card__thumb {
  width: 100%;
  height: 217px;
  overflow: hidden;
}

.blog-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 14px;
    display: block;
    transition: transform 0.3s;
}

.blog-card:hover .blog-card__thumb img {
    transform: scale(1.05);
}

.blog-card__thumb-placeholder {
    width: 100%;
    height: 100%;
    background: #ddd;
}

.blog-card__body {
  padding: 4px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}

.blog-card__date {
  font-size: 13px;
  line-height: 1.2;
  color: #141219;
  font-weight: 500;
}

.blog-card__cat {
  font-size: 13px;
  line-height: 1.2;
  color: #141219;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}
.blog-card__title {
  font-size: 18px;
  line-height: 1.3;
  font-weight: 600;
  color: #181818;
  margin: 16px 0 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-align: left;
}

.blog-card__title a {
  color: inherit;
  text-decoration: none;
}

.blog-card__excerpt {
  font-size: 14px;
  color: #595F65;
  line-height: 1.2;
  font-weight: 400;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ============================
   Medical Examination Process
   ============================ */
.mep-slider-wrap {
    position: relative;
    max-width: calc(1280px + (100vw - 1280px) / 2);
    margin-left: auto;
}

.mep-swiper {
    width: 100%;
    overflow: hidden;
}

.mep-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #B00101;
    min-height: 256px;
    background: rgba(255, 255, 255, 0.18);
    display: flex;
    align-items: start;
    padding: 0;
    cursor: default;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 4px 24px 0 rgba(76, 175, 28, 0.07);
}

.mep-card__content {
    position: relative;
    z-index: 2;
    padding: 25px 20px;
    width: 100%;
}

.mep-card__step {
    display: block;
    font-size: 32px;
    line-height: 1.3;
    font-weight: 500;
    color: #fff;
    margin-bottom: 20px;
    letter-spacing: 0.01em;
}

.mep-card__title {
    font-size: 32px;
    font-weight: 500;
    color: #fff;
    line-height: 1.3;
    margin-bottom: 16px;
}

.mep-card__desc {
    font-size: 18px;
    color: #fff;
    line-height: 1.2;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.mep-nav {
    display: flex;
    gap: 32px;
    margin-top: 32px;
    justify-content: center;
    max-width: 1280px;
}

.mep-swiper-prev,
.mep-swiper-next {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    border: 1px solid #E7B0B0;
    background-color: #F7E6E6;
    color: #B00101;
    cursor: pointer;
}

/* ============================
   Specialized Ajax Filter
   ============================ */
#wrapper .specialized {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 32px;
    align-items: start;
    position: relative;
}

@media (max-width: 768px) {
    #wrapper .specialized {
        grid-template-columns: 1fr;
    }
}

/* ---------- Sidebar ---------- */
#wrapper .specialized__sidebar {
    position: sticky;
    top: 24px;
}

#wrapper .specialized__search-wrap {
    display: flex;
    align-items: center;
    border: 1px solid #EDEDED;
    border-radius: 28px;
    overflow: hidden;
    margin-bottom: 24px;
    background: #EDEDED;
}

#wrapper .specialized__search-input {
    flex: 1;
    border: none;
    outline: none;
    padding: 10px 14px;
    font-size: 14px;
    color: #333;
    background: transparent;
    box-shadow: none;
    margin-bottom: 0;
}

#wrapper .specialized__search-input::placeholder {
    color: #49454F;
}

#wrapper .specialized__search-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: none;
    background: transparent;
    color: #49454F;
    cursor: pointer;
    flex-shrink: 0;
    padding: 0;
    margin-bottom: 0;
    margin-right: 5px;
}

/* ---------- Nav taxonomy ---------- */
#wrapper .specialized__nav {
    display: flex;
    flex-direction: column;
    gap: 0;
}

#wrapper .specialized__nav-group {
    border-bottom: 1px solid #F0F0F0;
}

#wrapper .specialized__nav-group:first-child {
    border-top: 1px solid #F0F0F0;
}

#wrapper .specialized__nav-parent {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 12px 8px;
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 20px;
    line-height: 1.2;
    font-weight: 600;
    color: #000000;
    text-align: left;
    gap: 8px;
    transition: color 0.15s;
    text-transform: none;
    margin-bottom: 0;
}

#wrapper .specialized__nav-parent:hover,
#wrapper .specialized__nav-parent.specialized__nav--active {
    color: #47940B;
}

#wrapper .specialized__nav-parent-label {
    display: flex;
    align-items: center;
    gap: 6px;
    flex: 1;
}

#wrapper .specialized__nav-toggle {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    transition: transform 0.2s;
    color: #999;
}

#wrapper .specialized__nav-parent[aria-expanded="true"] .specialized__nav-toggle {
    transform: rotate(180deg);
}

#wrapper .specialized__nav-count {
    font-size: inherit;
    font-weight: 600;
    color: #E7E7E7;
}

/* Children */
#wrapper .specialized__nav-children {
    list-style: none;
    margin: 0;
    padding: 0 0 8px 0;
    display: none;
}

#wrapper .specialized__nav-children--open {
    display: block;
}

#wrapper .specialized__nav-children li {
    margin: 0;
}

#wrapper .specialized__nav-child {
    display: flex;
    align-items: center;
    gap: 6px;
    width: 100%;
    padding: 0 20px;
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.3;
    color: #000000;
    text-align: left;
    text-transform: none;
    margin-bottom: 0;
}
/* ---------- Main ---------- */
#wrapper .specialized__main {
    position: relative;
    min-height: 200px;
}

#wrapper .specialized__loading {
    display: none;
    justify-content: center;
    align-items: center;
    padding: 16px 0;
}

#wrapper .specialized__loading--visible {
    display: flex;
}

#wrapper .specialized__spinner {
    width: 30px;
    height: 30px;
    border: 3px solid #d4edd4;
    border-top-color: #47940B;
    border-radius: 50%;
    animation: child-spin 0.7s linear infinite;
    display: block;
}

@keyframes child-spin {
    to { transform: rotate(360deg); }
}

#wrapper .specialized__grid {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(1, 1fr);
    transition: opacity 0.25s;
}

#wrapper .specialized__grid--loading {
    opacity: 0.4;
    pointer-events: none;
}

@media (min-width: 640px) {
    #wrapper .specialized__grid--cols-2,
    #wrapper .specialized__grid--cols-3,
    #wrapper .specialized__grid--cols-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    #wrapper .specialized__grid--cols-3 {
        grid-template-columns: repeat(3, 1fr);
    }
    #wrapper .specialized__grid--cols-4 {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ---------- Post Card ---------- */
#wrapper .specialized__item {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #eee;
    transition: box-shadow 0.2s;
}

#wrapper .specialized__item:hover {
    box-shadow: 0 6px 24px rgba(0,0,0,0.10);
}

#wrapper .specialized__image-link {
    display: block;
    overflow: hidden;
}

#wrapper .specialized__image {
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #FFFFFF;
    padding: 4px;
}

#wrapper .specialized__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 8px;
    transition: transform 0.3s;
}

#wrapper .specialized__item:hover .specialized__image img {
    transform: scale(1.05);
}

#wrapper .specialized__image-placeholder {
    width: 100%;
    height: 100%;
    background: #ddd;
}

#wrapper .specialized__body {
    padding: 14px 16px 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

#wrapper .specialized__meta {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #888;
    margin-bottom: 6px;
}

#wrapper .specialized__sep {
    color: #ccc;
}

#wrapper .specialized__cat {
    color: #47940B;
    font-weight: 500;
}

#wrapper .specialized__title {
    font-size: 17px;
    font-weight: 700;
    color: #181818;
    line-height: 1.4;
    margin: 0 0 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

#wrapper .specialized__title a {
    color: inherit;
    text-decoration: none;
}

#wrapper .specialized__title a:hover {
    color: #47940B;
}

#wrapper .specialized__excerpt {
    font-size: 13px;
    color: #595F65;
    line-height: 1.5;
    margin: 0;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

#wrapper .specialized__empty {
    color: #888;
    font-size: 15px;
    padding: 24px 0;
    grid-column: 1 / -1;
    text-align: center;
}

#wrapper .specialized__filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

#wrapper .specialized__filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 8px 18px;
    border-radius: 999px;
    border: 1.5px solid #C7C7C7;
    background: #fff;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s, color 0.2s;
    line-height: 1.3;
}

#wrapper .specialized__filter-btn:hover {
    border-color: #47940B;
    color: #47940B;
}

#wrapper .specialized__filter-btn--active {
    background: #47940B;
    border-color: #47940B;
    color: #fff;
}

#wrapper .specialized__filter-btn--active:hover {
    color: #fff;
    background: #388e13;
    border-color: #388e13;
}

#wrapper .specialized__filter-count {
    font-size: 12px;
    opacity: 0.7;
}

#wrapper .specialized__loading {
    display: none;
    justify-content: center;
    align-items: center;
    padding: 16px 0;
}

#wrapper .specialized__loading--visible {
    display: flex;
}

#wrapper .specialized__spinner {
    width: 30px;
    height: 30px;
    border: 3px solid #d4edd4;
    border-top-color: #47940B;
    border-radius: 50%;
    animation: child-spin 0.7s linear infinite;
    display: block;
}

@keyframes child-spin {
    to { transform: rotate(360deg); }
}

#wrapper .specialized__grid {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(1, 1fr);
    transition: opacity 0.25s;
}

#wrapper .specialized__grid--loading {
    opacity: 0.4;
    pointer-events: none;
}

@media (min-width: 640px) {
    #wrapper .specialized__grid--cols-2,
    #wrapper .specialized__grid--cols-3,
    #wrapper .specialized__grid--cols-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    #wrapper .specialized__grid--cols-3 {
        grid-template-columns: repeat(3, 1fr);
    }
    #wrapper .specialized__grid--cols-4 {
        grid-template-columns: repeat(4, 1fr);
    }
}

#wrapper .specialized__item {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #eee;
    transition: box-shadow 0.2s;
}

#wrapper .specialized__item:hover {
    box-shadow: 0 6px 24px rgba(0,0,0,0.10);
}

#wrapper .specialized__image-link {
    display: block;
    overflow: hidden;
}

#wrapper .specialized__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s;
}

#wrapper .specialized__item:hover .specialized__image img {
    transform: scale(1.05);
}

#wrapper .specialized__image-placeholder {
    width: 100%;
    height: 100%;
    background: #ddd;
}

#wrapper .specialized__more {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    color: #47940B;
    text-decoration: none;
    margin-top: auto;
}

#wrapper .specialized__more:hover {
    text-decoration: underline;
}

/* ============================
   Recruitment Filter
   ============================ */

/* ── Tabs ── */
.recruitment-filter__tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    margin-bottom: 32px;
    justify-content: center;
}

.recruitment-filter__tab {
    padding: 0 20px;
    border: none;
    font-size: 24px;
    line-height: 1.3;
    font-weight: 600;
    color: rgba(0, 0, 0, 0.6);
    cursor: pointer;
    text-transform: none;
    margin-right: 0;
    margin-bottom: 0;
}

.recruitment-filter__tab:hover {
    color: #47940B;
}

.recruitment-filter__tab--active {
    color: #47940B;
    font-weight: 600;
    text-decoration: underline;
}

/* ── Loading ── */
.recruitment-filter__loading {
    display: none;
    justify-content: center;
    align-items: center;
    padding: 16px 0;
}

.recruitment-filter__loading--visible {
    display: flex;
}

.recruitment-filter__spinner {
    width: 30px;
    height: 30px;
    border: 3px solid #d4edd4;
    border-top-color: #47940B;
    border-radius: 50%;
    animation: child-spin 0.7s linear infinite;
    display: block;
}

/* ── Grid ── */
.recruitment-filter__grid {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(1, 1fr);
}

.recruitment-filter__grid--loading {
    opacity: 0.4;
    pointer-events: none;
}

@media (min-width: 640px) {
    .recruitment-filter__grid--cols-2,
    .recruitment-filter__grid--cols-3,
    .recruitment-filter__grid--cols-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .recruitment-filter__grid--cols-2 { grid-template-columns: repeat(2, 1fr); }
    .recruitment-filter__grid--cols-3 { grid-template-columns: repeat(3, 1fr); }
    .recruitment-filter__grid--cols-4 { grid-template-columns: repeat(4, 1fr); }
}

/* ── Card ── */
.recruitment-card {
    background: #fff;
    border: 1px solid #E0E0E0;
    border-radius: 12px;
    overflow: hidden;
    transition: box-shadow 0.2s, border-color 0.2s;
}
.recruitment-card__salary {
    color: #B00101;
    font-size: 20px;
    line-height: 1.2;
    font-weight: 600;
}
.recruitment-card:hover {
    box-shadow: 0 4px 20px rgba(71, 148, 11, 0.12);
    border-color: #47940B;
}

.recruitment-card__body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.recruitment-card__title {
    font-size: 24px;
    font-weight: 600;
    color: #6CA93C;
    margin: 0;
    line-height: 1.3;
}

.recruitment-card__title a {
    color: inherit;
    text-decoration: none;
}

.recruitment-card__title a:hover {
    text-decoration: underline;
}

.recruitment-card__meta {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.recruitment-card__meta-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 16px;
    color: #6A6A6A;
    line-height: 1.3;
    font-weight: 400;
    margin-left: 0 !important;
}

.recruitment-card__icon {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    color: inherit;
    margin-top: 1px;
}

.recruitment-card__btn {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 4px;
    padding: 8px 20px;
    border: 1px solid #47940B;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.2;
    color: #47940B;
    text-decoration: none;
    transition: background 0.15s, color 0.15s;
    align-self: flex-start;
    width: 100%;
    justify-content: center;
}

.recruitment-card__btn:hover {
    background: #47940B;
    color: #fff;
}

/* ── Empty ── */
.recruitment-filter__empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px 0;
    color: #888;
    font-size: 15px;
}

/* ── Pagination ── */
.recruitment-filter__pagination {
    margin-top: 32px;
}

.recruitment-filter__pager {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
}

.recruitment-filter__page-btn {
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border: 1px solid #E0E0E0;
    border-radius: 8px;
    background: #fff;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s, color 0.15s;
    text-transform: none;
    margin-bottom: 0;
}

.recruitment-filter__page-btn:hover:not(.recruitment-filter__page-btn--disabled):not(.recruitment-filter__page-btn--current) {
    border-color: #47940B;
    color: #47940B;
}

.recruitment-filter__page-btn--current {
    background: #47940B;
    border-color: #47940B;
    color: #fff;
    cursor: default;
}

.recruitment-filter__page-btn--disabled {
    color: #ccc;
    cursor: default;
}