/* =====================================================================
   Pressel / Advertorial — news-portal style layout
   HTML + CSS only (no scripts). Brand and copy are placeholders.
   Accent color centralized in the --accent variable.
   ===================================================================== */

:root {
  --accent: #FF503C;          /* brand color (replace with yours) */
  --accent-2: #FF6B3D;
  --link: #2563eb;
}

* { box-sizing: border-box; }

body.advertorial {
  font-family: 'Libre Franklin', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  background-color: #ffffff;
  color: #2a2a2a;
  -webkit-font-smoothing: antialiased;
  margin: 0;
  padding: 0;
}

img { max-width: 100%; }

/* --- HEADER --- */
.today-header-wrapper {
  position: sticky;
  top: 0;
  z-index: 9999;
  background: #fff;
  border-bottom: 1px solid #e8e8e8;
}

.today-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.today-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  margin-right: 24px;
  flex-shrink: 0;
  cursor: pointer;
}

.today-logo .sunrise-icon {
  width: 64px;
  height: 36px;
  margin-right: 8px;
  color: var(--accent);
}

.today-logo .brand-text {
  height: 24px;
  color: #000;
  font-size: 24px;
  font-weight: 900;
  letter-spacing: 1px;
  line-height: 1;
}

.today-nav {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  overflow: hidden;
}

.today-nav a {
  font-size: 15px;
  font-weight: 700;
  color: #2a2a2a;
  text-decoration: none;
  text-transform: uppercase;
  padding: 0 12px;
  white-space: nowrap;
  letter-spacing: 0.3px;
  border-right: 1px solid #d9d9d9;
  line-height: 56px;
  cursor: pointer;
}

.today-nav a:last-child { border-right: none; }
.today-nav a:hover { color: var(--accent); }

.today-header-right {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.today-header-right .icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  color: #2a2a2a;
  font-size: 18px;
  padding: 4px;
}

.today-header-right .hamburger-btn {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 4px;
  cursor: pointer;
}

.today-header-right .hamburger-btn span {
  display: block;
  width: 20px;
  height: 2px;
  background: #2a2a2a;
}

/* --- MOBILE NAV (hidden on desktop) --- */
.today-nav-mobile { display: none; }

/* --- BREAKING NEWS --- */
.breaking-news-banner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  border-bottom: 1px solid #e8e8e8;
}

.breaking-news-label {
  display: inline-flex;
  align-items: center;
  background: #f2f2f2;
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 700;
  color: #2a2a2a;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
  border-left: 4px solid var(--accent-2);
}

.breaking-news-date {
  font-size: 13px;
  color: #2a2a2a;
}

/* --- ARTICLE HEADER --- */
.article-header {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 20px 0;
}

.article-header .article-category,
.article-header .article-title,
.article-header .article-meta { max-width: 800px; }

.article-category {
  font-size: 12px;
  font-weight: 700;
  color: #2a2a2a;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
  display: inline-block;
}

.article-title {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
  font-size: 38px;
  font-weight: 900;
  line-height: 1.15;
  color: #000;
  margin: 0 0 16px 0;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 0;
  border-top: 1px solid #e8e8e8;
  flex-wrap: wrap;
}

