/* =========================================================
   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;
}
/* =========================================================
   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;
  }
}

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;
}

/* ---------- 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-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; }
@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;
  }
}
