/**
 * Public Input Page Styles
 *
 * @package Charleston_TST
 */

/* Page Wrapper */
.tst-page-wrapper {
  background-color: #fff;
  color: var(--color-blue);
}

/* Common Section Styles */
.tst-hero-section,
.tst-why-matters-section,
.tst-key-goals-section,
.tst-framework-section,
.tst-council-section,
.tst-get-involved-section,
.tst-stay-informed-section,
.tst-page-content-section {
  padding: var(--spacing-xl) 0;
  padding-bottom: calc(var(--spacing-xl) + 15px);
  position: relative;
}

.tst-key-goals-section{
  padding-bottom:calc(var(--spacing-md) + 30px);
}

.tst-section-box {
  background-color: var(--color-sky-blue);
  padding: var(--spacing-lg);
  position: relative;
}

/* Gold line at bottom of section boxes */
.tst-section-box::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 0;
  width: 0; /* Start with 0 width for animation */
  height: 15px;
  background-color: var(--color-gold);
  transition: width 1.2s ease-in-out;
}

/* Special positioning for Why It Matters gold line */
.tst-why-matters-layout.tst-section-box::after {
  bottom: -15px;
  left: 0;
  width: 0;
  z-index: 10;
}

/* Animation class added by JavaScript */
.tst-section-box.in-viewport::after {
  width: 100%;
}

.tst-section-title {
  color: var(--color-blue);
  margin-top: var(--spacing-md);
  margin-bottom: var(--spacing-sm);
  font-size: var(--font-size-h2);
}

.tst-section-content > div {
  margin-bottom: var(--spacing-md);
}

.tst-section-content > div:last-child {
  margin-bottom: 0;
}

/* Page Content Section - WordPress Editor Styling */
.tst-page-content-section {
  background-color: #fff;
}

.tst-page-content-section .tst-section-title {
  color: var(--color-blue);
}

.tst-page-content-section .tst-section-content {
  color: var(--color-blue);
}

/* Ensure WordPress editor content is properly styled */
.tst-page-content-section .tst-section-content p {
  margin-bottom: var(--spacing-md);
  line-height: 1.5;
  color: var(--color-blue);
}

.tst-page-content-section .tst-section-content h1,
.tst-page-content-section .tst-section-content h2,
.tst-page-content-section .tst-section-content h3,
.tst-page-content-section .tst-section-content h4,
.tst-page-content-section .tst-section-content h5,
.tst-page-content-section .tst-section-content h6 {
  color: var(--color-blue);
  margin-top: var(--spacing-lg);
  margin-bottom: var(--spacing-sm);
}

.tst-page-content-section .tst-section-content h1:first-child,
.tst-page-content-section .tst-section-content h2:first-child,
.tst-page-content-section .tst-section-content h3:first-child {
  margin-top: 0;
}

.tst-page-content-section .tst-section-content ul,
.tst-page-content-section .tst-section-content ol {
  margin-bottom: var(--spacing-md);
  padding-left: var(--spacing-lg);
  color: var(--color-blue);
}

.tst-page-content-section .tst-section-content li {
  margin-bottom: var(--spacing-xs);
  line-height: 1.5;
}

.tst-page-content-section .tst-section-content a {
  color: var(--color-gold);
  text-decoration: underline;
  transition: color var(--transition-speed) var(--transition-timing);
}

.tst-page-content-section .tst-section-content a:hover {
  color: var(--color-copper);
}

.tst-page-content-section .tst-section-content img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: var(--spacing-md) 0;
}

.tst-page-content-section .tst-section-content blockquote {
  border-left: 4px solid var(--color-gold);
  padding-left: var(--spacing-md);
  margin: var(--spacing-md) 0;
  font-style: italic;
  color: var(--color-blue);
}

.tst-section-image {
  margin-top: var(--spacing-md);
  text-align: center;
}

.tst-section-image img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Hero Section */
.tst-hero-section {
  background-color: var(--color-blue);
  color: #fff;
  padding: var(--spacing-super) 0;
  position: relative;
  overflow: hidden;
}

.tst-hero-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse at center, var(--color-light-blue) 0%, transparent 70%);
  opacity: 0.3;
  z-index: 0;
  pointer-events: none;
}

.tst-hero-columns {
  display: flex;
  position: relative;
  z-index: 1;
}

.tst-hero-column {
  position: relative;
}

.tst-hero-column-left {
  flex: 1;
  width: 100%;
}

.tst-hero-column-right {
  display: none;
}

