/*
  For Providers — Blog (static route mirror).
*/
@import url("../contact-ds2.css");

/* Hero — keep background legibility consistent with patient blog */
.ds2-page .ds2-hero--blog .ds2-hero__bg img {
  opacity: 0.14;
}

/* ─── Articles section ─── */
.ds2-page .bp-articles {
  padding: 4rem 0 6rem;
  background: linear-gradient(165deg, #f9fafb 0%, rgb(239 246 255 / 0.45) 100%);
}

@media (min-width: 768px) {
  .ds2-page .bp-articles {
    padding: 6rem 0 8rem;
  }
}

.ds2-page .bp-articles__inner {
  max-width: var(--layout-max);
  width: min(100%, var(--layout-max));
  margin: 0 auto;
  padding-top: 0;
  padding-bottom: 0;
  padding-left: env(safe-area-inset-left, 0px);
  padding-right: env(safe-area-inset-right, 0px);
  box-sizing: border-box;
}

@media (min-width: 768px) {
  .ds2-page .bp-articles__inner {
    padding-left: env(safe-area-inset-left, 0px);
    padding-right: env(safe-area-inset-right, 0px);
  }
}

.ds2-page .bp-articles__intro {
  text-align: center;
  margin-bottom: 3rem;
}

.ds2-page .bp-articles__intro h2 {
  margin: 0 0 1rem;
  font-family: var(--font-heading);
  font-weight: 300;
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  color: #111827;
}

.ds2-page .bp-articles__intro > p {
  margin: 0 auto;
  max-width: 42rem;
  font-family: var(--font-sans);
  font-size: 1.125rem;
  line-height: 1.6;
  color: #4b5563;
}

.ds2-page .bp-layout {
  display: grid;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .ds2-page .bp-layout {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
    align-items: start;
  }

  .ds2-page .bp-layout__main {
    grid-column: span 2;
  }

  .ds2-page .bp-layout__aside {
    grid-column: span 1;
  }
}

.ds2-page .bp-filter-bar {
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.ds2-page .bp-filter-bar.is-visible {
  display: flex;
}

.ds2-page .bp-filter-bar p {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  color: #4b5563;
}

.ds2-page .bp-filter-bar button {
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  color: #0073ff;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.25rem 0;
}

.ds2-page .bp-filter-bar button:hover {
  color: #005bcc;
}

.ds2-page .bp-empty {
  display: none;
  padding: 3rem env(safe-area-inset-right, 0px) 3rem env(safe-area-inset-left, 0px);
  text-align: center;
}

.ds2-page .bp-empty.is-visible {
  display: block;
}

.ds2-page .bp-empty p {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.125rem;
  color: #4b5563;
}

.ds2-page .bp-empty button {
  margin-top: 1rem;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  color: #0073ff;
  background: none;
  border: none;
  cursor: pointer;
}

.ds2-page .bp-posts {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .ds2-page .bp-posts {
    grid-template-columns: 1fr 1fr;
  }
}

.ds2-page .bp-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  border-radius: 0.75rem;
  background: #fff;
  transition: border-color 0.3s ease, box-shadow 0.35s ease;
}

.ds2-page .bp-card[hidden] {
  display: none !important;
}

.ds2-page .bp-card:hover {
  border-color: rgb(0 115 255 / 0.3);
  box-shadow: 0 16px 40px -12px rgb(0 115 255 / 0.12);
}

.ds2-page .bp-card__media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.ds2-page .bp-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s var(--ds2-ease);
}

.ds2-page .bp-card:hover .bp-card__media img {
  transform: scale(1.05);
}

.ds2-page .bp-card__badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.25rem 0.65rem;
  border-radius: 50px;
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  font-weight: 600;
  border: 1px solid rgb(255 255 255 / 0.35);
  background: rgb(255 255 255 / 0.92);
  color: #111827;
}

.ds2-page .bp-card__body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex: 1;
}