.article-date { font-size: 13px; color: #6b6b6b; }

.article-author { display: flex; align-items: center; gap: 8px; }
.author-avatar { width: 32px; height: 32px; border-radius: 50%; background: #ddd; }
.author-name { font-size: 13px; font-weight: 700; color: #2a2a2a; }
.author-role { font-size: 11px; color: #6b6b6b; }

/* --- CONTENT + SIDEBAR WRAPPER --- */
.content-with-sidebar {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 40px;
  padding: 0 20px;
  align-items: flex-start;
}

.content-main-col { flex: 1; min-width: 0; max-width: 800px; }

.today-article-content { padding: 24px 0 0; }

.today-article-content p {
  font-size: 17px;
  line-height: 1.7;
  color: #2a2a2a;
  margin-bottom: 16px;
}

.today-article-content strong, .today-article-content b { font-weight: 700; }

.article-body > img {
  width: 100%;
  border-radius: 4px;
  margin-bottom: 24px;
}

.article-body hr {
  border: none;
  border-top: 1px solid #e8e8e8;
  margin: 28px 0;
}

/* --- INTERVIEW (image of the interview) --- */
.interview-section {
  margin: 28px 0;
}

.interview-section img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

.interview-section figcaption {
  margin: 12px 0;
  font-size: 16px;
  line-height: 1.6;
  color: #374151;
}

.interview-section figcaption .speaker-name {
  font-weight: 700;
  color: #1a1a1a;
}

/* --- CTA --- */
.cta-section { text-align: center; margin: 28px 0; }

.cta-link {
  display: inline-block;
  color: var(--link);
  font-size: 18px;
  font-weight: 700;
  text-decoration: underline;
  margin-bottom: 12px;
}

.cta-section img { width: 100%; border-radius: 4px; display: block; }

.cta-button {
  display: inline-block;
  width: 100%;
  padding: 16px 20px;
  border-radius: 6px;
  font-size: 20px;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
}

.cta-button-watch {
  width: 85%;
  background: linear-gradient(180deg, #ff7a45 0%, #ff5236 55%, #f5402a 100%);
  color: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 0 #d6361f, 0 8px 16px rgba(245, 64, 42, 0.35);
  animation: cta-pulse 2.2s ease-in-out infinite;
}

@keyframes cta-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.04); }
}

/* --- BLOCKQUOTE --- */
.article-blockquote {
  border-left: 4px solid var(--accent);
  margin: 24px 0;
  padding: 16px 24px;
  background: #fafafa;
  font-style: italic;
  font-size: 18px;
  line-height: 1.6;
  color: #555;
}

/* --- SPONSORED STORIES --- */
.sponsored-section { margin: 30px 0; }

.sponsored-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-bottom: 1px solid #e0e0e0;
  padding-bottom: 10px;
  margin-bottom: 20px;
}

.sponsored-header h3 {
  font-size: 16px;
  font-weight: 700;
  font-style: italic;
  margin: 0;
}

.sponsored-header span { font-size: 12px; color: #999; }

.sponsored-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px 20px;
}

.sponsored-item {
  text-decoration: none;
  color: inherit;
  display: block;
  transition: opacity 0.2s;
}

.sponsored-item:hover { opacity: 0.85; }
.sponsored-item:hover p { text-decoration: underline; }

.sponsored-item img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  background: #eee;
}

.sponsored-item p {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  margin: 10px 0 0;
  color: #1a1a1a;
}

/* --- COMMENTS (Facebook style) --- */
.comments-wrapper { margin-top: 36px; }

.fb-heading {
  font-size: 20px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 16px;
}

.comments-container {
  border: 1px solid #dddfe2;
  border-radius: 16px;
  padding: 24px;
}

.comment {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding-bottom: 20px;
  position: relative;
}

.comment .user-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  flex-shrink: 0;
  background: #ddd;
  object-fit: cover;
  border: 1px solid #e4e6eb;
}

.comment .comment-data {
  flex: 1;
  min-width: 0;
  background: #f0f2f5;
  border-radius: 18px;
  padding: 12px 16px;
}

.comment .name {
  margin: 0;
  font-weight: 700;
  font-size: 15px;
  color: #385898;
}

.comment .text {
  margin: 4px 0 0;
  font-size: 15px;
  line-height: 1.5;
  color: #1c1e21;
}

.comment .buttons {
  display: flex;
  gap: 6px;
  align-items: center;
  margin: 10px 0 0;
  font-size: 13px;
  color: #65676b;
}

.comment .buttons like,
.comment .buttons answer { font-weight: 700; cursor: pointer; }

.comment likes {
  position: absolute;
  right: 16px;
  bottom: 30px;
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 600;
  color: #65676b;
}

.comment likes::before {
  content: "👍 ❤️";
  font-size: 15px;
  letter-spacing: -2px;
}

.comments-closed {
  text-align: center;
  color: #65676b;
  font-style: italic;
  font-weight: 400;
  margin: 8px 0 0;
}

/* --- SIDEBAR --- */
.ads-sidebar {
  width: 200px;
  flex-shrink: 0;
  position: sticky;
  top: 70px;
}

.ads-sidebar .ad-unit {
  margin-bottom: 20px;
  cursor: pointer;
  transition: opacity 0.2s;
}

.ads-sidebar .ad-unit:hover { opacity: 0.85; }
.ads-sidebar .ad-unit:hover .ad-headline { text-decoration: underline; }

.ads-sidebar .ad-unit a { text-decoration: none; }

.ads-sidebar .ad-unit img {
  width: 100%;
  height: auto;
  display: block;
  background: #eee;
}

.ads-sidebar .ad-unit .ad-headline {
  padding: 8px 0;
  font-size: 13px;
  line-height: 1.35;
  color: #2a2a2a;
  font-weight: 700;
}

/* --- INFO BLOCKS (ingredients / disclaimer / references) --- */
.info-block {
  background: #f7f7f7;
  border: 1px solid #e5e5e5;
  border-radius: 6px;
  padding: 22px 26px;
  margin: 24px 0;
}

