/* Prostate Max Blog - Shared Styles */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Source+Serif+4:ital,wght@0,300;0,400;0,600;1,400&display=swap');

:root {
  --navy: #0d2340;
  --navy-mid: #153058;
  --blue: #1a6fbf;
  --blue-light: #2a8cd9;
  --green: #28a86e;
  --green-dark: #1e8057;
  --gold: #c8922a;
  --cream: #f8f5ef;
  --text: #2c2c2c;
  --text-muted: #6b7280;
  --border: #e5e0d5;
  --white: #ffffff;
  --shadow: 0 4px 24px rgba(13,35,64,0.10);
  --shadow-lg: 0 12px 48px rgba(13,35,64,0.16);
}

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

body {
  font-family: 'Source Serif 4', Georgia, serif;
  background: var(--cream);
  color: var(--text);
  line-height: 1.75;
}

/* NAV */
nav {
  background: var(--navy);
  padding: 0 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 16px rgba(0,0,0,0.18);
}
.nav-logo {
  font-family: 'Playfair Display', serif;
  color: var(--white);
  font-size: 1.4rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: -0.3px;
}
.nav-logo span { color: var(--gold); }
.nav-links { display: flex; gap: 28px; list-style: none; }
.nav-links a {
  color: rgba(255,255,255,0.82);
  text-decoration: none;
  font-family: 'Source Serif 4', serif;
  font-size: 0.92rem;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--gold); }
.nav-cta {
  background: var(--green);
  color: var(--white) !important;
  padding: 8px 22px;
  border-radius: 6px;
  font-weight: 600 !important;
  transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--green-dark) !important; color: #fff !important; }

/* HERO BANNER */
.blog-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 60%, #1a4a7a 100%);
  color: var(--white);
  padding: 64px 5% 56px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.blog-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 120%, rgba(26,111,191,0.25), transparent);
}
.blog-hero .badge {
  display: inline-block;
  background: rgba(200,146,42,0.18);
  border: 1px solid rgba(200,146,42,0.4);
  color: var(--gold);
  font-size: 0.78rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 4px 16px;
  border-radius: 20px;
  margin-bottom: 18px;
  font-family: 'Source Serif 4', serif;
}
.blog-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
  position: relative;
}
.blog-hero .subtitle {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.75);
  max-width: 620px;
  margin: 0 auto 24px;
}
.meta-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  color: rgba(255,255,255,0.6);
  font-size: 0.85rem;
}
.meta-row span { display: flex; align-items: center; gap: 5px; }

/* LAYOUT */
.page-wrap {
  max-width: 1160px;
  margin: 0 auto;
  padding: 56px 5% 80px;
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 52px;
  align-items: start;
}

/* ARTICLE */
article {
  background: var(--white);
  border-radius: 14px;
  padding: 48px 52px;
  box-shadow: var(--shadow);
}
article h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.65rem;
  color: var(--navy);
  margin: 40px 0 14px;
  line-height: 1.3;
}
article h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  color: var(--navy-mid);
  margin: 28px 0 10px;
}
article p { margin-bottom: 20px; font-size: 1.03rem; }
article ul, article ol {
  margin: 0 0 20px 24px;
  font-size: 1.03rem;
}
article li { margin-bottom: 8px; }
article strong { color: var(--navy); }

/* HIGHLIGHT BOX */
.highlight-box {
  background: linear-gradient(135deg, #e8f4fd, #f0f8ff);
  border-left: 4px solid var(--blue);
  border-radius: 0 10px 10px 0;
  padding: 20px 24px;
  margin: 28px 0;
  font-size: 1.02rem;
  color: var(--navy-mid);
}
.highlight-box strong { display: block; margin-bottom: 6px; font-family: 'Playfair Display', serif; font-size: 1.05rem; }

/* CTA BLOCK */
.cta-block {
  background: linear-gradient(135deg, var(--green-dark), var(--green));
  border-radius: 14px;
  padding: 36px 40px;
  text-align: center;
  color: var(--white);
  margin: 40px 0;
}
.cta-block h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: #fff;
}
.cta-block p { color: rgba(255,255,255,0.88); margin-bottom: 22px; }
.btn-primary {
  display: inline-block;
  background: var(--white);
  color: var(--green-dark);
  font-family: 'Source Serif 4', serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 36px;
  border-radius: 8px;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.2); }
