﻿/* Kirktwardy editorial additions.
   The mirror ships Tailwind CSS with no article/post template,
   so this file adds only: (1) article typography, (2) interactive state hooks
   (sticky header, off-canvas sidebar, search) that keep the mirror's
   own Tailwind classes intact. */

/* ---------- behaviour hooks ---------- */
.site-header { transition: transform .25s ease; }
.site-header.is-hidden { transform: translateY(-100%); }
.site-sidebar.is-open { transform: translateX(0) !important; }
.site-overlay.is-open { opacity: 1 !important; pointer-events: auto !important; }
body.rc-no-scroll { overflow: hidden; }

/* ---------- article template ---------- */
.rc-article { max-width: 46rem; margin: 0 auto; color: #1f2937; font-size: 1.0625rem; line-height: 1.78; }
.rc-article p { margin: 0 0 1.15rem; }
.rc-article h2 { font-weight: 700; color: #111827; font-size: 1.55rem; line-height: 1.3; margin: 2.1rem 0 .85rem; }
.rc-article h3 { font-weight: 700; color: #111827; font-size: 1.2rem; line-height: 1.35; margin: 1.6rem 0 .6rem; }
.rc-article a { color: #b45309; text-decoration: underline; text-underline-offset: 2px; }
.rc-article a:hover { color: #92400e; }
.rc-article ul, .rc-article ol { margin: 0 0 1.15rem 1.35rem; }
.rc-article ul { list-style: disc; }
.rc-article ol { list-style: decimal; }
.rc-article li { margin: .35rem 0; }
.rc-article img { max-width: 100%; height: auto; border-radius: .25rem; }

.rc-lead { font-size: 1.2rem; line-height: 1.6; color: #374151; }
.rc-hero { margin: 1.5rem 0 1.25rem; }
.rc-hero img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.rc-quote { border-left: 4px solid #b45309; margin: 1.75rem 0; padding: .35rem 0 .35rem 1.35rem; font-size: 1.4rem; line-height: 1.42; color: #111827; font-style: italic; }
.rc-facts { background: #f6f5f2; border: 1px solid #e5e2da; border-radius: .35rem; padding: 1.1rem 1.35rem; margin: 1.75rem 0; }
.rc-facts h3 { margin: .0 0 .5rem; font-size: 1.05rem; letter-spacing: .02em; text-transform: uppercase; }
.rc-facts ul { margin: 0 0 0 1.2rem; }
.rc-figure { margin: 1.75rem 0; }
.rc-figure img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.rc-figure figcaption { font-size: .8rem; color: #6b7280; margin-top: .45rem; }
.rc-byline { font-size: .85rem; color: #6b7280; }
.rc-breadcrumb { font-size: .8rem; color: #6b7280; margin: .25rem 0 1rem; }
.rc-breadcrumb a { color: #6b7280; }
.rc-tagline { margin-top: 2rem; padding-top: 1rem; border-top: 1px solid #e5e7eb; font-style: italic; color: #6b7280; }
.rc-card-link { display: block; }

/* ---------- header text logo ---------- */
.rc-logo { font-weight: 800; letter-spacing: .01em; line-height: 1; }
.rc-logo:hover { opacity: .85; }

/* ---------- search ---------- */
.rc-search-results { border-top: 1px solid #e5e7eb; }
.rc-search-results a { display: block; padding: .6rem 1rem; font-size: .875rem; color: #111827; border-bottom: 1px solid #f1f5f9; }
.rc-search-results a:hover { background: #f8fafc; color: #b45309; }
.rc-search-empty { padding: .75rem 1rem; font-size: .8rem; color: #6b7280; }




/* ---------- WhatsApp float ---------- */
.rc-wa { position: fixed; right: 18px; bottom: 18px; z-index: 60; display: flex; align-items: center; gap: .6rem; }
.rc-wa-label { background: #fff; color: #111827; padding: .45rem .8rem; border-radius: .4rem; box-shadow: 0 6px 18px rgba(0,0,0,.18); font-size: .8rem; white-space: nowrap; animation: rc-wa-in .4s ease .8s both; }
.rc-wa-btn { width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 24px rgba(0,0,0,.28); transition: transform .15s ease; animation: rc-wa-in .4s ease .5s both; }
.rc-wa-btn:hover { transform: scale(1.06); }
@keyframes rc-wa-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 480px) { .rc-wa-label { display: none; } }