.tst-hero-title {
  color: #fff;
  font-size: var(--font-size-h1);
  margin-bottom: var(--spacing-md);
}

.tst-hero-subtitle {
  font-family: var(--font-interstate);
  font-size: var(--font-size-h3);
  margin-bottom: var(--spacing-md);
  color: var(--color-gold);
}

.tst-hero-description {
  font-size: 1rem;
  margin-bottom: var(--spacing-lg);
  color: #fff;
}

.tst-hero-next-section-link-wrapper {
  position: absolute;
  bottom: var(--spacing-lg);
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  width: 100%;
}

.tst-hero-next-section-link {
  display: inline-flex;
  align-items: center;
  flex-direction: column;
  color: #fff;
  font-weight: var(--font-weight-bold);
  text-decoration: none;
  transition: color var(--transition-speed) var(--transition-timing);
}

.tst-hero-next-section-link:hover {
  color: var(--color-gold);
}

.tst-hero-next-section-icon {
  display: inline-flex;
  margin-top: 0.5rem;
  animation: bounce 2s infinite;
}

/* Why It Matters Section - Now merged with Key Goals */
.tst-why-matters-section {
  position: relative;
  padding: var(--spacing-xxl) 0;
  min-height: 600px;
  background-color: var(--color-light-green);
  overflow: hidden;
}

/* Remove bottom margin from Why It Matters box to make it flush with Key Goals */
.tst-why-matters-layout.tst-section-box {
  margin-bottom: 0;
}

/* Remove gold line from Why It Matters - only show on Key Goals */
.tst-no-gold-line::after {
  display: none !important;
}

/* Layout styling */
.tst-why-matters-layout {
  display: flex;
  flex-direction: row;
  width: 100%;
  margin-bottom: 0;
  padding: 0;
  position: relative;
  background-color: transparent;
}

/* Content section styling (left side) */
.tst-why-matters-content {
  flex: 0 0 45%;
  padding: 3rem;
  background-color: var(--color-dark-green);
  color: #fff;
  display: flex;
  flex-direction: column;
  position: relative;
  justify-content: flex-start;
}

/* Image container styling (right side) */
.tst-why-matters-image-container {
  flex: 0 0 55%;
  display: flex;
  align-items: stretch;
}

.tst-why-matters-image {
  width: 100%;
  height: 410px;
  object-fit: cover;
  display: block;
  margin: 0;
  padding: 0;
}

/* Content styling */
.tst-why-matters-title {
  color: #fff;
  margin-bottom: var(--spacing-sm);
  margin-top: var(--spacing-md);
  position: relative;
  z-index: 1;
}

.tst-why-matters-description {
  color: #fff;
  position: relative;
  z-index: 1;
}

.tst-why-matters-description div {
  margin-bottom: var(--spacing-md);
}

.tst-why-matters-description div:last-child {
  margin-bottom: 0;
}

/* Why It Matters jump link */
.tst-why-matters-link-wrapper {
  margin-top: var(--spacing-sm);
  text-align: left;
}

.tst-why-matters-link {
  display: inline-flex;
  align-items: center;
  color: var(--color-gold);
  font-weight: var(--font-weight-bold);
  text-decoration: underline;
  transition: color var(--transition-speed) var(--transition-timing);
}

.tst-why-matters-link:hover {
  color: var(--color-sky-blue);
}

.tst-why-matters-link-icon {
  display: inline-flex;
  margin-left: var(--spacing-xs);
  animation: bounce 2s infinite;
  transition: transform var(--transition-speed) var(--transition-timing);
}

.tst-why-matters-link:hover .tst-why-matters-link-icon {
  transform: translateY(3px);
}


/* Key Goals Section - Now merged with Why It Matters */
.tst-key-goals-section {
  background-color: var(--color-light-green);
}

/* Key Goals box styling */
.tst-key-goals-box {
  background-color: var(--color-blue);
  margin-bottom: var(--spacing-lg);
}

.tst-key-goals-section .tst-section-box {
  background-color: var(--color-blue);
}

.tst-key-goals-section .tst-section-title {
  color: #fff;
}

.tst-goals-container {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
  margin-top: var(--spacing-lg);
}

.tst-goal-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: var(--color-sky-blue);
  padding: var(--spacing-lg);
  text-align: center;
}

.tst-goal-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background-color: var(--color-gold);
  color: var(--color-dark-green);
  margin-bottom: var(--spacing-md);
  flex-shrink: 0;
}

