/*
Theme Name: Rainymoodz
Theme URI: https://rainymoodz.com
Description: A dark, atmospheric WordPress theme built to perfectly match the Rainymoodz ambient sound plugin. Moody rain-night aesthetic with Inter typography, subtle rain textures, and a mobile-first layout.
Version: 1.0.0
Author: Rainymoodz
Author URI: https://rainymoodz.com
License: GPL-2.0+
Text Domain: rainymoodz-theme
Tags: dark, music, custom-colors, custom-logo, blog, one-column, two-columns, flexible-header, full-width-template
*/

/* ── DESIGN TOKENS ─────────────────────────────────────────────────────── */
:root {
  /* Exact match to plugin dark mode */
  --rmz-bg:        #0d1117;
  --rmz-surface:   #161b22;
  --rmz-surface2:  #1c2128;
  --rmz-surface3:  #242b33;
  --rmz-border:    rgba(255,255,255,.08);
  --rmz-border2:   rgba(255,255,255,.12);
  --rmz-text:      #e6edf3;
  --rmz-muted:     rgba(230,237,243,.5);
  --rmz-muted2:    rgba(230,237,243,.3);
  --rmz-accent:    #4A90C4;
  --rmz-accent2:   #6baed4;
  --rmz-accent-bg: rgba(74,144,196,.12);
  --rmz-radius:    16px;
  --rmz-radius-sm: 10px;
  --rmz-radius-xs: 6px;
  --rmz-font:      'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --rmz-max:       1100px;
  --rmz-content:   720px;
}

/* ── RESET ─────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--rmz-font);
  background: var(--rmz-bg);
  color: var(--rmz-text);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  /* Subtle rain texture overlay */
  background-image:
    radial-gradient(ellipse 80% 60% at 50% -20%, rgba(74,144,196,.07) 0%, transparent 60%);
}

/* Rain dots background pattern */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      170deg,
      transparent 0px,
      transparent 3px,
      rgba(74,144,196,.015) 3px,
      rgba(74,144,196,.015) 4px
    );
  pointer-events: none;
  z-index: 0;
}

/* ── TYPOGRAPHY ─────────────────────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.25;
  color: var(--rmz-text);
  letter-spacing: -.3px;
}
h1 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h2 { font-size: clamp(1.35rem, 3vw, 1.75rem); }
h3 { font-size: 1.2rem; }
h4 { font-size: 1rem; }

p { margin-bottom: 1.25rem; color: var(--rmz-text); }
p:last-child { margin-bottom: 0; }

a { color: var(--rmz-accent); text-decoration: none; transition: color .2s; }
a:hover { color: var(--rmz-accent2); }

img { max-width: 100%; height: auto; display: block; }
ul, ol { padding-left: 1.5rem; }
li { margin-bottom: .4rem; }

blockquote {
  border-left: 3px solid var(--rmz-accent);
  padding: .75rem 1.25rem;
  margin: 1.5rem 0;
  background: var(--rmz-surface);
  border-radius: 0 var(--rmz-radius-sm) var(--rmz-radius-sm) 0;
  color: var(--rmz-muted);
  font-style: italic;
}

code, pre {
  font-family: 'Fira Code', 'Cascadia Code', monospace;
  font-size: .88em;
  background: var(--rmz-surface2);
  border: 1px solid var(--rmz-border);
  border-radius: var(--rmz-radius-xs);
  padding: .15em .5em;
}
pre { padding: 1.25rem; overflow-x: auto; border-radius: var(--rmz-radius-sm); }
pre code { background: none; border: none; padding: 0; }

hr {
  border: none;
  border-top: 1px solid var(--rmz-border);
  margin: 2.5rem 0;
}

/* ── LAYOUT ─────────────────────────────────────────────────────────────── */
.rmzt-wrap { position: relative; z-index: 1; }

.rmzt-container {
  max-width: var(--rmz-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.rmzt-container--narrow {
  max-width: var(--rmz-content);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ── HEADER / NAV ───────────────────────────────────────────────────────── */
.rmzt-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13,17,23,.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--rmz-border);
}

.rmzt-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 1.5rem;
}

.rmzt-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.rmzt-logo-icon {
  width: 34px;
  height: 34px;
  background: var(--rmz-accent-bg);
  border: 1px solid rgba(74,144,196,.25);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  line-height: 1;
}
.rmzt-logo-text {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--rmz-text);
  letter-spacing: -.3px;
}
.rmzt-logo-text span { color: var(--rmz-accent); }

