/**
 * VMT Reading Guide — VISUAL / BRAND layer (theme-owned).
 *
 * Everything you'd restyle lives here: the warm palette + design tokens, the
 * green "Reading Guide" bar colour, cover-box matte/borders/shadows/radius, card
 * look, serif typography, badges/pills, buttons (incl. the gold Amazon variant),
 * hover states, and the fuller aesthetic padding. Edit this file to reskin the
 * public Reading Guide / Resource Library WITHOUT touching the plugin.
 *
 * The structural skeleton (grid/flex, fixed-height contain framing, the
 * responsive book layout, the equal-width buy-button sizing, list resets, a
 * minimal gutter) lives in the plugin:
 *   web/app/plugins/vmt-resource-library/assets/css/reading-guide.css
 * This file is enqueued AFTER that one (dependency + priority 20 in
 * functions.php) so these declarations win. Selector names are identical to the
 * plugin's — this is a properties split, not a rename.
 */

/* ---- Design tokens (scoped to .vmt-rg) ---- */
.vmt-rg {
	--rg-teal: #0d6976;
	--rg-teal-dark: #0a525c;
	--rg-gold: #cc8614;
	--rg-gold-deep: #a86d10;
	--rg-gold-tint: rgba(204, 134, 20, 0.12);
	--rg-cream: #f6f1e8;
	--rg-card: #fffdf8;
	--rg-cover-frame: #efe8da;
	--rg-ink: #2c2824;
	--rg-muted: #7a7266;
	--rg-line: #e6ddcc;
	--rg-serif: Georgia, "Iowan Old Style", "Times New Roman", serif;
	--rg-radius: 10px;
	--rg-shadow-sm: 0 2px 8px rgba(120, 92, 45, 0.09);
	--rg-shadow: 0 8px 26px rgba(120, 92, 45, 0.16);
	color: #45403a;
	font-size: 16px;
}

