/* United Services — Blog stylesheet (self-contained, matches site brand) */
:root {
  --navy: #0a1628; --navy-mid: #132040; --navy-light: #1e3060;
  --gold: #c9a84c; --gold-light: #e8c96a; --gold-pale: #f5e9c8;
  --white: #ffffff; --off-white: #f8f6f0;
  --gray: #8a9ab5; --gray-light: #e8ecf4;
  --text: #1a2340; --text-light: #4a5878;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif; background: var(--off-white);
  color: var(--text); line-height: 1.6; -webkit-font-smoothing: antialiased;
}
a { color: inherit; }

/* ── NAV (matched exactly to homepage site.css) ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(10, 22, 40, 0.96); backdrop-filter: blur(12px);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5%; height: 72px; border-bottom: 1px solid rgba(201, 168, 76, 0.2);
}
.logo { font-family: 'Playfair Display', serif; color: var(--white); font-size: 1.35rem; font-weight: 700; letter-spacing: 0.02em; text-decoration: none; }
.logo span { color: var(--gold); }
.nav-links { display: flex; gap: 2.5rem; list-style: none; }
.nav-links a { color: rgba(255,255,255,0.75); text-decoration: none; font-size: 0.88rem; font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase; transition: color 0.25s; }
.nav-links a:hover, .nav-links a.active { color: var(--gold); }
.nav-actions { display: flex; align-items: center; gap: .75rem; }
.nav-cta { background: var(--gold); color: var(--navy) !important; text-decoration: none; padding: 0.5rem 1.4rem; border-radius: 4px; font-weight: 600 !important; transition: background 0.25s !important; }
.nav-cta:hover { background: var(--gold-light) !important; color: var(--navy) !important; }
.nav-join { border: 1.5px solid rgba(201,168,76,0.55); color: var(--gold) !important; text-decoration: none; padding: 0.45rem 1.3rem; border-radius: 4px; font-weight: 600 !important; letter-spacing: 0.04em; transition: background 0.25s, border-color 0.25s !important; }
.nav-join:hover { background: rgba(201,168,76,0.1) !important; border-color: var(--gold) !important; color: var(--gold) !important; }
.hamburger { display: none; flex-direction: column; justify-content: center; align-items: center; gap: 5px; background: none; border: none; cursor: pointer; padding: .4rem; margin-left: .25rem; }
.hamburger span { display: block; width: 22px; height: 2px; background: rgba(255,255,255,.75); border-radius: 2px; transition: all .25s; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── BLOG HEADER ── */
.blog-hero { background: var(--navy); color: var(--white); padding: 8rem 5% 4rem; text-align: center; position: relative; overflow: hidden; }
.blog-hero::after { content: ""; position: absolute; top: -40%; right: -10%; width: 480px; height: 480px; border-radius: 50%; background: radial-gradient(circle, rgba(201,168,76,0.10), transparent 70%); }
.blog-hero .eyebrow { color: var(--gold); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 1rem; }
.blog-hero h1 { font-family: 'Playfair Display', serif; font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 700; margin-bottom: 1rem; }
.blog-hero p { color: var(--gray); max-width: 620px; margin: 0 auto; font-size: 1.05rem; }

/* ── POST GRID ── */
.blog-wrap { max-width: 1080px; margin: 0 auto; padding: 4rem 5% 5rem; }
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 2rem; }
.post-card { background: var(--white); border: 1px solid var(--gray-light); border-radius: 14px; overflow: hidden; text-decoration: none; color: inherit; display: flex; flex-direction: column; transition: transform 0.18s, box-shadow 0.18s, border-color 0.18s; }
.post-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(10,22,40,0.12); border-color: var(--gold); }
.post-card-top { height: 8px; background: linear-gradient(90deg, var(--gold), var(--gold-light)); }
.post-card-body { padding: 1.6rem 1.7rem 1.8rem; display: flex; flex-direction: column; flex: 1; }
.post-tag { align-self: flex-start; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold); background: var(--gold-pale); padding: 0.3rem 0.7rem; border-radius: 5px; margin-bottom: 1rem; }
.post-card h2 { font-family: 'Playfair Display', serif; font-size: 1.4rem; font-weight: 700; line-height: 1.3; margin-bottom: 0.7rem; color: var(--navy); }
.post-card p { color: var(--text-light); font-size: 0.94rem; flex: 1; margin-bottom: 1.2rem; }
.post-meta { display: flex; gap: 1rem; font-size: 0.82rem; color: var(--gray); }
.post-more { color: var(--gold); font-weight: 600; font-size: 0.9rem; margin-top: 1.1rem; }

