/* =========================================================
   TSEA HOMEPAGE
   Shared stylesheet for modular WPCode homepage blocks
   Homepage Test: /homepage-test/
   ========================================================= */

/* ---------- Theme cleanup ---------- */

body.tsea-homepage-active .entry-title,
body.tsea-homepage-active .page-title,
body.tsea-homepage-active .entry-header,
body.tsea-homepage-active .page-header,
body.tsea-homepage-active .post-header {
  display: none !important;
}

/* v1.0.66 — compact mobile Spotlight navigation.
   Keep selectors visibly separate from the selected feature card. */
@media (max-width:600px) {
  .tsea-spotlight-block .tsea-spotlight {
    padding:42px 20px 52px !important;
  }

  .tsea-spotlight-block .tsea-spotlight-heading {
    margin-bottom:20px !important;
  }

  .tsea-spotlight-block .tsea-spotlight-heading h2 {
    font-size:34px !important;
    line-height:1.08 !important;
  }

  .tsea-spotlight-block .tsea-spotlight-gallery {
    border-radius:10px;
  }

  .tsea-spotlight-block .tsea-spotlight-tabs {
    background:#eef3fa !important;
    display:grid !important;
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:0 !important;
    padding:0 !important;
  }

  .tsea-spotlight-block .tsea-spotlight-tab,
  .tsea-spotlight-block .tsea-spotlight-tab + .tsea-spotlight-tab {
    border:0 !important;
    border-bottom:4px solid transparent !important;
    border-left:0 !important;
    border-radius:0 !important;
    min-height:92px !important;
    padding:15px 13px !important;
    text-align:left !important;
  }

  .tsea-spotlight-block .tsea-spotlight-tab + .tsea-spotlight-tab {
    border-left:1px solid #dfe4ec !important;
  }

  .tsea-spotlight-block .tsea-spotlight-tab.is-active {
    background:#fff !important;
    border-bottom-color:#ec1e2f !important;
  }

  .tsea-spotlight-block .tsea-spotlight-tab span {
    font-size:9px !important;
    letter-spacing:1px !important;
    margin-bottom:5px !important;
  }

  .tsea-spotlight-block .tsea-spotlight-tab strong {
    font-size:14px !important;
    line-height:1.28 !important;
  }

  .tsea-spotlight-block .tsea-spotlight-stage {
    min-height:0 !important;
  }

  .tsea-spotlight-block .tsea-spotlight-panel {
    display:block !important;
    height:auto !important;
    min-height:0 !important;
  }

  .tsea-spotlight-block .tsea-spotlight-panel[hidden] {
    display:none !important;
  }

  .tsea-spotlight-block .tsea-spotlight-image {
    aspect-ratio:3/2 !important;
    height:auto !important;
    min-height:0 !important;
    padding:0 !important;
  }

  .tsea-spotlight-block .tsea-spotlight-image img {
    height:100% !important;
    max-height:none !important;
    max-width:none !important;
    object-fit:cover !important;
    width:100% !important;
  }

  .tsea-spotlight-block .tsea-spotlight-copy {
    min-height:0 !important;
    padding:25px 22px 28px !important;
  }

  .tsea-spotlight-block .tsea-spotlight-copy h3 {
    font-size:25px !important;
  }
}

@media (max-width:360px) {
  .tsea-spotlight-block .tsea-spotlight-tabs {
    grid-template-columns:1fr !important;
  }

  .tsea-spotlight-block .tsea-spotlight-tab + .tsea-spotlight-tab {
    border-left:0 !important;
    border-top:1px solid #dfe4ec !important;
  }
}
/* =========================================================
   CURRENT AT TSEA — ISOLATED SPOTLIGHT GALLERY
   Styles only .tsea-spotlight-block.
   The shared homepage stylesheet remains untouched.
   ========================================================= */

.tsea-spotlight-block,
.tsea-spotlight-block * {
  box-sizing: border-box;
}

.tsea-spotlight-block {
  --spot-navy: #1c2a58;
  --spot-red: #ec1e2f;
  --spot-red-dark: #c91626;
  --spot-pale: #eef3fa;
  --spot-muted: #5f6878;
  --spot-border: #dfe4ec;
}

.tsea-spotlight-block .tsea-spotlight {
  background: #fff;
  margin: 0 auto;
  max-width: 1260px;
  padding: 68px 40px 74px;
}

.tsea-spotlight-block .tsea-spotlight-heading {
  align-items: end;
  display: flex;
  justify-content: space-between;
  margin: 0 0 28px;
}

.tsea-spotlight-block .tsea-spotlight-heading .tsea-eyebrow {
  margin: 0;
}

.tsea-spotlight-block .tsea-spotlight-heading h2 {
  color: var(--spot-navy);
  font-size: 42px;
  line-height: 1;
  margin: 0;
}

.tsea-spotlight-block .tsea-spotlight-gallery {
  background: #fff;
  border: 1px solid var(--spot-border);
  box-shadow: 0 20px 50px rgba(28, 42, 88, 0.1);
  display: grid;
  grid-template-columns: 31% 69%;
  min-height: 560px;
  overflow: hidden;
}

.tsea-spotlight-block .tsea-spotlight-tabs {
  background: var(--spot-pale);
  border-right: 1px solid var(--spot-border);
  display: flex;
  flex-direction: column;
  padding: 22px 0;
}

.tsea-spotlight-block .tsea-spotlight-tab {
  appearance: none;
  background: transparent;
  border: 0;
  border-left: 4px solid transparent;
  color: var(--spot-navy);
  cursor: pointer;
  display: block;
  font-family: inherit;
  min-height: 150px;
  padding: 28px 30px;
  text-align: left;
  transition: background-color 0.2s ease, border-color 0.2s ease;
  width: 100%;
}

.tsea-spotlight-block .tsea-spotlight-tab + .tsea-spotlight-tab {
  border-top: 1px solid var(--spot-border);
}

.tsea-spotlight-block .tsea-spotlight-tab:hover {
  background: rgba(255, 255, 255, 0.55);
}

.tsea-spotlight-block .tsea-spotlight-tab.is-active {
  background: #fff;
  border-left-color: var(--spot-red);
}

.tsea-spotlight-block .tsea-spotlight-tab:focus-visible {
  outline: 3px solid var(--spot-red);
  outline-offset: -5px;
}

.tsea-spotlight-block .tsea-spotlight-tab span,
.tsea-spotlight-block .tsea-spotlight-tab strong {
  display: block;
}

.tsea-spotlight-block .tsea-spotlight-tab span {
  color: var(--spot-red);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 1.3px;
  margin-bottom: 9px;
  text-transform: uppercase;
}

.tsea-spotlight-block .tsea-spotlight-tab strong {
  color: var(--spot-navy);
  font-size: 19px;
  line-height: 1.3;
}

.tsea-spotlight-block .tsea-spotlight-stage {
  min-width: 0;
}

.tsea-spotlight-block .tsea-spotlight-panel {
  display: grid;
  grid-template-rows: 58% 42%;
  height: 100%;
  min-height: 560px;
}

.tsea-spotlight-block .tsea-spotlight-panel[hidden] {
  display: none !important;
}

.tsea-spotlight-block .tsea-spotlight-image {
  align-items: center;
  background: #f7f9fc;
  border-bottom: 1px solid var(--spot-border);
  display: flex;
  justify-content: center;
  overflow: hidden;
  padding: 32px;
  text-decoration: none;
}

.tsea-spotlight-block .tsea-spotlight-image:focus-visible {
  outline: 3px solid var(--spot-red);
  outline-offset: -3px;
}

.tsea-spotlight-block .tsea-spotlight-image img {
  display: block;
  height: auto;
  margin: 0;
  max-height: 245px;
  max-width: 82%;
  object-fit: contain;
  width: auto;
}

.tsea-spotlight-block .tsea-spotlight-image-cover {
  padding: 0;
}

.tsea-spotlight-block .tsea-spotlight-image-cover img {
  height: 100%;
  max-height: none;
  max-width: none;
  object-fit: cover;
  width: 100%;
}

.tsea-spotlight-block .tsea-spotlight-image-logo img {
  max-height: 175px;
  max-width: 72%;
}

.tsea-spotlight-block .tsea-spotlight-copy {
  align-items: flex-start;
  background: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 32px 40px 36px;
}