.tst-goal-text {
  font-size: 1.1rem;
  line-height: 1.5;
  color: var(--color-blue);
  text-align: center;
}

/* Early Framework Section */
.tst-framework-section {
  background-color: #fff;
  position: relative;
  padding: var(--spacing-xl) 0;
  min-height: 600px;
}

/* Framework layout - matches Half Penny pattern */
.tst-framework-layout {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Content section - 70% width */
.tst-framework-content-section {
  width: 70%;
  position: relative;
}

.tst-framework-section .tst-section-box {
  background-color: var(--color-dark-green);
}

.tst-framework-section .tst-section-title,
.tst-framework-section .tst-section-content,
.tst-framework-section .tst-note {
  color: #fff;
}

.tst-framework-section .tst-section-content > p,
.tst-framework-section .tst-section-content > div:not(.tst-investment-categories):not(.tst-note),
.tst-framework-section .tst-section-content strong {
  color: #fff;
}

/* SVG Container - 30% width, flush right */
.tst-framework-svg-container {
  width: 30%;
  height: auto;
  overflow: visible;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.tst-framework-svg-container svg {
  width: 100%;
  height: auto;
  overflow: visible;
}

.tst-investment-categories {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-md);
  margin: var(--spacing-lg) 0;
}

.tst-investment-item {
  flex: 1 1 calc(50% - var(--spacing-md));
  min-width: 250px;
  background-color: var(--color-sky-blue);
  padding: var(--spacing-lg);
  display: flex;
  flex-direction: column;
}

.tst-investment-percentage {
  font-family: var(--font-interstate);
  font-weight: var(--font-weight-bold);
  font-size: 2.5rem;
  color: var(--color-gold);
  margin-bottom: var(--spacing-xs);
}

.tst-investment-label {
  font-weight: var(--font-weight-bold);
  font-size: 1.2rem;
  color: var(--color-blue) !important;
  margin-bottom: var(--spacing-xs);
}

.tst-investment-details {
  font-size: 0.9rem;
  color: var(--color-blue) !important;
  opacity: 0.9;
}

.tst-note {
  font-style: italic;
  margin-top: var(--spacing-md);
}

/* Council's Direction Section */
.tst-council-section {
  background-color: #fff;
}

.tst-council-section .tst-section-box {
  background-color: var(--color-blue);
}

.tst-council-section .tst-section-title,
.tst-council-section .tst-section-content {
  color: #fff;
}

.tst-council-section .tst-section-content > p,
.tst-council-section .tst-section-content > div:not(.tst-direction-items),
.tst-council-section .tst-section-content strong {
  color: #fff;
}

.tst-involvement-items {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-md);
  margin: var(--spacing-md) 0;
}

.tst-direction-items {
  display: flex;
  flex-direction: row;
  gap: var(--spacing-md);
  margin: var(--spacing-md) 0;
}

.tst-direction-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: var(--color-sky-blue);
  padding: var(--spacing-lg);
  flex: 1;
  aspect-ratio: 1 / 1;
  text-align: center;
}

.tst-direction-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--color-gold);
  color: var(--color-blue);
  font-weight: var(--font-weight-bold);
  font-size: 1.5rem;
  margin-bottom: var(--spacing-md);
  flex-shrink: 0;
}

.tst-direction-text {
  font-size: 1rem;
  line-height: 1.5;
  color: var(--color-blue);
}

/* How to Get Involved Section */
.tst-get-involved-section {
  background-color: #fff;
}

.tst-get-involved-section .tst-section-box {
  background-color: var(--color-dark-green);
}

.tst-get-involved-section .tst-section-title,
.tst-get-involved-section .tst-section-content > p:first-child {
  color: #fff;
}

/* Involvement text should be dark blue inside the involvement items */
.tst-get-involved-section .tst-involvement-text,
.tst-get-involved-section .tst-involvement-text p,
.tst-get-involved-section .tst-involvement-text strong {
  color: var(--color-dark-blue) !important;
}

.tst-involvement-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-md);
  background-color: var(--color-sky-blue);
  padding: var(--spacing-lg);
  flex: 1 1 100%;
  text-align: center;
}

/* All boxes: Full width stacked */
.tst-involvement-item:nth-child(1),
.tst-involvement-item:nth-child(2),
.tst-involvement-item:nth-child(3),
.tst-involvement-item:nth-child(4) {
  flex: 1 1 100%;
}

/* Special layout for item with form */
.tst-involvement-item-with-form {
  align-items: center;
}

