/* Shared styles for ronanavim.com/blog. Matches the main site (index.html). */
:root {
  --brand: #8a1c2b;
  --brand-dark: #6b1421;
  --ink: #1d1d1f;
  --muted: #5d5d63;
  --line: #e7e2df;
  --bg: #ffffff;
  --soft: #f8f4f2;
  --max: 1120px;
  --read: 720px;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.7 Inter, system-ui, -apple-system, Segoe UI, Roboto, sans-serif; }
a { color: var(--brand); }
img { max-width: 100%; display: block; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.read { max-width: var(--read); margin: 0 auto; padding: 0 20px; }
h1, h2, h3 { font-family: "Playfair Display", Georgia, serif; line-height: 1.2; margin: 0 0 .5em; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 600; color: var(--brand); margin-bottom: .6em; }
.btn { display: inline-block; padding: 13px 22px; border-radius: 6px; font-weight: 600; text-decoration: none; border: 2px solid var(--brand); }
.btn-solid { background: var(--brand); color: #fff; }
.btn-solid:hover { background: var(--brand-dark); border-color: var(--brand-dark); }

/* Header (same as main site) */
header { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.95); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { font-family: "Playfair Display", serif; font-weight: 700; font-size: 1.25rem; color: var(--brand); text-decoration: none; letter-spacing: .02em; }
.nav ul { list-style: none; display: flex; gap: 22px; margin: 0; padding: 0; }
.nav ul a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: .95rem; }
.nav ul a:hover, .nav ul a.active { color: var(--brand); }
/* On phones, only the Blog link stays in the menu */
@media (max-width: 760px) { .nav ul li { display: none; } .nav ul li.keep { display: block; } }

/* Blog home */
.blog-hero { background: linear-gradient(135deg, var(--brand-dark), var(--brand)); color: #fff; padding: 72px 0 60px; }
.blog-hero h1 { font-size: clamp(2rem, 4.5vw, 3rem); }
.blog-hero p { font-size: 1.1rem; max-width: 36em; opacity: .95; margin: 0; }
.blog-hero .eyebrow { color: #f3d6da; }
.posts { padding: 56px 0 72px; }
.post-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.post-card { border: 1px solid var(--line); border-radius: 10px; padding: 26px; background: #fff; text-decoration: none; color: inherit; display: block; transition: border-color .15s; }
.post-card:hover { border-color: var(--brand); }
.post-card h2 { font-size: 1.4rem; color: var(--ink); }
.post-card p { color: var(--muted); margin: 0 0 14px; font-size: .97rem; }
.post-card .more { color: var(--brand); font-weight: 600; font-size: .92rem; }
.meta { color: var(--muted); font-size: .85rem; margin-bottom: 8px; }
@media (max-width: 760px) { .post-list { grid-template-columns: 1fr; } }

/* Single post */
article.post { padding: 56px 0 40px; }
article.post h1 { font-size: clamp(2rem, 4.5vw, 2.8rem); }
article.post h2 { font-size: 1.5rem; margin-top: 1.8em; }
article.post p, article.post li { color: #333338; }
article.post ul { padding-left: 1.2em; }
article.post li { margin-bottom: .5em; }
.lede { font-size: 1.15rem; color: var(--muted) !important; }
.back { display: inline-block; margin-bottom: 24px; font-weight: 600; text-decoration: none; font-size: .92rem; }
.cta { background: var(--soft); border-radius: 10px; padding: 28px; margin: 40px 0 0; }
.cta h3 { font-size: 1.3rem; }
.cta p { margin: 0 0 16px; }
.disclosure { color: var(--muted); font-size: .82rem; border-top: 1px solid var(--line); padding-top: 18px; margin-top: 40px; }

footer { background: #111; color: #a9a9ae; font-size: .85rem; padding: 28px 0; }
footer .wrap { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