.tsea-spotlight-block .tsea-spotlight-label {
  color: var(--spot-red);
  display: block;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 1.4px;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.tsea-spotlight-block .tsea-spotlight-copy h3 {
  color: var(--spot-navy);
  font-size: 31px;
  line-height: 1.12;
  margin: 0 0 12px;
}

.tsea-spotlight-block .tsea-spotlight-copy p {
  color: var(--spot-muted);
  font-size: 15px;
  line-height: 1.55;
  margin: 0 0 18px;
  max-width: 680px;
}

.tsea-spotlight-block .tsea-spotlight-copy strong {
  color: var(--spot-navy);
}

.tsea-spotlight-block .tsea-spotlight-copy .tsea-button {
  min-height: 52px;
  padding-left: 22px;
  padding-right: 22px;
}

.tsea-spotlight-block .tsea-spotlight-copy .tsea-spotlight-meta {
  color: var(--spot-muted);
  font-size: 13px;
  margin-bottom: 17px;
}

.tsea-spotlight-block .tsea-spotlight-meta span {
  color: var(--spot-red);
  margin: 0 7px;
}

.tsea-spotlight-block .tsea-spotlight-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.tsea-spotlight-block .tsea-spotlight-text-link {
  color: var(--spot-navy) !important;
  font-size: 14px;
  font-weight: 750;
  text-decoration: none !important;
}

.tsea-spotlight-block .tsea-spotlight-text-link span {
  color: var(--spot-red);
  margin-left: 4px;
}

@media (max-width: 900px) {
  .tsea-spotlight-block .tsea-spotlight-gallery {
    grid-template-columns: 36% 64%;
  }

  .tsea-spotlight-block .tsea-spotlight-tab {
    padding-left: 22px;
    padding-right: 22px;
  }

  .tsea-spotlight-block .tsea-spotlight-copy {
    padding-left: 30px;
    padding-right: 30px;
  }
}

@media (max-width: 700px) {
  .tsea-spotlight-block .tsea-spotlight {
    padding: 52px 21px 58px;
  }

  .tsea-spotlight-block .tsea-spotlight-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .tsea-spotlight-block .tsea-spotlight-heading h2 {
    font-size: 36px;
  }

  .tsea-spotlight-block .tsea-spotlight-gallery {
    display: block;
  }

  .tsea-spotlight-block .tsea-spotlight-tabs {
    border-bottom: 1px solid var(--spot-border);
    border-right: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding: 0;
  }

  .tsea-spotlight-block .tsea-spotlight-tab {
    border-bottom: 4px solid transparent;
    border-left: 0;
    min-height: 100px;
    padding: 17px 12px;
    text-align: center;
  }

  .tsea-spotlight-block .tsea-spotlight-tab + .tsea-spotlight-tab {
    border-left: 1px solid var(--spot-border);
    border-top: 0;
  }

  .tsea-spotlight-block .tsea-spotlight-tab.is-active {
    border-bottom-color: var(--spot-red);
    border-left-color: transparent;
  }

  .tsea-spotlight-block .tsea-spotlight-tab span {
    font-size: 9px;
  }

  .tsea-spotlight-block .tsea-spotlight-tab strong {
    font-size: 14px;
  }

  .tsea-spotlight-block .tsea-spotlight-panel {
    grid-template-rows: 280px auto;
    min-height: 0;
  }
}

@media (max-width: 480px) {
  .tsea-spotlight-block .tsea-spotlight-tabs {
    grid-template-columns: 1fr;
  }

  .tsea-spotlight-block .tsea-spotlight-tab {
    border-bottom: 0;
    border-left: 4px solid transparent;
    min-height: 78px;
    padding: 14px 18px;
    text-align: left;
  }

  .tsea-spotlight-block .tsea-spotlight-tab + .tsea-spotlight-tab {
    border-left: 4px solid transparent;
    border-top: 1px solid var(--spot-border);
  }

  .tsea-spotlight-block .tsea-spotlight-tab.is-active {
    border-bottom-color: transparent;
    border-left-color: var(--spot-red);
  }

  .tsea-spotlight-block .tsea-spotlight-tab span {
    margin-bottom: 4px;
  }

  .tsea-spotlight-block .tsea-spotlight-copy {
    padding: 27px 22px 30px;
  }

  .tsea-spotlight-block .tsea-spotlight-copy h3 {
    font-size: 27px;
  }

  .tsea-spotlight-block .tsea-spotlight-actions {
    align-items: stretch;
    flex-direction: column;
    width: 100%;
  }

  .tsea-spotlight-block .tsea-spotlight-actions .tsea-button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tsea-spotlight-block .tsea-spotlight-tab {
    transition: none;
  }
}

/* v1.0.50 — editable Spotlight. A single active item becomes a clean feature;
   two or three items use the existing tabbed gallery. */
.tsea-spotlight-count-1 .tsea-spotlight-gallery {
  display:block;
  min-height:0;
}

.tsea-spotlight-count-1 .tsea-spotlight {
  padding-bottom:58px;
  padding-top:52px;
}

.tsea-spotlight-count-1 .tsea-spotlight-heading {
  margin-bottom:22px;
}

.tsea-spotlight-count-1 .tsea-spotlight-heading h2 {
  font-size:38px;
}

.tsea-spotlight-count-1 .tsea-spotlight-panel {
  grid-template-columns:minmax(300px, 42%) minmax(0, 58%);
  grid-template-rows:none;
  min-height:330px;
}

.tsea-spotlight-count-1 .tsea-spotlight-image {
  background:#eef3fa;
  border-bottom:0;
  border-right:1px solid var(--spot-border);
  min-height:330px;
  padding:34px;
}

.tsea-spotlight-count-1 .tsea-spotlight-image img {
  height:auto;
  max-height:260px;
  max-width:88%;
  object-fit:contain;
  width:auto;
}

.tsea-spotlight-count-1 .tsea-spotlight-copy {
  padding:42px 48px;
}

.tsea-spotlight-count-1 .tsea-spotlight-copy h3 {
  font-size:32px;
  font-style:normal;
  font-weight:700;
}

.tsea-spotlight-count-1 .tsea-spotlight-copy .tsea-button {
  align-items:center;
  background:#ec1e2f !important;
  border:2px solid #ec1e2f !important;
  color:#fff !important;
  display:inline-flex;
  font-size:14px;
  font-weight:750;
  justify-content:center;
  line-height:1.2;
  min-height:48px;
  padding:12px 20px;
  text-decoration:none !important;
}

.tsea-spotlight-count-1 .tsea-spotlight-copy .tsea-button:hover,
.tsea-spotlight-count-1 .tsea-spotlight-copy .tsea-button:focus-visible {
  background:#c91626 !important;
  border-color:#c91626 !important;
  color:#fff !important;
}

@media (max-width:700px) {
  .tsea-spotlight-count-1 .tsea-spotlight-panel {
    display:block;
    min-height:0;
  }

  .tsea-spotlight-count-1 .tsea-spotlight-image {
    border-bottom:1px solid var(--spot-border);
    border-right:0;
    height:225px;
    min-height:0;
    padding:24px;
  }

  .tsea-spotlight-count-1 .tsea-spotlight-image img {
    max-height:177px;
    max-width:90%;
  }

  .tsea-spotlight-count-1 .tsea-spotlight-copy {
    padding:30px 22px 34px;
  }

  .tsea-spotlight-count-1 .tsea-spotlight-copy .tsea-button {
    justify-content:center;
    width:100%;
  }
}

body.tsea-homepage-active .entry-content,
body.tsea-homepage-active .entry-content,
body.tsea-homepage-active .post-content,
body.tsea-homepage-active main {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

.tsea-homepage-block p:empty,
.tsea-homepage-block br:only-child {
  display: none !important;
}

/* ---------- Shared system ---------- */

.tsea-homepage-block,
.tsea-homepage-block * {
  box-sizing: border-box;
}

.tsea-homepage-block {
  --navy: #1c2a58;
  --red: #ec1e2f;
  --red-dark: #c91626;
  --light-blue: #a8bbd9;
  --pale-blue: #eef3fa;
  --text: #26324a;
  --muted: #5f6878;
  --border: #dfe4ec;
  --content-width: 1180px;

  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-style: normal;
  line-height: 1.55;
  margin: 0 !important;
  overflow: hidden;
  width: 100%;
}

.tsea-homepage-block h1,
.tsea-homepage-block h2,
.tsea-homepage-block h3,
.tsea-homepage-block p {
  font-family: inherit;
  font-style: normal;
  margin-top: 0;
}

.tsea-homepage-block h1,
.tsea-homepage-block h2,
.tsea-homepage-block h3 {
  color: var(--navy);
  font-weight: 750;
  line-height: 1.12;
}

.tsea-homepage-block h2 {
  font-size: 36px;
  margin-bottom: 16px;
}

.tsea-homepage-block h3 {
  font-size: 22px;
  margin-bottom: 12px;
}

.tsea-homepage-block a {
  transition: background-color 0.2s ease,
              border-color 0.2s ease,
              box-shadow 0.2s ease,
              color 0.2s ease,
              transform 0.2s ease;
}

.tsea-homepage-block .tsea-inner {
  margin-left: auto;
  margin-right: auto;
  max-width: var(--content-width);
  width: 100%;
}

.tsea-homepage-block .tsea-section {
  padding: 68px 40px;
}

.tsea-homepage-block .tsea-eyebrow {
  color: var(--red);
  display: block;
  font-size: 13px;
  font-style: normal;
  font-weight: 750;
  letter-spacing: 1.5px;
  margin-bottom: 13px;
  text-transform: uppercase;
}

.tsea-homepage-block .tsea-section-intro {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
  margin-bottom: 36px;
  max-width: 900px;
}

/* ---------- Buttons ---------- */

.tsea-homepage-block .tsea-button {
  align-items: center;
  background: var(--red);
  border: 2px solid var(--red);
  border-radius: 4px;
  color: #fff !important;
  display: inline-flex;
  font-size: 16px;
  font-style: normal;
  font-weight: 750;
  justify-content: center;
  line-height: 1;
  min-height: 68px;
  padding: 0 34px;
  text-decoration: none !important;
}

.tsea-homepage-block .tsea-button:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
  color: #fff !important;
  transform: translateY(-2px);
}

.tsea-homepage-block .tsea-button-secondary {
  background: transparent;
  border-color: var(--navy);
  color: var(--navy) !important;
}

.tsea-homepage-block .tsea-button-secondary:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff !important;
}

/* ---------- Hero ---------- */

.tsea-homepage-block.tsea-hero-block {
  margin-top: -55px !important;
}

.tsea-homepage-block .tsea-hero {
  background-color: #fff;
  background-image: url("https://tseaonline.org/wp-content/uploads/Capitol-Image-for-Website-Homepage.jpg");
  background-position: right bottom;
  background-repeat: no-repeat;
  background-size: auto 100%;
  display: grid;
  grid-template-columns: 58% 42%;
  min-height: 480px;
  overflow: hidden;
}

.tsea-homepage-block .tsea-hero-copy {
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 52px 55px;
}

.tsea-homepage-block .tsea-hero h1 {
  color: var(--navy);
  font-size: clamp(43px, 3.35vw, 50px);
  letter-spacing: -1.4px;
  line-height: 1.08;
  margin-bottom: 23px;
  max-width: 630px;
}

.tsea-homepage-block .tsea-hero p {
  color: var(--muted);
  font-size: 19px;
  margin-bottom: 31px;
  max-width: 580px;
}

.tsea-homepage-block .tsea-hero-image {
  background: none;
  min-height: 480px;
}

.tsea-homepage-block .tsea-buttons {
  align-items: stretch;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 14px;
}

.tsea-homepage-block .tsea-buttons > p {
  display: contents;
  margin: 0;
  padding: 0;
}

.tsea-homepage-block .tsea-retiree-link {
  color: var(--navy);
  font-size: 15px;
  line-height: 1.5;
  margin-top: 20px;
  max-width: 580px;
}

.tsea-homepage-block .tsea-retiree-link a {
  color: var(--red);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.tsea-homepage-block .tsea-retiree-link a:hover,
.tsea-homepage-block .tsea-retiree-link a:focus-visible {
  color: var(--navy);
}

/* ---------- Mission ---------- */

.tsea-homepage-block .tsea-mission {
  background: var(--navy);
  color: #fff;
  padding: 48px 40px;
  text-align: center;
}

.tsea-homepage-block .tsea-mission .tsea-inner {
  max-width: 920px;
}

.tsea-homepage-block .tsea-mission .tsea-eyebrow {
  color: var(--light-blue);
  margin-bottom: 16px;
}

.tsea-homepage-block .tsea-mission p {
  color: #fff;
  font-size: 23px;
  font-weight: 500;
  line-height: 1.4;
  margin: 0 auto;
  max-width: 900px;
}

/* ---------- Who we serve ---------- */

.tsea-homepage-block .tsea-who-we-serve {
  padding-bottom: 38px;
}

.tsea-homepage-block .tsea-audience-grid {
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 0;
}

.tsea-homepage-block .tsea-audience-card {
  background: #fff;
  border: 1px solid var(--border);
  border-top: 5px solid var(--navy);
  display: flex;
  flex-direction: column;
  float: none !important;
  min-height: 290px;
  padding: 52px 40px 38px !important;
  width: auto !important;
}

.tsea-homepage-block .tsea-audience-card:nth-child(2) {
  border-top-color: var(--red);
}

.tsea-homepage-block .tsea-audience-card h3 {
  margin-bottom: 16px;
}

.tsea-homepage-block .tsea-audience-card p {
  color: var(--muted);
  margin-bottom: 0;
}

/* ---------- Featured highlight ---------- */

.tsea-homepage-block .tsea-feature-section {
  background: #fff;
  padding: 30px 0 68px;
}

.tsea-homepage-block .tsea-feature-heading {
  margin: 0 auto !important;
  max-width: 1180px !important;
  padding: 0 !important;
  width: calc(100% - 80px) !important;
}

@media (max-width: 650px) {
  .tsea-homepage-block .tsea-feature-heading {
    width: calc(100% - 42px) !important;
  }
}

/* =========================================================
   HOMEPAGE TEST — CALENDAR
   One proven agenda embed at full available width.
   ========================================================= */

body.tsea-homepage-active .tsea-calendar-section {
  background: #fff !important;
}

body.tsea-homepage-active .tsea-calendar-heading {
  margin-bottom: 28px !important;
}

body.tsea-homepage-active .tsea-calendar-heading h2 {
  color: #1c2a58 !important;
  margin-bottom: 10px !important;
}

body.tsea-homepage-active .tsea-calendar-heading p {
  color: #5f6878 !important;
  font-size: 17px !important;
  margin: 0 !important;
}

body.tsea-homepage-active .tsea-calendar-frame {
  background: #fff !important;
  border: 1px solid #dfe4ec !important;
  border-radius: 4px !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05) !important;
  height: 650px !important;
  overflow: hidden !important;
  position: relative !important;
  width: 100% !important;
}

