﻿/* Mavi Rota Marine — Apple-like typography system */
@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@500;600;700&family=Dancing+Script:wght@500;600;700&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  /* SF Pro on Apple; Inter elsewhere (closest public match to apple.com) */
  --font-sans: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'SF Pro Display', 'Inter', 'Segoe UI', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --font-heading: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', 'Inter', 'Segoe UI', 'Helvetica Neue', Helvetica, Arial, sans-serif;

  --color-navy-dark: #050d16;
  --color-navy: #0a1a2c;
  --color-navy-light: #14304a;
  --color-gold: #c4a35a;
  --color-gold-hover: #d4b56e;
  --color-gold-light: rgba(196, 163, 90, 0.14);
  --color-sea: #1c6f8c;
  --color-sea-dark: #155a72;
  --color-bg-slate: #eef2f5;
  --color-card-border: rgba(10, 26, 44, 0.1);
  --color-text-dark: #1d1d1f;
  --color-text-muted: #86868b;
  --color-foam: #f7f9fb;
  --color-mist: #e4ebf1;

  --shadow-sm: 0 1px 2px rgba(5, 13, 22, 0.04);
  --shadow-md: 0 8px 24px rgba(5, 13, 22, 0.06);
  --shadow-lg: 0 16px 40px rgba(5, 13, 22, 0.1);
  --shadow-xl: 0 24px 48px rgba(5, 13, 22, 0.14);
  --radius-lg: 10px;
  --radius-xl: 16px;
  --radius-full: 9999px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);

  /* Apple-scale type */
  --text-display: clamp(2.5rem, 5.5vw, 4rem);
  --text-headline: clamp(1.75rem, 3.2vw, 2.5rem);
  --text-title: clamp(1.25rem, 2vw, 1.5rem);
  --text-body: 1.0625rem;
  --text-callout: 0.875rem;
  --text-caption: 0.75rem;
  --tracking-display: -0.015em;
  --tracking-headline: -0.011em;
  --tracking-body: -0.014em;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(28, 111, 140, 0.08), transparent 55%),
    radial-gradient(900px 500px at 100% 0%, rgba(196, 163, 90, 0.07), transparent 50%),
    linear-gradient(180deg, var(--color-foam) 0%, var(--color-bg-slate) 45%, #e8eef3 100%);
  color: var(--color-text-dark);
  font-size: var(--text-body);
  font-weight: 400;
  line-height: 1.47059;
  letter-spacing: var(--tracking-body);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--color-text-dark);
  line-height: 1.08349;
  letter-spacing: var(--tracking-headline);
}

h1 { font-size: var(--text-display); letter-spacing: var(--tracking-display); }
h2 { font-size: var(--text-headline); line-height: 1.14286; }
h3 { font-size: var(--text-title); line-height: 1.16667; letter-spacing: -0.009em; }
h4 { font-size: 1.125rem; line-height: 1.222; font-weight: 600; }
p {
  font-size: var(--text-body);
  line-height: 1.47059;
  letter-spacing: var(--tracking-body);
  font-weight: 400;
}
small, .text-caption {
  font-size: var(--text-caption);
  line-height: 1.333;
  letter-spacing: -0.01em;
  color: var(--color-text-muted);
}
.text-muted, .section-sub, .card-text, .hero-subtitle {
  color: var(--color-text-muted);
  font-weight: 400;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ---------------- Top Header ---------------- */
.header-sticky {
  position: sticky;
  top: 0;
  z-index: 100;
  background: linear-gradient(180deg, rgba(5, 13, 22, 0.97), rgba(10, 26, 44, 0.94));
  color: white;
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(196, 163, 90, 0.22);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 0.85rem 0;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
}

.brand-logo img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--color-gold);
}

.brand-title {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.022em;
  color: white;
  line-height: 1.2;
}

.brand-sub {
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  color: rgba(255, 255, 255, 0.64);
  font-weight: 400;
  letter-spacing: -0.01em;
  text-transform: none;
  display: block;
  line-height: 1.333;
}

/* Header Search */
.header-search {
  flex: 1;
  max-width: 420px;
  margin: 0 auto;
  display: flex;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  overflow: hidden;
  backdrop-filter: blur(8px);
  transition: all 0.25s ease;
}

.header-search:focus-within {
  border-color: var(--color-gold);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.25);
  background: rgba(255, 255, 255, 0.15);
}

.header-search input {
  width: 100%;
  padding: 0.55rem 1.25rem;
  background: transparent;
  border: none;
  color: white;
  font-size: 0.875rem;
  outline: none;
}

.header-search input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.header-search button {
  background: var(--color-gold);
  color: var(--color-navy);
  font-weight: 700;
  border: none;
  padding: 0 1.25rem;
  cursor: pointer;
  font-size: 0.85rem;
  transition: background 0.2s ease;
}

.header-search button:hover {
  background: var(--color-gold-hover);
}

/* Navigation Links */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  margin-left: auto;
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: -0.01em;
}

.nav-link {
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.2s ease;
}

.nav-link:hover, .nav-link.active {
  color: #fff;
}

.admin-badge-btn {
  background: transparent;
  color: rgba(255, 255, 255, 0.8);
  padding: 0.35rem 0.65rem;
  border-radius: 980px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  font-size: 0.75rem;
  font-weight: 400;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.admin-badge-btn:hover {
  transform: none;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
}

/* ---------------- Hero Section ---------------- */
.hero-section {
  position: relative;
  background-color: var(--color-navy-dark);
  color: white;
  min-height: min(92vh, 860px);
  display: flex;
  align-items: flex-end;
  padding: 0;
  overflow: hidden;
  text-align: left;
}

.hero-bg-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
  filter: brightness(0.62) contrast(1.08) saturate(1.05);
  transform: scale(1.04);
  animation: hero ken 28s var(--ease-out) infinite alternate;
}

@keyframes heroken {
  from { transform: scale(1.04) translate3d(0, 0, 0); }
  to { transform: scale(1.1) translate3d(-1.5%, -1%, 0); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(5, 13, 22, 0.88) 0%, rgba(5, 13, 22, 0.55) 48%, rgba(5, 13, 22, 0.25) 100%),
    linear-gradient(to top, rgba(5, 13, 22, 0.92) 0%, transparent 45%);
}

.hero-content {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 7rem 1.5rem 4.5rem;
  animation: heroRise 1s var(--ease-out) both;
}

@keyframes heroRise {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-brand {
  font-family: var(--font-heading);
  font-size: var(--text-display);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: var(--tracking-display);
  color: #fff;
  margin-bottom: 0.85rem;
  max-width: 12ch;
}

.hero-brand span {
  display: block;
  color: rgba(255, 255, 255, 0.92);
}

.hero-badge { display: none; }

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(1.375rem, 2.4vw, 1.75rem);
  font-weight: 600;
  margin-bottom: 0.75rem;
  letter-spacing: -0.016em;
  line-height: 1.19048;
  max-width: 22ch;
  color: #f5f5f7;
}

.hero-subtitle {
  font-size: clamp(1.0625rem, 1.6vw, 1.3125rem);
  font-weight: 400;
  color: #a1a1a6;
  margin-bottom: 2rem;
  max-width: 34ch;
  line-height: 1.381;
  letter-spacing: 0.011em;
}

.hero-buttons {
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.btn-primary {
  background: var(--color-gold);
  color: var(--color-navy-dark);
  font-weight: 600;
  padding: 0.85rem 1.6rem;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  letter-spacing: 0.02em;
  transition: background 0.25s var(--ease-out), transform 0.25s var(--ease-out);
  gap: 0.5rem;
  transition: all 0.25s ease;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background: var(--color-gold-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.35);
}

.btn-outline {
  border: 1px solid rgba(255, 255, 255, 0.55);
  color: white;
  font-weight: 500;
  padding: 0.85rem 1.6rem;
  border-radius: 4px;
  transition: background 0.25s var(--ease-out), border-color 0.25s var(--ease-out);
  display: inline-flex;
  align-items: center;
  letter-spacing: 0.02em;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: #fff;
}

/* ---------------- Categories Grid ---------------- */
.section-padding {
  padding: 5rem 0;
}

.section-title {
  font-size: var(--text-headline);
  font-weight: 600;
  color: var(--color-text-dark);
  text-align: left;
  margin-bottom: 0.5rem;
  letter-spacing: var(--tracking-headline);
  line-height: 1.14286;
}

.section-sub {
  text-align: left;
  color: var(--color-text-muted);
  margin-bottom: 2.5rem;
  font-size: clamp(1.0625rem, 1.5vw, 1.3125rem);
  max-width: 36rem;
  font-weight: 400;
  line-height: 1.381;
  letter-spacing: 0.011em;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.5rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.section-link {
  color: var(--color-sea);
  font-weight: 400;
  font-size: 1.0625rem;
  border-bottom: 0;
  padding-bottom: 0;
  letter-spacing: -0.014em;
}

.section-link:hover {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0.75rem;
}

.category-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: 0.35rem;
  padding: 1.35rem 1.15rem;
  background: linear-gradient(160deg, #fff 0%, var(--color-foam) 100%);
  border: 1px solid var(--color-card-border);
  border-radius: 4px;
  transition: border-color 0.25s var(--ease-out), transform 0.25s var(--ease-out);
  box-shadow: none;
}

.category-card:hover {
  transform: translateY(-3px);
  border-color: rgba(196, 163, 90, 0.55);
  box-shadow: var(--shadow-md);
}

.category-icon {
  display: none;
}

.category-card:hover .category-icon {
  display: none;
}

.category-name {
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--color-text-dark);
  letter-spacing: -0.014em;
  line-height: 1.235;
}

/* ---------------- Ticker Bar ---------------- */
.ticker-wrap {
  background-color: var(--color-navy);
  border-top: 1px solid rgba(212, 175, 55, 0.2);
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
  overflow: hidden;
  display: flex;
  align-items: center;
}

.ticker-badge {
  background: var(--color-gold);
  color: var(--color-navy);
  font-weight: 800;
  font-size: 0.75rem;
  padding: 0.75rem 1.25rem;
  letter-spacing: 0.05em;
  white-space: nowrap;
  z-index: 10;
}

.ticker-content {
  display: flex;
  white-space: nowrap;
  animation: marquee 30s linear infinite;
}

.ticker-item {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.875rem;
  margin: 0 1.5rem;
  transition: color 0.2s ease;
}

.ticker-item:hover {
  color: var(--color-gold);
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ---------------- Headline Carousel ---------------- */
.headline-banner {
  position: relative;
  height: 420px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  margin-top: 2rem;
}

.headline-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  pointer-events: none;
}

.headline-slide.active {
  opacity: 1;
  pointer-events: auto;
}

.headline-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.headline-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--color-navy-dark) 0%, rgba(11, 29, 51, 0.4) 50%, transparent 100%);
}

.headline-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2.5rem;
  color: white;
}

.headline-tag {
  display: inline-block;
  background: var(--color-gold);
  color: var(--color-navy);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.75rem;
  text-transform: uppercase;
}

.headline-title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 600;
  margin-bottom: 0.5rem;
  max-width: 18ch;
  letter-spacing: -0.015em;
  line-height: 1.1;
}

.headline-desc {
  color: #a1a1a6;
  font-size: 1.0625rem;
  max-width: 36ch;
  font-weight: 400;
  line-height: 1.381;
  letter-spacing: 0.011em;
}

/* ---------------- Live Maritime Widgets ---------------- */
.widgets-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.widget-card {
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-card-border);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.widget-header {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--color-card-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fafbfc;
}

.widget-header h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-navy);
}

.widget-iframe {
  width: 100%;
  height: 380px;
  border: none;
}

.currency-bar {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  background: white;
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-card-border);
  box-shadow: var(--shadow-sm);
  margin-bottom: 2rem;
}

.currency-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
}

.currency-icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(11, 29, 51, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--color-navy);
}

/* ---------------- Cards Grid (Articles & Boats) ---------------- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.75rem;
}

.card {
  background: transparent;
  border-radius: 0;
  border: 0;
  box-shadow: none;
  overflow: hidden;
  transition: transform 0.35s var(--ease-out);
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: none;
}

.card-img-wrap {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--color-navy-light);
  overflow: hidden;
}

.card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.card:hover .card-img-wrap img {
  transform: scale(1.06);
}

.card-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--color-gold);
  color: var(--color-navy);
  font-size: 0.7rem;
  font-weight: 800;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
}

.card-body {
  padding: 1.15rem 0 0;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-category {
  font-size: var(--text-caption);
  font-weight: 400;
  color: var(--color-text-muted);
  text-transform: none;
  letter-spacing: -0.01em;
  margin-bottom: 0.35rem;
}

.card-title {
  font-size: 1.1875rem;
  font-weight: 600;
  color: var(--color-text-dark);
  margin-bottom: 0.45rem;
  line-height: 1.21053;
  letter-spacing: -0.011em;
}

.card-text {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  flex: 1;
  line-height: 1.42859;
  letter-spacing: -0.016em;
  font-weight: 400;
  margin-bottom: 1rem;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--color-text-muted);
  border-top: 0;
  padding-top: 0.5rem;
  letter-spacing: -0.01em;
  font-weight: 400;
  margin-top: auto;
}

.card-price {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--color-text-dark);
  letter-spacing: -0.014em;
}

/* ---------------- YouTube Video Grid ---------------- */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1rem;
}

.video-card {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-navy);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.video-card:hover img {
  transform: scale(1.08);
  opacity: 1;
}

.play-icon {
  position: absolute;
  width: 44px;
  height: 44px;
  background: rgba(212, 175, 55, 0.9);
  color: var(--color-navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 4px 15px rgba(0,0,0,0.4);
  transition: transform 0.2s ease;
}

.video-card:hover .play-icon {
  transform: scale(1.15);
  background: var(--color-gold);
}

/* ---------------- Footer ---------------- */
.footer {
  background: var(--color-navy-dark);
  color: white;
  margin-top: auto;
  padding-top: 4rem;
  padding-bottom: 2rem;
  border-top: 2px solid var(--color-gold);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
  margin-top: 1rem;
}

.footer-title {
  font-size: 0.75rem;
  font-weight: 400;
  color: #a1a1a6;
  margin-bottom: 1.25rem;
  letter-spacing: -0.01em;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  font-size: 0.875rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--color-gold);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
}

/* ---------------- Admin Dashboard Styles ---------------- */
.admin-layout {
  display: flex;
  min-height: 100vh;
}

.admin-sidebar {
  width: 260px;
  background: var(--color-navy-dark);
  color: white;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
}

.admin-sidebar .brand-title {
  font-size: 1.1rem;
}

.admin-nav {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.admin-nav-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-lg);
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.2s ease;
}

.admin-nav-item:hover, .admin-nav-item.active {
  background: rgba(212, 175, 55, 0.15);
  color: var(--color-gold);
}

.admin-main {
  flex: 1;
  background: #f1f5f9;
  padding: 2rem;
  overflow-y: auto;
}

.admin-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: white;
  padding: 1rem 1.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  margin-bottom: 2rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.stat-card {
  background: white;
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-card-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.stat-val {
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-navy);
}

.stat-label {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

/* Tables & Forms */
.data-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.data-table th, .data-table td {
  padding: 1rem 1.25rem;
  text-align: left;
  border-bottom: 1px solid #f1f5f9;
  font-size: 0.9rem;
}

.data-table th {
  background: #f8fafc;
  color: var(--color-navy);
  font-weight: 700;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--color-text-muted);
  margin-bottom: 0.4rem;
  letter-spacing: -0.01em;
}

.form-control {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  border: 1px solid #d2d2d7;
  font-size: 1.0625rem;
  font-family: inherit;
  font-weight: 400;
  letter-spacing: -0.014em;
  color: var(--color-text-dark);
  outline: none;
  transition: border 0.2s ease;
  background: #fff;
}

.form-control:focus {
  border-color: #0066cc;
  box-shadow: 0 0 0 4px rgba(0, 102, 204, 0.16);
}

/* ---- Accessibility / overflow ---- */
html { overflow-x: hidden; }
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

