/* ==========================================================================
   Great British Pets — Advertorial / VSL design system
   Colour + type system cloned 1:1 from the reference funnel styling:
     primary (red)   #c41e3a
     secondary (navy)#1a365d
   Fonts: Merriweather (headings) + Source Sans 3 (body)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css?family=Merriweather:300,400,700,900|Source+Sans+3:200,300,400,500,600,700,800,900');

:root {
  --ll-color-primary: #c41e3a;
  --ll-color-secondary: #1a365d;
  --ll-color-background: #ffffff;
  --ll-color-text-primary: #1a1a1a;
  --ll-color-text-secondary: #555555;
  --ll-font-heading: 'Merriweather', Georgia, serif;
  --ll-font-body: 'Source Sans 3', Arial, sans-serif;
  --ll-color-accent: #f7f7f7;
  --ll-color-border: #e0e0e0;
  --ll-color-success: #2e7d32;
  --ll-color-warning: #ff9800;
}

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

body {
  font-family: var(--ll-font-body);
  background: var(--ll-color-background);
  color: var(--ll-color-text-primary);
  line-height: 1.7;
  font-size: 18px;
}

/* Layout primitives -------------------------------------------------------- */
.ll-section { display: flex; justify-content: center; width: 100%; }
.ll-container {
  max-width: 800px;
  width: 100%;
  margin: 0 auto;
  padding-inline: 20px;
  display: flex;
  flex-direction: column;
}
.ll-container__grid { align-items: center; }

/* Header ------------------------------------------------------------------- */
.header-section { background: var(--ll-color-secondary); padding-block: 12px; }
.header-container { flex-direction: row; justify-content: space-between; align-items: center; }
.logo-wrap { display: flex; align-items: center; gap: 10px; }
.logo-text {
  font-family: var(--ll-font-heading);
  font-size: 1.5rem;
  font-weight: 900;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.header-date { color: rgba(255, 255, 255, 0.8); font-size: 0.875rem; }

/* Breaking banner ---------------------------------------------------------- */
.breaking-section { background: var(--ll-color-primary); padding-block: 8px; }
.breaking-container { flex-direction: row; align-items: center; justify-content: center; gap: 10px; }
.breaking-label {
  background: #fff;
  color: var(--ll-color-primary);
  padding: 2px 10px;
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  border-radius: 3px;
}
.breaking-text { color: #fff; font-size: 0.9rem; font-weight: 600; }

/* Article header ----------------------------------------------------------- */
.article-header-section { padding-block: 40px 20px; border-bottom: 1px solid var(--ll-color-border); }
.article-header-container { gap: 20px; }
.category-tag {
  display: inline-block;
  background: var(--ll-color-primary);
  color: #fff;
  padding: 4px 12px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 3px;
  align-self: flex-start;
}
.article-title {
  font-family: var(--ll-font-heading);
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1.2;
  color: var(--ll-color-text-primary);
}
.article-subtitle { font-size: 1.25rem; color: var(--ll-color-text-secondary); font-style: italic; }
.ll-default-heading { font-family: var(--ll-font-body); font-size: 1.25rem; font-weight: 400; line-height: 1.4; }
.byline-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 15px;
  padding-top: 10px;
  border-top: 1px solid var(--ll-color-border);
  margin-top: 10px;
}
.author-info { display: flex; align-items: center; gap: 8px; }
.author-name { font-weight: 700; color: var(--ll-color-secondary); }
.publish-date { color: var(--ll-color-text-secondary); font-size: 0.9rem; }
.share-icons { display: flex; gap: 10px; margin-left: auto; }
.share-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--ll-color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}
.share-icon:hover { background: var(--ll-color-border); }
.share-icon img { width: 16px; height: 16px; }

/* Hero image --------------------------------------------------------------- */
.hero-image-section { padding-block: 30px; }
.hero-image-container { gap: 10px; }
.hero-image-wrap { width: 100%; border-radius: 8px; overflow: hidden; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1); }
.hero-image { width: 100%; height: auto; display: block; }
.image-caption { font-size: 0.875rem; color: var(--ll-color-text-secondary); font-style: italic; text-align: center; }

