:root {
  --rm-ink: #132020;
  --rm-muted: #5f7070;
  --rm-line: #dfe8e8;
  --rm-soft: #f3f8f7;
  --rm-teal: #0f5b60;
  --rm-teal-dark: #0a3f42;
  --rm-pink: #ff1053;
  --rm-coral: #e86146;
  --rm-yellow: #f5c451;
  --rm-white: #ffffff;
  --rm-max: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Poppins, Roboto, Arial, sans-serif;
  color: var(--rm-ink);
  background: #ffffff;
  line-height: 1.7;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }

.rm-container {
  width: min(100% - 36px, var(--rm-max));
  margin: 0 auto;
}

.rm-blog-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.94);
  border-bottom: 1px solid var(--rm-line);
  backdrop-filter: blur(10px);
}

.rm-nav {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.rm-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  color: var(--rm-teal-dark);
}

.rm-logo img {
  width: 54px;
  height: 40px;
  object-fit: contain;
}

.rm-nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 14px;
  font-weight: 700;
}

.rm-nav-links a { color: var(--rm-muted); }
.rm-nav-links a:hover { color: var(--rm-teal); }

.rm-nav-cta {
  color: #fff !important;
  background: var(--rm-teal);
  padding: 10px 15px;
  border-radius: 8px;
  box-shadow: 0 10px 22px rgba(15,91,96,.16);
}

.rm-hero {
  background:
    linear-gradient(90deg, rgba(15,91,96,.97) 0%, rgba(15,91,96,.88) 43%, rgba(19,32,32,.38) 100%),
    url('/wp-content/uploads/2025/10/1-600x400.png') center right / cover no-repeat;
  color: #fff;
  padding: 84px 0 60px;
}

.rm-hero-grid {
  min-height: 410px;
  display: flex;
  align-items: center;
}

.rm-eyebrow {
  margin: 0 0 12px;
  color: rgba(255,255,255,.76);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 12px;
  font-weight: 800;
}

.rm-hero h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.05;
  letter-spacing: 0;
}

.rm-hero p {
  max-width: 660px;
  margin: 18px 0 0;
  color: rgba(255,255,255,.82);
  font-size: 17px;
}

.rm-blog-main { padding: 56px 0 72px; }

.rm-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

.rm-section-head h2 {
  margin: 0;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.16;
}

.rm-section-head p {
  margin: 8px 0 0;
  color: var(--rm-muted);
  max-width: 560px;
}

.rm-featured {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .84fr);
  gap: 0;
  border: 1px solid var(--rm-line);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 34px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(19,32,32,.07);
}

.rm-featured img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}

.rm-featured-body { padding: clamp(24px, 4vw, 42px); }

.rm-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--rm-muted);
  font-size: 13px;
  font-weight: 700;
}

.rm-tag {
  display: inline-flex;
  align-items: center;
  color: var(--rm-teal);
  background: var(--rm-soft);
  border: 1px solid rgba(15,91,96,.14);
  border-radius: 999px;
  padding: 4px 10px;
}

.rm-featured h2,
.rm-post-card h3 {
  margin: 14px 0 10px;
  line-height: 1.24;
  letter-spacing: 0;
}

.rm-featured h2 { font-size: clamp(28px, 3.5vw, 44px); }
.rm-post-card h3 { font-size: 22px; }

.rm-excerpt {
  color: var(--rm-muted);
  margin: 0 0 20px;
}

.rm-read {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--rm-teal);
  font-weight: 800;
}

.rm-post-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.rm-post-card {
  border: 1px solid var(--rm-line);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  transition: transform .18s ease, box-shadow .18s ease;
}

.rm-post-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 34px rgba(19,32,32,.08);
}

.rm-post-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.rm-post-card-body { padding: 22px; }

.rm-cta-band {
  margin-top: 52px;
  padding: 30px;
  border-radius: 8px;
  background: var(--rm-soft);
  border: 1px solid rgba(15,91,96,.14);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.rm-cta-band h2 {
  margin: 0 0 6px;
  font-size: 26px;
}

.rm-cta-band p { margin: 0; color: var(--rm-muted); }

.rm-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 8px;
  background: var(--rm-pink);
  color: #fff;
  font-weight: 800;
  white-space: nowrap;
  box-shadow: 0 12px 24px rgba(255,16,83,.16);
}

.rm-article {
  padding: 54px 0 78px;
}

.rm-breadcrumb {
  color: var(--rm-muted);
  font-size: 14px;
  margin-bottom: 22px;
}

.rm-article-header {
  max-width: 860px;
  margin: 0 auto 34px;
  text-align: center;
}

.rm-article-header h1 {
  margin: 16px 0 14px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.08;
  letter-spacing: 0;
}

.rm-article-dek {
  margin: 0 auto;
  max-width: 760px;
  color: var(--rm-muted);
  font-size: 18px;
}

.rm-article-hero {
  width: min(100% - 36px, 1040px);
  margin: 0 auto 42px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 18px 48px rgba(19,32,32,.12);
}

.rm-article-hero img {
  width: 100%;
  max-height: 560px;
  object-fit: cover;
}

.rm-article-body {
  width: min(100% - 36px, 760px);
  margin: 0 auto;
  font-size: 17px;
}

.rm-article-body h2 {
  margin: 38px 0 12px;
  font-size: 30px;
  line-height: 1.22;
}

.rm-article-body h3 {
  margin: 28px 0 8px;
  font-size: 22px;
}

.rm-article-body p { margin: 0 0 18px; }

.rm-article-body ul,
.rm-article-body ol {
  margin: 0 0 22px;
  padding-left: 24px;
}

.rm-article-body li { margin: 8px 0; }

.rm-note-box {
  margin: 30px 0;
  padding: 22px;
  border-radius: 8px;
  border: 1px solid rgba(232,97,70,.26);
  background: #fff7f3;
}

.rm-note-box strong { color: var(--rm-coral); }

.rm-article-cta {
  margin: 40px 0;
  padding: 26px;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, var(--rm-teal), var(--rm-teal-dark));
}

.rm-article-cta h2 {
  margin-top: 0;
  color: #fff;
}

.rm-article-cta p {
  color: rgba(255,255,255,.82);
}

.rm-footer {
  padding: 34px 0;
  background: #111b1b;
  color: rgba(255,255,255,.72);
  font-size: 14px;
}

.rm-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.rm-footer a { color: #fff; font-weight: 700; }

@media (max-width: 860px) {
  .rm-nav { height: auto; padding: 14px 0; align-items: flex-start; }
  .rm-nav-links { gap: 14px; flex-wrap: wrap; justify-content: flex-end; }
  .rm-featured { grid-template-columns: 1fr; }
  .rm-featured img { min-height: 260px; }
  .rm-post-grid { grid-template-columns: 1fr; }
  .rm-cta-band,
  .rm-footer-inner { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 560px) {
  .rm-container { width: min(100% - 28px, var(--rm-max)); }
  .rm-logo span { display: none; }
  .rm-nav-links { font-size: 13px; gap: 10px; }
  .rm-nav-cta { padding: 9px 11px; }
  .rm-hero { padding: 58px 0 42px; }
  .rm-blog-main { padding-top: 38px; }
  .rm-cta-band { padding: 22px; }
}