.lang-switch { display: flex; gap: 0.35rem; align-items: center; margin-inline-start: 0.5rem; }
.lang-chip {
  font-size: 0.72rem; font-weight: 800; padding: 0.25rem 0.45rem;
  border-radius: 6px; text-decoration: none;
  background: rgba(255,255,255,0.12); color: #fff;
}
.lang-chip.is-active { background: var(--color-gold); color: #0b1d33; }

.footer-social { margin-top: 0.5rem; display: flex; gap: 0.75rem; flex-wrap: wrap; }
.footer-social a { color: var(--color-gold); font-weight: 700; }

/* Empty states */
.empty-state {
  text-align: center;
  background: #fff;
  border: 1px solid var(--color-card-border);
  border-radius: var(--radius-xl);
  padding: 2.5rem 1.5rem;
  color: var(--color-text-muted);
}
.empty-state--lg { padding: 4rem 1.5rem; }
.empty-state h1, .empty-state h2 { color: var(--color-navy); margin-bottom: 0.75rem; }
.empty-state-code {
  font-size: 3.5rem; font-weight: 800; color: var(--color-gold); line-height: 1; margin-bottom: 0.5rem;
}
.empty-state-actions { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; margin-top: 1.5rem; }

/* Cards equal height */
.grid-3 { align-items: stretch; }
.grid-3 > .card { height: 100%; display: flex; flex-direction: column; }
.grid-3 > .card .card-body { flex: 1; display: flex; flex-direction: column; }
.grid-3 > .card .card-footer { margin-top: auto; }
.card-img-wrap img { width: 100%; height: 100%; object-fit: cover; }

.breadcrumb { margin-bottom: 1rem; }
.breadcrumb-list {
  display: flex; flex-wrap: wrap; gap: 0.35rem 0.5rem;
  list-style: none; padding: 0; margin: 0;
  font-size: 0.85rem; color: var(--color-text-muted);
}
.breadcrumb-item:not(:last-child)::after {
  content: "/";
  margin-inline-start: 0.5rem;
  color: #94a3b8;
}
[dir="rtl"] .breadcrumb-item:not(:last-child)::after { content: "/"; }
.breadcrumb-item a { color: var(--color-sea); font-weight: 600; text-decoration: none; }
.breadcrumb-item a:hover { color: var(--color-navy); }
.related-block { margin-top: 2.5rem; }
.related-block h2 { color: var(--color-navy); font-size: 1.35rem; margin-bottom: 1rem; }

/* List / page chrome */
.page-title {
  color: var(--color-text-dark);
  font-weight: 600;
  font-size: var(--text-headline);
  margin: 0 0 0.5rem;
  word-break: break-word;
  letter-spacing: var(--tracking-headline);
  line-height: 1.14286;
}
.page-sub {
  color: var(--color-text-muted);
  font-size: 1.3125rem;
  font-weight: 400;
  line-height: 1.381;
  letter-spacing: 0.011em;
  max-width: 40rem;
}
.page-sub { color: var(--color-text-muted); margin: 0; }
.list-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 2rem; flex-wrap: wrap; gap: 1rem; }
.filter-chips { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.filter-chip { padding: 0.4rem 0.9rem; font-size: 0.8rem; border-color: var(--color-navy); color: var(--color-navy); }
.filter-chip.is-active { background: var(--color-navy); color: #fff; }
.card-meta { font-size: 0.8rem; color: var(--color-text-muted); margin-bottom: 0.8rem; min-height: 1.2em; }
.muted { color: var(--color-text-muted); }

/* Detail layouts */
.detail-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
}
.detail-back { margin-bottom: 1rem; }
.detail-back a { color: var(--color-sea); font-weight: 700; text-decoration: none; }
.detail-back a:hover { color: var(--color-navy); }
.detail-hero-img {
  width: 100%;
  margin-bottom: 2rem;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: var(--color-navy);
  aspect-ratio: 16 / 9;
}
.detail-hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.detail-panel {
  background: #fff;
  padding: 2rem;
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-card-border);
  box-shadow: var(--shadow-sm);
}
.detail-title {
  color: var(--color-text-dark);
  font-weight: 600;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  margin: 0.4rem 0 1rem;
  line-height: 1.1;
  letter-spacing: -0.015em;
  word-break: break-word;
}
.detail-section-title {
  color: var(--color-text-dark);
  font-size: 1.3125rem;
  font-weight: 600;
  margin: 1.5rem 0 0.75rem;
  border-bottom: 0;
  padding-bottom: 0;
  letter-spacing: -0.011em;
}
.detail-body {
  font-size: 1.0625rem;
  line-height: 1.47059;
  letter-spacing: -0.014em;
  color: var(--color-text-muted);
  overflow-wrap: anywhere;
  font-weight: 400;
}
.detail-price {
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--color-text-dark);
  margin-bottom: 1.25rem;
  letter-spacing: -0.016em;
}
.detail-sidebar {
  background: #fff;
  padding: 1.75rem;
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-card-border);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 100px;
}
.detail-specs { width: 100%; border-collapse: collapse; font-size: 0.9rem; margin-bottom: 1.5rem; }
.detail-specs tr { border-bottom: 1px solid #f1f5f9; }
.detail-specs td { padding: 0.6rem 0; }
.detail-specs td:first-child { color: var(--color-text-muted); }
.detail-specs td:last-child { font-weight: 700; text-align: end; color: var(--color-navy); }
.detail-cta { width: 100%; justify-content: center; }

.article-detail {
  max-width: 800px;
  margin: 0 auto;
  background: #fff;
  padding: clamp(1.25rem, 3vw, 2.5rem);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-card-border);
}
.article-meta {
  display: flex;
  gap: 1.5rem;
  color: var(--color-text-muted);
  font-size: 0.875rem;
  border-bottom: 1px solid #f1f5f9;
  padding-bottom: 1.25rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}
.article-hero { margin-bottom: 2rem; aspect-ratio: 16 / 9; }
.article-body {
  font-size: 1.0625rem;
  line-height: 1.47059;
  letter-spacing: -0.014em;
  color: var(--color-text-dark);
  overflow-wrap: anywhere;
  font-weight: 400;
}
.article-body img { max-width: 100%; height: auto; border-radius: var(--radius-lg); }
.article-body h2, .article-body h3 {
  color: var(--color-text-dark);
  margin: 1.5rem 0 0.65rem;
  font-weight: 600;
  letter-spacing: -0.011em;
}
.article-body p {
  margin-bottom: 1em;
  color: #1d1d1f;
}
.video-embed { position: relative; padding-bottom: 56.25%; height: 0; margin: 1.25rem 0; border-radius: var(--radius-lg); overflow: hidden; background: #0b1d33; }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.detail-body img { max-width: 100%; height: auto; border-radius: var(--radius-lg); }

.directory-card { display: flex; flex-direction: column; height: 100%; padding: 0; overflow: hidden; }
.directory-card .card-body { padding: 1.5rem 1.5rem 0.75rem; }
.directory-card-meta {
  border-top: 1px solid #f1f5f9;
  padding: 1rem 1.5rem 1.5rem;
  font-size: 0.85rem;
  color: var(--color-text-dark);
}
.directory-card-meta p { margin: 0 0 0.35rem; }
.directory-website { display: inline-block; margin-top: 0.5rem; color: var(--color-sea); font-weight: 700; }

.form-shell {
  background: #fff;
  padding: clamp(1.25rem, 3vw, 2.5rem);
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-card-border);
  box-shadow: var(--shadow-sm);
}
.form-card-title {
  color: var(--color-text-dark);
  font-weight: 600;
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
  letter-spacing: -0.016em;
}
.form-shell-intro { text-align: center; margin-bottom: 2rem; }
.form-shell-icon { font-size: 2.5rem; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.alert { padding: 1rem; border-radius: var(--radius-lg); margin-bottom: 1.5rem; }
.alert-success { background: #dcfce7; color: #166534; border: 1px solid #bbf7d0; }
.alert-error { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }

/* Contact page — reference layout */
.mr-contact {
  position: relative;
  padding: 0 0 4rem;
  background:
    linear-gradient(180deg, rgba(244, 248, 252, 0.92) 0%, rgba(244, 248, 252, 0.72) 28%, rgba(238, 245, 251, 0.88) 100%),
    var(--contact-bg) center top / cover no-repeat;
  overflow: hidden;
}
.mr-contact::before {
  content: '';
  position: absolute;
  top: 1.2rem;
  right: max(1rem, calc(50% - 36rem));
  width: 140px;
  height: 140px;
  opacity: 0.12;
  pointer-events: none;
  background: center / contain no-repeat url('/assets/img/logo-guides.png?v=1');
}
.mr-contact-hero {
  position: relative;
  padding: 2.75rem 0 1.5rem;
}
.mr-contact-aside {
  position: absolute;
  top: 1.4rem;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  font-family: 'Dancing Script', 'Segoe Script', cursive;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  color: #6ea3d8;
  opacity: 0.85;
  pointer-events: none;
  white-space: nowrap;
}
.mr-contact-hero-inner { position: relative; z-index: 1; max-width: 40rem; }
.mr-contact-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0 0 0.75rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: #1e6bb8;
  text-transform: uppercase;
}
.mr-contact-kicker::after {
  content: '';
  width: 2.4rem;
  height: 2px;
  background: #1e6bb8;
  border-radius: 2px;
}
.mr-contact-title {
  margin: 0 0 0.75rem;
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #0a2540;
  line-height: 1.1;
}
.mr-contact-lead {
  margin: 0;
  max-width: 38rem;
  color: #5c6b7a;
  font-size: 1.02rem;
  line-height: 1.55;
}
.mr-contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.15fr);
  gap: 1.25rem;
  align-items: start;
  position: relative;
  z-index: 1;
}
.mr-contact-card {
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 16px 40px rgba(10, 37, 64, 0.1);
  border: 1px solid rgba(10, 37, 64, 0.06);
}
.mr-contact-card--info { padding: 0.35rem 0.35rem 1.15rem; }
.mr-contact-card--form { padding: 1.5rem 1.45rem 1.35rem; }
.mr-contact-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.85rem;
  align-items: center;
  padding: 1rem 1rem;
  border-bottom: 1px solid rgba(10, 37, 64, 0.08);
}
.mr-contact-row--social { align-items: start; border-bottom: 0; }
.mr-contact-ico {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: #e8f2fb;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.mr-contact-ico::before {
  content: '';
  width: 18px;
  height: 18px;
  background: #1e6bb8;
  -webkit-mask: center / contain no-repeat;
  mask: center / contain no-repeat;
}
.mr-contact-ico--pin::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 2.8a5.2 5.2 0 0 0-5.2 5.2c0 3.9 5.2 10.2 5.2 10.2s5.2-6.3 5.2-10.2A5.2 5.2 0 0 0 12 2.8zm0 7.4a2.2 2.2 0 1 1 0-4.4 2.2 2.2 0 0 1 0 4.4z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 2.8a5.2 5.2 0 0 0-5.2 5.2c0 3.9 5.2 10.2 5.2 10.2s5.2-6.3 5.2-10.2A5.2 5.2 0 0 0 12 2.8zm0 7.4a2.2 2.2 0 1 1 0-4.4 2.2 2.2 0 0 1 0 4.4z'/%3E%3C/svg%3E");
}
.mr-contact-ico--phone::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M6.6 10.8c1.4 2.8 3.8 5.1 6.6 6.6l2.2-2.2c.3-.3.7-.4 1.1-.2 1.2.4 2.5.6 3.8.6.6 0 1 .4 1 1V20c0 .6-.4 1-1 1C10.6 21 3 13.4 3 4c0-.6.4-1 1-1h3.5c.6 0 1 .4 1 1 0 1.3.2 2.6.6 3.8.1.4 0 .8-.3 1.1L6.6 10.8z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M6.6 10.8c1.4 2.8 3.8 5.1 6.6 6.6l2.2-2.2c.3-.3.7-.4 1.1-.2 1.2.4 2.5.6 3.8.6.6 0 1 .4 1 1V20c0 .6-.4 1-1 1C10.6 21 3 13.4 3 4c0-.6.4-1 1-1h3.5c.6 0 1 .4 1 1 0 1.3.2 2.6.6 3.8.1.4 0 .8-.3 1.1L6.6 10.8z'/%3E%3C/svg%3E");
}
.mr-contact-ico--mail::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M20 4H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2zm0 4-8 5L4 8V6l8 5 8-5v2z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M20 4H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2zm0 4-8 5L4 8V6l8 5 8-5v2z'/%3E%3C/svg%3E");
}
.mr-contact-ico--share::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M18 16.1a3 3 0 0 0-2.1.9l-7.1-4.1a3.1 3.1 0 0 0 0-1.8l7.1-4.1A3 3 0 1 0 15 5a3 3 0 0 0 .1.7L8 9.8a3 3 0 1 0 0 4.4l7.1 4.1A3 3 0 1 0 18 16.1z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M18 16.1a3 3 0 0 0-2.1.9l-7.1-4.1a3.1 3.1 0 0 0 0-1.8l7.1-4.1A3 3 0 1 0 15 5a3 3 0 0 0 .1.7L8 9.8a3 3 0 1 0 0 4.4l7.1 4.1A3 3 0 1 0 18 16.1z'/%3E%3C/svg%3E");
}
.mr-contact-row-body strong {
  display: block;
  color: #0a2540;
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
}
.mr-contact-row-body p {
  margin: 0;
  color: #5c6b7a;
  font-size: 0.92rem;
  line-height: 1.4;
}
.mr-contact-action {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  color: #1e6bb8;
  font-weight: 700;
  font-size: 0.82rem;
  white-space: nowrap;
  text-decoration: none;
}
.mr-contact-action:hover { text-decoration: underline; }
.mr-contact-social { display: flex; gap: 0.55rem; flex-wrap: wrap; margin-top: 0.55rem; }
.mr-contact-social-btn {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(10, 37, 64, 0.1);
  display: grid;
  place-items: center;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(10, 37, 64, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.mr-contact-social-btn:hover { transform: translateY(-2px); }
.mr-contact-quote {
  margin: 0.35rem 1rem 0;
  padding: 1rem 0.2rem 0.35rem;
  border-top: 1px solid rgba(10, 37, 64, 0.08);
}
.mr-contact-quote p {
  margin: 0 0 0.85rem;
  font-family: Georgia, 'Times New Roman', serif;
  font-style: italic;
  color: #4a6075;
  font-size: 0.95rem;
  line-height: 1.45;
}
.mr-contact-quote-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #1e6bb8;
  font-weight: 700;
  font-size: 0.88rem;
}
.mr-contact-quote-brand img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
}
.mr-contact-form-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 0.55rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #1e6bb8;
  text-transform: uppercase;
}
.mr-contact-form-kicker::after {
  content: '';
  width: 2rem;
  height: 2px;
  background: #1e6bb8;
  border-radius: 2px;
}
.mr-contact-form-title {
  margin: 0 0 0.45rem;
  color: #0a2540;
  font-size: clamp(1.35rem, 2.2vw, 1.7rem);
  font-weight: 800;
  letter-spacing: -0.025em;
}
.mr-contact-form-sub {
  margin: 0 0 1.25rem;
  color: #667788;
  font-size: 0.95rem;
  line-height: 1.45;
}
.mr-contact-field { margin-bottom: 0.95rem; }
.mr-contact-field label {
  display: block;
  margin-bottom: 0.4rem;
  color: #3d4f61;
  font-size: 0.86rem;
  font-weight: 600;
}
.mr-contact-input {
  position: relative;
  display: flex;
  align-items: center;
  border: 1px solid rgba(10, 37, 64, 0.14);
  border-radius: 12px;
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.mr-contact-input:focus-within {
  border-color: #1e6bb8;
  box-shadow: 0 0 0 3px rgba(30, 107, 184, 0.12);
}
.mr-contact-input-ico {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.mr-contact-input-ico::before {
  content: '';
  width: 16px;
  height: 16px;
  background: #8aa0b5;
  -webkit-mask: center / contain no-repeat;
  mask: center / contain no-repeat;
}
.mr-contact-input-ico--user::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 12a4.5 4.5 0 1 0 0-9 4.5 4.5 0 0 0 0 9zm0 2c-4 0-8 2-8 5v2h16v-2c0-3-4-5-8-5z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 12a4.5 4.5 0 1 0 0-9 4.5 4.5 0 0 0 0 9zm0 2c-4 0-8 2-8 5v2h16v-2c0-3-4-5-8-5z'/%3E%3C/svg%3E");
}
.mr-contact-input-ico--mail::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M20 4H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2zm0 4-8 5L4 8V6l8 5 8-5v2z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M20 4H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2zm0 4-8 5L4 8V6l8 5 8-5v2z'/%3E%3C/svg%3E");
}
.mr-contact-input-ico--list::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M4 6h16v2H4V6zm0 5h16v2H4v-2zm0 5h10v2H4v-2z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M4 6h16v2H4V6zm0 5h16v2H4v-2zm0 5h10v2H4v-2z'/%3E%3C/svg%3E");
}
.mr-contact-input-ico--chat::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M4 4h16a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2H8l-4 3V6a2 2 0 0 1 2-2z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M4 4h16a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2H8l-4 3V6a2 2 0 0 1 2-2z'/%3E%3C/svg%3E");
}
.mr-contact-input input,
.mr-contact-input select,
.mr-contact-input textarea {
  width: 100%;
  border: 0;
  outline: none;
  background: transparent;
  font: inherit;
  color: #0a2540;
  padding: 0.85rem 0.95rem 0.85rem 0;
}
.mr-contact-input select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 2.4rem;
  background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%238aa0b5' d='M7 10l5 5 5-5H7z'/%3E%3C/svg%3E") right 0.7rem center / 1.1rem no-repeat;
}
.mr-contact-input--area {
  align-items: flex-start;
  padding-bottom: 1.6rem;
}
.mr-contact-input--area .mr-contact-input-ico { margin-top: 0.35rem; }
.mr-contact-input textarea {
  resize: vertical;
  min-height: 140px;
  line-height: 1.45;
}
.mr-contact-count {
  position: absolute;
  right: 0.85rem;
  bottom: 0.45rem;
  font-size: 0.75rem;
  color: #8aa0b5;
}
.mr-contact-submit {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  margin-top: 0.35rem;
  padding: 0.95rem 1.2rem;
  border: 0;
  border-radius: 12px;
  background: #c4a35a;
  color: #fff;
  font: inherit;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(196, 163, 90, 0.28);
  transition: background 0.2s ease, transform 0.2s ease;
}
.mr-contact-submit:hover {
  background: #b3924d;
  transform: translateY(-1px);
}
.mr-contact-submit-ico {
  width: 18px;
  height: 18px;
  background: #fff;
  -webkit-mask: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M2.1 21.1 22 12 2.1 2.9 2 10l13 2-13 2 .1 7.1z'/%3E%3C/svg%3E");
  mask: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M2.1 21.1 22 12 2.1 2.9 2 10l13 2-13 2 .1 7.1z'/%3E%3C/svg%3E");
}
.mr-contact-privacy {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  margin: 0.95rem 0 0;
  color: #7a8796;
  font-size: 0.8rem;
  text-align: center;
}
.mr-contact-privacy a { color: #1e6bb8; font-weight: 600; }
.mr-contact-lock {
  width: 14px;
  height: 14px;
  background: #8aa0b5;
  -webkit-mask: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M17 8h-1V6a4 4 0 0 0-8 0v2H7a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V10a2 2 0 0 0-2-2zm-7-2a2 2 0 1 1 4 0v2h-4V6zm2 11a2 2 0 1 1 0-4 2 2 0 0 1 0 4z'/%3E%3C/svg%3E");
  mask: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M17 8h-1V6a4 4 0 0 0-8 0v2H7a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V10a2 2 0 0 0-2-2zm-7-2a2 2 0 1 1 4 0v2h-4V6zm2 11a2 2 0 1 1 0-4 2 2 0 0 1 0 4z'/%3E%3C/svg%3E");
}

@media (max-width: 980px) {
  .mr-contact-grid { grid-template-columns: 1fr; }
  .mr-contact-aside { display: none; }
  .mr-contact-row {
    grid-template-columns: auto 1fr;
    gap: 0.75rem;
  }
  .mr-contact-action {
    grid-column: 2;
    justify-self: start;
    margin-top: 0.15rem;
  }
}
@media (max-width: 640px) {
  .mr-contact { padding-bottom: 2.5rem; }
  .mr-contact-hero { padding-top: 2rem; }
  .mr-contact-card--form { padding: 1.2rem 1rem 1.1rem; }
}

/* ===== About page ===== */
.mr-about-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  margin: 0 0 1.05rem;
  font-size: clamp(0.92rem, 1.4vw, 1.05rem);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.2;
  color: #fff;
}
.mr-about-kicker::before {
  content: "";
  display: block;
  width: 0.28rem;
  height: 1.05em;
  border-radius: 2px;
  background: var(--color-gold);
  flex: 0 0 auto;
}
.mr-about-kicker::after {
  content: "";
  display: block;
  width: 3.25rem;
  height: 2px;
  background: var(--color-gold);
  flex: 0 0 auto;
}
.mr-about-kicker--dark {
  color: #0a2540;
}
.mr-about-kicker--dark::before,
.mr-about-kicker--dark::after {
  background: #1e6bb8;
}
.mr-about-section-title {
  margin: 0 0 1.1rem;
  font-size: clamp(1.7rem, 2.9vw, 2.25rem);
  line-height: 1.18;
  letter-spacing: var(--tracking-headline);
  color: #0a2540;
  font-weight: 800;
}
.mr-about-body {
  margin: 0 0 1rem;
  color: #243447;
  font-size: 0.98rem;
  line-height: 1.7;
  max-width: 36rem;
}

