body {
  background: #f5f7fb !important;
}
/*
 Theme Name:  MaritimeHub Child
 Theme URI:   https://maritimehub.co.uk
 Description: MaritimeHub child theme – custom layout & styles
 Author:      Ryan O'Neill
 Version:     1.0.0
 Template:    hello-elementor
*/

/* ============================================
   1. Global tweaks / fixes
   ============================================ */

/* Hide any old theme/Elementor headers */
.elementor-location-header,
#site-header,
header.site-header {
  display: none !important;
}

/* MaritimeHub header colours */
.header {
  background: #007fff !important;
  color: #ffffff !important;
}
.header a,
.header .nav a,
.header .brand,
.header .switch span {
  color: #ffffff !important;
}

/* Admin bar spacing when logged in */
body.admin-bar {
  margin-top: 32px !important;
}
#wpadminbar {
  position: fixed !important;
  top: 0 !important;
}

/* Avoid sideways scroll */
html,
body {
  overflow-x: hidden;
}

/* Push header up – remove gap */
html {
  margin-top: 0 !important;
}

#page,
#content,
#primary,
#main,
.site-main {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* ============================================
   2. MaritimeHub – Article Layout (single posts)
   ============================================ */

.mh-article-page {
  background: #f5f7fb;
  padding: 32px 16px;
}

.mh-article-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 220px) minmax(0, 1fr) minmax(0, 280px);
  gap: 24px;
}

/* Left navigation */
.mh-article-leftnav {
  font-size: 0.9rem;
  position: sticky;
  top: 100px;
  align-self: start;
}

.mh-article-leftnav-title {
  font-weight: 600;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.8rem;
  color: #555;
}

.mh-article-leftnav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mh-article-leftnav li {
  margin-bottom: 6px;
}

.mh-article-leftnav a {
  text-decoration: none;
  color: #123456;
  font-weight: 500;
}

.mh-article-leftnav a:hover {
  text-decoration: underline;
}

/* Main article card */
.mh-article-main {
  background: #ffffff;
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.04);
}

/* Inner column like BBC/Sky */
.mh-article-main-inner {
  max-width: 760px;
  margin: 0 auto;
}

/* Breadcrumb */
.mh-article-breadcrumb {
  font-size: 0.8rem;
  color: #777;
  margin-bottom: 8px;
}

.mh-article-breadcrumb a {
  color: inherit;
  text-decoration: none;
}

.mh-article-breadcrumb a:hover {
  text-decoration: underline;
}

/* Meta + share bar */
.mh-article-meta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.mh-article-meta {
  font-size: 0.85rem;
  color: #666;
}

.mh-article-meta span::after {
  content: "•";
  margin: 0 6px;
  color: #aaa;
}

.mh-article-meta span:last-child::after {
  content: "";
  margin: 0;
}

.mh-article-share {
  font-size: 0.85rem;
  color: #555;
}

.mh-article-share span {
  margin-right: 4px;
}

.mh-article-share a {
  margin-right: 8px;
  text-decoration: none;
  color: #007fff;
  font-weight: 500;
}

.mh-article-share a:hover {
  text-decoration: underline;
}

/* Title */
.mh-article-main h1.entry-title,
.mh-article-main h1 {
  font-size: 2rem;
  line-height: 1.2;
  margin-bottom: 8px;
}

/* Featured image */
.mh-article-featured {
  margin: 16px 0 24px;
}

.mh-article-featured img {
  width: 100%;
  height: auto;
  border-radius: 6px;
}

/* Article body typography */
.mh-article-body {
  font-size: 1rem;
  line-height: 1.6;
  color: #222;
}

.mh-article-body p {
  margin-bottom: 1rem;
}

.mh-article-body h2,
.mh-article-body h3 {
  margin-top: 1.6rem;
  margin-bottom: 0.6rem;
}

.mh-article-body ul,
.mh-article-body ol {
  margin-left: 1.2rem;
  margin-bottom: 1rem;
}

/* Images / figures inside article */
.mh-article-body img,
.mh-article-body figure {
  max-width: 100%;
  height: auto;
}

.mh-article-body figure {
  margin: 1.2rem 0;
}

.mh-article-body figcaption {
  font-size: 0.8rem;
  color: #666;
  text-align: left;
  margin-top: 4px;
}

/* Blockquotes */
.mh-article-body blockquote {
  margin: 1.4rem 0;
  padding: 12px 16px;
  border-left: 4px solid #007fff;
  background: #f0f6ff;
  font-style: italic;
}

