/* ==========================================================================
   LifeWellNutraceuticals — VSL Presentation & Educational Article Styles
   Full-Width 100% Responsive Layout Without Left/Right Pillar Borders
   ========================================================================== */

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

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: #000000;
  color: #FFFFFF;
  font-family: 'Lato', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  min-height: 100vh;
  width: 100%;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
}

/* Page Structure - 100% Fluid Width */
.main-content-dark {
  flex: 1 0 auto;
  width: 100%;
  padding-top: 24px;
  padding-bottom: 40px;
}

.content-container {
  width: 100%;
  max-width: 100%;
  padding-left: clamp(16px, 4vw, 48px);
  padding-right: clamp(16px, 4vw, 48px);
  margin-left: auto;
  margin-right: auto;
}

/* 1. Video Section - 100% Responsive Fluid Width */
.video-wrapper-section {
  width: 100%;
  margin-bottom: 28px;
}

.video-aspect-box {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  background-color: #050505;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.85);
}

.wistia-iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* 2. Dr. Paris Featured On Card - 100% Full Width Box */
.dr-paris-featured-box {
  width: 100%;
  background-color: #0c1c34; /* Rich deep navy matching reference */
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: clamp(24px, 3.5vw, 36px) clamp(20px, 3.5vw, 40px);
  margin-bottom: 32px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.5);
}

.featured-columns {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(24px, 3vw, 48px);
  align-items: center;
}

/* Left Column */
.featured-left-col {
  display: flex;
  flex-direction: column;
}

.doctor-badge-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 14px;
}

.doctor-avatar-wrapper {
  width: 72px;
  height: 92px;
  border-radius: 6px;
  overflow: hidden;
  flex-shrink: 0;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.4);
}

.doctor-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.doctor-title-block {
  display: flex;
  flex-direction: column;
}

.sub-title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(14px, 1.4vw, 16px);
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.2;
}

.main-title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.doctor-bio-text {
  font-family: 'Lato', sans-serif;
  font-size: clamp(12.5px, 1.15vw, 14px);
  line-height: 1.6;
  color: #D3DBE6;
  text-align: left;
}

/* Right Column: 6 White Logos Grid */
.featured-right-col {
  display: flex;
  align-items: center;
  justify-content: center;
}

.logos-grid-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: clamp(16px, 2.2vw, 28px);
  width: 100%;
  align-items: center;
  justify-items: center;
}

.logo-cell {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  width: 100%;
}

.white-logo {
  max-width: 100%;
  height: auto;
  display: block;
  opacity: 0.95;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.white-logo:hover {
  opacity: 1;
  transform: scale(1.03);
}

.logo-nbc {
  max-height: 52px;
}

.logo-scalpel {
  max-height: 42px;
}

.logo-tedx {
  max-height: 36px;
}

.logo-washpost {
  max-height: 42px;
}

.logo-mensfitness {
  max-height: 24px;
}

.logo-tribune {
  max-height: 40px;
}

/* 3. Educational Article Section - 100% Fluid Width */
.article-body-wrapper {
  width: 100%;
  background-color: #08111e;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: clamp(28px, 4vw, 48px) clamp(22px, 4vw, 52px);
  margin-bottom: 28px;
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.45);
}

.article-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 24px;
  margin-bottom: 28px;
}

.article-main-title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.85rem, 3.4vw, 2.6rem);
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.article-subtitle {
  font-family: 'Lato', sans-serif;
  font-size: clamp(1.1rem, 1.6vw, 1.35rem);
  color: #94A3B8;
  font-weight: 400;
}

.article-content-flow h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.35rem, 2vw, 1.65rem);
  font-weight: 700;
  color: #FFFFFF;
  margin: 32px 0 16px 0;
  line-height: 1.3;
}

.article-content-flow p {
  font-family: 'Lato', sans-serif;
  font-size: clamp(15px, 1.25vw, 16.5px);
  line-height: 1.8;
  color: #CBD5E1;
  margin-bottom: 18px;
}

.article-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin: 28px 0;
}

.nutraceutical-highlight-box {
  background: rgba(16, 185, 129, 0.08);
  border-left: 4px solid #10B981;
  padding: 18px 24px;
  border-radius: 0 8px 8px 0;
  color: #E2E8F0 !important;
  font-size: clamp(15.5px, 1.3vw, 17px) !important;
  line-height: 1.75 !important;
  margin: 24px 0 !important;
}