.mr-about-hero {
  position: relative;
  min-height: clamp(420px, 58vw, 560px);
  display: flex;
  align-items: flex-end;
  padding: 3.5rem 0 3.75rem;
  background:
    linear-gradient(90deg, rgba(5, 13, 22, 0.72) 0%, rgba(5, 13, 22, 0.42) 48%, rgba(5, 13, 22, 0.18) 100%),
    var(--about-hero-bg) center / cover no-repeat;
  color: #fff;
  overflow: hidden;
}
.mr-about-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 40rem;
  padding-bottom: 0.5rem;
}
.mr-about-crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  margin: 0 0 1.35rem;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.78);
}
.mr-about-crumbs a {
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  font-weight: 500;
}
.mr-about-crumbs a:hover { text-decoration: underline; }
.mr-about-hero-title {
  margin: 0 0 0.9rem;
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  line-height: 1.15;
  letter-spacing: var(--tracking-display);
  font-weight: 700;
  color: #fff;
  max-width: 18ch;
}
.mr-about-hero-title-accent {
  color: #5eb8f7;
}
.mr-about-hero-lead {
  margin: 0;
  max-width: 34rem;
  font-size: 1rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.9);
}
.mr-about-hero-script {
  margin: 1.75rem 0 0;
  font-family: 'Caveat', 'Segoe Script', cursive;
  font-size: clamp(1.7rem, 3.2vw, 2.35rem);
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.25;
  color: #5eb8f7;
  text-shadow: 0 2px 14px rgba(5, 13, 22, 0.35);
  transform: rotate(-5deg);
  transform-origin: left center;
  width: fit-content;
}

.mr-about-who {
  padding: 4.25rem 0 3.75rem;
  background: #fff;
}
.mr-about-who-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 3rem;
  align-items: center;
}
.mr-about-who-media {
  position: relative;
}
.mr-about-who-media::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 48%;
  border-radius: 0 0 14px 14px;
  background: linear-gradient(180deg, transparent 0%, rgba(5, 13, 22, 0.55) 100%);
  pointer-events: none;
}
.mr-about-who-media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 14px;
}
.mr-about-who-quote {
  position: absolute;
  left: 1.1rem;
  bottom: 1.15rem;
  right: auto;
  z-index: 1;
  width: min(82%, 300px);
  margin: 0;
  padding: 0;
  background: none;
  border-radius: 0;
  box-shadow: none;
}
.mr-about-who-quote-mark {
  display: block;
  font-size: 2rem;
  line-height: 1;
  color: rgba(255, 255, 255, 0.92);
  font-family: Georgia, serif;
  margin-bottom: 0.25rem;
  text-shadow: 0 2px 12px rgba(5, 13, 22, 0.45);
}
.mr-about-who-quote p {
  margin: 0 0 0.45rem;
  font-size: 0.92rem;
  line-height: 1.55;
  color: #fff;
  font-weight: 600;
  text-shadow: 0 2px 14px rgba(5, 13, 22, 0.55);
}
.mr-about-who-quote cite {
  display: block;
  font-style: normal;
  font-size: 0.8rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 2px 12px rgba(5, 13, 22, 0.5);
}
.mr-about-who-icons {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
  margin: 1.5rem 0 0;
  padding: 0;
}
.mr-about-who-icons li {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.78rem;
  line-height: 1.35;
  color: var(--color-navy);
  font-weight: 600;
}

.mr-about-offer {
  padding: 3.75rem 0 4rem;
  background: #f3f6f9;
}
.mr-about-offer-head {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: 2rem;
  align-items: end;
  margin-bottom: 2rem;
}
.mr-about-offer-lead {
  margin: 0;
  color: #4a5a6a;
  font-size: 0.95rem;
  line-height: 1.65;
  text-align: end;
}
.mr-about-offer-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.9rem;
}
.mr-about-offer-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  padding: 0;
  border: 1px solid rgba(10, 26, 44, 0.06);
  box-shadow: 0 4px 16px rgba(5, 13, 22, 0.04);
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out);
}
.mr-about-offer-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(5, 13, 22, 0.1);
}
.mr-about-offer-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #d7e0e8;
}
.mr-about-offer-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s var(--ease-out);
}
.mr-about-offer-card:hover .mr-about-offer-media img {
  transform: scale(1.04);
}
.mr-about-offer-body {
  padding: 0.95rem 1rem 1.1rem;
}
.mr-about-offer-card h3 {
  margin: 0 0 0.35rem;
  font-size: 0.95rem;
  color: var(--color-navy);
  font-weight: 700;
}
.mr-about-offer-card p {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.45;
  color: #5a6a7a;
}

.mr-about-vision {
  padding: 4.25rem 0 4rem;
  background: #fff;
}
.mr-about-vision-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 3.25rem;
  align-items: start;
}
.mr-about-vision-right {
  position: relative;
  padding: 0.25rem 0 2.5rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cg fill='none' stroke='%23cfd8e3' stroke-width='1.2'%3E%3Ccircle cx='100' cy='100' r='78'/%3E%3Ccircle cx='100' cy='100' r='52'/%3E%3Ccircle cx='100' cy='100' r='18'/%3E%3Cpath d='M100 12v176M12 100h176M34 34l132 132M166 34L34 166'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.5rem center;
  background-size: min(46%, 220px);
}
.mr-about-values-list {
  list-style: none;
  margin: 1.15rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  max-width: 26rem;
}
.mr-about-values-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--color-navy);
  font-weight: 600;
}
.mr-about-vision-script {
  margin: 1.75rem 0 0;
  font-family: 'Dancing Script', 'Segoe Script', cursive;
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  font-weight: 600;
  color: #9aa8b8;
  transform: rotate(-5deg);
  text-align: end;
}

.mr-about-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 1.15rem;
  padding: 0.78rem 1.25rem;
  border-radius: 10px;
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s var(--ease-out), transform 0.2s var(--ease-out), border-color 0.2s;
}
.mr-about-btn--gold {
  background: var(--color-gold);
  color: #fff;
  border: 1px solid transparent;
}
.mr-about-btn--gold:hover {
  background: var(--color-gold-hover);
  transform: translateY(-1px);
}
.mr-about-btn--ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.75);
}
.mr-about-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.1);
}

.mr-about-cta {
  position: relative;
  padding: 4.5rem 0;
  background:
    linear-gradient(90deg, rgba(5, 13, 22, 0.72) 0%, rgba(5, 13, 22, 0.45) 55%, rgba(5, 13, 22, 0.28) 100%),
    var(--about-cta-bg) center / cover no-repeat;
  color: #fff;
}
.mr-about-cta-inner { max-width: 38rem; }
.mr-about-cta-title {
  margin: 0 0 0.85rem;
  font-size: clamp(1.7rem, 3.2vw, 2.35rem);
  line-height: 1.2;
  font-weight: 700;
  color: #fff;
}
.mr-about-cta-lead {
  margin: 0;
  max-width: 34rem;
  font-size: 0.98rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.9);
}
.mr-about-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.35rem;
}
.mr-about-cta-actions .mr-about-btn { margin-top: 0; }

.mr-about-ico {
  display: inline-block;
  width: 1.55rem;
  height: 1.55rem;
  flex: 0 0 auto;
  background: var(--color-navy);
  -webkit-mask: center / contain no-repeat;
  mask: center / contain no-repeat;
}
.mr-about-offer-card .mr-about-ico,
.mr-about-who-icons .mr-about-ico {
  width: 1.7rem;
  height: 1.7rem;
}
.mr-about-ico--compass {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 2a10 10 0 1 0 10 10A10 10 0 0 0 12 2zm3.7 6.3-1.8 5.4-5.4 1.8 1.8-5.4 5.4-1.8zM12 13.2A1.2 1.2 0 1 1 13.2 12 1.2 1.2 0 0 1 12 13.2z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 2a10 10 0 1 0 10 10A10 10 0 0 0 12 2zm3.7 6.3-1.8 5.4-5.4 1.8 1.8-5.4 5.4-1.8zM12 13.2A1.2 1.2 0 1 1 13.2 12 1.2 1.2 0 0 1 12 13.2z'/%3E%3C/svg%3E");
}
.mr-about-ico--people {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M16 11a4 4 0 1 0-4-4 4 4 0 0 0 4 4zM8 12a3.5 3.5 0 1 0-3.5-3.5A3.5 3.5 0 0 0 8 12zm8 1c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4zM8 14c-.29 0-.62.02-.97.05C5.19 14.84 3 16.08 3 18v2h5v-2c0-.82.3-1.55.81-2.18C8.5 14.1 8.24 14 8 14z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M16 11a4 4 0 1 0-4-4 4 4 0 0 0 4 4zM8 12a3.5 3.5 0 1 0-3.5-3.5A3.5 3.5 0 0 0 8 12zm8 1c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4zM8 14c-.29 0-.62.02-.97.05C5.19 14.84 3 16.08 3 18v2h5v-2c0-.82.3-1.55.81-2.18C8.5 14.1 8.24 14 8 14z'/%3E%3C/svg%3E");
}
.mr-about-ico--shield {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 2 4 5v6c0 5.55 3.84 10.74 8 12 4.16-1.26 8-6.45 8-12V5l-8-3zm-1 14-4-4 1.41-1.41L11 13.17l5.59-5.58L18 9l-7 7z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 2 4 5v6c0 5.55 3.84 10.74 8 12 4.16-1.26 8-6.45 8-12V5l-8-3zm-1 14-4-4 1.41-1.41L11 13.17l5.59-5.58L18 9l-7 7z'/%3E%3C/svg%3E");
}
.mr-about-ico--wave {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M2 16c1.8 0 2.7-1 4-1s2.2 1 4 1 2.7-1 4-1 2.2 1 4 1 2.2-1 4-1v2c-1.8 0-2.7 1-4 1s-2.2-1-4-1-2.7 1-4 1-2.2-1-4-1-2.2 1-4 1v-2zm0-5c1.8 0 2.7-1 4-1s2.2 1 4 1 2.7-1 4-1 2.2 1 4 1 2.2-1 4-1v2c-1.8 0-2.7 1-4 1s-2.2-1-4-1-2.7 1-4 1-2.2-1-4-1-2.2 1-4 1v-2z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M2 16c1.8 0 2.7-1 4-1s2.2 1 4 1 2.7-1 4-1 2.2 1 4 1 2.2-1 4-1v2c-1.8 0-2.7 1-4 1s-2.2-1-4-1-2.7 1-4 1-2.2-1-4-1-2.2 1-4 1v-2zm0-5c1.8 0 2.7-1 4-1s2.2 1 4 1 2.7-1 4-1 2.2 1 4 1 2.2-1 4-1v2c-1.8 0-2.7 1-4 1s-2.2-1-4-1-2.7 1-4 1-2.2-1-4-1-2.2 1-4 1v-2z'/%3E%3C/svg%3E");
}
.mr-about-ico--gear {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M19.14 12.94a7.43 7.43 0 0 0 .05-.94 7.43 7.43 0 0 0-.05-.94l2.03-1.58a.5.5 0 0 0 .12-.64l-1.92-3.32a.5.5 0 0 0-.6-.22l-2.39.96a7.15 7.15 0 0 0-1.63-.94l-.36-2.54A.5.5 0 0 0 13.9 2h-3.8a.5.5 0 0 0-.49.42l-.36 2.54c-.58.23-1.12.54-1.63.94l-2.39-.96a.5.5 0 0 0-.6.22L2.71 8.48a.5.5 0 0 0 .12.64l2.03 1.58c-.03.31-.05.62-.05.94s.02.63.05.94L2.83 14.16a.5.5 0 0 0-.12.64l1.92 3.32a.5.5 0 0 0 .6.22l2.39-.96c.5.4 1.05.71 1.63.94l.36 2.54a.5.5 0 0 0 .49.42h3.8a.5.5 0 0 0 .49-.42l.36-2.54c.58-.23 1.12-.54 1.63-.94l2.39.96a.5.5 0 0 0 .6-.22l1.92-3.32a.5.5 0 0 0-.12-.64l-2.03-1.58zM12 15.5A3.5 3.5 0 1 1 15.5 12 3.5 3.5 0 0 1 12 15.5z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M19.14 12.94a7.43 7.43 0 0 0 .05-.94 7.43 7.43 0 0 0-.05-.94l2.03-1.58a.5.5 0 0 0 .12-.64l-1.92-3.32a.5.5 0 0 0-.6-.22l-2.39.96a7.15 7.15 0 0 0-1.63-.94l-.36-2.54A.5.5 0 0 0 13.9 2h-3.8a.5.5 0 0 0-.49.42l-.36 2.54c-.58.23-1.12.54-1.63.94l-2.39-.96a.5.5 0 0 0-.6.22L2.71 8.48a.5.5 0 0 0 .12.64l2.03 1.58c-.03.31-.05.62-.05.94s.02.63.05.94L2.83 14.16a.5.5 0 0 0-.12.64l1.92 3.32a.5.5 0 0 0 .6.22l2.39-.96c.5.4 1.05.71 1.63.94l.36 2.54a.5.5 0 0 0 .49.42h3.8a.5.5 0 0 0 .49-.42l.36-2.54c.58-.23 1.12-.54 1.63-.94l2.39.96a.5.5 0 0 0 .6-.22l1.92-3.32a.5.5 0 0 0-.12-.64l-2.03-1.58zM12 15.5A3.5 3.5 0 1 1 15.5 12 3.5 3.5 0 0 1 12 15.5z'/%3E%3C/svg%3E");
}
.mr-about-ico--wrench {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M22.7 19.3 13.6 10.2a6 6 0 0 1-7.9-7.9l2.9 2.9 2.1-2.1-2.9-2.9a6 6 0 0 1 7.9 7.9l9.1 9.1a1 1 0 0 1 0 1.4l-1.4 1.4a1 1 0 0 1-1.4 0z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M22.7 19.3 13.6 10.2a6 6 0 0 1-7.9-7.9l2.9 2.9 2.1-2.1-2.9-2.9a6 6 0 0 1 7.9 7.9l9.1 9.1a1 1 0 0 1 0 1.4l-1.4 1.4a1 1 0 0 1-1.4 0z'/%3E%3C/svg%3E");
}
.mr-about-ico--bolt {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M11 21H7l4-9H7l7-11h1l-3 8h5l-6 12z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M11 21H7l4-9H7l7-11h1l-3 8h5l-6 12z'/%3E%3C/svg%3E");
}
.mr-about-ico--doc {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8zm0 2.5L18.5 9H14zM8 13h8v2H8zm0 4h8v2H8zm0-8h4v2H8z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8zm0 2.5L18.5 9H14zM8 13h8v2H8zm0 4h8v2H8zm0-8h4v2H8z'/%3E%3C/svg%3E");
}
.mr-about-ico--book {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M18 2H8a3 3 0 0 0-3 3v14a3 3 0 0 0 3 3h12V4a2 2 0 0 0-2-2zm0 16H8a1 1 0 0 1 0-2h10zm0-4H8a1 1 0 0 1 0-2h10zm0-4H8a1 1 0 0 1 0-2h10z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M18 2H8a3 3 0 0 0-3 3v14a3 3 0 0 0 3 3h12V4a2 2 0 0 0-2-2zm0 16H8a1 1 0 0 1 0-2h10zm0-4H8a1 1 0 0 1 0-2h10zm0-4H8a1 1 0 0 1 0-2h10z'/%3E%3C/svg%3E");
}
.mr-about-ico--check {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 2a10 10 0 1 0 10 10A10 10 0 0 0 12 2zm-1.2 14.2-3.5-3.5 1.4-1.4 2.1 2.1 4.7-4.7 1.4 1.4z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 2a10 10 0 1 0 10 10A10 10 0 0 0 12 2zm-1.2 14.2-3.5-3.5 1.4-1.4 2.1 2.1 4.7-4.7 1.4 1.4z'/%3E%3C/svg%3E");
}
.mr-about-ico--sync {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 6V3L8 7l4 4V8a4 4 0 0 1 4 4 3.9 3.9 0 0 1-.4 1.7l1.5 1.5A6 6 0 0 0 12 6zm-4.1 2.8L6.4 7.3A6 6 0 0 0 12 18v3l4-4-4-4v3a4 4 0 0 1-4-4 3.9 3.9 0 0 1 .4-1.7z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 6V3L8 7l4 4V8a4 4 0 0 1 4 4 3.9 3.9 0 0 1-.4 1.7l1.5 1.5A6 6 0 0 0 12 6zm-4.1 2.8L6.4 7.3A6 6 0 0 0 12 18v3l4-4-4-4v3a4 4 0 0 1-4-4 3.9 3.9 0 0 1 .4-1.7z'/%3E%3C/svg%3E");
}
.mr-about-ico--globe {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 2a10 10 0 1 0 10 10A10 10 0 0 0 12 2zm7.9 9h-3.2a15.4 15.4 0 0 0-1.3-5 8 8 0 0 1 4.5 5zM12 4c.9 1.3 1.9 3.3 2.3 5.5H9.7C10.1 7.3 11.1 5.3 12 4zM4.1 13h3.2a15.4 15.4 0 0 0 1.3 5 8 8 0 0 1-4.5-5zm3.2-2H4.1a8 8 0 0 1 4.5-5 15.4 15.4 0 0 0-1.3 5zm1.4 0h6.6c-.4 2.2-1.4 4.2-2.3 5.5-.9-1.3-1.9-3.3-2.3-5.5zm6.6 2h-6.6c.4 2.2 1.4 4.2 2.3 5.5.9-1.3 1.9-3.3 2.3-5.5zm.7 5a15.4 15.4 0 0 0 1.3-5h3.2a8 8 0 0 1-4.5 5z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 2a10 10 0 1 0 10 10A10 10 0 0 0 12 2zm7.9 9h-3.2a15.4 15.4 0 0 0-1.3-5 8 8 0 0 1 4.5 5zM12 4c.9 1.3 1.9 3.3 2.3 5.5H9.7C10.1 7.3 11.1 5.3 12 4zM4.1 13h3.2a15.4 15.4 0 0 0 1.3 5 8 8 0 0 1-4.5-5zm3.2-2H4.1a8 8 0 0 1 4.5-5 15.4 15.4 0 0 0-1.3 5zm1.4 0h6.6c-.4 2.2-1.4 4.2-2.3 5.5-.9-1.3-1.9-3.3-2.3-5.5zm6.6 2h-6.6c.4 2.2 1.4 4.2 2.3 5.5.9-1.3 1.9-3.3 2.3-5.5zm.7 5a15.4 15.4 0 0 0 1.3-5h3.2a8 8 0 0 1-4.5 5z'/%3E%3C/svg%3E");
}

