/* ==========================================================================
   Chest Care - Design System & Modern CSS
   ========================================================================== */

:root {
  --primary-teal: #086d77;
  --primary-dark: #05484f;
  --primary-hover: #0a7d89;
  --primary-light: #e6f5f6;
  --primary-accent: #02a9b5;

  --accent-cta: #0b7c89;
  --accent-cta-hover: #07636e;
  --accent-green: #108e68;

  --text-main: #1d2939;
  --text-secondary: #475467;
  --text-muted: #667085;
  --text-light: #98a2b3;
  --text-inverse: #ffffff;

  --bg-page: #f8fafc;
  --bg-card: #ffffff;
  --bg-subtle: #f2f6f8;
  --bg-blue-tint: #f0f7f9;

  --border-light: #e4e7ec;
  --border-subtle: #d0d5dd;
  --border-teal-light: #cde6e9;

  --font-serif: "Merriweather", "Georgia", serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --radius-xs: 4px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-pill: 9999px;

  --shadow-sm: 0 1px 2px rgba(16, 24, 40, 0.05);
  --shadow-md: 0 4px 10px -1px rgba(16, 24, 40, 0.08), 0 2px 4px -2px rgba(16, 24, 40, 0.04);
  --shadow-lg: 0 10px 18px -3px rgba(16, 24, 40, 0.08), 0 4px 6px -4px rgba(16, 24, 40, 0.03);

  --max-width: 1200px;
  --transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-sans);
  color: var(--text-main);
  background-color: var(--bg-page);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

/* Header & Top Navigation */
.site-header {
  background: #ffffff;
  border-bottom: 1px solid var(--border-light);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.header-top {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-logo-icon {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, #09727e, #034850);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 2px 6px rgba(9, 114, 126, 0.25);
  flex-shrink: 0;
}

.brand-info {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 800;
  color: #0b3c43;
  letter-spacing: -0.5px;
  line-height: 1.1;
}

.brand-subtitle {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #7b8895;
  text-transform: uppercase;
  margin-top: 2px;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.6vw, 22px);
  flex-shrink: 0;
}

.nav-link {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #344054;
  text-transform: uppercase;
  white-space: nowrap;
  display: inline-block;
  padding: 6px 2px;
  position: relative;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary-teal);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -16px;
  left: 0;
  right: 0;
  height: 2.5px;
  background: var(--primary-teal);
  border-radius: 2px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.btn-search {
  background: none;
  border: none;
  cursor: pointer;
  color: #475467;
  padding: 8px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.btn-search:hover {
  background: #f2f4f7;
  color: var(--primary-teal);
}

.btn-consultation {
  background: linear-gradient(135deg, #09727e, #05535c);
  color: #ffffff;
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 12px;
  border: none;
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(9, 114, 126, 0.25);
  transition: var(--transition);
}

.btn-consultation:hover {
  background: linear-gradient(135deg, #0c8290, #06626c);
  box-shadow: 0 4px 8px rgba(9, 114, 126, 0.35);
  transform: translateY(-1px);
}

.btn-consultation .btn-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-consultation .btn-text-wrap {
  text-align: left;
}

.btn-consultation .btn-main-text {
  display: block;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.2;
}

.btn-consultation .btn-sub-text {
  display: block;
  font-size: 10px;
  opacity: 0.88;
  font-weight: 500;
}

/* Category Filter Bar */
.category-subnav {
  background: #fcfdfe;
  border-top: 1px solid #edf2f5;
  border-bottom: 1px solid #e2e8f0;
  overflow-x: auto;
  scrollbar-width: thin;
}

.category-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 9px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  white-space: nowrap;
}

.cat-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #475467;
  padding: 5px 10px;
  border-radius: var(--radius-pill);
  transition: var(--transition);
}

.cat-item svg {
  width: 15px;
  height: 15px;
  stroke: #5a6b7d;
  flex-shrink: 0;
}

.cat-item:hover, .cat-item.active {
  color: var(--primary-teal);
  background: #eef7f8;
}

.cat-item:hover svg, .cat-item.active svg {
  stroke: var(--primary-teal);
}

/* Page Wrapper */
.page-wrapper {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 30px 24px 60px;
  flex: 1;
  width: 100%;
}

.breadcrumb-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--text-muted);
  margin-bottom: 22px;
}

.breadcrumb-nav a {
  color: var(--primary-teal);
  font-weight: 600;
}

.breadcrumb-nav .separator {
  color: var(--text-light);
}

/* ==========================================================================
   Ask The Expert Form Section (Top Mockup View)
   ========================================================================== */

.expert-page-header {
  margin-bottom: 28px;
}

