/* Government of Canada / GCWeb-inspired styles */

:root {
  --gc-dark-blue: #26374a;
  --gc-link: #2b4380;
  --gc-link-hover: #0535d2;
  --gc-red: #d3080c;
  --gc-info-blue: #31708f;
  --gc-border: #ddd;
  --gc-table-header: #f5f5f5;
  --gc-text: #333;
  --gc-footer-bg: #26374a;
  --gc-max-width: 1140px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Noto Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: var(--gc-text);
  line-height: 1.6;
  background: #fff;
}

a {
  color: var(--gc-link);
  text-decoration: underline;
}

a:hover,
a:focus {
  color: var(--gc-link-hover);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 9999;
  padding: 0.5rem 1rem;
  background: #fff;
  color: var(--gc-dark-blue);
  font-weight: 700;
}

.skip-link:focus {
  left: 0;
}

/* Header */
.gc-header {
  background: #fff;
}

.gc-header__utility {
  border-bottom: 3px solid var(--gc-dark-blue);
}

.gc-header__inner {
  max-width: var(--gc-max-width);
  margin: 0 auto;
  padding: 0.75rem 15px 0.65rem;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.gc-header__logo {
  display: block;
  flex-shrink: 0;
  line-height: 0;
}

.gc-header__logo img {
  display: block;
  height: 28px;
  width: auto;
  max-width: 301px;
}

.gc-header__tools {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.65rem;
  margin-top: 0.15rem;
}

.gc-header__lang {
  font-size: 0.875rem;
  line-height: 1.2;
  text-decoration: underline;
}

.gc-search {
  display: flex;
  width: 280px;
  max-width: 100%;
}

.gc-search input {
  flex: 1;
  min-width: 0;
  height: 38px;
  padding: 0.4rem 0.75rem;
  border: 1px solid #ccc;
  border-right: none;
  font-size: 1rem;
  font-family: inherit;
  color: #333;
  background: #fff;
}

.gc-search input::placeholder {
  color: #767676;
}

.gc-search button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 38px;
  flex-shrink: 0;
  background: var(--gc-dark-blue);
  color: #fff;
  border: 1px solid var(--gc-dark-blue);
  padding: 0;
  cursor: pointer;
}

.gc-search button:hover,
.gc-search button:focus {
  background: #1c2a3a;
  border-color: #1c2a3a;
}

.gc-search__icon {
  display: block;
}

/* Schedule callback form */
.gc-form {
  max-width: 760px;
  margin-top: 1rem;
}

.gc-form__fieldset {
  margin: 0 0 1.75rem;
  padding: 0;
  border: none;
}

.gc-form__fieldset legend {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gc-dark-blue);
  margin-bottom: 1rem;
  padding: 0;
}

.gc-form__group {
  margin-bottom: 1rem;
}

.gc-form__group label {
  display: block;
  margin-bottom: 0.35rem;
  font-weight: 700;
}

.gc-form__required {
  font-weight: 400;
  font-size: 0.875rem;
}

.gc-form__optional {
  font-weight: 400;
  font-size: 0.875rem;
  color: #666;
}

.gc-form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.gc-form input,
.gc-form select,
.gc-form textarea {
  width: 100%;
  padding: 0.55rem 0.75rem;
  border: 1px solid #ccc;
  font-size: 1rem;
  font-family: inherit;
  color: #333;
  background: #fff;
}

.gc-form textarea {
  resize: vertical;
  min-height: 110px;
}

.gc-form input:focus,
.gc-form select:focus,
.gc-form textarea:focus {
  outline: 2px solid var(--gc-dark-blue);
  outline-offset: 1px;
}

.gc-form__actions {
  margin-top: 0.5rem;
}

.gc-form__submit {
  background: var(--gc-dark-blue);
  color: #fff;
  border: 1px solid var(--gc-dark-blue);
  padding: 0.7rem 1.5rem;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
}

.gc-form__submit:hover,
.gc-form__submit:focus {
  background: #1c2a3a;
}

