/* Amrita ENT About page styles
   Scoped to .about-page so shared site pages are not affected. */
.about-page #doctors.doctors-section,
.about-page #legacy.legacy-section,
.about-page #youtube.youtube {
  display:block;
  width:100%;
  clear:both;
}

.about-page #doctors.doctors-section {
  background:#eef9fd;
  padding:48px 0;
}
.about-page #legacy.legacy-section {
  background:#eaf7fd;
  padding:42px 0;
}
.about-page .custom-section-title {
  max-width:1000px;
  margin:0 auto 28px;
  text-align:center;
}
.about-page .custom-section-title h2 {
  margin:0;
  color:#084582;
  font-size:32px;
  font-weight:700;
  line-height:1.25;
}
.about-page .custom-section-title .title-underline {
  display:block;
  width:65px;
  height:4px;
  margin:14px auto 18px;
  border-radius:5px;
  background:#087bdc;
}
.about-page .custom-section-title p {
  max-width:900px;
  margin:0 auto;
  color:#45546a;
  font-size:16px;
  line-height:1.6;
}

/* Doctor grid and cards */
.about-page #doctors .row {
  display:flex;
  flex-wrap:wrap;
  align-items:stretch;
  row-gap:24px;
}
.about-page #doctors .row > [class*="col-"] {
  display:flex;
  min-width:0;
}
.about-page #doctors .doctor-card {
  display:flex;
  flex-direction:row;
  align-items:center;
  gap:22px;
  width:100%;
  min-height:220px;
  padding:22px;
  overflow:hidden;
  background:#fff;
  border:1px solid #e3eff8;
  border-radius:17px;
  box-shadow:0 5px 20px rgba(23,76,120,.07);
  transition:transform .25s ease,box-shadow .25s ease;
}
.about-page #doctors .doctor-card:hover {
  transform:translateY(-3px);
  box-shadow:0 9px 25px rgba(23,76,120,.12);
}
.about-page #doctors .doctor-photo {
  flex:0 0 150px;
  width:150px;
  height:150px;
  max-width:150px;
  margin:0;
}
.about-page #doctors .doctor-photo img {
  display:block;
  width:150px !important;
  height:150px !important;
  max-width:100%;
  margin:0;
  object-fit:cover;
  object-position:center top;
  border:6px solid #e3f5ff;
  border-radius:50%;
}
.about-page #doctors .doctor-details {
  flex:1 1 auto;
  min-width:0;
  text-align:left;
}
.about-page #doctors .doctor-details h3 {
  margin:0 0 9px;
  color:#084582;
  font-size:22px;
  font-weight:700;
  line-height:1.3;
}
.about-page #doctors .doctor-qualification {
  margin:0;
  color:#45546a;
  font-size:15px;
  line-height:1.5;
}
.about-page #doctors .card-underline {
  width:44px;
  height:2px;
  margin:13px 0 16px;
  background:#a9d5f4;
}
.about-page #doctors a.doctor-button {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  min-width:138px;
  padding:10px 20px;
  color:#fff !important;
  background:#087bdc;
  border:0;
  border-radius:28px;
  text-decoration:none;
  font-size:14px;
  font-weight:600;
  line-height:1.3;
}
.about-page #doctors a.doctor-button:hover,
.about-page #doctors a.doctor-button:focus {
  color:#fff !important;
  background:#075fae;
}
.about-page #doctors .doctor-button span {font-size:20px;line-height:1;}

/* Legacy feature card */
.about-page #legacy .legacy-card {
  display:flex;
  align-items:center;
  gap:30px;
  padding:28px;
  background:#fff;
  border:1px solid #e3eff8;
  border-radius:18px;
  box-shadow:0 5px 20px rgba(23,76,120,.07);
}
.about-page #legacy .legacy-photo {
  flex:0 0 235px;
  width:235px;
  padding-right:25px;
  border-right:1px solid #b7ddf5;
  text-align:center;
}
.about-page #legacy .legacy-photo img {
  display:block;
  width:195px;
  height:195px;
  max-width:100%;
  margin:0 auto;
  object-fit:cover;
  object-position:center top;
  border:7px solid #e3f5ff;
  border-radius:50%;
}
.about-page #legacy .legacy-details {flex:1;min-width:0;}
.about-page #legacy .legacy-details h3 {
  margin:0 0 10px;
  color:#084582;
  font-size:24px;
  font-weight:700;
  line-height:1.3;
}
.about-page #legacy .founder-label {
  display:inline-block;
  max-width:100%;
  padding:7px 12px;
  color:#0759a4;
  background:#e7f5ff;
  border-radius:8px;
  font-size:14px;
  line-height:1.5;
}
.about-page #legacy .legacy-underline {
  width:44px;height:2px;margin:15px 0;background:#a9d5f4;
}
.about-page #legacy .legacy-details p {
  margin:0 0 14px;
  color:#45546a;
  font-size:15px;
  line-height:1.65;
}
.about-page #legacy .legacy-details p:last-child {margin-bottom:0;}

