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: 0;
  font-family: Verdana, sans-serif;
}

/* Import busy state - prevents interaction without disabling form inputs */
/* This is crucial: disabled inputs are NOT submitted by browsers, causing null server values */
.import-busy form {
  pointer-events: none;
  opacity: 0.6;
}
/* ============================================
   WHKN Theme Styles
   ============================================ */

:root {
  --whkn-teal: #177E89;
  --whkn-dark-gray: #5B616B;
  --whkn-navy: #084C61;
  --whkn-red: #9D0020;
}

/* ===== BANNER / HEADER ===== */
.whkn-banner {
  position: relative;
  background-image: url('/img/banner.jpg');
  background-size: cover;
  background-position: center;
  min-height: 130px;
  padding: 1.5rem 0;
}

.whkn-banner-content {
  position: relative;
  z-index: 1;
}

.whkn-brand-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: #000;
}

.whkn-brand-link:hover {
  text-decoration: none;
  color: #000;
}

.whkn-logo {
  height: 70px;
  margin-right: 15px;
}

.whkn-site-title {
  font-size: 1.625rem;
  font-weight: bold;
  letter-spacing: -0.52px;
  line-height: 1.2;
}

@media (max-width: 768px) {
  .whkn-site-title {
    font-size: 1.25rem;
  }
}

.whkn-header-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.whkn-user-name {
  color: var(--whkn-dark-gray);
  font-weight: 600;
  font-size: 0.95rem;
}

.whkn-about-link {
  font-size: 1.125rem;
  font-weight: bold;
  color: var(--whkn-teal);
  text-decoration: none;
}

.whkn-about-link:hover {
  color: var(--whkn-navy);
  text-decoration: underline;
}

.whkn-auth-link,
.whkn-user-link {
  font-size: 0.95rem;
  color: var(--whkn-teal);
  text-decoration: none;
  background: none;
  border: none;
}

.whkn-auth-link:hover,
.whkn-user-link:hover {
  color: var(--whkn-navy);
  text-decoration: underline;
}

/* ===== SECONDARY NAVIGATION ===== */
.whkn-secondary-nav {
  background-color: #f8f9fa;
  border-bottom: 1px solid #dee2e6;
  padding: 0;
}

.whkn-secondary-nav .navbar-toggler {
  border-color: var(--whkn-teal);
}

.whkn-secondary-nav .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23177E89' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.whkn-secondary-nav .nav-link {
  color: var(--whkn-dark-gray);
  font-weight: 500;
  padding: 1rem 1.25rem;
  transition: all 0.2s ease;
}

.whkn-secondary-nav .nav-link:hover,
.whkn-secondary-nav .nav-link:focus {
  color: var(--whkn-teal);
  background-color: rgba(23, 126, 137, 0.05);
}

.whkn-secondary-nav .dropdown-menu {
  border-color: var(--whkn-teal);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.whkn-secondary-nav .dropdown-item {
  color: var(--whkn-dark-gray);
  padding: 0.5rem 1.25rem;
  transition: all 0.2s ease;
}

.whkn-secondary-nav .dropdown-item:hover,
.whkn-secondary-nav .dropdown-item:focus {
  color: var(--whkn-navy);
  background-color: rgba(23, 126, 137, 0.1);
}

@media (max-width: 991.98px) {
  .whkn-secondary-nav .nav-link {
    padding: 0.75rem 1rem;
  }
  
  .whkn-secondary-nav .dropdown-menu {
    border: none;
    box-shadow: none;
    background-color: rgba(0, 0, 0, 0.02);
  }
  
  .whkn-secondary-nav .dropdown-item {
    padding-left: 2rem;
  }
}

/* ===== SEARCH STRIP ===== */
.whkn-search-strip {
  background-color: var(--whkn-teal);
  padding: 1.5rem 0;
}

.whkn-search-wrapper {
  display: flex;
  gap: 0.5rem;
}

.whkn-search-input {
  flex: 1;
  font-size: 1.25rem;
  padding: 0.75rem 1rem;
}

.whkn-search-btn {
  background-color: #fff;
  color: var(--whkn-teal);
  border: 1px solid #fff;
  padding: 0.75rem 1.5rem;
}

.whkn-search-btn:hover {
  background-color: var(--whkn-navy);
  color: #fff;
  border-color: var(--whkn-navy);
}

/* ===== HOME PAGE ===== */
.whkn-home-hero {
  position: relative;
  min-height: 400px;
}

.whkn-home-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('/img/banner2.png');
  background-size: cover;
  background-position: center;
  opacity: 0.2;
  z-index: -1;
}