body.tsea-homepage-active .tsea-calendar-frame iframe,
body.tsea-homepage-active .tsea-calendar-embed {
  border: 0 !important;
  display: block !important;
  height: 100% !important;
  inset: 0 !important;
  max-width: none !important;
  position: absolute !important;
  width: 100% !important;
}

/* =========================================================
   HOMEPAGE TEST — MOBILE LAYOUT
   Avenue owns desktop. These rules cannot run above 900px.
   ========================================================= */

@media screen and (max-width: 900px) {
  html.tsea-homepage-active,
  body.tsea-homepage-active {
    min-width: 0 !important;
    overflow-x: hidden !important;
    width: 100% !important;
  }

  body.tsea-homepage-active #wrapper,
  body.tsea-homepage-active #wrapper-content,
  body.tsea-homepage-active #fullwidth,
  body.tsea-homepage-active #fullwidth > .post-entry,
  body.tsea-homepage-active .post-entry,
  body.tsea-homepage-active .entry-content {
    box-sizing: border-box !important;
    float: none !important;
    left: auto !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    max-width: none !important;
    min-width: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    right: auto !important;
    width: 100% !important;
  }

  body.tsea-homepage-active .tsea-homepage-block,
  body.tsea-homepage-active .tsea-spotlight-block {
    max-width: 100% !important;
    min-width: 0 !important;
    width: 100% !important;
  }

  body.tsea-homepage-active #header {
    display: none !important;
  }

  body.tsea-homepage-active .mob-menu-header-holder {
    background: #fff !important;
    display: block !important;
    height: 78px !important;
    min-height: 78px !important;
    position: relative !important;
  }

  body.tsea-homepage-active .mob-menu-logo-holder {
    background: transparent !important;
    display: block !important;
    font-size: 0 !important;
    height: 78px !important;
    left: 50% !important;
    line-height: 0 !important;
    overflow: hidden !important;
    position: absolute !important;
    top: 0 !important;
    transform: translateX(-50%) !important;
    width: 190px !important;
  }

  body.tsea-homepage-active .mob-menu-logo-holder > * {
    display: none !important;
    visibility: hidden !important;
  }

  body.tsea-homepage-active .mob-menu-logo-holder::before {
    background: url("https://tseaonline.org/wp-content/uploads/2019-Banner-Logo.png") center / contain no-repeat !important;
    content: "" !important;
    display: block !important;
    height: 62px !important;
    margin: 8px auto !important;
    width: 190px !important;
  }

  body.tsea-homepage-active .mobmenul-container,
  body.tsea-homepage-active .mobmenu-left-bt {
    left: 14px !important;
    position: absolute !important;
    top: 15px !important;
    z-index: 5 !important;
  }
}

@media screen and (max-width: 650px) {
  body.tsea-homepage-active .tsea-homepage-block .tsea-section,
  body.tsea-homepage-active .tsea-spotlight-block .tsea-spotlight {
    padding-left: 21px !important;
    padding-right: 21px !important;
  }

  body.tsea-homepage-active .tsea-homepage-block .tsea-who-we-serve,
  body.tsea-homepage-active .tsea-homepage-block .tsea-services-section,
  body.tsea-homepage-active .tsea-homepage-block .tsea-calendar-section {
    padding-bottom: 48px !important;
    padding-top: 48px !important;
  }

  body.tsea-homepage-active .tsea-homepage-block .tsea-audience-grid {
    gap: 16px !important;
  }

  body.tsea-homepage-active .tsea-homepage-block .tsea-audience-card {
    min-height: 0 !important;
    padding: 28px 24px !important;
  }

  body.tsea-homepage-active .tsea-calendar-heading {
    margin-bottom: 24px !important;
  }

  body.tsea-homepage-active .tsea-calendar-frame {
    height: 540px !important;
  }

  body.tsea-homepage-active .tsea-homepage-block .tsea-cta {
    padding: 42px 21px !important;
  }

  body.tsea-homepage-active .tsea-homepage-block .tsea-site-footer {
    padding: 36px 21px 0 !important;
  }

  body.tsea-homepage-active .tsea-homepage-block .tsea-footer-grid {
    gap: 26px !important;
  }

  body.tsea-homepage-active .tsea-homepage-block .tsea-footer-bottom {
    gap: 8px !important;
    margin-top: 26px !important;
    padding: 18px 0 !important;
  }
}

/* =========================================================
   CUSTOM HOMEPAGE FOOTER
   ========================================================= */

.tsea-homepage-block .tsea-site-footer {
  background: #fff !important;
  border-top: 3px solid var(--red) !important;
  color: var(--text) !important;
  margin: 0 !important;
  padding: 42px 42px 0 !important;
}

.tsea-homepage-block .tsea-footer-grid {
  display: grid !important;
  gap: 42px !important;
  grid-template-columns: 1.15fr 0.8fr 1.45fr !important;
  margin: 0 auto !important;
  max-width: var(--content-width) !important;
  width: 100% !important;
}

.tsea-homepage-block .tsea-footer-logo {
  background: #fff !important;
  height: 68px !important;
  margin: 0 0 24px !important;
  max-width: 230px !important;
  overflow: hidden !important;
  position: relative !important;
  width: 100% !important;
}

.tsea-homepage-block .tsea-footer-logo img {
  display: block !important;
  height: auto !important;
  left: 50% !important;
  max-width: none !important;
  position: absolute !important;
  top: 50% !important;
  transform: translate(-50%, -50%) scale(2.35) !important;
  width: 100% !important;
}

.tsea-homepage-block .tsea-footer-title {
  color: var(--navy) !important;
  font-size: 18px !important;
  line-height: 1.35 !important;
  margin: 0 0 18px !important;
}

.tsea-homepage-block .tsea-footer-address,
.tsea-homepage-block .tsea-footer-copy {
  color: var(--muted) !important;
  font-size: 14px !important;
  line-height: 1.6 !important;
  margin: 0 0 18px !important;
  opacity: 1 !important;
}

.tsea-homepage-block .tsea-footer-address span {
  display: block !important;
  line-height: 1.6 !important;
  margin: 0 !important;
  padding: 0 !important;
}

.tsea-homepage-block .tsea-footer-contact,
.tsea-homepage-block .tsea-footer-links {
  background: none !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.tsea-homepage-block .tsea-footer-contact li,
.tsea-homepage-block .tsea-footer-links li {
  background: none !important;
  list-style: none !important;
  margin: 0 0 9px !important;
  padding: 0 !important;
}

.tsea-homepage-block .tsea-footer-contact li::before,
.tsea-homepage-block .tsea-footer-contact li::after,
.tsea-homepage-block .tsea-footer-links li::before,
.tsea-homepage-block .tsea-footer-links li::after {
  content: none !important;
  display: none !important;
}

.tsea-homepage-block .tsea-footer-contact a,
.tsea-homepage-block .tsea-footer-links a {
  background: none !important;
  color: var(--navy) !important;
  font-size: 14px !important;
  line-height: 1.5 !important;
  text-decoration: none !important;
  transition: color 0.2s ease !important;
}

.tsea-homepage-block .tsea-footer-contact a:hover,
.tsea-homepage-block .tsea-footer-contact a:focus-visible,
.tsea-homepage-block .tsea-footer-links a:hover,
.tsea-homepage-block .tsea-footer-links a:focus-visible {
  color: var(--red) !important;
  text-decoration: underline !important;
  text-decoration-color: var(--red) !important;
  text-underline-offset: 4px !important;
}

.tsea-homepage-block .tsea-footer-button {
  align-items: center !important;
  background: #fff !important;
  border: 2px solid var(--navy) !important;
  color: var(--navy) !important;
  display: inline-flex !important;
  font-size: 14px !important;
  font-weight: 750 !important;
  gap: 14px !important;
  justify-content: center !important;
  min-height: 48px !important;
  padding: 11px 18px !important;
  text-decoration: none !important;
  transition: background-color 0.2s ease, border-color 0.2s ease !important;
  white-space: nowrap !important;
  width: auto !important;
}

.tsea-homepage-block .tsea-footer-button:hover,
.tsea-homepage-block .tsea-footer-button:focus-visible {
  background: var(--navy) !important;
  border-color: var(--navy) !important;
  color: #fff !important;
}

.tsea-homepage-block .tsea-footer-bottom {
  align-items: center !important;
  border-top: 1px solid var(--border) !important;
  display: flex !important;
  gap: 24px !important;
  justify-content: space-between !important;
  margin: 32px auto 0 !important;
  max-width: var(--content-width) !important;
  padding: 22px 0 !important;
  width: 100% !important;
}

.tsea-homepage-block .tsea-footer-bottom p {
  color: var(--muted) !important;
  font-size: 13px !important;
  line-height: 1.5 !important;
  margin: 0 !important;
}

.tsea-homepage-block .tsea-footer-bottom a {
  color: var(--navy) !important;
  font-size: 13px !important;
  text-decoration: none !important;
}

.tsea-homepage-block .tsea-footer-bottom a:hover,
.tsea-homepage-block .tsea-footer-bottom a:focus-visible {
  color: var(--red) !important;
  text-decoration: underline !important;
}

/* Hidden game trigger: keep the umbrella as a clean standalone icon. */
.tsea-homepage-block .tsea-footer-game-row {
  align-items: center !important;
  display: flex !important;
  height: 38px !important;
  justify-content: center !important;
  margin: -7px auto 8px !important;
  max-width: var(--content-width) !important;
  width: 100% !important;
}

.tsea-homepage-block button.tsea-game-umbrella {
  -webkit-appearance: none !important;
  align-items: center !important;
  appearance: none !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  color: var(--navy) !important;
  cursor: pointer !important;
  display: inline-flex !important;
  font-family: Georgia, "Times New Roman", serif !important;
  font-size: 22px !important;
  height: 34px !important;
  justify-content: center !important;
  line-height: 1 !important;
  margin: 0 !important;
  min-height: 0 !important;
  min-width: 0 !important;
  opacity: 0.42 !important;
  padding: 0 !important;
  position: static !important;
  text-indent: 0 !important;
  text-transform: none !important;
  transform: none !important;
  transition: color 0.2s ease, opacity 0.2s ease, transform 0.2s ease !important;
  width: 34px !important;
}

.tsea-homepage-block button.tsea-game-umbrella:hover,
.tsea-homepage-block button.tsea-game-umbrella:focus-visible {
  background: transparent !important;
  color: var(--red) !important;
  opacity: 1 !important;
  transform: translateY(-2px) rotate(-5deg) !important;
}

.tsea-homepage-block button.tsea-game-umbrella:focus-visible {
  outline: 2px solid var(--red) !important;
  outline-offset: 2px !important;
}

@media (max-width: 980px) {
  .tsea-homepage-block .tsea-footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 650px) {
  .tsea-homepage-block .tsea-site-footer {
    padding: 42px 24px 0 !important;
  }

  .tsea-homepage-block .tsea-footer-grid {
    gap: 36px !important;
    grid-template-columns: 1fr !important;
  }

  .tsea-homepage-block .tsea-footer-bottom {
    align-items: flex-start !important;
    flex-direction: column !important;
    gap: 10px !important;
    margin-top: 38px !important;
  }
}

.tsea-homepage-block .tsea-feature-card {
  align-items: stretch;
  background: var(--pale-blue);
  border: 1px solid var(--border);
  display: grid;
  grid-template-columns: 42% 58%;
  margin: 0;
  min-height: 0;
  overflow: hidden;
  width: 100%;
}

.tsea-homepage-block .tsea-feature-image {
  align-items: center;
  align-self: stretch;
  background: var(--pale-blue);
  cursor: pointer;
  display: flex;
  height: 100%;
  justify-content: center;
  overflow: hidden;
  padding: 35px;
  position: relative;
  text-decoration: none !important;
}

.tsea-homepage-block .tsea-feature-image img {
  border: 3px solid transparent;
  border-radius: 7px;
  box-shadow: 0 7px 20px rgba(28, 42, 88, 0.16);
  display: block;
  height: auto;
  max-width: 82%;
  object-fit: contain;
  transition: border-color 0.2s ease,
              box-shadow 0.2s ease,
              transform 0.2s ease;
  width: auto;
}

.tsea-homepage-block .tsea-feature-image:hover img {
  border-color: var(--red);
  box-shadow: 0 10px 28px rgba(28, 42, 88, 0.24);
  transform: translateY(-3px) scale(1.015);
}

.tsea-homepage-block .tsea-feature-image:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: -6px;
}