/* YouTube thumbnail slider */
.about-page #youtube.youtube {padding:40px 0;}
.about-page #youtube .youtube-slider {width:100%;overflow:hidden;}
.about-page #youtube .swiper-slide {height:auto;}
.about-page #youtube .youtube-container {
  position:relative;
  width:100%;
  aspect-ratio:16/9;
  overflow:hidden;
  background:#111;
  border-radius:10px;
}
.about-page #youtube .youtube-consent-placeholder {
  position:absolute;
  inset:0;
  display:block;
  width:100%;
  height:100%;
  padding:0;
  overflow:hidden;
  border:0;
  background:#111;
  cursor:pointer;
}
.about-page #youtube .youtube-consent-placeholder img {
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
}
.about-page #youtube .youtube-play-icon {
  position:absolute;
  top:50%;left:50%;
  display:grid;
  width:62px;height:44px;
  place-items:center;
  transform:translate(-50%,-50%);
  color:#fff;
  background:#d00;
  border-radius:11px;
  font-size:24px;
}
.about-page #youtube .youtube-load-label {
  position:absolute;left:0;right:0;bottom:0;
  padding:7px 10px;
  color:#fff;
  background:rgba(0,0,0,.62);
  text-align:center;
  font-size:13px;
}
.about-page #youtube .youtube-container > iframe {
  position:absolute;inset:0;
  display:block;width:100%;height:100%;border:0;
}
.about-page #youtube .swiper-pagination {position:relative;margin-top:16px;}
.about-page #youtube .swiper-pagination-bullet {width:10px;height:10px;opacity:1;background:#d7e9f8;border:1px solid #1977cc;}
.about-page #youtube .swiper-pagination-bullet-active {background:#1977cc;}

@media (min-width:768px) and (max-width:1100px) {
  .about-page #doctors .doctor-card {gap:14px;padding:18px;}
  .about-page #doctors .doctor-photo {flex-basis:120px;width:120px;height:120px;max-width:120px;}
  .about-page #doctors .doctor-photo img {width:120px !important;height:120px !important;}
  .about-page #doctors .doctor-details h3 {font-size:19px;}
  .about-page #doctors .doctor-qualification {font-size:13px;}
  .about-page #legacy .legacy-photo {flex-basis:190px;width:190px;padding-right:18px;}
  .about-page #legacy .legacy-photo img {width:160px;height:160px;}
}
@media (max-width:767px) {
  .about-page #doctors.doctors-section,.about-page #legacy.legacy-section {padding:28px 0;}
  .about-page .custom-section-title {margin-bottom:20px;padding:0 8px;}
  .about-page .custom-section-title h2 {font-size:23px;line-height:1.3;}
  .about-page .custom-section-title .title-underline {width:46px;height:3px;margin:10px auto 12px;}
  .about-page .custom-section-title p {font-size:13px;line-height:1.55;}
  .about-page #doctors .row {row-gap:16px;}
  .about-page #doctors .row > [class*="col-"] {display:block;}
  .about-page #doctors .doctor-card {flex-direction:column;justify-content:center;gap:10px;min-height:0;padding:18px 14px 20px;text-align:center;}
  .about-page #doctors .doctor-photo {flex:0 0 112px;width:112px;height:112px;max-width:112px;margin:0 auto;}
  .about-page #doctors .doctor-photo img {width:112px !important;height:112px !important;border-width:5px;}
  .about-page #doctors .doctor-details {width:100%;text-align:center;}
  .about-page #doctors .doctor-details h3 {margin:0 0 5px;font-size:18px;}
  .about-page #doctors .doctor-qualification {font-size:13px;}
  .about-page #doctors .card-underline {margin:10px auto 12px;}
  .about-page #doctors a.doctor-button {min-width:130px;padding:9px 17px;font-size:13px;}
  .about-page #legacy .legacy-card {flex-direction:column;gap:14px;padding:18px 14px 20px;}
  .about-page #legacy .legacy-photo {flex:none;width:100%;padding:0;border:0;}
  .about-page #legacy .legacy-photo img {width:105px;height:105px;border-width:5px;}
  .about-page #legacy .legacy-details {width:100%;text-align:center;}
  .about-page #legacy .legacy-details h3 {font-size:18px;}
  .about-page #legacy .founder-label {font-size:12px;}
  .about-page #legacy .legacy-underline {margin:12px auto;}
  .about-page #legacy .legacy-details p {font-size:13px;text-align:left;}
  .about-page #youtube.youtube {padding:25px 0;}
}
@media (max-width:380px) {
  .about-page .custom-section-title h2 {font-size:21px;}
  .about-page #doctors .doctor-card {padding:15px 11px 18px;}
  .about-page #doctors .doctor-photo,.about-page #doctors .doctor-photo img {width:100px !important;height:100px !important;}
  .about-page #doctors .doctor-photo {flex-basis:100px;max-width:100px;}
}
