/* ============================================================
 CSS VARIABLES — Edit brand colors here
============================================================ */
:root {
  --elcblue: #004e8a;
  --teamkynavy: #003764;
  --navy1: #172b3b;
  --navy2: #00233d;
  --navy3: #003357;
  --lightgray: #dbdbdb;
  --lightblue1: #81baea;
  --alert: #85caff;
  --alert-light: #b3daf7;
  --bg: #f5f3ef;
  --surface: #ffffff;
  --border: #e2ddd5;
  --text-main: #000000;
  --text-muted: #000000;
  --text-light: #aaaaaa;
  --link: #0b5c9e;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
}

/* ============================================================
 RESET & BASE
============================================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background: var(--bg);
  font-family: "Source Sans 3", Georgia, sans-serif;
  font-size: 20px;
  color: var(--text-main);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--link);
}

a:hover {
  text-decoration: underline;
}

a:focus {
  outline: 3px solid var(--elcblue);
  outline-offset: 2px;
  border-radius: 2px;
}

h1,
h2,

img.base {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ============================================================
 SKIP TO CONTENT (Accessibility)
============================================================ */

/* the skip link is placed -100px above the page to hide it from plain view. Screen readers will pick up on this.*/
.skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  background: var(--navy1);
  color: #fff;
  padding: 10px 18px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 0 0 var(--radius-sm) 0;
  z-index: 1000;
  transition: top 0.2s;
}

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

/* ============================================================
 PAGE WRAPPER
============================================================ */
#page {
  max-width: 900px;
  margin: 24px auto;
  background: var(--surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
}

/* ============================================================
 HEADER
============================================================ */

.nl-header {
  background: var(--elcblue);
  color: #fff;
  padding: 32px 36px 24px;
  position: relative;
  overflow: hidden;
}

.nl-header-logo {
  width: 450px;
  max-width: 100%;
  margin: 0 auto 8px;
}

/* decorative circles */
.nl-header::before {
  content: "";
  position: absolute;
  top: -50px;
  right: -30px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
}

.nl-header::after {
  content: "";
  position: absolute;
  bottom: -30px;
  left: 80px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(14, 158, 120, 0.12);
}

.nl-agency-line {
  font-family: "Source Sans 3", Georgia, sans-serif;
  font-size: 22px;
  font-weight: 400;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: white;
  margin-bottom: 8px;
  position: relative;
  text-align: center;
}

.nl-masthead {
  position: relative;
  margin-bottom: 0;
}

.nl-masthead img {
  display: block;
  width: 765px;
  margin: 0 auto;
  position: relative;
}

.nl-tagline {
  font-size: 22px;
  color: #ffffffec;
  position: relative;
  width: 450px;
  max-width: 100%;
  margin: -8px auto 18px;
  text-align: center;
  white-space: nowrap;
}

.nl-header-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 14px;
  font-size: 20px;
  color: rgba(255, 255, 255, 0.788);
  position: relative;
}

.nl-header-meta a {
  color: rgba(255, 255, 255, 0.788);
  text-decoration: none;
  font-weight: 600;
}

/* ============================================================
 UTILITY BAR
============================================================ */
.nl-utility-bar {
  background: #eee;
  border-bottom: 1px solid var(--border);
  padding: 9px 36px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

#google_translate_element {
  display: inline-flex;
}

#google_translate_element .goog-te-gadget {
  font-size: 12px;
}

#google_translate_element select {
  font-family: inherit;
  font-size: 16px;
  color: var(--navy1);
  background: #fff;
  border: 1px solid #000;
  border-radius: var(--radius-sm);
  padding: 4px 8px;
  cursor: pointer;
}

.nl-social-links {
  margin-left: auto;
  display: flex;
  gap: 8px;
}

.nl-social-links a {
  color: var(--elcblue);
  font-size: 26px;
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  text-decoration: none;
}

.nl-social-links a:hover {
  background: var(--navy1);
}

/* ============================================================
 BODY / CONTENT AREA
============================================================ */
.nl-body {
  padding: 20px 28px 36px;
  background: var(--bg);
}

/* Small button under the office-closed notice that replays the decorative turkey */
.nl-replay-btn {
  display: block;
  margin: -8px auto 20px;
  padding: 6px 14px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  background: #183a19;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
}
.nl-replay-btn:hover {
  background: #0f2610;
}