.tsea-homepage-block .tsea-feature-copy {
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px 46px;
}

.tsea-homepage-block .tsea-feature-copy h2 {
  font-size: 32px;
  margin-bottom: 16px;
}

.tsea-homepage-block .tsea-feature-copy p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
  margin-bottom: 24px;
}

/* ---------- Quick access ---------- */

.tsea-homepage-block .tsea-quick-section,
.tsea-homepage-block .tsea-resource-section {
  background: var(--pale-blue);
}

.tsea-homepage-block .tsea-quick-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 32px;
}

.tsea-homepage-block .tsea-quick-link {
  align-items: center;
  background: #fff;
  border: 1px solid var(--border);
  color: var(--navy) !important;
  display: flex;
  float: none !important;
  font-size: 17px;
  font-style: normal;
  font-weight: 750;
  justify-content: space-between;
  min-height: 78px;
  padding: 18px 21px;
  text-decoration: none !important;
  width: auto !important;
}

.tsea-homepage-block .tsea-quick-link b {
  color: var(--red);
  font-size: 22px;
}

.tsea-homepage-block .tsea-quick-link:hover {
  border-color: var(--red);
  transform: translateY(-2px);
}

/* =========================================================
   THE CHAPTER PROJECT — SIMPLE WHITE FEATURE
   ========================================================= */

.tsea-homepage-block .tsea-chapter-section {
  background: #fff !important;
  padding: 0 40px 42px !important;
}

.tsea-homepage-block .tsea-chapter-section .tsea-inner {
  border-bottom: 3px solid var(--red) !important;
  border-top: 3px solid var(--red) !important;
  margin: 0 auto !important;
  max-width: 1180px !important;
  padding: 34px 0 36px !important;
  width: 100% !important;
}

.tsea-homepage-block .tsea-chapter-section .tsea-chapter-label {
  margin: 0 0 22px !important;
}

.tsea-homepage-block .tsea-chapter-card {
  align-items: center !important;
  background: #fff !important;
  border-bottom: 0 !important;
  border-left: 0 !important;
  border-right: 0 !important;
  border-top: 0 !important;
  display: grid !important;
  gap: 48px !important;
  grid-template-columns: 270px minmax(0, 1fr) !important;
  margin: 0 !important;
  overflow: visible !important;
  padding: 0 34px !important;
  width: 100% !important;
}

/* Remove formatting accidentally inserted by WordPress */

.tsea-homepage-block .tsea-chapter-card > p,
.tsea-homepage-block .tsea-chapter-card > br {
  display: none !important;
}

/* Logo */

.tsea-homepage-block .tsea-chapter-image {
  align-items: center !important;
  background: transparent !important;
  border: 0 !important;
  display: flex !important;
  grid-column: 1 !important;
  grid-row: 1 !important;
  justify-content: center !important;
  margin: 0 !important;
  padding: 0 !important;
  text-decoration: none !important;
  width: 100% !important;
}

.tsea-homepage-block .tsea-chapter-image img {
  display: block !important;
  height: auto !important;
  margin: 0 !important;
  max-height: 145px !important;
  max-width: 250px !important;
  object-fit: contain !important;
  width: auto !important;
}

/* Copy */

.tsea-homepage-block .tsea-chapter-copy {
  grid-column: 2 !important;
  grid-row: 1 !important;
  margin: 0 !important;
  max-width: 680px !important;
  padding: 0 !important;
}

.tsea-homepage-block .tsea-chapter-label {
  color: var(--red) !important;
  display: block !important;
  font-size: 13px !important;
  font-style: normal !important;
  font-weight: 750 !important;
  letter-spacing: 1.4px !important;
  margin: 0 0 10px !important;
  text-transform: uppercase !important;
}

.tsea-homepage-block .tsea-chapter-copy h2 {
  color: var(--navy) !important;
  font-size: 34px !important;
  line-height: 1.12 !important;
  margin: 0 0 14px !important;
}

.tsea-homepage-block .tsea-chapter-copy p {
  color: var(--muted) !important;
  font-size: 16px !important;
  line-height: 1.6 !important;
  margin: 0 0 21px !important;
}

.tsea-homepage-block .tsea-chapter-copy strong {
  color: var(--navy) !important;
}

.tsea-homepage-block .tsea-chapter-copy .tsea-button {
  min-height: 52px !important;
  padding: 11px 21px !important;
}

/* Mobile */

@media (max-width: 650px) {
  .tsea-homepage-block .tsea-chapter-section {
    padding: 0 21px 34px !important;
  }

  .tsea-homepage-block .tsea-chapter-section .tsea-inner {
    padding: 28px 0 30px !important;
  }

  .tsea-homepage-block .tsea-chapter-card {
    gap: 26px !important;
    grid-template-columns: 1fr !important;
    padding: 32px 18px !important;
  }

  .tsea-homepage-block .tsea-chapter-image {
    grid-column: 1 !important;
    grid-row: 1 !important;
  }

  .tsea-homepage-block .tsea-chapter-image img {
    max-height: 125px !important;
    max-width: 230px !important;
  }

  .tsea-homepage-block .tsea-chapter-copy {
    grid-column: 1 !important;
    grid-row: 2 !important;
  }

  .tsea-homepage-block .tsea-chapter-copy h2 {
    font-size: 30px !important;
  }

  .tsea-homepage-block .tsea-chapter-copy .tsea-button {
    justify-content: center !important;
    width: 100% !important;
  }
}

/* ---------- Current cards ---------- */

.tsea-homepage-block .tsea-current-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 34px;
}

.tsea-homepage-block .tsea-current-card {
  background: var(--pale-blue);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  min-height: 285px;
  padding: 36px;
}

.tsea-homepage-block .tsea-current-card p {
  color: var(--muted);
  font-size: 17px;
  margin-bottom: 25px;
}

.tsea-homepage-block .tsea-current-primary {
  background: var(--navy);
  border-color: var(--navy);
}

.tsea-homepage-block .tsea-current-primary h3,
.tsea-homepage-block .tsea-current-primary p,
.tsea-homepage-block .tsea-current-primary .tsea-eyebrow,
.tsea-homepage-block .tsea-current-primary .tsea-text-link {
  color: #fff !important;
}

/* ---------- Resources ---------- */

.tsea-homepage-block .tsea-resource-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 34px;
}

.tsea-homepage-block .tsea-resource-card {
  background: #fff;
  border-bottom: 4px solid var(--red);
  box-shadow: 0 8px 25px rgba(28, 42, 88, 0.08);
  color: var(--navy) !important;
  display: block;
  min-height: 130px;
  padding: 27px;
  text-decoration: none !important;
}

.tsea-homepage-block .tsea-resource-card:hover {
  transform: translateY(-3px);
}

.tsea-homepage-block .tsea-resource-card strong {
  display: block;
  font-size: 18px;
  line-height: 1.3;
}

.tsea-homepage-block .tsea-resource-card span {
  color: var(--muted);
  display: block;
  font-size: 14px;
  font-weight: 400;
  margin-top: 9px;
}

/* ---------- Closing CTA ---------- */

.tsea-homepage-block .tsea-cta {
  background: var(--navy) !important;
  color: #fff !important;
  padding: 48px 40px !important;
}

.tsea-homepage-block .tsea-cta .tsea-inner {
  align-items: center !important;
  display: grid !important;
  gap: 48px !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  margin: 0 auto !important;
  max-width: 1180px !important;
  width: 100% !important;
}

.tsea-homepage-block .tsea-cta .tsea-inner > p {
  display: contents !important;
}

.tsea-homepage-block .tsea-cta .tsea-inner > br {
  display: none !important;
}

.tsea-homepage-block .tsea-cta .tsea-inner > .tsea-button {
  grid-column: 2 !important;
}

.tsea-homepage-block .tsea-cta-copy {
  display: block !important;
  margin: 0 !important;
  max-width: 760px !important;
  padding: 0 !important;
}

.tsea-homepage-block .tsea-cta-copy h2 {
  color: #fff !important;
  display: block !important;
  font-size: 38px !important;
  line-height: 1.12 !important;
  margin: 0 0 10px !important;
}

.tsea-homepage-block .tsea-cta-copy p {
  color: #fff !important;
  display: block !important;
  font-size: 17px !important;
  line-height: 1.55 !important;
  margin: 0 !important;
  max-width: 720px !important;
}

.tsea-homepage-block .tsea-cta .tsea-button {
  min-height: 60px !important;
  padding: 0 28px !important;
  white-space: nowrap !important;
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .tsea-homepage-block.tsea-hero-block {
    margin-top: -30px !important;
  }

  .tsea-homepage-block .tsea-hero {
    background-image: none;
    grid-template-columns: 1fr;
  }

  .tsea-homepage-block .tsea-hero-copy {
    padding: 58px 35px;
  }

  .tsea-homepage-block .tsea-hero-image {
    background-image: url("https://tseaonline.org/wp-content/uploads/Capitol-Image-for-Website-Homepage.jpg");
    background-position: right bottom;
    background-repeat: no-repeat;
    background-size: contain;
    min-height: 360px;
  }

  .tsea-homepage-block .tsea-audience-grid,
  .tsea-homepage-block .tsea-quick-grid,
  .tsea-homepage-block .tsea-resource-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tsea-homepage-block .tsea-feature-card {
    grid-template-columns: 1fr;
  }

  .tsea-homepage-block .tsea-feature-image {
    height: auto;
    padding: 28px;
  }

  .tsea-homepage-block .tsea-feature-image img {
    max-width: 90%;
  }

  .tsea-homepage-block .tsea-feature-copy {
    padding: 32px 25px;
  }
}