.info-block-title {
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #2a2a2a;
  margin: 0 0 14px;
}

.info-block p {
  font-size: 14px;
  line-height: 1.65;
  color: #555;
  margin: 0 0 14px;
}

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

.references-list {
  margin: 0;
  padding-left: 22px;
  list-style: decimal;
}

.references-list li {
  font-size: 13px;
  line-height: 1.6;
  color: #555;
  margin-bottom: 14px;
  padding-left: 6px;
}

.references-list li:last-child { margin-bottom: 0; }

.references-list a {
  color: var(--link);
  text-decoration: none;
  word-break: break-word;
}

.references-list a:hover { text-decoration: underline; }

/* --- SECTION HEADINGS (advertorial copy) --- */
.section-heading {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
  font-size: 26px;
  font-weight: 900;
  line-height: 1.25;
  color: #111;
  margin: 36px 0 16px;
}

/* --- IMAGE PLACEHOLDER (drop the real asset here) --- */
.img-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 220px;
  margin: 24px 0;
  padding: 24px;
  border: 2px dashed #cbd5e1;
  border-radius: 8px;
  background: #f8fafc;
  background-image: repeating-linear-gradient(45deg, transparent, transparent 12px, rgba(0, 0, 0, 0.02) 12px, rgba(0, 0, 0, 0.02) 24px);
  color: #64748b;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
}

/* --- BENEFITS LIST --- */
.benefits-list {
  list-style: none;
  margin: 20px 0;
  padding: 0;
}

.benefits-list li {
  position: relative;
  padding: 0 0 16px 32px;
  font-size: 17px;
  line-height: 1.65;
  color: #2a2a2a;
}

.benefits-list li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
  font-weight: 900;
  font-size: 18px;
}

.benefits-list li b { color: #111; }

/* --- WARNING BLOCK --- */
.warning-block {
  border: 1px solid #f3c6be;
  border-left: 4px solid var(--accent);
  background: #fdf1ef;
  border-radius: 6px;
  padding: 20px 24px;
  margin: 28px 0;
}

.warning-block p {
  margin: 0 0 12px;
  font-size: 16px;
  line-height: 1.6;
  color: #3a3a3a;
}

.warning-block p:last-child { margin-bottom: 0; }
.warning-block .warning-tag { color: var(--accent); font-weight: 800; }

/* --- FOOTER --- */
.today-footer {
  padding: 40px 20px;
  background: #fafafa;
  color: #949494;
  margin-top: 40px;
}

.today-footer-inner { max-width: 740px; margin: 0 auto; text-align: center; }

.today-footer nav { margin-bottom: 16px; }
.today-footer nav a { color: #949494; font-size: 14px; text-decoration: underline; }
.today-footer nav span { color: #949494; margin: 0 8px; }
.today-footer p { font-size: 13px; line-height: 20px; color: #949494; }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 768px) {
  .today-nav { display: none; }

  .today-nav-mobile {
    display: flex;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-bottom: 1px solid #e8e8e8;
    padding: 0 12px;
  }

  .today-nav-mobile a {
    font-size: 14px;
    font-weight: 700;
    color: #2a2a2a;
    text-decoration: none;
    text-transform: uppercase;
    padding: 10px 12px;
    white-space: nowrap;
    border-right: 1px solid #d9d9d9;
    cursor: pointer;
  }

  .today-nav-mobile a:last-child { border-right: none; }

  .today-header-inner { height: 50px; padding: 0 12px; }
  .today-logo .sunrise-icon { width: 50px; height: 28px; }
  .today-logo .brand-text { font-size: 20px; }

  .breaking-news-banner { padding: 8px 12px; gap: 10px; }
  .breaking-news-label { font-size: 11px; padding: 3px 12px; }
  .breaking-news-date { font-size: 12px; }

  .article-header { padding: 16px 16px 0; }
  .article-title { font-size: 28px; }

  .content-with-sidebar { flex-direction: column; padding: 0; gap: 0; }
  .content-main-col { max-width: none; }
  .today-article-content { padding: 16px 16px 0; }
  .today-article-content p { font-size: 16px; }
  .interview-box { padding: 14px 16px; }
  .section-heading { font-size: 22px; }
  .img-placeholder { min-height: 170px; }

  .ads-sidebar { display: none; }

  .cta-button-watch {
    width: 100%;
    font-size: 17px;
    padding: 14px 16px;
  }

  .sponsored-grid { grid-template-columns: 1fr; gap: 20px; }
}

@media (max-width: 1024px) and (min-width: 769px) {
  .today-nav a { font-size: 13px; padding: 0 8px; }
  .sponsored-grid { grid-template-columns: 1fr 1fr; }
}
