:root {
  --tfa-native-teal-900: #0F4F46;
  --tfa-native-teal-700: #1A7A6D;
  --tfa-native-teal-600: #2D9F8F;
  --tfa-native-navy: #0C1B2A;
  --tfa-native-muted: #4A5568;
  --tfa-native-soft: #F4FAF8;
  --tfa-native-line: #DDEBE7;
  --tfa-native-cta: #2563EB;
  --tfa-native-cta-hover: #1D4FD7;
  --tfa-native-radius: 8px;
}

body.tfa-native-page #main-header,
body.tfa-native-page .et-l--header,
body.tfa-native-page .et-l--header .et_pb_section {
  background: rgba(15, 79, 70, 0.96) !important;
  box-shadow: 0 12px 30px rgba(12, 27, 42, 0.18);
}

body.tfa-native-page .et-l--header {
  backdrop-filter: blur(14px);
}

body.tfa-native-page .et-l--header .et_pb_row,
body.tfa-native-page .et-l--header .et_pb_column,
body.tfa-native-page .et-l--header .et_pb_module {
  background: transparent !important;
}

body.tfa-native-page .et-l--header .et-menu a,
body.tfa-native-page .et-l--header .et_pb_menu__menu a,
body.tfa-native-page .et-l--header .et_pb_text a {
  color: #fff !important;
  text-shadow: none;
}

body.tfa-native-page .et-l--header .et_mobile_menu {
  background: rgba(15, 79, 70, 0.98) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.tfa-native-page #main-content .container:before {
  display: none;
}

.tfa-native-page #left-area {
  width: 100%;
  padding-right: 0;
}

.tfa-native-page #sidebar {
  display: none;
}

.tfa-native-page #main-content .container {
  width: 100%;
  max-width: none;
  padding: 0;
}

.tfa-native-page .entry-title {
  display: none;
}

.tfa-native-page .et_pb_post,
.tfa-native-page .page .entry-content {
  margin-bottom: 0;
  padding-bottom: 0;
}

.tfa-native {
  color: var(--tfa-native-navy);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.6;
}

.tfa-native * {
  box-sizing: border-box;
}

.tfa-native a {
  color: var(--tfa-native-cta);
}

.tfa-native-hero {
  background:
    linear-gradient(135deg, rgba(15, 79, 70, 0.96), rgba(26, 122, 109, 0.91), rgba(45, 159, 143, 0.82)),
    linear-gradient(135deg, var(--tfa-native-teal-900), var(--tfa-native-teal-700), var(--tfa-native-teal-600));
  background-position: center;
  background-size: cover;
  color: #fff;
  min-height: clamp(520px, 66vh, 720px);
  padding: clamp(120px, 13vw, 180px) 24px clamp(64px, 8vw, 104px);
}

body.page-id-3250 .tfa-native-hero,
body.page-id-3255 .tfa-native-hero {
  background-image:
    linear-gradient(90deg, rgba(15, 79, 70, 0.98) 0%, rgba(15, 79, 70, 0.88) 43%, rgba(15, 79, 70, 0.62) 72%, rgba(15, 79, 70, 0.52) 100%),
    url("/wp-content/uploads/2026/07/fire-warden-hero-2026-07-08.png");
  background-position: center right;
}

body.page-id-3256 .tfa-native-hero {
  background-image:
    linear-gradient(90deg, rgba(12, 27, 42, 0.98) 0%, rgba(15, 79, 70, 0.9) 44%, rgba(15, 79, 70, 0.62) 74%, rgba(12, 27, 42, 0.45) 100%),
    url("/wp-content/uploads/2026/07/fire-extinguisher-hero-2026-07-08.png");
  background-position: center right;
}

body.page-id-3252 .tfa-native-hero {
  background-image:
    linear-gradient(90deg, rgba(15, 79, 70, 0.98) 0%, rgba(15, 79, 70, 0.87) 42%, rgba(15, 79, 70, 0.6) 72%, rgba(15, 79, 70, 0.44) 100%),
    url("/wp-content/uploads/2026/07/about-training-hero-2026-07-08.png");
  background-position: center right;
}

.tfa-native-hero > .wp-block-group__inner-container,
.tfa-native-section > .wp-block-group__inner-container,
.tfa-native-cta > .wp-block-group__inner-container {
  max-width: 1120px;
  margin: 0 auto;
}

.tfa-native-eyebrow {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin: 0 0 12px;
  text-transform: uppercase;
}

.tfa-native-hero-title {
  color: #fff;
  font-size: clamp(2.1rem, 5vw, 4.1rem);
  font-weight: 800;
  line-height: 1.06;
  margin: 0;
  max-width: 850px;
}

.tfa-native-hero-copy {
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.04rem, 2vw, 1.28rem);
  margin: 20px 0 0;
  max-width: 720px;
}