/* Tags */
.mh-article-tags {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid #e3e7ee;
  font-size: 0.85rem;
}

.mh-article-tags a {
  display: inline-block;
  margin-right: 8px;
  margin-bottom: 4px;
  padding: 3px 8px;
  border-radius: 999px;
  background: #f0f4ff;
  color: #123456;
  text-decoration: none;
}

.mh-article-tags a:hover {
  background: #e0e7ff;
}

/* Newsletter block */
.mh-article-newsletter {
  margin-top: 32px;
  padding: 16px 20px;
  border-radius: 8px;
  background: #f0f6ff;
  border: 1px solid #d0def9;
}

.mh-article-newsletter h3 {
  margin-top: 0;
  margin-bottom: 8px;
  font-size: 1.1rem;
}

.mh-article-newsletter p {
  margin-bottom: 12px;
  font-size: 0.9rem;
}

/* Back link */
.mh-article-back {
  margin-top: 24px;
  font-size: 0.9rem;
}

.mh-article-back a {
  text-decoration: none;
  color: #007fff;
  font-weight: 500;
}

.mh-article-back a:hover {
  text-decoration: underline;
}

/* Right sidebar */
.mh-article-sidebar {
  align-self: start;
  position: sticky;
  top: 100px;
}

.mh-sidebar-block {
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.04);
  padding: 16px 18px;
  margin-bottom: 16px;
}

.mh-sidebar-title {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #555;
  margin-bottom: 8px;
}

.mh-ad-slot {
  width: 100%;
  min-height: 250px;
  background: #e2e8f0;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  color: #555;
}

/* More news list */
.mh-more-news-list {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.9rem;
}

.mh-more-news-list li {
  margin-bottom: 8px;
}

.mh-more-news-list a {
  text-decoration: none;
  color: #123456;
}

.mh-more-news-list a:hover {
  text-decoration: underline;
}

/* Article responsive tweaks */
@media (max-width: 1024px) {
  .mh-article-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .mh-article-leftnav {
    position: static;
    margin-bottom: 16px;
    background: #ffffff;
    border-radius: 8px;
    padding: 12px 14px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
  }
  .mh-article-sidebar {
    position: static;
    margin-top: 16px;
  }
}

@media (max-width: 600px) {
  .mh-article-main {
    padding: 16px;
  }
  .mh-article-main h1.entry-title,
  .mh-article-main h1 {
    font-size: 1.6rem;
  }
  .mh-article-meta-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
}

/* ============================================
   3. MaritimeHub Gallery – Landing Page
   ============================================ */

.mh-gallery-home {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 16px 48px;
}

/* ---------- HERO AREA ---------- */

.mh-gallery-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 32px;
  margin-bottom: 32px;
}

.mh-gallery-hero-left h1 {
  font-size: 2.3rem;
  margin-bottom: 8px;
}

.mh-gallery-hero-left p {
  color: #444;
  line-height: 1.6;
  max-width: 540px;
}

/* Stats cards under intro text */

.mh-gallery-hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.mh-stat-card {
  flex: 1;
  min-width: 180px;
  padding: 12px 14px;
  border-radius: 10px;
  background: #f0f6ff;
  border: 1px solid #d0def9;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
}

.mh-stat-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #555;
  margin-bottom: 4px;
}

.mh-stat-value {
  font-size: 1.4rem;
  font-weight: 700;
  color: #0b2a5a;
}

.mh-stat-sub {
  font-size: 0.8rem;
  color: #666;
}

/* ---------- HERO RIGHT: SEARCH / FILTERS / AD ---------- */

.mh-gallery-hero-right {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mh-gallery-search {
  display: flex;
  gap: 8px;
}

.mh-gallery-search input {
  flex: 1;
  padding: 10px 12px;
  border-radius: 6px;
  border: 1px solid #cbd5e1;
}

.mh-gallery-search button {
  padding: 10px 16px;
  border-radius: 6px;
  border: none;
  background: #007fff;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
}

.mh-gallery-quick-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  font-size: 0.8rem;
}

.mh-filter-label {
  font-weight: 600;
  margin-right: 4px;
}

.mh-gallery-quick-filters button {
  border-radius: 999px;
  padding: 5px 10px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  font-size: 0.8rem;
  cursor: pointer;
}

.mh-gallery-quick-filters button.active {
  background: #007fff;
  border-color: #007fff;
  color: #fff;
}

/* Generic ad block styling */

.mh-gallery-ad {
  border-radius: 8px;
  border: 1px dashed #cbd5e1;
  background: #f8fafc;
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  color: #64748b;
  text-align: center;
}