/* Holiday greeting above the office-closed notice */
.nl-holiday-message {
  font-family: "Ubuntu", sans-serif;
  font-size: 28px;
  line-height: 1.4;
  color: #183a19;
  text-align: center;
  padding: 30px 20px;
  /* Evens out line lengths so no line ends up with a single word */
  text-wrap: balance;
}

/* Office-closed notice at the top of the content; shown at its natural 800px, shrinking to full width on smaller screens */
.nl-closed-img {
  display: block;
  width: 100%;
  max-width: 800px;
  height: auto;
  margin: 0 auto 20px;
  border-radius: 24px;
}

/* Two-column list of resource links inside a card */
.nl-link-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 24px;
  margin: 12px 0 0;
  padding-left: 22px;
}

.nl-link-grid li {
  line-height: 1.4;
}

/* In a two-up grid the card is too narrow for two link columns */
.card-grid .nl-link-grid {
  grid-template-columns: 1fr;
}

/* ============================================================
 SECTION LABELS
============================================================ */
.section-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--navy1);
  margin: 28px 0 12px;
}

.section-label::after {
  content: "";
  flex: 1;
  height: 3px;
  background: var(--navy1);
  border-radius: 2px;
}

.section-icon {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--lightblue1);
  border-radius: 50%;
  font-size: 20px;
}

/* ============================================================
 ALERT CARD
============================================================ */
.nl-alert {
  background: var(--alert-light);
  border: 1px solid var(--elcblue);
  border-left: 5px solid var(--navy1);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin: 20px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
}

.nl-awareness-header {
  background: #183a19;
  color: #fff;
  width: calc(100% + 40px);
  height: 100px;
  margin: -16px -20px 16px;
  border-radius: 7px 7px 0 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 16px 24px;
}
.nl-awareness-header h2 {
  font-family: "Source Sans 3", Georgia, sans-serif;
  font-size: 26px;
  font-weight: 700;
  color: #fff;
  line-height: 1.35;
  margin: 0;
}

/* Originally added for the old header turkey animation; kept so the headers render the same */
.nl-awareness-header {
  overflow: hidden;
}
.nl-awareness-header h2 {
  position: relative;
  width: 100%;
}

.nl-alert.nl-featured {
  background: #fadcb2;
  border: 3px solid #352003;
}

/* Decorative video/GIF layered edge to edge across the window, played once then faded out
   (top defaults to the top of the page; script moves it when the overlay has a data-trigger) */
.nl-page-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  z-index: 10;
  /* The video is black on white: multiply makes the white see-through */
  mix-blend-mode: multiply;
  pointer-events: none;
  opacity: 1;
  transition: opacity 1s ease;
}
/* GIF version has real transparency, so it needs no blend mode */
.nl-page-overlay--gif {
  mix-blend-mode: normal;
}
.nl-page-overlay.is-fading {
  opacity: 0;
}

.nl-alert.nl-featured a {
  color: var(--navy2);
}

/* Navy / light blue color variant of the awareness feature card */
.nl-alert.nl-featured.nl-featured--navy {
  background: var(--alert-light);
  border-color: var(--navy1);
  color: var(--navy2);
}
.nl-featured--navy .nl-awareness-header {
  background: var(--navy1);
}

/* Dark beige rule under the header; 3:1 contrast against both the cream card and the green header */
.nl-awareness-header--orange-border {
  border-bottom: 6px solid #e18001;
}

/* Image centered on its own line inside an awareness card (.nl-alert left-aligns its children) */
.nl-featured-center-img {
  align-self: center;
  display: block;
  width: 100%;
  max-width: 500px;
  height: auto;
}

/* Decorative divider line spanning an awareness card */
.nl-featured-divider {
  align-self: stretch;
  display: block;
  width: 100%;
  height: auto;
  margin: 6px 0;
}

/* Groups a card's paragraphs into one block so a floated image can wrap across several
   of them (each direct child of the flex .nl-alert is laid out on its own) */
.nl-featured-body {
  align-self: stretch;
  display: flow-root;
}
.nl-featured-body > * + p {
  margin-top: 10px;
}