/* Desktop nav */
.rmzt-nav {
  display: flex;
  align-items: center;
  gap: .25rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
.rmzt-nav a {
  display: block;
  padding: .45rem .9rem;
  font-size: .88rem;
  font-weight: 500;
  color: var(--rmz-muted);
  border-radius: var(--rmz-radius-xs);
  transition: background .15s, color .15s;
}
.rmzt-nav a:hover,
.rmzt-nav .current-menu-item > a,
.rmzt-nav .current-page-ancestor > a {
  background: var(--rmz-surface2);
  color: var(--rmz-text);
}

.rmzt-header-cta {
  background: var(--rmz-accent);
  color: #fff !important;
  padding: .45rem 1rem !important;
  border-radius: var(--rmz-radius-xs) !important;
  font-weight: 500 !important;
  transition: background .15s !important;
}
.rmzt-header-cta:hover { background: var(--rmz-accent2) !important; color: #fff !important; }

/* Hamburger */
.rmzt-menu-toggle {
  display: none;
  background: var(--rmz-surface2);
  border: 1px solid var(--rmz-border);
  border-radius: var(--rmz-radius-xs);
  width: 40px; height: 40px;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  flex-shrink: 0;
}
.rmzt-menu-toggle span {
  display: block;
  width: 18px; height: 1.5px;
  background: var(--rmz-text);
  border-radius: 2px;
  transition: all .25s;
}
.rmzt-menu-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(4.5px, 4.5px); }
.rmzt-menu-toggle.open span:nth-child(2) { opacity: 0; }
.rmzt-menu-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(4.5px, -4.5px); }

/* Mobile nav drawer */
.rmzt-mobile-nav {
  display: none;
  background: var(--rmz-surface);
  border-bottom: 1px solid var(--rmz-border);
  padding: 1rem 1.5rem 1.25rem;
}
.rmzt-mobile-nav.open { display: block; }
.rmzt-mobile-nav ul { list-style: none; padding: 0; margin: 0; }
.rmzt-mobile-nav a {
  display: block;
  padding: .65rem 0;
  font-size: .95rem;
  font-weight: 500;
  color: var(--rmz-muted);
  border-bottom: 1px solid var(--rmz-border);
}
.rmzt-mobile-nav li:last-child a { border-bottom: none; }
.rmzt-mobile-nav a:hover { color: var(--rmz-text); }

/* ── HERO ────────────────────────────────────────────────────────────────── */
.rmzt-hero {
  padding: 5rem 0 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.rmzt-hero::before {
  content: '';
  position: absolute;
  top: -100px; left: 50%;
  transform: translateX(-50%);
  width: 600px; height: 400px;
  background: radial-gradient(ellipse, rgba(74,144,196,.12) 0%, transparent 70%);
  pointer-events: none;
}
.rmzt-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--rmz-accent);
  background: var(--rmz-accent-bg);
  border: 1px solid rgba(74,144,196,.2);
  border-radius: 99px;
  padding: 5px 14px;
  margin-bottom: 1.5rem;
}
.rmzt-hero-pulse {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--rmz-accent);
  animation: rmzt-pulse 2s ease-in-out infinite;
}
@keyframes rmzt-pulse {
  0%,100%{ opacity:1; transform:scale(1); }
  50%    { opacity:.4; transform:scale(1.4); }
}
.rmzt-hero-title {
  font-size: clamp(2rem, 6vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -.5px;
  line-height: 1.15;
  margin-bottom: 1.25rem;
}
.rmzt-hero-title span { color: var(--rmz-accent); }
.rmzt-hero-sub {
  font-size: 1.05rem;
  color: var(--rmz-muted);
  max-width: 500px;
  margin: 0 auto 2.5rem;
  font-weight: 300;
  line-height: 1.7;
}

/* ── PLAYER SECTION ──────────────────────────────────────────────────────── */
.rmzt-player-section {
  padding: 0 0 5rem;
}

/* ── FEATURES SECTION ────────────────────────────────────────────────────── */
.rmzt-features {
  padding: 4rem 0;
  border-top: 1px solid var(--rmz-border);
}
.rmzt-section-label {
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--rmz-accent);
  margin-bottom: .75rem;
}
.rmzt-section-title {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 600;
  margin-bottom: 3rem;
  max-width: 480px;
}
.rmzt-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}
.rmzt-feature-card {
  background: var(--rmz-surface);
  border: 1px solid var(--rmz-border);
  border-radius: var(--rmz-radius);
  padding: 1.5rem;
  transition: border-color .2s, background .2s;
}
.rmzt-feature-card:hover {
  border-color: rgba(74,144,196,.3);
  background: var(--rmz-surface2);
}
.rmzt-feature-icon {
  font-size: 1.75rem;
  margin-bottom: 1rem;
  display: block;
}
.rmzt-feature-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: .5rem;
  color: var(--rmz-text);
}
.rmzt-feature-desc {
  font-size: .88rem;
  color: var(--rmz-muted);
  line-height: 1.6;
  margin: 0;
}