.whkn-big-red {
  color: var(--whkn-red);
  font-weight: bold;
  font-size: 2rem;
  letter-spacing: -0.33px;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.whkn-main-text {
  font-size: 1.25rem;
  letter-spacing: -0.2px;
  line-height: 1.65;
}

.whkn-welcome-content p {
  font-size: 1.25rem;
  line-height: 1.65;
}

.whkn-callout {
  border: 5px solid #BFC2C4;
  border-radius: 20px;
  padding: 1.5rem;
  background-color: rgba(24, 126, 137, 0.13);
}

.whkn-callout-title {
  color: var(--whkn-teal);
  font-size: 1.125rem;
  font-weight: bold;
  letter-spacing: -0.17px;
  line-height: 1.5;
  margin: 0;
}

.whkn-looking {
  font-size: 1.2rem;
  font-weight: bold;
  letter-spacing: -0.19px;
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

.btn-primary {
  background-color: var(--whkn-teal);
  border-color: var(--whkn-teal);
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
  background-color: var(--whkn-navy);
  border-color: var(--whkn-navy);
}

/* ===== TECHNICAL AREAS ===== */
.whkn-tech-areas {
  background-color: var(--whkn-dark-gray);
  color: #fff;
}

.whkn-tech-areas h2 {
  color: #fff;
  font-size: 2.25rem;
  font-weight: bold;
  letter-spacing: 0;
  line-height: 1.2;
}

.whkn-tech-link {
  color: #fff;
  text-decoration: none;
  display: block;
}

.whkn-tech-link:hover {
  text-decoration: none;
}

.whkn-tech-tile {
  background-color: rgba(255, 255, 255, 0.08);
  border: 2px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 2rem 1rem;
  height: 100%;
  transition: all 0.3s ease;
  cursor: pointer;
  min-height: 175px;
}

.whkn-tech-tile:hover {
  background-color: rgba(23, 126, 137, 0.3);
  border-color: var(--whkn-teal);
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.whkn-tech-tile svg {
  transition: all 0.3s ease;
}

.whkn-tech-tile:hover svg {
  color: var(--whkn-teal);
  transform: scale(1.15);
}

.whkn-tech-title {
    margin-top:5px;
  font-size: 1.125rem;
  line-height: 1.3;
  font-weight: 500;
}

/* ===== FOOTER ===== */
.whkn-footer {
  margin-top: auto;
}

.whkn-footer-statement {
  background-color: var(--whkn-teal);
  color: #fff;
  padding: 1.25rem 0;
}

.whkn-footer-statement p {
  margin: 0;
  font-size: 0.95rem;
}

.whkn-footer-content {
  background-color: var(--whkn-dark-gray);
  color: #fff;
}

.whkn-footer-custom {
  padding: 2rem 0;
}

.whkn-footer-logo {
  max-width: 150px;
  height: auto;
}

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

.whkn-footer-links a:hover {
  text-decoration: underline;
}

.whkn-footer-copyright {
  font-size: 0.9rem;
}

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

.whkn-footer-copyright a:hover {
  text-decoration: underline;
}

/* ===== TYPOGRAPHY ===== */
h1 {
  color: var(--whkn-navy);
}

h2 {
  color: var(--whkn-navy);
  font-size: 1.5rem;
}

h3 {
  color: var(--whkn-navy);
}

/* ===== CONTENT PAGES ===== */
.container main {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

/* Ensure forms and validation still work properly */
.field-validation-error {
  color: #dc3545;
}

.validation-summary-errors {
  color: #dc3545;
}

.input-validation-error {
  border-color: #dc3545;
}

/* ===== RESOURCES TABLE ===== */
.whkn-resources-table {
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.whkn-resources-table table {
  margin-bottom: 0;
}

.whkn-resources-table thead th {
  background-color: var(--whkn-dark-gray);
  color: #fff;
  font-weight: 600;
  border-bottom: 2px solid var(--whkn-teal);
  padding: 1rem 0.75rem;
  vertical-align: middle;
}

.whkn-resources-table thead th a {
  color: #fff;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.whkn-resources-table thead th a:hover {
  color: var(--whkn-teal);
}

.whkn-resources-table tbody tr {
  border-bottom: 1px solid #dee2e6;
}

.whkn-resources-table tbody tr:hover {
  background-color: rgba(23, 126, 137, 0.05);
}

.whkn-resources-table tbody td {
  padding: 0.75rem;
  vertical-align: middle;
}

.whkn-resources-table tbody td a {
  color: var(--whkn-teal);
  text-decoration: none;
}

.whkn-resources-table tbody td a:hover {
  text-decoration: underline;
  color: var(--whkn-navy);
}

/* Main navigation dropdown styling */
.whkn-main-nav {
  background-color: #f8f9fa;
  border-bottom: 2px solid var(--whkn-teal);
  padding: 0;
}

.whkn-main-nav .nav {
  gap: 0;
}

.whkn-main-nav .nav-link {
  color: var(--whkn-dark-gray);
  font-weight: 600;
  padding: 0.75rem 1.25rem;
  transition: all 0.2s ease;
}

.whkn-main-nav .nav-link:hover {
  color: var(--whkn-teal);
  background-color: rgba(23, 126, 137, 0.1);
}

.whkn-main-nav .dropdown-menu {
  border: 1px solid var(--whkn-teal);
  border-radius: 0 0 8px 8px;
  margin-top: 0;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.whkn-main-nav .dropdown-item {
  padding: 0.5rem 1.25rem;
  color: var(--whkn-dark-gray);
  transition: all 0.2s ease;
}

.whkn-main-nav .dropdown-item:hover {
  background-color: var(--whkn-teal);
  color: #fff;
}

.mc-callout {
    border: solid;
    border-width: 5px;
    border-color: #BFC2C4;
    padding: 8px;
    border-radius: 20px;
    background-color: rgba(24, 126, 137, 0.13);
}

    .mc-callout a {
        color: #187E89 !important;
        text-decoration: none !important;
    }

    .mc-callout ul {
        margin-left: 20px;
    }
.center-mc-callout {
    display: flex;
    justify-content: center; /* Horizontally centers the content */
    align-items: center; /* Vertically centers the content */
    height: 75px; /* Optional: sets the height to 100% of the viewport */
}

    .center-mc-callout h2 {
        margin: 0;
        color: #187E89 !important;
        font-size: 17px;
        font-weight: bold;
        letter-spacing: -0.17px;
        line-height: 26px;
    }

.looking {
    font-size: 19px;
    font-weight: bold;
    letter-spacing: -0.19px;
    line-height: 23px;
    font-weight: bold;
}
