/* =========================================================
   NWSGS Site Shell
   Purpose: Shared sitewide header/navigation behavior and layout polish.
   ========================================================= */

/* =========================================================
   Global brand variables
   ========================================================= */
:root {
  --nwsgs-plum: #4d2c3d;
  --nwsgs-blue: #658da7;
  --nwsgs-ink: #1f1f1f;
  --nwsgs-border: rgba(0, 0, 0, 0.10);
}

/* =========================================================
   Shared layout + meeting foundation
   ========================================================= */
.nwsgs-schedule {
  max-width: 1100px;
  margin: 0 auto;
  font-family: Montserrat, Arial, sans-serif;
}

.nwsgs-highlights {
  margin-top: 40px;
  margin-bottom: 40px;
  padding-bottom: 30px;
  border-bottom: 2px solid rgba(0, 0, 0, 0.08);
}

/* Shared next-meeting hero */
.nwsgs-next {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 320px);
  gap: 24px;
  align-items: stretch;
  padding: 28px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(77, 44, 61, 0.12), rgba(101, 141, 167, 0.15));
  border: 1px solid rgba(77, 44, 61, 0.18);
  box-shadow: 0 14px 34px rgba(27, 20, 24, 0.10);
  margin: 14px 0 34px;
  position: relative;
}

.nwsgs-next:hover {
  box-shadow: 0 18px 40px rgba(27, 20, 24, 0.12);
}

.nwsgs-next-left,
.nwsgs-next-right {
  position: relative;
  z-index: 2;
}

.nwsgs-next-left {
  min-width: 0;
}

.nwsgs-next-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.nwsgs-next-label {
  display: inline-block;
  margin-bottom: 12px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(77, 44, 61, 0.12);
  color: var(--nwsgs-plum);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.nwsgs-next-title {
  margin: 0 0 10px;
  color: var(--nwsgs-ink);
  font-size: clamp(1.9rem, 3.2vw, 2.7rem);
  line-height: 1.08;
  font-weight: 900;
  text-wrap: balance;
}

.nwsgs-next-subtitle {
  margin: 0 0 16px;
  color: var(--nwsgs-blue);
  font-size: 1rem;
  line-height: 1.5;
  font-weight: 800;
}

.nwsgs-next-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.nwsgs-next-actions .nwsgs-btn {
  min-height: 46px;
}

.nwsgs-next-cover {
  position: absolute;
  inset: 0;
  border-radius: 24px;
  z-index: 1;
  text-decoration: none;
}

.nwsgs-next-actions {
  position: relative;
  z-index: 3;
}

.nwsgs-next-countdown-wrap {
  margin-top: 18px;
  max-width: 640px;
}

.nwsgs-next .nwsgs-countdown {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(77, 44, 61, 0.10);
  border-radius: 18px;
  padding: 14px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75), 0 8px 18px rgba(27, 20, 24, 0.06);
}

.nwsgs-next .nwsgs-countdown__label {
  color: var(--nwsgs-plum);
  font-weight: 900;
  margin-bottom: 12px;
  opacity: 1;
  letter-spacing: 0.02em;
}