.tst-involvement-content-wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-xs);
  width: 100%;
}

.tst-involvement-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--color-gold);
  color: var(--color-dark-green);
  flex-shrink: 0;
}

.tst-involvement-text {
  font-size: 1.1rem;
  line-height: 1.5;
  color: var(--color-dark-blue);
  text-align: center;
  width: 100%;
}

.tst-involvement-text p {
  color: var(--color-dark-blue);
  margin-bottom: 0.5rem;
}

.tst-involvement-text strong {
  color: var(--color-dark-blue);
  font-weight: var(--font-weight-bold);
}

.tst-involvement-text a {
  color: var(--color-gold);
  text-decoration: none;
  font-weight: var(--font-weight-bold);
}

.tst-involvement-text a:hover {
  text-decoration: underline;
}

/* Questionnaire placeholder */
.tst-questionnaire-placeholder {
  background-color: #fff;
  border: 2px dashed var(--color-gold);
  padding: var(--spacing-lg);
  margin: 0;
  text-align: center;
  width: 100%;
}

.tst-questionnaire-note {
  font-style: italic;
  color: var(--color-blue);
  opacity: 0.7;
  margin-bottom: 0;
}

/* Questionnaire form (legacy - for questionnaire page embed) */
.tst-questionnaire-form {
  width: 100%;
  max-width: none;
}

.tst-questionnaire-form iframe {
  width: 100% !important;
  max-width: none !important;
}

/* Gravity Forms Styling - Match Newsletter Form */
.tst-speaker-form .gform_wrapper label {
  font-size: 1.3rem;
  text-align: left !important;
  color: #333 !important;
}

.tst-speaker-form .gform_wrapper input[type="text"],
.tst-speaker-form .gform_wrapper input[type="email"],
.tst-speaker-form .gform_wrapper input[type="tel"],
.tst-speaker-form .gform_wrapper input[type="url"],
.tst-speaker-form .gform_wrapper textarea {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  border: 0;
  font-family: inherit;
  padding: 12px 6px 2px;
  height: 48px;
  font-size: 16px;
  font-weight: 500;
  border-bottom: 2px solid #c8ccd4;
  background: rgba(255, 255, 255, 0.39);
  border-radius: 2px;
  color: #223254;
  transition: all 0.15s ease;
  text-align: left !important;
}

.tst-speaker-form .gform_wrapper select {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  border: 0;
  font-family: inherit;
  padding: 8px 30px 8px 6px;
  height: 48px;
  font-size: 16px;
  font-weight: 500;
  border-bottom: 2px solid #c8ccd4;
  background: rgba(255, 255, 255, 0.39) !important;
  border-radius: 2px;
  color: #223254;
  transition: all 0.15s ease;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23223254' d='M6 9L1 4h10z'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 10px center !important;
  line-height: normal;
  text-align: left !important;
}

.tst-speaker-form .gform_wrapper textarea {
  height: auto;
  min-height: 100px;
  padding: 12px 6px;
}

/* Time input fields */
.tst-speaker-form .gform_wrapper input[type="number"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  border: 0;
  font-family: inherit;
  padding: 8px 6px;
  height: 48px;
  font-size: 16px;
  font-weight: 500;
  border-bottom: 2px solid #c8ccd4;
  background: rgba(255, 255, 255, 0.39);
  border-radius: 2px;
  color: #223254;
  transition: all 0.15s ease;
  line-height: normal;
  text-align: left !important;
}

.tst-speaker-form .gform_wrapper input[type="submit"],
.tst-speaker-form .gform_wrapper .gform_button,
.tst-speaker-form .gform_wrapper .gform_footer input[type="submit"],
.tst-speaker-form .gform_wrapper .gform_footer .gform_button {
  display: inline-block !important;
  position: relative !important;
  cursor: pointer !important;
  height: 35px !important;
  line-height: 35px !important;
  padding: 0 1.5rem !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  font-family: "Open Sans", sans-serif !important;
  letter-spacing: 0.8px !important;
  text-align: center !important;
  text-decoration: none !important;
  text-transform: uppercase !important;
  vertical-align: middle !important;
  white-space: nowrap !important;
  outline: none !important;
  border: none !important;
  -webkit-user-select: none !important;
  -moz-user-select: none !important;
  -ms-user-select: none !important;
  user-select: none !important;
  border-radius: 2px !important;
  transition: all 0.3s ease-out !important;
  box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.225) !important;
  color: #fff !important;
  background-color: #21689f !important;
  -webkit-font-smoothing: antialiased !important;
  -moz-osx-font-smoothing: grayscale !important;
}