.gc-form__submit:disabled {
  opacity: 0.7;
  cursor: wait;
}

.gc-form-message {
  margin: 1rem 0 0;
  padding: 0.85rem 1rem;
  border-left: 4px solid var(--gc-red);
  background: #fdf3f3;
}

.gc-form-message--error {
  border-left-color: var(--gc-red);
  background: #fdf3f3;
}

.gc-schedule-confirmation {
  max-width: 760px;
  margin-top: 1.5rem;
  padding: 1.5rem;
  border: 1px solid var(--gc-border);
  background: #f3f9f1;
  border-left: 4px solid #278400;
}

.gc-schedule-confirmation h3 {
  margin: 0 0 0.75rem;
  font-size: 1.375rem;
  color: var(--gc-dark-blue);
}

.gc-schedule-confirmation > p {
  margin: 0 0 1rem;
}

.gc-schedule-summary {
  background: #fff;
  border: 1px solid var(--gc-border);
  padding: 1rem 1.25rem;
  margin-bottom: 1rem;
}

.gc-schedule-summary p {
  margin: 0 0 0.5rem;
}

.gc-schedule-summary p:last-child {
  margin-bottom: 0;
}

/* Nav bar */
.gc-nav {
  background: var(--gc-dark-blue);
}

.gc-nav__inner {
  max-width: var(--gc-max-width);
  margin: 0 auto;
  padding: 0 15px;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  min-height: 52px;
}

.gc-nav__menu {
  background: none;
  border: none;
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  padding: 0.9rem 0;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  letter-spacing: 0.02em;
}

.gc-nav__menu::after {
  content: "";
  border: 5px solid transparent;
  border-top-color: #fff;
  margin-top: 5px;
  transition: transform 0.2s ease;
}

.gc-nav__menu.is-open::after {
  transform: rotate(180deg);
  margin-top: -1px;
}

.gc-nav__signin {
  display: flex;
  align-items: center;
  color: #fff;
  padding: 0.9rem 0;
  font-weight: 400;
  text-decoration: none;
  font-size: 1rem;
}

.gc-nav__signin:hover,
.gc-nav__signin:focus {
  color: #fff;
  text-decoration: underline;
}

/* Mega menu */
.gc-mega-menu {
  background: #fff;
  border-top: 1px solid #ccc;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.12);
}

.gc-mega-menu[hidden] {
  display: none;
}

.gc-mega-menu__inner {
  max-width: var(--gc-max-width);
  margin: 0 auto;
  display: flex;
  min-height: 420px;
}

.gc-mega-menu__sidebar {
  list-style: none;
  margin: 0;
  padding: 0;
  width: 280px;
  flex-shrink: 0;
  background: #444;
}

.gc-mega-menu__sidebar > li {
  border-bottom: 1px solid #666;
}

.gc-mega-menu__tab {
  display: block;
  width: 100%;
  padding: 0.85rem 1rem;
  border: none;
  background: #444;
  color: #fff;
  font: inherit;
  font-size: 0.9375rem;
  text-align: left;
  cursor: pointer;
  line-height: 1.35;
}

.gc-mega-menu__tab:hover,
.gc-mega-menu__tab:focus {
  background: #555;
  outline: none;
}

.gc-mega-menu__tab.is-active {
  background: #fff;
  color: #333;
  border: 1px solid #000;
  font-weight: 700;
  position: relative;
  z-index: 1;
}

.gc-mega-menu__content {
  flex: 1;
  padding: 1.5rem 2rem 2rem;
  background: #fff;
}

.gc-mega-menu__title {
  margin: 0 0 1.25rem;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--gc-dark-blue);
  line-height: 1.2;
}

.gc-mega-menu__columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.gc-mega-menu__links,
.gc-mega-menu__featured-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.gc-mega-menu__links li,
.gc-mega-menu__featured-links li {
  margin-bottom: 0.65rem;
  line-height: 1.4;
}

.gc-mega-menu__links a,
.gc-mega-menu__featured-links a {
  font-size: 1rem;
}