/* Image floated right with text wrapped tight against its edges; clear keeps a second
   one below the first instead of beside it */
.nl-featured-float-tight {
  float: right;
  clear: right;
  width: 300px;
  height: auto;
  margin: 6px 0 6px 12px;
  border-radius: var(--radius-sm);
}
.nl-featured-float-tight--left {
  float: left;
  clear: left;
  margin: 6px 12px 6px 0;
}

.nl-alert.nl-featured ul {
  padding-left: 22px;
}
.nl-alert.nl-featured li + li {
  margin-top: 6px;
}

/* Image floated into the top-right of an awareness card; must sit inside a <p>
   because .nl-alert is a flex container and its direct children can't float */
.nl-featured-float {
  float: right;
  width: 350px;
  height: auto;
  padding: 10px;
}

/* Clickable floated image that opens in the flyer modal */
button.nl-featured-float {
  background: none;
  border: none;
  cursor: zoom-in;
  font: inherit;
}
button.nl-featured-float img {
  display: block;
  width: 100%;
  height: auto;
}
.nl-featured-float-caption {
  display: block;
  margin-top: 4px;
  font-size: 14px;
  font-style: italic;
  line-height: 1.3;
  text-align: center;
  color: var(--navy1);
}
button.nl-featured-float:focus-visible {
  outline: 2px solid var(--navy1);
  outline-offset: -2px;
}

/* Two columns inside an awareness card: text on the left, clickable flyer on the right */
.nl-featured-columns {
  display: grid;
  /* minmax(0, …) keeps a long unbreakable word from widening the column past the card */
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  margin: 12px 0;
}
.nl-featured-columns p {
  margin: 0;
  /* Let long web and email addresses wrap on narrow screens */
  overflow-wrap: anywhere;
}

/* Clickable flyer thumbnail that opens in the flyer modal */
button.nl-flyer-thumb {
  display: block;
  width: 100%;
  padding: 0;
  background: none;
  border: none;
  cursor: zoom-in;
  font: inherit;
}
button.nl-flyer-thumb img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
}
button.nl-flyer-thumb:focus-visible {
  outline: 2px solid var(--navy1);
  outline-offset: 2px;
}

/* ============================================================
 CARDS
============================================================ */
.nl-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  margin-bottom: 12px;
}

.nl-card--has-image {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  padding: 0;
  overflow: hidden;
}

.nl-card--has-image .nl-card-content {
  flex: 2;
  padding: 18px 22px;
}

.nl-card--has-image .nl-card-image {
  flex: 0 0 40%;
  width: 40%;
  object-fit: contain;
  display: block;
  background: var(--lightgray);
  padding: 12px;
}

.nl-card--image-bottom {
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
}

.nl-card--image-bottom .nl-card-content {
  padding: 18px 22px;
}

.nl-card--image-bottom .nl-card-image {
  width: 100%;
  object-fit: cover;
  display: block;
  background: var(--lightgray);
}

/* Like .nl-card-image, but the photo fills the whole image area (no grey panel) */
.nl-card-image-fill {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  background: none;
  padding: 0;
}

.nl-card h2 {
  font-size: 22px;
  font-family: "Source Sans 3", sans-serif;
  font-weight: 700;
  color: var(--navy1);
  margin-bottom: 6px;
}

.nl-card p {
  font-size: 20px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* Responsive 16:9 video embed (e.g. YouTube) */
.nl-video {
  display: block;
  width: 75%;
  aspect-ratio: 16 / 9;
  height: auto;
  margin: 12px auto;
  border: 0;
  border-radius: var(--radius-md);
}

/* Banner image spanning the full card width, past the card's side padding */
.nl-card-banner {
  display: block;
  width: calc(100% + 44px);
  max-width: none;
  height: auto;
  margin: 12px -22px;
}

/* Image floated in the top-right corner of a card */
.nl-card-float-img {
  float: right;
  width: 200px;
  margin: 10px 10px 20px 20px;
  border-radius: var(--radius-md);
}
/* Same, floated into the top-left corner instead (stacks centered on mobile like the right version) */
.nl-card-float-img--left {
  float: left;
  margin: 0 20px 10px 0;
}

/* Bulleted list inside a card, matching paragraph text */
.nl-card-list {
  font-size: 20px;
  color: var(--text-muted);
  line-height: 1.65;
  padding-left: 24px;
  margin: 6px 0 12px;
}

/* Tag pill */
.card-tag {
  display: inline-block;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 2px 9px;
  border-radius: 20px;
  margin-bottom: 9px;
}

.tag-resource {
  background: var(--lightblue1);
  color: var(--navy1);
}

.tag-community {
  background: var(--lightblue1);
  color: var(--navy1);
}

.tag-camp {
  background: var(--lightblue1);
  color: var(--navy1);
}

/* Read more link */
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 20px;
  font-weight: 600;
  color: var(--elcblue);
  text-decoration: none;
  margin-top: 10px;
}

