/* ==========================================================================
   DUKES MEN — BLOG STYLES
   Shared by blog.html (listing) and blog/*.html (posts)
   Requires styles.css to be loaded first
   ========================================================================== */

/* ── Blog hero ───────────────────────────────────────────── */
.blog-hero {
  background: var(--clr-navy);
  padding: 120px 0 72px;
  position: relative;
  overflow: hidden;
}
.blog-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 80% at 80% 50%, rgba(184,154,94,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.blog-hero-inner { position: relative; z-index: 1; }
.blog-hero .section-eyebrow { text-align: left; }
.blog-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--clr-offwhite);
  line-height: 1.15;
  margin-bottom: 16px;
  max-width: 640px;
}
.blog-hero p {
  font-size: 1.05rem;
  color: rgba(245,243,239,0.65);
  max-width: 520px;
  line-height: 1.7;
}

/* ── Blog listing ────────────────────────────────────────── */
.blog-listing { background: var(--clr-offwhite); padding: var(--section-pad) 0; }

/* Featured post */
.featured-post {
  background: var(--clr-white);
  border: 1px solid var(--clr-grey-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-bottom: 56px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.featured-post:hover {
  box-shadow: var(--shadow-gold);
  transform: translateY(-3px);
}
.featured-post-visual {
  background-color: var(--clr-charcoal);
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px;
  min-height: 280px;
  position: relative;
  overflow: hidden;
}
.featured-post-visual::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(15,26,46,0.35) 0%, rgba(30,37,48,0.25) 100%);
  z-index: 1;
}
.featured-post-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}
.featured-post-label {
  position: absolute;
  top: 20px; left: 20px;
  background: var(--clr-gold);
  color: var(--clr-navy);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 100px;
  z-index: 2;
}
.featured-post-icon {
  color: var(--clr-gold);
  opacity: 0.9;
  position: relative;
  z-index: 2;
}
.featured-post-body { padding: 48px 40px; display: flex; flex-direction: column; justify-content: center; }
.featured-post-body .post-category { margin-bottom: 16px; }
.featured-post-body h2 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2vw, 1.9rem);
  font-weight: 700;
  color: var(--clr-navy);
  line-height: 1.25;
  margin-bottom: 16px;
}
.featured-post-body p {
  font-size: 0.95rem;
  color: var(--clr-text-light);
  line-height: 1.75;
  margin-bottom: 28px;
}
.featured-post-body .post-meta { margin-bottom: 24px; }

/* Post grid */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}
.post-card {
  background: var(--clr-white);
  border: 1px solid var(--clr-grey-200);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
}
.post-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  border-color: rgba(184,154,94,0.3);
}
.post-card-visual {
  background-color: var(--clr-charcoal);
  background-size: cover;
  background-position: center;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.post-card-visual::before {
  content: '';
  position: absolute; inset: 0;
  background: rgba(15,26,46,0.45);
  z-index: 1;
}
.post-card-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}
.post-card-visual svg { color: var(--clr-gold); opacity: 0.7; position: relative; z-index: 2; }
.post-card-body { padding: 24px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.post-category {
  display: inline-block;
  background: rgba(184,154,94,0.1);
  color: var(--clr-gold);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 100px;
  border: 1px solid rgba(184,154,94,0.2);
  width: fit-content;
}
.post-card-body h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--clr-navy);
  line-height: 1.4;
  margin: 0;
}
.post-card-body p {
  font-size: 0.875rem;
  color: var(--clr-text-light);
  line-height: 1.7;
  flex: 1;
}
.post-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.post-meta time,
.post-meta .read-time {
  font-size: 0.75rem;
  color: var(--clr-grey-400);
  font-weight: 500;
}
.post-meta .read-time::before { content: '·'; margin-right: 12px; }
.post-read-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--clr-gold);
  margin-top: auto;
  padding-top: 4px;
  transition: color var(--transition);
}
.post-read-link:hover { color: var(--clr-gold-lt); }

/* Coming soon card */
.post-card--soon { opacity: 0.65; pointer-events: none; }
.post-card--soon .post-card-visual { filter: grayscale(0.5); }
.post-soon-badge {
  position: absolute;
  top: 12px; right: 12px;
  background: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.7);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 100px;
  z-index: 2;
}

/* ── Blog post page ──────────────────────────────────────── */
.post-hero {
  background: var(--clr-navy);
  padding: 120px 0 64px;
  position: relative;
  overflow: hidden;
}
.post-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 80% at 75% 40%, rgba(184,154,94,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.post-hero-inner { position: relative; z-index: 1; max-width: 760px; }
.post-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  font-size: 0.8rem;
  color: rgba(245,243,239,0.45);
}
.post-breadcrumb a { color: var(--clr-gold); transition: color var(--transition); }
.post-breadcrumb a:hover { color: var(--clr-gold-lt); }
.post-breadcrumb span { color: rgba(245,243,239,0.3); }
.post-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: var(--clr-offwhite);
  line-height: 1.18;
  margin-bottom: 20px;
}
.post-hero-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 24px;
}
.post-hero-meta time,
.post-hero-meta .read-time-hero,
.post-hero-meta .post-author {
  font-size: 0.82rem;
  color: rgba(245,243,239,0.5);
  font-weight: 500;
}
.post-hero-meta .divider { color: rgba(245,243,239,0.2); }

/* Post content area */
.post-layout {
  background: var(--clr-offwhite);
  padding: 72px 0;
}
.post-layout-inner {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 64px;
  align-items: start;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 28px;
}