.gc-mega-menu__featured-title {
  margin: 0 0 0.75rem;
  font-size: 1rem;
  font-weight: 700;
  color: #333;
}

.gc-mega-menu__featured-links {
  list-style: disc;
  padding-left: 1.25rem;
}

.gc-mega-menu__featured-links li {
  margin-bottom: 0.5rem;
}

body.gc-menu-open {
  overflow: hidden;
}

@media (max-width: 900px) {
  .gc-mega-menu__inner {
    flex-direction: column;
    min-height: auto;
  }

  .gc-mega-menu__sidebar {
    width: 100%;
    display: flex;
    overflow-x: auto;
    border-bottom: 1px solid #666;
  }

  .gc-mega-menu__sidebar > li {
    border-bottom: none;
    border-right: 1px solid #666;
    flex-shrink: 0;
  }

  .gc-mega-menu__tab {
    white-space: nowrap;
    padding: 0.75rem 1rem;
  }

  .gc-mega-menu__tab.is-active {
    border: 1px solid #000;
  }

  .gc-mega-menu__columns {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  body.gc-menu-open {
    overflow: auto;
  }
}

/* Breadcrumbs */
.gc-breadcrumb {
  max-width: var(--gc-max-width);
  margin: 0 auto;
  padding: 0.85rem 15px 0;
  background: #fff;
}

.gc-breadcrumb ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem;
  font-size: 0.875rem;
  line-height: 1.5;
}

.gc-breadcrumb li + li::before {
  content: "›";
  margin-right: 0.35rem;
  color: #333;
  font-weight: 700;
  text-decoration: none;
}

.gc-breadcrumb a {
  text-decoration: underline;
}

/* Main content */
.gc-main {
  max-width: var(--gc-max-width);
  margin: 0 auto;
  padding: 1rem 15px 3rem;
}

.gc-page-title {
  font-size: 2.25rem;
  font-weight: 700;
  margin: 0 0 1.5rem;
  line-height: 1.2;
  position: relative;
  padding-bottom: 0.5rem;
}

.gc-page-title::after {
  content: "";
  display: block;
  width: 4.5rem;
  height: 4px;
  background: var(--gc-red);
  margin-top: 0.35rem;
}

.gc-related-links {
  margin-bottom: 2rem;
  font-size: 1rem;
}

.gc-related-links ul {
  margin: 0.25rem 0 0;
  padding-left: 1.25rem;
}

/* Info callout */
.gc-callout {
  border-left: 4px solid var(--gc-info-blue);
  padding: 1rem 1rem 1rem 3.5rem;
  margin-bottom: 2rem;
  position: relative;
  background: #fff;
}

.gc-callout__icon {
  position: absolute;
  left: 1rem;
  top: 1rem;
  width: 1.75rem;
  height: 1.75rem;
  background: var(--gc-info-blue);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-style: italic;
  font-size: 1rem;
}

.gc-callout h2 {
  font-size: 1.375rem;
  margin: 0 0 0.5rem;
}

.gc-callout p {
  margin: 0;
}

/* Intro */
.gc-intro {
  margin-bottom: 1.5rem;
  font-size: 1.0625rem;
}

.gc-phone-search {
  margin-bottom: 2rem;
  padding: 1.25rem 1.5rem;
  background: #f8f8f8;
  border: 1px solid var(--gc-border);
}

.gc-phone-search h2 {
  margin: 0 0 0.5rem;
  font-size: 1.375rem;
  color: var(--gc-dark-blue);
}

.gc-phone-search p {
  margin: 0 0 1rem;
}

.gc-phone-search__form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  max-width: 560px;
}

.gc-phone-search__form input {
  flex: 1;
  min-width: 220px;
  height: 42px;
  padding: 0.5rem 0.75rem;
  border: 1px solid #ccc;
  font-size: 1rem;
  font-family: inherit;
}

.gc-phone-search__form button {
  height: 42px;
  padding: 0 1.25rem;
  background: var(--gc-dark-blue);
  color: #fff;
  border: 1px solid var(--gc-dark-blue);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
}