/* ── BLOG INDEX ──────────────────────────────────────────────────────────── */
.rmzt-blog {
  padding: 4rem 0;
}
.rmzt-posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.25rem;
}
.rmzt-post-card {
  background: var(--rmz-surface);
  border: 1px solid var(--rmz-border);
  border-radius: var(--rmz-radius);
  overflow: hidden;
  transition: border-color .2s, transform .2s;
  display: flex;
  flex-direction: column;
}
.rmzt-post-card:hover {
  border-color: rgba(74,144,196,.3);
  transform: translateY(-2px);
}
.rmzt-post-thumb {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  background: var(--rmz-surface2);
}
.rmzt-post-thumb-placeholder {
  width: 100%;
  aspect-ratio: 16/9;
  background: var(--rmz-surface2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  opacity: .3;
}
.rmzt-post-body {
  padding: 1.25rem 1.25rem 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.rmzt-post-meta {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: .75rem;
}
.rmzt-post-cat {
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--rmz-accent);
  background: var(--rmz-accent-bg);
  border-radius: 99px;
  padding: 3px 10px;
}
.rmzt-post-date {
  font-size: .78rem;
  color: var(--rmz-muted2);
}
.rmzt-post-title {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: .6rem;
  line-height: 1.3;
  color: var(--rmz-text);
}
.rmzt-post-title a { color: inherit; }
.rmzt-post-title a:hover { color: var(--rmz-accent); }
.rmzt-post-excerpt {
  font-size: .88rem;
  color: var(--rmz-muted);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 1.25rem;
}
.rmzt-read-more {
  font-size: .83rem;
  font-weight: 500;
  color: var(--rmz-accent);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: auto;
}
.rmzt-read-more:hover { color: var(--rmz-accent2); }
.rmzt-read-more::after { content: '→'; }

/* ── SINGLE POST ─────────────────────────────────────────────────────────── */
.rmzt-single {
  padding: 3rem 0 5rem;
}
.rmzt-single-header {
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--rmz-border);
}
.rmzt-single-cats {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}
.rmzt-single-cat {
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--rmz-accent);
  background: var(--rmz-accent-bg);
  border-radius: 99px;
  padding: 3px 10px;
}
.rmzt-single-title {
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: -.4px;
  line-height: 1.2;
}
.rmzt-single-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: .85rem;
  color: var(--rmz-muted);
  flex-wrap: wrap;
}
.rmzt-author-avatar {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--rmz-surface2);
  border: 1px solid var(--rmz-border);
}
.rmzt-featured-image {
  width: 100%;
  border-radius: var(--rmz-radius);
  margin-bottom: 2.5rem;
  border: 1px solid var(--rmz-border);
}

/* Post content styling */
.rmzt-entry-content h2 { margin: 2rem 0 1rem; }
.rmzt-entry-content h3 { margin: 1.75rem 0 .75rem; }
.rmzt-entry-content p  { margin-bottom: 1.25rem; }
.rmzt-entry-content ul, .rmzt-entry-content ol { margin-bottom: 1.25rem; }
.rmzt-entry-content img {
  border-radius: var(--rmz-radius-sm);
  border: 1px solid var(--rmz-border);
  margin: 1.5rem 0;
}
.rmzt-entry-content a { text-decoration: underline; text-underline-offset: 3px; }

