/* Rebeca Fenney 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 + popup ---------- */
.rc-wa { position: fixed; right: 20px; bottom: 20px; z-index: 60; }
.rc-wa-btn { width: 58px; height: 58px; border: 0; border-radius: 50%; background: #25d366; color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; 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, .rc-wa-btn:focus { transform: scale(1.06); }
.rc-wa-btn svg { display: block; }
.rc-wa-pop { position: fixed; right: 20px; bottom: 90px; z-index: 61; width: 308px; max-width: calc(100vw - 40px); background: #fff; border-radius: 12px; box-shadow: 0 12px 40px rgba(0,0,0,.28); padding: 18px; display: none; }
.rc-wa-pop.is-open { display: block; }
.rc-wa-close { position: absolute; top: 6px; right: 8px; border: 0; background: none; font-size: 24px; line-height: 1; cursor: pointer; color: #777; }
.rc-wa-head { display: flex; gap: 10px; align-items: center; margin: 0 20px 10px 0; }
.rc-wa-head svg { color: #25d366; flex: none; }
.rc-wa-head strong { display: block; font-size: 15px; line-height: 1.25; color: #111; }
.rc-wa-head span { display: block; font-size: 12px; color: #666; }
.rc-wa-pop p { font-size: 14px; line-height: 1.5; color: #333; margin: 0 0 14px; }
.rc-wa-cta { display: flex; align-items: center; justify-content: center; gap: 8px; background: #25d366; color: #fff; text-decoration: none; font-weight: 600; font-size: 14px; padding: 10px 14px; border-radius: 8px; }
.rc-wa-cta svg { flex: none; }
@keyframes rc-wa-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 480px) { .rc-wa { right: 14px; bottom: 14px; } .rc-wa-pop { right: 14px; left: 14px; bottom: 78px; width: auto; } }
