html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
  color: #14213d;
  background: #fbfcfe;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}

.public-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 32px;
  align-items: end;
  padding: 56px;
  margin: 12px 0 36px;
  border-radius: 8px;
  background: linear-gradient(135deg, #103b4a, #245b52 48%, #d98943);
  color: #fff;
}

.public-hero h1,
.article-hero h1 {
  font-size: clamp(2rem, 4vw, 4.5rem);
  line-height: 1;
  letter-spacing: 0;
  margin-bottom: 18px;
}

.public-hero p,
.article-hero p {
  max-width: 760px;
  font-size: 1.1rem;
}

.eyebrow {
  text-transform: uppercase;
  font-size: .78rem;
  letter-spacing: .08em;
  font-weight: 700;
  margin-bottom: 10px;
  color: #d98943;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.contact-panel,
.contact-box,
.lead-form,
.related-panel {
  background: #fff;
  color: #14213d;
  border: 1px solid #dce4ea;
  border-radius: 8px;
  padding: 22px;
  box-shadow: 0 16px 35px rgba(20, 33, 61, .08);
}

.contact-panel {
  display: grid;
  gap: 6px;
}

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

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}

.blog-card {
  overflow: hidden;
  border: 1px solid #dce4ea;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 35px rgba(20, 33, 61, .07);
}

.blog-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.blog-card-body {
  padding: 22px;
}

.blog-card h3 {
  font-size: 1.35rem;
  margin: 12px 0 10px;
}

.city-pill,
.tag-row a {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border-radius: 999px;
  padding: 4px 10px;
  background: #eef5f3;
  color: #245b52;
  text-decoration: none;
  font-size: .86rem;
  font-weight: 600;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0;
}

.read-link {
  font-weight: 700;
  color: #d96f21;
  text-decoration: none;
}

.article-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 34px;
  align-items: center;
  margin: 16px 0 34px;
  padding: 42px;
  border-radius: 8px;
  background: #edf5f4;
}

.article-hero img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 34px;
  align-items: start;
}

.article-content {
  background: #fff;
  border: 1px solid #dce4ea;
  border-radius: 8px;
  padding: 34px;
}

.article-content h2 {
  margin-top: 28px;
  font-size: 1.45rem;
}

.article-content p,
.article-content li {
  font-size: 1.03rem;
  line-height: 1.75;
}

.lead-copy {
  font-size: 1.16rem !important;
  color: #38505b;
}

.enquiry-panel {
  position: sticky;
  top: 18px;
  display: grid;
  gap: 18px;
}

.spam-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.related-list {
  display: grid;
  gap: 10px;
}

.related-list a {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: #14213d;
  text-decoration: none;
  border-bottom: 1px solid #eef1f5;
  padding-bottom: 10px;
}

.related-list span {
  color: #6c7b86;
  white-space: nowrap;
}

.floating-actions {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 1020;
  display: grid;
  gap: 12px;
}

.floating-action {
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  box-shadow: 0 14px 30px rgba(20, 33, 61, .22);
  border: 2px solid rgba(255, 255, 255, .9);
}

.floating-action:hover {
  color: #fff;
  transform: translateY(-1px);
}

.whatsapp-action {
  background: #1fa855;
}

.enquiry-action {
  background: #d96f21;
  font-size: 1.35rem;
}

.admin-hero {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  margin: 10px 0 24px;
  padding: 34px;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, #14213d, #245b52 62%, #d96f21);
}

.admin-hero h1 {
  font-size: 2.4rem;
  margin: 0 0 8px;
}

.admin-hero p {
  margin: 0;
  max-width: 760px;
  color: rgba(255, 255, 255, .86);
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.metric-card,
.admin-panel {
  border: 1px solid #dce4ea;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 32px rgba(20, 33, 61, .07);
}

.metric-card {
  padding: 20px;
}

.metric-card span {
  display: block;
  color: #637380;
  font-weight: 700;
  font-size: .86rem;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.metric-card strong {
  display: block;
  margin: 8px 0 4px;
  font-size: 2rem;
  line-height: 1;
  color: #14213d;
}

.metric-card small {
  color: #6d7d89;
}

.admin-panel {
  padding: 22px;
  margin-bottom: 24px;
}

.panel-heading {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: end;
  margin-bottom: 12px;
}

.panel-heading h2 {
  font-size: 1.25rem;
  margin: 0;
}

.report-table thead th {
  color: #637380;
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.report-table tbody tr:hover {
  background: #f6faf9;
}

.admin-two-column {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.activity-list {
  display: grid;
  gap: 10px;
}

.activity-item {
  display: grid;
  gap: 2px;
  padding: 12px;
  border: 1px solid #eef1f5;
  border-radius: 8px;
  background: #fbfcfe;
}

.activity-item strong {
  color: #245b52;
}

.activity-item span {
  color: #14213d;
}

.activity-item small {
  color: #6d7d89;
}

@media (max-width: 900px) {
  .public-hero,
  .article-hero,
  .article-layout {
    grid-template-columns: 1fr;
  }

  .public-hero,
  .article-hero {
    padding: 28px;
  }

  .enquiry-panel {
    position: static;
  }

  .floating-actions {
    right: 14px;
    bottom: 14px;
  }

  .admin-hero,
  .admin-two-column {
    display: grid;
    grid-template-columns: 1fr;
  }

  .admin-hero {
    padding: 24px;
  }
}