.nwsgs-next .nwsgs-countdown__time {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.nwsgs-next .nwsgs-countdown .box {
  background: linear-gradient(180deg, #ffffff 0%, rgba(248, 251, 254, 0.96) 100%);
  border: 1px solid rgba(77, 44, 61, 0.12);
  border-radius: 16px;
  padding: 14px 10px 12px;
  min-width: 0;
  text-align: center;
}

.nwsgs-next .nwsgs-countdown .num {
  display: block;
  color: var(--nwsgs-ink);
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1;
  font-weight: 900;
}

.nwsgs-next .nwsgs-countdown .txt {
  display: block;
  margin-top: 6px;
  color: var(--nwsgs-plum);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.92;
}

@media (max-width: 900px) {
  .nwsgs-next {
    grid-template-columns: 1fr;
    padding: 22px;
  }

  .nwsgs-next-right {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .nwsgs-next {
    padding: 18px;
    border-radius: 20px;
    gap: 18px;
  }

  .nwsgs-next-title {
    font-size: clamp(1.65rem, 8vw, 2.2rem);
  }

  .nwsgs-next-subtitle {
    font-size: 0.95rem;
  }

  .nwsgs-next-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .nwsgs-next-actions .nwsgs-btn {
    width: 100%;
    text-align: center;
  }

  .nwsgs-next .nwsgs-countdown {
    padding: 12px;
  }

  .nwsgs-next .nwsgs-countdown__time {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Shared buttons */
.nwsgs-btn {
  display: inline-block;
  padding: 11px 16px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 900;
  border: 1px solid rgba(77, 44, 61, 0.25);
}

.nwsgs-btn.primary {
  background: var(--nwsgs-plum);
  color: #fff;
  border-color: var(--nwsgs-plum);
}

.nwsgs-btn.primary:hover {
  filter: brightness(1.06);
}

/* Shared section headings */
.nwsgs-h2 {
  margin: 28px 0 16px;
  font-weight: 900;
  color: var(--nwsgs-plum);
}

/* Shared card grid */
.nwsgs-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

@media (min-width: 980px) {
  .nwsgs-cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

.nwsgs-card {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--nwsgs-border);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.06);
  background: #fff;
  display: flex;
  flex-direction: column;
}

.nwsgs-card-click {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.nwsgs-card-click:hover {
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.10);
}

.nwsgs-card-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}

.nwsgs-card-title {
  font-weight: 900;
  margin: 0 0 6px;
  color: var(--nwsgs-ink);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  line-height: 1.25;
  min-height: calc(1.25em * 3);
}

.nwsgs-card-meta {
  display: block;
  margin-top: 6px;
  font-size: 0.92rem;
  font-weight: 700;
  color: rgba(0, 0, 0, 0.68);
}

.nwsgs-next-meta,
.nwsgs-next-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin: 0 0 8px;
}

.nwsgs-next-meta-chip {
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(77, 44, 61, 0.10);
  color: var(--nwsgs-plum);
  font-size: 0.86rem;
  font-weight: 800;
}

.nwsgs-card-actions {
  margin-top: auto;
  padding-top: 14px;
}

.nwsgs-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--nwsgs-plum);
  font-size: 0.95rem;
  font-weight: 800;
  text-decoration: none;
}

.nwsgs-link:hover,
.nwsgs-link:focus {
  color: var(--nwsgs-blue);
  text-decoration: underline;
}

.nwsgs-card.past {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 251, 254, 0.92) 100%);
}

.nwsgs-past-more {
  margin-top: 18px;
  padding: 16px 18px;
  border: 1px solid rgba(77, 44, 61, 0.12);
  border-radius: 18px;
  background: rgba(248, 251, 254, 0.78);
}

.nwsgs-past-more summary {
  cursor: pointer;
  color: var(--nwsgs-plum);
  font-weight: 900;
}

.nwsgs-past-more summary:hover,
.nwsgs-past-more summary:focus {
  color: var(--nwsgs-blue);
}

.nwsgs-note {
  margin-top: 16px;
  color: rgba(0, 0, 0, 0.65);
  font-size: 0.94rem;
}

@media (max-width: 640px) {
  .nwsgs-next-meta,
  .nwsgs-next-meta-row {
    gap: 8px;
  }

  .nwsgs-next-meta-chip {
    width: 100%;
    justify-content: center;
  }

  .nwsgs-past-more {
    padding: 14px;
  }
}

/* =========================================================
   Shared poster / thumbnail components
   ========================================================= */
.nwsgs-thumb,
.nwsgs-next-thumb {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: rgba(255, 255, 255, 0.75);
  overflow: hidden;
  text-decoration: none;
  border: 1px solid rgba(0, 0, 0, 0.12);
}

.nwsgs-thumb {
  border-left: 0;
  border-right: 0;
  border-top: 0;
}

.nwsgs-next-thumb {
  width: 280px;
  max-width: 100%;
  border-radius: 14px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}

.nwsgs-thumb img,
.nwsgs-next-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  padding: 10px;
  box-sizing: border-box;
}

.nwsgs-thumb.placeholder,
.nwsgs-next-thumb.placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--nwsgs-plum);
  font-weight: 900;
}

@media (max-width: 820px) {
  .nwsgs-next-thumb {
    width: 100%;
  }
}

/* =========================================================
   Homepage next-three poster grid
   ========================================================= */
.nwsgs-next3 {
  max-width: 1100px;
  margin: 0 auto;
}

