/* KAMA public site overrides. MediLab base: assets/css/site-main.css */

.header .logo img {
  max-height: 46px;
  width: auto;
  margin-right: 10px;
}

.header .logo h1 {
  font-size: 26px;
}

.kama-pill {
  display: inline-block;
  background: var(--accent-color);
  color: #fff;
  border: 0;
  padding: 10px 28px;
  border-radius: 50px;
  font-weight: 500;
}

.kama-pill:hover {
  color: #fff;
  background: color-mix(in srgb, var(--accent-color) 90%, white 15%);
}

.kama-pill-light {
  background: #fff;
  color: var(--accent-color);
}

.kama-pill-light:hover {
  color: var(--heading-color);
  background: #fff;
}

.appointment .kama-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

/* Inner pages that still use the previous page banner */
.bradcam_area {
  padding: 72px 0;
  background: linear-gradient(120deg, #1977cc, #2c4964);
  text-align: center;
}

.bradcam_area h3 {
  margin: 0 0 8px;
  color: #fff;
  font-size: 2.4rem;
  font-weight: 700;
}

.bradcam_area p,
.bradcam_area p a {
  margin: 0;
  color: #fff;
}

.section-padding {
  padding: 60px 0;
}

.blog_item {
  margin-bottom: 2rem;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(44, 73, 100, 0.08);
}

.blog_details {
  padding: 1.25rem 1.4rem 1.4rem;
}

.blog_details h2 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.blog_details p {
  color: #6c757d;
}

.form-group {
  margin-bottom: 1rem;
}

.btn-block {
  display: block;
  width: 100%;
}

.media {
  display: flex;
  align-items: flex-start;
}

.blog_right_sidebar .single_sidebar_widget,
.blog_right_sidebar aside {
  background: #fff;
  border-radius: 12px;
  padding: 1.25rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 8px 24px rgba(44, 73, 100, 0.08);
}

.blog_right_sidebar .widget_title {
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.feature-img img {
  width: 100%;
  border-radius: 12px;
}

.blog-info-link {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* Image heroes: text sits like the apply banner, bottom-left on the photo */
.page-title--image .heading {
  position: relative;
  overflow: hidden;
  padding: 0;
  border-top: 0;
  background: none;
}

.page-title--image .heading img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 1920 / 330;
  object-fit: fill;
}

.page-title--image .page-title-image-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.35) 42%, transparent 100%);
  padding: 1.5rem 0 2rem;
}

.page-title--image .page-title-image-inner {
  max-width: 720px;
}

.page-title--image .heading h1 {
  color: #fff;
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
}

.page-title--image .heading p {
  color: rgba(255, 255, 255, 0.94);
  font-size: 1.05rem;
  line-height: 1.65;
  margin-bottom: 0;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35);
}

@media (max-width: 700px) {
  .page-title--image .page-title-image-overlay {
    padding: 0.3rem 0;
  }

  .page-title--image .heading h1 {
    font-size: 1rem;
    line-height: 1.15;
    margin-bottom: 0.15rem;
  }

  .page-title--image .heading p {
    font-size: 0.75rem;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

/* Hero breadcrumb sits at the bottom-right of the image */
.page-title--image .page-title-hero-bar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
}

.page-title--image .page-title-hero-bar .page-title-image-inner {
  min-width: 0;
}

.page-title--image .page-title-hero-bar .breadcrumbs {
  flex: 0 0 auto;
  margin: 0 0 0.15rem;
  padding: 0;
  background: transparent;
}

.page-title--image .page-title-hero-bar .breadcrumbs ol {
  justify-content: flex-end;
  color: #fff;
}

.page-title--image .page-title-hero-bar .breadcrumbs a,
.page-title--image .page-title-hero-bar .breadcrumbs .current {
  color: #fff;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
}

.page-title--image .page-title-hero-bar .breadcrumbs ol li+li::before {
  color: rgba(255, 255, 255, 0.75);
}