.tst-speaker-form .gform_wrapper input[type="submit"]:hover,
.tst-speaker-form .gform_wrapper .gform_button:hover,
.tst-speaker-form .gform_wrapper .gform_footer input[type="submit"]:hover,
.tst-speaker-form .gform_wrapper .gform_footer .gform_button:hover {
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.3) !important;
  background-color: #2a7ab8 !important;
}

/* Events list */
.tst-events-list {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-md);
  margin-top: var(--spacing-md);
}

.tst-event-item {
  background-color: #fff;
  padding: var(--spacing-lg);
  border-left: 4px solid var(--color-gold);
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xs);
}

.tst-event-header {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xs);
  text-align: center;
}

.tst-event-location {
  font-family: var(--font-interstate);
  font-weight: var(--font-weight-bold);
  font-size: 1.2rem;
  color: var(--color-blue);
  line-height: 1.3;
}

.tst-event-datetime {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-xs);
}

.tst-event-date {
  font-family: var(--font-interstate);
  font-weight: var(--font-weight-bold);
  color: var(--color-gold);
  font-size: 1rem;
}

.tst-event-time {
  font-family: var(--font-interstate);
  font-size: 1rem;
  color: var(--color-blue);
}

.tst-event-address {
  font-family: var(--font-open-sans);
  font-size: 0.95rem;
  color: var(--color-blue);
  line-height: 1.5;
  text-align: center;
}

/* Events placeholder (keep for fallback) */
.tst-events-placeholder {
  background-color: #fff;
  border: 2px dashed var(--color-gold);
  padding: var(--spacing-lg);
  margin: 0;
  text-align: center;
  width: 100%;
  color: var(--color-blue);
  font-family: var(--font-interstate);
}

.tst-events-note {
  font-style: italic;
  color: var(--color-blue);
  opacity: 0.7;
  margin-bottom: 0;
}

/* Speaker request placeholder */
.tst-speaker-placeholder {
  background-color: #fff;
  border: 2px dashed var(--color-gold);
  padding: var(--spacing-lg);
  margin: 0;
  text-align: center;
  width: 100%;
}

.tst-speaker-note {
  font-style: italic;
  color: var(--color-blue);
  opacity: 0.7;
  margin-bottom: 0;
}

/* Stay Informed Section */
.tst-stay-informed-section {
  background-color: var(--color-sky-blue);
}

.tst-stay-informed-section .tst-section-box {
  background-color: transparent;
}

.tst-stay-informed-section .tst-section-title,
.tst-stay-informed-section .tst-section-content,
.tst-stay-informed-section .tst-updates-list {
  color: var(--color-dark-blue);
}

.tst-stay-informed-section .tst-closing-statement {
  color: var(--color-dark-blue);
}

.tst-stay-informed-section .tst-section-box::after {
  display: none;
}

/* Two-column layout for Stay Informed */
.tst-stay-informed-layout {
  display: flex;
  gap: var(--spacing-lg);
  align-items: flex-start;
}

.tst-stay-informed-text {
  flex: 1;
  color: var(--color-dark-blue);
}

.tst-stay-informed-text p {
  color: var(--color-dark-blue);
  margin-bottom: var(--spacing-md);
}

.tst-stay-informed-text strong {
  color: var(--color-dark-blue);
  font-weight: var(--font-weight-bold);
}

.tst-stay-informed-form {
  flex: 1;
  margin-top: var(--spacing-md);
}

.tst-stay-informed-form .tst-newsletter-placeholder {
  margin-top: 0;
}

.tst-updates-list {
  margin: var(--spacing-md) 0;
  padding-left: var(--spacing-lg);
  list-style: none;
}

.tst-updates-list li {
  margin-bottom: var(--spacing-sm);
  position: relative;
}

.tst-updates-list li::before {
  content: '✓';
  position: absolute;
  left: -20px;
  top: 0;
  color: var(--color-gold);
  font-weight: var(--font-weight-bold);
  font-size: 1.2rem;
}

.tst-newsletter-placeholder {
  background-color: #fff;
  border: 2px dashed var(--color-gold);
  padding: var(--spacing-lg);
  margin: 0;
  text-align: center;
}

.tst-newsletter-note {
  font-style: italic;
  color: var(--color-blue);
  opacity: 0.7;
}