.nwsgs-next3-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

@media (max-width: 980px) {
  .nwsgs-next3-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 620px) {
  .nwsgs-next3-grid {
    grid-template-columns: 1fr;
  }
}

.nwsgs-next3-card {
  display: block;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.10);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.06);
  background: #fff;
  text-decoration: none;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.nwsgs-next3-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.75);
  padding: 10px;
  box-sizing: border-box;
  display: block;
}

.nwsgs-next3-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.10);
}

/* =========================================================
   View full schedule link
   ========================================================= */
.nwsgs-full-schedule {
  text-align: center;
  margin-top: 24px;
  padding-top: 10px;
}

.nwsgs-full-schedule-link {
  font-weight: 800;
  text-decoration: none;
  color: var(--nwsgs-plum);
  border-bottom: 2px solid rgba(77, 44, 61, 0.25);
  padding-bottom: 2px;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.nwsgs-full-schedule-link:hover {
  color: var(--nwsgs-blue);
  border-color: var(--nwsgs-blue);
}

/* =========================================================
   Video bubble row + status colors
   ========================================================= */
.nwsgs-card-video {
  margin-top: auto;
  padding-top: 10px;
}

.nwsgs-bubble {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 13px;
  line-height: 1;
  text-decoration: none;
  border: 1px solid rgba(0,0,0,.12);
}

.nwsgs-bubble-none {
  background: #f3f4f6;
  color: #374151;
}

.nwsgs-bubble-available {
  background: #ecfdf5;
  color: #065f46;
  border-color: rgba(6,95,70,.25);
}

.nwsgs-bubble-until {
  background: #fef2f2;
  color: #991b1b;
  border-color: rgba(153,27,27,.25);
}

.nwsgs-bubble-removed {
  background: #111827;
  color: #f9fafb;
  border-color: rgba(255,255,255,.15);
}

.nwsgs-bubble-locked {
  position: relative;
  opacity: .95;
}

.nwsgs-bubble-mutedlink {
  cursor: default;
}

/* =========================================================
   Video modal
   ========================================================= */
.nwsgs-video-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: none;
}

.nwsgs-video-modal[aria-hidden="false"] {
  display: block;
}

.nwsgs-video-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.65);
}

.nwsgs-video-modal-panel {
  position: relative;
  width: min(1000px, calc(100vw - 24px));
  margin: 6vh auto 0;
  background: #fff;
  border-radius: 14px;
  padding: 14px;
  box-shadow: 0 20px 60px rgba(0,0,0,.35);
}

.nwsgs-video-modal-close {
  position: absolute;
  top: 8px;
  right: 10px;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,.12);
  background: #fff;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}

.nwsgs-video-embed-wrap {
  position: relative;
  padding-top: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 12px;
}

.nwsgs-video-embed-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

html.nwsgs-modal-open {
  overflow: hidden;
}

/* =========================================================
   Homepage testimonial ticker
   ========================================================= */
.nwsgs-ticker {
  max-width: 1100px;
  margin: 0 auto;
}

.nwsgs-ticker__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.nwsgs-ticker__title {
  font-size: 22px;
  line-height: 1.2;
  margin: 0;
}

.nwsgs-ticker__toggle {
  font-size: 14px;
  padding: 6px 10px;
  border-radius: 8px;
  border: 1px solid rgba(0,0,0,.15);
  background: #fff;
  cursor: pointer;
}

.nwsgs-ticker__viewport {
  overflow: hidden;
  border: 1px solid rgba(0,0,0,.10);
  border-radius: 12px;
  background: rgba(255,255,255,.7);
  padding: 10px 0;
}

.nwsgs-ticker__track {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  white-space: nowrap;
  will-change: transform;
  padding-left: 100%;
  animation: nwsgsTicker 70s linear infinite;
}

.nwsgs-ticker__track[data-running="false"] {
  animation-play-state: paused;
}

.nwsgs-ticker__viewport:hover .nwsgs-ticker__track {
  animation-play-state: paused;
}

.nwsgs-ticker__item {
  font-size: clamp(18px, 1.2vw, 22px);
  line-height: 1.25;
}

.nwsgs-ticker__sep {
  opacity: .45;
}

@keyframes nwsgsTicker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

