/* RT Showcase — components. Brand: Ink #14171C · Cobalt #2F6DA8 · Paper #FCFCFD */

@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/fraunces-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/fraunces-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/fraunces-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/inter-latin-500-normal.woff2") format("woff2"); }

:root {
	--rt-ink: #14171C;
	--rt-ink-2: #3B414B;
	--rt-ink-3: #6B7280;
	--rt-cobalt: #2F6DA8;
	--rt-cobalt-dark: #245787;
	--rt-paper: #FCFCFD;
	--rt-line: #E3E5E9;
	--rt-tint: #F3F5F8;
	--rt-serif: "Fraunces", Georgia, "Times New Roman", serif;
	--rt-sans: "Inter", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--rt-max: 1120px;
	--rt-narrow: 720px;
}

/* ---------- Layout sections ---------- */
.rt-page { font-family: var(--rt-sans); color: var(--rt-ink); background: var(--rt-paper); line-height: 1.6; font-size: 17px; }
.rt-page *, .rt-page *::before, .rt-page *::after { box-sizing: border-box; }
.rt-section { padding: 88px 24px; }
.rt-section--tint { background: var(--rt-tint); }
.rt-section--ink { background: var(--rt-ink); color: var(--rt-paper); }
.rt-section--ink .rt-eyebrow, .rt-section--ink .rt-small { color: #B7BDC7; }
.rt-wrap { max-width: var(--rt-max); margin: 0 auto; }
.rt-narrow { max-width: var(--rt-narrow); margin: 0 auto; }

.rt-page h1, .rt-page h2, .rt-page h3 { font-family: var(--rt-serif); font-weight: 400; letter-spacing: -0.01em; line-height: 1.15; color: inherit; margin: 0 0 0.5em; }
.rt-page h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
.rt-page h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); }
.rt-page h3 { font-size: 1.4rem; }
.rt-page p { margin: 0 0 1em; }
.rt-page a { color: var(--rt-cobalt); text-underline-offset: 3px; }
.rt-section--ink a { color: #9CC2EA; }

.rt-hero { padding: 128px 24px 96px; }
.rt-hero .rt-lead { font-size: 1.25rem; color: var(--rt-ink-2); max-width: 640px; }
.rt-section--ink.rt-hero .rt-lead { color: #D5D9E0; }
.rt-eyebrow { font-size: 0.78rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--rt-ink-3); margin: 0 0 12px; }
.rt-rule { width: 48px; height: 2px; background: var(--rt-cobalt); border: 0; margin: 0 0 28px; }

.rt-cols3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.rt-cols2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 48px; }
.rt-col h3 { font-size: 1.2rem; }
.rt-num { font-family: var(--rt-serif); font-size: 2.6rem; color: var(--rt-cobalt); line-height: 1; margin-bottom: 8px; }

