/**
 * PLUMIER Magazine (blog) — brand-styled, matches the landing palette.
 * Loaded on home/archive/single/search views.
 */

.plumier-mag {
	--bg: #08120c;
	--panel: #101c15;
	--ink: #f3efe6;
	--muted: #9aa79c;
	--muted-2: #6d7a70;
	--accent: #c4622d;
	--accent-2: #e0956b;
	--cream: #f2ead9;
	--cream-ink: #20211b;
	--line: rgba(243, 239, 230, .10);
	--line-2: rgba(243, 239, 230, .2);
	--serif: 'Fraunces', Georgia, 'Times New Roman', serif;
	--sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
	--mono: 'Space Mono', ui-monospace, monospace;
	--r: 18px;
	background: var(--bg);
	color: var(--ink);
	font-family: var(--sans);
	-webkit-font-smoothing: antialiased;
}
.plumier-mag em { font-family: var(--serif); font-style: italic; color: var(--accent); }
.mag-wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* nav */
.mag-nav { position: sticky; top: 0; z-index: 20; background: rgba(8, 18, 12, .82); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.mag-nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.mag-logo { display: inline-flex; align-items: center; }
.mag-logo img { height: 24px; width: auto; display: block; }
.mag-nav-links { display: flex; align-items: center; gap: 22px; }
.mag-nav-links a { color: var(--muted); text-decoration: none; font-size: 14px; }
.mag-nav-links a:hover { color: var(--ink); }
.mag-nav-links .mag-cta { background: var(--cream); color: var(--cream-ink); font-weight: 700; padding: 10px 18px; border-radius: 999px; }
.mag-nav-links .mag-cta:hover { background: #fff; }
@media (max-width: 560px) { .mag-nav-links a:not(.mag-cta) { display: none; } }

/* listing */
.mag { padding: 56px 0 80px; }
.mag-head { text-align: center; max-width: 680px; margin: 0 auto 46px; }
.mag-kicker { display: block; font-family: var(--mono); font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--accent); margin-bottom: 16px; }
.mag-head h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(34px, 6vw, 56px); line-height: 1.04; margin: 0; }
.mag-head p { color: var(--muted); font-size: 17px; line-height: 1.6; margin: 16px 0 0; }

.mag-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
@media (max-width: 900px) { .mag-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .mag-grid { grid-template-columns: 1fr; } }

.mag-card { display: flex; flex-direction: column; text-decoration: none; color: inherit; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--panel); transition: transform .22s ease, border-color .22s; }
.mag-card:hover { transform: translateY(-4px); border-color: var(--line-2); }
.mag-thumb { aspect-ratio: 3 / 2; overflow: hidden; background: #0c1710; }
.mag-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mag-thumb-empty { display: grid; place-items: center; }
.mag-thumb-empty span { font-family: var(--serif); font-style: italic; font-size: 26px; color: rgba(243, 239, 230, .18); }
.mag-card-b { padding: 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.mag-date { font-family: var(--mono); font-size: 11px; letter-spacing: .06em; color: var(--muted-2); text-transform: uppercase; }
.mag-card-t { font-family: var(--serif); font-weight: 500; font-size: 21px; line-height: 1.2; margin: 2px 0 0; }
.mag-card-x { color: var(--muted); font-size: 14px; line-height: 1.55; margin: 0; }
.mag-read { margin-top: auto; padding-top: 8px; color: var(--accent-2); font-weight: 600; font-size: 13px; }

.mag-pager { margin-top: 48px; text-align: center; }
.mag-pager .page-numbers { display: inline-block; padding: 9px 15px; margin: 0 3px; border-radius: 10px; border: 1px solid var(--line); color: var(--muted); text-decoration: none; font-size: 14px; }
.mag-pager .page-numbers.current { background: var(--accent); color: #fff; border-color: transparent; }
.mag-pager .page-numbers:hover { color: var(--ink); }
.mag-empty { text-align: center; color: var(--muted); padding: 40px 0; }

/* single article */
.mag-single { padding-top: 44px; }
.mag-article-head { max-width: 760px; text-align: center; }
.mag-back { display: inline-block; color: var(--muted); text-decoration: none; font-size: 13px; margin-bottom: 18px; }
.mag-back:hover { color: var(--ink); }
.mag-title { font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 5.5vw, 52px); line-height: 1.06; margin: 10px 0 0; }
.mag-hero { max-width: 900px; margin-top: 34px; }
.mag-hero img { width: 100%; border-radius: var(--r); display: block; }
.mag-body { max-width: 720px; margin-top: 34px; font-size: 18px; line-height: 1.75; color: #d9d3c7; }
.mag-body > * { margin: 0 0 22px; }
.mag-body h2 { font-family: var(--serif); font-weight: 500; font-size: 28px; color: var(--ink); line-height: 1.2; margin-top: 40px; }
.mag-body h3 { font-family: var(--serif); font-weight: 500; font-size: 22px; color: var(--ink); margin-top: 32px; }
.mag-body a { color: var(--accent-2); }
.mag-body img { max-width: 100%; height: auto; border-radius: 12px; }
.mag-body blockquote { border-left: 3px solid var(--accent); padding-left: 20px; margin-left: 0; font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--ink); }
.mag-body ul, .mag-body ol { padding-left: 22px; }
.mag-body li { margin-bottom: 8px; }

.mag-cta-band { max-width: 720px; margin: 56px auto 0; text-align: center; background: linear-gradient(180deg, var(--panel), #0c1710); border: 1px solid var(--line-2); border-radius: 22px; padding: 40px 26px; }
.mag-cta-band h3 { font-family: var(--serif); font-weight: 500; font-size: 26px; margin: 0 0 8px; }
.mag-cta-band p { color: var(--muted); margin: 0 0 22px; }
.mag-cta-btn { display: inline-block; background: var(--cream); color: var(--cream-ink); font-weight: 700; text-decoration: none; padding: 15px 28px; border-radius: 999px; }
.mag-cta-btn:hover { background: #fff; }

/* footer */
.mag-foot { border-top: 1px solid var(--line); padding: 26px 0; color: var(--muted); font-size: 13px; }
.mag-foot .mag-wrap { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.mag-foot nav { display: flex; gap: 18px; }
.mag-foot a { color: var(--muted); text-decoration: none; }
.mag-foot a:hover { color: var(--ink); }