/* Article body ------------------------------------------------------------- */
.article-content-section { padding-block: 20px; }
.article-content-container { gap: 24px; }
.article-paragraph { font-size: 1.125rem; line-height: 1.8; color: var(--ll-color-text-primary); }
.first-letter {
  float: left;
  font-family: var(--ll-font-heading);
  font-size: 4rem;
  font-weight: 900;
  line-height: 0.8;
  padding-right: 10px;
  padding-top: 5px;
  color: var(--ll-color-primary);
}
.highlight-text { background: linear-gradient(180deg, transparent 60%, #fff3cd 60%); font-weight: 600; }
.bold-text { font-weight: 700; }
.inline-cta { font-family: var(--ll-font-heading); font-size: 1.5rem; font-weight: 900; line-height: 1.3; }
.inline-cta a { color: var(--ll-color-primary); text-decoration: none; }
.inline-cta a:hover { text-decoration: underline; }

/* Expert quote ------------------------------------------------------------- */
.quote-section { padding-block: 30px; background: var(--ll-color-accent); }
.quote-container {
  flex-direction: row;
  gap: 25px;
  padding: 30px;
  background: #fff;
  border-left: 5px solid var(--ll-color-primary);
  border-radius: 0 8px 8px 0;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}
.doctor-image-wrap { flex-shrink: 0; }
.doctor-image {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--ll-color-secondary);
}
.quote-content { display: flex; flex-direction: column; gap: 15px; }
.quote-text { font-family: var(--ll-font-heading); font-size: 1.25rem; font-style: italic; color: var(--ll-color-text-primary); line-height: 1.6; }
.quote-author { font-weight: 700; color: var(--ll-color-secondary); }
.quote-credentials { font-size: 0.9rem; color: var(--ll-color-text-secondary); }

/* Call to action ----------------------------------------------------------- */
.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--ll-color-success);
  color: #fff;
  padding: 18px 40px;
  font-size: 1.25rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(46, 125, 50, 0.4);
}
.cta-button:hover { background: #1b5e20; transform: translateY(-3px); box-shadow: 0 6px 25px rgba(46, 125, 50, 0.5); }
.cta-button-icon { width: 24px; height: 24px; }

/* VSL video ---------------------------------------------------------------- */
.vsl-section { padding-block: 40px 20px; }
.vsl-container { gap: 24px; align-items: center; text-align: center; }
.vsl-headline { font-family: var(--ll-font-heading); font-size: 2rem; font-weight: 900; line-height: 1.25; color: var(--ll-color-text-primary); }
.vsl-subhead { font-size: 1.15rem; color: var(--ll-color-text-secondary); max-width: 620px; }
.vsl-video-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}
.vsl-video-wrap iframe,
.vsl-video-wrap video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.vsl-video-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: #fff;
  background: radial-gradient(circle at center, #24507f 0%, #0d1f36 100%);
}
.vsl-play-btn {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  border: 3px solid #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.vsl-play-btn::before {
  content: '';
  width: 0; height: 0;
  border-style: solid;
  border-width: 16px 0 16px 26px;
  border-color: transparent transparent transparent #fff;
  margin-left: 6px;
}
.vsl-placeholder-label { font-size: 0.95rem; letter-spacing: 1px; text-transform: uppercase; opacity: 0.85; }

/* CTA reveal (classic VSL delayed button) */
.vsl-cta-reveal {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  width: 100%;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: opacity 0.6s ease;
}
.vsl-cta-reveal.is-visible { opacity: 1; max-height: 1000px; }
.vsl-cta-note { display: flex; align-items: center; gap: 8px; font-size: 0.9rem; color: var(--ll-color-text-secondary); }
.vsl-timer { font-size: 0.85rem; color: var(--ll-color-text-secondary); font-style: italic; }