@media (prefers-reduced-motion: reduce) {
  .nwsgs-ticker__track {
    animation: none !important;
    padding-left: 0;
    white-space: normal;
    flex-wrap: wrap;
    justify-content: center;
  }

  .nwsgs-ticker__toggle {
    display: none;
  }
}

/* =========================================================
   Prompt scripting page
   Scope: .nwsgs-prompt-page
   ========================================================= */

/* Table outer wrapper */
.nwsgs-prompt-page .ninja_table_wrapper,
.nwsgs-prompt-page .ninja-tables-wrapper,
.nwsgs-prompt-page .ninja_table_instance_wrapper {
  background: #ffffff;
  border-radius: 18px;
}

/* Search / filter area */
.nwsgs-prompt-page .dataTables_filter,
.nwsgs-prompt-page .ninja_table_filter_wrap {
  margin-bottom: 16px !important;
}

.nwsgs-prompt-page .dataTables_filter input,
.nwsgs-prompt-page .ninja_table_wrapper input[type="search"],
.nwsgs-prompt-page .ninja_table_wrapper input[type="text"] {
  width: 100%;
  max-width: 340px;
  padding: 12px 14px;
  border: 1px solid #cfd9e6;
  border-radius: 999px;
  background: #f8fbfe;
  box-shadow: none;
  font-size: 14px;
}

.nwsgs-prompt-page .dataTables_filter input:focus,
.nwsgs-prompt-page .ninja_table_wrapper input[type="search"]:focus,
.nwsgs-prompt-page .ninja_table_wrapper input[type="text"]:focus {
  outline: none;
  border-color: #658da7;
  background: #ffffff;
}

/* Table base styling */
.nwsgs-prompt-page table {
  border-collapse: separate !important;
  border-spacing: 0 !important;
  width: 100% !important;
}

.nwsgs-prompt-page table thead th {
  background: #eef4fb !important;
  color: #4d2c3d !important;
  font-size: 14px;
  font-weight: 700;
  border-bottom: 1px solid #d6e0eb !important;
  padding: 14px 12px !important;
}

.nwsgs-prompt-page table tbody td {
  padding: 14px 12px !important;
  vertical-align: top;
  border-bottom: 1px solid #e8edf3 !important;
  font-size: 14px;
  color: #425062;
  background: #ffffff;
}

.nwsgs-prompt-page table tbody tr:hover td {
  background: #fafcff;
}

/* Rounded table header corners */
.nwsgs-prompt-page table thead th:first-child {
  border-top-left-radius: 14px;
}

.nwsgs-prompt-page table thead th:last-child {
  border-top-right-radius: 14px;
}

/* Expand / plus buttons */
.nwsgs-prompt-page .footable-toggle,
.nwsgs-prompt-page .fooicon,
.nwsgs-prompt-page .ninja_footable .footable-toggle,
.nwsgs-prompt-page .footable-first-column .footable-toggle {
  color: #4d2c3d !important;
}

.nwsgs-prompt-page .footable-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: #f6eef4;
}

/* Expanded detail rows */
.nwsgs-prompt-page .footable-detail-row td,
.nwsgs-prompt-page tr.footable-detail-row td {
  background: #f9fbfd !important;
  border-top: 1px solid #e3ebf4 !important;
  padding: 18px !important;
}

.nwsgs-prompt-page .footable-details {
  width: 100%;
}

.nwsgs-prompt-page .footable-details th {
  color: #4d2c3d;
  font-weight: 700;
  padding: 8px 10px 8px 0;
  vertical-align: top;
}

.nwsgs-prompt-page .footable-details td {
  color: #425062;
  padding: 8px 0;
}

/* Pagination */
.nwsgs-prompt-page .dataTables_paginate,
.nwsgs-prompt-page .footable-pagination-wrapper {
  margin-top: 16px !important;
  text-align: center;
}

.nwsgs-prompt-page .paginate_button,
.nwsgs-prompt-page .footable-page-link {
  border: 1px solid #d6e0eb !important;
  background: #ffffff !important;
  color: #48657a !important;
  border-radius: 999px !important;
  padding: 8px 12px !important;
  margin: 0 4px !important;
  text-decoration: none !important;
  box-shadow: none !important;
}