.mh-gallery-ad-hero {
  min-height: 90px;
}

/* ---------- FEATURED STRIP ---------- */

.mh-gallery-featured {
  position: relative;
  margin: 24px 0;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  background: #000; /* fallback if no image */
}

.mh-featured-image img {
  width: 100%;
  display: block;
  height: auto;
  min-height: 140px;
  object-fit: cover;
}

.mh-featured-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 16px 20px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
  color: #ffffff;
}

.mh-featured-kicker {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.9;
  margin-bottom: 4px;
}

.mh-featured-overlay h2 {
  font-size: 1.4rem;
  margin: 0 0 4px;
}

.mh-featured-cta {
  display: inline-block;
  margin-top: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #ffffff;
  text-decoration: underline;
}

/* Mid-page ad between featured and columns */

.mh-gallery-ad-mid {
  margin: 12px 0 24px;
}

/* ---------- THREE-COLUMN PREVIEW (Latest / Most viewed / Contributors) ---------- */

.mh-gallery-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 28px;
}

.mh-column-block {
  background: #ffffff;
  border-radius: 10px;
  padding: 14px 16px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}

.mh-column-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 10px;
}

.mh-column-header h3 {
  font-size: 1rem;
  margin: 0;
}

.mh-column-header a {
  font-size: 0.8rem;
  text-decoration: none;
  color: #007fff;
}

.mh-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mh-list li {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 8px;
}

.mh-list img {
  width: 64px;
  height: 48px;
  object-fit: cover;
  border-radius: 6px;
}

.mh-list-title {
  font-size: 0.9rem;
  font-weight: 600;
}

.mh-list-sub {
  font-size: 0.8rem;
  color: #64748b;
}

.mh-list-simple li img {
  display: none;
}

/* Column ad (inside third column) */

.mh-gallery-ad-column {
  margin-top: 10px;
  min-height: 140px;
}

/* ---------- GRID + SIDE AD ---------- */

.mh-gallery-grid-row {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}

.mh-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 14px;
}

/* Photo card */

.mh-photo-card {
  border-radius: 12px;
  overflow: hidden;
  background: #0b2a5a;
  color: #ffffff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.25);
}

.mh-photo-card a {
  display: block;
  color: inherit;
  text-decoration: none;
}

.mh-photo-thumb img {
  width: 100%;
  height: auto;
  display: block;
}

.mh-photo-meta {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
  padding: 10px 12px;
}

.mh-photo-vessel {
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.mh-photo-sub {
  font-size: 0.8rem;
  opacity: 0.9;
}

.mh-photo-stats {
  font-size: 0.75rem;
  text-align: right;
  opacity: 0.9;
}

.mh-photo-stats span {
  display: block;
}

/* Right-rail ad beside grid */

.mh-gallery-grid-ad {
  align-self: stretch;
}

.mh-gallery-ad-side {
  height: 100%;
  min-height: 260px;
}

/* ---------- FINAL CTA BANNER (MaritimeHub Blue) ---------- */

.mh-gallery-cta,
.mh-gallery-cta-banner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  border-radius: 12px;
  background: #007fff; /* brand blue */
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

.mh-gallery-cta h3,
.mh-gallery-cta-banner h3 {
  margin: 0 0 4px;
  font-size: 1.3rem;
}

.mh-gallery-cta p,
.mh-gallery-cta-banner p {
  margin: 0;
  font-size: 0.9rem;
  opacity: 0.95;
}

.mh-gallery-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* Shared buttons for gallery + articles CTA */

.mh-btn-primary,
.mh-btn-secondary,
.mh-cta-btn,
.mh-cta-btn-secondary {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}

/* Primary = white button with blue text */
.mh-btn-primary,
.mh-cta-btn {
  background: #ffffff;
  color: #007fff;
  border: none;
}

.mh-btn-primary:hover,
.mh-cta-btn:hover {
  background: #eaf5ff;
}

/* Secondary = outline white */
.mh-btn-secondary,
.mh-cta-btn-secondary {
  border: 2px solid rgba(255, 255, 255, 0.85);
  background: transparent;
  color: #ffffff;
}

.mh-btn-secondary:hover,
.mh-cta-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* ---------- Gallery responsive ---------- */

@media (max-width: 1024px) {
  .mh-gallery-hero {
    grid-template-columns: minmax(0, 1fr);
  }
  .mh-gallery-grid-row {
    grid-template-columns: minmax(0, 1fr);
  }
  .mh-gallery-ad-side {
    min-height: 180px;
  }
}

@media (max-width: 800px) {
  .mh-gallery-columns {
    grid-template-columns: minmax(0, 1fr);
  }
  .mh-gallery-cta,
  .mh-gallery-cta-banner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 600px) {
  .mh-gallery-home {
    padding-top: 24px;
  }
}

/* ============================================
   4. MaritimeHub – AIS Homepage
   ============================================ */

.mh-ais-page {
  background: #f5f7fb;
  padding: 32px 16px 48px;
}

.mh-ais-title {
  font-size: 2rem;
  margin-bottom: 4px;
}

.mh-ais-subtitle {
  margin: 0;
  font-size: 0.95rem;
  color: #555;
}

.mh-ais-hero {
  max-width: 1200px;
  margin: 0 auto 24px;
}

.mh-ais-hero-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 20px;
}