.gc-phone-search__form button:hover,
.gc-phone-search__form button:focus {
  background: #1c2a3a;
}

.gc-phone-search__status {
  min-height: 1.5rem;
  margin: 0.75rem 0 0;
  font-size: 0.9375rem;
  color: #555;
}

.gc-phone-cell {
  min-width: 220px;
}

.gc-phone-link {
  display: inline-block;
  font-weight: 600;
  white-space: nowrap;
}

.gc-phone-note {
  margin: 0.35rem 0 0;
  font-size: 0.875rem;
  line-height: 1.5;
  color: #555;
}

.gc-phone-note a {
  font-weight: 400;
}

.gc-callout--formats {
  margin-bottom: 2rem;
}

.gc-callout--formats p:last-child {
  margin-bottom: 0;
}

/* Table */
.gc-table-wrapper {
  overflow-x: auto;
  margin-bottom: 2rem;
}

.gc-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1rem;
}

.gc-table th,
.gc-table td {
  border: 1px solid var(--gc-border);
  padding: 0.75rem 1rem;
  text-align: left;
  vertical-align: top;
}

.gc-table thead th {
  background: var(--gc-table-header);
  font-weight: 700;
}

.gc-table tbody tr:nth-child(even) {
  background: #fafafa;
}

.gc-table a[href^="tel:"] {
  white-space: nowrap;
  font-weight: 600;
}

/* FAQ section */
.gc-faq {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--gc-border);
}

.gc-faq h2 {
  font-size: 1.5rem;
  margin: 0 0 1rem;
}

.gc-faq details {
  border: 1px solid var(--gc-border);
  margin-bottom: 0.5rem;
  padding: 0.75rem 1rem;
}

.gc-faq summary {
  font-weight: 700;
  cursor: pointer;
}

.gc-faq details[open] summary {
  margin-bottom: 0.5rem;
}

/* Feedback */
.gc-feedback {
  background: #f5f5f5;
  border: 1px solid var(--gc-border);
  padding: 1.25rem 1.5rem;
  margin-bottom: 1rem;
}

.gc-feedback p {
  margin: 0 0 0.75rem;
  font-weight: 700;
}

.gc-feedback__buttons {
  display: flex;
  gap: 0.75rem;
}

.gc-feedback__buttons button {
  background: var(--gc-dark-blue);
  color: #fff;
  border: none;
  padding: 0.5rem 1.5rem;
  font-weight: 700;
  cursor: pointer;
  font-size: 1rem;
}

.gc-feedback__buttons button:hover,
.gc-feedback__buttons button:focus {
  background: #1c2a3a;
}

.gc-date-modified {
  font-size: 0.875rem;
  color: #666;
  margin-bottom: 2rem;
}

/* Footer */
.gc-footer {
  background: var(--gc-footer-bg);
  color: #fff;
  padding: 2rem 0;
}

.gc-footer a {
  color: #fff;
  text-decoration: none;
}

.gc-footer a:hover,
.gc-footer a:focus {
  text-decoration: underline;
}

.gc-footer__inner {
  max-width: var(--gc-max-width);
  margin: 0 auto;
  padding: 0 15px;
}

.gc-footer__section {
  margin-bottom: 2rem;
}

.gc-footer__section h2,
.gc-footer__section h3 {
  font-size: 1.125rem;
  margin: 0 0 1rem;
  font-weight: 700;
}

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

.gc-footer__links li {
  margin-bottom: 0.5rem;
}

.gc-footer__columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

/* Verify page */
.gc-on-this-page {
  margin-bottom: 2rem;
}

.gc-on-this-page h2 {
  font-size: 1.125rem;
  margin: 0 0 0.5rem;
}

.gc-on-this-page ul {
  margin: 0;
  padding-left: 1.25rem;
}

.gc-on-this-page li {
  margin-bottom: 0.35rem;
}

.gc-section {
  margin-bottom: 2.5rem;
}

