/* Blog styles — Static Caravan Movers UK */
/* Matches brand: blue=#2B5A8C, lightBlue=#3B7ABF, green=#3D8C57, gray=#F5F7FA, darkGray=#3D4F5F */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color: #3D4F5F;
  line-height: 1.7;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a { color: #2B5A8C; text-decoration: none; }
a:hover { color: #3B7ABF; text-decoration: underline; }

/* Navigation */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #e5e7eb;
}
.nav-inner {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}
.logo {
  font-weight: 700;
  font-size: 1.25rem;
  color: #2B5A8C !important;
  text-decoration: none !important;
}
.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links a {
  font-weight: 500;
  color: #3D4F5F;
  text-decoration: none;
  transition: color 0.15s;
}
.nav-links a:hover { color: #2B5A8C; text-decoration: none; }
.nav-links a:last-child {
  background: #2B5A8C;
  color: #fff !important;
  padding: 0.5rem 1rem;
  border-radius: 0.375rem;
  font-weight: 500;
}
.nav-links a:last-child:hover { background: #3B7ABF; }

/* Layout */
.wrap {
  max-width: 48rem;
  margin: 0 auto;
  padding: 0 1.25rem;
  flex: 1;
}

/* Breadcrumb */
.breadcrumb {
  padding: 1.25rem 0 0.75rem;
  font-size: 0.85rem;
  color: #6b7280;
}
.breadcrumb a { color: #2B5A8C; text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { margin: 0 0.4rem; color: #9ca3af; }

/* Article Header */
.article-header { padding: 1.5rem 0 1rem; }
.article-header h1 {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.2;
  color: #1a1a2e;
  margin-bottom: 0.75rem;
}
@media (min-width: 640px) {
  .article-header h1 { font-size: 2.5rem; }
}
.article-meta {
  font-size: 0.875rem;
  color: #6b7280;
  margin-bottom: 0.75rem;
}
.article-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.tag {
  background: #f0f4f8;
  color: #2B5A8C;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

/* Hero Image */
.hero-image {
  margin: 1rem 0 2rem;
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
}
.hero-image img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16/9;
  object-fit: cover;
}
.hero-image figcaption {
  font-size: 0.8rem;
  color: #6b7280;
  text-align: center;
  padding: 0.5rem 1rem;
  background: #f9fafb;
}

/* Article Body */
.article-body {
  padding: 0 0 2rem;
  font-size: 1.0625rem;
  line-height: 1.8;
}
.article-body p {
  margin-bottom: 1.25rem;
}
.article-body h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1a1a2e;
  margin: 2.5rem 0 1rem;
  padding-bottom: 0.4rem;
  border-bottom: 2px solid #e5e7eb;
}
.article-body h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: #2B5A8C;
  margin: 2rem 0 0.75rem;
}
.article-body ul, .article-body ol {
  margin: 1rem 0 1.5rem;
  padding-left: 1.5rem;
}
.article-body li {
  margin-bottom: 0.5rem;
}
.article-body strong {
  color: #1a1a2e;
  font-weight: 600;
}
.article-body a {
  color: #2B5A8C;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.article-body a:hover { color: #3B7ABF; }

/* Tables */
.article-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.25rem 0 1.75rem;
  font-size: 0.95rem;
  line-height: 1.5;
}
.article-body th {
  background: #2B5A8C;
  color: #fff;
  font-weight: 600;
  padding: 0.75rem 1rem;
  text-align: left;
}
.article-body td {
  padding: 0.65rem 1rem;
  border-bottom: 1px solid #e5e7eb;
}
.article-body tbody tr:nth-child(even) { background: #f9fafb; }
.article-body tbody tr:hover { background: #f0f4f8; }
.article-body em {
  font-style: italic;
  color: #6b7280;
  font-size: 0.9rem;
}

/* CTA Block */
.article-cta {
  background: linear-gradient(135deg, #2B5A8C 0%, #3B7ABF 100%);
  color: #fff;
  text-align: center;
  padding: 2.5rem 2rem;
  border-radius: 0.75rem;
  margin: 2rem 0 3rem;
  box-shadow: 0 10px 25px -5px rgba(43,90,140,0.3);
}
.article-cta h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.article-cta p {
  opacity: 0.9;
  margin-bottom: 1.5rem;
  max-width: 32rem;
  margin-left: auto;
  margin-right: auto;
}
.btn-primary {
  display: inline-block;
  background: #fff;
  color: #2B5A8C !important;
  font-weight: 700;
  padding: 0.75rem 2rem;
  border-radius: 0.5rem;
  text-decoration: none !important;
  font-size: 1.05rem;
  transition: transform 0.15s, box-shadow 0.15s;
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 12px -2px rgba(0,0,0,0.15);
}

/* Footer */
.footer {
  background: #1a1a2e;
  color: #d1d5db;
  padding: 2rem 0;
  margin-top: auto;
}
.footer .wrap { max-width: 72rem; }
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer .logo { color: #fff !important; }
.footer-links { display: flex; gap: 1.5rem; }
.footer-links a {
  color: #9ca3af;
  text-decoration: none;
  font-size: 0.9rem;
}
.footer-links a:hover { color: #fff; }

/* Print */
@media print {
  .nav, .footer, .article-cta { display: none; }
  .article-body { font-size: 11pt; }
}

/* Mobile tweaks */
@media (max-width: 640px) {
  .nav-inner { padding: 0 0.75rem; }
  .nav-links { gap: 1rem; }
  .nav-links a:last-child { padding: 0.4rem 0.75rem; font-size: 0.9rem; }
  .article-header h1 { font-size: 1.6rem; }
  .article-body { font-size: 1rem; }
  .article-body table { font-size: 0.85rem; }
  .article-body th, .article-body td { padding: 0.5rem 0.6rem; }
  .article-cta { padding: 1.75rem 1.25rem; }
}
