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

body {
  margin: 0;
  font-family: "Open Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  color: #111;
  background-color: #fff;
}

img,
video {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}

/* A11y */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ========== Layout container ========== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* ========== Header ========== */
.site-header {
  border-bottom: 0.6px solid #e0e0e0;
  background-color: #001f3f; /* navy blue */
  position: sticky;
  top: 0;
  z-index: 10;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
}

/* Branding */
.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.brand-mark {
  height: 32px;
  width: auto;
  margin-right: 5px;
  margin-bottom: 5px;
}

.brand-name {
  font-weight: 700;
  font-size: 1.6rem;
  color: #ffffff;
  font-family: "Libre Baskerville", "Times New Roman", Times, serif;
}

.brand-name-2 {
  font-weight: 700;
  font-size: 1.6rem;
  color: #ffffff;
  font-family: "Libre Baskerville", "Times New Roman", Times, serif;
  text-align: right;
}

/* Navigation */
.site-nav { }

.nav-list {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}

.nav-list a {
  font-size: 0.95rem;
  font-weight: 500;
  color: #ffffff;
}

/* Hamburger button */
.nav-toggle {
  display: none; /* hidden on desktop */
  position: relative;
  width: 40px;
  height: 40px;
  border: 0.6px solid #ffffff;
  border-radius: 4px;
  background: #001f3f;
  cursor: pointer;
  padding: 0;
}