body.vmt-rg-body { background-color: #f6f1e8; }

/* Full-bleed green top bar. */
.vmt-rg-topbar { background-color: #0d6976; }
.vmt-rg-topbar__inner { padding: 34px 24px 26px; }
.vmt-rg-topbar__title { color: #fff; font-weight: 700; font-size: 40px; line-height: 1.1; margin: 0; }
.vmt-rg-topbar__crumb { color: rgba(255,255,255,0.82); font-size: 14px; text-decoration: none; }
.vmt-rg-topbar__crumb:hover { color: #fff; }

.vmt-rg-wrap { padding: 40px 24px 72px; }

.vmt-rg-hero__title { font-family: var(--rg-serif); font-size: 34px; font-weight: 700; color: var(--rg-ink); margin: 0 0 8px; }
.vmt-rg-hero__lead { font-size: 18px; color: var(--rg-muted); line-height: 1.6; max-width: 62ch; margin: 0 0 8px; }
.vmt-rg-sec__title { font-family: var(--rg-serif); font-size: 24px; color: var(--rg-ink); margin: 40px 0 4px; }

/* ---- Card grid (visual) ---- */
.vmt-rg-grid { margin-top: 20px; }
.vmt-rg-card__link {
	background: var(--rg-card); border: 1px solid var(--rg-line);
	border-radius: var(--rg-radius); box-shadow: var(--rg-shadow-sm);
	transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}
.vmt-rg-card__link:hover { box-shadow: var(--rg-shadow); transform: translateY(-4px); border-color: #ddd2bd; }
.vmt-rg-card__cover { padding: 14px; background: var(--rg-cover-frame); border-bottom: 1px solid var(--rg-line); }
.vmt-rg-card__img { box-shadow: 0 3px 10px rgba(120,92,45,.18); border-radius: 3px; }
.vmt-rg-card__fallback { text-align: center; color: var(--rg-muted); font-family: var(--rg-serif); padding: 12px; }
.vmt-rg-card__fallback b { font-size: 15px; color: #6b6355; line-height: 1.3; }
.vmt-rg-card__fallback span { font-size: 11px; letter-spacing: .04em; text-transform: uppercase; }
.vmt-rg-card__body { padding: 15px 16px 18px; }
.vmt-rg-card__title { font-family: var(--rg-serif); font-size: 17px; font-weight: 700; line-height: 1.3; color: var(--rg-ink); }
.vmt-rg-card__author { font-size: 13px; color: var(--rg-muted); font-style: italic; }
.vmt-rg-card__pull { font-size: 14px; color: #55504a; line-height: 1.55; margin-top: 5px; }
.vmt-rg-card__part { padding-top: 8px; font-size: 12px; letter-spacing: .03em; text-transform: uppercase; color: var(--rg-gold-deep); font-weight: 700; }

/* Resource (institutional) card — org wordmark instead of a cover. */
.vmt-rg-card__wordmark { padding: 16px; background: linear-gradient(135deg, #0d6976 0%, #0a525c 100%); text-align: center; }
.vmt-rg-card__wordmark span { color: #fff; font-family: var(--rg-serif); font-size: 16px; line-height: 1.35; }
.vmt-rg-card__tag { font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--rg-teal-dark); background: rgba(13,105,118,.09); padding: 2px 8px; border-radius: 999px; margin-bottom: 4px; }

/* Resource ORG LOGO panel + book-detail logo panel. */
.vmt-rg-card__logo { padding: 22px; background: #fff; border-bottom: 1px solid var(--rg-line); }
.vmt-rg-book__logo { border-radius: var(--rg-radius); box-shadow: var(--rg-shadow); background: #fff; padding: 28px; }

/* Priority badge. */
.vmt-rg-badge { font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--rg-gold-deep); background: var(--rg-gold-tint); padding: 3px 9px; border-radius: 999px; }

/* ---- Book detail (visual) ---- */
.vmt-rg-book__cover { border-radius: var(--rg-radius); box-shadow: var(--rg-shadow); background: var(--rg-cover-frame); }
.vmt-rg-book__wordmark { border-radius: var(--rg-radius); box-shadow: var(--rg-shadow); background: linear-gradient(135deg,#0d6976,#0a525c); padding: 24px; text-align: center; }
.vmt-rg-book__wordmark span { color:#fff; font-family: var(--rg-serif); font-size: 20px; line-height: 1.4; }
.vmt-rg-book__title { font-family: var(--rg-serif); font-size: 33px; font-weight: 700; color: var(--rg-ink); margin: 0 0 4px; }
.vmt-rg-book__author { font-size: 18px; color: var(--rg-muted); font-style: italic; margin: 0 0 14px; }
.vmt-rg-book__h { font-family: var(--rg-serif); font-size: 20px; color: var(--rg-teal-dark); border-bottom: 2px solid var(--rg-line); padding-bottom: 6px; margin: 30px 0 12px; }
.vmt-rg-prose p { font-size: 17px; line-height: 1.75; color: #453f38; margin: 0 0 14px; }
.vmt-rg-btn { margin-top: 16px; background: var(--rg-teal); color: #fff; font-weight: 600; padding: 10px 18px; border-radius: 6px; text-decoration: none; }
.vmt-rg-btn:hover { background: var(--rg-teal-dark); color: #fff; }
.vmt-rg-buys { margin-top: 16px; }
.vmt-rg-buybtn__img { border-radius: 6px; }
.vmt-rg-btn--amazon { background: var(--rg-gold-deep); }
.vmt-rg-btn--amazon:hover { background: #9c6a12; }
.vmt-rg-alsoin { margin-top: 10px; font-size: 14px; color: var(--rg-muted); }
.vmt-rg-alsoin a { color: var(--rg-teal); text-decoration: none; border-bottom: 1px solid transparent; }
.vmt-rg-alsoin a:hover { border-bottom-color: var(--rg-gold); color: var(--rg-gold-deep); }
.vmt-rg-tag { font-size: 12px; letter-spacing: .04em; text-transform: uppercase; font-weight: 700; color: var(--rg-gold-deep); background: var(--rg-gold-tint); padding: 3px 10px; border-radius: 999px; margin-bottom: 8px; }

/* ---- Library landing tiles (visual) ---- */
.vmt-rg-tiles { margin-top: 24px; }
.vmt-rg-tile { background: linear-gradient(135deg,#0d6976,#0a525c); color:#fff; border-radius: var(--rg-radius); padding: 26px; text-decoration: none; box-shadow: var(--rg-shadow-sm); transition: transform .2s ease, box-shadow .2s ease; }
.vmt-rg-tile:hover { transform: translateY(-4px); box-shadow: var(--rg-shadow); color:#fff; }
.vmt-rg-tile__title { font-family: var(--rg-serif); font-size: 23px; font-weight: 700; }
.vmt-rg-tile__count { opacity:.85; font-size: 14px; margin-top: 6px; }