.expert-page-title {
  font-family: var(--font-serif);
  font-size: 38px;
  font-weight: 800;
  color: #11252d;
  letter-spacing: -0.7px;
  line-height: 1.18;
}

.expert-page-subtitle {
  font-size: 15.5px;
  color: #475467;
  margin-top: 8px;
  font-weight: 400;
}

.ask-expert-layout {
  display: grid;
  grid-template-columns: 1fr 370px;
  gap: 32px;
  margin-bottom: 40px;
}

.consultation-form-card {
  background: #f1f8fa;
  border: 1px solid #d4e8ec;
  border-radius: var(--radius-md);
  padding: 28px 32px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.stepper-header {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  position: relative;
  border-bottom: 1px solid #d3e7eb;
  padding-bottom: 18px;
  margin-bottom: 26px;
}

.step-tab {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  position: relative;
}

.step-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #98a2b3;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  transition: var(--transition);
}

.step-meta {
  display: flex;
  flex-direction: column;
}

.step-eyebrow {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #64748b;
}

.step-label {
  font-size: 13.5px;
  font-weight: 700;
  color: #334155;
}

.step-tab.active .step-num {
  background: var(--primary-teal);
  box-shadow: 0 0 0 4px rgba(8, 109, 119, 0.18);
}

.step-tab.active .step-eyebrow {
  color: var(--primary-teal);
}

.step-tab.active .step-label {
  color: #0b373e;
}

.step-tab.completed .step-num {
  background: var(--accent-green);
}

.form-step-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-step-pane {
  display: none;
}

.form-step-pane.active {
  display: block;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-label {
  font-size: 13.5px;
  font-weight: 700;
  color: #1e293b;
}

.form-label .optional {
  font-weight: 400;
  color: #64748b;
}

.form-textarea {
  width: 100%;
  min-height: 140px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid #cbd5e1;
  background: #ffffff;
  font-size: 14px;
  line-height: 1.5;
  outline: none;
  resize: vertical;
  transition: var(--transition);
}

.form-textarea:focus, .form-select:focus, .form-input:focus {
  border-color: var(--primary-teal);
  box-shadow: 0 0 0 3px rgba(8, 109, 119, 0.14);
}

.form-select, .form-input {
  width: 100%;
  height: 44px;
  padding: 0 14px;
  border-radius: var(--radius-sm);
  border: 1px solid #cbd5e1;
  background: #ffffff;
  font-size: 14px;
  outline: none;
  transition: var(--transition);
}

.upload-button-wrapper {
  margin-top: 4px;
}

.btn-upload {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-sm);
  padding: 9px 16px;
  font-size: 13px;
  font-weight: 600;
  color: #334155;
  cursor: pointer;
  transition: var(--transition);
}

.btn-upload:hover {
  border-color: var(--primary-teal);
  color: var(--primary-teal);
  background: #f8fafc;
}

.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 24px;
}

.btn-step-next {
  background: var(--primary-teal);
  color: #ffffff;
  border: none;
  padding: 10px 28px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition);
}

.btn-step-next:hover {
  background: var(--primary-hover);
  box-shadow: 0 3px 8px rgba(8, 109, 119, 0.28);
}