.btn-outline {
  display: inline-block;
  border: 2px solid var(--green);
  color: var(--green-dark);
  font-weight: 600;
  padding: 12px 30px;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s;
  font-family: 'Source Serif 4', serif;
}
.btn-outline:hover { background: var(--green); color: #fff; }

/* RATINGS */
.rating-box {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fffbf2;
  border: 1px solid #f0e6c8;
  border-radius: 10px;
  padding: 16px 20px;
  margin: 24px 0;
}
.stars { color: #f5a623; font-size: 1.2rem; }
.rating-text { font-size: 0.92rem; color: var(--text-muted); }
.rating-text strong { color: var(--navy); font-size: 1.1rem; }

/* SIDEBAR */
.sidebar { position: sticky; top: 88px; }
.sidebar-card {
  background: var(--white);
  border-radius: 14px;
  padding: 28px;
  box-shadow: var(--shadow);
  margin-bottom: 24px;
}
.sidebar-card h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  color: var(--navy);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--border);
}
.sidebar-card ul { list-style: none; }
.sidebar-card ul li { margin-bottom: 10px; }
.sidebar-card ul li a {
  color: var(--blue);
  text-decoration: none;
  font-size: 0.9rem;
  line-height: 1.4;
  transition: color 0.2s;
}
.sidebar-card ul li a:hover { color: var(--green-dark); }
.sidebar-card ul li::before { content: '→ '; color: var(--green); font-size: 0.85rem; }

.sidebar-order {
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  color: #fff;
  border-radius: 14px;
  padding: 28px;
  text-align: center;
  box-shadow: var(--shadow-lg);
}
.sidebar-order h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  margin-bottom: 8px;
  color: var(--gold);
}
.sidebar-order p { font-size: 0.9rem; color: rgba(255,255,255,0.78); margin-bottom: 18px; }
.sidebar-order .price { font-size: 2rem; font-weight: 700; color: #fff; font-family: 'Playfair Display', serif; }
.sidebar-order .price sub { font-size: 0.9rem; }

/* FACTS GRID */
.facts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 24px 0;
}
.fact-card {
  background: var(--cream);
  border-radius: 10px;
  padding: 18px;
  border: 1px solid var(--border);
  text-align: center;
}
.fact-card .icon { font-size: 1.6rem; margin-bottom: 8px; }
.fact-card h4 { font-family: 'Playfair Display', serif; font-size: 0.95rem; color: var(--navy); margin-bottom: 4px; }
.fact-card p { font-size: 0.82rem; color: var(--text-muted); margin: 0; }

/* TABLE */
.comparison-table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 0.95rem; }
.comparison-table th { background: var(--navy); color: #fff; padding: 12px 16px; text-align: left; font-family: 'Playfair Display', serif; }
.comparison-table td { padding: 11px 16px; border-bottom: 1px solid var(--border); }
.comparison-table tr:nth-child(even) td { background: var(--cream); }
.check { color: var(--green); font-weight: 700; }
.cross { color: #e53e3e; }

/* FOOTER */
footer {
  background: var(--navy);
  color: rgba(255,255,255,0.7);
  padding: 40px 5% 24px;
  text-align: center;
}
footer .footer-logo {
  font-family: 'Playfair Display', serif;
  color: var(--white);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 12px;
}
footer .footer-logo span { color: var(--gold); }
footer .footer-links { display: flex; justify-content: center; gap: 24px; flex-wrap: wrap; margin: 16px 0; }
footer .footer-links a { color: rgba(255,255,255,0.65); text-decoration: none; font-size: 0.88rem; transition: color 0.2s; }
footer .footer-links a:hover { color: var(--gold); }
footer .disclaimer { font-size: 0.78rem; color: rgba(255,255,255,0.4); max-width: 740px; margin: 16px auto 0; line-height: 1.6; }

/* BREADCRUMB */
.breadcrumb {
  padding: 14px 5%;
  font-size: 0.84rem;
  color: var(--text-muted);
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.breadcrumb a { color: var(--blue); text-decoration: none; }
.breadcrumb a:hover { color: var(--green-dark); }

/* INDEX GRID */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
  padding: 0;
}
.blog-card {
  background: var(--white);
  border-radius: 14px;
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s;
  text-decoration: none;
  color: var(--text);
  display: flex;
  flex-direction: column;
}
.blog-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.blog-card-img {
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  padding: 32px 28px 24px;
  color: var(--white);
  position: relative;
  min-height: 140px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.blog-card-img .card-number {
  font-size: 4rem;
  font-family: 'Playfair Display', serif;
  color: rgba(255,255,255,0.08);
  position: absolute;
  top: 12px;
  right: 20px;
  font-weight: 700;
  line-height: 1;
}
.blog-card-img .tag {
  font-size: 0.72rem;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}
.blog-card-img h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  line-height: 1.35;
  color: #fff;
}
.blog-card-body { padding: 22px 24px; flex: 1; display: flex; flex-direction: column; }
.blog-card-body p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.6; flex: 1; }
.blog-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  font-size: 0.82rem;
  color: var(--text-muted);
}
.blog-card-footer .read-more { color: var(--blue); font-weight: 600; }

@media (max-width: 820px) {
  .page-wrap { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  article { padding: 30px 22px; }
  .blog-hero { padding: 44px 5% 36px; }
  .facts-grid { grid-template-columns: 1fr; }
}