/* ── PAGE ────────────────────────────────────────────────────────────────── */
.rmzt-page {
  padding: 3rem 0 5rem;
}
.rmzt-page-title {
  font-size: clamp(1.6rem, 4vw, 2.25rem);
  font-weight: 700;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--rmz-border);
}

/* ── SIDEBAR ─────────────────────────────────────────────────────────────── */
.rmzt-layout-sidebar {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 2rem;
  align-items: start;
}
.rmzt-sidebar {
  position: sticky;
  top: 80px;
}
.rmzt-widget {
  background: var(--rmz-surface);
  border: 1px solid var(--rmz-border);
  border-radius: var(--rmz-radius);
  padding: 1.25rem;
  margin-bottom: 1rem;
}
.rmzt-widget-title {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--rmz-muted);
  margin-bottom: 1rem;
  padding-bottom: .75rem;
  border-bottom: 1px solid var(--rmz-border);
}
.rmzt-widget ul { list-style: none; padding: 0; }
.rmzt-widget li { padding: .4rem 0; border-bottom: 1px solid var(--rmz-border); }
.rmzt-widget li:last-child { border-bottom: none; }
.rmzt-widget a { color: var(--rmz-muted); font-size: .88rem; }
.rmzt-widget a:hover { color: var(--rmz-accent); }

/* Player sticky widget */
.rmzt-player-widget {
  background: var(--rmz-surface);
  border: 1px solid rgba(74,144,196,.2);
  border-radius: var(--rmz-radius);
  padding: 1rem;
  margin-bottom: 1rem;
}
.rmzt-player-widget-title {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--rmz-accent);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ── PAGINATION ──────────────────────────────────────────────────────────── */
.rmzt-pagination {
  display: flex;
  justify-content: center;
  gap: .5rem;
  padding: 2.5rem 0;
  flex-wrap: wrap;
}
.rmzt-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  background: var(--rmz-surface);
  border: 1px solid var(--rmz-border);
  border-radius: var(--rmz-radius-xs);
  font-size: .88rem;
  font-weight: 500;
  color: var(--rmz-muted);
  transition: all .15s;
}
.rmzt-pagination .page-numbers:hover { border-color: var(--rmz-accent); color: var(--rmz-accent); }
.rmzt-pagination .current {
  background: var(--rmz-accent);
  border-color: var(--rmz-accent);
  color: #fff;
}

/* ── COMMENTS ────────────────────────────────────────────────────────────── */
.rmzt-comments { margin-top: 3rem; padding-top: 2.5rem; border-top: 1px solid var(--rmz-border); }
.rmzt-comments-title { font-size: 1.2rem; font-weight: 600; margin-bottom: 1.5rem; }
.comment { padding: 1.25rem; background: var(--rmz-surface); border-radius: var(--rmz-radius-sm); border: 1px solid var(--rmz-border); margin-bottom: 1rem; }
.comment-author { display: flex; align-items: center; gap: 10px; margin-bottom: .75rem; }
.comment-author img { border-radius: 50%; }
.comment-author .fn { font-weight: 600; font-size: .92rem; }
.comment-meta { font-size: .78rem; color: var(--rmz-muted); }
.comment-content p { font-size: .92rem; margin: 0; }

/* Comment form */
.comment-form input,
.comment-form textarea {
  width: 100%;
  background: var(--rmz-surface2);
  border: 1px solid var(--rmz-border);
  border-radius: var(--rmz-radius-xs);
  color: var(--rmz-text);
  font-family: var(--rmz-font);
  font-size: .92rem;
  padding: .65rem .9rem;
  transition: border-color .15s;
}
.comment-form input:focus,
.comment-form textarea:focus {
  outline: none;
  border-color: var(--rmz-accent);
}
.comment-form textarea { min-height: 120px; resize: vertical; }
.comment-form label { display: block; font-size: .78rem; color: var(--rmz-muted); margin-bottom: .3rem; font-weight: 500; }
.comment-form .form-group { margin-bottom: 1rem; }
.comment-form .submit input {
  width: auto;
  background: var(--rmz-accent);
  color: #fff;
  border: none;
  cursor: pointer;
  padding: .65rem 1.5rem;
  font-weight: 600;
  font-size: .92rem;
  border-radius: var(--rmz-radius-xs);
  transition: background .15s;
}
.comment-form .submit input:hover { background: var(--rmz-accent2); }