@media (max-width: 1100px) {
  .mr-about-offer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .mr-about-who-grid,
  .mr-about-vision-grid,
  .mr-about-offer-head {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
  .mr-about-offer-lead { text-align: start; }
  .mr-about-who-icons { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mr-about-vision-script { text-align: start; }
}
@media (max-width: 640px) {
  .mr-about-hero { min-height: 420px; padding: 2.5rem 0 2.75rem; }
  .mr-about-who,
  .mr-about-offer,
  .mr-about-vision { padding: 2.75rem 0; }
  .mr-about-offer-grid { grid-template-columns: 1fr 1fr; }
  .mr-about-who-quote { width: min(90%, 260px); }
  .mr-about-cta { padding: 3rem 0; }
}

[dir="rtl"] .mr-about-kicker { flex-direction: row-reverse; }
[dir="rtl"] .mr-about-hero-script,
[dir="rtl"] .mr-about-vision-script { transform: rotate(6deg); transform-origin: right center; }
[dir="rtl"] .mr-about-offer-lead { text-align: start; }
[dir="rtl"] .mr-about-who-quote { left: auto; right: 1rem; }
[dir="rtl"] .mr-about-vision-right {
  background-position: left 0.5rem center;
}
[dir="rtl"] .mr-about-vision-script { text-align: start; }

/* Mobile nav */
.mobile-nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 10px;
  background: rgba(255,255,255,0.08);
  cursor: pointer;
  margin-inline-start: auto;
  align-items: center;
  justify-content: center;
}
.mobile-nav-toggle-bars,
.mobile-nav-toggle-bars::before,
.mobile-nav-toggle-bars::after {
  display: block;
  width: 20px; height: 2px;
  background: #fff;
  border-radius: 2px;
  position: relative;
  transition: transform 0.2s ease;
}
.mobile-nav-toggle-bars::before,
.mobile-nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
}
.mobile-nav-toggle-bars::before { top: -6px; }
.mobile-nav-toggle-bars::after { top: 6px; }
.mobile-nav-backdrop {
  position: fixed; inset: 0; background: rgba(7,18,32,0.55);
  z-index: 110; opacity: 0; pointer-events: none; transition: opacity 0.2s ease;
}
.mobile-nav-backdrop.is-open { opacity: 1; pointer-events: auto; }
.mobile-nav-panel {
  position: fixed;
  top: 0; inset-inline-end: 0;
  width: min(320px, 88vw);
  height: 100vh;
  background: var(--color-navy-dark);
  z-index: 120;
  padding: 5rem 1.25rem 2rem;
  transform: translateX(100%);
  transition: transform 0.25s ease;
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
}
[dir="rtl"] .mobile-nav-panel { transform: translateX(-100%); }
.mobile-nav-panel.is-open { transform: translateX(0); }
.mobile-nav-link {
  display: block;
  color: #fff;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 0.9rem 0.25rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.mobile-nav-link:hover { color: var(--color-gold); }
.mobile-search {
  display: flex; gap: 0.4rem; margin-bottom: 1rem;
}
.mobile-search input {
  flex: 1; border-radius: 8px; border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.08); color: #fff; padding: 0.55rem 0.75rem;
}
.mobile-search button {
  background: var(--color-gold); color: var(--color-navy);
  border: none; border-radius: 8px; font-weight: 700; padding: 0 0.9rem; cursor: pointer;
}
.mobile-lang-row { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 1.25rem; }
body.nav-open { overflow: hidden; }

button:disabled { opacity: 0.65; cursor: wait; }

/* Responsive adjustments */
@media (max-width: 1024px) {
  .detail-layout { grid-template-columns: 1fr; }
  .widgets-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .header-search { display: none; }
  .nav-menu { display: none; }
  .mobile-nav-toggle { display: inline-flex; }
  .hero-title { font-size: 2rem; }
  .headline-banner { height: 320px; }
  .headline-title { font-size: 1.4rem; }
  .grid-3 { grid-template-columns: 1fr; }
  .categories-grid { grid-template-columns: repeat(2, 1fr); }
  .form-row-2 { grid-template-columns: 1fr; }
  .form-row-2 { grid-template-columns: 1fr; }
  .detail-sidebar { position: static; }
  .video-grid { grid-template-columns: 1fr 1fr; }
  .admin-layout { flex-direction: column; }
  .admin-sidebar { width: 100%; }
  .container { padding: 0 1rem; }
}

@media (max-width: 430px) {
  .brand-sub { display: none; }
  .brand-title { font-size: 1.05rem; }
  .categories-grid { grid-template-columns: 1fr 1fr; gap: 0.75rem; }
  .video-grid { grid-template-columns: 1fr; }
  .hero-brand { font-size: 2.4rem; max-width: none; }
  .hero-content { padding: 5.5rem 1rem 3rem; }
  .hero-buttons { flex-direction: column; align-items: stretch; }
}

/* ---------------- Premium manifesto + motion ---------------- */
.manifesto {
  position: relative;
  padding: 5.5rem 0;
  background:
    linear-gradient(135deg, rgba(10, 26, 44, 0.96), rgba(5, 13, 22, 0.92)),
    url('https://images.unsplash.com/photo-1567899378494-47b22a2ae96a?auto=format&fit=crop&w=1600&q=70') center/cover;
  color: #fff;
  overflow: hidden;
}
.manifesto::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(600px 280px at 80% 20%, rgba(196, 163, 90, 0.18), transparent 60%);
  pointer-events: none;
}
.manifesto-inner {
  position: relative;
  max-width: 40rem;
}
.manifesto-kicker {
  font-size: 0.75rem;
  letter-spacing: -0.01em;
  text-transform: none;
  color: #a1a1a6;
  margin-bottom: 0.85rem;
  font-weight: 400;
}
.manifesto h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  margin-bottom: 0.85rem;
  color: #f5f5f7;
  letter-spacing: -0.015em;
  line-height: 1.08349;
}
.manifesto p {
  color: #a1a1a6;
  font-weight: 400;
  font-size: 1.3125rem;
  line-height: 1.381;
  letter-spacing: 0.011em;
  margin-bottom: 1.75rem;
}
.live-section {
  background: linear-gradient(180deg, rgba(10, 26, 44, 0.04), rgba(28, 111, 140, 0.06));
  padding: 5rem 0;
  border-block: 1px solid rgba(10, 26, 44, 0.06);
}
.youtube-section {
  background:
    linear-gradient(180deg, var(--color-navy-dark), #0c2236);
  color: white;
  padding: 5rem 0;
}
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .hero-bg-media { animation: none !important; }
  .hero-content, .reveal { animation: none !important; opacity: 1; transform: none; }
}



/* ================= Editorial hero (header + full-bleed + topics) ================= */
:root {
  --mr-navy: #0a2540;
  --mr-navy-deep: #071a2e;
  --mr-blue: #1e6bb8;
  --mr-sky: #5eb0ff;
  --mr-muted: #5f6f7f;
  --mr-line: #e4ebf2;
  --mr-bg: #f4f7fa;
  --mr-card-radius: 20px;
}

body, body.is-home { background: var(--mr-bg); color: var(--mr-navy); }

.container { width: min(1280px, calc(100% - 2rem)); margin-inline: auto; }
@media (min-width: 768px) {
  .container { width: min(1280px, calc(100% - 3rem)); }
}
@media (min-width: 1100px) {
  .container { width: min(1280px, calc(100% - 4rem)); max-width: 1280px; }
}

.mr-topbar {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--mr-line);
}
.mr-topbar-inner {
  display: flex; align-items: center; gap: 0.85rem; min-height: 68px;
}
.mr-menu-btn {
  display: inline-flex; width: 40px; height: 40px; border: 0; background: transparent;
  align-items: center; justify-content: center; cursor: pointer; color: var(--mr-navy); padding: 0; flex-shrink: 0;
}
.mr-menu-btn .mobile-nav-toggle-bars,
.mr-menu-btn .mobile-nav-toggle-bars::before,
.mr-menu-btn .mobile-nav-toggle-bars::after { background: var(--mr-navy); }
.mr-brand { display: flex; align-items: center; gap: 0.7rem; min-width: 0; flex-shrink: 0; text-decoration: none; }
.mr-brand-mark {
  width: 56px; height: 56px; border-radius: 50%; flex-shrink: 0;
  object-fit: cover; object-position: center;
  background: transparent;
  box-shadow: 0 1px 3px rgba(10,37,64,0.18);
}
.mr-brand-text {
  display: flex; flex-direction: column; justify-content: center;
  gap: 0.22rem; min-width: 0; line-height: 1.1;
}
.mr-brand-name {
  font-size: clamp(1.05rem, 1.5vw, 1.22rem);
  font-weight: 800; color: #0a2540; letter-spacing: -0.03em; white-space: nowrap;
}
.mr-brand-name strong {
  font-weight: 700; color: #3d8fd1;
}
.mr-brand-tag {
  display: flex; align-items: center; gap: 0.45rem;
  min-width: 0; max-width: 100%;
}
.mr-brand-tag-rule {
  flex: 1 1 auto; height: 1px; min-width: 0.7rem; max-width: 2.4rem;
  background: #c5d0db;
}
.mr-brand-tag-text {
  flex: 0 1 auto;
  font-size: 0.68rem; color: #7a8b9c; font-weight: 600;
  letter-spacing: 0.01em; white-space: nowrap;
}