.tst-closing-statement {
  font-size: 1.2rem;
  font-weight: var(--font-weight-bold);
  color: var(--color-gold) !important;
  text-align: center; 
  margin-top: var(--spacing-lg);
}

/* Section Jump Links */
.tst-next-section-link-wrapper {
  display: flex;
  justify-content: center;
  margin-top: var(--spacing-md);
}

/* Add extra top margin for specific sections */
.tst-key-goals-section .tst-next-section-link-wrapper,
.tst-council-section .tst-next-section-link-wrapper {
  margin-top: var(--spacing-sm);
}

.tst-next-section-link {
  display: inline-flex;
  align-items: center;
  flex-direction: column;
  color: var(--color-blue);
  font-weight: var(--font-weight-bold);
  text-decoration: none;
  transition: color var(--transition-speed) var(--transition-timing);
}

.tst-newsletter-note{
  margin-bottom:0px;
}

/* Section specific jump link colors */
.tst-key-goals-section .tst-next-section-link,
.tst-why-matters-section .tst-next-section-link,
.tst-framework-section .tst-next-section-link,
.tst-council-section .tst-next-section-link,
.tst-get-involved-section .tst-next-section-link {
  color: #fff;
}

.tst-next-section-link:hover {
  color: var(--color-gold);
}


.tst-council-section .tst-next-section-link-wrapper {
  margin-top: var(--spacing-lg);
}

.tst-key-goals-box .tst-next-section-link-wrapper{
  margin-top: var(--spacing-lg);
}

.tst-next-section-icon {
  display: inline-flex;
  margin-top: 0.5rem;
  animation: bounce 2s infinite;
}

.tst-get-involved-section .tst-next-section-link-wrapper {
  margin-top: var(--spacing-lg);
}

.tst-council-section{
  padding-bottom:0px;
}

#framework{
  padding-bottom: 0px;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

/* Responsive Styles */
@media (min-width: 768px) {
  .tst-goals-container {
    flex-direction: row;
  }
  
  .tst-goal-item {
    flex: 1;
  }
  
  .tst-investment-item {
    flex: 1 1 calc(33.333% - var(--spacing-md));
  }
}

@media (max-width: 767px) {
  .tst-hero-columns {
    flex-direction: column;
  }
  
  .tst-hero-column-left {
    padding-right: 0;
  }
  
  .tst-hero-title {
    font-size: 2rem;
  }
  
  .tst-hero-subtitle {
    font-size: 1.5rem;
  }
  
  .tst-section-box {
    padding: var(--spacing-md);
  }
  
  /* Why It Matters responsive styles */
  .tst-why-matters-layout {
    flex-direction: column;
  }
  
  .tst-why-matters-layout.tst-section-box::after {
    bottom: -15px;
  }
  
  .tst-why-matters-content {
    flex: 1 0 auto;
    order: 1;
  }
  
  .tst-why-matters-image-container {
    flex: 1 0 auto;
    min-height: 300px;
    order: 0;
  }
  
  .tst-why-matters-image {
    min-height: 300px;
  }
  
  .tst-investment-percentage {
    font-size: 2rem;
  }
  
  /* How to Get Involved boxes - stack to full width on mobile */
  .tst-involvement-item:nth-child(1),
  .tst-involvement-item:nth-child(2),
  .tst-involvement-item:nth-child(3),
  .tst-involvement-item:nth-child(4) {
    flex: 1 1 100%;
  }
  
  /* Framework section mobile */
  .tst-framework-layout {
    flex-direction: column-reverse;
  }
  
  .tst-framework-content-section {
    width: 100%;
    margin-top: var(--spacing-xl);
  }
  
  .tst-framework-svg-container {
    width: 100%;
    justify-content: flex-start;
    margin-left: calc(var(--spacing-lg) * -1 - 10px);
    padding-left: 0;
  }
  
  .tst-framework-svg-container svg {
    max-width: 70%;
    margin-left: 0;
  }
  
  /* Stay Informed section - stack on mobile */
  .tst-stay-informed-layout {
    flex-direction: column;
  }
  
  .tst-stay-informed-form {
    width: 100%;
  }
  
  .tst-newsletter-placeholder {
    width: 100%;
  }
  
  /* Council's Direction cards - stack on mobile */
  .tst-direction-items {
    flex-direction: column;
  }
  
  .tst-direction-item {
    aspect-ratio: auto;
    min-height: auto;
  }
  
  /* Events list - stack on mobile */
  .tst-events-list {
    grid-template-columns: 1fr;
  }
}