/* ── FOOTER ──────────────────────────────────────────────────────────────── */
.rmzt-footer {
  background: var(--rmz-surface);
  border-top: 1px solid var(--rmz-border);
  margin-top: 4rem;
}
.rmzt-footer-main {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 2.5rem;
  padding: 3.5rem 0 2.5rem;
}
.rmzt-footer-brand p {
  font-size: .88rem;
  color: var(--rmz-muted);
  margin-top: .75rem;
  max-width: 260px;
  line-height: 1.7;
}
.rmzt-footer-col-title {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--rmz-muted);
  margin-bottom: 1rem;
}
.rmzt-footer-col ul { list-style: none; padding: 0; }
.rmzt-footer-col li { margin-bottom: .5rem; }
.rmzt-footer-col a { font-size: .88rem; color: var(--rmz-muted); transition: color .15s; }
.rmzt-footer-col a:hover { color: var(--rmz-accent); }
.rmzt-footer-bottom {
  border-top: 1px solid var(--rmz-border);
  padding: 1.25rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.rmzt-footer-copy { font-size: .8rem; color: var(--rmz-muted2); }
.rmzt-footer-links { display: flex; gap: 1.25rem; }
.rmzt-footer-links a { font-size: .8rem; color: var(--rmz-muted2); }
.rmzt-footer-links a:hover { color: var(--rmz-accent); }

/* ── BUTTONS ─────────────────────────────────────────────────────────────── */
.rmzt-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--rmz-accent);
  color: #fff;
  font-family: var(--rmz-font);
  font-size: .92rem;
  font-weight: 600;
  padding: .7rem 1.5rem;
  border-radius: var(--rmz-radius-xs);
  border: none;
  cursor: pointer;
  transition: background .15s;
  text-decoration: none;
}
.rmzt-btn:hover { background: var(--rmz-accent2); color: #fff; }
.rmzt-btn--ghost {
  background: transparent;
  border: 1px solid var(--rmz-border);
  color: var(--rmz-muted);
}
.rmzt-btn--ghost:hover { background: var(--rmz-surface2); color: var(--rmz-text); }

/* ── SEARCH ──────────────────────────────────────────────────────────────── */
.rmzt-search-form {
  display: flex;
  gap: .5rem;
}
.rmzt-search-input {
  flex: 1;
  background: var(--rmz-surface2);
  border: 1px solid var(--rmz-border);
  border-radius: var(--rmz-radius-xs);
  color: var(--rmz-text);
  font-family: var(--rmz-font);
  font-size: .92rem;
  padding: .6rem .9rem;
}
.rmzt-search-input:focus { outline: none; border-color: var(--rmz-accent); }

/* ── 404 ─────────────────────────────────────────────────────────────────── */
.rmzt-404 {
  text-align: center;
  padding: 6rem 0;
}
.rmzt-404-code {
  font-size: 6rem;
  font-weight: 700;
  color: var(--rmz-surface2);
  line-height: 1;
  margin-bottom: .5rem;
  letter-spacing: -4px;
}
.rmzt-404-title { font-size: 1.5rem; margin-bottom: 1rem; }
.rmzt-404-sub { color: var(--rmz-muted); margin-bottom: 2rem; }

/* ── WP CORE CLASSES ──────────────────────────────────────────────────────── */
.alignleft  { float: left; margin: 0 1.5rem 1rem 0; }
.alignright { float: right; margin: 0 0 1rem 1.5rem; }
.aligncenter { margin: 0 auto 1rem; display: block; }
.wp-caption-text { font-size: .82rem; color: var(--rmz-muted); margin-top: .4rem; }
.sticky { border-left: 3px solid var(--rmz-accent); padding-left: 1rem; }

/* ── RESPONSIVE ──────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .rmzt-layout-sidebar { grid-template-columns: 1fr; }
  .rmzt-sidebar { position: static; }
  .rmzt-footer-main { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .rmzt-nav { display: none; }
  .rmzt-menu-toggle { display: flex; }
  .rmzt-footer-main { grid-template-columns: 1fr; gap: 1.5rem; padding: 2rem 0 1.5rem; }
  .rmzt-hero { padding: 3rem 0 2.5rem; }
  .rmzt-posts-grid { grid-template-columns: 1fr; }
  .rmzt-features-grid { grid-template-columns: 1fr; }
  .rmzt-footer-bottom { flex-direction: column; text-align: center; }
}