.nwsgs-prompt-page .paginate_button.current,
.nwsgs-prompt-page .footable-page.active .footable-page-link {
  background: #658da7 !important;
  border-color: #658da7 !important;
  color: #ffffff !important;
}

/* Labels / detail headings */
.nwsgs-prompt-page .ninja_table_wrapper .ninja_tables_label,
.nwsgs-prompt-page .ninja_table_wrapper .footable-details .footable-detail-name {
  color: #4d2c3d;
  font-weight: 700;
}

/* Long text handling */
.nwsgs-prompt-page .footable-details td,
.nwsgs-prompt-page .footable-detail-row td,
.nwsgs-prompt-page table tbody td {
  word-break: break-word;
  overflow-wrap: anywhere;
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .nwsgs-prompt-page .nwsgs-ninja-wrap {
    padding: 14px !important;
  }

  .nwsgs-prompt-page table thead th,
  .nwsgs-prompt-page table tbody td {
    font-size: 13px;
    padding: 12px 10px !important;
  }

  .nwsgs-prompt-page .dataTables_filter input,
  .nwsgs-prompt-page .ninja_table_wrapper input[type="search"],
  .nwsgs-prompt-page .ninja_table_wrapper input[type="text"] {
    max-width: 100%;
  }
}

/* =========================================================
   QR code landing page
   Scope: .nwsgs-qr-landing
   Purpose:
   - mobile-first landing page for QR-code visitors
   - clear tap targets and simplified card layout
   ========================================================= */
.page-id-14830 .header-post-title-container,
.page-id-14830 .entry-header,
.page-id-14830 .post .entry-header {
  display: none !important;
}

.nwsgs-qr-landing {
  max-width: 1080px;
  margin: 0 auto;
  padding: 20px 16px 48px;
  font-family: Montserrat, Arial, sans-serif;
  color: var(--nwsgs-ink);
}

.nwsgs-qr-landing * {
  box-sizing: border-box;
}

.nwsgs-qr-landing .nwsgs-qr-hero {
  padding: 24px 20px;
  border: 1px solid rgba(101, 141, 167, 0.22);
  border-radius: 26px;
  background: linear-gradient(135deg, rgba(243, 247, 253, 0.98), rgba(249, 242, 246, 0.98));
  box-shadow: 0 16px 34px rgba(46, 67, 102, 0.08);
}

.nwsgs-qr-landing .nwsgs-qr-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--nwsgs-plum);
  color: #ffffff;
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.nwsgs-qr-landing .nwsgs-qr-hero h1 {
  margin: 16px 0 12px;
  font-size: clamp(1.7rem, 4.1vw, 2.75rem);
  line-height: 1.1;
  color: var(--nwsgs-plum);
}

.nwsgs-qr-landing .nwsgs-qr-hero p {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.65;
  color: #425062;
}

.nwsgs-qr-landing .nwsgs-qr-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.nwsgs-qr-landing .nwsgs-qr-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(101, 141, 167, 0.28);
  color: #48657a;
  font-weight: 700;
  text-decoration: none;
}

.nwsgs-qr-landing .nwsgs-qr-chip:hover {
  background: rgba(101, 141, 167, 0.10);
  text-decoration: none;
}

.nwsgs-qr-landing .nwsgs-qr-chip.is-active {
  background: var(--nwsgs-blue);
  border-color: var(--nwsgs-blue);
  color: #ffffff;
}

.nwsgs-qr-landing .nwsgs-qr-section {
  margin-top: 22px;
  padding: 20px 18px;
  border: 1px solid rgba(101, 141, 167, 0.22);
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(46, 67, 102, 0.06);
}

.nwsgs-qr-landing .nwsgs-qr-section h2 {
  margin: 0 0 10px;
  font-size: clamp(1.45rem, 3vw, 2rem);
  line-height: 1.1;
  color: var(--nwsgs-plum);
}

.nwsgs-qr-landing .nwsgs-qr-section > p {
  margin: 0;
  color: #516072;
  line-height: 1.65;
}

.nwsgs-qr-landing .nwsgs-qr-grid,
.nwsgs-qr-landing .nwsgs-qr-quick-grid {
  display: grid;
  gap: 16px;
  margin-top: 18px;
}

