/* ========================================
   Weight Loss Landing Page – Style
   MOBILE-FIRST (375px primary viewport)
   Cold FB Traffic Optimized
   ======================================== */

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

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: Georgia, 'Times New Roman', Times, serif;
  color: #333;
  background-color: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  /* Prevent horizontal scroll on mobile */
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  /* Minimum tap target for mobile */
  -webkit-tap-highlight-color: transparent;
}

/* ========================================
   Advertorial Label
   ======================================== */
.advertorial-label {
  background-color: #f5f5f5;
  border-bottom: 1px solid #e0e0e0;
  padding: 8px 0;
  text-align: center;
}

.advertorial-label span {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 11px;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ========================================
   Container — mobile-first
   ======================================== */
.container {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 16px;
}

/* ========================================
   Article Header — mobile-first sizes
   ======================================== */
.article-header {
  padding: 18px 0 12px;
  border-bottom: 1px solid #e0e0e0;
}

.article-header__title {
  font-family: Georgia, 'Times New Roman', Times, serif;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.3;
  color: #1a1a1a;
  margin-bottom: 10px;
}

/* Meta info row */
.article-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 8px 0;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  color: #888;
}

.article-meta__icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #c0392b;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
}

.article-meta__author {
  font-style: italic;
}

.article-meta__author strong {
  font-style: normal;
  color: #555;
}

/* Stats row */
.article-stats {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 6px 0 4px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 11px;
  color: #888;
}

.article-stats__item {
  display: flex;
  align-items: center;
  gap: 4px;
}

.article-stats__item .dot {
  color: #c0392b;
  font-size: 14px;
  line-height: 1;
}

.article-stats__rating {
  display: flex;
  align-items: center;
  gap: 2px;
}

.article-stats__rating .label {
  margin-right: 2px;
}

.star {
  color: #f1c40f;
  font-size: 13px;
}

/* ========================================
   Hero Image
   ======================================== */
.hero-image {
  margin: 14px 0;
}

.hero-image img {
  width: 100%;
  border-radius: 2px;
}

/* ========================================
   Social Share Buttons — icon-only on mobile
   ======================================== */
.social-share {
  display: flex;
  gap: 5px;
  margin: 10px 0 16px;
}

.social-share__btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  /* Min 44px tap target */
  min-height: 44px;
  padding: 8px 0;
  border-radius: 3px;
  color: #fff;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0; /* Hide text on mobile by default */
  font-weight: 700;
  cursor: pointer;
  transition: opacity 0.2s;
  text-decoration: none;
}

.social-share__btn:hover {
  opacity: 0.85;
}

.social-share__btn--facebook  { background-color: #3b5998; }
.social-share__btn--twitter   { background-color: #1da1f2; }
.social-share__btn--pinterest { background-color: #bd081c; }
.social-share__btn--reddit    { background-color: #ff4500; }
.social-share__btn--linkedin  { background-color: #0077b5; }

.social-share__btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* ========================================
   Article Body — mobile-first
   ======================================== */
.article-body {
  padding: 5px 0 20px;
}

.article-body h2 {
  font-family: Georgia, 'Times New Roman', Times, serif;
  font-size: 19px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 18px 0 10px;
  line-height: 1.35;
}

.article-body p {
  font-family: Georgia, 'Times New Roman', Times, serif;
  font-size: 17px;
  line-height: 1.75;
  color: #333;
  margin-bottom: 16px;
}

.article-body p em {
  font-style: italic;
}

.article-body p strong {
  font-weight: 700;
}

/* ========================================
   CTA Button — large thumb-zone tap target
   ======================================== */
.cta-wrapper {
  margin: 22px 0;
  text-align: center;
}

.cta-btn {
  display: block;
  width: 100%;
  /* 52px min height for easy thumb tap */
  min-height: 52px;
  padding: 16px 20px;
  background-color: #c0392b;
  color: #fff;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 18px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.25s, transform 0.15s;
  letter-spacing: 0.3px;
  position: relative;
  overflow: hidden;
  /* Prevent text selection on tap */
  -webkit-user-select: none;
  user-select: none;
}

.cta-btn:hover {
  background-color: #a93226;
}

.cta-btn:active {
  transform: scale(0.98);
  background-color: #922b21;
}

/* Subtle pulse animation */
@keyframes ctaPulse {
  0%   { box-shadow: 0 0 0 0 rgba(192, 57, 43, 0.5); }
  70%  { box-shadow: 0 0 0 12px rgba(192, 57, 43, 0); }
  100% { box-shadow: 0 0 0 0 rgba(192, 57, 43, 0); }
}

.cta-btn--pulse {
  animation: ctaPulse 2.5s infinite;
}

/* ========================================
   Disclaimer / Footer Section
   ======================================== */
.disclaimers {
  background-color: #f9f9f9;
  border-top: 1px solid #e0e0e0;
  padding: 20px 0 25px;
}

.disclaimers p {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 10px;
  line-height: 1.5;
  color: #999;
  margin-bottom: 10px;
  text-align: center;
}

.disclaimers p:last-child {
  margin-bottom: 0;
}

.disclaimers a {
  color: #888;
  text-decoration: underline;
}

/* ========================================
   Sticky Bottom CTA Bar — always thumb-reachable
   ======================================== */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, #c0392b 0%, #e74c3c 100%);
  z-index: 9999;
  padding: 0;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.3);
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.sticky-cta.visible {
  transform: translateY(0);
}

@keyframes stickyPulse {
  0%   { background: linear-gradient(135deg, #c0392b 0%, #e74c3c 100%); }
  50%  { background: linear-gradient(135deg, #a93226 0%, #c0392b 100%); }
  100% { background: linear-gradient(135deg, #c0392b 0%, #e74c3c 100%); }
}

.sticky-cta.visible {
  animation: stickyPulse 3s ease-in-out infinite;
}

.sticky-cta__btn {
  display: block;
  width: 100%;
  /* Large tap target for thumb zone */
  min-height: 54px;
  padding: 16px 20px;
  color: #fff;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 18px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  background: none;
  border: none;
  letter-spacing: 0.5px;
  text-shadow: 0 1px 2px rgba(0,0,0,0.2);
  -webkit-user-select: none;
  user-select: none;
}

.sticky-cta__btn:active {
  background-color: rgba(0,0,0,0.15);
}

/* ========================================
   Privacy Footer
   ======================================== */
.privacy-footer {
  background-color: #1a1a2e;
  padding: 15px 0;
  text-align: center;
  /* Extra bottom padding for sticky bar */
  padding-bottom: 75px;
}

.privacy-footer a {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 11px;
  color: #888;
  margin: 0 8px;
  text-decoration: underline;
  /* Min tap target spacing */
  display: inline-block;
  padding: 6px 0;
}

.privacy-footer a:hover {
  color: #ccc;
}

/* ========================================
   Desktop Scale-Up (768px+)
   ======================================== */
@media (min-width: 768px) {
  .article-header__title {
    font-size: 32px;
  }

  .article-header {
    padding: 25px 0 15px;
  }

  .article-body h2 {
    font-size: 22px;
    margin: 25px 0 12px;
  }

  .article-body p {
    font-size: 17px;
  }

  .article-stats {
    font-size: 12px;
    gap: 15px;
  }

  .star {
    font-size: 14px;
  }

  .cta-btn {
    font-size: 20px;
    padding: 18px 30px;
    border-radius: 4px;
  }

  .social-share__btn {
    font-size: 13px;
  }

  .social-share__btn svg {
    margin-right: 5px;
  }

  .sticky-cta__btn {
    font-size: 19px;
  }
}
