:root {
  /* Brand values are overridden by Appearance → Customize → Brand colours & fonts. */
  --ryt-accent: #0b8f6a;
  --ryt-accent-strong: #087a5a;
  --ryt-focus: #f59e0b;
  --ryt-ink: #0f1b2d;
  --ryt-text: #334155;
  --ryt-surface-alt: #f1f5f9;
  --ryt-surface-soft: #f1f1f1;
  --ryt-bg: #ffffff;
  --ryt-font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --ryt-font-heading: var(--ryt-font-body);
  --ryt-content: 1200px;
  --ryt-wide: 1320px;
  --ryt-reading: 820px;
  --ryt-header-height: 72px;
  --ryt-radius-sm: 6px;
  --ryt-radius: 12px;
  --ryt-radius-lg: 18px;
  --ryt-shadow-sm: 0 4px 18px rgba(15, 27, 45, 0.08);
  --ryt-shadow: 0 14px 40px rgba(15, 27, 45, 0.10);
  --ryt-border: color-mix(in srgb, var(--ryt-ink) 12%, transparent);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ryt-bg);
  color: var(--ryt-text);
  font-family: var(--ryt-font-body);
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.ryt-nav-open { overflow: hidden; }
img { max-width: 100%; height: auto; }
a { color: var(--ryt-ink); text-decoration-thickness: .08em; text-underline-offset: .16em; }
a:hover { color: var(--ryt-accent-strong); }
::selection { background: var(--ryt-accent-strong); color: #fff; }

h1,h2,h3,h4,h5,h6 {
  margin-top: 0;
  color: var(--ryt-text);
  font-family: var(--ryt-font-heading);
  font-weight: 700;
  line-height: 1.2;
  text-wrap: balance;
}
h1 { font-size:56px; line-height:1.18; }
h2 { font-size:32px; line-height:1.3; }
h3 { font-size:26px; line-height:1.3; }
h4 { font-size:25px; line-height:1.2; }
h5 { font-size:20px; line-height:1.2; }
h6 { font-size:18px; line-height:1.25; }

/* Respect Gutenberg's explicit font-size classes. Block font-size classes
   (has-medium-font-size etc.) must not be overridden by the heading scale. */

.screen-reader-text {
  border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute !important; width: 1px; word-wrap: normal !important;
}
.screen-reader-text:focus {
  clip: auto !important; clip-path: none; height: auto; width: auto; top: 12px; left: 12px; z-index: 100000; padding: 12px 16px; background: #fff; color: #000; border-radius: var(--ryt-radius-sm); box-shadow: var(--ryt-shadow);
}
:focus-visible { outline: 3px solid var(--ryt-focus); outline-offset: 3px; }

.ryt-content-width { width: min(calc(100% - 48px), var(--ryt-content)); margin-inline: auto; }
.ryt-reading-width { max-width: var(--ryt-reading); }
.ryt-main { min-height: 50vh; }

/* Header */
.ryt-site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid var(--ryt-border);
  transition: background-color .2s ease, box-shadow .2s ease, backdrop-filter .2s ease;
  isolation: isolate;
}
.ryt-site-header.is-scrolled {
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px) saturate(150%);
  -webkit-backdrop-filter: blur(12px) saturate(150%);
  box-shadow: 0 8px 28px rgba(15,27,45,.08);
}
.ryt-transparent-header .ryt-site-header {
  position: absolute;
  left: 0; right: 0;
  background: transparent;
  border-color: transparent;
}
.ryt-transparent-header .ryt-site-header.is-scrolled {
  position: fixed;
  background: rgba(255,255,255,.94);
  border-color: var(--ryt-border);
}
.ryt-header-inner {
  width: min(calc(100% - 70px), 1400px);
  min-height: var(--ryt-header-height);
  margin-inline: auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
}
.ryt-brand { display: inline-flex; align-items: center; text-decoration: none; }
.ryt-brand__logo { display:block; width:60px; height:60px; object-fit:contain; }
.ryt-brand--text { font-family:var(--ryt-font-heading); font-weight:700; font-size:1.35rem; }
.ryt-primary-nav { justify-self: center; }
.ryt-menu { display:flex; align-items:center; gap: 2px; margin:0; padding:0; list-style:none; }
.ryt-menu > li { position:relative; display:flex; align-items:center; }
.ryt-menu a { display:flex; align-items:center; min-height:48px; padding:0 11px; color:var(--ryt-ink); font-weight:600; text-decoration:none; white-space:nowrap; transition:color .15s ease; }
.ryt-menu > li > a::after { content:""; position:absolute; left:11px; right:11px; bottom:7px; height:2px; background:var(--ryt-accent); transform:scaleX(0); transform-origin:center; transition:transform .18s ease; }
.ryt-menu > li:hover > a::after,
.ryt-menu > li:focus-within > a::after,
.ryt-menu > .current-menu-item > a::after,
.ryt-menu > .current-menu-ancestor > a::after { transform:scaleX(1); }
.ryt-menu > .current-menu-item > a,
.ryt-menu > .current-menu-ancestor > a,
.ryt-menu a:hover { color:var(--ryt-accent-strong); }
.ryt-submenu-toggle { border:0; background:transparent; width:28px; height:40px; padding:0; margin-left:-8px; display:grid; place-items:center; color:currentColor; cursor:pointer; }
.ryt-submenu-toggle span { width:7px; height:7px; border-right:1.5px solid currentColor; border-bottom:1.5px solid currentColor; transform:rotate(45deg) translateY(-2px); }
.ryt-menu .sub-menu {
  position:absolute; top:calc(100% - 2px); left:0; z-index:100;
  min-width:260px; margin:0; padding:8px; list-style:none;
  background:#fff; border:1px solid var(--ryt-border); border-top:2px solid var(--ryt-accent); border-radius:0 0 var(--ryt-radius) var(--ryt-radius);
  box-shadow:var(--ryt-shadow); opacity:0; visibility:hidden; transform:translateY(8px); transition:opacity .15s ease, transform .15s ease, visibility .15s ease;
}
.ryt-menu .sub-menu li { position:relative; }
.ryt-menu .sub-menu .sub-menu { top:-10px; left:100%; border-top-width:1px; border-radius:var(--ryt-radius); }
.ryt-menu .sub-menu a { min-height:auto; padding:11px 13px; white-space:normal; border-radius:var(--ryt-radius-sm); }
.ryt-menu .sub-menu a:hover { background:var(--ryt-surface-alt); }
.ryt-menu li:hover > .sub-menu,
.ryt-menu li:focus-within > .sub-menu { opacity:1; visibility:visible; transform:translateY(0); }
.ryt-header-actions { display:flex; align-items:center; gap:18px; }
.ryt-header-actions:not(:has(*)) { display:none; }
.ryt-header-login { color:var(--ryt-ink); font-weight:600; text-decoration:none; white-space:nowrap; }
.ryt-header-login:hover { color:var(--ryt-accent-strong); }
.ryt-header-cta,
.ryt-button,
.wp-block-button > .wp-block-button__link,
:where(.ryt-entry-content, .ryt-prose, .ryt-comments) input[type="submit"] {
  display:inline-flex; align-items:center; justify-content:center; min-height:46px; padding:12px 24px;
  border:1px solid var(--ryt-accent-strong); border-radius:var(--ryt-radius-sm); background:var(--ryt-accent-strong); color:#fff;
  font:600 .9rem/1.2 var(--ryt-font-body); text-transform:uppercase; letter-spacing:.035em; text-decoration:none;
  transition:transform .15s ease, box-shadow .15s ease, background-color .15s ease, border-color .15s ease, color .15s ease;
}
.ryt-header-cta:hover,
.ryt-button:hover,
.wp-block-button > .wp-block-button__link:hover,
:where(.ryt-entry-content, .ryt-prose, .ryt-comments) input[type="submit"]:hover { transform:translateY(-1px); background:var(--ryt-ink); border-color:var(--ryt-ink); color:#fff; box-shadow:0 8px 20px rgba(15,27,45,.14); }
.ryt-menu-toggle { display:none; border:0; background:transparent; width:44px; height:44px; padding:10px; cursor:pointer; color:var(--ryt-ink); }
.ryt-menu-toggle__lines { display:grid; gap:5px; }
.ryt-menu-toggle__lines span { display:block; width:24px; height:2px; background:currentColor; border-radius:3px; transition:transform .2s ease, opacity .2s ease; }
.ryt-site-header.nav-open .ryt-menu-toggle__lines span:nth-child(1) { transform:translateY(7px) rotate(45deg); }
.ryt-site-header.nav-open .ryt-menu-toggle__lines span:nth-child(2) { opacity:0; }
.ryt-site-header.nav-open .ryt-menu-toggle__lines span:nth-child(3) { transform:translateY(-7px) rotate(-45deg); }

/* Content compatibility */
.ryt-page-header { width:min(calc(100% - 40px),var(--ryt-content)); padding-top:48px; padding-bottom:26px; }
.ryt-page-title { margin-bottom:0; font-size:30px; line-height:1.2; }
.ryt-entry-content > * { width:min(calc(100% - 40px),var(--ryt-content)); max-width:var(--ryt-content); margin-left:auto; margin-right:auto; }
.ryt-entry-content > .alignwide { width:min(calc(100% - 40px),var(--ryt-wide)); max-width:var(--ryt-wide); }
.ryt-entry-content > .alignfull { width:100%; max-width:none; margin-left:0; margin-right:0; }
.ryt-entry-content > .wp-block-uagb-container.alignfull { width:100%; max-width:none; }

/* Page editorial rhythm — tuned for clean spacing on
   service/content pages without changing the underlying Gutenberg content. */
.ryt-entry-content > p { margin-top:0; margin-bottom:1.45em; }
.ryt-entry-content > h2 { margin-top:2.15em; margin-bottom:.72em; }
.ryt-entry-content > h3 { margin-top:1.7em; margin-bottom:.62em; }
.ryt-entry-content > h4,
.ryt-entry-content > h5,
.ryt-entry-content > h6 { margin-top:1.45em; margin-bottom:.55em; }
.ryt-entry-content > h2:first-child,
.ryt-entry-content > h3:first-child { margin-top:0; }
.ryt-entry-content > ul,
.ryt-entry-content > ol { margin-top:0; margin-bottom:1.45em; }
.ryt-entry-content > .wp-block-media-text { margin-top:1.35em; margin-bottom:2.1em; }
.ryt-entry-content .wp-block-media-text__content > p { margin-top:0; margin-bottom:1.25em; }
.ryt-entry-content .wp-block-media-text__content > p:last-child { margin-bottom:0; }
.ryt-entry-content > p:empty { display:none; }

.ryt-entry-content .wp-block-media-text .wp-block-media-text__content { padding:0 0 0 8%; }
.ryt-entry-content .wp-block-media-text.has-media-on-the-right .wp-block-media-text__content { padding:0 8% 0 0; }
.ryt-entry-content .wp-block-media-text.has-background .wp-block-media-text__content { padding:8%; }
.ryt-featured-image { margin-top:0; margin-bottom:32px; }
.ryt-featured-image img { width:100%; border-radius:var(--ryt-radius); }

/* Prose */
.ryt-single { padding-block:64px 80px; }
.ryt-single-header { margin-bottom:32px; }
.ryt-single-title { margin-bottom:14px; font-size:30px; line-height:1.2; letter-spacing:0; }
.ryt-entry-meta { color:#687078; font-size:.9rem; }
.ryt-prose > * { margin-top:0; }
.ryt-prose p { margin:0 0 1.15em; }
.ryt-prose h2 { margin:2.35em 0 .72em; }
.ryt-prose h3 { margin:1.9em 0 .65em; }
.ryt-prose h4,.ryt-prose h5,.ryt-prose h6 { margin:1.55em 0 .55em; }
.ryt-prose h2:first-child,.ryt-prose h3:first-child { margin-top:0; }
.ryt-prose ul,.ryt-prose ol { margin:0 0 1.3em; padding-left:1.5em; }
.ryt-prose li + li { margin-top:.42em; }
.ryt-prose figure,.ryt-prose .wp-block-image,.ryt-prose .wp-block-table { margin-top:1.8em; margin-bottom:1.8em; }
.ryt-prose a { color:var(--ryt-accent-strong); }
/* In-text links: brand teal with a faint underline that strengthens on hover.
   Only links inside running text (paragraphs, lists, tables, captions, quotes);
   buttons and plugin components keep their own styling. */
:where(.ryt-entry-content, .ryt-prose) :where(p, li, dd, td, th, figcaption, blockquote) a:where(:not(.wp-block-button__link):not(.wp-element-button)) {
  color:var(--ryt-accent-strong);
  text-decoration:underline;
  text-decoration-color:color-mix(in srgb,var(--ryt-accent-strong) 30%,transparent);
  text-decoration-thickness:1px;
  text-underline-offset:.25em;
  transition:text-decoration-color .15s ease, color .15s ease;
}
:where(.ryt-entry-content, .ryt-prose) :where(p, li, dd, td, th, figcaption, blockquote) a:where(:not(.wp-block-button__link):not(.wp-element-button)):hover {
  color:var(--ryt-accent-strong);
  text-decoration-color:currentColor;
}
.ryt-prose blockquote { margin:2rem 0; padding:1.2rem 1.5rem; background:var(--ryt-surface-alt); border-left:4px solid var(--ryt-accent); border-radius:0 var(--ryt-radius-sm) var(--ryt-radius-sm) 0; }
.ryt-prose table { width:100%; border-collapse:collapse; overflow:hidden; border-radius:var(--ryt-radius-sm); }
.ryt-prose th,.ryt-prose td { padding:11px 13px; border:1px solid #dce2e6; text-align:left; }
.ryt-prose th { background:var(--ryt-surface-alt); }
.post-navigation { margin-top:48px; padding-top:28px; border-top:1px solid var(--ryt-border); }
.post-navigation .nav-links { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; }
.post-navigation a { display:block; padding:16px 18px; border:1px solid var(--ryt-border); border-radius:var(--ryt-radius); background:#fff; text-decoration:none; box-shadow:var(--ryt-shadow-sm); }
.post-navigation a:hover { border-color:color-mix(in srgb,var(--ryt-accent) 35%,transparent); transform:translateY(-1px); }

/* Archives / cards */
.ryt-archive { padding-block:58px 80px; }
.ryt-archive-header { margin-bottom:34px; }
.ryt-archive-header h1 { margin-bottom:8px; font-size:35px; line-height:1.3; }
.ryt-card-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:30px; }
.ryt-card { overflow:hidden; border:1px solid var(--ryt-border); border-radius:var(--ryt-radius-lg); background:linear-gradient(180deg,#fff 0%,#fcfdfd 100%); box-shadow:var(--ryt-shadow-sm); transition:transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.ryt-card:hover { transform:translateY(-4px); border-color:color-mix(in srgb,var(--ryt-accent) 38%,transparent); box-shadow:var(--ryt-shadow); }
.ryt-card__link { display:flex; flex-direction:column; height:100%; color:inherit; text-decoration:none; }
.ryt-card__media { aspect-ratio:16/9; overflow:hidden; background:var(--ryt-surface-alt); }
.ryt-card__media img { width:100%; height:100%; object-fit:cover; transition:transform .32s ease; }
.ryt-card:hover .ryt-card__media img { transform:scale(1.035); }
.ryt-card__body { display:flex; flex:1; flex-direction:column; padding:26px; }
.ryt-card__meta { display:block; margin-bottom:9px; color:#71777d; font-size:.8rem; font-weight:600; letter-spacing:.025em; text-transform:uppercase; }
.ryt-card__title { margin-bottom:11px; font-size:clamp(1.35rem,2vw,1.65rem); letter-spacing:-.012em; }
.ryt-card__excerpt { color:#626a72; }
.ryt-card__readmore { display:inline-block; margin-top:auto; padding-top:20px; color:var(--ryt-accent-strong); font-weight:700; }
.navigation.pagination { margin-top:42px; }
.nav-links { display:flex; flex-wrap:wrap; gap:8px; }
.page-numbers { display:grid; place-items:center; min-width:42px; min-height:42px; padding:4px 10px; border:1px solid var(--ryt-border); border-radius:var(--ryt-radius-sm); text-decoration:none; }
.page-numbers.current { background:var(--ryt-accent-strong); border-color:var(--ryt-accent-strong); color:#fff; }

/* Forms & calculators
   Zero-specificity defaults (:where) scoped to content areas: any styling a
   plugin ships (calculators, form plugins)
   always wins, and nothing outside page content is touched. */
:where(.ryt-entry-content, .ryt-prose, .ryt-comments, .ryt-footer-widget) :where(input[type="text"],input[type="email"],input[type="url"],input[type="password"],input[type="search"],input[type="number"],input[type="tel"],select,textarea) {
  width:100%; min-height:48px; padding:12px 14px; border:1px solid #c8d2d8; border-radius:10px; background:#fff; color:var(--ryt-ink); font:inherit; transition:border-color .15s ease, box-shadow .15s ease, background-color .15s ease;
}
:where(.ryt-entry-content, .ryt-prose, .ryt-comments, .ryt-footer-widget) :where(textarea) { min-height:150px; resize:vertical; }
:where(.ryt-entry-content, .ryt-prose, .ryt-comments, .ryt-footer-widget) :where(input[type="text"],input[type="email"],input[type="url"],input[type="password"],input[type="search"],input[type="number"],input[type="tel"],select,textarea):where(:hover) { border-color:#aab7bf; }
:where(.ryt-entry-content, .ryt-prose, .ryt-comments, .ryt-footer-widget) :where(input[type="text"],input[type="email"],input[type="url"],input[type="password"],input[type="search"],input[type="number"],input[type="tel"],select,textarea):where(:focus) { border-color:var(--ryt-accent-strong); box-shadow:0 0 0 3px color-mix(in srgb,var(--ryt-accent-strong) 12%,transparent); outline:0; }
.ryt-form,.ryt-calculator,.calculator-container,[class*="calculator"] form { border-radius:var(--ryt-radius-lg); }
.ryt-form-wrap,.calculator-container,.ryt-calculator { overflow-wrap:anywhere; }
.ryt-form label,.calculator-container label,[class*="calculator"] label { font-weight:600; color:var(--ryt-ink); }

/* Footer */
.ryt-site-footer { margin-top:0; background:linear-gradient(180deg,#f5f7f8 0%,#edf1f2 100%); border-top:1px solid var(--ryt-border); }
.ryt-footer-inner { position:relative; width:min(calc(100% - 48px),var(--ryt-content)); margin:auto; padding:72px 0 50px; }
.ryt-footer-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(200px,1fr)); gap:36px; align-items:start; }
.ryt-footer-column { min-width:0; }
.ryt-footer-widget { margin:0 0 20px; }
.ryt-footer-widget__title,.ryt-footer-widget .widget-title,.ryt-footer-widget .wp-block-heading { font-size:1.15rem; margin-bottom:14px; letter-spacing:-.01em; }
.ryt-footer-widget ul { margin:0; padding:0; list-style:none; }
.ryt-footer-widget li + li { margin-top:8px; }
.ryt-footer-widget a { text-decoration:none; }
.ryt-footer-widget iframe { display:block; width:100%; max-width:100%; border:0; border-radius:var(--ryt-radius-lg); box-shadow:var(--ryt-shadow-sm); }
.ryt-social-link { display:inline-flex; align-items:center; justify-content:center; width:40px; height:40px; margin-top:8px; border:1px solid color-mix(in srgb,var(--ryt-accent) 25%,transparent); border-radius:50%; color:var(--ryt-accent-strong); background:#fff; }
.ryt-social-link svg { width:19px; height:19px; fill:currentColor; }
.ryt-social-link:hover { background:var(--ryt-accent-strong); color:#fff; }
.ryt-footer-bottom { border-top:1px solid var(--ryt-border); }
.ryt-footer-bottom__inner { width:min(calc(100% - 48px),var(--ryt-content)); margin:auto; padding:20px 0; }
.ryt-footer-bottom p { margin:0; font-size:.88rem; color:#697077; }

/* Error/search */
.ryt-error-page { padding-block:88px; text-align:center; }
.ryt-error-page .search-form, .ryt-error-page .ryt-search-form { max-width:560px; margin:24px auto; justify-content:center; }

/* Future WooCommerce: no overrides unless plugin is active. */
.woocommerce .ryt-main { padding-block:48px; }

@media (max-width: 1180px) {
  .ryt-header-inner { width:min(calc(100% - 40px),1400px); gap:14px; }
  .ryt-menu a { padding-inline:8px; font-size:.92rem; }
  .ryt-header-cta { padding-inline:18px; }
}

@media (max-width: 1024px) {
  :root { --ryt-header-height: 70px; }
  h1 { font-size:44px; }
  h2 { font-size:30px; }
  h3 { font-size:24px; }
  /* Gutenberg font-size utility classes keep their own responsive sizing. */
  .ryt-header-inner { grid-template-columns:1fr auto auto; width:calc(100% - 40px); gap:10px; }
  .ryt-header-branding { grid-column:1; grid-row:1; }
  .ryt-header-actions { grid-column:2; grid-row:1; gap:12px; }
  .ryt-header-cta { min-height:40px; padding:8px 14px; font-size:.78rem; }
  .ryt-menu-toggle { display:block; grid-column:3; grid-row:1; justify-self:end; }
  .ryt-primary-nav { display:none; grid-column:1 / -1; grid-row:2; justify-self:stretch; margin-top:2px; padding:8px 0 16px; border-top:1px solid var(--ryt-border); }
  .ryt-site-header.nav-open .ryt-primary-nav { display:block; }
  .ryt-site-header.nav-open { background:rgba(255,255,255,.98); box-shadow:var(--ryt-shadow); backdrop-filter:blur(14px); -webkit-backdrop-filter:blur(14px); }
  .ryt-menu { display:block; max-height:calc(100dvh - 86px); overflow:auto; overscroll-behavior:contain; }
  .ryt-menu > li { display:grid; grid-template-columns:1fr auto; border-top:1px solid var(--ryt-border); }
  .ryt-menu > li:first-child { border-top:0; }
  .ryt-menu > li > a { min-height:50px; padding:9px 6px; font-size:.98rem; }
  .ryt-menu > li > a::after { display:none; }
  .ryt-submenu-toggle { margin:0; width:48px; height:50px; }
  .ryt-menu .sub-menu { position:static; grid-column:1 / -1; display:none; min-width:0; padding:2px 0 10px 14px; border:0; box-shadow:none; opacity:1; visibility:visible; transform:none; background:transparent; }
  .ryt-menu .submenu-open > .sub-menu { display:block; }
  .ryt-menu li:hover > .sub-menu:not(.submenu-open > .sub-menu) { display:none; }
  .ryt-menu .sub-menu a { padding:10px 12px; border-radius:8px; }
  .ryt-card-grid { gap:20px; }
  .ryt-footer-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .post-navigation .nav-links { grid-template-columns:1fr; }
}

@media (max-width: 544px) {
  h1 { font-size:30px; }
  h2 { font-size:20px; }
  h3 { font-size:18px; }
  /* Gutenberg font-size utility classes keep their own responsive sizing. */
}

@media (max-width: 680px) {
  body { font-size:14.5px; }
  .ryt-entry-content .wp-block-media-text.is-stacked-on-mobile .wp-block-media-text__content,
  .ryt-entry-content .wp-block-media-text.has-media-on-the-right.is-stacked-on-mobile .wp-block-media-text__content { padding:8% 0 0; }
  .ryt-content-width { width:min(calc(100% - 30px),var(--ryt-content)); }
  .ryt-page-header,
  .ryt-entry-content > *:not(.alignfull) { width:min(calc(100% - 30px),var(--ryt-content)); }
  .ryt-header-inner { width:calc(100% - 30px); }
  .ryt-brand__logo { width:54px; height:54px; }
  .ryt-card-grid { grid-template-columns:1fr; }
  .ryt-footer-inner,.ryt-footer-bottom__inner { width:calc(100% - 30px); }
  .ryt-footer-inner { padding-top:50px; }
  .ryt-footer-grid { grid-template-columns:1fr; gap:24px; }
  .ryt-single { padding-block:44px 60px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior:auto; }
  *,*::before,*::after { animation-duration:.01ms !important; animation-iteration-count:1 !important; transition-duration:.01ms !important; scroll-behavior:auto !important; }
}
/* Logged-in admin bar: keep the sticky/fixed header below it */
.admin-bar .ryt-site-header,
.admin-bar.ryt-transparent-header .ryt-site-header.is-scrolled { top:32px; }
@media (max-width: 782px) {
  .admin-bar .ryt-site-header,
  .admin-bar.ryt-transparent-header .ryt-site-header.is-scrolled { top:46px; }
}
@media (max-width: 600px) {
  .admin-bar .ryt-site-header { top:0; }
  .admin-bar.ryt-transparent-header .ryt-site-header:not(.is-scrolled) { top:46px; }
}
@media (max-width: 380px) {
  .ryt-header-cta { padding:8px 10px; letter-spacing:0; }
}

/* Comments */
.ryt-comments { max-width: var(--ryt-reading); margin: 48px auto 0; padding: 0 15px; }
.ryt-comments__title { font-size: 25px; margin-bottom: 24px; }
.ryt-comment-list { list-style: none; margin: 0; padding: 0; }
.ryt-comment-list .comment-body { padding: 20px 0; border-top: 1px solid var(--ryt-border); }
.ryt-comment-list .bypostauthor > .comment-body { padding-left:16px; border-left:3px solid var(--ryt-accent-strong); }
.ryt-comment-list ol.children { list-style: none; margin: 0 0 0 32px; padding: 0; }
.ryt-comment-form { margin-top: 32px; }
.ryt-comment-form p { margin: 0 0 14px; }
.ryt-comment-form label { display: block; font-weight: 600; margin-bottom: 6px; }
.ryt-comment-form input[type="text"],
.ryt-comment-form input[type="email"],
.ryt-comment-form input[type="url"],
.ryt-comment-form textarea {
  width: 100%; padding: 10px 14px; border: 1px solid var(--ryt-border);
  border-radius: var(--ryt-radius-sm); font-family: inherit; font-size: 15px;
}
.ryt-comment-form input:focus,
.ryt-comment-form textarea:focus { outline: 2px solid var(--ryt-accent-strong); outline-offset: 2px; }
.ryt-comments__closed { color: var(--ryt-text); }

/* Search form */
.ryt-search-form { display: flex; align-items: center; gap: 8px; max-width: 420px; }
.ryt-search-form__field {
  flex: 1; padding: 10px 14px; border: 1px solid var(--ryt-border);
  border-radius: var(--ryt-radius-sm); font-family: inherit; font-size: 15px;
}
.ryt-search-form__field:focus { outline: 2px solid var(--ryt-accent-strong); outline-offset: 2px; }
.ryt-search-form__submit {
  display:inline-flex; align-items:center; justify-content:center;
  width:40px; height:40px; min-height:40px; padding:0; border:0; border-radius:var(--ryt-radius-sm);
  background:var(--ryt-accent-strong); color:#fff; cursor:pointer;
}
.ryt-search-form__submit svg { fill: currentColor; }
.ryt-search-form__submit:hover { background: var(--ryt-accent-strong); }

@media (max-width: 680px) {
  .ryt-comment-list ol.children { margin-left:16px; }
  .ryt-comments { padding-inline:0; }
}

/* 0.2.5 — entry meta, author box, footer bottom links (only render when enabled/assigned). */
.ryt-entry-meta a { color:inherit; font-weight:600; text-decoration:none; }
.ryt-entry-meta a:hover { color:var(--ryt-accent-strong); text-decoration:underline; }
.ryt-author-box { display:flex; gap:20px; align-items:flex-start; margin-top:48px; padding:24px; border:1px solid var(--ryt-border); border-radius:var(--ryt-radius-lg); background:var(--ryt-surface-alt); }
.ryt-author-box__avatar { flex:none; width:72px; height:72px; border-radius:50%; }
.ryt-author-box__label { margin:0 0 2px; color:#687078; font-size:.78rem; font-weight:600; letter-spacing:.04em; text-transform:uppercase; }
.ryt-author-box__name { margin:0 0 8px; color:var(--ryt-ink); font-size:1.1rem; font-weight:700; }
.ryt-author-box__name a { color:inherit; text-decoration:none; }
.ryt-author-box__name a:hover { color:var(--ryt-accent-strong); }
.ryt-author-box__bio p { margin:0 0 .6em; }
.ryt-author-box__bio p:last-child { margin-bottom:0; }
.ryt-footer-bottom__inner.has-menu { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:8px 24px; }
.ryt-footer-bottom-menu { display:flex; flex-wrap:wrap; gap:6px 20px; margin:0; padding:0; list-style:none; font-size:.88rem; }
.ryt-footer-bottom-menu a { color:#697077; text-decoration:none; }
.ryt-footer-bottom-menu a:hover { color:var(--ryt-accent-strong); text-decoration:underline; }
@media (max-width: 544px) {
  .ryt-author-box { flex-direction:column; gap:14px; }
}

/* Canvas template: the page supplies its own design. */
.ryt-canvas-main { display:block; }