.nwsgs-qr-landing .nwsgs-qr-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.nwsgs-qr-landing .nwsgs-qr-quick-grid {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.nwsgs-qr-landing .nwsgs-qr-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 100%;
  padding: 18px 16px;
  border: 1px solid rgba(101, 141, 167, 0.22);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(248,251,255,0.98));
  box-shadow: 0 8px 20px rgba(46, 67, 102, 0.06);
}

.nwsgs-qr-landing .nwsgs-qr-card.is-primary {
  background: linear-gradient(135deg, rgba(243, 247, 253, 1), rgba(249, 242, 246, 1));
}

.nwsgs-qr-landing .nwsgs-qr-card h3 {
  margin: 0;
  font-size: 1.28rem;
  line-height: 1.2;
  color: var(--nwsgs-plum);
}

.nwsgs-qr-landing .nwsgs-qr-card p {
  margin: 0;
  color: #516072;
  line-height: 1.6;
}

.nwsgs-qr-landing .nwsgs-qr-card .nwsgs-qr-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.nwsgs-qr-landing .nwsgs-qr-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(101, 141, 167, 0.12);
  color: #48657a;
  font-size: 0.74rem;
  font-weight: 800;
}

.nwsgs-qr-landing .nwsgs-qr-badge.is-plum {
  background: var(--nwsgs-plum);
  color: #ffffff;
}

.nwsgs-qr-landing .nwsgs-qr-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
}

.nwsgs-qr-landing .nwsgs-qr-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  border: 1px solid rgba(77, 44, 61, 0.22);
}

.nwsgs-qr-landing .nwsgs-qr-btn.is-primary {
  background: var(--nwsgs-plum);
  border-color: var(--nwsgs-plum);
  color: #ffffff;
}

.nwsgs-qr-landing .nwsgs-qr-btn.is-secondary {
  background: var(--nwsgs-blue);
  border-color: var(--nwsgs-blue);
  color: #ffffff;
}

.nwsgs-qr-landing .nwsgs-qr-btn.is-light {
  background: #ffffff;
  color: #48657a;
}

.nwsgs-qr-landing .nwsgs-qr-btn:hover {
  filter: brightness(1.04);
  text-decoration: none;
}

.nwsgs-qr-landing .nwsgs-qr-info-list {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.nwsgs-qr-landing .nwsgs-qr-info-item {
  padding: 16px 16px 14px;
  border-radius: 18px;
  background: rgba(245, 248, 252, 0.92);
  border: 1px solid rgba(101, 141, 167, 0.20);
}

.nwsgs-qr-landing .nwsgs-qr-info-item strong {
  display: block;
  margin-bottom: 6px;
  color: var(--nwsgs-plum);
  font-size: 0.96rem;
  letter-spacing: 0.01em;
}

.nwsgs-qr-landing .nwsgs-qr-info-item p,
.nwsgs-qr-landing .nwsgs-qr-info-item a {
  margin: 0;
  color: #425062;
  line-height: 1.6;
  word-break: break-word;
}

.nwsgs-qr-landing .nwsgs-qr-info-item a {
  text-decoration: none;
  font-weight: 700;
}

.nwsgs-qr-landing .nwsgs-qr-info-item a:hover {
  text-decoration: underline;
}

@media (min-width: 860px) {
  .nwsgs-qr-landing {
    padding-left: 20px;
    padding-right: 20px;
  }

  .nwsgs-qr-landing .nwsgs-qr-section {
    padding: 24px 22px;
  }

  .nwsgs-qr-landing .nwsgs-qr-info-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .nwsgs-qr-landing {
    padding-top: 14px;
    padding-bottom: 32px;
  }

  .nwsgs-qr-landing .nwsgs-qr-hero,
  .nwsgs-qr-landing .nwsgs-qr-section {
    border-radius: 22px;
    padding-left: 16px;
    padding-right: 16px;
  }

  .nwsgs-qr-landing .nwsgs-qr-nav,
  .nwsgs-qr-landing .nwsgs-qr-actions {
    flex-direction: column;
  }

  .nwsgs-qr-landing .nwsgs-qr-chip,
  .nwsgs-qr-landing .nwsgs-qr-btn {
    width: 100%;
  }
}

/* =========================================================
   Header band + theme resets
   ========================================================= */
#header-text-nav-container,
#header-text-nav-wrap {
  background: #3a2130 !important;
  border-top: 2px solid #ffffff !important;
  border-bottom: 2px solid #ffffff !important;
  margin: 0 !important;
  padding: 0 !important;
}