.btn-step-back {
  background: #ffffff;
  color: #475467;
  border: 1px solid #cbd5e1;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

/* Sidebar in Ask-Expert */
.expert-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.sidebar-panel {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 22px;
  box-shadow: var(--shadow-sm);
}

.sidebar-title {
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 700;
  color: #11252d;
  margin-bottom: 16px;
  border-bottom: 1px solid #f1f5f9;
  padding-bottom: 10px;
}

.expert-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.expert-card-mini {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.expert-avatar {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  background: #e2e8f0;
  flex-shrink: 0;
  border: 1px solid #cbd5e1;
}

.expert-details h4 {
  font-size: 14px;
  font-weight: 700;
  color: #1e293b;
  line-height: 1.25;
}

.expert-details .qualification {
  font-size: 11px;
  color: var(--primary-teal);
  font-weight: 600;
  margin-top: 1px;
}

.expert-details .specialties {
  font-size: 11px;
  color: #64748b;
  margin-top: 3px;
  line-height: 1.35;
}

.qa-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.qa-item {
  padding-bottom: 12px;
  border-bottom: 1px solid #f1f5f9;
}

.qa-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.qa-question {
  font-size: 13px;
  font-weight: 700;
  color: #1e293b;
  display: flex;
  gap: 6px;
}

.qa-question span.q-prefix {
  color: var(--primary-teal);
}

.qa-answer {
  font-size: 12px;
  color: #64748b;
  margin-top: 4px;
  display: flex;
  gap: 6px;
  line-height: 1.4;
}

.qa-answer span.a-prefix {
  font-weight: 700;
  color: #334155;
}

/* ==========================================================================
   Homepage Layout (Bottom Mockup View)
   ========================================================================== */

.hero-editorial-section {
  display: grid;
  grid-template-columns: 1fr 370px;
  gap: 30px;
  margin-bottom: 34px;
}

.featured-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  transition: var(--transition);
}

.featured-card:hover {
  box-shadow: var(--shadow-md);
}

.featured-img-wrap {
  position: relative;
  background: #e2e8f0;
  min-height: 280px;
  height: 100%;
}

.featured-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.featured-badge {
  position: absolute;
  bottom: 14px;
  left: 14px;
  background: #0d4a52;
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 4px;
}

.featured-body {
  padding: 32px 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.article-category {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary-teal);
  margin-bottom: 10px;
}

.featured-title {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 800;
  line-height: 1.18;
  color: #11252d;
  letter-spacing: -0.5px;
  margin-bottom: 14px;
}

.featured-excerpt {
  font-size: 13.5px;
  color: #475467;
  line-height: 1.6;
  margin-bottom: 22px;
}

.read-guide-link {
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0d4a52;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.read-guide-link:hover {
  color: var(--primary-teal);
  gap: 9px;
}

/* Right Sidebar: Sponsored Specialist & Most Read */
.hero-side-column {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.sponsored-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  position: relative;
  box-shadow: var(--shadow-sm);
}

.sponsored-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.sponsored-label {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #475467;
}

.ad-pill {
  font-size: 9px;
  font-weight: 700;
  border: 1px solid #cbd5e1;
  color: #64748b;
  padding: 1px 5px;
  border-radius: 3px;
}

.sponsored-specialist-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sponsored-specialist-avatar {
  width: 100%;
  height: 220px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  object-position: top center;
  background: #f1f5f9;
}

.sponsored-consultation-title {
  font-size: 13.5px;
  font-weight: 700;
  color: #1e293b;
}

.sponsored-location {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  font-size: 11.5px;
  color: #64748b;
  line-height: 1.35;
}

.sponsored-location svg {
  width: 14px;
  height: 14px;
  stroke: var(--primary-teal);
  flex-shrink: 0;
  margin-top: 2px;
}

.btn-view-profile {
  margin-top: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary-teal);
  border: 1px solid var(--border-teal-light);
  border-radius: var(--radius-xs);
  padding: 7px 12px;
  background: #fbfdfd;
  transition: var(--transition);
}

.btn-view-profile:hover {
  background: #edf8f9;
  border-color: var(--primary-teal);
}

.most-read-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  box-shadow: var(--shadow-sm);
}

.most-read-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  border-bottom: 1px solid #f1f5f9;
  padding-bottom: 8px;
}

.most-read-header h3 {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 700;
  color: #11252d;
}

.most-read-header a {
  font-size: 11px;
  font-weight: 700;
  color: var(--primary-teal);
}

.most-read-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.most-read-item {
  display: grid;
  grid-template-columns: 24px 1fr 50px;
  gap: 10px;
  align-items: center;
  padding-bottom: 10px;
  border-bottom: 1px solid #f8fafc;
}

.most-read-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.mr-number {
  font-size: 12px;
  font-weight: 800;
  color: #94a3b8;
}

.mr-title {
  font-size: 12px;
  font-weight: 600;
  color: #1e293b;
  line-height: 1.35;
}

.mr-title:hover {
  color: var(--primary-teal);
}

.mr-thumb {
  width: 50px;
  height: 40px;
  border-radius: 4px;
  object-fit: cover;
  background: #e2e8f0;
}

/* Editorial 3-Card Grid */
.editorial-grid-section {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 34px;
}

.article-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.article-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.article-card-thumb {
  width: 100%;
  height: 185px;
  object-fit: cover;
  background: #e2e8f0;
}

.article-card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.article-card-title {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  color: #11252d;
  margin-bottom: 10px;
}

.article-card-title a:hover {
  color: var(--primary-teal);
}

.article-card-desc {
  font-size: 12.5px;
  color: #475467;
  line-height: 1.5;
  margin-bottom: 18px;
  flex: 1;
}

.article-card-meta {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #94a3b8;
  display: flex;
  align-items: center;
  gap: 8px;
  border-top: 1px solid #f1f5f9;
  padding-top: 12px;
}

.article-card-meta span.divider {
  color: #cbd5e1;
}

/* Dual Action Banner Ribbon */
.action-banners-ribbon {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 20px;
  margin-bottom: 24px;
}

.expert-query-banner {
  background: #f0f7f9;
  border: 1px solid #d0e7eb;
  border-radius: var(--radius-md);
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.banner-header-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.banner-title-area {
  display: flex;
  align-items: center;
  gap: 12px;
}

.query-banner-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary-teal);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.query-banner-text h3 {
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #0b373e;
}

