/*
Theme Name: Rubah
Theme URI: https://bisabaca.com/blog/
Author: LumoraLabs / BisaBaca
Author URI: https://bisabaca.com/
Description: Tema WordPress mandiri yang ringan dan minimal untuk Blog BisaBaca. Mengutamakan navigasi kategori, pencarian, dan pengalaman membaca yang nyaman.
Version: 1.0.58
Requires at least: 6.6
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: rubah
Tags: blog, custom-logo, editor-style, featured-images, full-site-editing, one-column, two-columns, wide-blocks
*/

/* Rubah — BisaBaca Blog Theme
 * Minimal, responsive, accessible-first. Google Sans Flex is the primary family for all text; Nunito Sans is the fallback.
 * v1.0.11: Google Sans typography applied globally across public theme and reading UI.
 * v1.0.12: Single-post typography compacted for a calmer reading rhythm.
 * v1.0.14: Single Post two-column layout, image-before-title, and related articles sidebar.
 * v1.0.17: Full Colour Blob hero spans the content column only; sidebar remains unaffected.
 * v1.0.18: Reuse canonical BisaBaca Full Colour Blob gradients and organic shape treatment.
 * v1.0.19: Align topbar breadcrumb, white hero typography, capsule categories, related posts by shared taxonomy, share toolbar, and darker sidebar text.
 * v1.0.20: Remove native-share status copy, tint the share panel, and remove yellow tint from the light page-body background.
 * v1.0.21: Reduce homepage blob title weight, vertically center non-single breadcrumb, and remove email sharing option.
 * v1.0.22: Capitalize homepage hero title, limit homepage latest articles to five, and link Kategori navigation to /blog/topik/.
 * v1.0.23: Rank related posts by shared categories/tags, add load-more batches of ten, fix category hover contrast, and use the official sidebar logo URL.
 * v1.0.25: Center and shrink the sidebar logo, blend dark topbar into the page background, improve dark search-field contrast, and remove the sidebar eyebrow label.
 * v1.0.27: Add an automatic responsive topic index for the empty Topik page, soften the light sidebar shadow, and unify category dropdown styling.
 * v1.0.28: Strengthen the light sidebar shadow to the right, replace the main category select with a smooth accessible custom dropdown, and hide the homepage breadcrumb entirely.
 * v1.0.29: Ensure the sidebar shadow layers above the topbar, while making its desktop light-mode shadow slightly slimmer and more transparent.
 * v1.0.30: Replace the Single Post share panel's brown Dark Mode gradient with a neutral dark-gray surface matching the theme palette.
 * v1.0.34: Remove the static account/login icon from the Blog header; keep search and Light/Dark Mode controls.
 * v1.0.35: Place the search input before the magnifying-glass submit button so the icon sits at the right end of the field.
 * v1.0.36: Use one category-to-color mapping across sidebar topics, topic index icons, post-grid badges, single-post category badges, breadcrumbs, and related articles.
 * v1.0.37: Enlarge sidebar topic labels, slightly reduce related-article titles, and add filled capsule backgrounds to single-post tags.
 * v1.0.38: Keep sidebar category hover/current text dark and legible, center the full sidebar logo independently of the close button, and refine category-label weight/size.
 * v1.0.39: Reduce the sidebar brand-row bottom gap to 5px across desktop and mobile drawer overrides.
 * v1.0.40: Center pagination controls and enlarge them into fully rounded capsule-style buttons with clearer spacing and responsive sizing.
 * v1.0.41: Correct the pagination block layout metadata and explicitly override space-between alignment so the entire capsule group stays centered.
 * v1.0.42: Optimize the theme preview screenshot as a 500px-wide WebP image while preserving its original aspect ratio.
 * v1.0.43: Replace the theme preview with the smaller user-selected WebP asset.
 * v1.0.44: Load only the sidebar Latest Posts thumbnails eagerly and decode them synchronously to reduce delayed thumbnail appearance during single-post navigation.
 * v1.0.45: Remove unsupported aria-valuetext from the category combobox, announce its current choice in the accessible name, and prioritize only the first post featured image as the likely LCP resource.
 * v1.0.46: Apply LCP loading hints directly inside the core/post-featured-image block output so custom placeholder images no longer remain loading=lazy.
 * v1.0.47: Improve text and control contrast for the search field and category badges without changing category background colors.
 * v1.0.48: Set responsive sizes on featured images inside the main post grid to match the theme breakpoints and avoid over-requesting large thumbnails.
 * v1.0.49: Correct the tablet sizes hint to match the active two-column grid from 720px through 1279px; preserve mobile and wide-desktop rules.
 * v1.0.50: Style the Single Post related-articles panel scrollbar as a slim, subtle gray thumb contained within the card, with light/dark and hover states.
 * v1.0.51: Soften the Single Post related-articles scrollbar with a translucent gray capsule, quieter Firefox colors, and a restrained warm hover/active tint; scope remains limited to the related panel.
 * v1.0.56: Preserve the approved BisaBaca homepage brand headline and supporting copy while retaining v1.0.55 tap-highlight/anti-selection behavior.
 * v1.0.58: Prevent accidental text selection on the homepage/front-page surface while preserving selectable form controls and code samples.
 * v1.0.55: Remove tap highlight and accidental text selection from the Single Post reading UI/content and related panel, while preserving selectable form fields and code blocks.
 */