.mr-desktop-nav { display: none; }
.mr-topbar-actions { display: flex; align-items: center; gap: 0.45rem; margin-left: auto; }
.mr-icon-btn {
  width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(10,37,64,0.1);
  display: inline-flex; align-items: center; justify-content: center; color: var(--mr-navy); background: #fff;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.mr-icon-btn:hover { border-color: var(--mr-blue); color: var(--mr-blue); }
.mr-signup {
  display: inline-flex; align-items: center; gap: 0.35rem; font-size: 0.84rem; font-weight: 600;
  color: var(--mr-navy); padding: 0.42rem 0.85rem; border-radius: 999px; border: 1px solid rgba(10,37,64,0.12); background: #fff;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.mr-signup:hover { border-color: var(--mr-blue); color: var(--mr-blue); }
.mr-lang { position: relative; }
.mr-lang-btn {
  display: inline-flex; align-items: center; gap: 0.4rem; min-height: 40px; padding: 0.3rem 0.65rem;
  border-radius: 10px; border: 1px solid var(--mr-line); background: #f4f7fa; cursor: pointer; font: inherit; color: var(--mr-navy);
}
.mr-lang-flag {
  display: block; width: 22px; height: 16px; object-fit: cover; border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(10,37,64,0.12); flex-shrink: 0;
}
.mr-lang-code { font-size: 0.72rem; font-weight: 700; }
.mr-lang-menu {
  position: absolute; top: calc(100% + 0.4rem); right: 0; min-width: 150px; background: #fff;
  border: 1px solid var(--mr-line); border-radius: 12px; box-shadow: 0 12px 28px rgba(10,37,64,0.12); padding: 0.35rem; z-index: 120;
}
.mr-lang-menu[hidden] { display: none; }
.mr-lang-option { display: flex; align-items: center; gap: 0.5rem; padding: 0.55rem 0.7rem; border-radius: 8px; font-size: 0.85rem; font-weight: 600; color: var(--mr-navy); }
.mr-lang-option:hover, .mr-lang-option.is-active { background: #eef4fa; color: var(--mr-blue); }

/* Editorial hero */
.mr-hero {
  position: relative;
  min-height: clamp(560px, 78vh, 760px);
  padding-bottom: 7.5rem;
  overflow: visible;
  background: #062038;
}
.mr-hero-media {
  position: absolute; inset: 0; z-index: 0;
  overflow: hidden;
}
.mr-hero-media img,
.mr-hero-media video {
  width: 100%; height: 100%; object-fit: cover; object-position: 70% center; display: block;
}
.mr-hero-media.is-poster .mr-hero-video-el { display: none !important; }
.mr-hero-media .mr-hero-fallback-img[hidden] { display: none !important; }
.mr-hero-media.is-poster .mr-hero-fallback-img { display: block; }
.mr-hero-shade {
  position: absolute; inset: 0; z-index: 1;
  overflow: hidden;
  background:
    linear-gradient(105deg, rgba(4,18,34,0.62) 0%, rgba(4,18,34,0.28) 48%, rgba(4,18,34,0.1) 100%),
    linear-gradient(0deg, rgba(4,18,34,0.42) 0%, transparent 48%);
}
.mr-hero-inner {
  position: relative; z-index: 2;
  min-height: clamp(480px, 68vh, 640px);
  display: grid; align-items: center;
  padding-top: 3rem; padding-bottom: 2rem;
}
.mr-hero-copy { max-width: 38rem; color: #fff; }
.mr-hero-kicker {
  margin: 0 0 0.65rem; font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; color: rgba(190,220,255,0.95);
}
.mr-hero-title {
  font-size: clamp(2.2rem, 4.5vw, 4rem); font-weight: 800; letter-spacing: -0.035em;
  line-height: 1.12; margin: 0 0 0.85rem; color: #fff;
}
.mr-hero-title em {
  font-style: normal; color: var(--mr-sky); display: inline;
}
.mr-hero-sub {
  color: rgba(255,255,255,0.92); font-size: clamp(0.95rem, 1.35vw, 1.08rem);
  line-height: 1.55; margin: 0 0 1.25rem; max-width: 46ch;
}
.mr-hero-search {
  display: flex; align-items: center; gap: 0.4rem;
  background: #fff; border-radius: 999px;
  padding: 0.3rem 0.3rem 0.3rem 1rem;
  box-shadow: 0 12px 28px rgba(0,0,0,0.18); max-width: 520px;
}
.mr-hero-search-icon { color: #8a97a6; display: inline-flex; }
.mr-hero-search input {
  flex: 1; border: 0; outline: none; background: transparent; font: inherit;
  font-size: 0.92rem; color: var(--mr-navy); min-width: 0;
}
.mr-hero-search-btn {
  border: 0; border-radius: 999px; background: var(--mr-blue); color: #fff;
  font-weight: 700; padding: 0.7rem 1.2rem; cursor: pointer; font: inherit;
  transition: background 0.2s ease;
}
.mr-hero-search-btn:hover { background: #185a9c; }

.mr-hero-topics-wrap {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 3;
  transform: translateY(42%);
  pointer-events: none;
}
.mr-store-shelf {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  align-items: stretch;
  gap: 0.55rem;
  background: #fff;
  border-radius: 16px;
  padding: 1.05rem 0.85rem 1.15rem;
  box-shadow: 0 12px 30px rgba(10,37,64,0.12);
  border: 0;
  pointer-events: auto;
  overflow: visible;
}
.mr-store-cat {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 0.55rem;
  min-width: 0;
  padding: 0.85rem 0.55rem 0.75rem;
  text-align: center;
  color: #0a2540;
  text-decoration: none;
  background: #fff;
  border: 1px solid rgba(10, 37, 64, 0.08);
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(10, 37, 64, 0.08);
  transition: transform 0.22s ease, color 0.22s ease, box-shadow 0.22s ease;
  will-change: transform;
}
.mr-store-cat:hover,
.mr-store-cat:focus-visible {
  transform: translateY(-8px);
  color: #1e6bb8;
  outline: none;
  box-shadow: 0 12px 28px rgba(10, 37, 64, 0.14);
}
.mr-store-cat-media {
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}
.mr-store-cat-logo {
  width: auto;
  height: auto;
  max-width: 72px;
  max-height: 72px;
  object-fit: contain;
  object-position: center;
  display: block;
  background: transparent;
  border: 0;
  box-shadow: none;
}
.mr-store-cat-icon {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  display: block;
  background: #0a2540;
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  transition: background 0.22s ease, transform 0.22s ease;
}
.mr-store-cat:hover .mr-store-cat-icon,
.mr-store-cat:focus-visible .mr-store-cat-icon {
  background: #1e6bb8;
  transform: scale(1.06);
}
.mr-store-cat-icon--tool {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M21.2 6.3a5.2 5.2 0 0 1-7.1 7.1l-6.4 6.4a2.1 2.1 0 0 1-3-3l6.4-6.4a5.2 5.2 0 0 1 7.1-7.1l-2.5 2.5 2.1 2.1 2.4-2.6z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M21.2 6.3a5.2 5.2 0 0 1-7.1 7.1l-6.4 6.4a2.1 2.1 0 0 1-3-3l6.4-6.4a5.2 5.2 0 0 1 7.1-7.1l-2.5 2.5 2.1 2.1 2.4-2.6z'/%3E%3C/svg%3E");
}
.mr-store-cat-icon--wrench {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M20.5 7.2a4.8 4.8 0 0 1-6.5 4.5L6.2 19.5a2 2 0 0 1-2.8-2.8l7.8-7.8A4.8 4.8 0 0 1 16.8 3.5l-2 2 2.7 2.7 3-1z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M20.5 7.2a4.8 4.8 0 0 1-6.5 4.5L6.2 19.5a2 2 0 0 1-2.8-2.8l7.8-7.8A4.8 4.8 0 0 1 16.8 3.5l-2 2 2.7 2.7 3-1z'/%3E%3C/svg%3E");
}
.mr-store-cat-icon--boat {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M13 3v11.2l7.2-5.4H13zM5.2 17.2c1.6-1.1 3.5-1.7 6.8-1.7s5.2.6 6.8 1.7l1.2.8H4l1.2-.8zM3.5 20h17v1.5h-17V20z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M13 3v11.2l7.2-5.4H13zM5.2 17.2c1.6-1.1 3.5-1.7 6.8-1.7s5.2.6 6.8 1.7l1.2.8H4l1.2-.8zM3.5 20h17v1.5h-17V20z'/%3E%3C/svg%3E");
}
.mr-store-cat-icon--map {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 2.8a5.2 5.2 0 0 0-5.2 5.2c0 3.9 5.2 10.2 5.2 10.2s5.2-6.3 5.2-10.2A5.2 5.2 0 0 0 12 2.8zm0 7.4a2.2 2.2 0 1 1 0-4.4 2.2 2.2 0 0 1 0 4.4z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 2.8a5.2 5.2 0 0 0-5.2 5.2c0 3.9 5.2 10.2 5.2 10.2s5.2-6.3 5.2-10.2A5.2 5.2 0 0 0 12 2.8zm0 7.4a2.2 2.2 0 1 1 0-4.4 2.2 2.2 0 0 1 0 4.4z'/%3E%3C/svg%3E");
}
.mr-store-cat-icon--gear {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 11.2a1.8 1.8 0 1 0 0 3.6 1.8 1.8 0 0 0 0-3.6zm0-6.4a8.2 8.2 0 0 1 5.8 2.4l-1.5 1.5A6.1 6.1 0 0 0 12 6.8a6.1 6.1 0 0 0-4.3 1.9L6.2 7.2A8.2 8.2 0 0 1 12 4.8zm0 14.4a8.2 8.2 0 0 1-5.8-2.4l1.5-1.5A6.1 6.1 0 0 0 12 17.2a6.1 6.1 0 0 0 4.3-1.9l1.5 1.5A8.2 8.2 0 0 1 12 19.2zM4.8 12a8.2 8.2 0 0 1 2.4-5.8l1.5 1.5A6.1 6.1 0 0 0 6.8 12a6.1 6.1 0 0 0 1.9 4.3L7.2 17.8A8.2 8.2 0 0 1 4.8 12zm14.4 0a8.2 8.2 0 0 1-2.4 5.8l-1.5-1.5A6.1 6.1 0 0 0 17.2 12a6.1 6.1 0 0 0-1.9-4.3l1.5-1.5A8.2 8.2 0 0 1 19.2 12z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 11.2a1.8 1.8 0 1 0 0 3.6 1.8 1.8 0 0 0 0-3.6zm0-6.4a8.2 8.2 0 0 1 5.8 2.4l-1.5 1.5A6.1 6.1 0 0 0 12 6.8a6.1 6.1 0 0 0-4.3 1.9L6.2 7.2A8.2 8.2 0 0 1 12 4.8zm0 14.4a8.2 8.2 0 0 1-5.8-2.4l1.5-1.5A6.1 6.1 0 0 0 12 17.2a6.1 6.1 0 0 0 4.3-1.9l1.5 1.5A8.2 8.2 0 0 1 12 19.2zM4.8 12a8.2 8.2 0 0 1 2.4-5.8l1.5 1.5A6.1 6.1 0 0 0 6.8 12a6.1 6.1 0 0 0 1.9 4.3L7.2 17.8A8.2 8.2 0 0 1 4.8 12zm14.4 0a8.2 8.2 0 0 1-2.4 5.8l-1.5-1.5A6.1 6.1 0 0 0 17.2 12a6.1 6.1 0 0 0-1.9-4.3l1.5-1.5A8.2 8.2 0 0 1 19.2 12z'/%3E%3C/svg%3E");
}
.mr-store-cat-icon--engine {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M7 9h2V7h6v2h2l2 3v5h-2v2h-2v-2H9v2H7v-2H5v-5l2-3zm3 2v4h4v-4h-4z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M7 9h2V7h6v2h2l2 3v5h-2v2h-2v-2H9v2H7v-2H5v-5l2-3zm3 2v4h4v-4h-4z'/%3E%3C/svg%3E");
}
.mr-store-cat-icon--wave {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M2.5 9.2c1.7 0 2.2-1.8 4-1.8s2.3 1.8 4 1.8 2.2-1.8 4-1.8 2.3 1.8 4 1.8 2.2-1.8 4-1.8v2.4c-1.7 0-2.2 1.8-4 1.8s-2.3-1.8-4-1.8-2.2 1.8-4 1.8-2.3-1.8-4-1.8-2.2 1.8-4 1.8V9.2zm0 6c1.7 0 2.2-1.8 4-1.8s2.3 1.8 4 1.8 2.2-1.8 4-1.8 2.3 1.8 4 1.8 2.2-1.8 4-1.8v2.4c-1.7 0-2.2 1.8-4 1.8s-2.3-1.8-4-1.8-2.2 1.8-4 1.8-2.3-1.8-4-1.8-2.2 1.8-4 1.8v-2.4z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M2.5 9.2c1.7 0 2.2-1.8 4-1.8s2.3 1.8 4 1.8 2.2-1.8 4-1.8 2.3 1.8 4 1.8 2.2-1.8 4-1.8v2.4c-1.7 0-2.2 1.8-4 1.8s-2.3-1.8-4-1.8-2.2 1.8-4 1.8-2.3-1.8-4-1.8-2.2 1.8-4 1.8V9.2zm0 6c1.7 0 2.2-1.8 4-1.8s2.3 1.8 4 1.8 2.2-1.8 4-1.8 2.3 1.8 4 1.8 2.2-1.8 4-1.8v2.4c-1.7 0-2.2 1.8-4 1.8s-2.3-1.8-4-1.8-2.2 1.8-4 1.8-2.3-1.8-4-1.8-2.2 1.8-4 1.8v-2.4z'/%3E%3C/svg%3E");
}
.mr-store-cat-icon--news {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M7 2h7l5 5v13a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2zm7 1.5V8h4.5L14 3.5zM8 11h8v1.5H8V11zm0 3.5h8V16H8v-1.5zm0 3.5h5V19H8v-1.5z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M7 2h7l5 5v13a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2zm7 1.5V8h4.5L14 3.5zM8 11h8v1.5H8V11zm0 3.5h8V16H8v-1.5zm0 3.5h5V19H8v-1.5z'/%3E%3C/svg%3E");
}
.mr-store-cat-label {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  font-size: clamp(0.72rem, 1.05vw, 0.86rem);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.3;
  color: #0a2540;
  white-space: normal;
  overflow: visible;
  text-wrap: balance;
  word-break: break-word;
}
.mr-store-cat:hover .mr-store-cat-label,
.mr-store-cat:focus-visible .mr-store-cat-label {
  color: #1e6bb8;
}
.mr-store-cat-rule {
  display: block;
  width: 1.6rem;
  height: 2px;
  margin-top: 0.1rem;
  border-radius: 2px;
  background: #3d8fd1;
  opacity: 0.9;
}

/* Legacy topic icons kept for other pages if needed */
.mr-topics {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.45rem;
  background: #fff; border-radius: 20px; padding: 0.95rem 0.7rem;
  box-shadow: 0 14px 32px rgba(10,37,64,0.1); border: 1px solid rgba(10,37,64,0.06);
}
.mr-topic {
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem; text-align: center;
  font-size: 0.78rem; font-weight: 650; color: var(--mr-navy); padding: 0.35rem 0.15rem;
  line-height: 1.25; transition: transform 0.2s ease, color 0.2s ease;
}
.mr-topic:hover { transform: translateY(-2px); color: var(--mr-blue); }
.mr-topic > span:last-child {
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2;
  overflow: hidden; max-width: 100%;
}
.mr-topic-icon {
  width: 44px; height: 44px; border-radius: 12px; background: #eaf2fb; position: relative;
}
.mr-topic-icon::before {
  content: ""; position: absolute; inset: 11px; background: var(--mr-navy);
  -webkit-mask-size: contain; mask-size: contain; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-position: center; mask-position: center;
}
.mr-topic-icon--news::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M7 2h7l5 5v13a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2zm7 1.5V8h4.5L14 3.5zM8 11h8v1.5H8V11zm0 3.5h8V16H8v-1.5zm0 3.5h5V19H8v-1.5z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M7 2h7l5 5v13a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2zm7 1.5V8h4.5L14 3.5zM8 11h8v1.5H8V11zm0 3.5h8V16H8v-1.5zm0 3.5h5V19H8v-1.5z'/%3E%3C/svg%3E");
}
.mr-topic-icon--boat::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M13 3v11.2l7.2-5.4H13zM5.2 17.2c1.6-1.1 3.5-1.7 6.8-1.7s5.2.6 6.8 1.7l1.2.8H4l1.2-.8zM3.5 20h17v1.5h-17V20z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M13 3v11.2l7.2-5.4H13zM5.2 17.2c1.6-1.1 3.5-1.7 6.8-1.7s5.2.6 6.8 1.7l1.2.8H4l1.2-.8zM3.5 20h17v1.5h-17V20z'/%3E%3C/svg%3E");
}
.mr-topic-icon--map::before,
.mr-topic-icon--pin::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M9.2 4.2 3.5 6.3v12.2l5.7-2.1 5.8 2.1 5.5-2.1V4.2l-5.5 2.1-5.8-2.1zm1.3 1.7 4 1.5v9.2l-4-1.5V5.9zM5 7.5l3.5-1.3v9.2L5 16.7V7.5zm12.5-.1 2.5-.9v9.2l-2.5.9V7.4z'/%3E%3Ccircle fill='black' cx='11.2' cy='10.2' r='1.7'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M9.2 4.2 3.5 6.3v12.2l5.7-2.1 5.8 2.1 5.5-2.1V4.2l-5.5 2.1-5.8-2.1zm1.3 1.7 4 1.5v9.2l-4-1.5V5.9zM5 7.5l3.5-1.3v9.2L5 16.7V7.5zm12.5-.1 2.5-.9v9.2l-2.5.9V7.4z'/%3E%3Ccircle fill='black' cx='11.2' cy='10.2' r='1.7'/%3E%3C/svg%3E");
}
.mr-topic-icon--tool::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M21.2 6.3a5.2 5.2 0 0 1-7.1 7.1l-6.4 6.4a2.1 2.1 0 0 1-3-3l6.4-6.4a5.2 5.2 0 0 1 7.1-7.1l-2.5 2.5 2.1 2.1 2.4-2.6z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M21.2 6.3a5.2 5.2 0 0 1-7.1 7.1l-6.4 6.4a2.1 2.1 0 0 1-3-3l6.4-6.4a5.2 5.2 0 0 1 7.1-7.1l-2.5 2.5 2.1 2.1 2.4-2.6z'/%3E%3C/svg%3E");
}
.mr-topic-icon--anchor::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 2a2.5 2.5 0 0 1 .9 4.8V9h2.6v2H12.9v6.2A6.5 6.5 0 0 0 18.5 12H21a9 9 0 0 1-8.1 8.95V22h-1.8v-1.05A9 9 0 0 1 3 12h2.5a6.5 6.5 0 0 0 5.6 5.2V11H8.5V9h2.6V6.8A2.5 2.5 0 0 1 12 2z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 2a2.5 2.5 0 0 1 .9 4.8V9h2.6v2H12.9v6.2A6.5 6.5 0 0 0 18.5 12H21a9 9 0 0 1-8.1 8.95V22h-1.8v-1.05A9 9 0 0 1 3 12h2.5a6.5 6.5 0 0 0 5.6 5.2V11H8.5V9h2.6V6.8A2.5 2.5 0 0 1 12 2z'/%3E%3C/svg%3E");
}
.mr-topic-icon--wave::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M2.5 9.2c1.7 0 2.2-1.8 4-1.8s2.3 1.8 4 1.8 2.2-1.8 4-1.8 2.3 1.8 4 1.8 2.2-1.8 4-1.8v2.4c-1.7 0-2.2 1.8-4 1.8s-2.3-1.8-4-1.8-2.2 1.8-4 1.8-2.3-1.8-4-1.8-2.2 1.8-4 1.8V9.2zm0 6c1.7 0 2.2-1.8 4-1.8s2.3 1.8 4 1.8 2.2-1.8 4-1.8 2.3 1.8 4 1.8 2.2-1.8 4-1.8v2.4c-1.7 0-2.2 1.8-4 1.8s-2.3-1.8-4-1.8-2.2 1.8-4 1.8-2.3-1.8-4-1.8-2.2 1.8-4 1.8v-2.4z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M2.5 9.2c1.7 0 2.2-1.8 4-1.8s2.3 1.8 4 1.8 2.2-1.8 4-1.8 2.3 1.8 4 1.8 2.2-1.8 4-1.8v2.4c-1.7 0-2.2 1.8-4 1.8s-2.3-1.8-4-1.8-2.2 1.8-4 1.8-2.3-1.8-4-1.8-2.2 1.8-4 1.8V9.2zm0 6c1.7 0 2.2-1.8 4-1.8s2.3 1.8 4 1.8 2.2-1.8 4-1.8 2.3 1.8 4 1.8 2.2-1.8 4-1.8v2.4c-1.7 0-2.2 1.8-4 1.8s-2.3-1.8-4-1.8-2.2 1.8-4 1.8-2.3-1.8-4-1.8-2.2 1.8-4 1.8v-2.4z'/%3E%3C/svg%3E");
}
.mr-topic-icon--gear::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 11.2a1.8 1.8 0 1 0 0 3.6 1.8 1.8 0 0 0 0-3.6zm0-6.4a8.2 8.2 0 0 1 5.8 2.4l-1.5 1.5A6.1 6.1 0 0 0 12 6.8a6.1 6.1 0 0 0-4.3 1.9L6.2 7.2A8.2 8.2 0 0 1 12 4.8zm0 14.4a8.2 8.2 0 0 1-5.8-2.4l1.5-1.5A6.1 6.1 0 0 0 12 17.2a6.1 6.1 0 0 0 4.3-1.9l1.5 1.5A8.2 8.2 0 0 1 12 19.2zM4.8 12a8.2 8.2 0 0 1 2.4-5.8l1.5 1.5A6.1 6.1 0 0 0 6.8 12a6.1 6.1 0 0 0 1.9 4.3L7.2 17.8A8.2 8.2 0 0 1 4.8 12zm14.4 0a8.2 8.2 0 0 1-2.4 5.8l-1.5-1.5A6.1 6.1 0 0 0 17.2 12a6.1 6.1 0 0 0-1.9-4.3l1.5-1.5A8.2 8.2 0 0 1 19.2 12z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 11.2a1.8 1.8 0 1 0 0 3.6 1.8 1.8 0 0 0 0-3.6zm0-6.4a8.2 8.2 0 0 1 5.8 2.4l-1.5 1.5A6.1 6.1 0 0 0 12 6.8a6.1 6.1 0 0 0-4.3 1.9L6.2 7.2A8.2 8.2 0 0 1 12 4.8zm0 14.4a8.2 8.2 0 0 1-5.8-2.4l1.5-1.5A6.1 6.1 0 0 0 12 17.2a6.1 6.1 0 0 0 4.3-1.9l1.5 1.5A8.2 8.2 0 0 1 12 19.2zM4.8 12a8.2 8.2 0 0 1 2.4-5.8l1.5 1.5A6.1 6.1 0 0 0 6.8 12a6.1 6.1 0 0 0 1.9 4.3L7.2 17.8A8.2 8.2 0 0 1 4.8 12zm14.4 0a8.2 8.2 0 0 1-2.4 5.8l-1.5-1.5A6.1 6.1 0 0 0 17.2 12a6.1 6.1 0 0 0-1.9-4.3l1.5-1.5A8.2 8.2 0 0 1 19.2 12z'/%3E%3C/svg%3E");
}
.mr-topic-icon--people::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M9 11a3.5 3.5 0 1 0 0-7 3.5 3.5 0 0 0 0 7zm7.2-1a3 3 0 1 0 0-6 3 3 0 0 0 0 6zM9 12.5c-3.1 0-7 1.6-7 4.7V20h14v-2.8c0-3.1-3.9-4.7-7-4.7zm7.2.3c-.4 0-.8 0-1.2.1 1.6 1.1 2.7 2.7 2.7 4.6V20H22v-1.7c0-2.5-2.8-4.5-5.8-4.5z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M9 11a3.5 3.5 0 1 0 0-7 3.5 3.5 0 0 0 0 7zm7.2-1a3 3 0 1 0 0-6 3 3 0 0 0 0 6zM9 12.5c-3.1 0-7 1.6-7 4.7V20h14v-2.8c0-3.1-3.9-4.7-7-4.7zm7.2.3c-.4 0-.8 0-1.2.1 1.6 1.1 2.7 2.7 2.7 4.6V20H22v-1.7c0-2.5-2.8-4.5-5.8-4.5z'/%3E%3C/svg%3E");
}

.mr-section-block:first-of-type { padding-top: 7rem; }

.mr-latest-card {
  transition: transform 0.28s var(--ease-out, ease), box-shadow 0.28s var(--ease-out, ease);
}
.mr-latest-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(10,37,64,0.12);
}
.mr-latest-card:hover .mr-latest-media img {
  transform: scale(1.04);
}