.query-banner-text p {
  font-size: 11.5px;
  color: #475467;
}

.banner-badge-bubble {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #cde6e9;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #086d77;
}

.banner-search-form {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.banner-input-wrapper {
  position: relative;
  flex: 1;
}

.banner-input-wrapper svg {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
}

.banner-search-input {
  width: 100%;
  height: 40px;
  padding: 0 14px 0 36px;
  border-radius: var(--radius-sm);
  border: 1px solid #cbd5e1;
  background: #ffffff;
  font-size: 12.5px;
  outline: none;
}

.btn-banner-ask {
  background: var(--primary-teal);
  color: #ffffff;
  border: none;
  border-radius: var(--radius-sm);
  padding: 0 18px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition);
}

.btn-banner-ask:hover {
  background: var(--primary-hover);
}

.banner-tags-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tag-chip {
  background: #ffffff;
  border: 1px solid #d4e3e6;
  border-radius: var(--radius-pill);
  padding: 3px 10px;
  font-size: 11px;
  font-weight: 600;
  color: #475467;
  cursor: pointer;
  transition: var(--transition);
}

.tag-chip:hover {
  border-color: var(--primary-teal);
  color: var(--primary-teal);
}

.teleconsult-banner {
  background: #edf8f9;
  border: 1px solid #cee8ec;
  border-radius: var(--radius-md);
  padding: 20px 22px;
  display: grid;
  grid-template-columns: 1fr 115px;
  gap: 16px;
  align-items: center;
}

.teleconsult-content {
  display: flex;
  flex-direction: column;
}

.teleconsult-eyebrow {
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary-teal);
  margin-bottom: 4px;
}

.teleconsult-title {
  font-size: 16px;
  font-weight: 800;
  line-height: 1.25;
  color: #11252d;
  margin-bottom: 6px;
}

.teleconsult-subtitle {
  font-size: 11px;
  color: #475467;
  margin-bottom: 12px;
  line-height: 1.35;
}

.btn-book-call {
  background: var(--primary-teal);
  color: #ffffff;
  border: none;
  border-radius: var(--radius-sm);
  padding: 8px 14px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  width: fit-content;
  transition: var(--transition);
}

.btn-book-call:hover {
  background: var(--primary-hover);
}

.teleconsult-perks {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 10px;
  font-size: 10px;
  color: #526272;
  font-weight: 600;
}

.teleconsult-perks span {
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.teleconsult-img-wrap {
  width: 100%;
  height: 110px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #dceef2;
}

.teleconsult-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* City Specialist Locator Ribbon */
.city-specialist-ribbon {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  box-shadow: var(--shadow-sm);
}

.city-ribbon-title-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 250px;
}

.city-icon-pin {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #0b373e;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.city-ribbon-heading h4 {
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #11252d;
}

.city-ribbon-heading p {
  font-size: 11px;
  color: #64748b;
}

.city-cards-list {
  display: flex;
  align-items: center;
  gap: 12px;
  overflow-x: auto;
  scrollbar-width: none;
}

.city-pill-card {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-pill);
  padding: 5px 14px 5px 6px;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.city-pill-card:hover {
  background: #edf8f9;
  border-color: var(--primary-teal);
}

.city-thumb {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  background: #cbd5e1;
}

.city-info {
  display: flex;
  flex-direction: column;
}

.city-name {
  font-size: 11.5px;
  font-weight: 700;
  color: #1e293b;
  line-height: 1.2;
}

.city-count {
  font-size: 10px;
  color: #64748b;
}

/* Footer */
.site-footer {
  background: #0f1e24;
  color: #cbd5e1;
  padding: 50px 24px 28px;
  margin-top: 40px;
  border-top: 1px solid #1a2f38;
}

.footer-container {
  max-width: var(--max-width);
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand h3 {
  font-family: var(--font-serif);
  font-size: 22px;
  color: #ffffff;
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 13px;
  color: #94a3b8;
  line-height: 1.6;
}

.footer-col h4 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 13px;
}

.footer-links a:hover {
  color: #38bdf8;
}

.footer-bottom {
  border-top: 1px solid #1e333d;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: #64748b;
}

/* Modal Popup for Consultation */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 32px;
  max-width: 480px;
  width: 90%;
  box-shadow: var(--shadow-lg);
  position: relative;
  transform: translateY(20px);
  transition: transform 0.25s ease;
}

.modal-overlay.active .modal-card {
  transform: translateY(0);
}

.btn-close-modal {
  position: absolute;
  top: 18px;
  right: 18px;
  background: none;
  border: none;
  cursor: pointer;
  color: #94a3b8;
  padding: 4px;
  border-radius: 4px;
}