.mh-ais-search-wrap {
  flex: 1 1 340px;
}

.mh-ais-search-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: block;
  margin-bottom: 6px;
  color: #666;
}

.mh-ais-search-row {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
}

.mh-ais-search-row input {
  flex: 1;
  padding: 8px 10px;
  border-radius: 4px;
  border: 1px solid #cbd5e1;
  font-size: 0.95rem;
}

.mh-ais-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.mh-ais-chip {
  border: 1px solid #cbd5e1;
  background: #ffffff;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 0.8rem;
  cursor: pointer;
}

.mh-ais-chip-active {
  border-color: #007fff;
  background: #e0f0ff;
  color: #0052a3;
}

/* Buttons reused in AIS page */
.mh-ais-btn-primary,
.mh-ais-btn-secondary {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
}

.mh-ais-btn-primary {
  background: #007fff;
  color: #ffffff;
  border: 1px solid #007fff;
}

.mh-ais-btn-primary:hover {
  background: #0062cc;
}

.mh-ais-btn-secondary {
  background: #ffffff;
  color: #007fff;
  border: 1px solid #007fff;
}

.mh-ais-btn-secondary:hover {
  background: #e6f2ff;
}

/* Hero grid: map + station card */
.mh-ais-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 2.2fr) minmax(0, 1fr);
  gap: 20px;
}

.mh-ais-map-card,
.mh-ais-station-card,
.mh-ais-panel {
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04);
  padding: 16px 18px;
}

.mh-ais-card-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 10px;
  font-size: 0.9rem;
  font-weight: 600;
}

.mh-ais-card-meta {
  font-size: 0.8rem;
  font-weight: 400;
  color: #666;
}

/* Map placeholder */
#mh-ais-map-placeholder {
  border-radius: 6px;
  border: 1px dashed #cbd5e1;
  background: #f0f4ff;
  padding: 32px 20px;
  text-align: center;
  font-size: 0.9rem;
}

.mh-ais-map-note {
  margin-top: 6px;
  font-size: 0.8rem;
  color: #666;
}

/* Station card */
.mh-ais-station-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mh-ais-station-list li {
  padding: 10px 0;
  border-top: 1px solid #e2e8f0;
}

.mh-ais-station-list li:first-child {
  border-top: none;
}

.mh-ais-station-main {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.mh-ais-station-meta {
  font-size: 0.8rem;
  color: #666;
}

.mh-ais-station-stats {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: #444;
}

.mh-ais-station-footer {
  margin-top: 10px;
  font-size: 0.8rem;
}

.mh-ais-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.mh-ais-dot-online {
  background: #16a34a;
}

.mh-ais-dot-offline {
  background: #9ca3af;
}

/* KPI strip */
.mh-ais-kpis {
  max-width: 1200px;
  margin: 0 auto 24px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.mh-ais-kpi {
  background: #ffffff;
  border-radius: 8px;
  padding: 12px 14px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.03);
  font-size: 0.85rem;
}

.mh-ais-kpi-label {
  display: block;
  color: #666;
  margin-bottom: 4px;
}

.mh-ais-kpi-value {
  display: block;
  font-size: 1.3rem;
  font-weight: 700;
}

.mh-ais-kpi-sub {
  font-size: 0.8rem;
  color: #666;
}

/* Main grid: table + photo cards */
.mh-ais-main-grid {
  max-width: 1200px;
  margin: 0 auto 32px;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.3fr);
  gap: 20px;
}

.mh-ais-table-wrap {
  overflow-x: auto;
}

.mh-ais-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}

.mh-ais-table th,
.mh-ais-table td {
  padding: 8px 6px;
  border-bottom: 1px solid #e2e8f0;
  text-align: left;
}