.mr-section-block { padding: 2.5rem 0; }
.mr-section-block--soft { background: #eef3f8; }
.mr-section-head { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 1.35rem; }
.mr-section-head h2 { font-size: clamp(1.5rem, 2.5vw, 2rem); color: #0a2540; margin: 0; letter-spacing: -0.025em; }
.mr-section-head--wrap { flex-wrap: wrap; align-items: center; }
.mr-section-link { color: #1e6bb8; font-weight: 700; font-size: 0.9rem; }

/* Full-bleed second hero — featured posts */
.mr-feature-hero {
  position: relative;
  width: 100%;
  margin: 0;
  padding: 8.75rem 0 1.5rem;
  background: #fff;
}
.mr-feature-hero-head {
  display: flex; align-items: end; justify-content: space-between; gap: 1rem;
  margin-bottom: 1.1rem;
}
.mr-feature-hero-head h2 {
  font-size: clamp(1.5rem, 2.5vw, 2rem); color: #0a2540; margin: 0; letter-spacing: -0.025em;
}
.mr-feature-slider { position: relative; width: 100%; }
.mr-feature-track {
  position: relative;
  width: 100%;
  min-height: clamp(380px, 58vh, 620px);
  background: #062038;
}
.mr-feature-slide {
  position: absolute; inset: 0;
  display: flex; align-items: flex-end;
  width: 100%;
  border-radius: 0; overflow: hidden; color: #fff;
  opacity: 0; pointer-events: none; transition: opacity 0.55s ease;
}
.mr-feature-slide.is-active { opacity: 1; pointer-events: auto; }
.mr-feature-slide-bg {
  position: absolute; inset: 0;
  background:
    linear-gradient(105deg, rgba(4,18,34,0.72) 0%, rgba(4,18,34,0.35) 48%, rgba(4,18,34,0.2) 100%),
    linear-gradient(0deg, rgba(4,18,34,0.88) 0%, rgba(4,18,34,0.25) 45%, rgba(4,18,34,0.12) 100%),
    var(--bg) center/cover no-repeat;
}
.mr-feature-slide-body {
  position: relative; z-index: 1;
  width: min(1280px, calc(100% - 3rem));
  margin-inline: auto;
  padding: 2.5rem 0 3rem;
  max-width: none;
  box-sizing: border-box;
}
.mr-feature-slide-body > * { max-width: 40rem; display: block; }
.mr-feature-slide-body .mr-meta { display: flex; }
.mr-feature-slide h3 {
  font-size: clamp(1.55rem, 3.2vw, 2.55rem); margin: 0.75rem 0 0.65rem;
  letter-spacing: -0.03em; color: #fff; line-height: 1.15; font-weight: 800;
}
.mr-feature-slide p {
  color: rgba(255,255,255,0.9); margin: 0 0 1rem;
  font-size: clamp(0.95rem, 1.4vw, 1.1rem); line-height: 1.5;
}
.mr-feature-controls {
  display: flex; align-items: center; justify-content: center; gap: 0.75rem;
  margin-top: 1.15rem; padding: 0 1rem;
  position: relative; z-index: 5;
}
.mr-feature-nav {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(10,37,64,0.14);
  background: #fff; color: #0a2540; font-size: 1.45rem; line-height: 1;
  cursor: pointer; display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 16px rgba(10,37,64,0.1);
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.mr-feature-nav:hover { border-color: #1e6bb8; color: #1e6bb8; transform: scale(1.05); }
.mr-feature-dots { display: flex; gap: 0.45rem; align-items: center; }
.mr-feature-dot {
  width: 10px; height: 10px; border-radius: 50%; border: 0; padding: 0;
  background: #c5d0db; cursor: pointer;
  transition: width 0.2s ease, background 0.2s ease;
}
.mr-feature-dot.is-active { background: #1e6bb8; width: 24px; border-radius: 999px; }

.mr-chip {
  display: inline-flex; align-self: flex-start; font-size: 0.68rem; font-weight: 800; letter-spacing: 0.04em;
  text-transform: uppercase; background: #1e6bb8; color: #fff; padding: 0.28rem 0.55rem; border-radius: 999px;
}
.mr-chip--soft { background: #e8f1fb; color: #1e6bb8; }
.mr-meta { display: flex; flex-wrap: wrap; gap: 0.65rem; font-size: 0.75rem; color: #7a8b9c; }
.mr-card-excerpt { margin: 0; color: var(--mr-muted); font-size: 0.86rem; line-height: 1.45; }

.mr-filter-tabs { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.mr-filter-tabs button {
  border: 0; background: transparent; color: #5b6b7c; font: inherit; font-size: 0.85rem; font-weight: 600;
  padding: 0.45rem 0.85rem; border-radius: 999px; cursor: pointer;
}
.mr-filter-tabs button.is-active { background: #0a2540; color: #fff; }

.mr-latest-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 1rem;
}
.mr-latest-card {
  background: #fff; border-radius: var(--mr-card-radius); overflow: hidden; border: 1px solid rgba(10,37,64,0.07);
  box-shadow: 0 8px 20px rgba(10,37,64,0.05); display: flex; flex-direction: column;
}
.mr-latest-media { aspect-ratio: 16/11; overflow: hidden; background: #dfe7ef; }
.mr-latest-media img {
  width: 100%; height: 100%; object-fit: cover; object-position: center;
  display: block; transition: transform 0.35s ease;
}
.mr-latest-body { padding: 0.95rem; display: flex; flex-direction: column; gap: 0.4rem; flex: 1; }
.mr-latest-body strong { color: #0a2540; font-size: 0.98rem; line-height: 1.3; letter-spacing: -0.015em; }
.mr-latest-card[hidden] { display: none !important; }

.mr-newsletter {
  position: relative; margin: 1rem 0 0; min-height: 220px; color: #fff;
  background: linear-gradient(90deg, rgba(4,18,34,0.78), rgba(4,18,34,0.35)), var(--nl) center/cover no-repeat;
}
.mr-newsletter-inner {
  display: grid; gap: 1.25rem; align-items: center; min-height: 220px; padding-top: 2rem; padding-bottom: 2rem;
}
.mr-newsletter h2 { font-size: clamp(1.35rem, 2.4vw, 1.85rem); margin: 0 0 0.5rem; color: #fff; max-width: 18ch; }
.mr-newsletter p { color: rgba(255,255,255,0.88); margin-bottom: 1rem; max-width: 36ch; }
.mr-newsletter-btn {
  display: inline-flex; background: #1e6bb8; color: #fff; font-weight: 700; padding: 0.75rem 1.15rem; border-radius: 999px;
}
.mr-newsletter .mr-newsletter-quote {
  font-family: 'Dancing Script', 'Segoe Script', 'Brush Script MT', cursive;
  font-style: normal;
  font-weight: 500;
  font-size: clamp(1.65rem, 2.8vw, 2.15rem);
  line-height: 1.3;
  letter-spacing: 0.01em;
  color: #f4f8fc;
  margin: 0;
  text-align: right;
  text-shadow: 0 1px 10px rgba(4, 18, 34, 0.45);
  -webkit-text-stroke: 0;
  max-width: none;
}

/* Denizcilik Rehberleri — homepage panel */
.mr-guides {
  position: relative;
  background: #eef5fb;
  padding: 3.4rem 0 3rem;
  overflow: hidden;
}
.mr-guides-inner { position: relative; z-index: 1; }
.mr-guides::before {
  content: '';
  position: absolute;
  top: 1.1rem;
  left: max(0.5rem, calc(50% - 38rem));
  width: 168px;
  height: 168px;
  opacity: 0.16;
  pointer-events: none;
  background: center / contain no-repeat url('/assets/img/logo-guides.png?v=1');
  border-radius: 50%;
}
.mr-guides::after {
  content: '';
  position: absolute;
  top: 1.4rem;
  right: max(1rem, calc(50% - 36rem));
  width: 88px;
  height: 48px;
  opacity: 0.22;
  pointer-events: none;
  background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 40'%3E%3Cpath d='M8 28c6-10 12-14 20-10 4 2 6 5 10 5s8-5 14-3c5 2 9 7 14 5' fill='none' stroke='%234a8fd4' stroke-width='2' stroke-linecap='round'/%3E%3Cpath d='M42 12c2-4 4.5-6 7-5.2 1 .3 1.6 1.5 1.8 3.2M58 14c1.4-2.8 3-4.2 4.8-3.6.9.3 1.4 1.4 1.6 2.8' fill='none' stroke='%234a8fd4' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E");
}
.mr-guides-head {
  position: relative;
  text-align: center;
  max-width: 44rem;
  margin: 0 auto 2.4rem;
}
.mr-guides-title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.9rem, 3.5vw, 2.7rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #0a2540;
  line-height: 1.12;
}
.mr-guides-title-accent { color: #1e6bb8; }
.mr-guides-sub {
  margin: 0 auto;
  max-width: 38rem;
  color: #667788;
  font-size: 1.02rem;
  line-height: 1.55;
}
.mr-guides-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.2rem;
}
.mr-guides-card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 10px 28px rgba(10, 37, 64, 0.08);
  border: 1px solid rgba(10, 37, 64, 0.05);
  overflow: visible;
}
.mr-guides-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
  position: relative;
  padding: 0.7rem 0.7rem 1.15rem;
}
.mr-guides-card-media {
  display: block;
  position: relative;
  border-radius: 14px;
  overflow: visible;
  aspect-ratio: 16 / 11;
  background: #d7e3ef;
}
.mr-guides-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 14px;
  transition: transform 0.35s var(--ease-out, ease);
}
.mr-guides-card-link:hover .mr-guides-card-media img,
.mr-guides-card-link:focus-visible .mr-guides-card-media img {
  transform: scale(1.04);
}
.mr-guides-card-icon {
  position: absolute;
  left: 0.85rem;
  bottom: -21px;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: #fff;
  border: 2px solid #1e6bb8;
  box-shadow: 0 6px 14px rgba(10, 37, 64, 0.12);
  display: grid;
  place-items: center;
  z-index: 2;
}
.mr-guides-card-icon::before {
  content: '';
  width: 18px;
  height: 18px;
  background: #1e6bb8;
  -webkit-mask: center / contain no-repeat;
  mask: center / contain no-repeat;
}
.mr-guides-card-icon--gear::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M19.4 13a7.7 7.7 0 0 0 .1-1 7.7 7.7 0 0 0-.1-1l2-1.6a.5.5 0 0 0 .1-.6l-1.9-3.3a.5.5 0 0 0-.6-.2l-2.4 1a7.3 7.3 0 0 0-1.7-1l-.4-2.5a.5.5 0 0 0-.5-.4h-3.8a.5.5 0 0 0-.5.4l-.4 2.5a7.3 7.3 0 0 0-1.7 1l-2.4-1a.5.5 0 0 0-.6.2L2.4 8.8a.5.5 0 0 0 .1.6l2 1.6a7.7 7.7 0 0 0-.1 1 7.7 7.7 0 0 0 .1 1l-2 1.6a.5.5 0 0 0-.1.6l1.9 3.3a.5.5 0 0 0 .6.2l2.4-1a7.3 7.3 0 0 0 1.7 1l.4 2.5a.5.5 0 0 0 .5.4h3.8a.5.5 0 0 0 .5-.4l.4-2.5a7.3 7.3 0 0 0 1.7-1l2.4 1a.5.5 0 0 0 .6-.2l1.9-3.3a.5.5 0 0 0-.1-.6l-2-1.6zM12 15.5A3.5 3.5 0 1 1 12 8.5a3.5 3.5 0 0 1 0 7z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M19.4 13a7.7 7.7 0 0 0 .1-1 7.7 7.7 0 0 0-.1-1l2-1.6a.5.5 0 0 0 .1-.6l-1.9-3.3a.5.5 0 0 0-.6-.2l-2.4 1a7.3 7.3 0 0 0-1.7-1l-.4-2.5a.5.5 0 0 0-.5-.4h-3.8a.5.5 0 0 0-.5.4l-.4 2.5a7.3 7.3 0 0 0-1.7 1l-2.4-1a.5.5 0 0 0-.6.2L2.4 8.8a.5.5 0 0 0 .1.6l2 1.6a7.7 7.7 0 0 0-.1 1 7.7 7.7 0 0 0 .1 1l-2 1.6a.5.5 0 0 0-.1.6l1.9 3.3a.5.5 0 0 0 .6.2l2.4-1a7.3 7.3 0 0 0 1.7 1l.4 2.5a.5.5 0 0 0 .5.4h3.8a.5.5 0 0 0 .5-.4l.4-2.5a7.3 7.3 0 0 0 1.7-1l2.4 1a.5.5 0 0 0 .6-.2l1.9-3.3a.5.5 0 0 0-.1-.6l-2-1.6zM12 15.5A3.5 3.5 0 1 1 12 8.5a3.5 3.5 0 0 1 0 7z'/%3E%3C/svg%3E");
}
.mr-guides-card-icon--compass::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20zm3.7 6.3-1.8 5.4-5.4 1.8 1.8-5.4 5.4-1.8z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20zm3.7 6.3-1.8 5.4-5.4 1.8 1.8-5.4 5.4-1.8z'/%3E%3C/svg%3E");
}
.mr-guides-card-icon--bolt::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M13 2 4 14h7l-1 8 10-14h-7l0-6z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M13 2 4 14h7l-1 8 10-14h-7l0-6z'/%3E%3C/svg%3E");
}
.mr-guides-card-icon--wrench::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M20.5 7.2a4.8 4.8 0 0 1-6.5 4.5L6.2 19.5a2 2 0 0 1-2.8-2.8l7.8-7.8A4.8 4.8 0 0 1 16.8 3.5l-2 2 2.7 2.7 3-1z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M20.5 7.2a4.8 4.8 0 0 1-6.5 4.5L6.2 19.5a2 2 0 0 1-2.8-2.8l7.8-7.8A4.8 4.8 0 0 1 16.8 3.5l-2 2 2.7 2.7 3-1z'/%3E%3C/svg%3E");
}
.mr-guides-card-body {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: 1.55rem 0.55rem 0.15rem;
  flex: 1;
}
.mr-guides-card-title {
  display: block;
  color: #0a2540;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.mr-guides-card-text {
  display: block;
  color: #667788;
  font-size: 0.9rem;
  line-height: 1.45;
  flex: 1;
}
.mr-guides-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: 0.35rem;
  color: #1e6bb8;
  font-weight: 700;
  font-size: 0.9rem;
}
.mr-guides-card-link:hover .mr-guides-card-cta,
.mr-guides-card-link:focus-visible .mr-guides-card-cta {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.mr-guides-actions {
  display: flex;
  justify-content: center;
  margin: 2.1rem 0 0;
}
.mr-guides-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #1e6bb8;
  color: #fff;
  font-weight: 700;
  font-size: 0.98rem;
  padding: 0.9rem 1.55rem;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(30, 107, 184, 0.28);
  transition: background 0.2s ease, transform 0.2s ease;
}
.mr-guides-btn:hover,
.mr-guides-btn:focus-visible {
  background: #185a9c;
  transform: translateY(-2px);
  outline: none;
}

@media (max-width: 1100px) {
  .mr-guides-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .mr-guides { padding: 2.5rem 0 2rem; }
  .mr-guides::before { width: 110px; height: 110px; opacity: 0.08; }
  .mr-guides-grid { grid-template-columns: 1fr; gap: 0.95rem; }
  .mr-guides-actions { margin-top: 1.5rem; }
}

.mr-footer {
  position: relative;
  background: #d7eaf8;
  color: #1a2b3c;
  padding: 0;
  margin-top: 0;
  overflow: hidden;
}
.mr-footer-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.mr-footer-bg video,
.mr-footer-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  filter: brightness(0.72) saturate(0.78) contrast(1.08) hue-rotate(12deg);
}
.mr-footer-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8,28,58,0.38) 0%, rgba(10,34,68,0.28) 45%, rgba(12,40,78,0.42) 100%);
  pointer-events: none;
}
.mr-footer-wash {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(236,243,252,0.62) 0%, rgba(245,249,255,0.78) 40%, rgba(255,255,255,0.9) 72%, rgba(255,255,255,0.96) 100%),
    linear-gradient(90deg, rgba(255,255,255,0.42) 0%, rgba(255,255,255,0.22) 40%, rgba(255,255,255,0.18) 100%);
}
.mr-footer-grid {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 0;
  grid-template-columns: 1.35fr 0.9fr 1.05fr 1.2fr;
  align-items: start;
  padding: 2.6rem 0 1.75rem;
}
.mr-footer-brand,
.mr-footer-col,
.mr-footer-news {
  padding: 0 1.35rem;
}
.mr-footer-brand { padding-left: 0; }
.mr-footer-news { padding-right: 0; }
.mr-footer-col,
.mr-footer-news {
  border-left: 1px solid rgba(30, 70, 110, 0.14);
}
.mr-footer h4 {
  color: #0f2740;
  margin: 0 0 0.95rem;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.mr-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.48rem; }