.nutraceutical-highlight-box strong {
  color: #34D399;
}

/* 4. Asterisk Disclaimer */
.asterisk-disclaimer {
  font-family: 'Lato', sans-serif;
  font-size: 11.5px;
  color: #8A96A6;
  text-align: center;
  margin-top: 16px;
  margin-bottom: 32px;
  padding: 0 16px;
  width: 100%;
}

/* 5. References Block */
.references-block {
  width: 100%;
  margin-bottom: 48px;
}

.references-toggle-btn {
  background: none;
  border: none;
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Montserrat', sans-serif;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.5px;
  cursor: pointer;
  padding: 8px 0;
  transition: opacity 0.2s ease;
}

.references-toggle-btn:hover {
  opacity: 0.85;
}

.references-icon {
  font-size: 17px;
  line-height: 1;
  color: #FFFFFF;
}

.references-list-wrapper {
  margin-top: 16px;
  transition: all 0.3s ease;
}

.references-list-wrapper.collapsed {
  display: none;
}

.references-numbered-list {
  padding-left: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.references-numbered-list li {
  font-family: 'Lato', sans-serif;
  font-size: 11.5px;
  line-height: 1.65;
  color: #C3CDD9;
}

/* 6. Light Gray Legal & Medical Disclaimer Footer - Full Width */
.site-legal-footer {
  flex-shrink: 0;
  background-color: #E2E2E8; /* Soft light gray matching screenshot */
  color: #4B5563;
  padding: clamp(24px, 3.5vw, 36px) clamp(16px, 4vw, 48px);
  width: 100%;
}

.footer-inner-container {
  width: 100%;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.footer-disclaimer-paragraph {
  font-family: 'Lato', sans-serif;
  font-size: 11.5px;
  line-height: 1.55;
  color: #64748B;
  margin-bottom: 22px;
  text-align: justify;
}

.footer-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12.5px;
  flex-wrap: wrap;
  gap: 14px;
  padding-top: 10px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.copyright-notice {
  color: #374151;
  font-weight: 500;
}

.legal-nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.footer-modal-link {
  background: none;
  border: none;
  color: #1D4ED8; /* Professional legal blue link */
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 500;
  cursor: pointer;
  padding: 0;
  text-decoration: none;
  transition: text-decoration 0.15s ease;
}

.footer-modal-link:hover {
  text-decoration: underline;
}

/* Modal Dialogs */
.legal-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(5px);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.legal-modal-overlay.active {
  display: flex;
  animation: modalFadeIn 0.25s ease-out;
}

.legal-modal-dialog {
  background: #FFFFFF;
  color: #1F2937;
  max-width: 640px;
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.5);
  overflow: hidden;
}

.modal-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  border-bottom: 1px solid #E5E7EB;
}

.modal-top h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 19px;
  font-weight: 700;
  color: #111827;
}

.modal-close-trigger {
  background: none;
  border: none;
  font-size: 26px;
  color: #9CA3AF;
  cursor: pointer;
  line-height: 1;
}

.modal-close-trigger:hover {
  color: #111827;
}

.modal-scroll-body {
  padding: 24px;
  max-height: 65vh;
  overflow-y: auto;
  font-size: 14px;
  line-height: 1.65;
  color: #4B5563;
}

.modal-scroll-body p {
  margin-bottom: 14px;
}

.modal-scroll-body p:last-child {
  margin-bottom: 0;
}

@keyframes modalFadeIn {
  from { opacity: 0; transform: scale(0.96); }
  to { opacity: 1; transform: scale(1); }
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */

/* Tablets (< 900px) */
@media (max-width: 900px) {
  .featured-columns {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

/* Mobile Devices (< 640px) */
@media (max-width: 640px) {
  .main-content-dark {
    padding-top: 16px;
  }

  .content-container {
    padding-left: 12px;
    padding-right: 12px;
  }

  .dr-paris-featured-box {
    padding: 20px 16px;
  }

  .article-body-wrapper {
    padding: 22px 16px;
  }

  .logos-grid-container {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px 14px;
  }

  .logo-cell {
    min-height: 44px;
  }

  .footer-meta-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}