/* Prose content */
.post-content {
  max-width: 700px;
}
.post-content h2 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--clr-navy);
  line-height: 1.25;
  margin: 48px 0 18px;
}
.post-content h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--clr-navy);
  line-height: 1.35;
  margin: 32px 0 14px;
}
.post-content h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--clr-navy);
  margin: 24px 0 10px;
}
.post-content p {
  font-size: 1rem;
  color: var(--clr-text);
  line-height: 1.8;
  margin-bottom: 20px;
}
.post-content ul,
.post-content ol {
  margin: 0 0 20px 0;
  padding-left: 24px;
}
.post-content ul { list-style: disc; }
.post-content ol { list-style: decimal; }
.post-content li {
  font-size: 1rem;
  color: var(--clr-text);
  line-height: 1.8;
  margin-bottom: 8px;
  padding-left: 6px;
}
.post-content strong { font-weight: 600; color: var(--clr-navy); }
.post-content a {
  color: #6b7db3;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--transition);
}
.post-content a:hover { color: var(--clr-navy); }
.post-content hr {
  border: none;
  border-top: 1px solid var(--clr-grey-200);
  margin: 48px 0;
}
.post-callout {
  background: rgba(184,154,94,0.08);
  border-left: 3px solid var(--clr-gold);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 20px 24px;
  margin: 28px 0;
}
.post-callout p { margin: 0; font-size: 0.95rem; color: var(--clr-text); }
.post-step {
  background: var(--clr-white);
  border: 1px solid var(--clr-grey-200);
  border-radius: var(--radius-md);
  padding: 28px 28px 28px 72px;
  margin: 24px 0;
  position: relative;
}
.post-step-number {
  position: absolute;
  left: 22px; top: 26px;
  width: 32px; height: 32px;
  background: var(--clr-gold);
  color: var(--clr-navy);
  border-radius: 50%;
  font-size: 0.8rem;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.post-step h3 { margin-top: 0; font-size: 1.05rem; }
.post-step p { margin-bottom: 0; }

/* FAQ section */
.post-faq { margin-top: 48px; }
.faq-item { border-bottom: 1px solid var(--clr-grey-200); padding: 20px 0; }
.faq-item:first-of-type { border-top: 1px solid var(--clr-grey-200); }
.faq-question { font-size: 1rem; font-weight: 600; color: var(--clr-navy); margin-bottom: 10px; }
.faq-answer { font-size: 0.9rem; color: var(--clr-text-light); line-height: 1.75; margin: 0; }

/* Post CTA box */
.post-cta-box {
  background: var(--clr-navy);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  margin-top: 56px;
  text-align: center;
}
.post-cta-box h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--clr-offwhite);
  margin-bottom: 12px;
  line-height: 1.3;
}
.post-cta-box p { font-size: 0.95rem; color: rgba(245,243,239,0.65); margin-bottom: 24px; line-height: 1.7; }

/* Author box */
.post-author-box {
  background: var(--clr-white);
  border: 1px solid var(--clr-grey-200);
  border-radius: var(--radius-md);
  padding: 28px;
  margin-top: 48px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.post-author-avatar {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--clr-charcoal);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--clr-gold);
  flex-shrink: 0;
}
.post-author-info h4 { font-size: 0.95rem; font-weight: 600; color: var(--clr-navy); margin-bottom: 4px; }
.post-author-info p { font-size: 0.85rem; color: var(--clr-text-light); line-height: 1.65; margin: 0; }

/* Sidebar */
.post-sidebar { display: flex; flex-direction: column; gap: 28px; position: sticky; top: 90px; }
.sidebar-block {
  background: var(--clr-white);
  border: 1px solid var(--clr-grey-200);
  border-radius: var(--radius-md);
  padding: 24px;
}
.sidebar-block h4 {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--clr-gold);
  margin-bottom: 16px;
}
.sidebar-toc { display: flex; flex-direction: column; gap: 8px; }
.sidebar-toc a {
  font-size: 0.85rem;
  color: var(--clr-text-light);
  line-height: 1.5;
  padding: 4px 0 4px 12px;
  border-left: 2px solid var(--clr-grey-200);
  transition: color var(--transition), border-color var(--transition);
}
.sidebar-toc a:hover { color: var(--clr-navy); border-color: var(--clr-gold); }
.sidebar-cta {
  background: var(--clr-navy);
  border: none;
  text-align: center;
}
.sidebar-cta h4 { color: var(--clr-gold); }
.sidebar-cta p { font-size: 0.875rem; color: rgba(245,243,239,0.6); line-height: 1.65; margin-bottom: 16px; }
.sidebar-cta .btn { width: 100%; justify-content: center; }

/* Hero trust line */
.hero-trust {
  font-size: 0.78rem;
  color: rgba(245,243,239,0.4);
  margin-top: 14px;
  letter-spacing: 0.02em;
}

/* Contact reassurance list */
.contact-reassurance { border-top: 1px solid rgba(255,255,255,0.07); padding-top: 28px; }
.contact-reassurance-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.contact-reassurance-list li {
  font-size: 0.875rem;
  color: rgba(245,243,239,0.6);
  padding-left: 18px;
  position: relative;
  line-height: 1.5;
}
.contact-reassurance-list li::before {
  content: '✓';
  position: absolute; left: 0;
  color: var(--clr-gold);
  font-size: 0.75rem;
  font-weight: 700;
  top: 1px;
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 960px) {
  .featured-post { grid-template-columns: 1fr; }
  .featured-post-visual { min-height: 240px; }
  .featured-post-body { padding: 32px 28px; }
  .post-layout-inner { grid-template-columns: 1fr; }
  .post-sidebar { position: static; }
}

@media (max-width: 640px) {
  .blog-hero { padding: 100px 0 56px; }
  .post-hero { padding: 100px 0 48px; }
  .blog-grid { grid-template-columns: 1fr; }
  .post-step { padding: 24px 20px 24px 60px; }
  .post-author-box { flex-direction: column; }
  .post-cta-box { padding: 32px 24px; }
}