.btn-close-modal:hover {
  color: #1e293b;
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  .hero-editorial-section,
  .ask-expert-layout,
  .action-banners-ribbon {
    grid-template-columns: 1fr;
  }

  .editorial-grid-section {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .header-top {
    flex-wrap: wrap;
  }

  .primary-nav {
    display: none;
  }

  .featured-card {
    grid-template-columns: 1fr;
  }

  .featured-img-wrap {
    min-height: 220px;
  }

  .editorial-grid-section {
    grid-template-columns: 1fr;
  }

  .city-specialist-ribbon {
    flex-direction: column;
    align-items: flex-start;
  }

  .stepper-header {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}


@media (max-width: 1140px) {
  .header-top {
    padding: 10px 16px;
    gap: 12px;
  }
  .primary-nav {
    gap: 12px;
  }
  .nav-link {
    font-size: 11px;
    letter-spacing: 0.03em;
  }
  .brand-title {
    font-size: 20px;
  }
  .brand-subtitle {
    font-size: 8.5px;
  }
  .btn-consultation {
    padding: 6px 12px;
  }
  .btn-consultation .btn-main-text {
    font-size: 10.5px;
  }
  .btn-consultation .btn-sub-text {
    font-size: 9px;
  }
}


/* ==========================================================================
   Sophisticated Homepage UI / UX Enhancements
   ========================================================================== */

/* Subtle background accent */
body {
  background-color: #f8fafc;
}

.page-wrapper {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 30px 24px 60px 24px;
}

/* Hero Lead Card Refinements */
.featured-card {
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 20px -2px rgba(11, 60, 67, 0.07);
  border-radius: 14px;
  background: #ffffff;
  transition: all 0.28s ease;
}

.featured-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px -4px rgba(11, 60, 67, 0.12);
}

.featured-img-wrap {
  position: relative;
  overflow: hidden;
}

.featured-img-wrap img {
  transition: transform 0.4s ease;
}

.featured-card:hover .featured-img-wrap img {
  transform: scale(1.03);
}

.featured-badge {
  background: rgba(9, 114, 126, 0.92);
  backdrop-filter: blur(6px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.1em;
  padding: 6px 12px;
  border-radius: 6px;
}

.featured-title {
  font-size: 30px;
  line-height: 1.25;
}

.featured-title a {
  color: #0b3c43;
  transition: color 0.2s;
}

.featured-title a:hover {
  color: #09727e;
}

/* Sponsored Specialist Card Refinements */
.sponsored-card {
  border: 1px solid #dce7eb;
  border-radius: 14px;
  background: linear-gradient(180deg, #ffffff 0%, #f7fbfc 100%);
  box-shadow: 0 4px 16px -2px rgba(9, 114, 126, 0.08);
}

.sponsored-header {
  border-bottom: 1px solid #eef5f7;
  padding-bottom: 10px;
}

.btn-view-profile {
  background: linear-gradient(135deg, #09727e, #05535c);
  color: #ffffff;
  border: none;
  font-weight: 800;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(9, 114, 126, 0.22);
}

.btn-view-profile:hover {
  background: linear-gradient(135deg, #0c8290, #06626c);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(9, 114, 126, 0.32);
}

/* Most Read Card Refinements */
.most-read-card {
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  box-shadow: 0 4px 16px -2px rgba(0, 0, 0, 0.04);
}

.mr-number {
  font-family: var(--font-serif);
  font-size: 15px;
  font-weight: 800;
  color: #09727e;
}

.mr-thumb {
  border-radius: 6px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s;
}

.most-read-item:hover .mr-thumb {
  transform: scale(1.05);
}

/* Editorial Grid Cards */
.article-card {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 3px 14px -2px rgba(0, 0, 0, 0.04);
  transition: all 0.25s ease;
}

.article-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px -4px rgba(9, 114, 126, 0.12);
  border-color: #cbd5e1;
}

.article-card-thumb {
  transition: transform 0.35s ease;
}

.article-card:hover .article-card-thumb {
  transform: scale(1.03);
}

.article-card-title {
  font-size: 18px;
  line-height: 1.35;
}

.article-card-title a {
  color: #0f2d33;
}

.article-card-title a:hover {
  color: #09727e;
}

/* Section Header Badges */
.section-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #09727e;
  background: #edf8f9;
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 6px;
}

/* Dual Action Ribbon Styling */
.expert-query-banner {
  border-radius: 14px;
  border: 1px solid #d5e8ec;
  box-shadow: 0 4px 16px -2px rgba(9, 114, 126, 0.06);
}

.teleconsult-banner {
  border-radius: 14px;
  border: 1px solid #11444b;
  box-shadow: 0 4px 16px -2px rgba(3, 72, 80, 0.25);
}

.city-specialist-ribbon {
  border-radius: 14px;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.03);
}


/* ============================================================================
   Chest Care Dynamic CMS — Forum, Reader Progress, Modals & Responsive Polish
   ============================================================================ */
.cc-reading-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  background: linear-gradient(90deg, #0d7a80, #0b3c43); z-index: 9999; transition: width 0.08s linear;
}
.cc-btn-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  background: #0d7a80; color: #fff; border: none; padding: 9px 16px; border-radius: 8px;
  font-weight: 700; font-size: 13px; text-decoration: none; cursor: pointer;
}
.cc-btn-primary:hover { background: #095f64; }
.cc-btn-outline {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  background: #fff; color: #0b3c43; border: 1px solid #cbd5e1; padding: 9px 16px; border-radius: 8px;
  font-weight: 700; font-size: 13px; text-decoration: none; cursor: pointer;
}
.cc-btn-outline:hover { background: #f8fafc; border-color: #0d7a80; }
.cc-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 14px; }
.cc-input, .cc-select {
  padding: 9px 12px; border: 1px solid #cbd5e1; border-radius: 8px; font-family: inherit;
  font-size: 13.5px; background: #fff; color: #0f172a;
}
.cc-label { display: block; font-size: 12.5px; font-weight: 700; color: #334155; margin-bottom: 5px; }
.cc-badge { display: inline-flex; align-items: center; padding: 3px 9px; border-radius: 999px; font-size: 11px; font-weight: 700; }
.cc-badge-solved { background: #dcfce7; color: #166534; }
.cc-badge-pin { background: #e0f2fe; color: #0369a1; }
.cc-alert { padding: 12px 16px; border-radius: 10px; margin-bottom: 18px; font-size: 13.5px; font-weight: 600; }
.cc-alert-success { background: #dcfce7; color: #166534; border: 1px solid #86efac; }
.cc-alert-error { background: #fee2e2; color: #991b1b; border: 1px solid #fca5a5; }

/* Native Dialog Modals */
dialog.cc-search-dialog, dialog.cc-modal-dialog {
  border: none; border-radius: 14px; padding: 0; width: min(620px, 92vw);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.28); margin: auto;
}
dialog::backdrop { background: rgba(11, 40, 51, 0.55); backdrop-filter: blur(2px); }
.cc-dialog-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 18px; border-bottom: 1px solid #e2e8f0; color: #0b2833;
}
.cc-dialog-close { border: none; background: none; font-size: 22px; cursor: pointer; color: #64748b; line-height: 1; }
.cc-search-form { display: flex; gap: 8px; padding: 14px 18px; }
.cc-search-form input { flex: 1; padding: 10px 14px; border: 1px solid #cbd5e1; border-radius: 8px; font-size: 14.5px; }
.cc-search-form button { background: #0d7a80; color: #fff; border: none; padding: 10px 18px; border-radius: 8px; font-weight: 700; cursor: pointer; }
.cc-live-results { max-height: 320px; overflow-y: auto; padding: 0 18px 14px; }
.cc-live-group { font-size: 10.5px; font-weight: 800; color: #64748b; letter-spacing: 0.9px; margin: 10px 0 4px; }
.cc-live-item {
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
  padding: 8px 10px; border-radius: 8px; text-decoration: none; color: #0b2833; font-size: 13.5px; font-weight: 600;
}
.cc-live-item:hover { background: #f0fdfa; color: #0d7a80; }
.cc-live-item small { color: #64748b; font-weight: 500; white-space: nowrap; }

/* Home Forum Panel & Forum Page */
.cc-forum-home-panel { background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 16px; padding: 28px; margin: 20px 0 36px; }
.cc-thread-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 16px; }
.cc-thread-mini-card {
  display: block; background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; padding: 18px;
  text-decoration: none; transition: transform 0.15s, border-color 0.15s;
}
.cc-thread-mini-card:hover { transform: translateY(-2px); border-color: #0d7a80; }
.cc-thread-mini-title { margin: 0 0 8px; font-size: 15.5px; color: #0b2833; line-height: 1.38; }
.cc-thread-mini-excerpt { margin: 0 0 12px; font-size: 13px; color: #475569; line-height: 1.5; }
.cc-thread-mini-meta { font-size: 11.5px; color: #64748b; display: flex; flex-wrap: wrap; gap: 6px; }

.cc-forum-hero, .cc-archive-header {
  display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 16px; margin-bottom: 24px;
}
.cc-filter-bar { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.cc-forum-layout { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 24px; align-items: start; }
.cc-board-link {
  display: flex; justify-content: space-between; align-items: center; padding: 9px 10px; border-radius: 8px;
  text-decoration: none; color: #334155; font-size: 13.5px; font-weight: 600; margin-bottom: 4px;
}
.cc-board-link:hover, .cc-board-link.active { background: #f0fdfa; color: #0d7a80; }
.cc-count-pill { font-size: 11px; background: #f1f5f9; color: #475569; padding: 2px 7px; border-radius: 999px; }
.cc-thread-row {
  display: flex; gap: 16px; background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; padding: 18px;
}
.cc-upvote-btn {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-width: 48px; padding: 8px 6px; border-radius: 10px; border: 1px solid #cbd5e1;
  background: #f8fafc; color: #334155; font-weight: 800; font-size: 12.5px; cursor: pointer;
}
.cc-upvote-btn.cc-upvote-inline { flex-direction: row; gap: 6px; padding: 7px 14px; }
.cc-upvote-btn:hover, .cc-upvote-btn.voted, .cc-clap-btn.voted { background: #f0fdfa; border-color: #0d7a80; color: #0d7a80; }
.cc-reply-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; padding: 20px; }
.cc-reply-doctor { background: #f0fdfa; border-color: #5eead4; border-left: 4px solid #0d7a80; }

/* Article Reader & TOC */
.cc-article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: 36px; align-items: start; }
.cc-article-main { background: #fff; border: 1px solid #e2e8f0; border-radius: 16px; padding: 34px 38px; }
.cc-article-byline {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  padding: 14px 0; border-top: 1px solid #f1f5f9; border-bottom: 1px solid #f1f5f9;
}
.cc-byline-avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; border: 2px solid #0d7a80; }
.cc-clap-btn {
  margin-left: auto; padding: 7px 14px; border-radius: 999px; border: 1px solid #cbd5e1;
  background: #fff; font-size: 12.5px; font-weight: 700; cursor: pointer; color: #334155;
}
.cc-prose { font-size: 16.5px; line-height: 1.82; color: #1e293b; }
.cc-prose h2 { font-family: var(--font-serif); font-size: 24px; color: #0b3c43; margin: 30px 0 12px; }
.cc-prose h3 { font-size: 18.5px; color: #0d7a80; margin: 22px 0 8px; }
.cc-prose ul, .cc-prose ol { padding-left: 22px; margin: 12px 0 18px; }
.cc-prose li { margin-bottom: 7px; }
.cc-prose blockquote { border-left: 4px solid #0d7a80; background: #f0fdfa; padding: 14px 18px; border-radius: 0 10px 10px 0; margin: 18px 0; }
.article-table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 14px; }
.article-table th { background: #0b3c43; color: #fff; text-align: left; padding: 10px 12px; }
.article-table td { padding: 10px 12px; border-bottom: 1px solid #e2e8f0; }
.cc-toc-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 14px; padding: 18px; position: sticky; top: 90px; }
.cc-toc-card h4 { margin: 0 0 10px; font-size: 11.5px; letter-spacing: 1px; color: #64748b; }
.cc-toc-card ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 7px; font-size: 13px; }
.cc-toc-card a { color: #334155; text-decoration: none; }
.cc-toc-card a:hover { color: #0d7a80; }
.cc-tag-pill { background: #f1f5f9; color: #334155; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; text-decoration: none; }
.cc-article-cta {
  margin-top: 32px; padding: 22px; border-radius: 14px; background: #f0fdfa; border: 1px solid #99f6e4;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px;
}
.cc-category-hero { background: linear-gradient(135deg, #f0fdfa, #eff6ff); border: 1px solid #cbd5e1; border-radius: 16px; padding: 28px 32px; }
.cc-pagination { display: flex; justify-content: center; gap: 6px; margin-top: 24px; flex-wrap: wrap; }
.cc-page-link {
  padding: 7px 13px; border-radius: 8px; border: 1px solid #cbd5e1; background: #fff;
  color: #334155; font-weight: 700; font-size: 13px; text-decoration: none;
}
.cc-page-link.active { background: #0d7a80; color: #fff; border-color: #0d7a80; }

@media (max-width: 960px) {
  .cc-forum-layout, .cc-article-layout { grid-template-columns: 1fr; }
  .cc-article-main { padding: 22px 18px; }
}


/* Quora-style Auth Buttons & Member Header Chip */
.cc-google-btn {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; padding: 11px 16px; border-radius: 9px;
  border: 1px solid #cbd5e1; background: #fff; color: #1e293b;
  font-weight: 700; font-size: 13.5px; text-decoration: none; cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}
.cc-google-btn:hover { background: #f8fafc; border-color: #94a3b8; }
.cc-auth-divider {
  display: flex; align-items: center; text-align: center; margin: 18px 0;
  color: #94a3b8; font-size: 12px; font-weight: 600;
}
.cc-auth-divider::before, .cc-auth-divider::after {
  content: ""; flex: 1; border-bottom: 1px solid #e2e8f0;
}
.cc-auth-divider span { padding: 0 12px; }
.cc-member-chip {
  display: inline-flex; align-items: center; gap: 7px; padding: 5px 12px 5px 6px;
  border-radius: 999px; background: #f0fdfa; border: 1px solid #99f6e4;
  color: #0b3c43; font-size: 12.5px; font-weight: 700; text-decoration: none;
}
.cc-member-dot {
  width: 24px; height: 24px; border-radius: 50%; background: #0d7a80; color: #fff;
  display: inline-flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 800;
}

/* Inline Editorial Visual Figures inside Article Body */
.cc-inline-visual {
  margin: 28px 0;
  padding: 0;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(11, 60, 67, 0.06);
}
.cc-inline-visual-frame {
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 360px;
  overflow: hidden;
  background: #0b3c43;
}
.cc-inline-visual-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.cc-inline-visual figcaption {
  padding: 12px 16px;
  font-size: 13px;
  line-height: 1.5;
  color: #475569;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  border-top: 1px solid #e2e8f0;
}
.cc-visual-tag {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  background: #e6f4f4;
  color: #0b6e75;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Homepage Procedural Animated Alveoli Drawing Background */
.cc-home-drawing-bg {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  content-visibility: auto;
}
.cc-home-main {
  position: relative;
  z-index: 1;
}
.site-footer {
  position: relative;
  z-index: 2;
}
.cc-home-main .featured-card,
.cc-home-main .sponsored-card,
.cc-home-main .most-read-card,
.cc-home-main .article-card,
.cc-home-main .cc-forum-home-panel {
  background: rgba(255, 255, 255, 0.90);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.cc-home-main .cc-forum-home-panel {
  background: rgba(248, 250, 252, 0.88);
}

/* SEO Specialty Pillars, Clinical Authority Strip, Directory Hub & FAQ Accordion */
.cc-seo-pillars-section,
.cc-conditions-hub,
.cc-faq-section {
  margin: 36px 0;
  padding: 28px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.90);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid #e2e8f0;
}
.cc-pillar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
}
.cc-pillar-card {
  display: block;
  padding: 20px;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  text-decoration: none;
  transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}
.cc-pillar-card:hover {
  transform: translateY(-2px);
  border-color: #0d7a80;
  box-shadow: 0 8px 20px rgba(11, 60, 67, 0.08);
}
.cc-pillar-tag {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #0d7a80;
  background: #e6f4f4;
  padding: 3px 9px;
  border-radius: 999px;
  margin-bottom: 10px;
}
.cc-pillar-card h3 {
  margin: 0 0 8px;
  font-family: var(--font-serif);
  font-size: 17px;
  color: #0b2833;
  line-height: 1.3;
}
.cc-pillar-card p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.55;
  color: #475569;
}
.cc-authority-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 14px;
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid #e2e8f0;
}
.cc-auth-stat {
  padding: 14px 16px;
  border-radius: 12px;
  background: linear-gradient(135deg, #0b3c43, #0f5661);
  color: #ffffff;
}
.cc-auth-stat strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 26px;
  line-height: 1.15;
  color: #5eead4;
}
.cc-auth-stat span {
  display: block;
  margin-top: 4px;
  font-size: 12.5px;
  color: #d7eff1;
  line-height: 1.4;
}
.cc-cond-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}
.cc-cond-col h3 {
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 800;
  color: #0b3c43;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.cc-cond-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}
.cc-cond-col a {
  font-size: 13.5px;
  font-weight: 600;
  color: #334155;
  text-decoration: none;
  display: inline-block;
  line-height: 1.4;
}
.cc-cond-col a:hover {
  color: #0d7a80;
  text-decoration: underline;
}
.cc-faq-list {
  display: grid;
  gap: 10px;
}
.cc-faq-item {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #f8fafc;
  padding: 14px 18px;
}
.cc-faq-item[open] {
  background: #ffffff;
  border-color: #99f6e4;
}
.cc-faq-item summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 15px;
  color: #0b2833;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.cc-faq-item summary::-webkit-details-marker { display: none; }
.cc-faq-item summary::after {
  content: "+";
  font-size: 20px;
  font-weight: 400;
  color: #0d7a80;
  line-height: 1;
}
.cc-faq-item[open] summary::after {
  content: "\2212";
}
.cc-faq-item p {
  margin: 10px 0 0;
  font-size: 14px;
  line-height: 1.65;
  color: #475569;
}
