/*
Theme Name: Ridfinder
Theme URI: https://ridfinder.com
Description: De-AI engineering design system for ridfinder.com — IBM Plex trio (Sans/Serif/Mono), paper/ink/accent palette, single warm accent, 2px radii, zero shadows. Child of Twenty Twenty-Five.
Author: Ridfinder
Template: twentytwentyfive
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: ridfinder
*/

/* Root-level rhythm: kill block-gap strips around full-bleed bands */
.wp-site-blocks > main,
.wp-site-blocks > footer { margin-top: 0 !important; }
.wp-site-blocks > footer { margin-bottom: 0 !important; }

/* Full-bleed bands stack flush — vertical rhythm comes from section padding */
.entry-content > .wp-block-group.alignfull { margin-top: 0 !important; margin-bottom: 0 !important; }

/* Full-width bands: let inner content use the wide column on big screens */
.entry-content > .wp-block-group.alignfull.is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)) {
  max-width: var(--wp--style--global--wide-size, 1360px) !important;
}

/* Breadcrumbs */
.rf-bc { border-bottom: 1px solid var(--wp--preset--color--rule, #D9E4F2); }
.rf-bc-inner { max-width: var(--wp--style--global--wide-size, 1360px); margin: 0 auto; padding: 14px 20px; font-family: var(--wp--preset--font-family--plex-mono, monospace); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--wp--preset--color--stamp, #58769A); }
.rf-bc-inner a { color: var(--wp--preset--color--stamp, #58769A); text-decoration: none; }
.rf-bc-inner a:hover { color: var(--wp--preset--color--accent, #146EF5); }
.rf-bc-inner .breadcrumb_last { color: var(--wp--preset--color--ink, #14263A); }

/* Dark mat frame for tinted section panels (deep-navy frame on all four sides) */
.entry-content > .wp-block-group.alignfull.rf-frame {
  margin: 28px 24px !important;
  border: 2px solid var(--wp--preset--color--navy, #0B2440) !important;
  border-radius: 2px;
}

/* Language switcher */
.rf-langs { font-family: var(--wp--preset--font-family--plex-mono, monospace); font-size: 13px; letter-spacing: 0.12em; }
.rf-langs .rf-lang { text-decoration: none; margin-right: 12px; color: inherit; opacity: .72; }
.rf-langs .rf-lang.rf-lang-on { opacity: 1; font-weight: 600; text-decoration: underline; }