#header-text-nav-container .inner-wrap,
#header-text-nav-wrap .inner-wrap,
#header-right-section,
#site-navigation,
#site-navigation.main-navigation,
.main-navigation,
.menu-primary-container {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

#header-right-section .header-action,
.search-wrap,
.search-icon,
.header-search-icon,
.search-form-top,
.main-navigation .searchform,
.main-navigation .search-wrap {
  display: none !important;
}

#header-right-section,
#site-navigation.main-navigation {
  width: 100% !important;
  float: none !important;
}

#site-navigation,
.main-navigation {
  min-height: 0 !important;
}

#main,
.main-content-section {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* =========================================================
   Top-level menu layout
   ========================================================= */
#site-navigation .menu-primary-container > ul {
  text-align: center !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
}

#site-navigation .menu-primary-container > ul > li {
  display: inline-block !important;
  float: none !important;
  margin: 0 !important;
  padding: 0 !important;
  position: relative !important;
}

#site-navigation .menu-primary-container > ul > li > a {
  color: #ffffff !important;
  padding: 8px 12px !important;
  line-height: 1 !important;
  font-size: 16px !important;
  display: block !important;
  background: transparent !important;
}

#site-navigation .menu-primary-container > ul > li:hover > a,
#site-navigation .menu-primary-container > ul > li.current-menu-item > a,
#site-navigation .menu-primary-container > ul > li.current_page_item > a,
#site-navigation .menu-primary-container > ul > li > a:hover,
#site-navigation .menu-primary-container > ul > li > a:focus {
  color: #ffffff !important;
  background: rgba(255,255,255,0.08) !important;
}

/* Remove desktop sub-toggle blocks that disturb spacing */
@media screen and (min-width: 769px) {
  #site-navigation .menu-primary-container > ul > li > .sub-toggle {
    display: none !important;
  }
}

/* =========================================================
   Desktop dropdown behavior
   Purpose:
   - eliminate the tiny hover gap between parent items and submenus
   - keep dropdowns visible while the pointer moves into them
   - make hover feel forgiving instead of exacting
   ========================================================= */
@media screen and (min-width: 769px) {
  #site-navigation .menu-primary-container li {
    position: relative;
  }

  #site-navigation .menu-primary-container li.menu-item-has-children::after,
  #site-navigation .menu-primary-container li.page_item_has_children::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    height: 16px;
    background: transparent;
  }

  #site-navigation .menu-primary-container ul ul {
    display: block !important;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(6px);
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0s linear 0.18s;
    position: absolute !important;
    top: calc(100% - 4px) !important;
    left: 0 !important;
    min-width: 240px;
    z-index: 9999;
    text-align: left !important;
    margin-top: 0 !important;
    padding: 0 !important;
    background: linear-gradient(180deg, #5a3448 0%, #6e5063 35%, #8fb2c8 100%) !important;
    border: 1px solid rgba(255,255,255,0.18) !important;
    border-radius: 0 0 10px 10px !important;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16) !important;
    overflow: visible !important;
  }

  #site-navigation .menu-primary-container ul li:hover > ul,
  #site-navigation .menu-primary-container ul li:focus-within > ul {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
    transition-delay: 0s;
  }

  #site-navigation .menu-primary-container ul ul ul {
    top: -1px !important;
    left: calc(100% - 6px) !important;
    border-radius: 10px !important;
  }

  #site-navigation .menu-primary-container ul ul li {
    display: block !important;
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  #site-navigation .menu-primary-container ul ul li a {
    background: transparent !important;
    color: #ffffff !important;
    padding: 10px 14px !important;
    border-bottom: 1px solid rgba(255,255,255,0.14) !important;
    font-weight: 600 !important;
    display: block !important;
    white-space: nowrap;
  }

  #site-navigation .menu-primary-container ul ul li:last-child > a {
    border-bottom: none !important;
  }

  #site-navigation .menu-primary-container ul ul li > a:hover,
  #site-navigation .menu-primary-container ul ul li > a:focus,
  #site-navigation .menu-primary-container ul ul li.current-menu-item > a,
  #site-navigation .menu-primary-container ul ul li.current_page_item > a {
    background: rgba(255,255,255,0.14) !important;
    color: #ffffff !important;
  }
}