/* ── ARTICLE ── */
.article-head { background: var(--navy); color: var(--white); padding: 7.5rem 5% 3.5rem; }
.article-head-inner { max-width: 760px; margin: 0 auto; }
.article-head .post-tag { background: rgba(201,168,76,0.15); }
.article-head h1 { font-family: 'Playfair Display', serif; font-size: clamp(1.9rem, 4.5vw, 3rem); font-weight: 700; line-height: 1.25; margin-bottom: 1.2rem; }
.article-meta { display: flex; flex-wrap: wrap; gap: 1.2rem; align-items: center; color: var(--gray); font-size: 0.9rem; }
.article-meta .author { color: var(--white); font-weight: 600; }
.article-body { max-width: 720px; margin: 0 auto; padding: 3rem 5% 2rem; }
.article-body p { margin-bottom: 1.4rem; font-size: 1.08rem; color: var(--text); }
.article-body h2 { font-family: 'Playfair Display', serif; font-size: 1.7rem; font-weight: 700; color: var(--navy); margin: 2.6rem 0 1rem; }
.article-body h3 { font-size: 1.2rem; font-weight: 700; color: var(--navy); margin: 1.8rem 0 0.7rem; }
.article-body ul, .article-body ol { margin: 0 0 1.4rem 1.4rem; }
.article-body li { margin-bottom: 0.6rem; font-size: 1.06rem; }
.article-body strong { color: var(--navy); }
.article-body em { color: var(--text-light); }
.lead { font-size: 1.2rem !important; color: var(--text-light) !important; font-weight: 500; }
.pull { border-left: 4px solid var(--gold); background: var(--white); padding: 1.2rem 1.5rem; border-radius: 0 10px 10px 0; margin: 2rem 0; font-family: 'Playfair Display', serif; font-size: 1.25rem; color: var(--navy); font-style: italic; }

/* ── CTA + DISCLAIMER ── */
.article-cta { max-width: 720px; margin: 3rem auto 0; padding: 0 5%; }
.cta-box { background: var(--navy); color: var(--white); border-radius: 16px; padding: 2.4rem; text-align: center; }
.cta-box h3 { font-family: 'Playfair Display', serif; font-size: 1.6rem; margin-bottom: 0.6rem; color: var(--white); }
.cta-box p { color: var(--gray); margin-bottom: 1.6rem; font-size: 1rem; }
.cta-box a { display: inline-block; background: var(--gold); color: var(--navy); padding: 0.85rem 2rem; border-radius: 8px; text-decoration: none; font-weight: 700; transition: background 0.2s; }
.cta-box a:hover { background: var(--gold-light); }
.disclaimer { max-width: 720px; margin: 2.5rem auto 0; padding: 0 5%; }
.disclaimer p { font-size: 0.82rem; color: var(--gray); line-height: 1.6; font-style: italic; }

/* ── SHARE ── */
.share { max-width: 720px; margin: 2.5rem auto 0; padding: 1.5rem 5%; display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; border-top: 1px solid var(--gray-light); }
.share-label { font-weight: 700; color: var(--navy); font-size: 0.95rem; }
.share-btns { display: flex; gap: 0.7rem; flex-wrap: wrap; }
.share-btn { display: inline-flex; align-items: center; gap: 0.45rem; background: var(--white); border: 1px solid var(--gray-light); color: var(--text); padding: 0.55rem 1rem; border-radius: 8px; text-decoration: none; font-size: 0.85rem; font-weight: 600; cursor: pointer; transition: all 0.15s; }
.share-btn:hover { border-color: var(--gold); color: var(--navy); background: var(--gold-pale); }
.share-btn svg { width: 16px; height: 16px; }
#copy-status { font-size: 0.82rem; color: var(--gold); font-weight: 600; opacity: 0; transition: opacity 0.2s; }
#copy-status.show { opacity: 1; }

.back-link { max-width: 720px; margin: 2rem auto 0; padding: 0 5%; }
.back-link a { color: var(--gold); text-decoration: none; font-weight: 600; font-size: 0.92rem; }
.back-link a:hover { text-decoration: underline; }

/* ── FOOTER ── */
footer { background: var(--navy); color: var(--gray); padding: 3rem 5% 2.5rem; text-align: center; margin-top: 4rem; }
.footer-logo { font-family: 'Playfair Display', serif; color: var(--white); font-size: 1.4rem; font-weight: 700; margin-bottom: 1rem; }
.footer-logo span { color: var(--gold); }
.footer-legal { max-width: 720px; margin: 0 auto 1.4rem; font-size: 0.8rem; line-height: 1.6; }
.footer-links { display: flex; gap: 1.6rem; justify-content: center; flex-wrap: wrap; }
.footer-links a { color: var(--gray); text-decoration: none; font-size: 0.88rem; }
.footer-links a:hover { color: var(--gold-light); }

@media (max-width: 900px) {
  .hamburger { display: flex; }
  .nav-links { display: none; position: absolute; top: 72px; left: 0; right: 0; background: rgba(10,22,40,.98); backdrop-filter: blur(12px); flex-direction: column; padding: 1rem 0 1.5rem; border-bottom: 1px solid rgba(201,168,76,.15); z-index: 99; }
  .nav-links.open { display: flex; }
  .nav-links li { list-style: none; }
  .nav-links a { display: block; padding: .85rem 2rem; font-size: .95rem; }
  .nav-join { font-size: .78rem !important; padding: .4rem .9rem !important; }
  .nav-cta { font-size: .78rem !important; padding: .4rem .9rem !important; }
}

@media (max-width: 768px) {
  .blog-hero { padding: 7rem 5% 3rem; }
  .article-body { padding: 2.5rem 6% 2rem; }
}