:root {
  color-scheme: light;
  --rubah-orange: #ff6d00;
  --rubah-orange-deep: #f4511e;
  --rubah-orange-soft: #fff0e5;
  --rubah-navy: #28384d;
  --rubah-ink: #202124;
  --rubah-muted: #5f6368;
  --rubah-muted-strong: #68707b;
  --rubah-border: #e5e7eb;
  --rubah-surface: #f8f9fa;
  --rubah-white: #ffffff;
  --rubah-page-bg: #ffffff;
  --rubah-card: #ffffff;
  --rubah-input-bg: #ffffff;
  --rubah-input-border: #dadce0;
  --rubah-sidebar-link: #41464d;
  --rubah-hover-text: #a84300;
  --rubah-post-link: #b84800;
  --rubah-code-bg: #f3f4f6;
  --rubah-empty-bg: #fcfcfd;
  --rubah-radius-sm: 8px;
  --rubah-radius-md: 14px;
  --rubah-radius-lg: 20px;
  --rubah-shadow: 0 8px 28px rgba(32, 33, 36, 0.08);
  --rubah-content-max: 1360px;
  --rubah-reading-max: 76ch;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body {
  margin: 0;
  background: var(--rubah-page-bg);
  color: var(--rubah-ink);
  font-family: "Google Sans Flex", "Google Sans", "Nunito Sans", sans-serif;
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, video, iframe { max-width: 100%; }
img { height: auto; }
a { color: var(--rubah-navy); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--rubah-orange-deep); }
button, input, textarea, select { font: inherit; }
button, input[type="submit"], input[type="button"] { cursor: pointer; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 3px solid rgba(255, 109, 0, 0.55);
  outline-offset: 3px;
}

/* Accessibility */
.rubah-skip-link {
  position: absolute;
  z-index: 2000;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  border-radius: var(--rubah-radius-sm);
  background: var(--rubah-navy);
  color: #fff;
  transform: translateY(-160%);
}
.rubah-skip-link:focus { transform: translateY(0); color: #fff; }
.rubah-sr-only, .screen-reader-text {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* Header */
.rubah-header {
  position: relative;
  z-index: 20;
  background: var(--rubah-card);
  border-bottom: 1px solid var(--rubah-border);
}
.rubah-header__inner {
  width: 100%;
  max-width: none;
  min-height: 78px;
  margin-inline: 0;
  padding-inline: clamp(20px, 2.5vw, 40px);
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 42px);
}
.rubah-header__brand-controls { display: flex; align-items: center; gap: 12px; min-width: 0; }
.rubah-brand { display: flex; align-items: center; gap: 11px; min-width: 0; }
.rubah-brand .wp-block-site-logo { flex: 0 0 auto; margin: 0; }
.rubah-brand .custom-logo { display: block; width: auto; max-width: 44px; max-height: 44px; object-fit: contain; }
.rubah-brand .wp-block-site-title { margin: 0; font-size: clamp(19px, 2vw, 23px); line-height: 1.25; font-weight: 750; letter-spacing: -0.035em; }
.rubah-brand .wp-block-site-title a { color: var(--rubah-navy); text-decoration: none; }
.rubah-brand .wp-block-site-title a:hover { color: var(--rubah-orange-deep); }
.rubah-header__actions { display: flex; align-items: center; gap: 10px; width: min(100%, 490px); min-width: 0; margin-left: auto; }
.rubah-header__search { width: min(100%, 430px); min-width: 0; flex: 1 1 auto; margin: 0 !important; }
.rubah-header__search .wp-block-search__inside-wrapper { min-height: 44px; border: 1px solid var(--rubah-input-border); border-radius: 999px; padding: 3px 4px 3px 16px; background: var(--rubah-input-bg); }
.rubah-header__search .wp-block-search__input { min-width: 0; border: 0; background: transparent; padding: 8px 4px; font-size: 14px; color: var(--rubah-ink); box-shadow: none; outline-offset: 0; }
.rubah-header__search .wp-block-search__input:focus { outline: none; }
.rubah-header__search .wp-block-search__button { display: inline-flex; align-items: center; justify-content: center; min-width: 36px; min-height: 36px; margin: 0; padding: 7px; border: 0; border-radius: 999px; background: var(--rubah-orange); color: #fff; }
.rubah-header__search .wp-block-search__button:hover { background: var(--rubah-orange-deep); }
.rubah-theme-toggle {
  display: inline-flex;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid var(--rubah-border);
  border-radius: 12px;
  background: var(--rubah-input-bg);
  color: var(--rubah-navy);
  transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}
.rubah-theme-toggle:hover { border-color: #f2bf9c; background: var(--rubah-orange-soft); color: var(--rubah-hover-text); }
.rubah-theme-toggle svg { display: block; width: 20px; height: 20px; }
.rubah-theme-toggle__sun { display: none !important; }
:root[data-rubah-theme="dark"] .rubah-theme-toggle__moon { display: none !important; }
:root[data-rubah-theme="dark"] .rubah-theme-toggle__sun { display: block !important; }
.rubah-menu-toggle, .rubah-sidebar-close, .rubah-drawer-overlay { display: none; }

/* Sticky footer: short pages fill the viewport without fixing/overlaying the footer. */
body.rubah-theme > .wp-site-blocks {
  display: flex;
  min-height: 100vh;
  min-height: 100dvh;
  flex-direction: column;
}
body.rubah-theme > .wp-site-blocks > .rubah-layout { flex: 1 0 auto; }
body.rubah-theme > .wp-site-blocks > .wp-block-template-part:has(.rubah-layout) { flex: 1 0 auto; }
body.rubah-theme > .wp-site-blocks > .wp-block-template-part:has(.rubah-footer) { flex: 0 0 auto; margin-top: auto; }
body.rubah-theme .rubah-footer { margin-top: auto; flex-shrink: 0; }
body.admin-bar.rubah-theme > .wp-site-blocks { min-height: calc(100vh - 32px); min-height: calc(100dvh - 32px); }

/* Main two-column shell */
.rubah-layout {
  width: 100%;
  max-width: none;
  min-height: 0;
  margin-inline: 0;
  display: grid;
  grid-template-columns: clamp(220px, 20vw, 288px) minmax(0, 1fr);
  gap: 0;
  align-items: stretch;
}
.rubah-sidebar {
  display: block;
  min-width: 0;
  padding: 32px 20px 40px clamp(20px, 2.2vw, 32px);
  border-right: 1px solid var(--rubah-border);
  background: var(--rubah-card);
}
.rubah-sidebar__inner { position: sticky; top: 24px; }
.rubah-sidebar__eyebrow { margin: 0 0 4px !important; color: var(--rubah-orange-deep); font-size: 11px; font-weight: 800; letter-spacing: .13em; line-height: 1.5; }
.rubah-sidebar-heading { margin: 0 0 24px !important; color: var(--rubah-navy); font-size: 23px; line-height: 1.3; letter-spacing: -.025em; }
.rubah-sidebar__section { margin-top: 28px; }
.rubah-sidebar__section > .wp-block-heading { margin: 0 0 10px; color: var(--rubah-muted-strong); font-size: 11px; text-transform: uppercase; letter-spacing: .11em; font-weight: 800; }
.rubah-sidebar .wp-block-categories,
.rubah-sidebar .wp-block-page-list,
.rubah-sidebar .wp-block-latest-posts, .rubah-sidebar .wp-block-latest-posts__list { margin: 0; padding: 0; list-style: none; }
.rubah-sidebar .wp-block-categories ul,
.rubah-sidebar .wp-block-page-list ul { margin: 4px 0 0 12px; padding: 0; list-style: none; }
.rubah-sidebar .wp-block-categories li,
.rubah-sidebar .wp-block-page-list li,
.rubah-sidebar .wp-block-latest-posts li, .rubah-sidebar .wp-block-latest-posts__list li { margin: 2px 0; padding: 0; list-style: none; }
.rubah-sidebar .wp-block-categories a,
.rubah-sidebar .wp-block-page-list a,
.rubah-sidebar .wp-block-latest-posts a, .rubah-sidebar .wp-block-latest-posts__list a {
  display: block;
  padding: 7px 10px;
  border-radius: 7px;
  color: var(--rubah-sidebar-link);
  font-size: 14px;
  line-height: 1.5;
  text-decoration: none;
  overflow-wrap: anywhere;
}
.rubah-sidebar .wp-block-categories a:hover,
.rubah-sidebar .wp-block-page-list a:hover,
.rubah-sidebar .wp-block-latest-posts a:hover { background: var(--rubah-orange-soft); color: #a84300; }
.rubah-sidebar .wp-block-latest-posts__post-date { display: none !important; }
.rubah-sidebar .wp-block-latest-posts__post-excerpt { padding: 0 10px 8px; color: var(--rubah-muted); font-size: 13px; }
.rubah-main { min-width: 0; padding: clamp(28px, 4vw, 52px) clamp(24px, 3vw, 48px) 64px; }
.rubah-main > * { max-width: 100%; }
.rubah-page-eyebrow, .rubah-archive-eyebrow { margin: 0 0 8px; color: var(--rubah-orange-deep); font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.rubah-page-intro { margin-bottom: clamp(24px, 4vw, 42px); }
.rubah-page-intro h1 { max-width: 22ch; margin: 0 0 14px; color: var(--rubah-navy); font-size: clamp(32px, 4.2vw, 48px); line-height: 1.13; letter-spacing: -.045em; }
.rubah-page-intro p:not(.rubah-page-eyebrow) { max-width: 70ch; margin-top: 0; color: var(--rubah-muted); font-size: 17px; }
.rubah-section-heading { margin: 28px 0 16px; color: var(--rubah-navy); font-size: 23px; line-height: 1.35; letter-spacing: -.025em; }
.rubah-archive-heading { max-width: 26ch; margin: 0 0 10px; font-size: clamp(28px, 3.4vw, 38px); line-height: 1.2; letter-spacing: -.035em; color: var(--rubah-navy); }
.rubah-archive-description { margin-bottom: 28px; color: var(--rubah-muted); }

/* Query loop / post cards */
.wp-block-query { min-width: 0; }
.wp-block-post-template { margin: 0; padding: 0; list-style: none; }
.rubah-post-grid { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.rubah-post-card { height: 100%; min-width: 0; overflow: hidden; border: 1px solid var(--rubah-border); border-radius: var(--rubah-radius-md); background: var(--rubah-card); transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease; }
.rubah-post-card:hover { border-color: #d2d6dc; box-shadow: 0 8px 24px rgba(32,33,36,.06); transform: translateY(-2px); }
.rubah-post-card__body { padding: 17px 18px 20px; }
.rubah-post-card .wp-block-post-featured-image { margin: 0; overflow: hidden; background: var(--rubah-surface); aspect-ratio: 16 / 9; }
.rubah-post-card .wp-block-post-featured-image a { display: block; width: 100%; height: 100%; }
.rubah-post-card .wp-block-post-featured-image img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.rubah-post-card:hover .wp-block-post-featured-image img { transform: scale(1.025); }
.rubah-post-card .wp-block-post-terms { margin: 0 0 7px; color: var(--rubah-orange-deep); font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.rubah-post-card .wp-block-post-terms a { color: var(--rubah-orange-deep); text-decoration: none; }
.rubah-post-card .wp-block-post-title { margin: 0 0 9px; font-size: 20px; line-height: 1.36; letter-spacing: -.02em; }
.rubah-post-card .wp-block-post-title a { color: var(--rubah-navy); text-decoration: none; }
.rubah-post-card .wp-block-post-title a:hover { color: var(--rubah-orange-deep); }
.rubah-post-card .wp-block-post-date { margin: 0 0 8px; color: var(--rubah-muted); font-size: 12px; }
.rubah-post-card .wp-block-post-excerpt { margin: 0; color: var(--rubah-muted); font-size: 14px; line-height: 1.65; }
.rubah-post-card .wp-block-post-excerpt__more-text { margin-top: 10px; }
.rubah-post-card .wp-block-post-excerpt__more-link { color: var(--rubah-orange-deep); font-weight: 700; font-size: 13px; text-decoration: none; }
.rubah-query-empty { padding: 26px; border: 1px dashed #d7dbe0; border-radius: var(--rubah-radius-md); background: var(--rubah-empty-bg); color: var(--rubah-muted); }
.rubah-query-empty h2 { margin-top: 0; color: var(--rubah-navy); }
.wp-block-query-pagination { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-top: 32px; }
.wp-block-query-pagination a, .wp-block-query-pagination-numbers .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 38px; min-height: 38px; padding: 7px 12px; border: 1px solid var(--rubah-border); border-radius: 9px; text-decoration: none; font-size: 14px; }
.wp-block-query-pagination a:hover, .wp-block-query-pagination-numbers .current { border-color: var(--rubah-orange); background: var(--rubah-orange-soft); color: var(--rubah-hover-text); }

/* Single post and pages */
.rubah-single-header { margin-bottom: 26px; }
.rubah-single-header .wp-block-post-terms { margin: 0 0 10px; color: var(--rubah-orange-deep); font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.rubah-single-header .wp-block-post-terms a { color: var(--rubah-orange-deep); text-decoration: none; }
.rubah-single-title, .rubah-page-title { margin: 0 0 16px; color: var(--rubah-navy); font-size: clamp(32px, 4.5vw, 52px); line-height: 1.12; letter-spacing: -.045em; overflow-wrap: anywhere; }
.rubah-post-meta { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; margin: 0; color: var(--rubah-muted); font-size: 13px; }
.rubah-post-meta .wp-block-post-author-name a { color: var(--rubah-muted); }
.rubah-single-featured { margin: 0 0 34px; overflow: hidden; border-radius: var(--rubah-radius-md); background: var(--rubah-surface); }
.rubah-single-featured img { display: block; width: 100%; max-height: 620px; object-fit: cover; }
.rubah-post-content { font-size: 17px; line-height: 1.85; overflow-wrap: anywhere; }
.rubah-post-content > * { max-width: var(--rubah-reading-max); margin-inline: auto; }
.rubah-post-content > .alignwide, .rubah-post-content > .alignfull,
.rubah-post-content > .wp-block-image.alignwide, .rubah-post-content > .wp-block-image.alignfull,
.rubah-post-content > .wp-block-gallery.alignwide, .rubah-post-content > .wp-block-gallery.alignfull,
.rubah-post-content > .wp-block-embed.alignwide, .rubah-post-content > .wp-block-embed.alignfull { max-width: 100%; }
.rubah-post-content > .wp-block-image img { border-radius: 8px; }
.rubah-post-content h2 { margin-top: 1.8em; margin-bottom: .65em; color: var(--rubah-navy); font-size: clamp(25px, 3vw, 32px); line-height: 1.28; letter-spacing: -.025em; }
.rubah-post-content h3 { margin-top: 1.6em; margin-bottom: .55em; color: var(--rubah-navy); font-size: clamp(21px, 2.4vw, 25px); line-height: 1.35; }
.rubah-post-content p { margin-top: 0; margin-bottom: 1.25em; }
.rubah-post-content a { color: var(--rubah-post-link); }
.rubah-post-content blockquote { margin: 1.5em auto; padding: 8px 0 8px 20px; border-left: 4px solid var(--rubah-orange); color: var(--rubah-muted); }
.rubah-post-content pre { max-width: 100%; overflow: auto; padding: 18px; border-radius: 10px; background: var(--rubah-code-bg); color: var(--rubah-ink); font-size: 14px; }
.rubah-post-content table { width: 100%; border-collapse: collapse; font-size: .94em; }
.rubah-post-content th, .rubah-post-content td { padding: 10px 12px; border: 1px solid var(--rubah-border); text-align: left; }
.rubah-post-content th { background: var(--rubah-surface); }
.rubah-post-tags { max-width: var(--rubah-reading-max); margin: 34px auto 0; padding-top: 20px; border-top: 1px solid var(--rubah-border); font-size: 13px; color: var(--rubah-muted); }
.rubah-post-tags a { display: inline-block; margin: 4px 4px 0 0; padding: 4px 9px; border: 1px solid var(--rubah-border); border-radius: 999px; text-decoration: none; }
.rubah-post-navigation { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 40px 0 0; padding-top: 24px; border-top: 1px solid var(--rubah-border); }
.rubah-post-navigation a { color: var(--rubah-navy); font-weight: 700; text-decoration: none; }
.rubah-post-navigation a:hover { color: var(--rubah-orange-deep); }
.rubah-page-content { font-size: 16px; line-height: 1.8; }
.rubah-page-content > * { max-width: var(--rubah-reading-max); margin-inline: auto; }
.rubah-page-content > .alignwide, .rubah-page-content > .alignfull { max-width: 100%; }
.wp-block-separator { border-color: var(--rubah-border); }

/* Search and 404 */
.rubah-search-intro { margin-bottom: 28px; }
.rubah-search-intro h1 { color: var(--rubah-navy); font-size: clamp(28px, 3.5vw, 40px); line-height: 1.2; }
.rubah-404 { max-width: 720px; margin: 4vh auto; text-align: center; }
.rubah-404__code { margin: 0; color: var(--rubah-orange); font-size: 12px; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
.rubah-404 h1 { color: var(--rubah-navy); font-size: clamp(36px, 5vw, 56px); line-height: 1.1; }
.rubah-404 p { color: var(--rubah-muted); }
.rubah-404 .wp-block-search { max-width: 480px; margin: 24px auto; }

/* Footer */
.rubah-footer {
  border-top: 1px solid var(--rubah-border);
  background: var(--rubah-card);
}
.rubah-footer__inner {
  width: 100%;
  max-width: none;
  min-height: 86px;
  margin-inline: 0;
  padding: 20px clamp(20px, 2.5vw, 40px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding-block: 20px;
}
.rubah-footer__brand { margin: 0; color: var(--rubah-navy); font-size: 14px; font-weight: 750; }
.rubah-footer__brand-row { display: flex; align-items: center; gap: 6px; }
.rubah-footer__brand-row .wp-block-site-title { margin: 0; color: var(--rubah-navy); font-size: 14px; font-weight: 750; }
.rubah-footer__brand-row .wp-block-site-title a { color: inherit; text-decoration: none; }
.rubah-footer__blog-label { margin: 0; color: var(--rubah-muted); font-size: 13px; }
.rubah-footer__copy { margin: 0; color: var(--rubah-muted); font-size: 12px; }
.rubah-footer a { color: inherit; text-decoration: none; }
.rubah-footer a:hover { color: var(--rubah-orange-deep); }

/* Core blocks and editor compatibility */
.wp-block-button__link { border-radius: 999px; background: var(--rubah-orange); color: #fff; font-weight: 700; padding: 12px 22px; }
.wp-block-button__link:hover { background: var(--rubah-orange-deep); color: #fff; }
.wp-block-file a.wp-block-file__button { border-radius: 999px; background: var(--rubah-orange); color: #fff; }
.wp-block-quote { border-color: var(--rubah-orange); }
.wp-block-table { overflow-x: auto; }
.wp-block-table table { border-collapse: collapse; }
.wp-block-table th, .wp-block-table td { border: 1px solid var(--rubah-border); padding: 10px 12px; }
.wp-block-embed iframe { max-width: 100%; }
.wp-block-image figcaption, .wp-block-gallery.has-nested-images figure.wp-block-image figcaption { color: var(--rubah-muted); font-size: 13px; }

@media (max-width: 1050px) {
  .rubah-layout { grid-template-columns: 220px minmax(0, 1fr); gap: 0; }
  .rubah-sidebar { padding-right: 18px; padding-left: 20px; }
  .rubah-main { padding-right: clamp(20px, 3vw, 32px); padding-left: clamp(20px, 3vw, 32px); }
  .rubah-post-grid { gap: 16px; }
  .rubah-post-card__body { padding: 15px; }
}

/* Tablet: keep the sidebar docked; switch article cards to a readable horizontal row. */
@media (min-width: 720px) and (max-width: 980px) {
  .rubah-post-grid { grid-template-columns: minmax(0, 1fr); }
  .rubah-post-card { display: grid; grid-template-columns: minmax(170px, 34%) minmax(0, 1fr); align-items: stretch; }
  .rubah-post-card .wp-block-post-featured-image { aspect-ratio: auto; min-height: 100%; }
  .rubah-post-card .wp-block-post-featured-image a { height: 100%; }
  .rubah-post-card__body { padding: 17px; }
}

@media (max-width: 719px) {
  html { scroll-padding-top: 12px; }
  .rubah-header__inner { width: 100%; max-width: none; min-height: 70px; margin: 0; flex-wrap: wrap; gap: 10px; padding: 12px 16px; }
  .rubah-header__brand-controls { width: 100%; justify-content: space-between; }
  .rubah-header__actions { order: 2; width: 100%; max-width: none; gap: 8px; }
  .rubah-brand .custom-logo { max-width: 38px; max-height: 38px; }
  .rubah-brand .wp-block-site-title { font-size: 20px; }
  .rubah-header__search { width: auto; min-width: 0; max-width: none; order: 0; }
  .rubah-header__search .wp-block-search__inside-wrapper { min-height: 42px; }
  .rubah-theme-toggle { flex-basis: 42px; width: 42px; height: 42px; border-radius: 11px; }
  .rubah-menu-toggle {
    display: inline-flex;
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--rubah-border);
    border-radius: 11px;
    background: var(--rubah-input-bg);
    color: var(--rubah-navy);
  }
  .rubah-menu-toggle:hover { border-color: #f2bf9c; background: var(--rubah-orange-soft); color: #a84300; }
  .rubah-menu-toggle svg, .rubah-sidebar-close svg { width: 21px; height: 21px; display: block; }
  .rubah-layout { width: 100%; max-width: none; margin: 0; display: block; min-height: 55vh; }
  .rubah-sidebar {
    position: fixed;
    z-index: 1002;
    top: 0;
    bottom: 0;
    left: 0;
    width: min(88vw, 340px);
    min-height: 0;
    height: 100vh;
    height: 100dvh;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 26px 22px 40px;
    border: 0;
    box-shadow: 14px 0 44px rgba(19, 32, 48, .12);
    transform: translateX(-105%);
    visibility: hidden;
    transition: transform .24s ease, visibility .24s ease;
    will-change: transform;
  }
  body.rubah-menu-open .rubah-sidebar { transform: translateX(0); visibility: visible; }
  .rubah-sidebar__inner { position: static; }
  .rubah-sidebar-close {
    display: inline-flex;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    float: right;
    margin: -6px -6px 10px 10px;
    border: 1px solid var(--rubah-border);
    border-radius: 10px;
    background: var(--rubah-input-bg);
    color: var(--rubah-navy);
  }
  .rubah-sidebar__eyebrow { clear: both; padding-top: 10px; }
  .rubah-drawer-overlay {
    display: block;
    position: fixed;
    z-index: 1001;
    inset: 0;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: rgba(19, 31, 46, .42);
    opacity: 0;
    visibility: hidden;
    transition: opacity .24s ease, visibility .24s ease;
  }
  body.rubah-menu-open .rubah-drawer-overlay { opacity: 1; visibility: visible; }
  body.rubah-menu-open { overflow: hidden; }
  .rubah-main { padding: 30px 16px 48px; }
  .rubah-page-intro h1 { font-size: clamp(30px, 7vw, 42px); }
  .rubah-post-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .rubah-post-card { display: grid; grid-template-columns: minmax(100px, 34%) minmax(0, 1fr); align-items: stretch; }
  .rubah-post-card .wp-block-post-featured-image { aspect-ratio: auto; min-height: 100%; }
  .rubah-post-card .wp-block-post-featured-image a { height: 100%; }
  .rubah-post-card__body { padding: 14px; }
  .rubah-post-card .wp-block-post-title { font-size: 17px; }
  .rubah-post-card .wp-block-post-excerpt { font-size: 13px; }
  .rubah-post-card .wp-block-post-excerpt__more-text { display: none; }
  .rubah-post-card .wp-block-post-date { margin-bottom: 4px; }
  .rubah-single-title, .rubah-page-title { font-size: clamp(30px, 7vw, 42px); }
  .rubah-post-content { font-size: 16px; line-height: 1.8; }
  .rubah-post-navigation { grid-template-columns: minmax(0, 1fr); }
  .rubah-footer__inner { width: 100%; max-width: none; margin: 0; min-height: 0; align-items: flex-start; flex-direction: column; padding: 22px 16px; gap: 5px; }
}

@media (max-width: 430px) {
  .rubah-post-card { grid-template-columns: 104px minmax(0, 1fr); }
  .rubah-post-card__body { padding: 11px 12px; }
  .rubah-post-card .wp-block-post-title { font-size: 15px; }
  .rubah-post-card .wp-block-post-terms { font-size: 10px; }
  .rubah-post-card .wp-block-post-excerpt { font-size: 12px; line-height: 1.5; }
  .rubah-post-card .wp-block-post-excerpt__more-text { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}


/* Typography system: Google Sans Flex / Google Sans across all text; Nunito Sans is the fallback. */
.rubah-brand .wp-block-site-title,
.rubah-sidebar-heading,
.rubah-sidebar__section > .wp-block-heading,
.rubah-header__search .wp-block-search__button,
.rubah-theme-toggle,
.rubah-menu-toggle,
.rubah-sidebar-close,
.rubah-page-intro h1,
.rubah-section-heading,
.rubah-page-eyebrow,
.rubah-archive-eyebrow,
.rubah-archive-heading,
.rubah-post-card .wp-block-post-title,
.rubah-post-card .wp-block-post-terms,
.rubah-single-title,
.rubah-page-title,
.rubah-post-content h2,
.rubah-post-content h3,
.rubah-search-intro h1,
.rubah-404 h1,
.rubah-404__code,
.rubah-footer__brand-row .wp-block-site-title {
  font-family: "Google Sans Flex", "Google Sans", "Nunito Sans", sans-serif;
}

/* Theme colour tokens adapt globally while keeping BisaBaca orange as the action accent. */
:root[data-rubah-theme="dark"] {
  color-scheme: dark;
  --rubah-orange: #e76500;
  --rubah-orange-deep: #ffad72;
  --rubah-orange-soft: #3a281e;
  --rubah-navy: #e2eaf4;
  --rubah-ink: #e6eaf0;
  --rubah-muted: #b2bdcb;
  --rubah-muted-strong: #c0c9d5;
  --rubah-border: #35404e;
  --rubah-surface: #222b37;
  --rubah-white: #151b23;
  --rubah-page-bg: #121821;
  --rubah-card: #19212b;
  --rubah-input-bg: #19212b;
  --rubah-input-border: #414c5b;
  --rubah-sidebar-link: #d0d8e2;
  --rubah-hover-text: #ffc095;
  --rubah-post-link: #ffb27e;
  --rubah-code-bg: #202a37;
  --rubah-empty-bg: #1a232e;
  --rubah-shadow: 0 8px 28px rgba(0, 0, 0, 0.22);
}

:root[data-rubah-theme="dark"] body,
:root[data-rubah-theme="dark"] .wp-site-blocks {
  background: var(--rubah-page-bg);
  color: var(--rubah-ink);
}
:root[data-rubah-theme="dark"] .rubah-header,
:root[data-rubah-theme="dark"] .rubah-sidebar,
:root[data-rubah-theme="dark"] .rubah-footer,
:root[data-rubah-theme="dark"] .rubah-post-card,
:root[data-rubah-theme="dark"] .rubah-theme-toggle,
:root[data-rubah-theme="dark"] .rubah-menu-toggle,
:root[data-rubah-theme="dark"] .rubah-sidebar-close,
:root[data-rubah-theme="dark"] .rubah-header__search .wp-block-search__inside-wrapper {
  background-color: var(--rubah-card);
  color: var(--rubah-ink);
}
:root[data-rubah-theme="dark"] .rubah-header__search .wp-block-search__input,
:root[data-rubah-theme="dark"] input,
:root[data-rubah-theme="dark"] textarea,
:root[data-rubah-theme="dark"] select {
  color: var(--rubah-ink);
}
:root[data-rubah-theme="dark"] .rubah-header__search .wp-block-search__input::placeholder,
:root[data-rubah-theme="dark"] input::placeholder,
:root[data-rubah-theme="dark"] textarea::placeholder {
  color: var(--rubah-muted);
  opacity: 1;
}
:root[data-rubah-theme="dark"] .rubah-sidebar .wp-block-categories a:hover,
:root[data-rubah-theme="dark"] .rubah-sidebar .wp-block-page-list a:hover,
:root[data-rubah-theme="dark"] .rubah-sidebar .wp-block-latest-posts a:hover,
:root[data-rubah-theme="dark"] .rubah-menu-toggle:hover,
:root[data-rubah-theme="dark"] .rubah-theme-toggle:hover,
:root[data-rubah-theme="dark"] .rubah-sidebar-close:hover {
  background: var(--rubah-orange-soft);
  color: var(--rubah-hover-text);
}
:root[data-rubah-theme="dark"] .rubah-query-empty {
  border-color: var(--rubah-border);
  background: var(--rubah-empty-bg);
}
:root[data-rubah-theme="dark"] .rubah-post-card:hover {
  border-color: #596779;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .18);
}
:root[data-rubah-theme="dark"] .rubah-post-content blockquote {
  color: var(--rubah-ink);
}
:root[data-rubah-theme="dark"] .rubah-post-content pre {
  border: 1px solid var(--rubah-border);
}
:root[data-rubah-theme="dark"] .wp-block-table th,
:root[data-rubah-theme="dark"] .rubah-post-content th {
  background: var(--rubah-surface);
  color: var(--rubah-ink);
}
:root[data-rubah-theme="dark"] .wp-block-table td,
:root[data-rubah-theme="dark"] .rubah-post-content td {
  color: var(--rubah-ink);
}
:root[data-rubah-theme="dark"] .rubah-single-featured,
:root[data-rubah-theme="dark"] .rubah-post-card .wp-block-post-featured-image {
  background: var(--rubah-surface);
}
:root[data-rubah-theme="dark"] .wp-block-separator {
  border-color: var(--rubah-border);
}


:root[data-rubah-theme="dark"] h1,
:root[data-rubah-theme="dark"] h2,
:root[data-rubah-theme="dark"] h3,
:root[data-rubah-theme="dark"] h4,
:root[data-rubah-theme="dark"] h5,
:root[data-rubah-theme="dark"] h6,
:root[data-rubah-theme="dark"] .wp-block-heading {
  color: var(--rubah-navy);
}
:root[data-rubah-theme="dark"] .rubah-sidebar a,
:root[data-rubah-theme="dark"] .rubah-footer a,
:root[data-rubah-theme="dark"] .rubah-post-card .wp-block-post-title a,
:root[data-rubah-theme="dark"] .rubah-brand .wp-block-site-title a,
:root[data-rubah-theme="dark"] .rubah-post-navigation a {
  color: var(--rubah-sidebar-link);
}
:root[data-rubah-theme="dark"] .rubah-skip-link {
  background: #28384d;
  color: #ffffff;
}
:root[data-rubah-theme="dark"] .rubah-post-card .wp-block-post-terms a,
:root[data-rubah-theme="dark"] .rubah-single-header .wp-block-post-terms a,
:root[data-rubah-theme="dark"] .rubah-post-card .wp-block-post-excerpt__more-link {
  color: var(--rubah-orange-deep);
}
:root[data-rubah-theme="dark"] .wp-block-search__input {
  background-color: transparent;
}

@media (max-width: 719px) {
  body.admin-bar.rubah-theme > .wp-site-blocks { min-height: calc(100vh - 46px); min-height: calc(100dvh - 46px); }
}


/* Rubah v1.0.5 — Material 3-inspired, borderless refinement. */
:root {
  color-scheme: light;
  --rubah-page-bg: #f7f8fc;
  --rubah-card: #ffffff;
  --rubah-surface: #eef1f7;
  --rubah-input-bg: #eef1f7;
  --rubah-input-border: transparent;
  --rubah-ink: #202124;
  --rubah-navy: #27364b;
  --rubah-muted: #5f6673;
  --rubah-muted-strong: #535d6d;
  --rubah-sidebar-link: #343d4c;
  --rubah-orange: #ff6d00;
  --rubah-orange-deep: #9d3d00;
  --rubah-orange-soft: #ffe4cf;
  --rubah-hover-text: #542400;
  --rubah-post-link: #9d3d00;
  --rubah-nav-active-bg: #ffe4cf;
  --rubah-nav-active-ink: #542400;
  --rubah-action-bg: #ff6d00;
  --rubah-action-ink: #281300;
  --rubah-radius-sm: 12px;
  --rubah-radius-md: 22px;
  --rubah-radius-lg: 28px;
  --rubah-shadow: 0 1px 3px rgba(28, 39, 56, .08), 0 4px 12px rgba(28, 39, 56, .04);
}

:root[data-rubah-theme="dark"] {
  color-scheme: dark;
  --rubah-page-bg: #11151c;
  --rubah-card: #1b2029;
  --rubah-surface: #242b36;
  --rubah-input-bg: #252d38;
  --rubah-input-border: transparent;
  --rubah-ink: #e7eaf0;
  --rubah-navy: #e1e7f0;
  --rubah-muted: #bac3d0;
  --rubah-muted-strong: #c7cfdb;
  --rubah-sidebar-link: #d7deea;
  --rubah-orange: #ffb77d;
  --rubah-orange-deep: #ffc69a;
  --rubah-orange-soft: #4b3020;
  --rubah-hover-text: #ffdec6;
  --rubah-post-link: #ffc69a;
  --rubah-nav-active-bg: #4b3020;
  --rubah-nav-active-ink: #ffdec6;
  --rubah-action-bg: #ffb77d;
  --rubah-action-ink: #3c200d;
  --rubah-shadow: 0 1px 3px rgba(0, 0, 0, .18), 0 4px 14px rgba(0, 0, 0, .12);
}

/* Block gap and the prior 24px top margin are zeroed at the theme shell. */
:root { --wp--style--block-gap: 0px; }
body.rubah-theme .wp-site-blocks { --wp--style--block-gap: 0px; }
body.rubah-theme .wp-site-blocks > * + *,
body.rubah-theme .rubah-layout > *,
body.rubah-theme .rubah-content-column > * + * {
  margin-block-start: 0 !important;
}

/* Footer is inside the main/body column, never below the sidebar. */
.rubah-layout {
  min-height: 0;
  flex: 1 0 auto;
  align-items: stretch;
  background: var(--rubah-page-bg);
}
.rubah-content-column {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  background: var(--rubah-page-bg);
}
.rubah-content-column > .rubah-main,
.rubah-content-column > .wp-block-template-part .rubah-main {
  flex: 1 0 auto;
}
.rubah-content-column > .wp-block-template-part:last-child {
  flex: 0 0 auto;
  margin-top: auto !important;
}
.rubah-footer { width: 100%; flex-shrink: 0; margin-top: auto !important; background: var(--rubah-card); box-shadow: 0 -2px 10px rgba(28, 39, 56, .035); }
.rubah-footer__inner { align-content: center; }

/* Borderless by design. Focus rings remain outlines, not borders. */
body.rubah-theme .wp-site-blocks *,
body.rubah-theme .wp-site-blocks *::before,
body.rubah-theme .wp-site-blocks *::after {
  border: 0 !important;
}

/* Material 3 surface hierarchy, rounded shapes, and subtle elevation. */
body.rubah-theme,
body.rubah-theme .wp-site-blocks { background: var(--rubah-page-bg); color: var(--rubah-ink); }
.rubah-header { background: var(--rubah-card); box-shadow: 0 1px 3px rgba(28, 39, 56, .07); }
.rubah-sidebar { background: var(--rubah-surface); box-shadow: none; }
.rubah-main { background: var(--rubah-page-bg); }
.rubah-brand .wp-block-site-title a,
.rubah-sidebar-heading,
.rubah-page-intro h1,
.rubah-section-heading,
.rubah-archive-heading,
.rubah-single-title,
.rubah-page-title,
.rubah-post-content h2,
.rubah-post-content h3,
.rubah-search-intro h1,
.rubah-404 h1,
.rubah-footer__brand-row .wp-block-site-title { color: var(--rubah-navy); }
.rubah-header__inner { gap: clamp(16px, 2.4vw, 36px); }
.rubah-header__search .wp-block-search__inside-wrapper {
  min-height: 48px;
  border-radius: 999px;
  padding: 4px 5px 4px 18px;
  background: var(--rubah-input-bg);
  box-shadow: inset 0 1px 2px rgba(25, 32, 44, .025);
}
.rubah-header__search .wp-block-search__button,
.wp-block-button__link,
.wp-block-file a.wp-block-file__button {
  background: var(--rubah-action-bg);
  color: var(--rubah-action-ink);
  border-radius: 999px;
  box-shadow: none;
}
.rubah-header__search .wp-block-search__button:hover,
.wp-block-button__link:hover,
.wp-block-file a.wp-block-file__button:hover {
  background: var(--rubah-orange-deep);
  color: var(--rubah-action-ink);
}
.rubah-theme-toggle,
.rubah-menu-toggle,
.rubah-sidebar-close {
  width: 48px;
  height: 48px;
  flex-basis: 48px;
  border-radius: 50%;
  background: var(--rubah-surface);
  color: var(--rubah-navy);
  box-shadow: none;
}
.rubah-theme-toggle:hover,
.rubah-menu-toggle:hover,
.rubah-sidebar-close:hover { background: var(--rubah-orange-soft); color: var(--rubah-hover-text); }
.rubah-menu-toggle svg, .rubah-sidebar-close svg { width: 22px; height: 22px; }

/* Full-width sidebar destinations with Material 3 selected/hover states. */
.rubah-sidebar { padding-right: 16px; padding-left: 16px; }
.rubah-sidebar__inner { width: 100%; }
.rubah-sidebar__section { width: 100%; margin-top: 24px; }
.rubah-sidebar .wp-block-categories,
.rubah-sidebar .wp-block-page-list,
.rubah-sidebar .wp-block-latest-posts,
.rubah-sidebar .wp-block-latest-posts__list,
.rubah-sidebar .wp-block-categories li,
.rubah-sidebar .wp-block-page-list li,
.rubah-sidebar .wp-block-latest-posts li,
.rubah-sidebar .wp-block-latest-posts__list li { width: 100%; }
.rubah-sidebar .wp-block-categories ul,
.rubah-sidebar .wp-block-page-list ul { margin: 4px 0 0; padding: 0; width: 100%; }
.rubah-sidebar .wp-block-categories a,
.rubah-sidebar .wp-block-page-list a,
.rubah-sidebar .wp-block-latest-posts a,
.rubah-sidebar .wp-block-latest-posts__list a {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 48px;
  box-sizing: border-box;
  padding: 12px 16px;
  margin: 2px 0;
  border-radius: 999px;
  background: transparent;
  color: var(--rubah-sidebar-link);
  font-size: 14px;
  line-height: 1.4;
  text-decoration: none;
  transition: background-color .16s ease, color .16s ease;
}
.rubah-sidebar .wp-block-categories a:hover,
.rubah-sidebar .wp-block-page-list a:hover,
.rubah-sidebar .wp-block-latest-posts a:hover,
.rubah-sidebar .wp-block-latest-posts__list a:hover {
  background: var(--rubah-orange-soft);
  color: var(--rubah-hover-text);
}
.rubah-sidebar .wp-block-categories .current-cat > a,
.rubah-sidebar .wp-block-categories .current-cat-parent > a,
.rubah-sidebar .wp-block-page-list .current_page_item > a,
.rubah-sidebar .wp-block-page-list .current_page_parent > a,
.rubah-sidebar a.rubah-nav-link--active {
  background: var(--rubah-nav-active-bg);
  color: var(--rubah-nav-active-ink);
  font-weight: 750;
}
.rubah-sidebar .wp-block-latest-posts__post-date { display: none !important; }
.rubah-sidebar .wp-block-latest-posts__post-excerpt { padding: 0 16px 8px; color: var(--rubah-muted); font-size: 13px; }
.rubah-sidebar__eyebrow { color: var(--rubah-orange-deep); }
.rubah-sidebar__section > .wp-block-heading { color: var(--rubah-muted-strong); }

/* Article cards use a stretched title link, so the full card is clickable. */
.rubah-post-grid { gap: 24px; }
.rubah-post-card {
  position: relative;
  height: 100%;
  min-width: 0;
  overflow: hidden;
  border-radius: 24px;
  background: var(--rubah-card);
  box-shadow: 0 1px 3px rgba(24, 33, 48, .06), 0 4px 12px rgba(24, 33, 48, .035);
  cursor: pointer;
  transition: background-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.rubah-post-card:hover,
.rubah-post-card:focus-within {
  box-shadow: 0 2px 5px rgba(24, 33, 48, .08), 0 10px 26px rgba(24, 33, 48, .10);
  transform: translateY(-2px);
}
.rubah-post-card .wp-block-post-featured-image { background: var(--rubah-surface); }
.rubah-post-card .wp-block-post-title { position: static; }
.rubah-post-card .wp-block-post-title a { position: static; color: var(--rubah-navy); }
.rubah-post-card .wp-block-post-title a::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  border-radius: inherit;
  cursor: pointer;
}
.rubah-post-card .wp-block-post-terms,
.rubah-post-card .wp-block-post-terms a { position: relative; z-index: 2; }
.rubah-post-card .wp-block-post-excerpt__more-text,
.rubah-post-card .wp-block-post-excerpt__more-link { display: none !important; }
.rubah-post-card .wp-block-post-title a:focus-visible::after {
  outline: 3px solid rgba(255, 109, 0, .72);
  outline-offset: 3px;
}
.rubah-post-card .wp-block-post-title { margin-block-start: 0 !important; }
.rubah-query-empty { padding: 28px; border-radius: 24px; background: var(--rubah-surface); color: var(--rubah-muted); }
.wp-block-query-pagination { gap: 10px; margin-top: 28px; }
.wp-block-query-pagination a,
.wp-block-query-pagination-numbers .page-numbers {
  min-width: 44px;
  min-height: 44px;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--rubah-surface);
  color: var(--rubah-ink);
  text-decoration: none;
  box-shadow: none;
}
.wp-block-query-pagination a:hover,
.wp-block-query-pagination-numbers .current { background: var(--rubah-nav-active-bg); color: var(--rubah-nav-active-ink); }
.rubah-single-featured { border-radius: 24px; }
.rubah-post-content pre { border-radius: 18px; background: var(--rubah-surface); }
.rubah-footer { color: var(--rubah-muted); }
.rubah-footer__copy, .rubah-footer__blog-label { color: var(--rubah-muted); }

:root[data-rubah-theme="dark"] .rubah-header { box-shadow: 0 1px 3px rgba(0, 0, 0, .2); }
:root[data-rubah-theme="dark"] .rubah-sidebar { background: #191f28; }
:root[data-rubah-theme="dark"] .rubah-footer { box-shadow: 0 -2px 10px rgba(0, 0, 0, .12); }
:root[data-rubah-theme="dark"] .rubah-post-card { box-shadow: 0 1px 3px rgba(0, 0, 0, .16), 0 4px 12px rgba(0, 0, 0, .1); }
:root[data-rubah-theme="dark"] .rubah-post-card:hover,
:root[data-rubah-theme="dark"] .rubah-post-card:focus-within { box-shadow: 0 2px 5px rgba(0, 0, 0, .22), 0 10px 26px rgba(0, 0, 0, .26); }
:root[data-rubah-theme="dark"] .rubah-header__search .wp-block-search__button,
:root[data-rubah-theme="dark"] .wp-block-button__link,
:root[data-rubah-theme="dark"] .wp-block-file a.wp-block-file__button { background: var(--rubah-action-bg); color: var(--rubah-action-ink); }

@media (max-width: 719px) {
  .rubah-layout { display: flex; flex-direction: column; min-height: 0; flex: 1 0 auto; }
  .rubah-content-column { flex: 1 0 auto; min-height: 0; }
  .rubah-sidebar { padding: 26px 22px 40px; }
  .rubah-menu-toggle, .rubah-sidebar-close { width: 42px; height: 42px; flex-basis: 42px; }
  .rubah-theme-toggle { width: 42px; height: 42px; flex-basis: 42px; }
}


/* Rubah v1.0.6 — refined tonal hierarchy, sidebar identity, and article typography. */
:root {
  --rubah-page-bg: #f7f8fc;
  --rubah-topbar-bg: #ffffff;
  --rubah-footer-bg: var(--rubah-page-bg);
}

:root[data-rubah-theme="dark"] {
  /* Keep the body and topbar distinct without harsh contrast. */
  --rubah-page-bg: #171a21;
  --rubah-topbar-bg: var(--rubah-page-bg);
  --rubah-footer-bg: var(--rubah-page-bg);
  --rubah-card: #1d232d;
  --rubah-surface: #202630;
  /* The search field sits one tone darker than the dark-mode page. */
  --rubah-input-bg: #11141a;
}

/* The topbar has its own tonal layer, while the footer blends into the body. */
.rubah-header {
  background: var(--rubah-topbar-bg) !important;
}
.rubah-footer,
.rubah-content-column > .wp-block-template-part:last-child {
  background: var(--rubah-footer-bg) !important;
}
.rubah-footer {
  box-shadow: none !important;
}
.rubah-footer__inner,
.rubah-footer__copy,
.rubah-footer__blog-label,
.rubah-footer__brand-row .wp-block-site-title {
  background: transparent;
}
.rubah-header__search .wp-block-search__inside-wrapper {
  background: var(--rubah-input-bg) !important;
}
:root[data-rubah-theme="dark"] .rubah-header__search .wp-block-search__input {
  background: transparent !important;
  color: var(--rubah-ink) !important;
}

/* Rubah v1.0.25 — centered compact sidebar logo and clearer dark-mode topbar/search. */
.rubah-sidebar__brand { align-items: center !important; }
.rubah-sidebar__brand .rubah-sidebar__official-logo-link {
  width: 100% !important;
  max-width: 170px !important;
  margin-inline: auto !important;
  text-align: center;
}
.rubah-sidebar__brand .rubah-sidebar__official-logo {
  max-width: 170px !important;
  max-height: 60px !important;
  margin-inline: auto !important;
  object-position: center center !important;
}
:root[data-rubah-theme="dark"] .rubah-header {
  background: var(--rubah-page-bg) !important;
}
:root[data-rubah-theme="dark"] .rubah-header__search .wp-block-search__inside-wrapper {
  background: #2a303b !important;
  box-shadow: inset 0 0 0 1px rgba(201, 214, 232, .18) !important;
}
:root[data-rubah-theme="dark"] .rubah-header__search .wp-block-search__input {
  color: #f2f5fa !important;
  caret-color: #ffb77d;
}
:root[data-rubah-theme="dark"] .rubah-header__search .wp-block-search__input::placeholder {
  color: #b8c3d3 !important;
  opacity: 1;
}
:root[data-rubah-theme="dark"] .rubah-header__search .wp-block-search__button {
  color: #f2c29e !important;
}

/* Sidebar identity: logo and site title live above the navigation sections. */
.rubah-sidebar__brand-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  margin: 0 0 28px !important;
}
.rubah-sidebar__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  margin: 0 !important;
}
.rubah-sidebar__brand .wp-block-site-logo {
  flex: 0 0 auto;
  margin: 0 !important;
}
.rubah-sidebar__brand .custom-logo {
  display: block;
  width: auto;
  max-width: 44px;
  max-height: 44px;
  object-fit: contain;
}
.rubah-sidebar__brand .wp-block-site-title {
  min-width: 0;
  margin: 0 !important;
  font-family: "Google Sans Flex", "Google Sans", "Nunito Sans", sans-serif;
  font-size: 18px;
  font-weight: 750;
  line-height: 1.25;
  letter-spacing: -.025em;
  overflow-wrap: anywhere;
}
.rubah-sidebar__brand .wp-block-site-title a {
  color: var(--rubah-navy);
  text-decoration: none;
}
.rubah-sidebar__brand .wp-block-site-title a:hover {
  color: var(--rubah-orange-deep);
}
.rubah-sidebar-close {
  float: none !important;
  flex: 0 0 auto;
  margin: 0 !important;
}
.rubah-sidebar__eyebrow {
  clear: none !important;
  padding-top: 0 !important;
}

/* Google Sans is used for post body copy as well as post headings. */
.rubah-post-content,
.rubah-post-card .wp-block-post-excerpt,
.rubah-post-card .wp-block-post-excerpt :where(p, a, span, strong, em),
.rubah-post-content :where(p, li, blockquote, figcaption, table, th, td, a, span, strong, em, u, mark, sup, sub, details, summary) {
  font-family: "Google Sans Flex", "Google Sans", "Nunito Sans", sans-serif;
}
.rubah-post-content code,
.rubah-post-content pre,
.rubah-post-content kbd,
.rubah-post-content samp {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

@media (max-width: 719px) {
  .rubah-sidebar__brand-row { margin-bottom: 5px !important; }
  .rubah-sidebar__brand .custom-logo { max-width: 40px; max-height: 40px; }
  .rubah-sidebar__brand .wp-block-site-title { font-size: 17px; }
  .rubah-sidebar-close {
    display: inline-flex;
    float: none !important;
    margin: 0 !important;
  }
  .rubah-sidebar__eyebrow { clear: none !important; padding-top: 0 !important; }
}

/* Rubah v1.0.7 — viewport-height sidebar; topbar belongs to content column. */
.rubah-layout {
  min-height: 100vh;
  min-height: 100dvh;
  align-items: stretch;
}
.rubah-sidebar {
  position: sticky;
  top: 0;
  align-self: start;
  height: 100vh;
  height: 100dvh;
  max-height: 100vh;
  max-height: 100dvh;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
}
.rubah-sidebar__inner {
  position: static !important;
  top: auto !important;
}
.rubah-content-column {
  min-height: 100vh;
  min-height: 100dvh;
}
/* Header template part is now nested inside the right-hand content column. */
.rubah-content-column > .wp-block-template-part:has(.rubah-site-header-wrap),
.rubah-content-column > .rubah-site-header-wrap,
.rubah-site-header-wrap {
  display: block;
  width: 100%;
  max-width: none;
  min-width: 0;
  margin-inline: 0 !important;
  flex: 0 0 auto;
}
.rubah-header {
  width: 100%;
  max-width: none;
  margin-inline: 0 !important;
}
.rubah-header__inner {
  justify-content: flex-end;
}
/* Defensive rule also hides the duplicate if a previously saved header template persists. */
.rubah-header .rubah-brand,
.rubah-header .wp-block-site-logo,
.rubah-header .wp-block-site-title {
  display: none !important;
}

@media (min-width: 720px) {
  .rubah-layout { min-height: 100vh; min-height: 100dvh; }
  .rubah-sidebar {
    position: sticky;
    top: 0;
    height: 100vh;
    height: 100dvh;
    max-height: 100vh;
    max-height: 100dvh;
  }
  .rubah-header__brand-controls { flex: 0 0 auto; }
}

@media (max-width: 719px) {
  .rubah-layout {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    min-height: 100dvh;
  }
  .rubah-sidebar {
    position: fixed;
    z-index: 1002;
    top: 0;
    bottom: 0;
    left: 0;
    height: 100vh;
    height: 100dvh;
    max-height: none;
    align-self: auto;
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  .rubah-content-column { min-height: 100vh; min-height: 100dvh; }
  .rubah-header__inner { justify-content: flex-start; }
}
@media (min-width: 720px) {
  body.admin-bar.rubah-theme .rubah-sidebar {
    top: 32px;
    height: calc(100vh - 32px);
    height: calc(100dvh - 32px);
    max-height: calc(100vh - 32px);
    max-height: calc(100dvh - 32px);
  }
}
@media (max-width: 782px) {
  body.admin-bar.rubah-theme .rubah-sidebar {
    top: 46px;
    height: calc(100vh - 46px);
    height: calc(100dvh - 46px);
    max-height: calc(100vh - 46px);
    max-height: calc(100dvh - 46px);
  }
}



/* Rubah v1.0.8 — left-aligned article body and mode-aware sidebar surface. */
:root {
  --rubah-sidebar-bg: #ffffff;
}
:root[data-rubah-theme="dark"] {
  /* A subtle step darker than the body background (#171A21). */
  --rubah-sidebar-bg: #13161d;
}
.rubah-sidebar {
  background: var(--rubah-sidebar-bg) !important;
}
:root[data-rubah-theme="dark"] .rubah-sidebar {
  background: var(--rubah-sidebar-bg) !important;
}
/* Keep article prose visibly aligned to the left edge for comfortable reading. */
.rubah-post-content {
  text-align: left !important;
}
.rubah-post-content :where(p, li, blockquote, figcaption, th, td, dt, dd, caption, h1, h2, h3, h4, h5, h6) {
  text-align: left !important;
}

/* Align reading blocks to the left edge of the article column as well as left-aligning their text. */
.rubah-post-content > :where(p, ul, ol, blockquote, pre, table, dl, dt, dd, h1, h2, h3, h4, h5, h6) {
  margin-inline-start: 0 !important;
  margin-inline-end: auto !important;
}


/* Rubah v1.0.9 — reduce the footer minimum height and keep the sidebar logo visible in the mobile drawer. */
.rubah-footer,
.rubah-footer__inner {
  min-height: 10px !important;
}

/* Site Logo remains in the sidebar only. If the WordPress site has no custom logo configured,
   show a compact BisaBaca-colour monogram so the mobile drawer never starts with a blank brand slot. */
.rubah-sidebar__logo-fallback {
  display: none;
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 13px;
  background: linear-gradient(135deg, #F4511E 0%, #FF6D00 48%, #FF922B 100%);
  color: #FFFFFF;
  font-family: "Google Sans Flex", "Google Sans", "Nunito Sans", sans-serif;
  font-size: 23px;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 3px 8px rgba(244, 81, 30, .16);
}
.rubah-sidebar__brand:not(:has(img.custom-logo)) > .rubah-sidebar__logo-fallback {
  display: inline-flex;
}

@media (max-width: 719px) {
  /* Explicit mobile drawer overrides: logo row and site identity stay rendered when opened. */
  body.rubah-menu-open .rubah-sidebar__brand-row {
    display: flex !important;
    align-items: center !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
  body.rubah-menu-open .rubah-sidebar__brand,
  body.rubah-menu-open .rubah-sidebar__brand .wp-block-site-logo,
  body.rubah-menu-open .rubah-sidebar__brand .wp-block-site-logo a,
  body.rubah-menu-open .rubah-sidebar__brand .custom-logo,
  body.rubah-menu-open .rubah-sidebar__brand .wp-block-site-title,
  body.rubah-menu-open .rubah-sidebar__logo-fallback {
    visibility: visible !important;
    opacity: 1 !important;
  }
  body.rubah-menu-open .rubah-sidebar__brand .wp-block-site-logo {
    display: block !important;
    flex: 0 0 auto;
  }
  body.rubah-menu-open .rubah-sidebar__brand .custom-logo {
    display: block !important;
    width: auto !important;
    height: auto !important;
    max-width: 40px !important;
    max-height: 40px !important;
    object-fit: contain;
  }
  body.rubah-menu-open .rubah-sidebar__brand-row {
    margin-bottom: 5px !important;
  }
  .rubah-footer__inner {
    min-height: 10px !important;
  }
}


/* Rubah v1.0.10 — screenshot-led BisaBaca catalog refinement. */
:root {
  --rubah-page-bg: #f5f8fc;
  --rubah-topbar-bg: #ffffff;
  --rubah-footer-bg: transparent;
  --rubah-card: #ffffff;
  --rubah-surface: #eef3fa;
  --rubah-input-bg: #edf2f9;
  --rubah-input-border: transparent;
  --rubah-ink: #202f43;
  --rubah-navy: #243c5b;
  --rubah-muted: #697d98;
  --rubah-muted-strong: #526987;
  --rubah-sidebar-link: #60738e;
  --rubah-orange: #ff6d00;
  --rubah-orange-deep: #f4511e;
  --rubah-orange-soft: #fff0e5;
  --rubah-nav-active-bg: linear-gradient(105deg, #f4511e 0%, #ff6d00 62%, #ff922b 100%);
  --rubah-nav-active-ink: #ffffff;
  --rubah-action-bg: #ff6d00;
  --rubah-action-ink: #ffffff;
  --rubah-sidebar-bg: #ffffff;
  --rubah-radius-sm: 10px;
  --rubah-radius-md: 20px;
  --rubah-radius-lg: 24px;
  --rubah-shadow: 0 1px 3px rgba(35, 60, 91, .045), 0 6px 18px rgba(35, 60, 91, .055);
}
:root[data-rubah-theme="dark"] {
  color-scheme: dark;
  --rubah-page-bg: #171a21;
  --rubah-topbar-bg: var(--rubah-page-bg);
  --rubah-footer-bg: transparent;
  --rubah-card: #242a34;
  --rubah-surface: #292f3a;
  --rubah-input-bg: #11141a;
  --rubah-input-border: transparent;
  --rubah-ink: #e9eef5;
  --rubah-navy: #e0e9f5;
  --rubah-muted: #a8b5c8;
  --rubah-muted-strong: #c0c9d7;
  --rubah-sidebar-link: #d0d9e7;
  --rubah-orange: #ffb77d;
  --rubah-orange-deep: #ffc69a;
  --rubah-orange-soft: #3a281e;
  --rubah-nav-active-bg: linear-gradient(105deg, #a33f16 0%, #c75100 62%, #b85b18 100%);
  --rubah-nav-active-ink: #ffffff;
  --rubah-action-bg: #ff7a1a;
  --rubah-action-ink: #ffffff;
  --rubah-sidebar-bg: #13161d;
  --rubah-shadow: 0 1px 3px rgba(0, 0, 0, .14), 0 7px 22px rgba(0, 0, 0, .13);
}

/* Soft Full Colour Blob backdrop. Brand colours stay in the approved orange/yellow palette. */
body.rubah-theme,
body.rubah-theme .wp-site-blocks {
  background: var(--rubah-page-bg);
  color: var(--rubah-ink);
}
.rubah-layout { grid-template-columns: clamp(250px, 18vw, 300px) minmax(0, 1fr) !important; }
.rubah-content-column {
  position: relative;
  min-width: 0;
  background-color: var(--rubah-page-bg) !important;
  background-image:
    radial-gradient(ellipse 56% 42% at 20% 55%, rgba(255, 146, 43, .055), transparent 73%),
    radial-gradient(ellipse 58% 42% at 72% 92%, rgba(244, 81, 30, .035), transparent 72%);
  background-repeat: no-repeat;
}
:root[data-rubah-theme="dark"] .rubah-content-column {
  background-color: var(--rubah-page-bg) !important;
  background-image:
    radial-gradient(ellipse 56% 42% at 20% 55%, rgba(255, 146, 43, .045), transparent 73%),
    radial-gradient(ellipse 58% 42% at 72% 92%, rgba(244, 81, 30, .03), transparent 72%);
}
.rubah-main { background: transparent !important; padding: 27px clamp(24px, 2.45vw, 42px) 34px !important; }
.rubah-header { min-height: 68px; background: var(--rubah-topbar-bg) !important; box-shadow: 0 1px 2px rgba(35, 60, 91, .06); }
.rubah-header__inner { min-height: 68px; padding: 10px clamp(18px, 2.2vw, 38px); justify-content: flex-end; gap: 12px; }
.rubah-header__actions { width: min(100%, 475px); max-width: 475px; gap: 12px; }
.rubah-header__search { width: auto; flex: 1 1 auto; min-width: 0; }
.rubah-header__search .wp-block-search__inside-wrapper { min-height: 42px; padding: 3px 10px 3px 10px; border: 0 !important; border-radius: 999px; background: var(--rubah-input-bg) !important; box-shadow: inset 0 1px 2px rgba(35, 60, 91, .035); }
.rubah-header__search .wp-block-search__input { order: 1; min-width: 0; padding: 8px 6px; color: var(--rubah-muted); font-size: 13px; }
.rubah-header__search .wp-block-search__button { order: 2; width: 30px; min-width: 30px; min-height: 30px; padding: 4px; background: transparent !important; color: var(--rubah-navy) !important; box-shadow: none !important; }
.rubah-header__search .wp-block-search__button:hover { background: var(--rubah-orange-soft) !important; color: var(--rubah-orange-deep) !important; }
.rubah-header__search .wp-block-search__inside-wrapper .wp-block-search__input { flex: 1 1 auto; }
.rubah-theme-toggle {
  display: inline-flex;
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0 !important;
  border-radius: 50%;
  background: var(--rubah-surface);
  color: var(--rubah-navy);
  text-decoration: none;
  box-shadow: none;
  transition: background-color .16s ease, color .16s ease, transform .16s ease;
}
.rubah-theme-toggle svg { width: 20px; height: 20px; }
.rubah-theme-toggle:hover { transform: translateY(-1px); }
.rubah-theme-toggle:hover { background: var(--rubah-orange-soft); color: var(--rubah-hover-text); }
:root[data-rubah-theme="dark"] .rubah-header { background: var(--rubah-topbar-bg) !important; }
:root[data-rubah-theme="dark"] .rubah-theme-toggle { background: #303846; color: var(--rubah-navy); }
:root[data-rubah-theme="dark"] .rubah-header__search .wp-block-search__button { color: var(--rubah-navy) !important; }

/* Sidebar: logo, nav, topic dots, and thumbnail-rich recent posts. */
.rubah-sidebar {
  position: sticky;
  top: 0;
  align-self: start;
  height: 100vh;
  height: 100dvh;
  max-height: 100vh;
  max-height: 100dvh;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 20px 12px 22px !important;
  background: var(--rubah-sidebar-bg) !important;
  box-shadow: 5px 0 22px rgba(35, 60, 91, .025);
  scrollbar-width: thin;
  scrollbar-color: rgba(104, 125, 152, .22) transparent;
}
.rubah-sidebar__inner { position: static !important; top: auto !important; width: 100%; min-height: 100%; }
.rubah-sidebar__brand-row { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 0 0 5px !important; }
.rubah-sidebar__brand { display: flex; flex-direction: column; align-items: flex-start; width: 100%; max-width: 228px; min-width: 0; gap: 2px; margin: 0 !important; }
.rubah-sidebar__tagline { width: 100%; margin: 0 !important; padding: 0 !important; color: var(--rubah-ink); font-family: "Google Sans Flex", "Google Sans", "Nunito Sans", sans-serif; font-size: 8px; font-weight: 800; line-height: 1.2; letter-spacing: .07em; text-align: center; }
.rubah-sidebar__brand .wp-block-site-logo { display: block; width: 100%; margin: 0 !important; line-height: 0; }
.rubah-sidebar__brand .wp-block-site-logo a { display: inline-block; max-width: 100%; }
.rubah-sidebar__brand .custom-logo { display: block; width: auto; height: auto; max-width: 189px !important; max-height: 67px !important; object-fit: contain; object-position: left center; }
.rubah-sidebar__brand:has(img.custom-logo) .wp-block-site-title { display: none !important; }
.rubah-sidebar__brand:not(:has(img.custom-logo)) { display: grid; grid-template-columns: 40px minmax(0, 1fr); align-items: center; column-gap: 10px; row-gap: 4px; }
.rubah-sidebar__brand:not(:has(img.custom-logo)) .rubah-sidebar__tagline { grid-column: 1 / -1; }
.rubah-sidebar__brand:not(:has(img.custom-logo)) .wp-block-site-logo { display: none !important; }
.rubah-sidebar__brand .wp-block-site-title { grid-column: 2; margin: 0 !important; font-family: "Google Sans Flex", "Google Sans", "Nunito Sans", sans-serif; font-size: 19px; line-height: 1.2; font-weight: 800; letter-spacing: -.03em; overflow-wrap: anywhere; }
.rubah-sidebar__brand .wp-block-site-title a { color: var(--rubah-navy); text-decoration: none; }
.rubah-sidebar__logo-fallback { display: none; flex: 0 0 40px; width: 40px; height: 40px; align-items: center; justify-content: center; border-radius: 12px; background: linear-gradient(135deg, #f4511e 0%, #ff6d00 48%, #ff922b 100%); color: #fff; font-family: "Google Sans Flex", "Google Sans", "Nunito Sans", sans-serif; font-size: 23px; font-weight: 800; line-height: 1; }
.rubah-sidebar__brand:not(:has(img.custom-logo)) > .rubah-sidebar__logo-fallback { display: inline-flex; grid-column: 1; }
.rubah-sidebar-close { display: none; width: 38px; height: 38px; flex: 0 0 38px; align-items: center; justify-content: center; border: 0 !important; border-radius: 50%; background: var(--rubah-surface); color: var(--rubah-navy); }
.rubah-sidebar-close svg { width: 20px; height: 20px; }
.rubah-sidebar__eyebrow { margin: 0 0 10px !important; color: var(--rubah-muted-strong) !important; font-size: 10px; font-weight: 850; letter-spacing: .13em; line-height: 1.45; text-transform: uppercase; }
.rubah-sidebar-nav { display: flex; flex-direction: column; gap: 3px; width: 100%; margin: 0 0 25px; }
.rubah-sidebar-nav__link { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 42px; padding: 10px 12px; border-radius: 11px; color: var(--rubah-sidebar-link); font-family: "Google Sans Flex", "Google Sans", "Nunito Sans", sans-serif; font-size: 13px; font-weight: 700; line-height: 1.3; text-decoration: none; transition: background .16s ease, color .16s ease, transform .16s ease; }
.rubah-sidebar-nav__link svg { flex: 0 0 20px; width: 20px; height: 20px; }
.rubah-sidebar-nav__link:hover { background: var(--rubah-orange-soft); color: var(--rubah-hover-text); }
.rubah-sidebar-nav__link--active { background: var(--rubah-nav-active-bg); color: var(--rubah-nav-active-ink) !important; box-shadow: 0 2px 6px rgba(244, 81, 30, .13); }
.rubah-sidebar-nav__link--active:hover { color: #ffffff !important; }
.rubah-sidebar__section { width: 100%; margin: 0 0 23px !important; }
.rubah-sidebar__section--topics { scroll-margin-top: 16px; }
.rubah-sidebar__section--latest { padding-top: 17px; box-shadow: inset 0 1px 0 rgba(99, 121, 150, .14); }
.rubah-sidebar__section > .wp-block-heading { margin: 0 0 9px !important; color: var(--rubah-muted-strong) !important; font-family: "Google Sans Flex", "Google Sans", "Nunito Sans", sans-serif; font-size: 10px; font-weight: 850; line-height: 1.45; letter-spacing: .13em; text-transform: uppercase; }
.rubah-sidebar .wp-block-categories,
.rubah-sidebar .wp-block-categories-list,
.rubah-sidebar .wp-block-latest-posts,
.rubah-sidebar .wp-block-latest-posts__list { width: 100%; margin: 0 !important; padding: 0 !important; list-style: none !important; }
.rubah-sidebar .wp-block-categories ul { margin: 2px 0 0 !important; padding: 0 !important; list-style: none !important; }
.rubah-sidebar .wp-block-categories li { margin: 1px 0 !important; padding: 0 !important; list-style: none !important; }
.rubah-sidebar .wp-block-categories li > a { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 31px; padding: 6px 10px; border-radius: 9px; color: var(--rubah-sidebar-link); font-family: "Google Sans Flex", "Google Sans", "Nunito Sans", sans-serif; font-size: 12px; line-height: 1.4; text-decoration: none; }
.rubah-sidebar .wp-block-categories li > a::before { content: ""; flex: 0 0 10px; width: 10px; height: 10px; border-radius: 50%; background: #ff6d00; }
.rubah-sidebar .wp-block-categories li > a:hover,
.rubah-sidebar .wp-block-categories .current-cat > a,
.rubah-sidebar .wp-block-categories .current-cat-parent > a { background: var(--rubah-orange-soft); color: var(--rubah-hover-text); }
:root[data-rubah-theme="dark"] .rubah-sidebar .wp-block-categories li > a:hover,
:root[data-rubah-theme="dark"] .rubah-sidebar .wp-block-categories .current-cat > a { background: #332a25; color: #ffe0c9; }
.rubah-sidebar .wp-block-latest-posts { display: flex; flex-direction: column; gap: 6px; }
.rubah-sidebar .wp-block-latest-posts > li { display: grid; grid-template-columns: 62px minmax(0, 1fr); grid-template-rows: auto; column-gap: 10px; align-items: center; width: 100%; min-width: 0; margin: 0 !important; padding: 0 !important; list-style: none !important; }
.rubah-sidebar .wp-block-latest-posts__post-title { grid-column: 2; grid-row: 1; display: block; min-width: 0; margin: 0 !important; padding: 4px 0 !important; border-radius: 0 !important; background: transparent !important; color: var(--rubah-sidebar-link) !important; font-family: "Google Sans Flex", "Google Sans", "Nunito Sans", sans-serif; font-size: 10.5px !important; font-weight: 600; line-height: 1.42 !important; text-decoration: none; overflow-wrap: anywhere; }
.rubah-sidebar .wp-block-latest-posts__post-title:hover { color: var(--rubah-orange-deep) !important; }
.rubah-sidebar .wp-block-latest-posts__featured-image { grid-column: 1; grid-row: 1; display: block; width: 62px; height: 51px; margin: 0 !important; padding: 0 !important; overflow: hidden; border-radius: 8px; background: var(--rubah-surface); line-height: 0; }
.rubah-sidebar .wp-block-latest-posts__featured-image a { display: block; width: 100%; min-height: 0; margin: 0; padding: 0; }
.rubah-sidebar .wp-block-latest-posts__featured-image img { display: block; width: 100%; height: 51px; max-width: none; object-fit: cover; border-radius: 8px; }
.rubah-sidebar .wp-block-latest-posts__post-date,
.rubah-sidebar .wp-block-latest-posts__post-excerpt { display: none !important; }
:root[data-rubah-theme="dark"] .rubah-sidebar .wp-block-latest-posts__featured-image { background: #222833; }
.rubah-sidebar__brand .wp-block-site-title,
.rubah-sidebar__section > .wp-block-heading,
.rubah-sidebar__eyebrow { font-family: "Google Sans Flex", "Google Sans", "Nunito Sans", sans-serif; }

/* Homepage hero and content controls. */
.rubah-page-intro { margin-bottom: 20px !important; }
.rubah-page-intro h1 { max-width: none; margin: 0 0 8px !important; color: var(--rubah-navy); font-size: clamp(36px, 3vw, 49px); font-weight: 850; letter-spacing: -.055em; line-height: 1.12; }
.rubah-page-intro h1 .rubah-title-dot { color: #ff6d00; }
.rubah-page-intro p:not(.rubah-page-eyebrow) { max-width: 76ch; margin: 0 !important; color: var(--rubah-muted); font-size: 15px; line-height: 1.55; }
.rubah-page-eyebrow, .rubah-archive-eyebrow { margin: 0 0 5px !important; color: #f06a00 !important; font-size: 11px; font-weight: 850; letter-spacing: .075em; }
.rubah-feed-heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin: 0 0 17px !important; }
.rubah-section-heading { margin: 0 !important; color: var(--rubah-navy); font-size: 23px; line-height: 1.3; letter-spacing: -.03em; font-weight: 800; }
.rubah-feed-tools { display: flex; align-items: center; gap: 8px; margin: 0; min-width: 0; }
.rubah-category-filter { display: inline-flex; min-width: 0; }
.rubah-category-filter select { width: 178px; min-width: 0; min-height: 38px; padding: 8px 34px 8px 14px; border: 0 !important; border-radius: 11px; background-color: var(--rubah-card); color: var(--rubah-navy); box-shadow: inset 0 0 0 1px rgba(118, 141, 173, .18); font-family: "Google Sans Flex", "Google Sans", "Nunito Sans", sans-serif; font-size: 12px; font-weight: 650; }
.rubah-category-filter select:focus-visible { outline: 3px solid rgba(255,109,0,.48); outline-offset: 2px; }
.rubah-view-toggle { display: inline-flex; gap: 4px; align-items: center; padding: 3px; border-radius: 12px; background: var(--rubah-card); box-shadow: inset 0 0 0 1px rgba(118, 141, 173, .16); }
.rubah-view-toggle__button { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 32px; border: 0 !important; border-radius: 9px; background: transparent; color: var(--rubah-muted); }
.rubah-view-toggle__button svg { width: 17px; height: 17px; }
.rubah-view-toggle__button:hover { background: var(--rubah-orange-soft); color: var(--rubah-hover-text); }
.rubah-view-toggle__button.is-active { background: linear-gradient(135deg, #f4511e 0%, #ff6d00 62%, #ff922b 100%); color: #ffffff; box-shadow: 0 2px 5px rgba(244, 81, 30, .16); }
:root[data-rubah-theme="dark"] .rubah-category-filter select,
:root[data-rubah-theme="dark"] .rubah-view-toggle { background: #242a34; color: var(--rubah-ink); box-shadow: inset 0 0 0 1px rgba(186, 201, 222, .08); }
:root[data-rubah-theme="dark"] .rubah-view-toggle__button { color: #c5cfdd; }
:root[data-rubah-theme="dark"] .rubah-view-toggle__button.is-active { color: #ffffff; }

/* Six-card editorial catalogue, based on the user-provided reference. */
.rubah-post-grid { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; gap: 24px 26px !important; }
.rubah-post-card { position: relative; display: flex !important; flex-direction: column; min-width: 0; height: 100%; overflow: hidden; border: 0 !important; border-radius: 15px !important; background: var(--rubah-card) !important; box-shadow: var(--rubah-shadow) !important; cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease; }
.rubah-post-card:hover,
.rubah-post-card:focus-within { transform: translateY(-2px); box-shadow: 0 2px 6px rgba(35, 60, 91, .075), 0 12px 26px rgba(35, 60, 91, .085) !important; }
:root[data-rubah-theme="dark"] .rubah-post-card:hover,
:root[data-rubah-theme="dark"] .rubah-post-card:focus-within { box-shadow: 0 2px 6px rgba(0,0,0,.18), 0 12px 28px rgba(0,0,0,.2) !important; }
.rubah-post-card .wp-block-post-featured-image { flex: 0 0 auto; width: 100%; aspect-ratio: 2.5 / 1 !important; min-height: 0 !important; height: auto !important; margin: 0 !important; overflow: hidden; background: var(--rubah-surface); border-radius: 0 !important; }
.rubah-post-card .wp-block-post-featured-image a { display: block; width: 100%; height: 100%; }
.rubah-post-card .wp-block-post-featured-image img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 0 !important; transition: transform .28s ease; }
.rubah-post-card:hover .wp-block-post-featured-image img { transform: scale(1.025); }
.rubah-post-card__body { position: relative; display: flex; flex: 1 1 auto; flex-direction: column; align-items: flex-start; min-height: 120px; padding: 15px 20px 23px !important; background: var(--rubah-card); }
.rubah-post-card .rubah-card-categories { display: flex; flex-wrap: wrap; gap: 5px; margin: 0 0 8px !important; color: var(--rubah-orange-deep); font-size: 10.5px; font-weight: 800; line-height: 1.3; text-transform: none; letter-spacing: 0; }
.rubah-post-card .rubah-card-categories a { position: relative; z-index: 2; display: inline-flex; align-items: center; min-height: 21px; padding: 3px 9px; border-radius: 999px; background: #ff9f2e; color: #ffffff !important; font-size: 10.5px; font-weight: 800; line-height: 1.25; text-decoration: none; }
.rubah-post-card .rubah-card-categories a.rubah-topic--math { background: #079de2; }
.rubah-post-card .rubah-card-categories a.rubah-topic--science { background: #08b96c; }
.rubah-post-card .rubah-card-categories a.rubah-topic--games { background: #b94be0; }
.rubah-post-card .rubah-card-categories a.rubah-topic--parenting { background: #f45f7c; }
.rubah-post-card .rubah-card-categories a.rubah-topic--reading { background: #ff9b2d; }
.rubah-post-card .rubah-card-categories a.rubah-topic--education { background: #ff7a1a; }
.rubah-post-card .wp-block-post-title { position: static; width: 100%; margin: 0 !important; padding: 0 31px 0 0 !important; color: var(--rubah-navy); font-family: "Google Sans Flex", "Google Sans", "Nunito Sans", sans-serif; font-size: clamp(16px, 1.25vw, 18px); font-weight: 750; letter-spacing: -.025em; line-height: 1.3; }
.rubah-post-card .wp-block-post-title a { position: static; color: var(--rubah-navy); text-decoration: none; }
.rubah-post-card .wp-block-post-title a::after { content: ""; position: absolute; z-index: 1; inset: 0; border-radius: inherit; cursor: pointer; }
.rubah-post-card .wp-block-post-terms, .rubah-post-card .wp-block-post-terms a { position: relative; z-index: 2; }
.rubah-post-card .wp-block-post-date,
.rubah-post-card .wp-block-post-excerpt,
.rubah-post-card .wp-block-post-excerpt__more-text,
.rubah-post-card .wp-block-post-excerpt__more-link { display: none !important; }
.rubah-card-arrow { position: absolute; z-index: 3; right: 20px; bottom: 17px; display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; background: linear-gradient(135deg, #f4511e 0%, #ff6d00 65%, #ff922b 100%); color: #ffffff; pointer-events: none; }
.rubah-card-arrow svg { display: block; width: 17px; height: 17px; }
.rubah-post-card .wp-block-post-title a:focus-visible::after { outline: 3px solid rgba(255,109,0,.72); outline-offset: 3px; }
.rubah-post-grid.is-list-view { grid-template-columns: minmax(0, 1fr) !important; gap: 14px !important; }
.rubah-post-grid.is-list-view .rubah-post-card { display: grid !important; grid-template-columns: minmax(170px, 32%) minmax(0, 1fr); flex-direction: initial; }
.rubah-post-grid.is-list-view .rubah-post-card .wp-block-post-featured-image { grid-column: 1; grid-row: 1; height: 100% !important; min-height: 145px !important; aspect-ratio: auto !important; }
.rubah-post-grid.is-list-view .rubah-post-card__body { grid-column: 2; grid-row: 1; min-height: 145px; justify-content: center; }

/* Pagination: centered, larger, fully rounded capsule controls. */
.wp-block-query-pagination,
.wp-block-query-pagination.is-content-justification-space-between,
.wp-block-query-pagination.is-content-justification-center {
  display: flex;
  flex-wrap: wrap;
  justify-content: center !important;
  align-items: center;
  gap: 8px !important;
  margin: 26px auto 0 !important;
  width: 100% !important;
  max-width: 100%;
  box-sizing: border-box;
  text-align: center;
}
.wp-block-query-pagination-numbers {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px;
  max-width: 100%;
}
.wp-block-query-pagination-previous,
.wp-block-query-pagination-next { font-size: 0 !important; }
.wp-block-query-pagination-previous::before { content: "‹"; font-size: 25px; line-height: 1; }
.wp-block-query-pagination-next::after { content: "›"; font-size: 25px; line-height: 1; }
.wp-block-query-pagination a,
.wp-block-query-pagination-numbers .page-numbers {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  width: auto;
  min-height: 44px;
  height: 44px;
  padding: 0 14px !important;
  border: 1px solid var(--rubah-border) !important;
  border-radius: 999px !important;
  background: var(--rubah-surface);
  color: var(--rubah-navy);
  font-family: "Google Sans Flex", "Google Sans", "Nunito Sans", sans-serif;
  font-size: 14px;
  font-weight: 650;
  line-height: 1;
  text-decoration: none;
  box-shadow: none;
  transition: background-color .16s ease, border-color .16s ease, color .16s ease;
}
.wp-block-query-pagination a:hover {
  border-color: var(--rubah-orange) !important;
  background: var(--rubah-orange-soft);
  color: var(--rubah-hover-text);
}
.wp-block-query-pagination a:focus-visible,
.wp-block-query-pagination-numbers .page-numbers:focus-visible {
  outline: 3px solid rgba(255, 109, 0, .68);
  outline-offset: 3px;
}
.wp-block-query-pagination-numbers .current {
  border-color: transparent !important;
  background: linear-gradient(135deg, #f4511e 0%, #ff6d00 62%, #ff922b 100%) !important;
  color: #ffffff !important;
}

/* Footer blends into the body in both modes and stays in the content column only. */
.rubah-footer,
.rubah-content-column > .wp-block-template-part:last-child { background: transparent !important; box-shadow: none !important; }
.rubah-footer__inner { min-height: 10px !important; padding: 12px clamp(24px, 2.45vw, 42px) 18px !important; }
.rubah-footer__brand-row .wp-block-site-title,
.rubah-footer__copy,
.rubah-footer__blog-label { color: var(--rubah-muted); }

/* Search results / archives use the same toolbar and card system. */
.rubah-search-intro { margin-bottom: 18px !important; }
.rubah-search-intro .wp-block-search { max-width: 520px; margin-top: 18px; }
.rubah-archive-heading { max-width: none; font-size: clamp(28px, 3vw, 39px); }
.rubah-query-empty { border: 0 !important; border-radius: 18px; background: var(--rubah-card); box-shadow: var(--rubah-shadow); }

@media (min-width: 1280px) {
  .rubah-post-grid:not(.is-list-view) { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
}
@media (min-width: 720px) and (max-width: 1279px) {
  .rubah-layout { grid-template-columns: clamp(240px, 24vw, 275px) minmax(0, 1fr) !important; }
  .rubah-main { padding: 26px clamp(20px, 2.5vw, 30px) 32px !important; }
  .rubah-post-grid:not(.is-list-view) { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 18px !important; }
  .rubah-post-card__body { padding: 14px 16px 22px !important; }
  .rubah-post-card .wp-block-post-title { font-size: 17px; }
}
@media (max-width: 719px) {
  .rubah-layout { display: flex !important; flex-direction: column !important; min-height: 100vh; min-height: 100dvh; }
  .rubah-content-column { min-height: 100vh; min-height: 100dvh; }
  .rubah-header__inner { min-height: 64px; padding: 8px 12px; flex-wrap: nowrap; align-items: center; gap: 8px; }
  .rubah-header__brand-controls { display: flex !important; order: 0; width: auto !important; flex: 0 0 auto; justify-content: flex-start; gap: 6px; }
  .rubah-menu-toggle { display: inline-flex !important; width: 36px; height: 36px; flex: 0 0 36px; border: 0 !important; border-radius: 50%; background: var(--rubah-surface); color: var(--rubah-navy); align-items: center; justify-content: center; }
  .rubah-menu-toggle svg { width: 19px; height: 19px; }
  .rubah-header__actions { order: 1; width: auto !important; max-width: none; flex: 1 1 auto; gap: 6px; margin-left: 0; }
  .rubah-header__search { flex: 1 1 auto; width: auto; min-width: 0; }
  .rubah-header__search .wp-block-search__inside-wrapper { min-height: 36px; padding: 2px 6px; }
  .rubah-header__search .wp-block-search__input { font-size: 11px; padding-inline: 2px; }
  .rubah-header__search .wp-block-search__button { width: 26px; min-width: 26px; min-height: 28px; padding: 3px; }
  .rubah-theme-toggle { width: 36px; height: 36px; flex-basis: 36px; }
  .rubah-sidebar { position: fixed !important; z-index: 1002; top: 0; bottom: 0; left: 0; width: min(310px, 88vw); height: 100vh; height: 100dvh; max-height: none; transform: translateX(-105%); visibility: hidden; padding: 20px 14px 24px !important; overflow-y: auto; box-shadow: 14px 0 36px rgba(16, 28, 45, .16); transition: transform .24s ease, visibility .24s ease; }
  body.rubah-menu-open .rubah-sidebar { transform: translateX(0); visibility: visible; }
  .rubah-sidebar__brand-row { margin-bottom: 5px !important; }
  .rubah-sidebar__brand { max-width: 225px; }
  .rubah-sidebar__brand .custom-logo { max-width: 196px !important; max-height: 70px !important; }
  .rubah-sidebar-close { display: inline-flex !important; }
  .rubah-drawer-overlay { display: block !important; position: fixed; z-index: 1001; inset: 0; width: 100%; height: 100%; border: 0 !important; border-radius: 0; background: rgba(19, 31, 46, .42); opacity: 0; visibility: hidden; transition: opacity .24s ease, visibility .24s ease; }
  body.rubah-menu-open .rubah-drawer-overlay { opacity: 1; visibility: visible; }
  body.rubah-menu-open { overflow: hidden; }
  .rubah-main { padding: 24px 16px 28px !important; }
  .rubah-page-intro { margin-bottom: 22px !important; }
  .rubah-page-intro h1 { font-size: clamp(31px, 8vw, 40px); }
  .rubah-page-intro p:not(.rubah-page-eyebrow) { font-size: 14px; }
  .rubah-feed-heading { align-items: flex-start; gap: 12px; }
  .rubah-feed-tools { width: 100%; justify-content: space-between; }
  .rubah-category-filter { flex: 1 1 auto; }
  .rubah-category-filter select { width: 100%; min-height: 38px; }
  .rubah-post-grid:not(.is-list-view) { grid-template-columns: minmax(0, 1fr) !important; gap: 16px !important; }
  .rubah-post-card { display: flex !important; flex-direction: column; }
  .rubah-post-card .wp-block-post-featured-image { width: 100%; height: auto !important; min-height: 0 !important; aspect-ratio: 2.15 / 1 !important; }
  .rubah-post-card .wp-block-post-featured-image a { height: 100%; }
  .rubah-post-card__body { min-height: 108px; padding: 13px 16px 22px !important; }
  .rubah-post-card .wp-block-post-title { font-size: 17px; }
  .rubah-card-arrow { right: 15px; bottom: 14px; }
  .rubah-post-grid.is-list-view .rubah-post-card { grid-template-columns: 112px minmax(0,1fr); }
  .rubah-post-grid.is-list-view .rubah-post-card .wp-block-post-featured-image { min-height: 120px !important; }
  .rubah-post-grid.is-list-view .rubah-post-card__body { min-height: 120px; padding: 12px !important; }
  .wp-block-query-pagination { gap: 5px !important; margin-top: 24px !important; }
  .wp-block-query-pagination-numbers { gap: 5px; }
  .wp-block-query-pagination a, .wp-block-query-pagination-numbers .page-numbers { min-width: 40px; height: 40px; min-height: 40px; padding-inline: 12px !important; font-size: 14px; }
  .wp-block-query-pagination-previous::before, .wp-block-query-pagination-next::after { font-size: 23px; }
  .rubah-footer__inner { padding: 10px 16px 14px !important; }
}
@media (max-width: 359px) {
  .wp-block-query-pagination { gap: 4px !important; }
  .wp-block-query-pagination-numbers { gap: 4px; }
  .wp-block-query-pagination a, .wp-block-query-pagination-numbers .page-numbers { min-width: 36px; height: 38px; min-height: 38px; padding-inline: 10px !important; font-size: 13px; }
  .rubah-header__inner { padding-inline: 8px; gap: 5px; }
  .rubah-header__actions { gap: 4px; }
  .rubah-menu-toggle { width: 32px; height: 32px; flex-basis: 32px; }
  .rubah-theme-toggle { width: 32px; height: 32px; flex-basis: 32px; }
  .rubah-header__search .wp-block-search__inside-wrapper { padding-inline: 3px; }
  .rubah-header__search .wp-block-search__input { font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .rubah-post-card, .rubah-post-card .wp-block-post-featured-image img, .rubah-sidebar, .rubah-drawer-overlay { transition: none !important; }
}

/* Archive toolbar spacing and dot colour in the home hero. */
.rubah-search-intro + .rubah-feed-tools { justify-content: flex-end; margin: 0 0 18px; }

/* Mobile brand sizing override: show the full custom logo in the open drawer, not a 40px icon. */
@media (max-width: 719px) {
  body.rubah-menu-open .rubah-sidebar__brand .wp-block-site-logo {
    display: block !important;
    width: 100% !important;
    flex: 0 1 auto !important;
  }
  body.rubah-menu-open .rubah-sidebar__brand .custom-logo {
    display: block !important;
    width: auto !important;
    height: auto !important;
    max-width: 196px !important;
    max-height: 70px !important;
    object-fit: contain !important;
    object-position: left center !important;
  }
}


/* Rubah v1.0.12 — compact typography for the single-post reading view only.
   Archive cards, page titles, sidebar headings, and other templates keep their existing sizes. */
.rubah-single-header .rubah-single-title {
  font-size: 30px;
  line-height: 1.2;
  letter-spacing: -.035em;
}
.rubah-post-content {
  font-size: 16px;
  line-height: 1.6;
}
.rubah-post-content h1 {
  font-size: 30px;
  line-height: 1.2;
  letter-spacing: -.03em;
}
.rubah-post-content h2 {
  font-size: 24px;
  line-height: 1.3;
  letter-spacing: -.02em;
}
.rubah-post-content h3 {
  font-size: 20px;
  line-height: 1.35;
  letter-spacing: -.015em;
}
.rubah-post-content p {
  font-size: 16px;
  line-height: 1.6;
  margin-top: 0;
  margin-bottom: 12px;
}
@media (max-width: 719px) {
  .rubah-single-header .rubah-single-title {
    font-size: 26px;
    line-height: 1.22;
  }
}


/* Rubah v1.0.13 — missing-image placeholders and single-post reading surface. */
:root {
  --rubah-single-section-bg: #ffffff;
  --rubah-single-section-ink: #202124;
}
:root[data-rubah-theme="dark"] {
  --rubah-single-section-bg: #1b2029;
  --rubah-single-section-ink: #e7eaf0;
}
.rubah-single-body-section {
  width: 100%;
  min-width: 0;
  padding: clamp(20px, 2.8vw, 40px);
  border-radius: 24px;
  background: var(--rubah-single-section-bg) !important;
  color: var(--rubah-single-section-ink);
  box-shadow: 0 10px 32px rgba(40, 56, 77, .055);
}
.rubah-single-body-section .rubah-single-header {
  max-width: var(--rubah-reading-max);
  margin-inline: auto;
}
.rubah-single-body-section .rubah-single-title,
body.single-post .rubah-single-title,
body.single-post .wp-block-post-title {
  font-family: "Google Sans Flex", "Google Sans", "Nunito Sans", sans-serif !important;
  font-size: 30px !important;
  line-height: 1.2 !important;
  letter-spacing: -.03em !important;
  overflow-wrap: anywhere;
}
.rubah-single-body-section .rubah-post-content,
body.single-post .rubah-post-content,
body.single-post .wp-block-post-content {
  font-family: "Google Sans Flex", "Google Sans", "Nunito Sans", sans-serif !important;
  font-size: 16px !important;
  line-height: 1.6 !important;
  text-align: left;
}
.rubah-single-body-section .rubah-post-content > *,
body.single-post .rubah-post-content > *,
body.single-post .wp-block-post-content > * {
  text-align: left;
}
.rubah-single-body-section .rubah-post-content h1,
body.single-post .rubah-post-content h1,
body.single-post .wp-block-post-content h1 {
  font-family: "Google Sans Flex", "Google Sans", "Nunito Sans", sans-serif !important;
  font-size: 30px !important;
  line-height: 1.2 !important;
  margin-block: 1.1em .5em !important;
}
.rubah-single-body-section .rubah-post-content h2,
body.single-post .rubah-post-content h2,
body.single-post .wp-block-post-content h2 {
  font-family: "Google Sans Flex", "Google Sans", "Nunito Sans", sans-serif !important;
  font-size: 24px !important;
  line-height: 1.3 !important;
  margin-block: 1.45em .55em !important;
}
.rubah-single-body-section .rubah-post-content h3,
body.single-post .rubah-post-content h3,
body.single-post .wp-block-post-content h3 {
  font-family: "Google Sans Flex", "Google Sans", "Nunito Sans", sans-serif !important;
  font-size: 20px !important;
  line-height: 1.35 !important;
  margin-block: 1.3em .45em !important;
}
.rubah-single-body-section .rubah-post-content :where(p, li, blockquote, figcaption, th, td, dt, dd),
body.single-post .rubah-post-content :where(p, li, blockquote, figcaption, th, td, dt, dd),
body.single-post .wp-block-post-content :where(p, li, blockquote, figcaption, th, td, dt, dd) {
  font-size: 16px !important;
  line-height: 1.6 !important;
}
.rubah-single-body-section .rubah-post-content p,
body.single-post .rubah-post-content p,
body.single-post .wp-block-post-content p {
  margin-block: 0 12px !important;
}
.rubah-single-body-section .rubah-post-content > :where(p, ul, ol, blockquote, pre, table, dl, dt, dd, h1, h2, h3, h4, h5, h6) {
  margin-inline-start: 0 !important;
  margin-inline-end: auto !important;
}
.rubah-single-body-section .rubah-single-featured {
  background: transparent;
}
.rubah-single-body-section .rubah-post-tags,
.rubah-single-body-section .rubah-post-navigation {
  max-width: var(--rubah-reading-max);
  margin-inline: auto;
}
.rubah-placeholder-image {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--rubah-surface);
  line-height: 0;
}
.rubah-placeholder-image > a {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  margin: 0;
  padding: 0;
}
.rubah-placeholder-image > img,
.rubah-placeholder-image img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: inherit;
}
.rubah-post-card .wp-block-post-featured-image.rubah-placeholder-image {
  aspect-ratio: 16 / 9;
}
.rubah-single-featured.rubah-placeholder-image {
  aspect-ratio: 16 / 9;
  max-height: none;
}
.rubah-sidebar .wp-block-latest-posts__featured-image.rubah-placeholder-image {
  grid-column: 1;
  grid-row: 1;
  width: 62px;
  height: 51px;
  aspect-ratio: auto;
  flex: 0 0 62px;
  border-radius: 8px;
}
.rubah-sidebar .wp-block-latest-posts__featured-image.rubah-placeholder-image > a,
.rubah-sidebar .wp-block-latest-posts__featured-image.rubah-placeholder-image img {
  width: 62px;
  height: 51px;
  aspect-ratio: auto;
  border-radius: 8px;
}
@media (max-width: 719px) {
  .rubah-single-body-section {
    padding: 18px 15px;
    border-radius: 18px;
  }
  .rubah-single-body-section .rubah-single-title,
  body.single-post .rubah-single-title,
  body.single-post .wp-block-post-title {
    font-size: 26px !important;
    line-height: 1.22 !important;
  }
}


/* Rubah v1.0.14 — Single Post: featured image first, left-aligned title, related articles at right. */
.rubah-main--single {
  padding-top: clamp(18px, 2.2vw, 30px);
}
.rubah-single-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 0;
  margin: 0 0 20px !important;
  color: var(--rubah-muted);
  font-size: 13px;
  line-height: 1.45;
}
.rubah-breadcrumb-home {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  color: var(--rubah-navy);
}
.rubah-breadcrumb-home svg { display: block; width: 16px; height: 16px; }
.rubah-breadcrumb-separator { color: var(--rubah-muted); }
.rubah-breadcrumb-link,
.rubah-single-breadcrumb__category a {
  color: var(--rubah-muted);
  text-decoration: none;
}
.rubah-breadcrumb-link:hover,
.rubah-single-breadcrumb__category a:hover { color: var(--rubah-orange-deep); }
.rubah-single-breadcrumb__category { display: inline-flex; flex-wrap: wrap; gap: 4px; margin: 0 !important; color: var(--rubah-muted); font-size: 13px; }
.rubah-single-columns {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 32%);
  align-items: start;
  gap: clamp(18px, 2vw, 28px);
  width: 100%;
  max-width: none;
  margin: 0 !important;
}
.rubah-single-body-section {
  align-self: start;
  min-width: 0;
  width: 100%;
  margin: 0 !important;
  padding: clamp(18px, 2.2vw, 32px);
  border-radius: 22px;
  background: var(--rubah-single-section-bg, #fff) !important;
  color: var(--rubah-single-section-ink, var(--rubah-ink));
  box-shadow: 0 6px 22px rgba(40, 56, 77, .045);
}
.rubah-single-featured {
  display: block;
  width: 100%;
  margin: 0 0 20px !important;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  background: var(--rubah-surface);
}
.rubah-single-featured img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 540px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.rubah-single-body-section .rubah-single-header {
  width: 100%;
  max-width: none;
  margin: 0 0 24px !important;
  text-align: left;
}
.rubah-single-header .rubah-single-categories { margin: 0 0 10px !important; }
.rubah-single-header .rubah-single-title {
  max-width: 100%;
  margin: 0 0 14px !important;
  text-align: left !important;
  font-size: 30px !important;
  line-height: 1.2 !important;
  letter-spacing: -.03em !important;
  overflow-wrap: anywhere;
}
.rubah-single-header .rubah-post-meta { justify-content: flex-start; text-align: left; }
.rubah-single-body-section .rubah-post-content {
  width: 100%;
  max-width: none;
  margin: 0 !important;
  text-align: left;
  overflow-wrap: anywhere;
}
.rubah-single-body-section .rubah-post-content > * { max-width: var(--rubah-reading-max, 760px); margin-inline: 0 auto; }
.rubah-single-body-section .rubah-post-content > .alignwide,
.rubah-single-body-section .rubah-post-content > .alignfull,
.rubah-single-body-section .rubah-post-content > .wp-block-image.alignwide,
.rubah-single-body-section .rubah-post-content > .wp-block-image.alignfull,
.rubah-single-body-section .rubah-post-content > .wp-block-gallery.alignwide,
.rubah-single-body-section .rubah-post-content > .wp-block-gallery.alignfull,
.rubah-single-body-section .rubah-post-content > .wp-block-embed.alignwide,
.rubah-single-body-section .rubah-post-content > .wp-block-embed.alignfull { max-width: 100%; margin-inline: 0; }
.rubah-single-body-section .rubah-post-tags { width: 100%; max-width: none; margin: 28px 0 0 !important; }
.rubah-single-body-section .rubah-post-navigation { width: 100%; max-width: none; }
.rubah-related-sidebar {
  position: sticky;
  top: 18px;
  align-self: start;
  min-width: 0;
  max-height: calc(100vh - 36px);
  max-height: calc(100dvh - 36px);
  overflow-y: auto;
  overscroll-behavior-y: contain;
  scrollbar-gutter: stable;
  scrollbar-width: thin;
  scrollbar-color: rgba(145, 153, 164, .58) transparent;
  margin: 0 !important;
  padding: 22px;
  border-radius: 20px;
  background: var(--rubah-card);
  color: var(--rubah-ink);
  box-shadow: 0 4px 20px rgba(40, 56, 77, .06);
  -webkit-overflow-scrolling: touch;
}
/* v1.0.51 — an ultra-soft translucent capsule scrollbar, isolated to the related-post card. */
.rubah-related-sidebar {
  scrollbar-color: rgba(139, 150, 163, .28) transparent;
}
.rubah-related-sidebar:hover {
  scrollbar-color: rgba(139, 150, 163, .40) transparent;
}
.rubah-related-sidebar::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}
.rubah-related-sidebar::-webkit-scrollbar-track {
  background: transparent;
  border-radius: 999px;
  margin-block: 12px;
}
.rubah-related-sidebar::-webkit-scrollbar-thumb {
  min-height: 32px;
  background-color: rgba(139, 150, 163, .26);
  border: 1px solid transparent;
  border-radius: 999px;
  background-clip: padding-box;
  transition: background-color .18s ease;
}
.rubah-related-sidebar::-webkit-scrollbar-thumb:hover {
  background-color: rgba(224, 137, 76, .34);
}
.rubah-related-sidebar::-webkit-scrollbar-thumb:active {
  background-color: rgba(224, 137, 76, .48);
}
:root[data-rubah-theme="dark"] .rubah-related-sidebar {
  scrollbar-color: rgba(169, 180, 193, .23) transparent;
}
:root[data-rubah-theme="dark"] .rubah-related-sidebar:hover {
  scrollbar-color: rgba(169, 180, 193, .36) transparent;
}
:root[data-rubah-theme="dark"] .rubah-related-sidebar::-webkit-scrollbar-thumb {
  background-color: rgba(169, 180, 193, .22);
}
:root[data-rubah-theme="dark"] .rubah-related-sidebar::-webkit-scrollbar-thumb:hover {
  background-color: rgba(242, 164, 111, .38);
}
:root[data-rubah-theme="dark"] .rubah-related-sidebar::-webkit-scrollbar-thumb:active {
  background-color: rgba(242, 164, 111, .52);
}
.rubah-related-heading {
  margin: 0 0 18px !important;
  color: var(--rubah-navy);
  font-family: "Google Sans Flex", "Google Sans", "Nunito Sans", sans-serif;
  font-size: 22px;
  line-height: 1.3;
  letter-spacing: -.02em;
}
.rubah-related-list { display: grid !important; grid-template-columns: minmax(0, 1fr); gap: 16px; margin: 0 !important; padding: 0 !important; list-style: none; }
.rubah-related-list > li { margin: 0 !important; padding: 0 !important; list-style: none; }
.rubah-related-card {
  display: grid;
  grid-template-columns: minmax(82px, 34%) minmax(0, 1fr);
  align-items: start;
  gap: 12px;
  min-width: 0;
  margin: 0 !important;
  padding: 0;
  border-radius: 12px;
  background: transparent;
  cursor: pointer;
}
.rubah-related-card:hover .rubah-related-card__title a { color: var(--rubah-orange-deep); }
.rubah-related-card__image {
  grid-column: 1;
  grid-row: 1 / span 2;
  width: 100%;
  min-width: 0;
  margin: 0 !important;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border-radius: 10px;
  background: var(--rubah-surface);
}
.rubah-related-card__image a { display: block; width: 100%; height: 100%; }
.rubah-related-card__image img { display: block; width: 100%; height: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.rubah-related-card__body { min-width: 0; margin: 0 !important; }
.rubah-related-card__category { margin: 0 0 5px !important; color: var(--rubah-orange-deep); font-size: 10px; font-weight: 750; line-height: 1.3; }
.rubah-related-card__category a { display: inline-block; color: inherit; text-decoration: none; }
.rubah-related-card__title { margin: 0 !important; font-size: 14px; line-height: 1.4; overflow-wrap: anywhere; }
.rubah-related-card__title a { color: var(--rubah-navy); text-decoration: none; transition: color .16s ease; }
.rubah-related-empty { margin: 0 !important; color: var(--rubah-muted); font-size: 14px; line-height: 1.6; }
:root[data-rubah-theme="dark"] .rubah-related-sidebar {
  background: #1b2029;
  color: var(--rubah-ink);
  box-shadow: 0 4px 20px rgba(0, 0, 0, .14);
}
:root[data-rubah-theme="dark"] .rubah-related-heading,
:root[data-rubah-theme="dark"] .rubah-related-card__title a { color: var(--rubah-navy); }
:root[data-rubah-theme="dark"] .rubah-related-card:hover .rubah-related-card__title a { color: var(--rubah-orange-deep); }
@media (max-width: 1050px) {
  .rubah-single-columns { grid-template-columns: minmax(0, 1fr) minmax(230px, 31%); gap: 18px; }
  .rubah-related-sidebar { padding: 18px; }
  .rubah-related-card { grid-template-columns: minmax(72px, 32%) minmax(0, 1fr); gap: 10px; }
  .rubah-related-card__title { font-size: 13px; }
}
@media (max-width: 900px) {
  .rubah-single-columns { grid-template-columns: minmax(0, 1fr); }
  .rubah-related-sidebar {
    position: static;
    width: 100%;
    max-height: none;
    overflow-y: visible;
    overscroll-behavior-y: auto;
    scrollbar-gutter: auto;
  }
  .rubah-related-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .rubah-related-card { grid-template-columns: 96px minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .rubah-main--single { padding-top: 16px; }
  .rubah-single-breadcrumb { gap: 5px; margin-bottom: 14px !important; font-size: 12px; }
  .rubah-single-columns { gap: 16px; }
  .rubah-single-body-section { padding: 14px; border-radius: 16px; }
  .rubah-single-featured { margin-bottom: 16px !important; border-radius: 12px; }
  .rubah-single-header { margin-bottom: 18px !important; }
  .rubah-single-header .rubah-single-title { font-size: 26px !important; line-height: 1.22 !important; }
  .rubah-related-sidebar { padding: 16px; border-radius: 16px; }
  .rubah-related-heading { font-size: 20px; }
  .rubah-related-list { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .rubah-related-card { grid-template-columns: 100px minmax(0, 1fr); gap: 12px; }
  .rubah-related-card__title { font-size: 14px; }
}


/* Rubah v1.0.15 — single-post topbar breadcrumb, smaller related titles, full-bleed featured image, and BisaBaca light text color. */
:root:not([data-rubah-theme="dark"]) {
  --rubah-ink: #16212E;
  --rubah-navy: #28384D;
  --rubah-sidebar-link: #16212E;
  --rubah-single-section-ink: #16212E;
}

/* Display the breadcrumb in the topbar only on single posts. */
.rubah-header__breadcrumb { display: none; }
body.single-post .rubah-header__inner {
  justify-content: space-between;
  gap: clamp(8px, 1.2vw, 16px);
}
body.single-post .rubah-header__breadcrumb {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  flex-wrap: nowrap;
  gap: 7px;
  min-width: 0;
  margin: 0 !important;
  overflow: hidden;
  color: var(--rubah-muted);
  font-size: 13px;
  line-height: 1.35;
  white-space: nowrap;
}
.rubah-header__breadcrumb .rubah-breadcrumb-home { flex: 0 0 22px; }
.rubah-header__breadcrumb .rubah-breadcrumb-link,
.rubah-header__breadcrumb .rubah-single-breadcrumb__category,
.rubah-header__breadcrumb .rubah-single-breadcrumb__category a,
.rubah-header__breadcrumb .rubah-breadcrumb-separator { flex: 0 0 auto; }
.rubah-header__breadcrumb .rubah-single-breadcrumb__category { display: inline-flex; flex-wrap: nowrap; gap: 4px; margin: 0 !important; font-size: 13px; }
.rubah-header__breadcrumb-current {
  display: block;
  flex: 1 1 auto;
  min-width: 0;
  margin: 0 !important;
  overflow: hidden;
  color: var(--rubah-navy) !important;
  font-family: "Google Sans Flex", "Google Sans", "Nunito Sans", sans-serif !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  line-height: 1.35 !important;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Article image bleeds to the full outer width of its white reading section. */
.rubah-single-body-section {
  --rubah-single-pad: clamp(18px, 2.2vw, 32px);
  padding: var(--rubah-single-pad) !important;
}
.rubah-single-body-section .rubah-single-featured {
  width: calc(100% + var(--rubah-single-pad) + var(--rubah-single-pad));
  max-width: none !important;
  margin-top: calc(0px - var(--rubah-single-pad)) !important;
  margin-right: calc(0px - var(--rubah-single-pad)) !important;
  margin-bottom: 20px !important;
  margin-left: calc(0px - var(--rubah-single-pad)) !important;
  border-radius: 22px 22px 0 0 !important;
}
.rubah-single-body-section .rubah-single-featured img {
  display: block;
  width: 100%;
  max-width: none;
  height: 100%;
  object-fit: cover;
}

/* Gutenberg post-title block styles can outrank the base heading selector; scope specifically to related-card titles. */
.rubah-related-card .wp-block-post-title.rubah-related-card__title,
.rubah-related-card .wp-block-post-title.rubah-related-card__title a {
  font-family: "Google Sans Flex", "Google Sans", "Nunito Sans", sans-serif !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
  letter-spacing: -.02em !important;
  overflow-wrap: anywhere;
}

@media (min-width: 1100px) {
  .rubah-header__brand-controls { display: none !important; }
  body.single-post .rubah-header__breadcrumb { flex: 1 1 auto; }
  body.single-post .rubah-header__actions { flex: 0 0 min(475px, 44%); width: min(475px, 44%); max-width: 475px; margin-left: auto; }
}
@media (min-width: 720px) and (max-width: 1099px) {
  .rubah-header__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 4px 10px; padding-block: 10px; }
  .rubah-header__brand-controls { display: none !important; }
  body.single-post .rubah-header__breadcrumb { order: 0; flex: 0 0 100%; width: 100%; }
  .rubah-header__actions { order: 1; margin-left: auto; }
  .rubah-related-card .wp-block-post-title.rubah-related-card__title,
  .rubah-related-card .wp-block-post-title.rubah-related-card__title a { font-size: 14px !important; }
}
@media (max-width: 719px) {
  .rubah-header__inner { flex-wrap: wrap !important; align-items: center; }
  .rubah-header__brand-controls { display: flex !important; order: 0; width: auto !important; flex: 0 0 auto; }
  .rubah-header__actions { order: 1; width: auto !important; max-width: none; flex: 1 1 0; min-width: 0; margin-left: auto; }
  body.single-post .rubah-header__breadcrumb { order: 2; flex: 0 0 100%; width: 100%; gap: 5px; padding: 2px 0 3px; font-size: 12px; }
  .rubah-header__breadcrumb .rubah-single-breadcrumb__category { font-size: 12px; }
  .rubah-header__breadcrumb-current { font-size: 12px !important; }
  .rubah-single-body-section { --rubah-single-pad: 14px; padding: var(--rubah-single-pad) !important; border-radius: 16px !important; }
  .rubah-single-body-section .rubah-single-featured { margin-top: calc(0px - var(--rubah-single-pad)) !important; margin-right: calc(0px - var(--rubah-single-pad)) !important; margin-left: calc(0px - var(--rubah-single-pad)) !important; margin-bottom: 16px !important; width: calc(100% + var(--rubah-single-pad) + var(--rubah-single-pad)); border-radius: 16px 16px 0 0 !important; }
  .rubah-related-card .wp-block-post-title.rubah-related-card__title,
  .rubah-related-card .wp-block-post-title.rubah-related-card__title a { font-size: 15px !important; }
}

/* Rubah v1.0.18 — approved BisaBaca Full Colour Blob treatment.
   The blob shape/gradient layers mirror the approved Homepage and Access Core style.
   The hero remains full-bleed inside the content column only; the left sidebar is untouched. */
.rubah-page-intro--blob {
  --rubah-hero-inline-pad: clamp(24px, 2.45vw, 42px);
  position: relative !important;
  isolation: isolate;
  display: flow-root;
  width: calc(100% + var(--rubah-hero-inline-pad) + var(--rubah-hero-inline-pad)) !important;
  max-width: none !important;
  margin-top: -27px !important;
  margin-right: calc(0px - var(--rubah-hero-inline-pad)) !important;
  margin-bottom: clamp(32px, 3.6vw, 46px) !important;
  margin-left: calc(0px - var(--rubah-hero-inline-pad)) !important;
  padding: clamp(34px, 4.6vw, 62px) var(--rubah-hero-inline-pad) clamp(32px, 4.2vw, 54px) !important;
  border: 0 !important;
  border-radius: 0 !important;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 10% 12%, rgba(255, 216, 77, .55) 0%, rgba(255, 216, 77, 0) 35%),
    radial-gradient(ellipse at 88% 87%, rgba(255, 184, 28, .36) 0%, rgba(255, 184, 28, 0) 34%),
    linear-gradient(135deg, #FF6D00 0%, #F4511E 44%, #FF7A1A 70%, #FF922B 100%) !important;
  color: #16212E !important;
  box-shadow: 0 20px 48px rgba(244, 81, 30, .13) !important;
}

/* Canonical organic blob forms from the approved BisaBaca hero style. */
.rubah-page-intro--blob::before,
.rubah-page-intro--blob::after {
  content: "";
  position: absolute;
  z-index: 0;
  display: block;
  pointer-events: none;
  border: 0;
}
.rubah-page-intro--blob::before {
  width: min(58vw, 610px);
  height: min(54vw, 560px);
  left: -18%;
  top: -20%;
  border-radius: 37% 63% 48% 52% / 48% 36% 64% 52%;
  background: linear-gradient(145deg, rgba(255, 216, 77, .37), rgba(255, 255, 255, .10) 58%, rgba(255, 146, 43, .06));
  transform: rotate(-17deg);
  box-shadow: 115px 135px 0 -28px rgba(255, 255, 255, .075);
}
.rubah-page-intro--blob::after {
  width: min(49vw, 510px);
  height: min(48vw, 500px);
  right: -17%;
  bottom: -25%;
  border-radius: 58% 42% 37% 63% / 39% 51% 49% 61%;
  background: linear-gradient(145deg, rgba(255, 216, 77, .54), rgba(255, 184, 28, .18) 54%, rgba(255, 255, 255, .08));
  transform: rotate(19deg);
  box-shadow: -100px -95px 0 -36px rgba(255, 255, 255, .12);
}
.rubah-page-intro--blob > * {
  position: relative;
  z-index: 1;
}
.rubah-page-intro--blob .rubah-page-eyebrow,
.rubah-page-intro--blob h1,
.rubah-page-intro--blob h1 .rubah-title-dot,
.rubah-page-intro--blob p:not(.rubah-page-eyebrow) {
  color: #16212E !important;
}
.rubah-page-intro--blob h1 {
  text-wrap: balance;
  letter-spacing: -0.035em;
}
.rubah-page-intro--blob p:not(.rubah-page-eyebrow) {
  text-wrap: pretty;
}

/* Match the main column's exact padding so the blob touches the hero area's edges. */
@media (min-width: 1280px) {
  .rubah-page-intro--blob {
    --rubah-hero-inline-pad: clamp(24px, 2.45vw, 42px);
    margin-top: -27px !important;
  }
}
@media (min-width: 720px) and (max-width: 1279px) {
  .rubah-page-intro--blob {
    --rubah-hero-inline-pad: clamp(20px, 2.5vw, 30px);
    margin-top: -26px !important;
    padding-top: clamp(32px, 4.3vw, 48px) !important;
    padding-bottom: clamp(30px, 4vw, 44px) !important;
  }
}
@media (max-width: 719px) {
  .rubah-page-intro--blob {
    --rubah-hero-inline-pad: 16px;
    margin-top: -24px !important;
    margin-bottom: 30px !important;
    padding-top: 32px !important;
    padding-bottom: 32px !important;
  }
}
@media (max-width: 600px) {
  .rubah-page-intro--blob::before {
    width: 310px;
    height: 280px;
    left: -110px;
    top: -80px;
  }
  .rubah-page-intro--blob::after {
    width: 270px;
    height: 260px;
    right: -95px;
    bottom: -105px;
  }
}


/* Rubah v1.0.19 — UI polish and relevant single-post sharing. */

/* Keep the topbar breadcrumb vertically centered and balanced against 44px controls. */
body.single-post .rubah-header__inner {
  align-items: center;
}
body.single-post .rubah-header__breadcrumb {
  align-self: center;
  display: flex;
  align-items: center;
  min-height: 44px;
  padding-block: 0;
  margin-block: 0 !important;
  line-height: 1.35;
  box-sizing: border-box;
}
body.single-post .rubah-header__breadcrumb .rubah-breadcrumb-home,
body.single-post .rubah-header__breadcrumb .rubah-breadcrumb-link,
body.single-post .rubah-header__breadcrumb .rubah-single-breadcrumb__category,
body.single-post .rubah-header__breadcrumb .rubah-breadcrumb-separator {
  display: inline-flex;
  align-items: center;
  align-self: center;
  line-height: 1.35;
}
body.single-post .rubah-header__breadcrumb .rubah-breadcrumb-home {
  min-height: 44px;
  justify-content: center;
}
body.single-post .rubah-header__breadcrumb .rubah-breadcrumb-home svg {
  display: block;
  width: 18px;
  height: 18px;
}

/* Use white hero copy on the canonical BisaBaca Full Colour Blob. */
.rubah-page-intro--blob,
.rubah-page-intro--blob .rubah-page-eyebrow,
.rubah-page-intro--blob h1,
.rubah-page-intro--blob h1 .rubah-title-dot,
.rubah-page-intro--blob p:not(.rubah-page-eyebrow),
.rubah-page-intro--blob strong,
.rubah-page-intro--blob a {
  color: #FFFFFF !important;
}
.rubah-page-intro--blob .rubah-page-eyebrow,
.rubah-page-intro--blob h1,
.rubah-page-intro--blob p:not(.rubah-page-eyebrow) {
  text-shadow: 0 1px 2px rgba(71, 27, 0, .28);
}

/* Single-post category terms become clearly readable capsule badges under the featured image. */
.rubah-single-header .rubah-single-categories {
  display: inline-flex !important;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  width: fit-content;
  max-width: 100%;
  margin: 0 0 12px !important;
  padding: 5px 12px !important;
  border-radius: 999px !important;
  background: var(--rubah-orange) !important;
  color: #FFFFFF !important;
  font-size: 12px !important;
  font-weight: 750 !important;
  letter-spacing: 0 !important;
  line-height: 1.35 !important;
  text-transform: none !important;
}
.rubah-single-header .rubah-single-categories a,
.rubah-single-header .rubah-single-categories .wp-block-post-terms__separator {
  color: #FFFFFF !important;
  text-decoration: none !important;
}
.rubah-single-header .rubah-single-categories a:hover {
  color: #FFFFFF !important;
  text-decoration: underline !important;
  text-underline-offset: 2px;
}

/* Share-post row: accessible pill buttons matching the existing Material 3 language. */
.rubah-share-post {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  width: 100%;
  margin: 4px 0 24px !important;
  padding: 12px 14px;
  border-radius: 16px;
  background: linear-gradient(110deg, #FFF0E5 0%, #FFE6D7 52%, #FFF3E8 100%);
  color: #16212E;
  box-shadow: 0 2px 10px rgba(244, 81, 30, .07);
  font-family: "Google Sans Flex", "Google Sans", "Nunito Sans", sans-serif;
}
.rubah-share-post__label {
  flex: 0 0 auto;
  margin-right: 2px;
  color: var(--rubah-muted-strong);
  font-size: 13px;
  font-weight: 700;
}
.rubah-share-post__button {
  display: inline-flex;
  flex: 0 0 38px;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: #FFFFFF !important;
  color: var(--rubah-navy) !important;
  text-decoration: none !important;
  box-shadow: none !important;
  transition: background-color .16s ease, color .16s ease, transform .16s ease;
}
.rubah-share-post__button svg {
  display: block;
  width: 18px;
  height: 18px;
}
.rubah-share-post__button:hover {
  background: var(--rubah-orange-soft) !important;
  color: var(--rubah-hover-text) !important;
  transform: translateY(-1px);
}
.rubah-share-post__button:focus-visible {
  outline: 3px solid rgba(255, 109, 0, .65) !important;
  outline-offset: 2px !important;
}
.rubah-share-post__status {
  flex: 1 0 100%;
  min-height: 0;
  margin: 0 !important;
  color: var(--rubah-muted-strong);
  font-size: 12px;
  line-height: 1.45;
}
.rubah-share-post__status:empty { display: none; }
:root[data-rubah-theme="dark"] .rubah-share-post {
  background: var(--rubah-card);
  color: #F2F5FA;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .16);
}
:root[data-rubah-theme="dark"] .rubah-share-post__button {
  background: #252d38 !important;
  color: #F2F5FA !important;
}
:root[data-rubah-theme="dark"] .rubah-share-post__button:hover {
  background: #3A2A22 !important;
  color: #FFD4B3 !important;
}
:root[data-rubah-theme="dark"] .rubah-share-post__label,
:root[data-rubah-theme="dark"] .rubah-share-post__status {
  color: #C7D0DC;
}

/* Improve sidebar contrast in Light Mode without changing the active orange state. */
:root:not([data-rubah-theme="dark"]) .rubah-sidebar .wp-block-categories a,
:root:not([data-rubah-theme="dark"]) .rubah-sidebar .wp-block-page-list a,
:root:not([data-rubah-theme="dark"]) .rubah-sidebar .wp-block-latest-posts a,
:root:not([data-rubah-theme="dark"]) .rubah-sidebar .wp-block-latest-posts__list a,
:root:not([data-rubah-theme="dark"]) .rubah-sidebar .rubah-sidebar-nav__link {
  color: #16212E !important;
}
:root:not([data-rubah-theme="dark"]) .rubah-sidebar__section > .wp-block-heading,
:root:not([data-rubah-theme="dark"]) .rubah-sidebar__eyebrow {
  color: #28384D !important;
}
:root:not([data-rubah-theme="dark"]) .rubah-sidebar .wp-block-categories .current-cat > a,
:root:not([data-rubah-theme="dark"]) .rubah-sidebar .wp-block-categories .current-cat-parent > a,
:root:not([data-rubah-theme="dark"]) .rubah-sidebar .wp-block-page-list .current_page_item > a,
:root:not([data-rubah-theme="dark"]) .rubah-sidebar a.rubah-nav-link--active {
  color: #FFFFFF !important;
}

@media (min-width: 720px) and (max-width: 1099px) {
  body.single-post .rubah-header__breadcrumb {
    min-height: 36px;
    padding-block: 4px;
  }
  body.single-post .rubah-header__breadcrumb .rubah-breadcrumb-home { min-height: 28px; }
}
@media (max-width: 719px) {
  body.single-post .rubah-header__breadcrumb {
    min-height: 34px;
    padding-block: 4px !important;
    align-items: center;
    line-height: 1.35;
  }
  body.single-post .rubah-header__breadcrumb .rubah-breadcrumb-home { min-height: 26px; }
  .rubah-share-post { gap: 7px; margin-bottom: 20px !important; }
  .rubah-share-post__button { flex-basis: 36px; width: 36px; height: 36px; }
}


/* Rubah v1.0.21 — hero title weight, homepage breadcrumb alignment, and share option cleanup. */
/* Keep the white hero title confident without the previous extra-bold weight. */
.rubah-page-intro--blob h1 {
  font-weight: 600 !important;
}

/* Breadcrumbs supplied by homepage/archive template customizations should sit
   in the middle of the topbar height, with a small downward optical correction.
   Single-post breadcrumb keeps its existing dedicated alignment rules. */
body:not(.single-post) .rubah-header__breadcrumb {
  align-self: center;
  align-items: center;
  margin-block: 0 !important;
  padding-block: 0 !important;
  line-height: 1.35;
  box-sizing: border-box;
  transform: translateY(3px);
}
body:not(.single-post) .rubah-header__breadcrumb .rubah-breadcrumb-home,
body:not(.single-post) .rubah-header__breadcrumb .rubah-breadcrumb-link,
body:not(.single-post) .rubah-header__breadcrumb .rubah-single-breadcrumb__category,
body:not(.single-post) .rubah-header__breadcrumb .rubah-breadcrumb-separator {
  display: inline-flex;
  align-items: center;
  align-self: center;
  line-height: 1.35;
}
body:not(.single-post) .rubah-header__breadcrumb .rubah-breadcrumb-home {
  min-height: 44px;
  justify-content: center;
}
body:not(.single-post) .rubah-header__breadcrumb .rubah-breadcrumb-home svg {
  display: block;
  width: 18px;
  height: 18px;
}

/* Rubah v1.0.23 — ranked related posts, true load-more batches, and official BisaBaca logo. */
/* Rubah v1.0.24 — slightly smaller sidebar logo and independently scrollable sticky related-post panel. */
.rubah-sidebar__brand .rubah-sidebar__official-logo-link {
  display: block;
  width: 100%;
  max-width: 189px;
  margin: 0 !important;
  line-height: 0;
  text-decoration: none;
}
.rubah-sidebar__brand .rubah-sidebar__official-logo {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  max-width: 189px !important;
  max-height: 67px !important;
  object-fit: contain !important;
  object-position: left center !important;
}
.rubah-related-load-more-wrap {
  display: flex;
  justify-content: center;
  width: 100%;
  margin: 18px 0 0 !important;
}
.rubah-related-load-more__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 18px;
  border: 0 !important;
  border-radius: 999px !important;
  background: linear-gradient(105deg, #F4511E 0%, #FF6D00 62%, #FF922B 100%) !important;
  color: #FFFFFF !important;
  font-family: "Google Sans Flex", "Google Sans", "Nunito Sans", sans-serif;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
  cursor: pointer;
  box-shadow: 0 3px 9px rgba(244, 81, 30, .15);
  transition: transform .16s ease, box-shadow .16s ease, opacity .16s ease;
}
.rubah-related-load-more__button:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 5px 13px rgba(244, 81, 30, .22);
}
.rubah-related-load-more__button:focus-visible {
  outline: 3px solid rgba(255, 109, 0, .48) !important;
  outline-offset: 3px !important;
}
.rubah-related-load-more__button:disabled {
  cursor: progress;
  opacity: .7;
}
.rubah-related-load-more__status {
  flex: 0 0 100%;
  width: 100%;
  text-align: center;
  margin: 8px 0 0 !important;
  color: var(--rubah-muted-strong);
  font-size: 12px;
  line-height: 1.45;
}

/* Keep category labels readable when hovered; non-selected items must not turn white on a pale surface. */
:root:not([data-rubah-theme="dark"]) .rubah-sidebar .wp-block-categories li:not(.current-cat):not(.current-cat-parent) > a:hover,
:root:not([data-rubah-theme="dark"]) .rubah-related-card__category a:hover,
:root:not([data-rubah-theme="dark"]) .rubah-single-header .rubah-single-categories a:hover {
  color: #542400 !important;
}
:root[data-rubah-theme="dark"] .rubah-sidebar .wp-block-categories li:not(.current-cat):not(.current-cat-parent) > a:hover {
  background: #4B3020 !important;
  color: #FFDEC6 !important;
}
:root[data-rubah-theme="dark"] .rubah-related-card__category a:hover {
  color: #FFB77E !important;
}
:root[data-rubah-theme="dark"] .rubah-single-header .rubah-single-categories a:hover {
  color: #542400 !important;
}
@media (max-width: 719px) {
  body.rubah-menu-open .rubah-sidebar__brand .rubah-sidebar__official-logo-link {
    display: block !important;
    width: 100% !important;
    max-width: 170px !important;
    margin-inline: auto !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
  body.rubah-menu-open .rubah-sidebar__brand .rubah-sidebar__official-logo {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    max-width: 170px !important;
    max-height: 60px !important;
    margin-inline: auto !important;
    object-position: center center !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
  .rubah-related-load-more__button { max-width: 100%; }
}


/* Rubah v1.0.25 final overrides: centered, compact official sidebar logo. */
.rubah-sidebar__brand:has(.rubah-sidebar__official-logo) { align-items: center !important; }
.rubah-sidebar__brand .rubah-sidebar__official-logo-link {
  width: 100% !important;
  max-width: 170px !important;
  margin-inline: auto !important;
  text-align: center !important;
}
.rubah-sidebar__brand .rubah-sidebar__official-logo {
  width: 100% !important;
  max-width: 170px !important;
  max-height: 60px !important;
  margin-inline: auto !important;
  object-position: center center !important;
}
@media (max-width: 719px) {
  body.rubah-menu-open .rubah-sidebar__brand .rubah-sidebar__official-logo-link,
  body.rubah-menu-open .rubah-sidebar__brand .rubah-sidebar__official-logo {
    max-width: 170px !important;
    max-height: 60px !important;
    margin-inline: auto !important;
    object-position: center center !important;
  }
}

/* Rubah v1.0.26 — homepage breadcrumb reduced to the Home icon only. */
/* Keep the full breadcrumb on single posts. On the blog front page, hide the
   redundant Blog/category/title labels and separators while retaining Home. */
body.home .rubah-header__breadcrumb {
  display: flex !important;
  flex: 0 0 24px;
  align-items: center;
  gap: 0;
  min-width: 24px;
  margin: 0 !important;
  overflow: visible;
}
body.home .rubah-header__breadcrumb .rubah-breadcrumb-link,
body.home .rubah-header__breadcrumb .rubah-single-breadcrumb__category,
body.home .rubah-header__breadcrumb .rubah-breadcrumb-separator,
body.home .rubah-header__breadcrumb .rubah-header__breadcrumb-current {
  display: none !important;
}



/* Rubah v1.0.27 — topic index, gentle light sidebar shadow, and unified select controls. */
:root:not([data-rubah-theme="dark"]) .rubah-sidebar {
  box-shadow: 2px 0 8px rgba(35, 60, 91, .04) !important;
}
:root[data-rubah-theme="dark"] .rubah-sidebar {
  box-shadow: none !important;
}

/* Use one dropdown treatment for the home/archive category filter and any
   WordPress Categories dropdown block added in content or the sidebar. */
.rubah-category-filter select,
.rubah-main .wp-block-categories select,
.rubah-sidebar .wp-block-categories select {
  appearance: none;
  -webkit-appearance: none;
  width: 178px;
  min-width: 0;
  min-height: 38px;
  padding: 8px 36px 8px 14px;
  border: 0 !important;
  border-radius: 11px;
  background-color: var(--rubah-card) !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='m6 9 6 6 6-6' stroke='%23243c5b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 14px 14px;
  color: var(--rubah-navy) !important;
  box-shadow: inset 0 0 0 1px rgba(118, 141, 173, .18);
  font-family: "Google Sans Flex", "Google Sans", "Nunito Sans", sans-serif;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.4;
}
.rubah-main .wp-block-categories select,
.rubah-sidebar .wp-block-categories select {
  max-width: 100%;
}
.rubah-category-filter select:focus-visible,
.rubah-main .wp-block-categories select:focus-visible,
.rubah-sidebar .wp-block-categories select:focus-visible {
  outline: 3px solid rgba(255, 109, 0, .48);
  outline-offset: 2px;
}
:root[data-rubah-theme="dark"] .rubah-category-filter select,
:root[data-rubah-theme="dark"] .rubah-main .wp-block-categories select,
:root[data-rubah-theme="dark"] .rubah-sidebar .wp-block-categories select {
  background-color: #242a34 !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='m6 9 6 6 6-6' stroke='%23e0e9f5' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  color: var(--rubah-ink) !important;
  box-shadow: inset 0 0 0 1px rgba(186, 201, 222, .1);
}

/* The Topik page is populated from WordPress categories by functions.php. */
.rubah-topic-index { width: 100%; max-width: 1120px; margin: 0 auto; }
.rubah-topic-index__intro { margin: 0 0 clamp(22px, 3vw, 34px) !important; }
.rubah-topic-index__intro h1 { max-width: none; margin: 0 0 10px !important; color: var(--rubah-navy); font-size: clamp(30px, 3.5vw, 42px); font-weight: 750; line-height: 1.16; letter-spacing: -.04em; }
.rubah-topic-index__intro h1 .rubah-title-dot { color: var(--rubah-orange); }
.rubah-topic-index__intro p:not(.rubah-page-eyebrow) { max-width: 70ch; margin: 0 !important; color: var(--rubah-muted); font-size: 15px; line-height: 1.6; }
.rubah-topic-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.rubah-topic-card { display: flex; align-items: center; gap: 13px; min-width: 0; min-height: 86px; padding: 16px; border: 1px solid rgba(118, 141, 173, .14); border-radius: 16px; background: var(--rubah-card); box-shadow: var(--rubah-shadow); color: var(--rubah-navy); text-decoration: none; transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease; }
.rubah-topic-card:hover, .rubah-topic-card:focus-visible { transform: translateY(-2px); border-color: rgba(255, 109, 0, .34); box-shadow: 0 4px 12px rgba(35, 60, 91, .07), 0 10px 24px rgba(35, 60, 91, .06); color: var(--rubah-navy); }
.rubah-topic-card__icon { display: inline-flex; flex: 0 0 42px; width: 42px; height: 42px; align-items: center; justify-content: center; border-radius: 13px; background: var(--rubah-orange-soft); color: var(--rubah-orange-deep); }
.rubah-topic-card__icon svg { display: block; width: 21px; height: 21px; }
.rubah-topic-card__body { display: flex; flex: 1 1 auto; flex-direction: column; min-width: 0; gap: 3px; }
.rubah-topic-card__name { color: var(--rubah-navy); font-size: 15px; font-weight: 750; line-height: 1.35; overflow-wrap: anywhere; }
.rubah-topic-card__count { color: var(--rubah-muted); font-size: 12px; line-height: 1.4; }
.rubah-topic-card__arrow { display: inline-flex; flex: 0 0 18px; width: 18px; height: 18px; align-items: center; justify-content: center; color: var(--rubah-orange-deep); }
.rubah-topic-card__arrow svg { display: block; width: 17px; height: 17px; }
.rubah-topic-index__empty { padding: 20px; border: 1px solid var(--rubah-border); border-radius: 14px; background: var(--rubah-card); color: var(--rubah-muted); }
:root[data-rubah-theme="dark"] .rubah-topic-card { border-color: rgba(186, 201, 222, .09); }
:root[data-rubah-theme="dark"] .rubah-topic-card:hover,
:root[data-rubah-theme="dark"] .rubah-topic-card:focus-visible { border-color: rgba(255, 183, 125, .32); box-shadow: 0 4px 12px rgba(0, 0, 0, .18), 0 10px 24px rgba(0, 0, 0, .14); }
:root[data-rubah-theme="dark"] .rubah-topic-card__icon { background: #3a281e; color: #ffc69a; }
@media (max-width: 1100px) {
  .rubah-topic-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 719px) {
  .rubah-category-filter select,
  .rubah-main .wp-block-categories select,
  .rubah-sidebar .wp-block-categories select { width: 100%; }
  .rubah-topic-grid { grid-template-columns: minmax(0, 1fr); gap: 11px; }
  .rubah-topic-card { min-height: 78px; padding: 13px; }
  .rubah-category-filter select,
  .rubah-main .wp-block-categories select,
  .rubah-sidebar .wp-block-categories select { width: 100%; }
}


/* Rubah v1.0.29 — sidebar shadow stays visible across the topbar boundary. */
@media (min-width: 720px) {
  /* The header uses z-index: 20. Raise the sibling sidebar so its shadow paints over the header edge. */
  .rubah-sidebar {
    z-index: 30 !important;
  }
  :root:not([data-rubah-theme="dark"]) .rubah-sidebar {
    box-shadow: 6px 0 18px rgba(0, 0, 0, .12) !important;
  }
  :root[data-rubah-theme="dark"] .rubah-sidebar {
    box-shadow: none !important;
  }
}
/* Keep the mobile navigation drawer free of the desktop sidebar shadow override. */
@media (max-width: 719px) {
  :root[data-rubah-theme="dark"] .rubah-sidebar {
    box-shadow: none !important;
  }
}

/* Homepage has no breadcrumb at all; single-post breadcrumb remains unchanged. */
body.home .rubah-header__breadcrumb,
body.front-page .rubah-header__breadcrumb {
  display: none !important;
}

/* Main category filter: a soft custom menu, while native select remains the data source. */
.rubah-category-filter .rubah-select {
  position: relative;
  display: inline-block;
  width: 178px;
  min-width: 0;
  max-width: 100%;
  vertical-align: middle;
}
.rubah-category-filter .rubah-select__native {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  min-height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  border: 0 !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
.rubah-select__trigger {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-height: 40px;
  padding: 8px 13px 8px 14px;
  border: 1px solid rgba(118, 141, 173, .22);
  border-radius: 12px;
  background: var(--rubah-card);
  color: var(--rubah-navy);
  font-family: "Google Sans Flex", "Google Sans", "Nunito Sans", sans-serif;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.35;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(30, 45, 65, .035), inset 0 1px 0 rgba(255, 255, 255, .65);
  transition: border-color .16s ease, background-color .16s ease, box-shadow .16s ease, color .16s ease;
}
.rubah-select__trigger:hover,
.rubah-select.is-open .rubah-select__trigger {
  border-color: rgba(255, 109, 0, .43);
  box-shadow: 0 2px 7px rgba(35, 60, 91, .07), 0 0 0 3px rgba(255, 109, 0, .055);
}
.rubah-select__trigger:focus-visible {
  outline: 3px solid rgba(255, 109, 0, .42);
  outline-offset: 2px;
}
.rubah-select__value {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.rubah-select__chevron {
  display: inline-flex;
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  align-items: center;
  justify-content: center;
  color: var(--rubah-muted-strong);
  transition: transform .18s ease, color .18s ease;
}
.rubah-select__chevron svg { display: block; width: 16px; height: 16px; }
.rubah-select.is-open .rubah-select__chevron { transform: rotate(180deg); color: var(--rubah-orange-deep); }
.rubah-select__menu {
  position: absolute;
  z-index: 120;
  top: calc(100% + 7px);
  left: 0;
  width: max(100%, 220px);
  max-width: min(300px, calc(100vw - 32px));
  max-height: min(320px, 52vh);
  overflow-x: hidden;
  overflow-y: auto;
  padding: 6px;
  border: 1px solid rgba(118, 141, 173, .17);
  border-radius: 14px;
  background: var(--rubah-card);
  box-shadow: 0 14px 34px rgba(26, 40, 59, .17), 0 3px 9px rgba(26, 40, 59, .08);
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(118, 141, 173, .45) transparent;
}
.rubah-select__menu[hidden] { display: none !important; }
.rubah-select__option {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 38px;
  padding: 9px 11px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--rubah-ink);
  font-family: "Google Sans Flex", "Google Sans", "Nunito Sans", sans-serif;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  text-align: left;
  overflow-wrap: anywhere;
  cursor: pointer;
  transition: background-color .12s ease, color .12s ease;
}
.rubah-select__option::before {
  content: "";
  display: inline-block;
  flex: 0 0 6px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: transparent;
}
.rubah-select__option:hover,
.rubah-select__option.is-active {
  background: var(--rubah-surface);
  color: var(--rubah-navy);
}
.rubah-select__option.is-selected {
  background: var(--rubah-orange-soft);
  color: var(--rubah-orange-deep);
  font-weight: 700;
}
.rubah-select__option.is-selected::before { background: var(--rubah-orange); }
.rubah-select__option:focus-visible {
  outline: 2px solid rgba(255, 109, 0, .48);
  outline-offset: -2px;
}
:root[data-rubah-theme="dark"] .rubah-select__trigger {
  border-color: rgba(186, 201, 222, .16);
  background: #242a34;
  color: var(--rubah-ink);
  box-shadow: inset 0 0 0 1px rgba(186, 201, 222, .035);
}
:root[data-rubah-theme="dark"] .rubah-select__trigger:hover,
:root[data-rubah-theme="dark"] .rubah-select.is-open .rubah-select__trigger {
  border-color: rgba(255, 173, 114, .4);
  box-shadow: 0 2px 9px rgba(0, 0, 0, .2), 0 0 0 3px rgba(255, 173, 114, .07);
}
:root[data-rubah-theme="dark"] .rubah-select__chevron { color: #b2bdcb; }
:root[data-rubah-theme="dark"] .rubah-select__menu {
  border-color: rgba(186, 201, 222, .12);
  background: #202833;
  box-shadow: 0 16px 34px rgba(0, 0, 0, .4), 0 3px 10px rgba(0, 0, 0, .22);
  scrollbar-color: rgba(186, 201, 222, .25) transparent;
}
:root[data-rubah-theme="dark"] .rubah-select__option { color: #e2eaf4; }
:root[data-rubah-theme="dark"] .rubah-select__option:hover,
:root[data-rubah-theme="dark"] .rubah-select__option.is-active { background: #2b3542; color: #fff; }
:root[data-rubah-theme="dark"] .rubah-select__option.is-selected { background: #3a281e; color: #ffc095; }
:root[data-rubah-theme="dark"] .rubah-select__option.is-selected::before { background: #ffad72; }

/* Native select blocks (if added through the WordPress editor) receive the available option styling too. */
.rubah-main .wp-block-categories select option,
.rubah-sidebar .wp-block-categories select option {
  padding: 9px 12px;
  background: var(--rubah-card);
  color: var(--rubah-navy);
  font-family: "Google Sans Flex", "Google Sans", "Nunito Sans", sans-serif;
  font-size: 13px;
}
:root[data-rubah-theme="dark"] .rubah-main .wp-block-categories select option,
:root[data-rubah-theme="dark"] .rubah-sidebar .wp-block-categories select option {
  background: #202833;
  color: var(--rubah-ink);
}
@media (max-width: 719px) {
  .rubah-category-filter .rubah-select { width: 100%; }
  .rubah-select__menu { max-height: min(280px, 44vh); }
}
@media (prefers-reduced-motion: reduce) {
  .rubah-select__trigger,
  .rubah-select__chevron,
  .rubah-select__option { transition: none !important; }
}


/* Rubah v1.0.36 — one source of truth for category identity colors. */
.rubah-topic--default { --rubah-category-color: #ff9f2e; }
.rubah-topic--math { --rubah-category-color: #079de2; }
.rubah-topic--science { --rubah-category-color: #08b96c; }
.rubah-topic--games { --rubah-category-color: #b94be0; }
.rubah-topic--parenting { --rubah-category-color: #f45f7c; }
.rubah-topic--reading { --rubah-category-color: #ff9b2d; }
.rubah-topic--education { --rubah-category-color: #ff7a1a; }

/* The sidebar marker uses category identity, never list position. */
.rubah-sidebar .wp-block-categories li > a::before {
  background: var(--rubah-category-color, #ff9f2e) !important;
}

/* Keep post-grid badges on their existing palette, now sourced from shared tokens. */
.rubah-post-card .rubah-card-categories a[class*="rubah-topic--"] {
  background: var(--rubah-category-color, #ff9f2e) !important;
  color: #ffffff !important;
}

/* Color the icon and arrow on the topic index using the category's same hue. */
.rubah-topic-card[class*="rubah-topic--"] .rubah-topic-card__icon {
  color: var(--rubah-category-color, #ff9f2e) !important;
  background: color-mix(in srgb, var(--rubah-category-color, #ff9f2e) 14%, var(--rubah-card)) !important;
}
.rubah-topic-card[class*="rubah-topic--"] .rubah-topic-card__arrow {
  color: var(--rubah-category-color, #ff9f2e) !important;
}

/* Single-post category terms become one individually colored pill per category. */
.rubah-single-header .rubah-single-categories {
  display: flex !important;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  width: fit-content;
  max-width: 100%;
  margin: 0 0 12px !important;
  padding: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: inherit !important;
}
.rubah-single-header .rubah-single-categories a[class*="rubah-topic--"] {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 4px 9px;
  border-radius: 999px;
  background: var(--rubah-category-color, #ff9f2e) !important;
  color: #ffffff !important;
  text-decoration: none !important;
}
.rubah-single-header .rubah-single-categories .wp-block-post-terms__separator { display: none !important; }

/* Related-article labels use the same hue and remain readable as compact badges. */
.rubah-related-card__category a[class*="rubah-topic--"] {
  display: inline-flex;
  align-items: center;
  padding: 2px 7px;
  border-radius: 999px;
  background: var(--rubah-category-color, #ff9f2e) !important;
  color: #ffffff !important;
  text-decoration: none !important;
}

/* Breadcrumbs use the same category hue without adding another badge treatment. */
.rubah-single-breadcrumb__category a[class*="rubah-topic--"],
.rubah-single-breadcrumb__category a[class*="rubah-topic--"]:hover {
  color: var(--rubah-category-color, #ff9f2e) !important;
}


/* Rubah v1.0.37 — focused typography and single-post tag finish. */
/* Larger, more readable category labels in the sidebar. */
.rubah-sidebar .wp-block-categories li > a {
  font-size: 16px !important;
  line-height: 1.4;
}

/* Slightly reduce related-article titles without changing their weight or wrapping behavior. */
.rubah-related-card .wp-block-post-title.rubah-related-card__title,
.rubah-related-card .wp-block-post-title.rubah-related-card__title a {
  font-size: 15px !important;
}
@media (max-width: 1099px) {
  .rubah-related-card .wp-block-post-title.rubah-related-card__title,
  .rubah-related-card .wp-block-post-title.rubah-related-card__title a {
    font-size: 14px !important;
  }
}

/* Single-post tags are distinct filled capsules, separate from category-color badges. */
.rubah-single-body-section .rubah-post-tags a {
  display: inline-flex;
  align-items: center;
  min-height: 29px;
  margin: 4px 6px 0 0;
  padding: 4px 11px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--rubah-orange-soft);
  color: var(--rubah-post-link);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
  text-decoration: none;
  transition: background-color .16s ease, color .16s ease;
}
.rubah-single-body-section .rubah-post-tags a:hover {
  background: #ffe2cf;
  color: var(--rubah-orange-deep);
}
.rubah-single-body-section .rubah-post-tags .wp-block-post-terms__separator {
  display: none !important;
}
:root[data-rubah-theme="dark"] .rubah-single-body-section .rubah-post-tags a {
  border-color: rgba(255, 198, 154, .12);
  background: #3a281e;
  color: #ffc69a;
}
:root[data-rubah-theme="dark"] .rubah-single-body-section .rubah-post-tags a:hover {
  background: #463025;
  color: #ffdbbd;
}


/* Rubah v1.0.38 — sidebar hover contrast, centered brand, and category-label refinement. */
/* The current category may keep a soft highlight, but its text must not become white on a pale background. */
:root:not([data-rubah-theme="dark"]) .rubah-sidebar .wp-block-categories li > a:hover,
:root:not([data-rubah-theme="dark"]) .rubah-sidebar .wp-block-categories .current-cat > a,
:root:not([data-rubah-theme="dark"]) .rubah-sidebar .wp-block-categories .current-cat-parent > a {
  color: #542400 !important;
}
:root[data-rubah-theme="dark"] .rubah-sidebar .wp-block-categories li > a:hover,
:root[data-rubah-theme="dark"] .rubah-sidebar .wp-block-categories .current-cat > a,
:root[data-rubah-theme="dark"] .rubah-sidebar .wp-block-categories .current-cat-parent > a {
  background: #332a25 !important;
  color: #ffe0c9 !important;
}

/* Center the brand across the actual sidebar width, not the space left after the drawer close button. */
.rubah-sidebar__brand-row {
  position: relative !important;
  justify-content: center !important;
}
.rubah-sidebar__brand {
  width: 100% !important;
  max-width: none !important;
  align-items: center !important;
}
.rubah-sidebar__brand .rubah-sidebar__official-logo-link {
  display: block !important;
  width: 100% !important;
  max-width: 170px !important;
  margin-inline: auto !important;
  text-align: center !important;
}
.rubah-sidebar__brand .rubah-sidebar__official-logo {
  display: block !important;
  width: 100% !important;
  max-width: 170px !important;
  max-height: 60px !important;
  margin-inline: auto !important;
  object-position: center center !important;
}
.rubah-sidebar-close {
  position: absolute !important;
  inset-inline-end: 0 !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
}

/* Slightly smaller than v1.0.37, with medium weight for comfortable scanning. */
.rubah-sidebar .wp-block-categories li > a {
  font-size: 15px !important;
  font-weight: 500 !important;
}


/* Rubah v1.0.39 — brand row sits 5px above sidebar navigation on desktop and mobile. */

/* Rubah v1.0.47 — contrast corrections based on the desktop Lighthouse audit. */
/* Search field: make typed text and placeholder readable at full opacity in light mode. */
:root:not([data-rubah-theme="dark"]) .rubah-header__search .wp-block-search__input {
  color: #202124 !important;
}
:root:not([data-rubah-theme="dark"]) .rubah-header__search .wp-block-search__input::placeholder {
  color: #4b5563 !important;
  opacity: 1;
}
/* Give the search control a visible boundary against the light topbar (3:1+). */
:root:not([data-rubah-theme="dark"]) .rubah-header__search .wp-block-search__inside-wrapper {
  box-shadow: inset 0 0 0 1px #8b95a1 !important;
}
/* The hover icon/text stays dark enough on the soft-orange hover surface. */
:root:not([data-rubah-theme="dark"]) .rubah-header__search .wp-block-search__button:hover {
  color: var(--rubah-hover-text) !important;
}
/* Keep the input/control boundary discernible in Dark Mode too. */
:root[data-rubah-theme="dark"] .rubah-header__search .wp-block-search__inside-wrapper {
  box-shadow: inset 0 0 0 1px #7f8b9c !important;
}
:root[data-rubah-theme="dark"] .rubah-header__search .wp-block-search__input::placeholder {
  color: #b8c3d3 !important;
  opacity: 1;
}
/* Keep the established category background hues; change badge foreground to accessible ink.
 * Dark ink reaches at least 4.66:1 against the existing category palette, including purple. */
.rubah-post-card .rubah-card-categories a[class*="rubah-topic--"],
.rubah-post-card .rubah-card-categories a[class*="rubah-topic--"]:hover,
.rubah-post-card .rubah-card-categories a[class*="rubah-topic--"]:focus-visible,
.rubah-single-header .rubah-single-categories a[class*="rubah-topic--"],
.rubah-single-header .rubah-single-categories a[class*="rubah-topic--"]:hover,
.rubah-single-header .rubah-single-categories a[class*="rubah-topic--"]:focus-visible,
.rubah-related-card__category a[class*="rubah-topic--"],
.rubah-related-card__category a[class*="rubah-topic--"]:hover,
.rubah-related-card__category a[class*="rubah-topic--"]:focus-visible {
  color: #101010 !important;
}

/* Rubah v1.0.56 — Restore approved homepage brand messaging, retaining Single Post tap/selection refinements.
/* Rubah v1.0.55 — Remove browser tap flash and accidental selection on Single Post.
 * UI interactions remain clickable; inputs and code samples remain selectable/copyable.
 * This intentionally prevents text highlighting across the Single Post reading surface.
 */
a,
button,
input,
select,
textarea,
summary,
[role="button"],
[role="link"] {
  -webkit-tap-highlight-color: transparent;
}

/* Common controls and decorative UI labels: avoid accidental selection while tapping. */
button,
.wp-block-button__link,
.rubah-menu-toggle,
.rubah-sidebar-close,
.rubah-header__brand-controls,
.rubah-sidebar__brand-row,
.rubah-sidebar .wp-block-navigation-item__content,
.rubah-sidebar .wp-block-categories li > a,
.rubah-header__search .wp-block-search__button,
.rubah-pagination,
.rubah-post-card .rubah-card-categories,
.rubah-topic-card__icon,
.rubah-topic-card__arrow {
  -webkit-user-select: none;
  user-select: none;
}

/* Single Post surface: include header metadata, main article text and related articles. */
body.single-post .rubah-header__breadcrumb,
body.single-post .rubah-single-body-section,
body.single-post .rubah-single-body-section *,
body.single-post .rubah-related-sidebar,
body.single-post .rubah-related-sidebar * {
  -webkit-user-select: none;
  user-select: none;
}

/* Keep editable controls and code samples selectable/copyable if a post contains them. */
body.single-post .rubah-single-body-section input,
body.single-post .rubah-single-body-section textarea,
body.single-post .rubah-single-body-section select,
body.single-post .rubah-single-body-section [contenteditable="true"],
body.single-post .rubah-single-body-section pre,
body.single-post .rubah-single-body-section pre *,
body.single-post .rubah-single-body-section code,
body.single-post .rubah-single-body-section code * {
  -webkit-user-select: text !important;
  user-select: text !important;
}


/* Rubah v1.0.57 — responsive homepage hero CTA.
   Isolated scope: home/index hero layout and its Start Learning capsule. */
.rubah-page-intro__layout {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) max-content;
  align-items: center;
  gap: clamp(20px, 3.5vw, 48px);
  width: 100%;
  max-width: 100%;
  margin: 0 !important;
}
.rubah-page-intro__copy {
  min-width: 0;
  margin: 0 !important;
}
.rubah-page-intro__actions {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: flex-end;
  margin: 0 !important;
}
.rubah-page-intro--blob .rubah-hero-cta {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: max-content;
  max-width: 100%;
  min-height: 44px;
  margin: 0 !important;
  padding: 11px 20px;
  border: 0 !important;
  border-radius: 999px !important;
  background: #FFFFFF !important;
  color: #FF6D00 !important;
  box-shadow: 0 4px 15px rgba(75, 30, 0, .15);
  font-family: "Google Sans Flex", "Google Sans", "Nunito Sans", sans-serif;
  font-size: 14px;
  font-weight: 750;
  line-height: 1;
  text-decoration: none !important;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.rubah-page-intro--blob .rubah-hero-cta:hover,
.rubah-page-intro--blob .rubah-hero-cta:active {
  background: #FFD84D !important;
  color: #FF6D00 !important;
  box-shadow: 0 5px 16px rgba(75, 30, 0, .18);
  transform: translateY(-1px);
}
.rubah-page-intro--blob .rubah-hero-cta:focus-visible {
  outline: 3px solid #28384D;
  outline-offset: 3px;
}
.rubah-hero-cta__icon {
  display: block;
  flex: 0 0 15px;
  width: 15px;
  height: 15px;
  overflow: visible;
  color: currentColor;
}
.rubah-hero-cta__icon path { fill: currentColor; }
@media (max-width: 719px) {
  .rubah-page-intro__layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
  }
  .rubah-page-intro__actions { justify-content: flex-start; }
  .rubah-page-intro--blob .rubah-hero-cta {
    min-height: 42px;
    padding: 10px 18px;
    font-size: 13.5px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .rubah-page-intro--blob .rubah-hero-cta { transition: none; }
}

/* Rubah v1.0.58 — homepage anti-selection refinement.
   Scoped to the homepage/posts index and static front page only.
   Interactive links and controls remain functional; text fields and code remain selectable. */
body.home .rubah-layout,
body.home .rubah-layout *,
body.front-page .rubah-layout,
body.front-page .rubah-layout * {
  -webkit-user-select: none;
  user-select: none;
}

/* Preserve selection in editable fields, native controls, and copyable code on the homepage. */
body.home .rubah-layout input,
body.home .rubah-layout textarea,
body.home .rubah-layout select,
body.home .rubah-layout [contenteditable="true"],
body.home .rubah-layout pre,
body.home .rubah-layout pre *,
body.home .rubah-layout code,
body.home .rubah-layout code *,
body.front-page .rubah-layout input,
body.front-page .rubah-layout textarea,
body.front-page .rubah-layout select,
body.front-page .rubah-layout [contenteditable="true"],
body.front-page .rubah-layout pre,
body.front-page .rubah-layout pre *,
body.front-page .rubah-layout code,
body.front-page .rubah-layout code * {
  -webkit-user-select: text !important;
  user-select: text !important;
}

