/* Ryan-Theme 1.1: patterns and feature styles. Uses the brand variables from the Customizer. */

/* ---- Announcement bar, breadcrumbs, TOC, related, sticky CTA ---- */
.ryt-announce { position:relative; background:var(--ryt-ink); color:#fff; text-align:center; font-size:.92rem; }
.ryt-announce[hidden] { display:none; }
.ryt-announce p { margin:0; padding:10px 48px; }
.ryt-announce a { color:#fff; font-weight:700; text-decoration:underline; text-underline-offset:3px; margin-left:6px; }
.ryt-announce__close { position:absolute; right:8px; top:50%; transform:translateY(-50%); width:36px; height:36px; border:0; background:transparent; color:#fff; font-size:1.5rem; line-height:1; cursor:pointer; border-radius:6px; }
.ryt-announce__close:hover { background:rgba(255,255,255,.14); }

.ryt-breadcrumbs { padding-top:18px; font-size:.88rem; color:#5b6670; }
.ryt-breadcrumbs ol { display:flex; flex-wrap:wrap; gap:4px 0; margin:0; padding:0; list-style:none; }
.ryt-breadcrumbs li + li::before { content:"/"; margin:0 8px; color:#9aa5ae; }
.ryt-breadcrumbs a { color:inherit; text-decoration:none; }
.ryt-breadcrumbs a:hover { color:var(--ryt-accent-strong); text-decoration:underline; }
.ryt-breadcrumbs p { margin:0; }

.ryt-toc { margin:0 0 32px; padding:18px 22px; background:var(--ryt-surface-alt); border-radius:var(--ryt-radius-lg,14px); }
.ryt-toc__title { margin:0 0 8px; font-weight:700; color:var(--ryt-ink); }
.ryt-toc ol { margin:0; padding-left:20px; }
.ryt-toc li { margin:4px 0; }
.ryt-toc__l3 { margin-left:16px; list-style:circle; }
.ryt-toc a { color:var(--ryt-accent-strong); text-decoration:none; }
.ryt-toc a:hover { text-decoration:underline; }
.ryt-prose h2[id], .ryt-prose h3[id] { scroll-margin-top:96px; }

.ryt-read-time { margin:6px 0 0; font-size:.88rem; color:#5b6670; }
.ryt-legal__updated { margin:0; color:#5b6670; }

.ryt-related { padding:8px 0 72px; }
.ryt-related h2 { font-size:1.5rem; margin-bottom:22px; }
.ryt-card-grid--3 { grid-template-columns:repeat(3,minmax(0,1fr)); }
@media (max-width:900px) { .ryt-card-grid--3 { grid-template-columns:1fr; } }

.ryt-sticky-cta { position:fixed; left:0; right:0; bottom:0; z-index:900; padding:10px 16px calc(10px + env(safe-area-inset-bottom)); background:rgba(255,255,255,.97); border-top:1px solid var(--ryt-border); text-align:center; }
.ryt-sticky-cta[hidden] { display:none; }
.ryt-sticky-cta .ryt-header-cta { display:flex; justify-content:center; width:100%; }
@media (min-width:681px) { .ryt-sticky-cta { display:none; } }

/* ---- Footer ---- */
.ryt-footer-links { margin:0; padding:0; list-style:none; }
.ryt-footer-links li + li { margin-top:8px; }
.ryt-footer-links a { color:var(--ryt-text); text-decoration:none; }
.ryt-footer-links a:hover { color:var(--ryt-accent-strong); text-decoration:underline; }
.ryt-footer-menu .ryt-footer-widget__title { font-size:1.05rem; margin:0 0 14px; }
.ryt-social-links { display:flex; flex-wrap:wrap; gap:8px; margin:28px 0 0; padding:0; list-style:none; }
.ryt-social-links .ryt-social-link { width:auto; height:auto; margin:0; padding:7px 14px; border-radius:999px; font-size:.88rem; font-weight:600; text-decoration:none; }
.ryt-site-footer--minimal { background:var(--ryt-surface-alt); }
.ryt-site-header--minimal .ryt-header-inner { display:flex; justify-content:space-between; align-items:center; }

/* ---- Patterns ---- */
.ryt-eyebrow { margin:0 0 10px; font-size:.8rem; font-weight:700; letter-spacing:.12em; color:var(--ryt-accent-strong); }
.ryt-lead { font-size:1.15rem; max-width:720px; margin-inline:auto; }
.ryt-hero { padding:96px 24px 88px; background:linear-gradient(180deg,var(--ryt-surface-alt),var(--ryt-bg)); }
.ryt-hero h1 { font-size:clamp(2.1rem,5vw,3.4rem); line-height:1.1; max-width:880px; margin-inline:auto; color:var(--ryt-ink); }
.ryt-hero .ryt-lead { margin-top:18px; margin-bottom:28px; }

.ryt-section { padding:80px 24px; }
.ryt-section--soft { background:var(--ryt-surface-alt); }
.ryt-section--tight { padding-block:40px; }
.ryt-section h2 { color:var(--ryt-ink); }
.ryt-section > .wp-block-columns { margin-top:40px; }

.ryt-cards > .wp-block-column { padding:28px; background:#fff; border:1px solid var(--ryt-border); border-radius:var(--ryt-radius-lg,14px); }
.ryt-cards h3, .ryt-steps h3 { margin-top:0; color:var(--ryt-ink); }
.ryt-step-number { display:inline-flex; align-items:center; justify-content:center; width:40px; height:40px; margin:0 0 12px; border-radius:50%; background:var(--ryt-accent-strong); color:#fff; font-weight:700; }

.ryt-stat-number { margin:0; font-size:2.4rem; font-weight:800; line-height:1.1; color:var(--ryt-accent-strong); }
.ryt-stat-label { margin:6px 0 0; color:#5b6670; }

.ryt-plans { align-items:stretch; }
.ryt-plan { height:100%; padding:30px 26px; background:#fff; border:1px solid var(--ryt-border); border-radius:var(--ryt-radius-lg,14px); }
.ryt-plan.is-featured { border:2px solid var(--ryt-accent); box-shadow:0 14px 34px rgba(15,27,45,.10); }
.ryt-plan h3 { margin:0; color:var(--ryt-ink); }
.ryt-price { margin:10px 0 0; font-size:2.4rem; font-weight:800; line-height:1; color:var(--ryt-ink); }
.ryt-price-note { margin:4px 0 18px; color:#5b6670; }
.ryt-plan ul { padding-left:20px; margin:0 0 22px; }
.ryt-plan li { margin:6px 0; }

.ryt-faq .wp-block-details { max-width:820px; margin:0 auto 12px; padding:16px 20px; background:#fff; border:1px solid var(--ryt-border); border-radius:var(--ryt-radius,10px); }
.ryt-faq summary { cursor:pointer; font-weight:700; color:var(--ryt-ink); }
.ryt-faq .wp-block-details p { margin:12px 0 0; }
.ryt-faq h2 { margin-bottom:32px; }

.ryt-quotes > .wp-block-column { padding:0; }
.ryt-quote { margin:0; padding:26px 28px; background:#fff; border:1px solid var(--ryt-border); border-left:4px solid var(--ryt-accent); border-radius:var(--ryt-radius,10px); }
.ryt-quote cite { display:block; margin-top:12px; font-style:normal; font-weight:600; color:#5b6670; }

.ryt-logos { align-items:center; margin-top:8px; }
.ryt-logo-slot { margin:0; padding:14px; border:1px dashed var(--ryt-border); border-radius:var(--ryt-radius,10px); color:#8a95a0; font-weight:600; }

.ryt-cta-band { padding:72px 24px; background:var(--ryt-accent-strong); color:#fff; }
.ryt-cta-band h2 { color:#fff; margin-top:0; }
.ryt-cta-band .wp-block-button__link { background:#fff; color:var(--ryt-accent-strong); }

@media (max-width:781px) {
  .ryt-hero { padding:64px 20px 56px; }
  .ryt-section { padding:56px 20px; }
  .ryt-cta-band { padding:52px 20px; }
}