.tfa-native-buttons {
  gap: 12px;
  margin-top: 28px;
}

.tfa-native .wp-block-button__link {
  border-radius: var(--tfa-native-radius);
  font-weight: 800;
  padding: 13px 20px;
  text-decoration: none;
}

.tfa-native-button-primary .wp-block-button__link {
  background: var(--tfa-native-cta);
  color: #fff;
}

.tfa-native-button-primary .wp-block-button__link:hover {
  background: var(--tfa-native-cta-hover);
}

.tfa-native-button-secondary .wp-block-button__link {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.44);
  color: #fff;
}

.tfa-native-section {
  padding: clamp(48px, 7vw, 78px) 24px;
}

.tfa-native-section:nth-child(odd) {
  background: #fff;
}

.tfa-native-section:nth-child(even) {
  background: var(--tfa-native-soft);
}

.tfa-native-section-title {
  color: var(--tfa-native-navy);
  font-size: clamp(1.7rem, 3vw, 2.45rem);
  font-weight: 800;
  line-height: 1.18;
  margin: 0 0 22px;
}

.tfa-native-card-grid {
  gap: 18px;
}

.tfa-native-card {
  background: #fff;
  border: 1px solid var(--tfa-native-line);
  border-radius: var(--tfa-native-radius);
  box-shadow: 0 10px 30px rgba(15, 79, 70, 0.08);
  overflow: hidden;
  padding: 74px 22px 22px;
  position: relative;
}

.tfa-native-card::before {
  background-color: var(--tfa-native-teal-700);
  background-position: center;
  background-repeat: no-repeat;
  background-size: 24px 24px;
  border-radius: 50%;
  box-shadow: 0 10px 24px rgba(15, 79, 70, 0.18);
  content: "";
  height: 44px;
  left: 22px;
  position: absolute;
  top: 22px;
  width: 44px;
}

.tfa-native-card:nth-child(3n + 1)::before {
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10Z'/%3E%3Cpath d='m9 12 2 2 4-5'/%3E%3C/svg%3E");
}

.tfa-native-card:nth-child(3n + 2)::before {
  background-color: var(--tfa-native-cta);
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8 14a4 4 0 0 0 8 0c0-4-4-5-2-10-5 2-7 6-6 10Z'/%3E%3Cpath d='M12 18v3'/%3E%3C/svg%3E");
}

.tfa-native-card:nth-child(3n)::before {
  background-color: var(--tfa-native-navy);
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M9 11h6'/%3E%3Cpath d='M9 15h4'/%3E%3Cpath d='M7 3h10l2 3v15H5V6l2-3Z'/%3E%3Cpath d='M7 3v4h10V3'/%3E%3C/svg%3E");
}

.tfa-native-card h3 {
  color: var(--tfa-native-teal-900);
  font-size: 1.15rem;
  font-weight: 800;
  margin: 0 0 8px;
}

.tfa-native-card p,
.tfa-native-section p {
  color: var(--tfa-native-muted);
}

.tfa-native-booking {
  background: #fff;
}

.tfa-native-booking-widget {
  margin-top: 24px;
}

.tfa-native .wp-block-details {
  background: #fff;
  border: 1px solid var(--tfa-native-line);
  border-radius: var(--tfa-native-radius);
  margin: 12px 0;
  padding: 18px 20px;
}

.tfa-native .wp-block-details summary {
  color: var(--tfa-native-navy);
  cursor: pointer;
  font-weight: 800;
}

.tfa-native .wp-block-details p {
  margin: 12px 0 0;
}

.tfa-native-cta {
  background: var(--tfa-native-navy);
  color: #fff;
  padding: clamp(44px, 6vw, 70px) 24px;
}

.tfa-native-cta-title {
  color: #fff;
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  font-weight: 800;
  margin: 0 0 12px;
}

.tfa-native-cta p {
  color: rgba(255, 255, 255, 0.84);
  max-width: 720px;
}

.editor-styles-wrapper .tfa-native-hero,
.editor-styles-wrapper .tfa-native-section,
.editor-styles-wrapper .tfa-native-cta {
  border-radius: 4px;
}

.editor-styles-wrapper .tfa-native-hero > .wp-block-group__inner-container,
.editor-styles-wrapper .tfa-native-section > .wp-block-group__inner-container,
.editor-styles-wrapper .tfa-native-cta > .wp-block-group__inner-container {
  max-width: 1120px;
}

@media (max-width: 720px) {
  .tfa-native-hero {
    min-height: auto;
    padding-top: 118px;
  }

  .tfa-native-buttons .wp-block-button,
  .tfa-native-buttons .wp-block-button__link {
    width: 100%;
  }

  .tfa-native-card {
    padding: 18px;
  }
}