@media (max-width: 650px) {
  .tsea-homepage-block.tsea-hero-block {
    margin-top: 0 !important;
  }

  .tsea-homepage-block .tsea-section {
    padding: 52px 21px;
  }

  .tsea-homepage-block .tsea-hero-copy {
    padding: 45px 22px;
  }

  .tsea-homepage-block .tsea-hero h1 {
    font-size: 37px;
  }

  .tsea-homepage-block .tsea-hero p {
    font-size: 17px;
  }

  .tsea-homepage-block .tsea-hero-image {
    min-height: 300px;
  }

  .tsea-homepage-block .tsea-buttons {
    flex-direction: column;
    width: 100%;
  }

  .tsea-homepage-block .tsea-buttons .tsea-button {
    width: 100%;
  }

  .tsea-homepage-block .tsea-retiree-link {
    font-size: 15px;
    margin-top: 18px;
    text-align: center;
    width: 100%;
  }

  .tsea-homepage-block .tsea-mission {
    padding: 45px 22px;
  }

  .tsea-homepage-block .tsea-mission p {
    font-size: 20px;
  }

  .tsea-homepage-block .tsea-who-we-serve {
    padding-bottom: 32px;
  }

  .tsea-homepage-block .tsea-audience-grid,
  .tsea-homepage-block .tsea-quick-grid,
  .tsea-homepage-block .tsea-current-grid,
  .tsea-homepage-block .tsea-resource-grid {
    grid-template-columns: 1fr;
  }

  .tsea-homepage-block .tsea-audience-card {
    min-height: 0;
    padding: 38px 28px;
  }

  .tsea-homepage-block .tsea-feature-section {
    padding: 26px 0 52px;
  }


  .tsea-homepage-block .tsea-feature-copy h2 {
    font-size: 28px;
  }

  .tsea-homepage-block .tsea-feature-copy .tsea-button {
    text-align: center;
    width: 100%;
  }

  .tsea-homepage-block .tsea-cta {
    padding: 44px 22px !important;
  }

  .tsea-homepage-block .tsea-cta .tsea-inner {
    align-items: flex-start !important;
    gap: 26px !important;
    grid-template-columns: 1fr !important;
  }

  .tsea-homepage-block .tsea-cta-copy h2 {
    font-size: 32px !important;
  }

  .tsea-homepage-block .tsea-cta .tsea-button {
    grid-column: 1 !important;
    width: 100% !important;
  }
}
/* SECOND FEATURED HIGHLIGHT */

.tsea-homepage-block .tsea-feature-section-secondary {
  padding-top: 0;
}

.tsea-homepage-block .tsea-feature-actions {
  align-items: stretch;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.tsea-homepage-block .tsea-feature-actions .tsea-button {
  min-height: 60px;
  padding-left: 24px;
  padding-right: 24px;
}

@media (max-width: 650px) {
  .tsea-homepage-block .tsea-feature-actions {
    flex-direction: column;
    width: 100%;
  }

  .tsea-homepage-block .tsea-feature-actions .tsea-button {
    width: 100%;
  }
}/* ELECTION FEATURE */

.tsea-homepage-block .tsea-voting-section {
  background: #fff;
  padding: 0 40px 28px !important;
}

.tsea-homepage-block .tsea-voting-section .tsea-inner {
  margin: 0 auto !important;
  max-width: 1180px !important;
  width: 100% !important;
}

.tsea-homepage-block .tsea-voting-card {
  align-items: stretch;
  background: var(--navy);
  display: grid;
  grid-template-columns: 43% 57%;
  min-height: 540px;
  overflow: hidden;
}

/* Fill the complete left column with the photo */

.tsea-homepage-block .tsea-voting-image {
  background-image: url("https://tseaonline.org/wp-content/uploads/Tennessee-Capitol.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  display: block;
  min-height: 540px;
  overflow: hidden;
}

.tsea-homepage-block .tsea-voting-image img {
  display: none;
}

/* Right-side content */

.tsea-homepage-block .tsea-voting-copy {
  align-items: flex-start;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px 54px;
}

.tsea-homepage-block .tsea-voting-label {
  color: #fff !important;
  display: block;
  font-size: 13px;
  font-weight: 750;
  letter-spacing: 1.5px;
  margin-bottom: 18px;
  text-transform: uppercase;
}

.tsea-homepage-block .tsea-voting-label::before {
  background: var(--red);
  content: "";
  display: inline-block;
  height: 3px;
  margin-right: 10px;
  vertical-align: middle;
  width: 30px;
}

.tsea-homepage-block .tsea-voting-copy h2 {
  color: #fff !important;
  display: block !important;
  font-size: 42px !important;
  line-height: 1.08 !important;
  margin: 0 0 20px !important;
}

.tsea-homepage-block .tsea-voting-copy p {
  color: #fff !important;
  font-size: 17px;
  line-height: 1.55;
  margin: 0 0 22px;
}

.tsea-homepage-block .tsea-election-dates {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 22px;
  width: 100%;
}

.tsea-homepage-block .tsea-election-dates div {
  background: rgba(255, 255, 255, 0.1);
  border-left: 4px solid var(--red);
  padding: 14px 17px;
}

.tsea-homepage-block .tsea-election-dates strong,
.tsea-homepage-block .tsea-election-dates span {
  display: block;
}

.tsea-homepage-block .tsea-election-dates strong {
  color: #fff;
  font-size: 17px;
}

.tsea-homepage-block .tsea-election-dates span {
  color: var(--light-blue);
  font-size: 14px;
  margin-top: 3px;
}

.tsea-homepage-block .tsea-voting-emphasis {
  font-weight: 700;
}

/* Keep both buttons on one row */

.tsea-homepage-block .tsea-feature-actions {
  align-items: stretch;
  display: flex;
  flex-wrap: nowrap;
  gap: 12px;
  width: 100%;
}

.tsea-homepage-block .tsea-feature-actions > p {
  display: contents;
}

.tsea-homepage-block .tsea-feature-actions .tsea-button {
  flex: 1 1 0;
  font-size: 15px;
  min-height: 60px;
  padding: 0 16px;
  white-space: nowrap;
}

.tsea-homepage-block .tsea-voting-secondary {
  background: transparent;
  border-color: #fff;
  color: #fff !important;
}

.tsea-homepage-block .tsea-voting-secondary:hover {
  background: #fff;
  border-color: #fff;
  color: var(--navy) !important;
}

@media (max-width: 900px) {
  .tsea-homepage-block .tsea-voting-card {
    grid-template-columns: 1fr;
  }

  .tsea-homepage-block .tsea-voting-image {
    min-height: 360px;
  }
}

@media (max-width: 650px) {
  .tsea-homepage-block .tsea-voting-section {
    padding: 0 21px 24px !important;
  }

  .tsea-homepage-block .tsea-voting-copy {
    padding: 38px 24px;
  }

  .tsea-homepage-block .tsea-voting-copy h2 {
    font-size: 34px !important;
  }

  .tsea-homepage-block .tsea-election-dates {
    grid-template-columns: 1fr;
  }

  .tsea-homepage-block .tsea-feature-actions {
    flex-direction: column;
  }

  .tsea-homepage-block .tsea-feature-actions .tsea-button {
    flex: none;
    width: 100%;
  }
}/* ELECTION ACCENTS — STATIC AND CONSISTENT */

.tsea-voting-card {
  border-top: 5px solid var(--red);
  position: relative;
}

.tsea-voting-label {
  align-items: center;
  color: #fff;
  display: flex;
  font-size: 15px;
  font-weight: 800;
  gap: 14px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
}

.tsea-voting-label::before {
  background: var(--red);
  content: "";
  display: block;
  flex: 0 0 40px;
  height: 4px;
  width: 40px;
}

.tsea-voting-image {
  background-size: cover !important;
  transition: none !important;
}

.tsea-voting-card:hover .tsea-voting-image {
  background-size: cover !important;
}

.tsea-voting-date {
  transition: background-color 0.2s ease;
}

.tsea-voting-date:hover {
  background: rgba(255, 255, 255, 0.16);
  transform: none;
}/* =========================================================
   QUICK ACCESS
   ========================================================= */

.tsea-quick-section {
  background: var(--pale-blue);
  padding: 64px 40px 68px;
}

.tsea-quick-section .tsea-inner {
  margin: 0 auto;
  max-width: var(--content-width);
  width: 100%;
}

.tsea-quick-section h2 {
  color: var(--navy);
  font-size: 42px !important;
  line-height: 1.15 !important;
  margin: 0 0 34px !important;
}

/* Links */

.tsea-quick-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tsea-quick-link {
  align-items: center;
  background: #fff;
  border: 1px solid var(--border);
  border-left: 4px solid var(--navy);
  color: var(--navy) !important;
  display: flex;
  font-size: 17px;
  font-weight: 750;
  gap: 18px;
  justify-content: space-between;
  min-height: 82px;
  padding: 18px 20px 18px 22px;
  text-decoration: none !important;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.tsea-quick-link:hover,
.tsea-quick-link:focus {
  border-left-color: var(--red);
  box-shadow: 0 7px 18px rgba(28, 42, 88, 0.11);
  color: var(--navy) !important;
  transform: translateY(-2px);
}

/* Arrow */

.tsea-quick-link > span:last-child {
  align-items: center;
  background: var(--pale-blue);
  border-radius: 50%;
  color: var(--red);
  display: flex;
  flex: 0 0 34px;
  font-size: 18px;
  height: 34px;
  justify-content: center;
  transition:
    background-color 0.2s ease,
    color 0.2s ease;
  width: 34px;
}

.tsea-quick-link:hover > span:last-child,
.tsea-quick-link:focus > span:last-child {
  background: var(--red);
  color: #fff;
}

/* Coming-soon item */

.tsea-quick-link small {
  background: var(--pale-blue);
  border-radius: 20px;
  color: var(--muted);
  display: inline-block;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.5px;
  margin-left: 7px;
  padding: 4px 8px;
  text-transform: uppercase;
  vertical-align: middle;
}

.tsea-quick-link.is-placeholder {
  border-left-color: var(--light-blue);
  cursor: default;
}

.tsea-quick-link.is-placeholder:hover,
.tsea-quick-link.is-placeholder:focus {
  box-shadow: none;
  transform: none;
}

.tsea-quick-link.is-placeholder > span:last-child {
  display: none;
}

/* Tablet */

@media (max-width: 900px) {
  .tsea-quick-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Mobile */

@media (max-width: 650px) {
  .tsea-quick-section {
    padding: 48px 21px 52px;
  }

  .tsea-quick-section h2 {
    font-size: 34px !important;
    margin-bottom: 26px !important;
  }

  .tsea-quick-grid {
    grid-template-columns: 1fr;
  }

  .tsea-quick-link {
    min-height: 74px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tsea-quick-link,
  .tsea-quick-link > span:last-child {
    transition: none;
  }

  .tsea-quick-link:hover,
  .tsea-quick-link:focus {
    transform: none;
  }

}

	/* =========================================================
   QUICK ACCESS WEBSITE SEARCH
   ========================================================= */

.tsea-homepage-block .tsea-search-area {
  border-top: 1px solid var(--border);
  margin-top: 34px;
  padding-top: 28px;
}

.tsea-homepage-block .tsea-search-heading {
  border-bottom: 2px solid var(--red);
  color: var(--navy);
  font-size: 20px;
  font-style: italic;
  font-weight: 500;
  margin: 0 0 16px;
  max-width: 620px;
  padding: 0 0 10px;
}

.tsea-homepage-block #tsea-homepage-search-form {
  background: #fff !important;
  border: 1px solid var(--border) !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 58px !important;
  margin: 0 !important;
  max-width: 620px !important;
  overflow: hidden !important;
  padding: 0 !important;
  width: 100% !important;
}

.tsea-homepage-block #tsea-search-input {
  appearance: none !important;
  background: #fff !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  color: var(--text) !important;
  display: block !important;
  float: none !important;
  font-family: inherit !important;
  font-size: 16px !important;
  font-style: normal !important;
  height: 56px !important;
  margin: 0 !important;
  min-width: 0 !important;
  opacity: 1 !important;
  outline: none !important;
  padding: 12px 17px !important;
  position: static !important;
  visibility: visible !important;
  width: 100% !important;
}

.tsea-homepage-block #tsea-search-input::placeholder {
  color: var(--muted) !important;
  font-style: italic;
  opacity: 1 !important;
}

.tsea-homepage-block #tsea-search-input:focus {
  box-shadow: inset 0 0 0 2px var(--light-blue) !important;
}

.tsea-homepage-block #tsea-homepage-search-form button {
  align-items: center !important;
  background: #fff !important;
  border: 0 !important;
  border-left: 1px solid var(--border) !important;
  border-radius: 0 !important;
  cursor: pointer !important;
  display: flex !important;
  height: 56px !important;
  justify-content: center !important;
  margin: 0 !important;
  padding: 0 !important;
  width: 58px !important;
}

