.home-greeting {
  --greeting-accent: #0b5f9f;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 72px;
  padding-block: 12px;
  border-bottom: 1px solid var(--line);
  color: var(--greeting-accent);
}
body:has([data-home-greeting]) .site-header .brand-area {
  min-height: 104px;
  padding-block: 18px;
}
body:has([data-home-greeting]) .site-header .brand img[src*="kvhs-tr-logo.svg"] {
  width: 320px;
  max-width: 100%;
}
.home-news-showcase .news-rail-item:focus-within {
  background: color-mix(in srgb, var(--brand-blue) 6%, var(--panel));
}
@media (hover: hover) and (pointer: fine) {
  .home-news-showcase .news-rail-item:hover {
    background: color-mix(in srgb, var(--brand-blue) 5%, var(--panel));
  }
}
@media (max-width: 760px) {
  body:has([data-home-greeting]) .site-header .brand-area {
    min-height: 84px;
    padding-block: 14px;
  }
  body:has([data-home-greeting]) .site-header .brand img[src*="kvhs-tr-logo.svg"] {
    width: 190px;
  }
}
body:has([data-home-greeting]) .site-header .brand-date-inner {
  justify-content: center;
  text-align: center;
  flex-wrap: wrap;
  gap: 8px 12px;
  min-height: 40px;
  padding-inline-start: 0;
}
body:has([data-home-greeting]) .site-header .brand-date-inner #current-date { margin: 0; }
.home-greeting__datetime { display: none; }
@media (min-width: 901px) {
  .home-greeting { justify-content: center; }
  body:has([data-home-greeting]) .site-header .brand-date-strip { display: none; }
  .home-greeting__datetime {
    display: flex;
    flex: 0 0 auto;
    min-width: 0;
    align-items: center;
    gap: 12px;
    min-height: 24px;
    margin-right: 8px;
    padding-right: 24px;
    border-right: 1px solid var(--line);
    color: var(--greeting-accent);
    font-weight: 600;
    font-size: 13px;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
  }
  .home-greeting__datetime .current-clock {
    min-height: 32px;
    padding: 6px 12px;
    border: 1px solid #173e63;
    border-radius: 6px;
    background: #0c2e52;
    color: #ffffff;
    font-size: inherit;
    font-weight: 700;
  }
}
body:has([data-home-greeting]) .home-news-showcase { padding-top: 8px; }
body:has([data-home-greeting]) .home-news-showcase-head h2 { margin-block: 0; }
body:has([data-home-greeting]) .home-news-showcase-head {
  min-height: 0;
  padding-block: 18px 20px;
  gap: 20px;
}
body:has([data-home-greeting]) .home-news-showcase-head h2 {
  font-size: 32px;
  line-height: 1.3;
  text-wrap: balance;
}
body:has([data-home-greeting]) .home-news-showcase-head > a {
  border-radius: 4px;
  padding: 11px 16px;
  white-space: nowrap;
}
@media (max-width: 600px) {
  body:has([data-home-greeting]) .home-news-showcase-head {
    padding-block: 20px;
    gap: 14px;
  }
  body:has([data-home-greeting]) .home-news-showcase-head h2 { font-size: 24px; }
}
.home-greeting__icon {
  display: block;
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  color: var(--brand-blue, var(--teal-dark));
  transform-origin: center;
  animation: greeting-icon-drift 4s ease-in-out 3;
}
.home-greeting__copy {
  display: flex;
  align-items: baseline;
  gap: 14px;
  min-width: 0;
  margin: 0;
  line-height: 1.5;
  letter-spacing: 0;
}
.home-greeting__title { color: var(--greeting-accent); font-size: 16px; font-weight: 650; }
.home-greeting__message {
  color: var(--greeting-accent);
  color: color-mix(in srgb, var(--greeting-accent) 85%, var(--ink));
  font-size: 13px;
  font-weight: 500;
}
@supports (background-clip: text) {
  .home-greeting__message {
    background: linear-gradient(100deg, #0b5f9f, #087a80);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }
  html[data-theme="dark"] .home-greeting__message {
    background-image: linear-gradient(100deg, #83caff, #62ded0);
  }
}
@keyframes greeting-icon-drift {
  0%, 100% { transform: translateY(0) rotate(0); }
  50% { transform: translateY(-2px) rotate(7deg); }
}
@media (prefers-reduced-motion: reduce) {
  .home-greeting__icon { animation: none; }
}
@media (forced-colors: active) {
  .home-greeting__message { background: none; -webkit-text-fill-color: currentColor; }
}
html[data-theme="dark"] .home-greeting { --greeting-accent: #83caff; }
html[data-theme="dark"] .home-greeting__icon { color: var(--greeting-accent); }
html[data-theme="dark"] .home-news-showcase .news-rail-item .news-topic { color: var(--blue); }
@media (max-width: 600px) {
  .home-greeting { gap: 9px; min-height: 76px; }
  .home-greeting__copy { display: grid; gap: 2px; }
  .home-greeting__title { font-size: 15px; }
  .home-greeting__message { font-size: 12px; }
}
