/* ── Province Page Layout ─────────────────────────────── */

.province-hero {
  position: relative;
  background: var(--navy);
  padding: 80px 15px 64px;
  text-align: center;
  overflow: hidden;
}

.province-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14, 28, 43, 0.7) 0%, rgba(14, 28, 43, 0.85) 100%);
  z-index: 1;
}

.province-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.province-hero .container {
  position: relative;
  z-index: 2;
}

.province-hero .section-label {
  color: var(--green);
}

.province-hero h1 {
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 800;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
  line-height: 1.2;
}

.province-hero .hero-sub {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.85);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ── Province Content Sections ───────────────────────── */

.province-content {
  padding: 56px 15px;
  background: var(--white);
}

.province-content-inner {
  max-width: 800px;
  margin: 0 auto;
}

.province-content h2 {
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 16px;
  line-height: 1.3;
}

.province-content p {
  font-size: 16px;
  color: var(--text);
  line-height: 1.75;
  margin-bottom: 20px;
}

.province-content p:last-child {
  margin-bottom: 0;
}

/* ── How It Works Steps ──────────────────────────────── */

.province-steps {
  padding: 64px 15px;
  background: var(--light-bg);
}

.province-steps-header {
  text-align: center;
  margin-bottom: 48px;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 960px;
  margin: 0 auto;
}

.step-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--green);
  color: var(--white);
  font-size: 20px;
  font-weight: 700;
  border-radius: 50%;
  margin-bottom: 16px;
}

.step-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}

.step-card p {
  font-size: 15px;
  color: var(--text);
  line-height: 1.65;
}

/* ── In-Person Options / Police Services ─────────────── */

.province-police {
  padding: 56px 15px;
  background: var(--white);
}

.province-police-inner {
  max-width: 800px;
  margin: 0 auto;
}

.province-police h2 {
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 24px;
  line-height: 1.3;
}

.police-card {
  background: var(--light-bg);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 16px;
  border-left: 4px solid var(--green);
}

.police-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.police-card p {
  font-size: 15px;
  color: var(--text);
  line-height: 1.65;
  margin-bottom: 0;
}

.police-card a {
  color: var(--cyan);
  text-decoration: underline;
}

/* ── Why Choose Online ───────────────────────────────── */

.province-online {
  padding: 56px 15px;
  background: var(--light-bg);
}

.province-online-inner {
  max-width: 800px;
  margin: 0 auto;
}

.province-online h2 {
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 16px;
}

.province-online p {
  font-size: 16px;
  color: var(--text);
  line-height: 1.75;
  margin-bottom: 20px;
}

.online-benefits {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 24px;
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: var(--white);
  padding: 20px;
  border-radius: var(--radius);
}

.benefit-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background: var(--green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.benefit-icon svg {
  width: 18px;
  height: 18px;
  fill: var(--white);
}

.benefit-item h4 {
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 4px;
}

.benefit-item p {
  font-size: 14px;
  color: var(--text);
  line-height: 1.55;
  margin-bottom: 0;
}

/* ── FAQ Section ─────────────────────────────────────── */

.province-faq {
  padding: 64px 15px;
  background: var(--white);
}

.province-faq-inner {
  max-width: 800px;
  margin: 0 auto;
}

.province-faq-header {
  text-align: center;
  margin-bottom: 40px;
}

.faq-item {
  border-bottom: 1px solid #e5e5e5;
  padding: 20px 0;
}

.faq-item:first-child {
  border-top: 1px solid #e5e5e5;
}

.faq-item h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.faq-item h3::after {
  content: "+";
  font-size: 20px;
  font-weight: 400;
  color: var(--green);
  flex-shrink: 0;
  transition: transform 0.2s;
}

.faq-item.open h3::after {
  content: "\2212";
}

.faq-answer {
  font-size: 16px;
  color: var(--text);
  line-height: 1.75;
  display: none;
  padding-bottom: 4px;
}

.faq-item.open .faq-answer {
  display: block;
}

/* ── Related Articles ─────────────────────────────────── */

.related-articles {
  padding: 64px 15px;
  background: var(--light-bg);
}

.related-articles-header {
  text-align: center;
  margin-bottom: 40px;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.related-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.2s, transform 0.15s;
  display: flex;
  flex-direction: column;
}

.related-card:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  transform: translateY(-3px);
}

.related-card-img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
}

.related-card-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.related-card-tag {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 8px;
}

.related-card-body h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.35;
  margin-bottom: 8px;
}

.related-card-body p {
  font-size: 14px;
  color: var(--text);
  line-height: 1.55;
  flex: 1;
}

.related-card-link {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  color: var(--cyan);
  margin-top: 12px;
}

.related-card-link:hover {
  text-decoration: underline;
}

/* ── Compact Footer ───────────────────────────────────── */

.footer-compact .footer-grid {
  grid-template-columns: 1fr 1fr 1fr;
  gap: 32px;
}

.footer-brand-strip {
  text-align: center;
  padding-bottom: 32px;
  margin-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand-strip .footer-logo {
  display: inline-block;
  margin-bottom: 10px;
}

.footer-brand-strip .footer-logo img {
  height: 40px;
  width: auto;
}

.footer-brand-strip .footer-address {
  font-size: 12px;
  line-height: 1.6;
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.6);
}

.footer-brand-strip .footer-address p {
  display: inline;
}

.footer-brand-strip .footer-address p + p::before {
  content: " · ";
  color: rgba(255, 255, 255, 0.3);
}

.footer-brand-strip .footer-brand-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  max-width: none !important;
}

.footer-brand-strip .footer-brand-logos img {
  height: 36px;
  width: auto;
}

.footer-compact .footer-col {
  text-align: center;
}

.footer-compact .social-links {
  justify-content: center;
}

.footer-compact .footer-desc {
  max-width: 280px;
  margin-left: auto;
  margin-right: auto;
}

/* ── Freshness Signal ───────────────────────────────── */

.page-updated {
  font-size: 12px;
  color: var(--text);
  opacity: 0.7;
  margin-bottom: 16px;
}

/* ── Comparison Table ──────────────────────────────────── */

.province-police table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 28px;
  font-size: 15px;
}

.province-police th {
  background: var(--navy);
  color: var(--white);
  padding: 10px 14px;
  text-align: left;
  font-weight: 600;
}

.province-police td {
  padding: 10px 14px;
}

.province-police tr:nth-child(even) {
  background: var(--light-bg);
}

/* ── FAQ Answer Links ──────────────────────────────────── */

.faq-answer a {
  color: var(--cyan);
  text-decoration: underline;
}

/* ── Responsive ──────────────────────────────────────── */

@media (max-width: 768px) {
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .online-benefits {
    grid-template-columns: 1fr;
  }

  .related-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .related-card-img {
    height: 130px;
  }

  .province-hero {
    padding: 56px 15px 48px;
  }

  .footer-compact .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .footer-compact .footer-grid > :last-child {
    grid-column: 1 / -1;
    text-align: center;
  }

  .footer-compact .footer-grid > :last-child .social-links {
    justify-content: center;
  }

  .footer-brand-strip .footer-brand-logos img {
    height: 30px;
  }
}

@media (max-width: 480px) {
  .province-hero h1 {
    letter-spacing: 1px;
  }

  .related-grid {
    grid-template-columns: 1fr;
  }

  .footer-compact .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-compact .social-links {
    justify-content: center;
  }

  .footer-brand-strip .footer-address p {
    display: block;
  }

  .footer-brand-strip .footer-address p + p::before {
    content: none;
  }

  .footer-brand-strip .footer-brand-logos {
    flex-wrap: wrap;
  }
}