.gc-section h2 {
  font-size: 1.5rem;
  margin: 0 0 1rem;
  color: var(--gc-dark-blue);
}

.gc-section h3 {
  font-size: 1.25rem;
  margin: 1.5rem 0 1rem;
}

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

.gc-steps__item {
  display: grid;
  grid-template-columns: 4rem 1fr;
  gap: 1rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--gc-border);
}

.gc-steps__item:last-child {
  border-bottom: none;
}

.gc-steps__number {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  color: #bbb;
  border-right: 3px solid #e5e5e5;
  padding-right: 1rem;
  text-align: right;
}

.gc-steps__content h4 {
  margin: 0 0 0.35rem;
  font-size: 1.0625rem;
}

.gc-steps__content p {
  margin: 0;
}

.gc-verify-tool {
  border: 1px solid var(--gc-border);
  margin: 1.5rem 0;
  max-width: 720px;
}

.gc-verify-tool__header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: #335075;
  color: #fff;
  padding: 0.85rem 1rem;
}

.gc-verify-tool__header h3 {
  margin: 0;
  font-size: 1.125rem;
  color: #fff;
}

.gc-verify-tool__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border: 2px solid rgba(255, 255, 255, 0.85);
  border-radius: 50%;
}

.gc-verify-tool__body {
  padding: 1.25rem 1rem 1rem;
  background: #fff;
}

.gc-verify-tool__body > p {
  margin: 0 0 1rem;
}

.gc-verify-tool__form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.gc-verify-tool__form input {
  flex: 1;
  min-width: 220px;
  height: 42px;
  padding: 0.5rem 0.75rem;
  border: 1px solid #ccc;
  font-size: 1rem;
  font-family: inherit;
}

.gc-verify-tool__form button {
  height: 42px;
  padding: 0 1.25rem;
  background: var(--gc-dark-blue);
  color: #fff;
  border: 1px solid var(--gc-dark-blue);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
}

.gc-verify-tool__form button:hover,
.gc-verify-tool__form button:focus {
  background: #1c2a3a;
}

.gc-verify-result {
  margin-top: 1rem;
  padding: 1rem;
  border-left: 4px solid var(--gc-info-blue);
  background: #f8f8f8;
}

.gc-verify-result p {
  margin: 0;
}

.gc-verify-result p + p {
  margin-top: 0.75rem;
}

.gc-verify-result--success {
  border-left-color: #278400;
  background: #f3f9f1;
}

.gc-verify-result--warning {
  border-left-color: #ee7100;
  background: #fff8f0;
}

.gc-verify-result--error {
  border-left-color: var(--gc-red);
  background: #fdf3f3;
}

@media (max-width: 768px) {
  .gc-steps__item {
    grid-template-columns: 3rem 1fr;
    gap: 0.75rem;
  }

  .gc-steps__number {
    font-size: 1.5rem;
    padding-right: 0.75rem;
  }

  .gc-form__grid {
    grid-template-columns: 1fr;
  }

  .gc-header__inner {
    flex-direction: column;
    align-items: stretch;
    padding-top: 0.9rem;
  }

  .gc-header__tools {
    align-items: flex-end;
    width: 100%;
  }

  .gc-search {
    width: 100%;
    max-width: 320px;
  }

  .gc-page-title {
    font-size: 1.75rem;
  }

  .gc-footer__columns {
    grid-template-columns: 1fr;
  }

  .gc-table th,
  .gc-table td {
    padding: 0.5rem;
    font-size: 0.9rem;
  }
}

/* 404 error page */
.gc-error {
  max-width: 42rem;
  padding: 2rem 0 3rem;
}

.gc-error__code {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--gc-accent, #26374a);
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1;
}

.gc-error__title {
  margin: 0 0 1rem;
  font-size: 1.75rem;
  font-weight: 700;
}

.gc-error__message {
  margin: 0 0 1.5rem;
  font-size: 1.125rem;
  line-height: 1.6;
}

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

.gc-error__links li + li {
  margin-top: 0.5rem;
}

.gc-error__links a {
  font-weight: 700;
}