.rt-steps { counter-reset: rt; list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.rt-steps li { counter-increment: rt; border-top: 1px solid var(--rt-line); padding-top: 20px; }
.rt-steps li::before { content: "0" counter(rt); display: block; font-family: var(--rt-serif); color: var(--rt-cobalt); font-size: 1.1rem; margin-bottom: 10px; }
.rt-steps strong { display: block; font-weight: 500; margin-bottom: 4px; }

.rt-quote { font-family: var(--rt-serif); font-size: clamp(1.4rem, 2.6vw, 2rem); line-height: 1.35; margin: 0; }

.rt-btn, .rt-page .rt-btn { display: inline-block; background: var(--rt-ink); color: var(--rt-paper) !important; font-family: var(--rt-sans); font-weight: 500; font-size: 1rem; padding: 14px 28px; border: 1px solid var(--rt-ink); border-radius: 2px; text-decoration: none; cursor: pointer; transition: background .15s; }
.rt-btn:hover { background: var(--rt-cobalt); border-color: var(--rt-cobalt); }
.rt-section--ink .rt-btn { background: var(--rt-paper); color: var(--rt-ink) !important; border-color: var(--rt-paper); }
.rt-section--ink .rt-btn:hover { background: var(--rt-cobalt); color: var(--rt-paper) !important; border-color: var(--rt-cobalt); }
.rt-btn--ghost { background: transparent; color: var(--rt-ink) !important; }
.rt-actions { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; margin-top: 32px; }

.rt-small { font-size: 0.88rem; color: var(--rt-ink-3); }
.rt-note { padding: 12px 16px; background: #FFF7E0; border-left: 3px solid #D9A400; font-size: 0.9rem; }

.rt-postlist { list-style: none; padding: 0; margin: 0; }
.rt-postlist li { border-top: 1px solid var(--rt-line); padding: 18px 0; }
.rt-postlist a { font-family: var(--rt-serif); font-size: 1.25rem; color: var(--rt-ink); text-decoration: none; }
.rt-postlist a:hover { color: var(--rt-cobalt); }

/* ---------- Provider cards ---------- */
.rt-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 32px; }
.rt-card { background: #fff; border: 1px solid var(--rt-line); border-radius: 2px; display: flex; flex-direction: column; overflow: hidden; color: var(--rt-ink); }
.rt-card__img img { width: 100%; height: 220px; object-fit: cover; display: block; }
.rt-card__body { padding: 28px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.rt-card__title { font-family: var(--rt-serif); font-weight: 400; font-size: 1.5rem; margin: 0; }
.rt-card .rt-eyebrow { margin: 0; }
.rt-badge { display: inline-block; font-size: 0.75rem; font-weight: 500; letter-spacing: 0.04em; color: var(--rt-cobalt); background: #EAF1F8; padding: 4px 10px; border-radius: 2px; margin: 0; align-self: flex-start; }
.rt-tier-3 .rt-badge { color: var(--rt-ink-2); background: var(--rt-tint); }
.rt-tags { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; }
.rt-tags li { font-size: 0.78rem; border: 1px solid var(--rt-line); padding: 2px 8px; border-radius: 20px; color: var(--rt-ink-2); }
.rt-verdict { margin: 4px 0 0; display: grid; grid-template-columns: 92px 1fr; gap: 6px 12px; font-size: 0.95rem; }
.rt-verdict dt { font-weight: 500; color: var(--rt-ink-3); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; padding-top: 3px; }
.rt-verdict dd { margin: 0; }
.rt-details { margin-top: auto; border-top: 1px solid var(--rt-line); padding-top: 14px; }
.rt-details summary { cursor: pointer; font-weight: 500; color: var(--rt-cobalt); list-style: none; }
.rt-details summary::-webkit-details-marker { display: none; }
.rt-details summary::after { content: " +"; }
.rt-details[open] summary::after { content: " –"; }
.rt-details__content { padding-top: 12px; font-size: 0.97rem; color: var(--rt-ink-2); }

.rt-legend { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.rt-legend .rt-badge { margin-right: 8px; }

/* ---------- Form ---------- */
.rt-form { display: grid; gap: 20px; font-family: var(--rt-sans); }
.rt-field { display: grid; gap: 6px; font-size: 0.92rem; font-weight: 500; border: 0; padding: 0; margin: 0; color: var(--rt-ink); }
.rt-field legend { margin-bottom: 8px; padding: 0; }
.rt-form input[type=text], .rt-form input[type=email], .rt-form select, .rt-form textarea {
	width: 100%; font: 400 1rem/1.5 var(--rt-sans); color: var(--rt-ink); background: #fff;
	border: 1px solid #CDD1D7; border-radius: 2px; padding: 11px 12px; box-shadow: none;
}
.rt-form input:focus, .rt-form select:focus, .rt-form textarea:focus { outline: 2px solid var(--rt-cobalt); outline-offset: 1px; border-color: var(--rt-cobalt); }
.rt-radio { display: flex; gap: 10px; align-items: center; font-weight: 400; padding: 4px 0; }
.rt-consent { display: flex; gap: 10px; align-items: flex-start; font-size: 0.9rem; }
.rt-consent input { margin-top: 4px; }
.rt-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.rt-client-only { display: grid; gap: 20px; padding: 20px; background: var(--rt-tint); border-left: 2px solid var(--rt-cobalt); }
.rt-hp { position: absolute !important; left: -9999px !important; height: 1px; overflow: hidden; }
.rt-alert { padding: 16px 18px; margin-bottom: 24px; border-radius: 2px; }
.rt-alert--ok { background: #EAF1F8; border-left: 3px solid var(--rt-cobalt); }
.rt-alert--err { background: #FCEDED; border-left: 3px solid #B42318; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
	.rt-cols3, .rt-steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
	.rt-section { padding: 64px 20px; }
	.rt-hero { padding: 88px 20px 64px; }
	.rt-cols3, .rt-cols2, .rt-steps, .rt-grid2 { grid-template-columns: 1fr; }
	.rt-cards { grid-template-columns: 1fr; }
}

/* ---------- Article template (RickTroy) ---------- */
.rt-reviewed { font-family: var(--rt-sans); font-size: 0.85rem; color: var(--rt-ink-3); border-bottom: 1px solid var(--rt-line); padding-bottom: 14px; margin-bottom: 28px; }
.rt-reviewed span { color: var(--rt-cobalt); font-weight: 500; }
.rt-lead-box { font-size: 1.18em; line-height: 1.6; color: var(--rt-ink); margin: 0 0 1.6em; }
.rt-lead-box p:last-child { margin-bottom: 0; }
.rt-take { background: var(--rt-tint); border-left: 3px solid var(--rt-cobalt); padding: 24px 28px; margin: 2.2em 0; font-family: var(--rt-sans); }
.rt-take .rt-eyebrow { color: var(--rt-cobalt); }
.rt-take p:last-child { margin-bottom: 0; }
.rt-deepdive { border: 1px solid var(--rt-line); border-radius: 2px; margin: 1.8em 0; background: #fff; }
.rt-deepdive summary { cursor: pointer; padding: 14px 18px; font-family: var(--rt-sans); font-weight: 500; color: var(--rt-ink); }
.rt-deepdive > div { padding: 0 18px 8px; font-size: 0.95em; color: var(--rt-ink-2); }
.rt-authorbox { border-top: 2px solid var(--rt-ink); margin-top: 3em; padding-top: 22px; font-family: var(--rt-sans); font-size: 0.95rem; }
.rt-authorbox .rt-btn { margin-top: 6px; }

/* ---------- v1.1.1 fixes (theme overrides) ---------- */
.rt-form select { height: auto !important; min-height: 46px; line-height: 1.4 !important; padding: 10px 36px 10px 12px !important; }
.rt-page ul.rt-tags, .rt-card ul.rt-tags { margin: 0 !important; padding: 0 !important; }
.rt-page p:empty { display: none; }
