/*
Theme Name: Rimobit Journal
Description: A lightweight editorial theme matching the existing Rimobit website.
Version: 1.0.0
Requires at least: 6.6
Requires PHP: 8.3
Author: Rimobit Infotech
Text Domain: rimobit-journal
License: GPL-2.0-or-later
*/
.journal-search { display: flex; flex-wrap: wrap; gap: 12px; margin: 32px 0; }
.journal-search input { min-width: 0; flex: 1 1 220px; padding: 12px 16px; border: 1px solid var(--line); border-radius: 4px; background: var(--paper); color: var(--ink); }
.journal-search button { padding: 12px 24px; border: 0; background: var(--green); color: white; border-radius: 4px; }
.visually-hidden, .screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.journal-pagination { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.journal-pagination .page-numbers { padding: 8px 16px; border: 1px solid var(--line); }
.journal-pagination .current { background: var(--green); color: white; }
.journal-cover { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; margin-bottom: 24px; border-radius: 8px; }
.archive-body > * { max-width: 100%; }
.archive-body pre { padding: 20px; overflow-x: auto; background: var(--soft-green); }
.archive-body .wp-block-image img { height: auto; }
.archive-body blockquote { border-left: 3px solid var(--green); margin: 32px 0; padding-left: 24px; }
.archive-body :where(h2,h3,h4)[id] { scroll-margin-top: 130px; }
.journal-article-footer { margin: 48px auto; max-width: 820px; padding-top: 28px; border-top: 1px solid var(--line); }
.journal-topics { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.journal-topics a { text-decoration: underline; text-underline-offset: 4px; }
body.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { body.admin-bar .site-header { top: 46px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