/* =========================================================
   Mobile menu leaves dropdown behavior to the theme controls
   ========================================================= */
@media screen and (max-width: 768px) {
  #site-navigation .menu-primary-container > ul > li > a {
    padding: 10px 12px !important;
  }
}

/* =========================================================
   Footer styles
   ========================================================= */

/* Main footer area */
#colophon .footer-widgets-wrapper,
.footer-widgets-wrapper {
  background: #4d2c3d;
  padding: 18px 0 4px;
}

/* Footer column spacing */
#colophon .footer-widgets-area .tg-one-third,
#colophon .footer-widgets-area .tg-one-fourth,
#colophon .footer-widgets-area .tg-one-half {
  padding-top: 0;
  margin-top: 0;
}

#colophon .footer-widgets-area {
  padding-top: 0;
  padding-bottom: 0;
}

/* Widget spacing */
#colophon .widget,
#colophon .footer-widgets-area .block-widget {
  margin-bottom: 4px;
}

/* Footer headings */
#colophon .widget-title,
#colophon h3,
#colophon h4 {
  color: #ffffff;
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 10px 0;
}

/* Footer body text */
#colophon,
#colophon p,
#colophon li,
#colophon .textwidget,
#colophon .widget {
  color: #eadfe5;
  font-size: 15px;
  line-height: 1.45;
}

#colophon p {
  margin: 0 0 10px 0;
}

/* Footer links */
#colophon .footer-widgets-wrapper a,
#colophon .footer-widgets-wrapper a:link,
#colophon .footer-widgets-wrapper a:visited,
#colophon .footer-socket-wrapper a,
#colophon .footer-socket-wrapper a:link,
#colophon .footer-socket-wrapper a:visited,
#colophon .textwidget a,
#colophon .textwidget a:link,
#colophon .textwidget a:visited,
#colophon .widget a,
#colophon .widget a:link,
#colophon .widget a:visited {
  color: #e7eef3 !important;
  text-decoration: none !important;
}

#colophon .footer-widgets-wrapper a:hover,
#colophon .footer-widgets-wrapper a:focus,
#colophon .footer-widgets-wrapper a:active,
#colophon .footer-socket-wrapper a:hover,
#colophon .footer-socket-wrapper a:focus,
#colophon .footer-socket-wrapper a:active,
#colophon .textwidget a:hover,
#colophon .textwidget a:focus,
#colophon .textwidget a:active,
#colophon .widget a:hover,
#colophon .widget a:focus,
#colophon .widget a:active {
  color: #b9d7e8 !important;
  text-decoration: underline !important;
}

#colophon .footer-widgets-wrapper ul li a {
  display: inline-block;
  position: relative;
  z-index: 2;
}

/* Footer lists */
#colophon ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

#colophon li {
  margin: 0 0 6px 0;
  padding: 0 0 6px 0;
}

/* Bottom copyright bar */
#colophon .footer-socket-wrapper,
.footer-socket-wrapper {
  background: #3a2130;
  border-top: 1px solid rgba(255,255,255,0.10);
  padding: 8px 0;
  margin-top: 6px;
}

#colophon .copyright,
#colophon .small-menu,
#colophon .footer-socket-area,
#colophon .footer-socket-left-section,
#colophon .footer-socket-right-section {
  color: #d9ccd3;
  font-size: 12px;
  line-height: 1.4;
}

/* Hide leftover default footer widgets */
#colophon .widget_recent_comments,
#colophon .widget_search,
#colophon .widget_meta {
  display: none;
}

/* Hide theme credit links */
#colophon .copyright a[href*="themegrill"],
#colophon .copyright a[href*="wordpress.org"] {
  display: none;
}

/* Mobile footer spacing */
@media (max-width: 768px) {
  #colophon .footer-widgets-wrapper,
  .footer-widgets-wrapper {
    padding: 16px 0 2px;
  }

  #colophon .widget,
  #colophon .footer-widgets-area .block-widget {
    margin-bottom: 12px;
  }

  #colophon .footer-socket-wrapper,
  .footer-socket-wrapper {
    margin-top: 4px;
    padding: 8px 0;
  }
}


