/*
Theme Name: Runmint
Theme URI: https://runmint.io
Author: Runmint
Author URI: https://runmint.io
Description: A clean, modern WordPress theme for the Runmint brand.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: runmint
Tags: custom-background, custom-logo, custom-menu, featured-images, flexible-header, blog, one-column
*/

:root {
  --rm-bg: #0b0f1a;
  --rm-surface: #121826;
  --rm-surface-2: #1c2536;
  --rm-text: #e6eefc;
  --rm-muted: #9fb1d5;
  --rm-accent: #47f2c0;
  --rm-accent-2: #5fa2ff;
  --rm-border: #2a3550;
  --rm-max: 1120px;
  --rm-radius: 18px;
  --rm-shadow: 0 12px 32px rgba(10, 18, 34, 0.35);
  --rm-font: "Inter", "Segoe UI", Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--rm-font);
  color: var(--rm-text);
  background: var(--rm-bg);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}

.rm-container {
  max-width: var(--rm-max);
  margin: 0 auto;
  padding: 0 24px;
}

.rm-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(11, 15, 26, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--rm-border);
}

.rm-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 16px;
}

.rm-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  letter-spacing: 0.4px;
}

.rm-nav {
  display: flex;
  gap: 18px;
  font-size: 0.95rem;
}

.rm-nav__list {
  display: flex;
  gap: 18px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.rm-nav__list li {
  margin: 0;
}

.rm-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  background: linear-gradient(135deg, var(--rm-accent), var(--rm-accent-2));
  border-radius: 999px;
  color: #0a1222;
  font-weight: 600;
  box-shadow: var(--rm-shadow);
}

.rm-hero {
  padding: 96px 0 72px;
  background: radial-gradient(circle at top, rgba(71, 242, 192, 0.18), transparent 60%);
}

.rm-hero__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
  align-items: center;
}

.rm-hero h1 {
  font-size: clamp(2.2rem, 3.2vw, 3.5rem);
  margin: 0 0 16px;
}

.rm-hero p {
  color: var(--rm-muted);
  margin: 0 0 28px;
}

.rm-card {
  background: var(--rm-surface);
  border: 1px solid var(--rm-border);
  border-radius: var(--rm-radius);
  padding: 28px;
  box-shadow: var(--rm-shadow);
}

.rm-section {
  padding: 72px 0;
}

.rm-section h2 {
  margin: 0 0 12px;
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
}

.rm-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.rm-muted {
  color: var(--rm-muted);
}

.rm-posts {
  display: grid;
  gap: 24px;
}

.rm-post {
  border: 1px solid var(--rm-border);
  border-radius: var(--rm-radius);
  padding: 24px;
  background: var(--rm-surface-2);
}

.rm-footer {
  border-top: 1px solid var(--rm-border);
  padding: 32px 0;
  color: var(--rm-muted);
  font-size: 0.9rem;
}

.rm-post__meta {
  color: var(--rm-muted);
  font-size: 0.85rem;
}

.rm-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.rm-sidebar {
  background: var(--rm-surface-2);
  border: 1px solid var(--rm-border);
  border-radius: var(--rm-radius);
  padding: 20px;
}

@media (max-width: 768px) {
  .rm-nav {
    display: none;
  }

  .rm-hero {
    padding: 72px 0 56px;
  }
}