.ds2-page .bp-card__meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  color: #6b7280;
}

.ds2-page .bp-card__body h3 {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.3;
}

.ds2-page .bp-card__body h3 a {
  color: inherit;
  text-decoration: none;
}

.ds2-page .bp-card__body h3 a:hover {
  color: #0073ff;
}

.ds2-page .bp-card__excerpt {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  line-height: 1.55;
  color: #4b5563;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ds2-page .bp-card__author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-top: 1rem;
  margin-top: auto;
  border-top: 1px solid #f3f4f6;
}

.ds2-page .bp-card__author img {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  object-fit: cover;
  background: #f3f4f6;
}

.ds2-page .bp-card__author-name {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 600;
  color: #111827;
}

.ds2-page .bp-card__author-role {
  margin: 0.15rem 0 0;
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  color: #6b7280;
}

.ds2-page .bp-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.ds2-page .bp-card__tags span {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 500;
  color: #0073ff;
}

/* Sidebar */
.ds2-page .bp-aside {
  position: relative;
}

.ds2-page .bp-aside--widget {
  width: 100%;
}

@media (min-width: 1024px) {
  .ds2-page .bp-aside__sticky {
    position: sticky;
    top: 6rem;
  }
}

.ds2-page .bp-panel {
  border: 1px solid #e5e7eb;
  border-radius: 0.75rem;
  background: #fff;
  padding: 1.25rem 1.25rem 1.5rem;
  margin-bottom: 1.5rem;
  transition: box-shadow 0.3s ease;
}

.ds2-page .bp-panel:hover {
  box-shadow: 0 8px 24px rgb(15 23 42 / 0.06);
}

.ds2-page .bp-panel h3 {
  margin: 0 0 1rem;
  font-family: var(--font-sans);
  font-size: 1.25rem;
  font-weight: 600;
  color: #111827;
}

.ds2-page .bp-cat-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ds2-page .bp-cat-list li {
  margin: 0;
}

.ds2-page .bp-cat-btn {
  display: block;
  width: 100%;
  margin: 0 -0.5rem;
  padding: 0.5rem 0.5rem;
  border: none;
  border-radius: 0.375rem;
  background: transparent;
  cursor: pointer;
  text-align: left;
  font: inherit;
  transition: background 0.2s ease;
}

.ds2-page .bp-cat-btn:hover {
  background: #f9fafb;
}

.ds2-page .bp-cat-btn.is-active {
  background: rgb(0 115 255 / 0.1);
}

.ds2-page .bp-cat-btn__name {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 600;
  color: #111827;
  transition: color 0.2s ease;
}

.ds2-page .bp-cat-btn:hover .bp-cat-btn__name {
  color: #0073ff;
}

.ds2-page .bp-cat-btn.is-active .bp-cat-btn__name {
  color: #0073ff;
}

.ds2-page .bp-cat-btn__desc {
  display: block;
  margin-top: 0.25rem;
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  color: #6b7280;
  line-height: 1.4;
}

.ds2-page .bp-panel--cta {
  background: linear-gradient(165deg, rgb(0 115 255 / 0.06) 0%, rgb(5 200 50 / 0.06) 100%);
  border-color: #e5e7eb;
}

.ds2-page .bp-panel--cta p {
  margin: 0 0 1rem;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  line-height: 1.55;
  color: #4b5563;
}

.ds2-page .bp-panel--cta .btn--primary {
  display: block;
  width: 100%;
  text-align: center;
  background: #0073ff;
  border-color: #0073ff;
  color: #fff;
  font-weight: 600;
}

.ds2-page .bp-panel--cta .btn--primary:hover {
  background: #005bcc;
  border-color: #005bcc;
  color: #fff;
}