.mr-footer a { color: #31485f; }
.mr-footer a:hover { color: #0b6db5; }
.mr-footer-brand p {
  margin: 0.85rem 0 1.05rem;
  max-width: 30ch;
  line-height: 1.55;
  color: #3b5166;
  font-size: 0.9rem;
}
.mr-footer-tagline {
  display: block;
  margin-top: 0.18rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: #4a90c2;
  letter-spacing: 0.01em;
}
.mr-footer-social { display: flex; align-items: center; gap: 0.7rem; flex-wrap: wrap; }
.mr-footer-social-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid rgba(15, 39, 64, 0.12);
  color: #111;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(15, 39, 64, 0.16);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.mr-footer-social-btn svg { display: block; flex-shrink: 0; }
.mr-footer-social-btn:hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 8px 20px rgba(15, 39, 64, 0.22);
  border-color: rgba(15, 39, 64, 0.2);
  background: #fff;
  color: inherit;
}
.mr-footer-social-btn--ig:hover { box-shadow: 0 8px 20px rgba(221, 42, 123, 0.28); }
.mr-footer-social-btn--yt:hover { box-shadow: 0 8px 20px rgba(255, 0, 0, 0.24); }
.mr-footer-social-btn--tt:hover { box-shadow: 0 8px 20px rgba(254, 44, 85, 0.24); }
.mr-footer-social-btn--fb:hover { box-shadow: 0 8px 20px rgba(24, 119, 242, 0.28); }
.mr-brand--footer .mr-brand-name { color: #0f2740; }
.mr-brand--footer .mr-brand-name strong { color: #2f8fd6; }
.mr-brand--footer .mr-brand-mark {
  box-shadow: 0 2px 10px rgba(15,39,64,0.18);
  background: #0a2540;
}
.mr-footer-news-sub {
  margin: 0 0 0.85rem;
  color: #3b5166;
  font-size: 0.9rem;
}
.mr-footer-form {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(40,80,120,0.12);
  border-radius: 999px;
  padding: 0.28rem 0.28rem 0.28rem 0.95rem;
  box-shadow: 0 6px 18px rgba(20,50,80,0.08);
}
.mr-footer-form input {
  flex: 1;
  border: 0;
  background: transparent;
  color: #1a2b3c;
  font: inherit;
  min-width: 0;
  outline: none;
}
.mr-footer-form input::placeholder { color: #8aa0b4; }
.mr-footer-form button {
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: #2f8fd6;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.mr-footer-form button:hover { background: #1f7abf; }
.mr-footer-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  margin-top: 0.75rem;
  font-size: 0.78rem;
  color: #4a6074;
  line-height: 1.4;
  cursor: pointer;
}
.mr-footer-consent input {
  margin-top: 0.15rem;
  accent-color: #2f8fd6;
}
.mr-footer-consent a {
  color: #2f8fd6;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.mr-footer-quote {
  margin: 1.35rem 0 0;
  font-family: "Segoe Script", "Brush Script MT", "Apple Chancery", cursive;
  font-size: clamp(1.15rem, 1.8vw, 1.45rem);
  color: #1e4f7a;
  line-height: 1.25;
  font-weight: 600;
}
.mr-footer-foam {
  position: relative;
  z-index: 2;
  height: 28px;
  margin-top: 0.35rem;
  background:
    radial-gradient(ellipse 45% 120% at 12% 100%, rgba(255,255,255,0.95) 0%, transparent 70%),
    radial-gradient(ellipse 40% 110% at 38% 110%, rgba(255,255,255,0.9) 0%, transparent 68%),
    radial-gradient(ellipse 42% 120% at 62% 105%, rgba(255,255,255,0.92) 0%, transparent 70%),
    radial-gradient(ellipse 48% 130% at 88% 100%, rgba(255,255,255,0.95) 0%, transparent 72%),
    linear-gradient(180deg, transparent 0%, rgba(255,255,255,0.75) 55%, #fff 100%);
}
.mr-footer-bottom {
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(30,70,110,0.1);
  padding: 0.95rem 0 1.15rem;
  font-size: 0.82rem;
  color: #5a7084;
  background: #fff;
}
.mr-footer-bottom-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem 1rem;
}
.mr-footer-bottom p { margin: 0; }
.mr-footer-bottom-right {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1.1rem;
}
.mr-footer-legal {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  color: #6a8094;
}
.mr-footer-legal a { color: #4a6074; }
.mr-footer-legal a:hover { color: #0b6db5; }
.mr-footer-legal span { opacity: 0.45; }
.mr-footer-top {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #2f8fd6;
  font-weight: 700;
  font-size: 0.82rem;
}
.mr-footer-top-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1.5px solid rgba(47,143,214,0.45);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #2f8fd6;
}
.mr-footer-top:hover { color: #0b6db5; }
.mr-footer-top:hover .mr-footer-top-icon { border-color: #0b6db5; }

.wa-fab {
  position: fixed; right: 1.1rem; bottom: 1.1rem; z-index: 90; width: 56px; height: 56px; border-radius: 50%;
  background: #25d366; display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 24px rgba(37,211,102,0.35);
}

@media (min-width: 900px) {
  .mr-menu-btn { display: none; }
  .mr-desktop-nav {
    display: flex; align-items: center; justify-content: center; flex: 1;
    gap: 0.95rem; flex-wrap: wrap; padding: 0 0.5rem;
  }
  .mr-desktop-nav .nav-link {
    color: var(--mr-navy); font-size: 0.92rem; font-weight: 650;
    padding-bottom: 0.2rem; border-bottom: 2px solid transparent; white-space: nowrap;
    transition: color 0.2s ease, border-color 0.2s ease;
  }
  .mr-desktop-nav .nav-link:hover,
  .mr-desktop-nav .nav-link.active { color: var(--mr-blue); border-bottom-color: var(--mr-blue); }
  .mr-topics { grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 0.35rem; padding: 1.05rem 0.75rem; }
  .mr-store-shelf { gap: 0.55rem; padding: 1.15rem 0.85rem 1.05rem; }
  .mr-store-cat-media { width: 78px; height: 78px; }
  .mr-store-cat-logo { max-width: 78px; max-height: 78px; }
  .mr-store-cat-icon { width: 44px; height: 44px; }
  .mr-newsletter-inner { grid-template-columns: 1.2fr 1fr; }
  .mr-latest-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (min-width: 1100px) {
  .mr-desktop-nav { gap: 1.1rem; }
  .mr-desktop-nav .nav-link { font-size: 0.98rem; }
  .mr-hero-title { font-size: clamp(2.6rem, 3.6vw, 4rem); }
}

@media (max-width: 899px) {
  .mr-signup-text { display: none; }
  .mr-brand-tag { display: none; }
  .mr-brand-name { font-size: 1rem; }
  .mr-footer-grid { grid-template-columns: 1fr 1fr; }
  .mr-footer-col,
  .mr-footer-news { border-left: 0; border-top: 1px solid rgba(30,70,110,0.12); padding: 1.1rem 0 0; margin-top: 0.35rem; }
  .mr-footer-brand { padding: 0; }
  .mr-hero { min-height: clamp(480px, 70vh, 680px); padding-bottom: 8.5rem; }
  .mr-hero-inner { min-height: clamp(400px, 58vh, 560px); padding-top: 2rem; }
  .mr-hero-title { font-size: clamp(2rem, 7vw, 2.75rem); }
  .mr-hero-topics-wrap { transform: translateY(36%); }
  .mr-topics {
    display: flex; overflow-x: auto; gap: 0.35rem; padding: 0.85rem 0.65rem;
    scrollbar-width: none;
  }
  .mr-topics::-webkit-scrollbar { display: none; }
  .mr-topic { flex: 0 0 auto; width: 104px; }
  .mr-store-shelf {
    display: flex;
    overflow-x: auto;
    overflow-y: visible;
    grid-template-columns: none;
    gap: 0.55rem;
    padding: 1rem 0.65rem 1.15rem;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
  }
  .mr-store-shelf::-webkit-scrollbar { display: none; }
  .mr-store-cat {
    flex: 0 0 auto;
    width: 132px;
    scroll-snap-align: start;
  }
  .mr-store-cat-media { width: 68px; height: 68px; }
  .mr-store-cat-logo { max-width: 68px; max-height: 68px; }
  .mr-store-cat:hover,
  .mr-store-cat:focus-visible { transform: translateY(-6px); }
  .mr-store-cat-label { font-size: 0.74rem; }
  .mr-section-block:first-of-type { padding-top: 6.5rem; }
  .mr-feature-hero { padding-top: 7.5rem; }
  .mr-feature-track { min-height: clamp(340px, 62vh, 520px); }
  .mr-feature-slide-body { padding: 2rem 0 2.5rem; }
}

@media (max-width: 640px) {
  .mr-footer-grid { grid-template-columns: 1fr; }
  .mr-footer-bottom-inner { flex-direction: column; align-items: flex-start; }
  .mr-brand-mark { width: 48px; height: 48px; }
  .mr-lang-code { display: none; }
  .mr-lang-btn { min-width: 42px; justify-content: center; padding: 0.35rem; border-radius: 10px; }
  .mr-section-block:first-of-type { padding-top: 4.75rem; }
  .mr-feature-hero { padding-top: 6.75rem; }
  .wa-fab { right: 0.85rem; bottom: 0.85rem; width: 52px; height: 52px; }
  .mr-latest-grid { grid-template-columns: 1fr; gap: 0.85rem; }
  .mr-latest-card { width: 100%; max-width: 100%; }
  .mr-latest-media { aspect-ratio: 16/10; }
}

[dir="rtl"] .mr-topbar-actions { margin-left: 0; margin-right: auto; }
[dir="rtl"] .mr-lang-menu { right: auto; left: 0; }
[dir="rtl"] .mr-newsletter-quote { text-align: left; }
[dir="rtl"] .mr-guides-card-icon { left: auto; right: 0.85rem; }
[dir="rtl"] .mr-hero-media img,
[dir="rtl"] .mr-hero-media video { object-position: 30% center; }

/* ===== Routes page (namespaced) ===== */
.mr-routes { background: #f4f7fa; padding-bottom: 3.5rem; overflow-x: clip; }
.mr-routes .container { max-width: 100%; }
.mr-routes-hero {
  position: relative;
  min-height: clamp(280px, 38vw, 380px);
  display: flex;
  align-items: flex-end;
  padding: 3rem 0 2.75rem;
  color: #fff;
  background:
    linear-gradient(105deg, rgba(7,26,46,0.72) 0%, rgba(7,26,46,0.35) 48%, rgba(7,26,46,0.18) 100%),
    var(--routes-hero-bg) center / cover no-repeat;
  overflow: hidden;
}
.mr-routes-hero-inner { position: relative; z-index: 1; max-width: 40rem; }
.mr-routes-kicker {
  display: inline-flex; align-items: center; gap: 0.7rem;
  margin: 0 0 0.75rem; font-size: 0.72rem; font-weight: 800;
  letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.92);
}
.mr-routes-kicker::after {
  content: ""; width: 2.4rem; height: 2px; background: var(--color-gold, #c4a35a);
}
.mr-routes-hero-title {
  margin: 0 0 0.75rem; font-size: clamp(1.7rem, 3.4vw, 2.55rem);
  line-height: 1.18; font-weight: 800; letter-spacing: -0.02em; color: #fff;
  max-width: 16ch;
}
.mr-routes-hero-lead {
  margin: 0; max-width: 32rem; font-size: 1rem; line-height: 1.6;
  color: rgba(255,255,255,0.9);
}
.mr-routes-hero-script {
  margin: 1.25rem 0 0; font-family: "Caveat", "Segoe Script", cursive;
  font-size: clamp(1.35rem, 2.4vw, 1.85rem); font-weight: 600; color: #5eb8f7;
  transform: rotate(-5deg); transform-origin: left center; width: fit-content;
}
.mr-routes-toolbar {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.15rem 0 0.35rem; flex-wrap: nowrap; min-width: 0; width: 100%;
}
.mr-routes-filters {
  display: flex; gap: 0.5rem; overflow-x: auto; -webkit-overflow-scrolling: touch;
  padding-bottom: 0.35rem; flex: 1 1 auto; min-width: 0; max-width: 100%;
  scrollbar-width: thin; overscroll-behavior-x: contain;
}
.mr-routes-chip {
  flex: 0 0 auto; border: 1px solid rgba(10,37,64,0.1); background: #fff;
  color: #0a2540; border-radius: 999px; padding: 0.55rem 0.95rem;
  font-size: 0.84rem; font-weight: 650; cursor: pointer; white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.mr-routes-chip:hover { border-color: rgba(30,107,184,0.35); }
.mr-routes-chip.is-active {
  background: #0a2540; color: #fff; border-color: #0a2540;
}
.mr-routes-toolbar-meta {
  flex: 0 0 auto; color: #6b7c8d; font-size: 0.85rem; font-weight: 600; white-space: nowrap;
}
.mr-routes-featured { padding-top: 1.5rem; }
.mr-routes-section-head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 1rem; margin-bottom: 1.15rem;
}
.mr-routes-section-head h2 {
  margin: 0; font-size: clamp(1.35rem, 2.2vw, 1.75rem); color: #0a2540; font-weight: 800;
}
.mr-routes-section-link {
  color: #1e6bb8; font-weight: 700; font-size: 0.9rem; text-decoration: none; white-space: nowrap;
}
.mr-routes-section-link:hover { text-decoration: underline; }
.mr-routes-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.1rem;
}
.mr-routes-card {
  position: relative; display: flex; flex-direction: column; background: #fff;
  border: 1px solid rgba(10,37,64,0.08); border-radius: 14px; overflow: hidden;
  box-shadow: 0 4px 18px rgba(5,13,22,0.04);
}
.mr-routes-card[hidden] { display: none !important; }
.mr-routes-card-media {
  position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #d7e0e8;
}
.mr-routes-card-media img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.mr-routes-badge {
  position: absolute; left: 0.75rem; top: 0.75rem; z-index: 1;
  background: rgba(255,255,255,0.92); color: #0a2540;
  font-size: 0.68rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 0.28rem 0.55rem; border-radius: 999px;
}
.mr-routes-card-body {
  position: relative; padding: 1rem 1rem 1.15rem; display: flex; flex-direction: column; gap: 0.45rem;
  flex: 1;
}
.mr-routes-card-title { margin: 0; font-size: 1.05rem; line-height: 1.3; }
.mr-routes-card-title a { color: #0a2540; text-decoration: none; font-weight: 800; }
.mr-routes-card-title a:hover { color: #1e6bb8; }
.mr-routes-card-desc {
  margin: 0; color: #5a6a7a; font-size: 0.88rem; line-height: 1.5;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.mr-routes-card-meta {
  display: flex; flex-wrap: wrap; gap: 0.65rem 0.9rem; margin-top: 0.35rem;
  color: #4a5a6a; font-size: 0.78rem; font-weight: 650;
}
.mr-routes-card-meta span { display: inline-flex; align-items: center; gap: 0.3rem; }
.mr-routes-ico {
  width: 0.95rem; height: 0.95rem; display: inline-block; background: #1e6bb8;
  -webkit-mask: center / contain no-repeat; mask: center / contain no-repeat;
}
.mr-routes-ico--pin {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 2a7 7 0 0 0-7 7c0 5.25 7 13 7 13s7-7.75 7-13a7 7 0 0 0-7-7zm0 9.5A2.5 2.5 0 1 1 14.5 9 2.5 2.5 0 0 1 12 11.5z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 2a7 7 0 0 0-7 7c0 5.25 7 13 7 13s7-7.75 7-13a7 7 0 0 0-7-7zm0 9.5A2.5 2.5 0 1 1 14.5 9 2.5 2.5 0 0 1 12 11.5z'/%3E%3C/svg%3E");
}
.mr-routes-ico--time {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 2a10 10 0 1 0 10 10A10 10 0 0 0 12 2zm1 11H7v-2h4V6h2z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 2a10 10 0 1 0 10 10A10 10 0 0 0 12 2zm1 11H7v-2h4V6h2z'/%3E%3C/svg%3E");
}
.mr-routes-ico--level {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M4 18h3v-4H4zm5 0h3V8H9zm5 0h3V4h-3zm5 0h3v-7h-3z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M4 18h3v-4H4zm5 0h3V8H9zm5 0h3V4h-3zm5 0h3v-7h-3z'/%3E%3C/svg%3E");
}
.mr-routes-card-go {
  position: absolute; right: 0.85rem; bottom: 0.85rem;
  width: 2.35rem; height: 2.35rem; border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  background: #e8f3fc; color: #1e6bb8; text-decoration: none; font-weight: 800;
}
.mr-routes-card-go:hover { background: #1e6bb8; color: #fff; }
.mr-routes-card-go--light { background: rgba(94,184,247,0.18); color: #fff; position: static; }
.mr-routes-card-go--light:hover { background: #5eb8f7; color: #0a2540; }
.mr-routes-empty {
  margin: 1rem 0 0; padding: 1rem; text-align: center; color: #6b7c8d; font-size: 0.92rem;
}
.mr-routes-highlight {
  margin-top: 2.25rem; display: grid; grid-template-columns: 1.05fr 1fr;
  border-radius: 16px; overflow: hidden; border: 1px solid rgba(10,37,64,0.08);
  background: #0a2540; min-height: 340px;
}
.mr-routes-highlight[hidden] { display: none !important; }
.mr-routes-highlight-media { position: relative; min-height: 280px; }
.mr-routes-highlight-media img {
  width: 100%; height: 100%; object-fit: cover; display: block; min-height: 280px;
}
.mr-routes-highlight-flag {
  position: absolute; left: 1rem; top: 1rem;
  background: #fff; color: #0a2540; font-size: 0.7rem; font-weight: 800;
  letter-spacing: 0.06em; text-transform: uppercase; padding: 0.35rem 0.65rem; border-radius: 999px;
}
.mr-routes-highlight-panel {
  color: #fff; padding: 1.75rem 1.6rem 1.5rem; display: flex; flex-direction: column;
}
.mr-routes-highlight-region {
  display: inline-flex; align-self: flex-start; margin-bottom: 0.75rem;
  background: rgba(94,184,247,0.18); color: #9fd0ff;
  font-size: 0.72rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 0.28rem 0.6rem; border-radius: 999px;
}
.mr-routes-highlight-panel h2 {
  margin: 0 0 0.45rem; font-size: clamp(1.4rem, 2.4vw, 1.9rem); line-height: 1.2; font-weight: 800; color: #fff;
}
.mr-routes-highlight-sub {
  margin: 0 0 0.75rem; color: rgba(255,255,255,0.88); font-size: 1rem; font-weight: 600;
}
.mr-routes-highlight-desc {
  margin: 0; color: rgba(255,255,255,0.78); font-size: 0.92rem; line-height: 1.6; max-width: 34rem;
}
.mr-routes-highlight-meta {
  display: flex; flex-wrap: wrap; gap: 0.75rem 1.1rem; margin-top: 1.15rem;
  color: rgba(255,255,255,0.88); font-size: 0.85rem; font-weight: 650;
}
.mr-routes-highlight-foot {
  margin-top: auto; padding-top: 1.25rem;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem;
}
.mr-routes-map { text-align: end; max-width: 11rem; }
.mr-routes-map svg { width: 100%; height: auto; opacity: 0.9; }
.mr-routes-map p {
  margin: 0.35rem 0 0; font-family: "Caveat", "Segoe Script", cursive;
  font-size: 1.05rem; color: rgba(255,255,255,0.72); transform: rotate(-4deg);
}

@media (max-width: 980px) {
  .mr-routes-grid { grid-template-columns: 1fr 1fr; }
  .mr-routes-highlight { grid-template-columns: 1fr; }
  .mr-routes-highlight-media { min-height: 240px; }
}
@media (max-width: 640px) {
  .mr-routes { padding-bottom: 2.5rem; }
  .mr-routes-hero { min-height: 260px; padding: 2.25rem 0 2rem; }
  .mr-routes-hero-title { max-width: none; }
  .mr-routes-toolbar { gap: 0.65rem; }
  .mr-routes-toolbar-meta { display: none; }
  .mr-routes-grid { grid-template-columns: 1fr; }
  .mr-routes-section-head { flex-direction: column; align-items: flex-start; gap: 0.35rem; }
  .mr-routes-card-body { padding-bottom: 3rem; }
  .mr-routes-highlight-panel { padding: 1.35rem 1.15rem 1.25rem; }
  .mr-routes-highlight-foot { flex-direction: column; align-items: flex-start; }
  .mr-routes-map { text-align: start; }
}
[dir="rtl"] .mr-routes-kicker::after { order: -1; }
[dir="rtl"] .mr-routes-hero-script { transform: rotate(5deg); transform-origin: right center; }
[dir="rtl"] .mr-routes-badge { left: auto; right: 0.75rem; }
[dir="rtl"] .mr-routes-card-go { right: auto; left: 0.85rem; }
[dir="rtl"] .mr-routes-highlight-flag { left: auto; right: 1rem; }
[dir="rtl"] .mr-routes-map { text-align: start; }

/* ===== Route detail page (namespaced) ===== */
.mr-rd { background: #f4f7fa; padding-bottom: 3.5rem; overflow-x: clip; }
.mr-rd-hero {
  position: relative; min-height: clamp(280px, 36vw, 400px);
  display: flex; align-items: flex-end; padding: 2.75rem 0 2.4rem; color: #fff;
  background:
    linear-gradient(105deg, rgba(7,26,46,0.78) 0%, rgba(7,26,46,0.4) 52%, rgba(7,26,46,0.22) 100%),
    var(--rd-hero) center / cover no-repeat;
  overflow: hidden;
}
.mr-rd-hero-inner { position: relative; z-index: 1; max-width: 46rem; }
.mr-rd-crumbs {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.35rem;
  margin: 0 0 0.9rem; font-size: 0.78rem; color: rgba(255,255,255,0.78);
}
.mr-rd-crumbs a { color: rgba(255,255,255,0.88); text-decoration: none; }
.mr-rd-crumbs a:hover { text-decoration: underline; }
.mr-rd-crumbs-sep { opacity: 0.55; }
.mr-rd-title {
  margin: 0 0 0.7rem; font-size: clamp(1.7rem, 3.3vw, 2.55rem);
  line-height: 1.18; font-weight: 800; letter-spacing: -0.02em; color: #fff;
}
.mr-rd-lead {
  margin: 0; max-width: 36rem; font-size: 1rem; line-height: 1.6; color: rgba(255,255,255,0.9);
}
.mr-rd-meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.65rem 1rem;
  margin-top: 1.15rem;
}
.mr-rd-meta-item {
  display: inline-flex; align-items: center; gap: 0.35rem;
  font-size: 0.84rem; font-weight: 600; color: rgba(255,255,255,0.88);
}
.mr-rd-ico {
  width: 0.95rem; height: 0.95rem; display: inline-block; background: #5eb8f7;
  -webkit-mask: center / contain no-repeat; mask: center / contain no-repeat;
}
.mr-rd-ico--pin {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 2a7 7 0 0 0-7 7c0 5.25 7 13 7 13s7-7.75 7-13a7 7 0 0 0-7-7zm0 9.5A2.5 2.5 0 1 1 14.5 9 2.5 2.5 0 0 1 12 11.5z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 2a7 7 0 0 0-7 7c0 5.25 7 13 7 13s7-7.75 7-13a7 7 0 0 0-7-7zm0 9.5A2.5 2.5 0 1 1 14.5 9 2.5 2.5 0 0 1 12 11.5z'/%3E%3C/svg%3E");
}
.mr-rd-ico--cal {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M7 2h2v2h6V2h2v2h3v18H4V4h3zm13 6H4v12h16z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M7 2h2v2h6V2h2v2h3v18H4V4h3zm13 6H4v12h16z'/%3E%3C/svg%3E");
}
.mr-rd-ico--eye {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 5c5.5 0 9.5 4.5 10 7-.5 2.5-4.5 7-10 7S2.5 14.5 2 12c.5-2.5 4.5-7 10-7zm0 3a4 4 0 1 0 4 4 4 4 0 0 0-4-4z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 5c5.5 0 9.5 4.5 10 7-.5 2.5-4.5 7-10 7S2.5 14.5 2 12c.5-2.5 4.5-7 10-7zm0 3a4 4 0 1 0 4 4 4 4 0 0 0-4-4z'/%3E%3C/svg%3E");
}
.mr-rd-save {
  border: 1px solid rgba(255,255,255,0.35); background: rgba(255,255,255,0.12);
  color: #fff; border-radius: 999px; padding: 0.35rem 0.85rem; font-size: 0.8rem; font-weight: 700;
  cursor: not-allowed; opacity: 0.85;
}
.mr-rd-script {
  margin: 1.2rem 0 0; font-family: "Caveat", "Segoe Script", cursive;
  font-size: clamp(1.35rem, 2.4vw, 1.9rem); font-weight: 600; color: #5eb8f7;
  transform: rotate(-5deg); transform-origin: left center; width: fit-content;
}
.mr-rd-layout {
  display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(280px, 0.9fr);
  gap: 1.5rem; padding-top: 1.75rem; align-items: start;
}
.mr-rd-main > * + * { margin-top: 1.5rem; }
.mr-rd-video, .mr-rd-video-wrap {
  position: relative; border-radius: 14px; overflow: hidden;
  border: 1px solid rgba(10,37,64,0.08); background: #0a2540;
}
.mr-rd-video img { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; }
.mr-rd-video-overlay {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 0.85rem;
  background: linear-gradient(180deg, rgba(7,26,46,0.15), rgba(7,26,46,0.45));
  color: #fff; text-align: start;
}
.mr-rd-video-overlay strong { display: block; font-size: 1rem; }
.mr-rd-video-overlay small { color: rgba(255,255,255,0.75); }
.mr-rd-play {
  width: 3.2rem; height: 3.2rem; border-radius: 999px; background: rgba(94,184,247,0.95);
  position: relative; flex: 0 0 auto;
}
.mr-rd-play::after {
  content: ""; position: absolute; left: 1.2rem; top: 50%; transform: translateY(-50%);
  border-style: solid; border-width: 0.55rem 0 0.55rem 0.9rem;
  border-color: transparent transparent transparent #0a2540;
}
.mr-rd-intro p {
  margin: 0 0 0.9rem; color: #3d4d5c; font-size: 1rem; line-height: 1.7;
}
.mr-rd-spirit {
  background: #fff; border: 1px solid rgba(10,37,64,0.08); border-radius: 14px; padding: 1.25rem 1.3rem;
}
.mr-rd-spirit-head { display: flex; align-items: center; gap: 0.65rem; margin-bottom: 0.65rem; }
.mr-rd-spirit-head h2 { margin: 0; font-size: 1.2rem; color: #0a2540; }
.mr-rd-wave {
  width: 1.5rem; height: 1.5rem; border-radius: 999px; background: #e8f3fc;
  box-shadow: inset 0 0 0 2px #1e6bb8;
}
.mr-rd-spirit > p { margin: 0; color: #4a5a6a; line-height: 1.65; }
.mr-rd-quote {
  margin: 1.1rem 0 0; padding: 0.85rem 1rem 0.85rem 1.15rem;
  border-left: 3px solid #5eb8f7; background: #f7fbfe; border-radius: 0 10px 10px 0;
}
.mr-rd-quote p {
  margin: 0; font-size: 1.05rem; line-height: 1.55; color: #0a2540; font-weight: 650;
  font-style: italic;
}
.mr-rd-stops h2, .mr-rd-tips h2, .mr-rd-related h2, .mr-rd-summary h2, .mr-rd-gallery h2 {
  margin: 0 0 0.95rem; font-size: 1.2rem; color: #0a2540; font-weight: 800;
}
.mr-rd-timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.mr-rd-timeline::before {
  content: ""; position: absolute; left: 2.55rem; top: 0.75rem; bottom: 0.75rem;
  width: 2px; background: repeating-linear-gradient(to bottom, #5eb8f7 0 6px, transparent 6px 12px);
}
.mr-rd-stop { display: grid; grid-template-columns: 5.1rem 1fr; gap: 0.9rem; align-items: center; margin: 0 0 1rem; }
.mr-rd-stop-media {
  width: 5.1rem; height: 5.1rem; border-radius: 999px; overflow: hidden;
  border: 3px solid #fff; box-shadow: 0 0 0 2px #5eb8f7; position: relative; z-index: 1; background: #d7e0e8;
}
.mr-rd-stop-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mr-rd-stop-body h3 { margin: 0 0 0.25rem; font-size: 1rem; color: #0a2540; }
.mr-rd-stop-body p { margin: 0; color: #5a6a7a; font-size: 0.9rem; line-height: 1.5; }
.mr-rd-tips-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 0.75rem; }
.mr-rd-tip {
  background: #eef6fc; border: 1px solid rgba(30,107,184,0.12); border-radius: 12px; padding: 1rem 0.95rem;
}
.mr-rd-tip h3 { margin: 0.45rem 0 0.35rem; font-size: 0.95rem; color: #0a2540; }
.mr-rd-tip p { margin: 0; color: #4a5a6a; font-size: 0.84rem; line-height: 1.5; }
.mr-rd-tip-ico {
  width: 1.7rem; height: 1.7rem; display: inline-block; border-radius: 999px; background: #1e6bb8;
  -webkit-mask: center / 60% no-repeat; mask: center / 60% no-repeat;
}
.mr-rd-tip-ico--protect {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 2l8 3v6c0 5-3.4 9.4-8 11-4.6-1.6-8-6-8-11V5z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 2l8 3v6c0 5-3.4 9.4-8 11-4.6-1.6-8-6-8-11V5z'/%3E%3C/svg%3E");
}
.mr-rd-tip-ico--weather {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 4l1.5 4.5L18 10l-4.5 1.5L12 16l-1.5-4.5L6 10l4.5-1.5z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 4l1.5 4.5L18 10l-4.5 1.5L12 16l-1.5-4.5L6 10l4.5-1.5z'/%3E%3C/svg%3E");
}
.mr-rd-tip-ico--rules {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M6 2h9l5 5v15H6zm8 1.5V8h4.5'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M6 2h9l5 5v15H6zm8 1.5V8h4.5'/%3E%3C/svg%3E");
}
.mr-rd-side { display: flex; flex-direction: column; gap: 1rem; position: sticky; top: 5.5rem; }
.mr-rd-summary, .mr-rd-map, .mr-rd-gallery {
  background: #fff; border: 1px solid rgba(10,37,64,0.08); border-radius: 14px; padding: 1.15rem 1.1rem;
  box-shadow: 0 4px 18px rgba(5,13,22,0.04);
}
.mr-rd-summary-list { list-style: none; margin: 0; padding: 0; }
.mr-rd-summary-list li {
  display: flex; justify-content: space-between; gap: 0.75rem; padding: 0.55rem 0;
  border-bottom: 1px solid rgba(10,37,64,0.06); font-size: 0.88rem;
}
.mr-rd-summary-list li:last-child { border-bottom: 0; }
.mr-rd-summary-list span { color: #6b7c8d; }
.mr-rd-summary-list strong { color: #0a2540; font-weight: 750; text-align: end; }
.mr-rd-map-cta {
  display: block; margin-top: 0.85rem; text-align: center; text-decoration: none;
  background: #0a2540; color: #fff; border-radius: 10px; padding: 0.75rem 1rem; font-weight: 750;
}
.mr-rd-map-cta:hover { background: #1e6bb8; color: #fff; }
.mr-rd-map { padding-bottom: 0.85rem; }
.mr-rd-map svg { width: 100%; height: auto; border-radius: 12px; display: block; }
.mr-rd-map p { margin: 0.55rem 0 0; font-size: 0.78rem; color: #6b7c8d; text-align: center; }
.mr-rd-gallery-head { display: flex; align-items: baseline; justify-content: space-between; gap: 0.75rem; }
.mr-rd-gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 0.45rem; }
.mr-rd-related { margin-top: 2.25rem; }
.mr-rd-related-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1.1rem; }

/* Related routes — premium card refinement (scoped) */
.mr-rd-related-head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 1rem; margin-bottom: 1.1rem;
}
.mr-rd-related-head h2 { margin: 0; }
.mr-rd-related-all {
  color: #1e6bb8; font-size: 0.9rem; font-weight: 700; text-decoration: none; white-space: nowrap;
}
.mr-rd-related-all:hover { text-decoration: underline; }
.mr-rd-rel-card {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border: 1px solid rgba(10,37,64,0.08);
  border-radius: 14px; overflow: hidden;
  box-shadow: 0 3px 14px rgba(5,13,22,0.035);
}
.mr-rd-rel-media {
  position: relative; display: block; aspect-ratio: 16 / 10;
  overflow: hidden; background: #d7e0e8;
}
.mr-rd-rel-media img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.mr-rd-rel-badge {
  position: absolute; left: 0.75rem; top: 0.75rem; z-index: 1;
  background: rgba(255,255,255,0.94); color: #0a2540;
  font-size: 0.66rem; font-weight: 800; letter-spacing: 0.07em; text-transform: uppercase;
  padding: 0.28rem 0.55rem; border-radius: 999px;
  border: 1px solid rgba(10,37,64,0.06);
}
.mr-rd-rel-body {
  position: relative; padding: 1.05rem 1.05rem 1.2rem;
  display: flex; flex-direction: column; gap: 0.4rem; flex: 1;
}
.mr-rd-rel-title { margin: 0; font-size: 1.08rem; line-height: 1.28; }
.mr-rd-rel-title a { color: #0a2540; text-decoration: none; font-weight: 800; letter-spacing: -0.01em; }
.mr-rd-rel-title a:hover { color: #1e6bb8; }
.mr-rd-rel-desc {
  margin: 0; color: #6b7c8d; font-size: 0.86rem; line-height: 1.55; font-weight: 450;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.mr-rd-rel-meta {
  display: flex; flex-wrap: wrap; gap: 0.35rem 0.85rem; margin-top: 0.45rem;
  padding-top: 0.65rem; border-top: 1px solid rgba(10,37,64,0.06);
  color: #4a5a6a; font-size: 0.78rem; font-weight: 650;
}
.mr-rd-rel-go {
  position: absolute; right: 0.9rem; bottom: 0.9rem;
  width: 2.2rem; height: 2.2rem; border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  background: #eef5fb; color: #1e6bb8; text-decoration: none; font-weight: 700;
  font-size: 0.95rem; border: 1px solid rgba(30,107,184,0.12);
  transition: background 0.2s ease, color 0.2s ease;
}
.mr-rd-rel-go:hover { background: #0a2540; color: #fff; border-color: #0a2540; }
.mr-rd-rel-body { padding-bottom: 3rem; }

@media (max-width: 980px) {
  .mr-rd-related-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .mr-rd-related-head { flex-direction: column; align-items: flex-start; gap: 0.35rem; }
  .mr-rd-related-grid { grid-template-columns: 1fr; }
  .mr-rd-rel-card { width: 100%; max-width: 100%; }
}
[dir="rtl"] .mr-rd-rel-badge { left: auto; right: 0.75rem; }
[dir="rtl"] .mr-rd-rel-go { right: auto; left: 0.9rem; }

@media (max-width: 980px) {
  .mr-rd-layout { grid-template-columns: 1fr; }
  .mr-rd-side { position: static; }
  .mr-rd-tips-grid { grid-template-columns: 1fr; }
  .mr-rd-related-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .mr-rd { padding-bottom: 2.5rem; }
  .mr-rd-hero { min-height: 260px; padding: 2.1rem 0 1.75rem; }
  .mr-rd-timeline::before { left: 2.2rem; }
  .mr-rd-stop { grid-template-columns: 4.4rem 1fr; }
  .mr-rd-stop-media { width: 4.4rem; height: 4.4rem; }
  .mr-rd-related-grid { grid-template-columns: 1fr; }
  .mr-rd-gallery-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
[dir="rtl"] .mr-rd-script { transform: rotate(5deg); transform-origin: right center; }
[dir="rtl"] .mr-rd-quote { border-left: 0; border-right: 3px solid #5eb8f7; border-radius: 10px 0 0 10px; padding-left: 1rem; padding-right: 1.15rem; }
[dir="rtl"] .mr-rd-timeline::before { left: auto; right: 2.55rem; }
[dir="rtl"] .mr-rd-summary-list strong { text-align: start; }

/* Route gallery + lightbox */
.mr-rd-gallery-head button.mr-rd-gallery-all {
  border: 0; background: none; color: #1e6bb8; font-size: 0.84rem; font-weight: 700;
  cursor: pointer; padding: 0; white-space: nowrap;
}
.mr-rd-gallery-head button.mr-rd-gallery-all:hover { text-decoration: underline; }
.mr-rd-gallery-item {
  display: block; width: 100%; margin: 0; padding: 0; border: 0; cursor: pointer;
  aspect-ratio: 1; border-radius: 8px; overflow: hidden; background: #d7e0e8;
  position: relative;
}
.mr-rd-gallery-item::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(7,26,46,0.35));
  opacity: 0; transition: opacity 0.2s ease; pointer-events: none;
}
.mr-rd-gallery-item:hover::after,
.mr-rd-gallery-item:focus-visible::after { opacity: 1; }
.mr-rd-gallery-item:focus-visible { outline: 2px solid #1e6bb8; outline-offset: 2px; }
.mr-rd-gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mr-rd-gallery-grid figure { display: none; }

html.mr-rd-lightbox-open { overflow: hidden; }
.mr-rd-lightbox[hidden] { display: none !important; }
.mr-rd-lightbox {
  position: fixed; inset: 0; z-index: 1200; display: grid; place-items: center;
}
.mr-rd-lightbox-backdrop {
  position: absolute; inset: 0; border: 0; padding: 0; margin: 0;
  background: rgba(5,13,22,0.82); cursor: pointer;
}
.mr-rd-lightbox-dialog {
  position: relative; z-index: 1; width: min(960px, calc(100vw - 2rem));
  max-height: calc(100vh - 2rem); display: grid; place-items: center;
}
.mr-rd-lightbox-figure {
  margin: 0; background: #0a2540; border-radius: 12px; overflow: hidden;
  box-shadow: 0 18px 50px rgba(0,0,0,0.35); max-width: 100%;
}
.mr-rd-lightbox-figure img {
  display: block; width: 100%; max-height: min(78vh, 820px); object-fit: contain; background: #071a2e;
}
.mr-rd-lightbox-figure figcaption {
  margin: 0; padding: 0.55rem 0.85rem; text-align: center;
  color: rgba(255,255,255,0.8); font-size: 0.82rem; font-weight: 600;
}
.mr-rd-lightbox-close {
  position: absolute; top: -0.35rem; right: -0.15rem; z-index: 2;
  width: 2.4rem; height: 2.4rem; border-radius: 999px; border: 0;
  background: #fff; color: #0a2540; font-size: 1.4rem; line-height: 1; cursor: pointer;
  box-shadow: 0 4px 14px rgba(0,0,0,0.2);
}
.mr-rd-lightbox-nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 2.5rem; height: 2.5rem; border-radius: 999px; border: 0;
  background: rgba(255,255,255,0.92); color: #0a2540; font-size: 1.6rem; line-height: 1;
  cursor: pointer; box-shadow: 0 4px 14px rgba(0,0,0,0.18);
}
.mr-rd-lightbox-prev { left: -0.35rem; }
.mr-rd-lightbox-next { right: -0.35rem; }
.mr-rd-lightbox-nav:hover, .mr-rd-lightbox-close:hover { background: #5eb8f7; color: #0a2540; }
@media (max-width: 640px) {
  .mr-rd-lightbox-prev { left: 0.25rem; }
  .mr-rd-lightbox-next { right: 0.25rem; }
  .mr-rd-lightbox-close { top: 0.25rem; right: 0.25rem; }
}
[dir="rtl"] .mr-rd-lightbox-close { right: auto; left: -0.15rem; }
[dir="rtl"] .mr-rd-lightbox-prev { left: auto; right: -0.35rem; }
[dir="rtl"] .mr-rd-lightbox-next { right: auto; left: -0.35rem; }