.nav-toggle-bar {
  position: absolute;
  left: 9px;
  right: 9px;
  height: 2px;
  background-color: #ffffff;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle-bar:nth-child(1) { top: 12px; }
.nav-toggle-bar:nth-child(2) { top: 19px; }
.nav-toggle-bar:nth-child(3) { top: 26px; }

/* ========== Hero (16:9) ========== */
.hero {
  width: 100%;
  background-color: #000;
  position: relative;
  z-index: 1;
  border-top: 5px solid #000000;
  border-bottom: 5px solid #000000;
}

.hero-2 {
  width: 100%;
  background-color: #000;
  position: relative;
  z-index: 1;
  border-top: 0px solid #000000;
  border-bottom: 0px solid #000000;
}

.hero-media {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 */
  overflow: hidden;
}

.hero-media > img,
.hero-media > video,
.hero-media > .hero-slider,
.hero-media > iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Subtitle bar below hero 1.3 font-family: "Libre Baskerville", "Times New Roman", Times, serif; */
.hero-subtitle {
  background-color: #001f3f;
  color: #fff;
  text-align: center;
  padding: .2rem 0rem .5rem;
  margin-bottom: 1rem;
  font-size: 1.1rem;
  font-weight: 600;
  border-top: 0.6px solid #e0e0e0;
}

.hero-subtitle-2 {
  background-color: #001f3f;
  color: #ffffff;
  text-align: center;
  padding: 1px 0px;
  font-family: "Libre Baskerville", "Times New Roman", Times, serif;
  font-size: 1.3rem;
  font-weight: 600;
  border-top: 0.6px solid #e0e0e0;
}

.hero-subtitle-3 {
  background-color: #001f3f;
  color: #ffffff;
  text-align: center;
  padding: 0rem 1rem;
  font-size: .9rem;
  font-weight: 600;
  border-top: 0px solid #e0e0e0;
}

.hero-subtitle-4 {
  background-color: #001f3f;
  color: #ffffff;
  text-align: center;
  padding: 0.1rem 1rem;
  font-size: 1.1rem;
  font-weight: 600;
  border-top: 0.6px solid #e0e0e0;
}

.hero-subtitle-5 {
  background-color: #f5f5f5;
  color: #ffffff;
  text-align: center;
  padding: 0.05rem 1rem;
  font-size: .8rem;
  font-weight: 600;
  border-top: 0.6px solid #e0e0e0;
  border-bottom: 0.6px solid #001f3f;
}

/* Full-height hero under sticky header */
.hero--mt-eaton {
  position: relative;
  border-top: 0;
  border-bottom: 0;
}

/* Hero back to 16:9 size, using your original pattern */
.hero--mt-eaton .hero-media {
  position: relative;
  width: 100%;
  padding-top: 75%;   /* 4:3 aspect ratio (3 / 4 * 100) */
  height: auto;
  overflow: hidden;
}

.hero--mt-eaton .hero-media > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Overlay content stays the same, now over a 16:9 hero */
.hero-overlay-content {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-start;   /* content near top of hero */
  padding-top: 0px;         /* ~10px below top of hero area */
  padding-bottom: 0;
  pointer-events: none;
}

.hero-overlay-content .container {
  pointer-events: auto;
}

/* reuse your title styles, just force white on the hero */
.hero-title {
  color: #ffffff;
  margin-bottom: 0.1rem;
}

.hero-subtitle-text {
  color: #f5f5f5;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ===== Mobile-first header with hamburger ===== */

.header-mobile {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  column-gap: 0.4rem;
  min-height: 60px;
}

/* logo left */
.header-logo {
  display: inline-flex;
  align-items: center;
  margin-right: 0.1rem;
}

.header-logo .brand-mark {
  height: 30px;
  width: auto;
  margin: 0;
}

/* centered brand stack */
.header-center {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  padding: .7rem 0.1rem; /* minimal, to give max width */
}

.header-title {
  font-family: "Libre Baskerville", "Times New Roman", Times, serif;
  font-weight: 700;
  font-size: 1.5rem;
  line-height: 1.15;
  color: #ffffff;
}

.header-subtitle {
  font-family: "Open Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #f5f5f5;
}

/* right: hamburger (reuse your existing .nav-toggle styles) */
.nav-toggle {
  display: inline-block;
  width: 38px;
  height: 38px;
  border-radius: 4px;
  border: 0.6px solid #ffffff;
  background: #001f3f;
  position: relative;
  cursor: pointer;
  padding: 0;
}

/* keep your bar positions */
.nav-toggle-bar {
  position: absolute;
  left: 8px;
  right: 8px;
  height: 2px;
  background-color: #ffffff;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle-bar:nth-child(1) { top: 11px; }
.nav-toggle-bar:nth-child(2) { top: 18px; }
.nav-toggle-bar:nth-child(3) { top: 25px; }

/* mobile nav behavior – always mobile, no desktop override yet */
.site-nav {
  background-color: #001f3f;
  border-top: 0.6px solid #e0e0e0;
  border-bottom: 0.6px solid #e0e0e0;
  transform: translateY(-110%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.site-nav--open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0.5rem 1rem 0.75rem;
  display: flex;
  flex-direction: column;
}

.nav-list li {
  border-top: 0.6px solid #ffffff;
  padding: 0.5rem 0;
}

.nav-list li:last-child {
  border-bottom: 0;
}

.nav-list a {
  font-size: 0.9rem;
  font-weight: 500;
  color: #ffffff;
}

/* Optional tighter tweaks for very narrow phones */
@media (max-width: 360px) {
  .header-title {
    font-size: 1.1rem;
  }
  .header-subtitle {
    font-size: 0.65rem;
    letter-spacing: 0.08em;
  }
  .header-logo .brand-mark {
    height: 26px;
  }
}


/* ========== Main ========== */
.site-main {
  padding: 0 0 1rem;
}

h1 {
  font-family: "Libre Baskerville", "Times New Roman", Times, serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: #000000;
  margin: .4rem 0 0.1rem;
}

.h1-calendar {
  font-family: "Libre Baskerville", "Times New Roman", Times, serif;
  font-size: 1.5rem;
  font-weight: 600;
  text-align: center;
  color: #000;
  margin: 1rem 0 0;
}

.h1-2 {
  font-size: 1.5rem;
  font-weight: 600;
  text-align: center;
  color: #001f3f;
  margin: 1.3rem 0 0;
}

.h1-22 {
  font-size: 1.5rem;
  font-weight: 700;
  text-align: center;
  color: #001f3f;
  margin: .5rem 0 0;
}

.h1-3 {
  font-family: "Libre Baskerville", "Times New Roman", Times, serif;
  font-size: 1.3rem;
  font-weight: 600;
  text-align: center;
  color: #f5f5f5;
  margin: .5rem 0 0;
}

.title-4 {
  font-family: "Libre Baskerville", "Times New Roman", Times, serif;
  font-size: 1.5rem;
  font-weight: 700;
  text-align: left;
  color: #001f3f;
  margin: .5rem 0px 0;
}

.title-5 {
  font-size: 1rem;
  font-weight: 700;
  text-align: left;
  color: #001f3f;
  margin: 0rem 0px 0;
}

.title-6 {
  font-size: 1.1rem;
  font-weight: 600;
  text-align: center;
  color: #fff;
  margin: .5rem 0px 0;
}

.title-7 {
  font-size: .8rem;
  font-weight: 600;
  text-align: center;
  color: #fff;
  margin: 0rem 0px 2px;
}

.special {
  color: #FF0000;
  font-weight: 700;
}

.subtitle {
  font-size: 1rem;
  font-weight: bold;
  margin: 0px 0px 0px;
  text-transform: uppercase;
  color: #001f3f;
}

.subtitle-2 {
  font-size: .9rem;
  font-weight: bold;
  text-align: center;
  text-transform: uppercase;
  color: #001f3f;
  background: #F0F0F0;
  outline: .6px solid #001f3f;
  padding: 2px 4px;
  border-radius: 3px;
}

p {
  margin-top: 0;
}

.intro {
  margin: 10px 0px 25px;
}

.chevron {
  align-items: center;         /* vertically centers the glyph */
  font-size: 1rem;
  font-weight: 400;
}

.midddot {
  align-items: center;         /* vertically centers the glyph */
  font-size: 1.1rem;
  font-weight: 700;
}

/* ========== Gallery ========== */

.image { 
  border-radius: 5px;
  max-width: 100%;
  vertical-align: top;
}

.hr-gallery {
  border: .6px solid #505050; /* #c8c8c8 */
  margin: 0px 5px 15px;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
}

.caption {
  color: #000; /* image caption #505050*/
  font-size: .85rem;
  font-style: italic;
  font-weight: 600;
  margin: 5px 15px 5px 15px;
  text-align: center;
}

.gallery-hr {
  border: .6px solid #505050; /* image gallery */
  margin-left: 5px;
  margin-right: 5px;
  margin-bottom: 15px;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
}

/* ========== Feature blocks (image left, text right) ========== */

.feature-section {
  margin: 1.5rem 0;
}

/* each stacked block */
.feature-block {
  margin: 0;                        /* stacked with dividers handling spacing */
  border: 0;
  border-radius: 0;
  overflow: hidden;
  background-color: #ffffff;
  box-shadow: 0 1px 0 rgba(0,0,0,0.02);
}

/* heading line above each row */
.feature-heading {
  margin: 0 0 2px;
  padding: 0;
  font-size: 1.2rem;
  font-weight: 650;
  background-color: #ffffff;        /* you chose white here */
  color: #000000;
}

/* image + text row */
.feature-inner {
  display: flex;
  flex-direction: row;
  gap: 8px;
  padding: 0.2rem 0 0.2rem;
}

.feature-inner-2 {
  display: flex;
  flex-direction: row;
  gap: 8px;
  padding: 0.2rem 0 0.2rem;
  align-items: flex-start; /* top-align image and text */
}

/* 4:3 image container */
.feature-media {
  flex: 0 0 40%;
  max-width: 40%;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border-radius: 4px;
  background-color: #000;
}

.feature-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* text area */
.feature-text {
  flex: 1;
  font-size: 0.98rem;
}

.feature-text p {
  margin: 0;
}

/* Divider between blocks (you already have this) */
.divider-5 {
  border: 0;
  border-top: .8px solid #c8c8c8;  /* same as thumbrow */
  margin: 8px 0px 8px;           /* adjust spacing as needed */
}

/* ========== CARD 1: BASE CONTENT (IMAGE + HEADING + TEXT) ========== */

.card-content-1 {
  background: #fff;
  border: 0.8px solid #c8c8c8;
  border-radius: 6px;
  margin: 0px 0px 25px;
  overflow: hidden;
  box-shadow: 0 1px 0 rgba(0,0,0,0.02);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
  position: relative;
}

.card-content-1-media {
  aspect-ratio: 16 / 9;
  background: #000;
  overflow: hidden;
}

.card-content-1-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.card-content-1-body {
  padding: 0.9rem 1rem 1rem;
}

.card-content-1-title {
  margin: 0 0 0.35rem;
  font-family: "Libre Baskerville", "Times New Roman", Times, serif;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.2;
}

.card-content-1-text {
  margin: 0;
  font-size: 0.98rem;
  color: #111;
}

/* Optional: center text for this card only */
.card-content-1-body--center {
  text-align: center;
}

.card-content-1-body--center .card-content-1-title {
  margin-bottom: 0.4rem;
}

.card-content-1-body--center .card-content-1-text {
  margin-top: 0;
}

.card-content-1:hover {
  box-shadow: 0 8px 22px rgba(0, 31, 63, 0.14);
  transform: translateY(-1px);
}

/* Monthly calendar card – stand-alone */
.month-card {
  background: #ffffff;
  border: 2px solid #001f3f;
  border-radius: 6px;
  margin: 0 0 25px;
  overflow: hidden;
  box-shadow: 0 1px 0 rgba(0,0,0,0.02);
}

/* image */
.month-card-media {
  aspect-ratio: 16 / 9;
  background: #000;
  overflow: hidden;
}

.month-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* month/year band */
.month-card-header {
  background: #001f3f;          /* change per month if desired */
  color: #ffffff;
  padding: 0.5rem 1rem;
}

.month-card-title {
  margin: 0;
  font-family: "Libre Baskerville", "Times New Roman", Times, serif;
  font-size: 1.1rem;
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* calendar list area */
.month-card-body {
  background: #ffffff;
  padding: 0.75rem 1rem 1rem;
}

.month-card-list {
  list-style: none;
  background: #FFF;
  margin: 0;
  padding: 5px;
}

/* one line: day + entry */
.month-card-item {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  padding: 0.35rem 0;
  border: 0px solid #001f3f;
}

.month-card-item:last-child {
  border-bottom: 0;
}

/* day label */
.month-card-day {
  flex: 0 0 5rem;
  font-weight: 700;
  font-size: 1.1rem;
  background: #F0F0F0;
  width: 100%;
  margin-bottom: 5px;
  padding-left: 2px;
  text-transform: uppercase;
  color: #001f3f;
}

/* event text */
.month-card-entry {
  flex: 1;
  font-size: 0.95rem;
  font-weight: 500;
  margin-left: 2px;
}

/* optional mobile stacking */
@media (max-width: 480px) {
  .month-card-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.15rem;
  }

  .month-card-day {
    flex: 0 0 auto;
  }
}

/* Month body v2 – no conflict with .month-card-* */
.month2-body {
  background: #ffffff;
  padding: 0rem 0rem 1rem;
  font-family: "Open Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.month2-list {
  list-style: none;
  background: #ffffff;
  margin: 0px;
  padding: 4px;
}

/* One block per date; multiple entries stacked under the day */
.month2-item {
  display: flex;
  flex-direction: column;
  padding: 8px 0px 0px;
  border: 0;
}

/* Day label */
.month2-day {
  font-weight: 700;
  font-size: 1rem;
  background: #F0F0F0;
  margin-bottom: 8px;
  padding: 2px 4px;
  text-transform: uppercase;
  color: #001f3f;
  display: inline-block;
}

/* Event text */
.month2-entry {
  display: block;
  font-size: 1rem;
  font-weight: 500;
  margin-left: 2px;
}

/* ========== CARD 2: SEVERE WEATHER ALERT (HEADER BAND + TEXT) #b30000========== */

.card-alert-2 {
  background: #fff;
  border: 1px solid #d32f2f;
  border-radius: 6px;
  margin: 0px 0px 25px;
  overflow: hidden;
  box-shadow: 0 1px 0 rgba(0,0,0,0.02);
}

.card-alert-2-header {
  background: #d32f2f;
  color: #ffffff;
  padding: 0.75rem 1rem;
}

.card-alert-2-title {
  margin: 0;
  font-family: "Source Sans Pro", system-ui, -apple-system,
               BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.card-alert-2-body {
  padding: 0.9rem 1rem 1rem;
}

.card-alert-2-dates {
  margin: 0 0 0.4rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: #b30000;
}

.card-alert-2-text {
  margin: 0;
  font-size: 0.98rem;
  color: #111;
}

/* Optional: center text for this alert card only */
.card-alert-2-body--center {
  text-align: center;
}

.card-alert-2-body--center .card-alert-2-dates {
  margin-bottom: 0.35rem;
}

.card-alert-2-body--center .card-alert-2-text {
  margin-top: 0;
}

/* ========== CARD 3: CHARM PIZZA GRAND OPENING (BANNER + IMAGE + TEXT) ========== */

.card-opening-3 {
  background: #fff;
  border: 0.8px solid #c8c8c8;
  border-radius: 6px;
  margin: 0px 0px 25px;
  overflow: hidden;
  box-shadow: 0 1px 0 rgba(0,0,0,0.02);
  position: relative;
}

.card-opening-3-media {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
  overflow: hidden;
}

.card-opening-3-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Banner on top of image */
.card-opening-3-banner {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background: #FFC107; /* gold */
  padding: 0.4rem 0.75rem;
  display: flex;
  align-items: center;
}

.card-opening-3-banner-label {
  display: flex;
  justify-content: center;
  width: 100%;
  text-align: center;
  color: #001F3F; /* navy */
  font-family: "Source Sans Pro", system-ui, -apple-system,
               BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.card-opening-3-body {
  padding: 0.9rem 1rem 1rem;
}

.card-opening-3-title {
  margin: 0 0 0.35rem;
  font-family: "Libre Baskerville", "Times New Roman", Times, serif;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.2;
}

.card-opening-3-text {
  margin: 0;
  font-size: 0.98rem;
  color: #111;
}

/* Optional: center text for this opening card only */
.card-opening-3-body--center {
  text-align: center;
}

.card-opening-3-body--center .card-opening-3-title {
  margin-bottom: 0.4rem;
}

.card-opening-3-body--center .card-opening-3-text {
  margin-top: 0;
}

/* ========== CARD 4: NOW HIRING (GREEN BANNER + IMAGE + TEXT) ========== */

.card-hiring-4 {
  background: #fff;
  border: 0.8px solid #2e7d32;
  border-radius: 6px;
  margin: 0px 0px 25px;
  overflow: hidden;
  box-shadow: 0 1px 0 rgba(0,0,0,0.02);
  position: relative;
}

.card-hiring-4-media {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
  overflow: hidden;
}

.card-hiring-4-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Green NOW HIRING banner */
.card-hiring-4-banner {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background: #2e7d32;
  padding: 0.4rem 0.75rem;
  display: flex;
  align-items: center;
}

.card-hiring-4-banner-label {
  display: flex;
  justify-content: center;
  width: 100%;
  text-align: center;
  color: #ffffff;
  font-family: "Source Sans Pro", system-ui, -apple-system,
               BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.card-hiring-4-body {
  padding: 0.9rem 1rem 1rem;
}

.card-hiring-4-title {
  margin: 0 0 0.35rem;
  font-family: "Libre Baskerville", "Times New Roman", Times, serif;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.2;
}

.card-hiring-4-text {
  margin: 0;
  font-size: 0.98rem;
  color: #111;
}

/* Optional: center text for this hiring card only */
.card-hiring-4-body--center {
  text-align: center;
}

.card-hiring-4-body--center .card-hiring-4-title {
  margin-bottom: 0.4rem;
}

.card-hiring-4-body--center .card-hiring-4-text {
  margin-top: 0;
}

/* =============== THUMBROW V2 (border-only, no divider divs) =============== */

/* Heading (outside the section) */
.t-row-v2 {
  color: #001f3f;
  font-size: 1rem;
  font-weight: 700;
  margin: 15px 0 2px;
}

/* Container: outer frame only */
.t-row-section-v2 {
  background: #fff;
  border-top: 0px solid #c8c8c8;      /* top of whole group */
  border-bottom: .8px solid #c8c8c8;   /* bottom of whole group */
  margin: 5px 0px 30px;
  padding: 0;                          /* spacing is on items */
  display: flex;
  flex-direction: column;
}

/* Each clickable row: identical, creates internal dividers */
.t-row-item-link-v2 {
  display: flex;
  align-items: flex-start;
  flex-direction: row;
  gap: 12px;
  margin: 0;
  padding: 10px 0;                     /* vertical spacing */
  background: #fff;
  color: #000;
  text-decoration: none;
  border-top: .8px solid #c8c8c8;      /* divider line */
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

/* Hover/focus */
.t-row-item-link-v2:hover,
.t-row-item-link-v2:focus {
  background: #f2f6fb;
  box-shadow: 0 2px 8px rgba(0, 31, 63, 0.12);
  outline: none;
}

.t-row-item-link-v2:focus:not(:focus-visible) {
  outline: none;
}

/* Thumbnail */
.t-row-thumb-v2 {
  flex: 0 0 100px;
  max-width: 100px;
  max-height: 100px;
  height: 100px;
}

.t-row-thumb-v2 img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 4px;
  margin: 0;
  padding: 0;
  display: block;
}

/* Text content */
.t-row-content-v2 {
  flex: 1;
  font-size: 0.98rem;
  margin: 0;
  padding: 0;
}

.t-row-heading-v2 {
  font-size: 1rem;
  margin-top: 0;
  margin-bottom: .2em;
  padding-top: 0;
  font-weight: bold;
  line-height: 1.2;
}

.t-row-content-v2 p {
  margin-top: 0;
  margin-bottom: 0;
  padding: 0;
}

/* Row wrapper for 4:3 thumbnails (same behavior as other rect rows) */
.t-row-item-link-v2-rect43 {
  display: flex;
  align-items: flex-start;
  flex-direction: row;
  gap: 12px;
  margin: 0;
  padding: 10px 0;
  background: #fff;
  color: #000;
  text-decoration: none;
  border-top: .8px solid #c8c8c8;
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

.t-row-item-link-v2-rect43:hover,
.t-row-item-link-v2-rect43:focus {
  background: #f2f6fb;
  box-shadow: 0 2px 8px rgba(0, 31, 63, 0.12);
  outline: none;
}

.t-row-item-link-v2-rect43:focus:not(:focus-visible) {
  outline: none;
}

/* 4:3 thumbnail container */
.t-row-thumb-v2-rect43 {
  flex: 0 0 140px;         /* width of the thumb; tweak as needed */
  max-width: 140px;
  aspect-ratio: 4 / 3;     /* 4:3 ratio */
  overflow: hidden;
  border-radius: 4px;
}

/* Image fills 4:3 box without distortion */
.t-row-thumb-v2-rect43 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ============ RECTANGULAR THUMBROW ============ */

.t-row-item-link-v2-rect {
  display: flex;
  align-items: flex-start;
  flex-direction: row;
  gap: 12px;
  margin: 0;
  padding: 10px 0;
  background: #fff;
  color: #000;
  text-decoration: none;
  border-top: .8px solid #c8c8c8;
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

.t-row-item-link-v2-rect:hover,
.t-row-item-link-v2-rect:focus {
  background: #f2f6fb;
  box-shadow: 0 2px 8px rgba(0, 31, 63, 0.12);
  outline: none;
}

.t-row-item-link-v2-rect:focus:not(:focus-visible) {
  outline: none;
}

/* 16:9 thumbnail container */
.t-row-thumb-v2-rect {
  flex: 0 0 140px;           /* width of the thumbnail; adjust as needed */
  max-width: 140px;
  aspect-ratio: 16 / 9;      /* keeps it 16:9 */
  overflow: hidden;
  border-radius: 4px;
}

/* Image fills 16:9 box without distortion */
.t-row-thumb-v2-rect img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ============ RECTANGULAR THUMBROW ============ */

/* Inline/run-in variant: heading + text on same line */

.t-row-item-link-v2-inline {
  display: flex;
  align-items: flex-start;
  flex-direction: row;
  gap: 12px;
  margin: 0;
  padding: 10px 0;
  background: #fff;
  color: #000;
  text-decoration: none;
  border-top: .8px solid #c8c8c8;
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

/* reuse same hover/focus behavior */
.t-row-item-link-v2-inline:hover,
.t-row-item-link-v2-inline:focus {
  background: #f2f6fb;
  box-shadow: 0 2px 8px rgba(0, 31, 63, 0.12);
  outline: none;
}

.t-row-item-link-v2-inline:focus:not(:focus-visible) {
  outline: none;
}

/* content area */
.t-row-content-v2-inline {
  flex: 1;
  margin: 0;
  padding: 0;
}

.t-row-heading-v2-inline {
  display: inline;
  font-size: 1.1rem;   /* larger */
  font-weight: 700;
  margin: 0;
  padding: 0;
  line-height: 1.4;
}

.t-row-text-v2-inline {
  display: inline;
  font-size: 0.98rem;   /* smaller */
  margin: 0;
  padding: 0;
  font-weight: 400;
}

.t-row-heading-v3-inline {
  display: inline;
  font-size: 1rem;   /* larger */
  font-weight: 700;
  margin: 0;
  line-height: 1.4;
  background: #F0F0F0;
  padding: 1px 2px;
  border-radius: 3px;
}

/* =============== HR =============== */

.divider {
  border: 0;
  border-top: .8px solid #c8c8c8;  /* same as thumbrow */
  margin: 10px 0px 25px;           /* adjust spacing as needed */
}

.divider-2 {
  border: 0;
  border-top: .8px solid #c8c8c8;  /* same as thumbrow */
  margin: 2px 0px 0px;           /* adjust spacing as needed */
}

.divider-3 {
  border: 0;
  border-top: 2px solid #fff;  /* same as thumbrow */
  margin: 2px 0px 0px;           /* adjust spacing as needed */
}

.divider-4 {
  border: 0;
  border-top: .6px solid #001f3f;  /* same as thumbrow */
  margin: 0px 0px 8px;           /* adjust spacing as needed */
}

.divider-6 {
  border: 0;
  border-top: .6px solid #001f3f;  /* same as thumbrow */
  margin: 2px 0px 0px;           /* adjust spacing as needed */
}

.divider-x {
  border: 0;
  border-top: .8px solid rgba(255, 255, 255, 0.2);  /* same as thumbrow */
  margin: 2px 15px 2px;           /* adjust spacing as needed */
}

.footer-divider {
  border: 0;
  border-top: .8px solid rgba(255, 255, 255, 0.2); /* light line on navy */
  margin: 0px;
  width: 100%; /* spacing above/below */
}

/* =============== THUMBROW STYLES =============== */

.t-row-section {
  background: #fff;
  border-top: 0px solid #c8c8c8;
  border-bottom: .8px solid #c8c8c8;
  margin: 5px 0;
  padding: 10px 0;
  display: flex;
  flex-direction: column;
}

.t-row { 
  color: #001f3f; 
  font-size: .9rem;
  font-weight: 700;
  margin: 15px 0 2px;
}

/* Section divider for t-row: handles all vertical spacing */
.t-row-divider {
  border: none;
  border-top: .8px solid #c8c8c8;
  margin: 10px 0;              /* 10px above and below */
  width: 100%;
}

.t-row-divider-top {
  border: none;
  border-top: .8px solid #c8c8c8;
  margin: 0 0 10px;             /* 0 above, 10px below */
  width: 100%;
}

/* Thumbrow outer flex container with no extra margin/padding */
.content-block-t-row {
  display: flex;
  align-items: flex-start;
  flex-direction: row;
  gap: 12px;
  margin: 0;
  padding: 0;
}

/* Clickable card for each t-row entry */
.content-block-t-row-link {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 0;
  padding: 0;
  background: #fff;
  border-radius: 2px;
  text-decoration: none;
  color: #000;                   /* same forced black as before */
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

.content-block-t-row-link:hover,
.content-block-t-row-link:focus {
  background: #f2f6fb;
  box-shadow: 0 2px 8px rgba(0, 31, 63, 0.12);
  outline: none;
}

.content-block-t-row-link:focus:not(:focus-visible) {
  outline: none;
}

/* Inner heading/text resets (color + spacing) */
.content-block-t-row-link h2,
.content-block-t-row-link p,
.content-block-t-row-link .t-row-heading {
  margin: 0;
  padding: 0;
  color: #000;
  text-decoration: none;
}

/* Thumbnail (left column) */
.t-row-thumb {
  flex: 0 0 100px;
  max-width: 100px;
  max-height: 100px;
  height: 100px;
}

.t-row-thumb img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 4px;
  margin: 0;
  padding: 0;
  display: block;
}

/* Content/text (right column) */
.t-row-content {
  flex: 1;
  font-size: 0.98rem;
  margin: 0;
  padding: 0;
}

.t-row-content h2.t-row-heading {
  font-size: 1.1rem;
  margin-top: 0;
  margin-bottom: .2em;
  padding-top: 0;
  font-weight: bold;
  line-height: 1.2;
}

.t-row-content p {
  margin-top: 0;
  margin-bottom: 0;
  padding: 0;
}

/* ============== END THUMBROW MOBILE STYLES ============== */

/* ========== Footer ========== */
.site-footer {
  background-color: #001f3f;
  color: #ffffff;
  padding: 0.5rem 0 1.75rem;
  font-size: 0.9rem;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.5rem;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: inherit;
}

.footer-address {
  margin: 0.25rem 0 0.5rem;
  line-height: 1.4;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0.25rem 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1.5rem;
}

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

.footer-links a:hover,
.footer-links a:focus {
  text-decoration: none;
}

.footer-bottom {
  font-size: 0.8rem;
  margin: 0.5rem 15px 0;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  text-align: center;
}

/* ===== ICON TEST BLOCK (does not conflict with existing .icon-* rules) ===== */

.icon-test-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 1–2, 3–4, ... */
  gap: 16px;
  margin: 16px 0;
}

 
.icon-test-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  background-color: #fff;
  outline: .6px solid #000;
  border-radius: 8px;
  padding: 10px 0 6px;
}

.icon-test-square {
  width: 70px;              /* fixed square #f5f5f5 */
  height: 70px;
  background-color: none; /* 50% opacity background only */
  border-radius: 8px;        /* rounded corners */
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0px;
}

.icon-test-img {
  max-width: 65%;
  max-height: 65%;
  display: block;
  object-fit: contain;
}

.icon-test-label {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: .9rem;
  font-weight: 700;
  color: #001F3F;           /* black label text */
  text-align: center;
  line-height: 1.2;
}

/* ========== Icon grid ========== */
.icon-grid-section {
  margin: 15px 0px 15px;
  padding: 0px 0px;
}

.icon-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.icon-item {  
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 15px 0 5px;
  border-radius: 8px;
  text-align: center;
  background-color: #F5F5F5;
  outline: .6px solid #001f3f;
  color: #001f3f; /* ========== #222222 #f5f5f5========== */
  min-height: 96px;
}

.icon-window {
  background-color: #f5f5f5;
  border-radius: 6px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  margin-bottom: 8px;
  width: 75px;
  height: 75px;
}

.icon-image {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

/* keep icon labels on system-ui stack */
.icon-label {
  font-size: 0.8rem;
  font-weight: 700;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #001f3f;
}

.icon-item:hover,
.icon-item:focus-visible {
  background-color: #e5e5e5;
  outline: 2px solid #cccccc;
  outline-offset: 2px;
}

/* ========== Icon grid 2 #cccccc #e5e5e5 ========== */
.icon-grid-section-2 {
  background-color: #fff;
  border-radius: 4px;
  margin: 15px 0px 15px;
  padding: 0px 0px;
}

.icon-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.icon-item-2 {  
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 15px 0 5px;
  border-radius: 8px;
  text-align: center;
  background-color: #fff;
  color: #000; /* ========== #222222 #f5f5f5========== */
  min-height: 96px;
}

.icon-window-2 {
  background-color: #fff;
  border-radius: 6px;
  padding: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  margin-bottom: 8px;
  width: 50px;
  height: 50px;
}

.icon-image-2 {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

/* keep icon labels on system-ui stack */
.icon-label-2 {
  font-size: 0.8rem;
  font-weight: 500;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #001f3f;
}

.icon-item:hover-2,
.icon-item:focus-visible-2 {
  background-color: #e5e5e5;
  outline: 2px solid #cccccc;
  outline-offset: 2px;
}

/* ========== Media queries ========== */

/* Footer stack on mobile */
@media (max-width: 700px) {
  .footer-inner {
    flex-direction: column;
    align-items: center;
  }
}

/* Mobile nav */
@media (max-width: 768px) {
  .header-inner {
    min-height: 56px;
    position: relative;
  }

  .nav-toggle {
    display: inline-block;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    background-color: #001f3f;
    border-bottom: 0.6px solid #e0e0e0;
    transform: translateY(-110%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.2s ease, opacity 0.2s ease;
  }

  .site-nav--open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-list {
    flex-direction: column;
    padding: 0.75rem 1rem 1rem;
    gap: 0;
  }

  .nav-list li {
    border-bottom: 0.6px solid #ffffff;
    padding: 0.5rem 0;
  }

  .nav-list li:first-child {
    border-top: 0.6px solid #ffffff;
  }

  .nav-list li:last-child {
    border-bottom: none;
  }
}