.card-link::after {
  content: " →";
}

.card-link:hover {
  color: var(--navy1);
}

/* Two-column card grid */
.card-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}

.card-grid .nl-card {
  margin-bottom: 0;
}

/* Two columns inside a single card, divided by a thin line */
.nl-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 12px;
}

.nl-column {
  padding-right: 20px;
}

.nl-column + .nl-column {
  padding-right: 0;
  padding-left: 20px;
  border-left: 1px solid var(--border);
}

/* ============================================================
 EVENT LIST CARD
============================================================ */
.event-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.event-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 11px 0;
  border-bottom: 1px solid #f0ede6;
}

.event-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.event-item:first-child {
  padding-top: 0;
}

.event-date {
  background: var(--navy1);
  color: #fff;
  border-radius: var(--radius-sm);
  padding: 5px 8px;
  text-align: center;
  min-width: 70px;
  flex-shrink: 0;
}
.event-date .month {
  display: block;
  font-size: 20px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #7ab8e8;
  font-weight: 700;
}
.event-date .day {
  display: block;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.1;
}

.event-info > strong {
  display: block;
  font-size: 20px;
  font-weight: 600;
  color: var(--text-main);
  line-height: 1.3;
  margin-bottom: 2px;
}

.event-info span {
  font-size: 20px;
  color: var(--text-muted);
}

.event-info a {
  color: var(--navy1);
  font-weight: 600;
}

/* ============================================================
 FLYER BUTTON & MODAL
============================================================ */
.flyer-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 6px;
  padding: 3px 9px;
  line-height: 1.5;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  color: var(--elcblue);
  background: transparent;
  border: 1.5px solid var(--navy1);
  border-radius: var(--radius-sm);
  cursor: pointer;
  text-decoration: none;
  -webkit-appearance: none;
  appearance: none;
}

.flyer-btn:hover {
  background: var(--navy1);
  color: #fff;
  text-decoration: none;
}

a.flyer-btn,
a.flyer-btn:visited {
  color: var(--elcblue);
  vertical-align: middle;
}

a.flyer-btn:hover {
  background: var(--navy1);
  color: #fff;
  text-decoration: none;
}

.flyer-btn:focus-visible {
  outline: 2px solid var(--navy1);
  outline-offset: 2px;
}

/* Overlay */
#flyer-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

#flyer-modal.is-open {
  display: flex;
}

/* Dialog box */
#flyer-modal-dialog {
  background: #fff;
  border-radius: var(--radius-md);
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  padding: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

#flyer-modal-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--navy1);
  margin: 0 40px 12px 0;
}

#flyer-modal img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
}

#flyer-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--navy1);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

#flyer-modal-close:focus-visible {
  outline: 2px solid var(--navy1);
  outline-offset: 2px;
}

/* ============================================================
 RESOURCES BAR
============================================================ */
.nl-resources {
  background: var(--navy1);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  margin-bottom: 12px;
}

.nl-resources h2 {
  font-size: 20px;
  font-family: "Source Sans 3", sans-serif;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}

.resource-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.resource-link-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-sm);
  padding: 9px 14px;
  text-decoration: none;
  color: #fff;
  font-size: 20px;
  font-weight: 500;
  transition: background 0.15s;
}

.resource-link-item:hover {
  background: rgba(255, 255, 255, 0.1);
  text-decoration: none;
}

.resource-link-item:focus {
  outline: 2px solid var(--elcblue);
  outline-offset: 2px;
}

.resource-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--navy1);
  flex-shrink: 0;
}