/* Disclaimer + footer ------------------------------------------------------ */
.disclaimer-section { padding-block: 40px; background: var(--ll-color-accent); border-top: 1px solid var(--ll-color-border); }
.disclaimer-container { gap: 15px; }
.disclaimer-text { font-size: 0.8rem; color: var(--ll-color-text-secondary); line-height: 1.6; }
.footer-section { padding-block: 25px; background: var(--ll-color-secondary); }
.footer-container { flex-direction: row; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 15px; }
.footer-copy { font-size: 0.875rem; color: rgba(255, 255, 255, 0.8); }
.footer-links { display: flex; gap: 20px; }
.footer-link { font-size: 0.875rem; color: rgba(255, 255, 255, 0.8); text-decoration: none; transition: color 0.3s ease; }
.footer-link:hover { color: #fff; }

/* ==========================================================================
   NEWS / MAGAZINE HOMEPAGE
   ========================================================================== */

/* Wider container just for the homepage grid */
.home .ll-container,
.ll-container--wide { max-width: 1100px; }

/* Masthead ----------------------------------------------------------------- */
.masthead-section { background: #fff; padding-block: 18px 0; border-bottom: 1px solid var(--ll-color-border); }
.masthead-top {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 0.8rem; color: var(--ll-color-text-secondary);
  padding-bottom: 14px; border-bottom: 1px solid var(--ll-color-border);
}
.masthead-top a { color: var(--ll-color-secondary); text-decoration: none; font-weight: 600; }
.masthead-top a:hover { color: var(--ll-color-primary); }
.masthead-brand { text-align: center; padding-block: 22px; }
.masthead-logo {
  font-family: var(--ll-font-heading);
  font-size: 3rem; font-weight: 900;
  color: var(--ll-color-secondary);
  text-transform: uppercase; letter-spacing: 2px; line-height: 1;
}
.masthead-tagline {
  margin-top: 10px; font-size: 0.85rem; letter-spacing: 3px;
  text-transform: uppercase; color: var(--ll-color-text-secondary);
}

/* Category nav ------------------------------------------------------------- */
.nav-section { background: #fff; border-bottom: 3px solid var(--ll-color-primary); position: sticky; top: 0; z-index: 50; }
.nav-container { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 6px 26px; padding-block: 12px; }
.nav-link {
  font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px;
  color: var(--ll-color-secondary); text-decoration: none; transition: color 0.2s ease;
}
.nav-link:hover { color: var(--ll-color-primary); }
.nav-link.is-active { color: var(--ll-color-primary); }

/* Trending ticker ---------------------------------------------------------- */
.ticker-section { background: var(--ll-color-secondary); padding-block: 9px; }
.ticker-container { flex-direction: row; align-items: center; gap: 14px; overflow: hidden; }
.ticker-label {
  background: var(--ll-color-primary); color: #fff; font-size: 0.7rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: 1px; padding: 3px 10px; border-radius: 3px; flex-shrink: 0;
}
.ticker-text { color: #fff; font-size: 0.85rem; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Featured lead + sidebar -------------------------------------------------- */
.featured-section { padding-block: 34px; }
.featured-grid { display: grid; grid-template-columns: 1.65fr 1fr; gap: 34px; }
.lead-story { display: flex; flex-direction: column; gap: 14px; text-decoration: none; color: inherit; }
.lead-thumb { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 8px; display: block; box-shadow: 0 4px 20px rgba(0,0,0,0.1); }
.lead-title {
  font-family: var(--ll-font-heading); font-size: 2.25rem; font-weight: 900; line-height: 1.15;
  color: var(--ll-color-text-primary);
}
.lead-story:hover .lead-title { color: var(--ll-color-primary); }
.lead-excerpt { font-size: 1.05rem; color: var(--ll-color-text-secondary); line-height: 1.6; }

.sidebar-list { display: flex; flex-direction: column; }
.sidebar-heading {
  font-family: var(--ll-font-heading); font-size: 1.1rem; font-weight: 900; color: var(--ll-color-secondary);
  text-transform: uppercase; letter-spacing: 1px; padding-bottom: 10px; margin-bottom: 6px;
  border-bottom: 2px solid var(--ll-color-primary);
}
.side-item { display: flex; gap: 14px; padding-block: 16px; border-bottom: 1px solid var(--ll-color-border); text-decoration: none; color: inherit; }
.side-item:last-child { border-bottom: 0; }
.side-thumb { width: 96px; height: 72px; object-fit: cover; border-radius: 6px; flex-shrink: 0; }
.side-title { font-family: var(--ll-font-heading); font-size: 1rem; font-weight: 700; line-height: 1.3; }
.side-item:hover .side-title { color: var(--ll-color-primary); }

/* Meta line (category • date) ---------------------------------------------- */
.meta-line { display: flex; align-items: center; gap: 10px; font-size: 0.75rem; }
.meta-cat { color: var(--ll-color-primary); font-weight: 800; text-transform: uppercase; letter-spacing: 1px; }
.meta-date { color: var(--ll-color-text-secondary); }

/* Section heading ---------------------------------------------------------- */
.home-section { padding-block: 26px; }
.section-heading {
  font-family: var(--ll-font-heading); font-size: 1.4rem; font-weight: 900; color: var(--ll-color-secondary);
  text-transform: uppercase; letter-spacing: 1px; margin-bottom: 20px;
  display: flex; align-items: center; gap: 12px;
}
.section-heading::after { content: ''; flex: 1; height: 3px; background: var(--ll-color-border); }

/* Card grid ---------------------------------------------------------------- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.story-card { display: flex; flex-direction: column; gap: 12px; text-decoration: none; color: inherit; }
.card-thumb { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 8px; display: block; box-shadow: 0 3px 14px rgba(0,0,0,0.08); }
.card-title { font-family: var(--ll-font-heading); font-size: 1.2rem; font-weight: 700; line-height: 1.3; color: var(--ll-color-text-primary); }
.story-card:hover .card-title { color: var(--ll-color-primary); }
.card-excerpt { font-size: 0.92rem; color: var(--ll-color-text-secondary); line-height: 1.55; }

/* Newsletter strip --------------------------------------------------------- */
.newsletter-section { background: linear-gradient(135deg, var(--ll-color-secondary) 0%, #2d4a6f 100%); padding-block: 44px; margin-top: 20px; }
.newsletter-container { align-items: center; text-align: center; gap: 16px; }
.newsletter-title { font-family: var(--ll-font-heading); font-size: 1.6rem; font-weight: 900; color: #fff; }
.newsletter-sub { color: rgba(255,255,255,0.85); font-size: 1rem; max-width: 520px; }
.newsletter-form { display: flex; gap: 10px; width: 100%; max-width: 460px; }
.newsletter-input { flex: 1; padding: 14px 16px; border: 0; border-radius: 6px; font-size: 1rem; font-family: var(--ll-font-body); }
.newsletter-btn { background: var(--ll-color-primary); color: #fff; border: 0; padding: 14px 24px; font-size: 1rem; font-weight: 700; border-radius: 6px; cursor: pointer; transition: background 0.2s ease; }
.newsletter-btn:hover { background: #a01930; }

/* Expanded footer ---------------------------------------------------------- */
.footer-rich-section { background: var(--ll-color-secondary); padding-block: 40px 0; }
.footer-rich-container { gap: 30px; }
.footer-cols { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 30px; }
.footer-brand-logo { font-family: var(--ll-font-heading); font-size: 1.5rem; font-weight: 900; color: #fff; text-transform: uppercase; letter-spacing: 1px; }
.footer-about { color: rgba(255,255,255,0.7); font-size: 0.9rem; line-height: 1.6; margin-top: 12px; max-width: 360px; }
.footer-col-title { color: #fff; font-size: 0.85rem; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 14px; }
.footer-col a { display: block; color: rgba(255,255,255,0.7); font-size: 0.9rem; text-decoration: none; padding-block: 5px; }
.footer-col a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.15); margin-top: 30px; padding-block: 18px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.footer-bottom span, .footer-bottom a { color: rgba(255,255,255,0.6); font-size: 0.8rem; text-decoration: none; }
.footer-bottom a:hover { color: #fff; }

/* Responsive --------------------------------------------------------------- */
@media (max-width: 900px) {
  .featured-grid { grid-template-columns: 1fr; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .article-title { font-size: 1.75rem; }
  .article-subtitle { font-size: 1.1rem; }
  .quote-container { flex-direction: column; align-items: center; text-align: center; }
  .header-container { flex-direction: column; gap: 8px; text-align: center; }
  .share-icons { margin-left: 0; }
  .byline-wrap { flex-direction: column; align-items: flex-start; }
  .footer-container { flex-direction: column; text-align: center; }
  .vsl-headline { font-size: 1.5rem; }
  .masthead-logo { font-size: 2rem; letter-spacing: 1px; }
  .lead-title { font-size: 1.6rem; }
}
@media (max-width: 576px) {
  body { font-size: 16px; }
  .first-letter { font-size: 3rem; }
  .inline-cta { font-size: 1.25rem; }
  .card-grid { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr; }
  .newsletter-form { flex-direction: column; }
  .masthead-top { font-size: 0.7rem; }
}