/* ─── Single article ─── */
body.blog-providers-single {
  background: linear-gradient(165deg, #eef6ff 0%, #f7fafd 38%, rgb(240 249 255 / 0.92) 72%, #f9fafb 100%);
  min-height: 100vh;
}

body.blog-providers-single .elementor-location-single,
body.blog-providers-single .elementor-location-single > .elementor-section {
  background: transparent !important;
}

.ds2-page .bp-single {
  padding: 5rem 0 6rem;
  background: transparent;
}

@media (min-width: 768px) {
  .ds2-page .bp-single {
    padding: 6.5rem 0 8rem;
  }
}

.ds2-page .bp-single__inner {
  max-width: var(--layout-max);
  width: min(100%, var(--layout-max));
  margin: 0 auto;
  padding-left: max(1.25rem, env(safe-area-inset-left, 0px));
  padding-right: max(1.25rem, env(safe-area-inset-right, 0px));
  box-sizing: border-box;
}

.ds2-page .bp-single__back {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 600;
  color: #0073ff;
  text-decoration: none;
}

.ds2-page .bp-single__back:hover {
  color: #005bcc;
}

.ds2-page .bp-single__head {
  max-width: 48rem;
  margin: 0 auto 2.5rem;
  text-align: center;
}

.ds2-page .bp-single__badge {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgb(0 115 255 / 0.1);
  color: #0073ff;
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 600;
}

.ds2-page .bp-single__title {
  margin: 0 0 1rem;
  font-family: var(--font-heading);
  font-weight: 300;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
  color: #111827;
  text-align: center;
}

.ds2-page .bp-single__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  color: #6b7280;
}

.ds2-page .bp-single__media {
  margin: 0 auto 2.5rem;
  max-width: 48rem;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 20px 40px rgb(17 24 39 / 0.08);
}

.ds2-page .bp-single__media img {
  display: block;
  width: 100%;
  height: auto;
}

.ds2-page .bp-single__content {
  max-width: 48rem;
  margin: 0 auto;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.75;
  color: #374151;
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
}

.ds2-page .bp-single__content > *:first-child {
  margin-top: 0;
}

.ds2-page .bp-single__content > *:last-child {
  margin-bottom: 0;
}

.ds2-page .bp-single__content p {
  margin: 0 0 1.25rem;
  text-align: justify;
  text-justify: inter-word;
}

.ds2-page .bp-single__content h2,
.ds2-page .bp-single__content h3 {
  margin: 2rem 0 1rem;
  font-family: var(--font-heading);
  font-weight: 400;
  color: #111827;
  text-align: center;
}

.ds2-page .bp-single__lead {
  font-size: 1.25rem;
  line-height: 1.65;
  color: #4b5563;
  text-align: justify;
  text-justify: inter-word;
}

.ds2-page .bp-single__author {
  display: flex;
  align-items: center;
  gap: 1rem;
  max-width: 48rem;
  margin: 3rem auto 0;
  padding-top: 2rem;
  border-top: 1px solid #e5e7eb;
}

.ds2-page .bp-single__author img {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 999px;
  object-fit: cover;
}

.ds2-page .bp-single__author img[src*="renewal-symbol"],
.ds2-page .bp-card__author img[src*="renewal-symbol"] {
  display: block;
  flex-shrink: 0;
  object-fit: contain !important;
  object-position: center center;
  padding: 0.4rem;
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
  box-sizing: border-box;
}

.ds2-page .bp-single__author-name {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  color: #111827;
}

.ds2-page .bp-single__author-role {
  margin: 0.15rem 0 0;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  color: #6b7280;
}

.ds2-page .bp-single__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  max-width: 48rem;
  margin: 1.5rem auto 0;
  justify-content: center;
}

.ds2-page .bp-single__tags span {
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: #f3f4f6;
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  color: #4b5563;
}

.ds2-page .bp-single__editor-note {
  padding: 1rem;
  border: 1px dashed #d1d5db;
  border-radius: 0.5rem;
  font-family: var(--font-sans);
  color: #6b7280;
}