.tsea-homepage-block #tsea-homepage-search-form button:hover,
.tsea-homepage-block #tsea-homepage-search-form button:focus {
  background: var(--pale-blue) !important;
}

/* CSS-drawn magnifying glass */

.tsea-homepage-block .tsea-magnifier {
  border: 3px solid var(--navy);
  border-radius: 50%;
  display: block;
  height: 17px;
  position: relative;
  width: 17px;
}

.tsea-homepage-block .tsea-magnifier::after {
  background: var(--navy);
  content: "";
  height: 3px;
  position: absolute;
  right: -8px;
  top: 14px;
  transform: rotate(45deg);
  transform-origin: left center;
  width: 9px;
}

.tsea-visually-hidden {
  height: 1px !important;
  margin: -1px !important;
  overflow: hidden !important;
  padding: 0 !important;
  position: absolute !important;
  width: 1px !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
}/* Keep the theme from blocking the search field */

.tsea-homepage-block #tsea-homepage-search-form {
  pointer-events: auto !important;
  position: relative !important;
}

.tsea-homepage-block #tsea-search-input {
  cursor: text !important;
  pointer-events: auto !important;
  position: relative !important;
  user-select: text !important;
  z-index: 2 !important;
}

.tsea-homepage-block #tsea-homepage-search-form button {
  pointer-events: auto !important;
  position: relative !important;
  z-index: 3 !important;
}

/* =========================================================
   WHAT TSEA DOES
   ========================================================= */

.tsea-homepage-block .tsea-services-section {
  background: #fff !important;
  padding: 68px 40px 72px !important;
}

.tsea-homepage-block .tsea-services-section .tsea-inner {
  margin: 0 auto !important;
  max-width: 1180px !important;
  width: 100% !important;
}

.tsea-homepage-block .tsea-services-heading {
  margin: 0 auto 42px !important;
  max-width: 760px !important;
  text-align: center !important;
}

.tsea-homepage-block .tsea-services-heading h2 {
  color: var(--navy) !important;
  font-size: 40px !important;
  margin: 0 0 12px !important;
}

.tsea-homepage-block .tsea-services-heading p {
  color: var(--muted) !important;
  font-size: 17px !important;
  line-height: 1.6 !important;
  margin: 0 !important;
}

.tsea-homepage-block .tsea-services-grid {
  display: grid !important;
  gap: 0 !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  margin: 0 auto !important;
  max-width: 1080px !important;
  width: 100% !important;
}

.tsea-homepage-block .tsea-service-item {
  align-items: flex-start !important;
  display: grid !important;
  gap: 20px !important;
  grid-template-columns: 58px minmax(0, 1fr) !important;
  padding: 6px 32px !important;
}

.tsea-homepage-block .tsea-service-item + .tsea-service-item {
  border-left: 1px solid var(--border) !important;
}

.tsea-homepage-block .tsea-service-icon {
  align-items: center !important;
  color: var(--navy) !important;
  display: flex !important;
  height: 58px !important;
  justify-content: center !important;
  width: 58px !important;
}

.tsea-homepage-block .tsea-service-icon svg {
  display: block !important;
  fill: none !important;
  height: 52px !important;
  stroke: currentColor !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
  stroke-width: 1.7 !important;
  width: 52px !important;
}

.tsea-homepage-block .tsea-service-item:nth-child(2) .tsea-service-icon {
  color: var(--red) !important;
}

.tsea-homepage-block .tsea-service-copy h3 {
  color: var(--navy) !important;
  font-size: 22px !important;
  margin: 0 0 9px !important;
}

.tsea-homepage-block .tsea-service-copy p {
  color: var(--muted) !important;
  font-size: 15px !important;
  line-height: 1.6 !important;
  margin: 0 !important;
}

@media (max-width: 900px) {
  .tsea-homepage-block .tsea-services-grid {
    gap: 30px !important;
    grid-template-columns: 1fr !important;
  }

  .tsea-homepage-block .tsea-service-item {
    padding: 0 !important;
  }

  .tsea-homepage-block .tsea-service-item + .tsea-service-item {
    border-left: 0 !important;
    border-top: 1px solid var(--border) !important;
    padding-top: 30px !important;
  }
}

