/* ============================================================
   MONÈRA — NewsDetails.cshtml.css
   Article Detail Page Styles
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600&family=Inter:wght@300;400;500;600&display=swap');

/* ── CSS Variables ── */
:root {
  --primary-navy:  #022F38;
  --dark-navy:     #011C22;
  --deep-teal:     #063844;
  --gold-accent:   #CDA77B;
  --warm-white:    #F8F7F4;
  --text-dark:     #112228;
  --muted-text:    #68757A;
  --border-light:  #e9e4dc;
  --shadow-sm:     0 2px 12px rgba(1,28,34,0.07);
  --shadow-md:     0 6px 28px rgba(1,28,34,0.11);
}

/* ── Base reset ── */
*, *::before, *::after { box-sizing: border-box; }

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--warm-white);
  color: var(--text-dark);
  font-size: 15px;
  line-height: 1.7;
  margin: 0;
}

/* ────────────────────────────────────────────
   BREADCRUMB
   ──────────────────────────────────────────── */
.breadcrumb-bar {
  padding: 16px 0 0;
  font-size: 13px;
  color: var(--muted-text);
}
.breadcrumb-bar a {
  color: var(--muted-text);
  text-decoration: none;
  transition: color .2s;
}
.breadcrumb-bar a:hover { color: var(--gold-accent); }
.breadcrumb-bar .sep   { margin: 0 7px; }

/* ────────────────────────────────────────────
   ARTICLE HERO
   ──────────────────────────────────────────── */
.article-hero {
  padding: 28px 0 36px;
}

/* Left column */
.article-hero .hero-left {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding-right: 32px;
}
.article-hero .hero-category {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--gold-accent);
  margin-bottom: 14px;
}
.article-hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(34px, 4.5vw, 52px);
  font-weight: 600;
  color: var(--primary-navy);
  line-height: 1.12;
  margin: 0 0 18px;
}
.article-hero .hero-summary {
  font-size: 15px;
  color: var(--muted-text);
  line-height: 1.75;
  margin-bottom: 22px;
  max-width: 500px;
}
.article-hero .hero-meta {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 13px;
  color: var(--muted-text);
  margin-bottom: 22px;
  flex-wrap: wrap;
}
.article-hero .hero-meta span {
  display: flex;
  align-items: center;
  gap: 5px;
}
.article-hero .hero-meta i { font-size: 14px; }

/* Share row */
.share-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.share-row .share-label {
  font-size: 13px;
  color: var(--muted-text);
  margin-right: 4px;
}
.share-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid var(--border-light);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted-text);
  font-size: 15px;
  text-decoration: none;
  transition: border-color .2s, color .2s, background .2s;
}
.share-btn:hover {
  border-color: var(--gold-accent);
  color: var(--gold-accent);
  background: #fdf8f2;
}

/* Right column image */
.article-hero .hero-img-wrap {
  border-radius: 4px;
  overflow: hidden;
  height: 100%;
  min-height: 340px;
}
.article-hero .hero-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ────────────────────────────────────────────
   CONTENT + SIDEBAR LAYOUT
   ──────────────────────────────────────────── */
.content-layout {
  padding: 44px 0 52px;
}
.content-col {
  padding-right: 44px;
}
.sidebar-col {
  padding-left: 8px;
}

/* ────────────────────────────────────────────
   ARTICLE CONTENT
   ──────────────────────────────────────────── */
.article-content {
  font-size: 15.5px;
  color: var(--text-dark);
  line-height: 1.8;
}

/* Drop cap */
.article-content .drop-cap::first-letter {
  font-family: 'Cormorant Garamond', serif;
  font-size: 80px;
  font-weight: 600;
  color: var(--primary-navy);
  float: left;
  line-height: 0.72;
  margin-right: 10px;
  margin-top: 8px;
  padding-top: 4px;
}

.article-content p {
  margin-bottom: 20px;
}

/* Section divider */
.article-content .content-divider {
  border: none;
  border-top: 1px solid var(--border-light);
  margin: 36px 0;
}

/* Section headings */
.article-content h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(22px, 2.8vw, 30px);
  font-weight: 600;
  color: var(--primary-navy);
  line-height: 1.25;
  margin: 36px 0 14px;
}

/* Checklist */
.article-content .checklist {
  list-style: none;
  padding: 0;
  margin: 16px 0 24px;
}
.article-content .checklist li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  color: var(--text-dark);
  margin-bottom: 10px;
  line-height: 1.55;
}
.article-content .checklist li i {
  color: var(--gold-accent);
  font-size: 17px;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ────────────────────────────────────────────
   AUTHOR CARD
   ──────────────────────────────────────────── */
.author-card {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: 5px;
  padding: 28px 26px 24px;
  margin-bottom: 28px;
  box-shadow: var(--shadow-sm);
}
.author-card .author-label {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold-accent);
  margin-bottom: 12px;
}
.author-card .author-rule {
  height: 2px;
  width: 32px;
  background: var(--gold-accent);
  margin-bottom: 18px;
}
.author-card .author-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px;
  font-weight: 600;
  color: var(--primary-navy);
  margin: 0;
}

/* ────────────────────────────────────────────
   RELATED ARTICLES
   ──────────────────────────────────────────── */