.mh-ais-table th {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #555;
}

.mh-ais-table tr:hover {
  background: #f5f7fb;
}

.mh-ais-table a {
  color: #007fff;
  text-decoration: none;
}

.mh-ais-table a:hover {
  text-decoration: underline;
}

.mh-ais-pill-muted {
  font-size: 0.8rem;
  color: #6b7280;
}

/* Photo cards */
.mh-ais-photo-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
}

.mh-ais-photo-card {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 12px;
}

.mh-ais-photo-thumb img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  display: block;
}

.mh-ais-photo-body h3 {
  margin: 0 0 4px;
  font-size: 1rem;
}

.mh-ais-photo-meta {
  font-size: 0.8rem;
  color: #555;
  margin-bottom: 4px;
}

.mh-ais-photo-caption {
  font-size: 0.85rem;
  margin-bottom: 6px;
}

.mh-ais-photo-actions .mh-ais-link {
  font-size: 0.8rem;
  margin-right: 10px;
}

/* CTA strip */
.mh-ais-cta-strip {
  background: #007fff;
  color: #ffffff;
  padding: 24px 16px;
}

.mh-ais-cta-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.mh-ais-cta-inner h2 {
  margin: 0 0 4px;
}

.mh-ais-cta-inner p {
  margin: 0;
  font-size: 0.9rem;
}

/* FAQ */
.mh-ais-faq {
  max-width: 1200px;
  margin: 24px auto 0;
  font-size: 0.9rem;
}

.mh-ais-faq h2 {
  margin-bottom: 8px;
}

.mh-ais-faq ul {
  padding-left: 20px;
}

/* Links */
.mh-ais-link {
  color: #007fff;
  text-decoration: none;
}

.mh-ais-link:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 1024px) {
  .mh-ais-hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .mh-ais-kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .mh-ais-main-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 640px) {
  .mh-ais-title {
    font-size: 1.6rem;
  }
  .mh-ais-photo-card {
    grid-template-columns: minmax(0, 1fr);
  }
  .mh-ais-kpis {
    grid-template-columns: minmax(0, 1fr);
  }
  .mh-ais-hero-header {
    flex-direction: column;
  }
}
/* DEBUG – TEMP ONLY */
body {
  outline: 6px solid magenta !important;
}
/* ================================
   MaritimeHub Auto News Article UI
   ================================ */

.mh-article.mh-auto-news{
  max-width: 920px;
  margin: 0 auto;
  padding: 18px 16px;
}

.mh-article .mh-section{
  background:#fff;
  border:1px solid rgba(15,23,42,.08);
  border-radius:14px;
  padding:16px 16px;
  margin:0 0 14px;
  box-shadow:0 10px 24px rgba(15,23,42,.06);
}

.mh-article .mh-section h2{
  margin:0 0 8px;
  font-size:1.25rem;
  font-weight:800;
}

.mh-article .mh-section p{
  margin:0 0 10px;
  color:#334155;
  line-height:1.6;
  font-size:1rem;
}

.mh-article .mh-key-takeaways{
  margin-top:12px;
  padding:12px 12px;
  border-radius:12px;
  background:rgba(0,127,255,.08);
  border:1px solid rgba(0,127,255,.25);
}

.mh-article .mh-key-takeaways h3{
  margin:0 0 8px;
  font-size:.95rem;
  font-weight:900;
}

.mh-article ul, .mh-article ol{
  margin:0 0 0 18px;
  color:#334155;
}

.mh-vessel-wrap{
  margin-top:12px;
}

.mh-vessel-details{
  width:100%;
  border-collapse:collapse;
  margin-top:8px;
  font-size:.95rem;
}

.mh-vessel-details th,
.mh-vessel-details td{
  border:1px solid rgba(15,23,42,.08);
  padding:8px 10px;
  text-align:left;
}

.mh-vessel-details th{
  width:180px;
  background:rgba(2,6,23,.03);
  font-weight:800;
}

.mh-article .mh-article-footer{
  margin-top:12px;
  display:flex;
  justify-content:flex-start;
}

.mh-source-btn{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:10px 14px;
  border-radius:999px;
  background:#007fff;
  color:#fff !important;
  text-decoration:none;
  font-weight:800;
  font-size:.9rem;
}

.mh-source-btn:hover{ filter:brightness(1.05); }

@media(max-width:680px){
  .mh-article.mh-auto-news{ padding:12px 10px; }
  .mh-article .mh-section{ padding:14px 12px; }
}