@media (max-width: 650px) {
  .tsea-homepage-block .tsea-services-section {
    padding: 52px 21px 56px !important;
  }

  .tsea-homepage-block .tsea-services-heading {
    margin-bottom: 34px !important;
    text-align: left !important;
  }

  .tsea-homepage-block .tsea-services-heading h2 {
    font-size: 34px !important;
  }

  .tsea-homepage-block .tsea-service-item {
    gap: 17px !important;
    grid-template-columns: 50px minmax(0, 1fr) !important;
  }

  .tsea-homepage-block .tsea-service-icon,
  .tsea-homepage-block .tsea-service-icon svg {
    height: 46px !important;
    width: 46px !important;
  }
}
/* Plugin-owned additions */
body.tsea-homepage-active #tsea-plugin-homepage { margin:0 !important; max-width:none !important; padding:0 !important; width:100% !important; }
body.tsea-homepage-active #tsea-plugin-homepage .tsea-homepage-block { max-width:none !important; }
.tsea-home-alert { background:#fff3cd; border-bottom:1px solid #ead18a; border-top:1px solid #ead18a; padding:18px 40px; }
.tsea-home-alert .tsea-inner { align-items:center; display:flex; gap:24px; justify-content:space-between; margin:0 auto; max-width:1180px; }
.tsea-home-alert strong { color:#1c2a58; display:block; font-size:18px; }
.tsea-home-alert p { color:#26324a; margin:4px 0 0; }
.tsea-home-alert .tsea-button { min-height:48px; white-space:nowrap; }

/* v1.0.50 — flexible homepage alerts. */
.tsea-home-alert {
  border-bottom:1px solid #ccd7e8 !important;
  border-top:1px solid #ccd7e8 !important;
  padding:18px 40px !important;
}
.tsea-home-alert .tsea-inner {
  align-items:center !important;
  display:flex !important;
  gap:28px !important;
  justify-content:space-between !important;
  margin:0 auto !important;
  max-width:1180px !important;
  width:100% !important;
}
.tsea-home-alert-copy strong {
  color:#1c2a58 !important;
  display:block !important;
  font-size:18px !important;
  line-height:1.3 !important;
  margin:0 0 4px !important;
}
.tsea-home-alert-copy p {
  color:#3f4858 !important;
  font-size:15px !important;
  line-height:1.5 !important;
  margin:0 !important;
}
.tsea-home-alert-notice { background:#eef3fa !important; }
.tsea-home-alert-action { background:#e9f1ff !important; border-left:6px solid #1c2a58 !important; }
.tsea-home-alert-urgent { background:#fff0f1 !important; border-color:#ec1e2f !important; border-left:6px solid #ec1e2f !important; }
.tsea-home-alert-holiday { background:#f5f1e8 !important; border-color:#d8ccb3 !important; }
.tsea-home-alert-urgent .tsea-home-alert-copy strong { color:#b51222 !important; }
.tsea-home-alert .tsea-button {
  flex:0 0 auto !important;
  margin:0 !important;
  min-height:46px !important;
  white-space:nowrap !important;
}
@media (max-width:700px) {
  .tsea-home-alert { padding:18px 21px !important; }
  .tsea-home-alert .tsea-inner { align-items:stretch !important; flex-direction:column !important; gap:15px !important; }
  .tsea-home-alert .tsea-button { justify-content:center !important; width:100% !important; }
}
@media(max-width:650px){.tsea-home-alert{padding:16px 21px}.tsea-home-alert .tsea-inner{align-items:stretch;flex-direction:column;gap:14px}.tsea-home-alert .tsea-button{width:100%}}

/* v1.0.1 — protect What TSEA Does from Avenue legacy column/float rules. */
.tsea-homepage-block .tsea-services-grid > .tsea-service-item {
  box-sizing: border-box !important;
  float: none !important;
  margin: 0 !important;
  max-width: none !important;
  min-width: 0 !important;
  width: auto !important;
}
.tsea-homepage-block .tsea-service-copy {
  box-sizing: border-box !important;
  float: none !important;
  margin: 0 !important;
  max-width: none !important;
  min-width: 0 !important;
  width: 100% !important;
}


/* TSEA Online Access: compact stacked access cards */
.tsea-homepage-block .tsea-footer-access-stack { min-width:0 !important; }
.tsea-homepage-block .tsea-access-card { background:#f7f9fc !important; border:1px solid var(--border) !important; border-radius:10px !important; box-shadow:none !important; margin:0 0 10px !important; padding:15px 17px !important; }
.tsea-homepage-block .tsea-access-card-field { background:#fff !important; border-color:rgba(28,42,88,.32) !important; border-left:4px solid var(--navy) !important; }
.tsea-homepage-block .tsea-access-kicker { color:var(--red) !important; display:block !important; font-size:10px !important; font-weight:800 !important; letter-spacing:.08em !important; line-height:1.2 !important; margin:0 0 5px !important; text-transform:uppercase !important; }
.tsea-homepage-block .tsea-access-card-field .tsea-access-kicker { color:var(--navy) !important; }
.tsea-homepage-block .tsea-access-card h3 { color:var(--navy) !important; font-size:17px !important; line-height:1.2 !important; margin:0 0 4px !important; }
.tsea-homepage-block .tsea-access-card p { color:var(--muted) !important; font-size:12px !important; line-height:1.4 !important; margin:0 0 8px !important; }
.tsea-homepage-block .tsea-access-link { color:var(--navy) !important; display:inline-flex !important; align-items:center !important; gap:7px !important; font-size:12px !important; font-weight:800 !important; line-height:1.2 !important; text-decoration:none !important; }
.tsea-homepage-block .tsea-access-link:hover,.tsea-homepage-block .tsea-access-link:focus-visible { color:var(--red) !important; text-decoration:underline !important; }
.tsea-homepage-block .tsea-access-link-field { color:var(--navy) !important; }

/* v1.0.10 — mobile shell polish. The mobile-menu plugin prints its header late
   in the document; pin it to the top instead of letting it appear after footer. */
@media screen and (max-width:900px) {
  body.tsea-homepage-active .mob-menu-header-holder {
    position:fixed !important;
    top:0 !important;
    right:0 !important;
    bottom:auto !important;
    left:0 !important;
    width:100% !important;
    z-index:99999 !important;
  }
  body.tsea-homepage-active #tsea-plugin-homepage {
    padding-top:78px !important;
  }
  body.tsea-homepage-active .tsea-homepage-block .tsea-cta .tsea-inner {
    display:flex !important;
    flex-direction:column !important;
    align-items:stretch !important;
    gap:24px !important;
  }
  body.tsea-homepage-active .tsea-homepage-block .tsea-cta-copy {
    max-width:none !important;
    width:100% !important;
  }
  body.tsea-homepage-active .tsea-homepage-block .tsea-cta-copy h2 {
    font-size:32px !important;
    line-height:1.12 !important;
  }
  body.tsea-homepage-active .tsea-homepage-block .tsea-cta-copy p {
    font-size:17px !important;
    line-height:1.55 !important;
    max-width:none !important;
  }
  body.tsea-homepage-active .tsea-homepage-block .tsea-cta .tsea-button {
    align-self:stretch !important;
    display:flex !important;
    justify-content:center !important;
    width:100% !important;
  }
}
@media screen and (max-width:650px) {
  body.tsea-homepage-active .tsea-homepage-block .tsea-cta-copy h2 { font-size:30px !important; }
  body.tsea-homepage-active .tsea-homepage-block .tsea-footer-bottom p,
  body.tsea-homepage-active .tsea-homepage-block .tsea-footer-bottom a {
    font-size:13px !important;
    line-height:1.5 !important;
  }
}


/* v1.0.24 — slightly larger centered TSEA mark in the established mobile header. */
@media screen and (max-width:900px) {
  body.tsea-homepage-active .mob-menu-logo-holder { width:240px !important; }
  body.tsea-homepage-active .mob-menu-logo-holder::before {
    height:68px !important;
    margin:5px auto !important;
    width:240px !important;
  }
}


/* v1.0.35 — logged-in homepage: keep the established mobile TSEA header
   below WordPress' 46px mobile admin toolbar. Logged-out mobile is unchanged. */
@media screen and (max-width:900px) {
  body.admin-bar.tsea-homepage-active .mob-menu-header-holder {
    top:46px !important;
  }
  body.admin-bar.tsea-homepage-active #tsea-plugin-homepage {
    padding-top:124px !important;
  }
}

/* v1.0.46 — keep the mobile homepage hero on a clean white canvas. */
@media screen and (max-width:900px) {
  body.tsea-homepage-active .tsea-homepage-block.tsea-hero-block,
  body.tsea-homepage-active .tsea-homepage-block .tsea-hero,
  body.tsea-homepage-active .tsea-homepage-block .tsea-hero-copy {
    background:#fff !important;
    background-image:none !important;
  }

  body.tsea-homepage-active .tsea-homepage-block .tsea-hero-image {
    background:none !important;
    display:none !important;
    min-height:0 !important;
  }
}

/* Member issue pathway — prominent without competing with the mission block. */
.tsea-help-cta-block{background:#fff;padding:36px 40px 8px}
.tsea-help-cta{align-items:center;background:#eef3fa;border:1px solid #dfe4ec;border-left:6px solid #ec1e2f;display:flex;gap:34px;justify-content:space-between;margin:0 auto;max-width:1180px;padding:28px 32px}
.tsea-help-cta .tsea-eyebrow{color:#ec1e2f!important;margin:0 0 7px}
.tsea-help-cta h2{color:#1c2a58!important;display:block!important;font-size:30px;line-height:1.15;margin:0!important;visibility:visible!important}
.tsea-help-cta p{color:#4f5b70;font-size:17px;line-height:1.5;margin:9px 0 0;max-width:760px}
.tsea-help-cta .tsea-button{flex:0 0 auto;justify-content:center;min-height:54px;min-width:154px;padding:0 25px}
@media(max-width:700px){.tsea-help-cta-block{padding:24px 21px 0}.tsea-help-cta{align-items:stretch;display:flex;flex-direction:column;gap:22px;padding:24px 22px}.tsea-help-cta h2{font-size:27px}.tsea-help-cta .tsea-button{min-height:54px;width:100%}}

.tsea-photo-block,
.tsea-photo-block * { box-sizing:border-box; }
.tsea-photo-block { background:#eef3fa; }
.tsea-photo-section {
  margin:0 auto;
  max-width:1260px;
  padding:70px 40px 78px;
}
.tsea-photo-heading {
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(280px,460px);
  margin:0 0 28px;
}
.tsea-photo-heading .tsea-eyebrow {
  color:#ec1e2f;
  grid-column:1;
  letter-spacing:.12em;
  margin:0 0 8px;
  text-transform:uppercase;
}
.tsea-photo-heading h2 {
  color:#1c2a58;
  font-size:42px;
  grid-column:1;
  line-height:1.05;
  margin:0;
}
.tsea-photo-heading p {
  align-self:end;
  color:#5f6878;
  font-size:17px;
  grid-column:2;
  grid-row:1 / span 2;
  line-height:1.55;
  margin:0;
}
.tsea-photo-grid {
  display:grid;
  gap:16px;
  grid-auto-rows:245px;
  grid-template-columns:repeat(3,minmax(0,1fr));
}
.tsea-photo-card {
  background:#fff;
  box-shadow:0 12px 30px rgba(28,42,88,.12);
  margin:0;
  min-width:0;
  overflow:hidden;
  position:relative;
}
.tsea-photo-open {
  appearance:none;
  background:transparent;
  border:0;
  color:inherit;
  cursor:zoom-in;
  display:block;
  height:100%;
  margin:0;
  padding:0;
  position:relative;
  text-align:left;
  width:100%;
}
.tsea-photo-open:focus-visible { outline:4px solid #ec1e2f; outline-offset:-4px; }
.tsea-photo-card img {
  display:block;
  height:100%;
  object-fit:cover;
  transition:transform .3s ease;
  width:100%;
}
.tsea-photo-card:hover img { transform:scale(1.025); }
.tsea-photo-card .tsea-photo-caption {
  background:linear-gradient(transparent,rgba(16,27,66,.92));
  bottom:0;
  color:#fff;
  font-size:15px;
  font-weight:600;
  left:0;
  line-height:1.35;
  padding:42px 18px 16px;
  position:absolute;
  right:0;
}
.tsea-photo-more { display:flex; justify-content:center; margin-top:28px; }
.tsea-photo-more .tsea-button { min-width:210px; justify-content:center; }
.tsea-photo-count-1 { grid-template-columns:minmax(0,820px); justify-content:center; }
.tsea-photo-count-1 .tsea-photo-card { aspect-ratio:16 / 9; }
.tsea-photo-count-2 { grid-template-columns:repeat(2,minmax(0,1fr)); }
.tsea-photo-count-2 .tsea-photo-card { aspect-ratio:4 / 3; }
.tsea-photo-count-4 .tsea-photo-card:first-child,
.tsea-photo-count-5 .tsea-photo-card:first-child { grid-column:span 2; grid-row:span 2; }
@media (max-width:900px) {
  .tsea-photo-grid { grid-auto-rows:220px; grid-template-columns:repeat(2,minmax(0,1fr)); }
  .tsea-photo-count-1 { grid-template-columns:1fr; }
  .tsea-photo-count-2 { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .tsea-photo-count-4 .tsea-photo-card:first-child,
  .tsea-photo-count-5 .tsea-photo-card:first-child { grid-column:span 2; }
}
@media (max-width:650px) {
  .tsea-photo-section { padding:54px 21px 60px; }
  .tsea-photo-heading { display:block; margin-bottom:22px; }
  .tsea-photo-heading h2 { font-size:34px; }
  .tsea-photo-heading p { font-size:16px; margin-top:12px; }
  .tsea-photo-grid,
  .tsea-photo-count-2 { gap:12px; grid-auto-rows:170px; grid-template-columns:repeat(2,minmax(0,1fr)); }
  .tsea-photo-count-1 { display:block; }
  .tsea-photo-count-1 .tsea-photo-card { aspect-ratio:4 / 3; }
  .tsea-photo-count-2 .tsea-photo-card { aspect-ratio:auto; }
  .tsea-photo-count-4 .tsea-photo-card:first-child,
  .tsea-photo-count-5 .tsea-photo-card:first-child { grid-column:span 2; grid-row:span 2; }
  .tsea-photo-card .tsea-photo-caption { font-size:13px; padding:34px 12px 11px; }
  .tsea-photo-more { margin-top:22px; }
  .tsea-photo-more .tsea-button { width:100%; }
}
@media (prefers-reduced-motion:reduce) {
  .tsea-photo-card img { transition:none; }
}

body.tsea-photo-lightbox-open { overflow:hidden !important; }
.tsea-photo-lightbox[hidden] { display:none !important; }
.tsea-photo-lightbox {
  align-items:center;
  background:rgba(9,17,42,.94);
  display:grid;
  grid-template-columns:76px minmax(0,1fr) 76px;
  inset:0;
  padding:44px 28px 28px;
  position:fixed;
  z-index:1000000;
}
.tsea-photo-lightbox-content {
  align-items:center;
  display:flex;
  flex-direction:column;
  height:100%;
  justify-content:center;
  min-height:0;
  min-width:0;
}
.tsea-photo-lightbox-content img {
  box-shadow:0 18px 55px rgba(0,0,0,.42);
  display:block;
  max-height:calc(100vh - 150px);
  max-width:100%;
  object-fit:contain;
  width:auto;
}
.tsea-photo-lightbox-content p {
  color:#fff;
  font-size:16px;
  line-height:1.45;
  margin:16px auto 0;
  max-width:820px;
  text-align:center;
}
.tsea-photo-close,
.tsea-photo-prev,
.tsea-photo-next {
  appearance:none;
  background:rgba(255,255,255,.12);
  border:1px solid rgba(255,255,255,.35);
  border-radius:50%;
  color:#fff;
  cursor:pointer;
  font-family:Arial,sans-serif;
}
.tsea-photo-close:hover,
.tsea-photo-prev:hover,
.tsea-photo-next:hover,
.tsea-photo-close:focus-visible,
.tsea-photo-prev:focus-visible,
.tsea-photo-next:focus-visible { background:#ec1e2f; outline:0; }
.tsea-photo-close {
  font-size:32px;
  height:48px;
  line-height:42px;
  position:absolute;
  right:20px;
  top:18px;
  width:48px;
}
.tsea-photo-prev,
.tsea-photo-next {
  align-self:center;
  font-size:48px;
  height:58px;
  line-height:45px;
  width:58px;
}
@media (max-width:650px) {
  .tsea-photo-lightbox {
    grid-template-columns:48px minmax(0,1fr) 48px;
    padding:62px 8px 24px;
  }
  .tsea-photo-lightbox-content img { max-height:calc(100vh - 160px); }
  .tsea-photo-lightbox-content p { font-size:14px; margin-top:12px; padding:0 8px; }
  .tsea-photo-close { right:12px; top:10px; }
  .tsea-photo-prev,
  .tsea-photo-next { font-size:38px; height:44px; line-height:34px; width:44px; }
}

/* v1.0.66 final mobile Spotlight treatment.
   Full-width controls above an inset, shaded result area. */
@media (max-width:600px) {
  .tsea-spotlight-block .tsea-spotlight {
    padding:42px 20px 52px !important;
  }
  .tsea-spotlight-block .tsea-spotlight-heading {
    margin-bottom:20px !important;
  }
  .tsea-spotlight-block .tsea-spotlight-heading h2 {
    font-size:34px !important;
    line-height:1.08 !important;
  }
  .tsea-spotlight-block .tsea-spotlight-gallery {
    background:#eef3fa !important;
    border:1px solid #dfe4ec !important;
    border-radius:10px !important;
    box-shadow:0 12px 32px rgba(28,42,88,.1) !important;
    display:block !important;
    min-height:0 !important;
    overflow:hidden !important;
  }
  .tsea-spotlight-block .tsea-spotlight-tabs {
    background:#fff !important;
    border-bottom:1px solid #dfe4ec !important;
    border-right:0 !important;
    display:grid !important;
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    padding:0 !important;
    width:100% !important;
  }
  .tsea-spotlight-block .tsea-spotlight-tab,
  .tsea-spotlight-block .tsea-spotlight-tab + .tsea-spotlight-tab {
    background:#f7f9fc !important;
    border:0 !important;
    border-bottom:4px solid transparent !important;
    border-left:0 !important;
    min-height:92px !important;
    padding:15px 13px !important;
    text-align:left !important;
  }
  .tsea-spotlight-block .tsea-spotlight-tab + .tsea-spotlight-tab {
    border-left:1px solid #dfe4ec !important;
  }
  .tsea-spotlight-block .tsea-spotlight-tab.is-active {
    background:#fff !important;
    border-bottom-color:#ec1e2f !important;
  }
  .tsea-spotlight-block .tsea-spotlight-tab span {
    font-size:9px !important;
    letter-spacing:1px !important;
    margin-bottom:5px !important;
  }
  .tsea-spotlight-block .tsea-spotlight-tab strong {
    font-size:14px !important;
    line-height:1.28 !important;
  }
  .tsea-spotlight-block .tsea-spotlight-stage {
    background:#eef3fa !important;
    min-height:0 !important;
    padding:16px 14px 20px !important;
  }
  .tsea-spotlight-block .tsea-spotlight-panel {
    background:#fff !important;
    border:1px solid #dfe4ec !important;
    border-radius:8px !important;
    box-shadow:0 7px 20px rgba(28,42,88,.08) !important;
    display:block !important;
    height:auto !important;
    min-height:0 !important;
    overflow:hidden !important;
  }
  .tsea-spotlight-block .tsea-spotlight-panel[hidden] {
    display:none !important;
  }
  .tsea-spotlight-block .tsea-spotlight-image {
    aspect-ratio:3/2 !important;
    height:auto !important;
    min-height:0 !important;
    padding:0 !important;
  }
  .tsea-spotlight-block .tsea-spotlight-image img {
    height:100% !important;
    max-height:none !important;
    max-width:none !important;
    object-fit:cover !important;
    width:100% !important;
  }
  .tsea-spotlight-block .tsea-spotlight-copy {
    min-height:0 !important;
    padding:24px 20px 27px !important;
  }
  .tsea-spotlight-block .tsea-spotlight-copy h3 {
    font-size:25px !important;
  }
}

/* v1.0.70 — automatic current-week event digest. */
.tsea-weekly-events-block,
.tsea-weekly-events-block * { box-sizing:border-box; }
.tsea-weekly-events-block { background:#eef3fa; }
.tsea-weekly-events-block .tsea-weekly-events {
  margin:0 auto;
  max-width:1260px;
  padding:64px 40px 70px;
}
.tsea-weekly-events-block .tsea-weekly-events-heading { margin:0 0 26px; }
.tsea-weekly-events-block .tsea-weekly-events-heading h2 {
  color:#1c2a58;
  font-size:42px;
  line-height:1.08;
  margin:5px 0 0;
}
.tsea-weekly-events-block .tsea-weekly-events-list {
  background:#fff;
  border:1px solid #dce4f0;
  border-radius:10px;
  box-shadow:0 14px 36px rgba(28,42,88,.08);
  overflow:hidden;
}
.tsea-weekly-events-block .tsea-weekly-events-day {
  display:grid;
  grid-template-columns:118px minmax(0,1fr);
}
.tsea-weekly-events-block .tsea-weekly-events-day + .tsea-weekly-events-day { border-top:1px solid #dce4f0; }
.tsea-weekly-events-block .tsea-weekly-events-date {
  align-items:center;
  background:#1c2a58;
  color:#fff;
  display:flex;
  flex-direction:column;
  justify-content:center;
  min-height:112px;
  padding:20px 14px;
  text-align:center;
}
.tsea-weekly-events-block .tsea-weekly-events-date span {
  color:#ff9b32;
  font-size:12px;
  font-weight:800;
  letter-spacing:1.5px;
  text-transform:uppercase;
}
.tsea-weekly-events-block .tsea-weekly-events-date strong {
  font-size:22px;
  line-height:1.2;
  margin-top:4px;
}
.tsea-weekly-events-block ul { list-style:none; margin:0; padding:0 28px; }
.tsea-weekly-events-block li {
  align-items:start;
  display:grid;
  gap:22px;
  grid-template-columns:92px minmax(0,1fr);
  padding:24px 0;
}
.tsea-weekly-events-block li + li { border-top:1px solid #e8edf4; }
.tsea-weekly-events-block time {
  color:#d51f30;
  font-size:14px;
  font-weight:800;
  line-height:1.45;
  padding-top:3px;
  white-space:nowrap;
}
.tsea-weekly-events-block .tsea-weekly-event-main h3 {
  color:#1c2a58;
  font-size:20px;
  line-height:1.3;
  margin:0;
}
.tsea-weekly-events-block .tsea-weekly-event-main h3 a { color:inherit; text-decoration:none; }
.tsea-weekly-events-block .tsea-weekly-event-main h3 a:hover,
.tsea-weekly-events-block .tsea-weekly-event-main h3 a:focus { color:#d51f30; text-decoration:underline; }
.tsea-weekly-events-block .tsea-weekly-event-main p {
  color:#657080;
  font-size:15px;
  line-height:1.5;
  margin:6px 0 0;
}
#tsea-full-calendar { scroll-margin-top:24px; }

@media (max-width:600px) {
  .tsea-weekly-events-block .tsea-weekly-events { padding:46px 20px 52px; }
  .tsea-weekly-events-block .tsea-weekly-events-heading h2 { font-size:34px; }
  .tsea-weekly-events-block .tsea-weekly-events-day { grid-template-columns:82px minmax(0,1fr); }
  .tsea-weekly-events-block .tsea-weekly-events-date {
    align-items:flex-start;
    justify-content:flex-start;
    min-height:0;
    padding:23px 13px;
    text-align:left;
  }
  .tsea-weekly-events-block .tsea-weekly-events-date strong { font-size:18px; }
  .tsea-weekly-events-block ul { padding:0 18px; }
  .tsea-weekly-events-block li { display:block; padding:21px 0; }
  .tsea-weekly-events-block time { display:block; margin-bottom:5px; padding:0; }
  .tsea-weekly-events-block .tsea-weekly-event-main h3 { font-size:17px; }
}

@media (max-width:340px) {
  .tsea-spotlight-block .tsea-spotlight-tabs {
    grid-template-columns:1fr !important;
  }
  .tsea-spotlight-block .tsea-spotlight-tab + .tsea-spotlight-tab {
    border-left:0 !important;
    border-top:1px solid #dfe4ec !important;
  }
}

/* v1.0.68 — remove Avenue's textured canvas on mobile only. */
@media (max-width:900px) {
  html.tsea-homepage-active,
  body.tsea-homepage-active,
  body.tsea-homepage-active #page,
  body.tsea-homepage-active #wrapper,
  body.tsea-homepage-active #main,
  body.tsea-homepage-active #content,
  body.tsea-homepage-active .site,
  body.tsea-homepage-active .site-content,
  body.tsea-homepage-active .content-area,
  body.tsea-homepage-active .tsea-plugin-homepage {
    background-color:#fff !important;
    background-image:none !important;
  }
}

/* Fill the final row when three Spotlight tabs use the two-column layout. */
@media (max-width: 760px) {
  .tsea-spotlight-count-3 .tsea-spotlight-tab:last-child { grid-column: 1 / -1; }
  .tsea-spotlight-count-4 .tsea-spotlight-tabs { grid-template-columns: repeat(2,minmax(0,1fr)) !important; }
}

/* v1.0.93 — the game plugin's fixed trigger is only a click target here.
   The visible homepage trigger belongs exclusively to the static footer. */
body.tsea-homepage-active #tsea-game-umbrella {
  display: none !important;
}

/* v1.0.127: Keep the desktop hero from overlapping an enabled alert.
   Preserve the existing no-alert positioning and mobile layout. */
@media (min-width: 651px) {
  .tsea-home-alert + .tsea-homepage-block.tsea-hero-block {
    margin-top: 0 !important;
  }
}

/* v1.0.128 — a distinct, readable homepage announcement. */
.tsea-home-alert {
  --tsea-alert-accent: #ec1e2f;
  background: #1c2a58 !important;
  border: 0 !important;
  border-left: 5px solid var(--tsea-alert-accent) !important;
  padding: 25px 40px !important;
  box-sizing: border-box;
}
.tsea-home-alert .tsea-inner {
  gap: 24px !important;
  align-items: center !important;
}
.tsea-home-alert-copy { flex: 1 1 auto; min-width: 0; }
.tsea-home-alert .tsea-home-alert-copy strong {
  color: #fff !important;
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 21px !important;
  font-weight: 700 !important;
  line-height: 1.4 !important;
  margin: 0 !important;
  overflow-wrap: anywhere;
}
.tsea-home-alert .tsea-home-alert-copy p {
  color: #e1e7f4 !important;
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 16px !important;
  line-height: 1.6 !important;
  margin: 7px 0 0 !important;
  overflow-wrap: anywhere;
}
.tsea-home-alert a.tsea-button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 12px;
  background: #fff !important;
  color: #1c2a58 !important;
  border: 2px solid #fff !important;
  border-radius: 4px !important;
  padding: 12px 18px !important;
  font: 700 15px/1.4 Arial, Helvetica, sans-serif !important;
  text-decoration: none !important;
  text-align: center;
  min-height: 48px !important;
  max-width: 42%;
  white-space: normal !important;
  overflow-wrap: anywhere;
  box-sizing: border-box;
}
.tsea-home-alert a.tsea-button::after { content: '\2192'; flex-shrink: 0; }
.tsea-home-alert a.tsea-button:hover { background: #e9eef8 !important; border-color: #e9eef8 !important; }
.tsea-home-alert a.tsea-button:focus-visible { outline: 3px solid #fff; outline-offset: 5px; }
.tsea-home-alert-urgent { background: #901b2a !important; --tsea-alert-accent: #ffb4bd; }
.tsea-home-alert-holiday { background: #263e38 !important; --tsea-alert-accent: #d9c491; }
.tsea-home-alert-action { --tsea-alert-accent: #ec1e2f; }
@media (max-width: 700px) {
  .tsea-home-alert { padding: 22px 21px !important; }
  .tsea-home-alert .tsea-inner { align-items: stretch !important; gap: 17px !important; }
  .tsea-home-alert .tsea-home-alert-copy strong { font-size: 19px !important; }
  .tsea-home-alert a.tsea-button { width: 100% !important; max-width: none; }
}

/* v1.0.129 — all-day events have no time cell; use the entire event row. */
.tsea-weekly-events-block li > .tsea-weekly-event-main:only-child {
  grid-column: 1 / -1;
  min-width: 0;
}

/* v1.0.133: Preserve complete spotlight graphics regardless of aspect ratio. */
.tsea-spotlight-block .tsea-spotlight-image,
.tsea-spotlight-block .tsea-spotlight-image-cover {
  background: #f7f9fc !important;
}
.tsea-spotlight-block .tsea-spotlight-image img,
.tsea-spotlight-block .tsea-spotlight-image-cover img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  object-position: center center !important;
}