.related-articles {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: 5px;
  padding: 26px 24px;
  box-shadow: var(--shadow-sm);
}
.related-articles .related-label {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold-accent);
  margin-bottom: 20px;
}
.related-articles .related-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding-bottom: 18px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--border-light);
  text-decoration: none;
  transition: opacity .2s;
}
.related-articles .related-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}
.related-articles .related-item:hover { opacity: .8; }
.related-articles .related-thumb {
  width: 80px;
  height: 64px;
  border-radius: 3px;
  overflow: hidden;
  flex-shrink: 0;
}
.related-articles .related-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.related-articles .related-info { flex: 1; }
.related-articles .related-cat {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  color: var(--gold-accent);
  margin-bottom: 4px;
}
.related-articles .related-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--primary-navy);
  line-height: 1.3;
  margin-bottom: 6px;
}
.related-articles .related-meta {
  font-size: 11.5px;
  color: var(--muted-text);
  display: flex;
  gap: 6px;
  align-items: center;
}
.related-articles .related-meta .dot { opacity: .5; }

/* ────────────────────────────────────────────
   NEWSLETTER BANNER
   ──────────────────────────────────────────── */
.newsletter-banner {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: 5px;
  padding: 40px 48px;
  margin: 52px 0;
  box-shadow: var(--shadow-sm);
}
.newsletter-banner .nl-icon-wrap {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 1.5px solid var(--gold-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.newsletter-banner .nl-icon-wrap i {
  font-size: 24px;
  color: var(--gold-accent);
}
.newsletter-banner .nl-left {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}
.newsletter-banner .nl-text h4 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px;
  font-weight: 600;
  color: var(--primary-navy);
  margin: 0 0 6px;
}
.newsletter-banner .nl-text p {
  font-size: 13.5px;
  color: var(--muted-text);
  line-height: 1.65;
  margin: 0;
  max-width: 340px;
}
.newsletter-banner .nl-form {
  display: flex;
  gap: 10px;
  align-items: stretch;
  flex-wrap: wrap;
}
.newsletter-banner .nl-form input[type="email"] {
  flex: 1;
  min-width: 180px;
  padding: 12px 18px;
  border: 1px solid #ddd5c8;
  border-radius: 3px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: var(--text-dark);
  background: var(--warm-white);
  outline: none;
  transition: border-color .2s;
}
.newsletter-banner .nl-form input[type="email"]::placeholder { color: #aaa; }
.newsletter-banner .nl-form input[type="email"]:focus { border-color: var(--gold-accent); }

/* ────────────────────────────────────────────
   BUTTONS
   ──────────────────────────────────────────── */
.btn-gold {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold-accent);
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.7px;
  padding: 12px 24px;
  border: none;
  border-radius: 3px;
  text-decoration: none;
  cursor: pointer;
  transition: background .25s, transform .2s;
  white-space: nowrap;
}
.btn-gold:hover {
  background: #b8905f;
  color: #fff;
}

/* ────────────────────────────────────────────
   PREV / NEXT NAVIGATION
   ──────────────────────────────────────────── */
.article-nav {
  border-top: 1px solid var(--border-light);
  padding: 32px 0 0;
  margin-bottom: 0;
}
.article-nav .nav-prev,
.article-nav .nav-next {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.article-nav .nav-next { align-items: flex-end; text-align: right; }
.article-nav .nav-dir {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--muted-text);
}
.article-nav .nav-next .nav-dir { flex-direction: row-reverse; }
.article-nav .nav-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 17px;
  font-weight: 600;
  color: var(--primary-navy);
  line-height: 1.3;
  text-decoration: none;
  transition: color .2s;
}
.article-nav .nav-title:hover { color: var(--gold-accent); }

/* ────────────────────────────────────────────
   CTA BANNER
   ──────────────────────────────────────────── */
.cta-banner {
  background: var(--dark-navy);
  padding: 48px 0;
  margin-top: 52px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #011C22 0%, #022F38 60%, #063844 100%);
  opacity: .95;
}
.cta-banner .cta-inner {
  position: relative;
  z-index: 1;
}
.cta-banner .cta-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1.5px solid rgba(205,167,123,.5);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}
.cta-banner .cta-icon i {
  font-size: 22px;
  color: var(--gold-accent);
}
.cta-banner .cta-text {
  font-size: 15px;
  color: rgba(255,255,255,.82);
  line-height: 1.65;
  margin-bottom: 24px;
}
.cta-banner .cta-text strong {
  display: block;
  font-weight: 500;
  color: rgba(255,255,255,.9);
}
.cta-banner .btn-gold-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--gold-accent);
  font-family: 'Inter', sans-serif;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.8px;
  padding: 12px 30px;
  border: 1.5px solid var(--gold-accent);
  border-radius: 3px;
  text-decoration: none;
  transition: background .25s, color .25s;
}
.cta-banner .btn-gold-outline:hover {
  background: var(--gold-accent);
  color: #fff;
}

/* ────────────────────────────────────────────
   RESPONSIVE
   ──────────────────────────────────────────── */
@media (max-width: 991.98px) {
  .content-col { padding-right: 0; }
  .sidebar-col { padding-left: 0; margin-top: 40px; }
  .article-hero .hero-left { padding-right: 0; margin-bottom: 28px; }
  .newsletter-banner { padding: 32px 28px; }
  .cta-banner { padding: 40px 24px; }
}

@media (max-width: 767.98px) {
  .article-hero h1 { font-size: 32px; }
  .article-hero .hero-img-wrap { min-height: 220px; }
  .newsletter-banner .nl-left { flex-direction: column; gap: 14px; }
  .newsletter-banner .nl-form { flex-direction: column; }
  .newsletter-banner .nl-form .btn-gold { width: 100%; justify-content: center; }
  .article-nav .nav-next { align-items: flex-start; text-align: left; }
  .article-nav .nav-next .nav-dir { flex-direction: row; }
  .article-content .drop-cap::first-letter { font-size: 60px; }
}