/* ============================================================
 FOOTER
============================================================ */
.nl-footer {
  background: var(--navy1);
  color: rgba(255, 255, 255, 0.65);
  padding: 28px 36px;
  text-align: center;
  font-size: 20px;
  line-height: 1.8;
}

.nl-footer strong {
  display: block;
  color: #fff;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 6px;
  font-family: "Source Sans 3", Georgia, sans-serif;
}

.nl-footer a {
  color: #7ab8e8;
  text-decoration: none;
}

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

.nl-footer .nl-social-links {
  justify-content: flex-end;
}

.nl-footer .nl-social-links a {
  color: #fff;
}

.nl-footer-divider {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin: 16px 0;
}

/* ============================================================
 CALENDAR CTA
============================================================ */
.nl-cta {
  background: var(--lightblue1);
  border: 1px solid #9adcc8;
  border-radius: var(--radius-md);
  padding: 16px 22px;
  margin-bottom: 12px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

/* -- submit an event card -- */
.nl-cta p {
  font-size: 20px;
  color: var(--navy3);
  font-weight: 500;
  margin: 0;
}

.nl-cta a {
  background: var(--navy1);
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}

.nl-cta a:hover {
  background: var(--teamkynavy);
}

/* ============================================================
 POLICY MODAL
============================================================ */
.policy-modal-trigger {
  background: none;
  border: none;
  padding: 0;
  font-family: inherit;
  font-size: 20px;
  color: #000000;
  cursor: pointer;
  text-decoration: underline;
}

.policy-modal-trigger:hover {
  color: var(--teamkynavy);
}

.policy-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 20px;
}

.policy-modal-overlay[hidden] {
  display: none;
}

.policy-modal-box {
  background: var(--surface);
  border-radius: var(--radius-md);
  max-width: 560px;
  width: 100%;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}

.policy-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px 16px;
  border-bottom: 1px solid var(--border);
}

.policy-modal-header h2 {
  font-size: 20px;
  color: var(--navy1);
}

.policy-modal-close {
  background: none;
  border: none;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  color: var(--text-light);
  padding: 0 4px;
}

.policy-modal-close:hover {
  color: var(--navy1);
}

.policy-modal-body {
  padding: 20px 24px 24px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 20px;
  line-height: 1.6;
  color: var(--text-main);
}

 /* ============================================================
 RESPONSIVE — Mobile
 ============================================================ */
@media (max-width: 580px) {
  #page {
    margin: 0;
    border-radius: 0;
    border: none;
  }

  .nl-header {
    padding: 24px 20px 18px;
  }

  .nl-header-logo {
    width: 60%;
  }

  .nl-agency-line {
    display: none;
  }

  .nl-tagline {
    width: 60%;
    margin-top: 8px;
  }

  .nl-masthead {
    margin-left: -20px;
    margin-right: -20px;
  }

  .nl-masthead img {
    width: 100%;
    max-width: 100%;
  }

  .nl-utility-bar {
    padding: 9px 20px;
  }

  .nl-social-links {
    margin-left: 0;
  }

  .nl-body {
    padding: 16px 16px 28px;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .nl-columns {
    grid-template-columns: 1fr;
  }

  .nl-video {
    width: 100%;
  }

  .nl-featured-columns {
    grid-template-columns: minmax(0, 1fr);
  }

  .nl-card-float-img {
    float: none;
    display: block;
    margin: 0 auto 16px;
  }

  .nl-column {
    padding-right: 0;
  }

  .nl-column + .nl-column {
    padding-left: 0;
    padding-top: 16px;
    margin-top: 16px;
    border-left: none;
    border-top: 1px solid var(--border);
  }

  .nl-link-grid {
    grid-template-columns: 1fr;
  }

  .nl-cta {
    flex-direction: column;
    align-items: flex-start;
  }

  .nl-cta a {
    width: 100%;
    text-align: center;
  }

  .nl-footer {
    padding: 22px 20px;
  }

  .nl-featured-float {
    float: none;
    display: block;
    width: 100%;
    padding: 0 0 12px;
  }

  .nl-featured-float-tight {
    float: none;
    display: block;
    width: 100%;
    margin: 0 0 12px;
  }

}
