
.cc-section-headline {
  font-size: 48px;
  margin: 1rem 0;
  text-wrap-style: balance;
}
.cc-subsite-maincol .container.py5,
.cc-standard-web-content-section .container.py5 {
  margin-top: 0;
  margin-bottom: 0;
}
.cc-subsite-maincol .cc-content-container {
    margin: var(--cc-spacing-2xl) 0;
}

#content .cc-subsite-content:nth-of-type(2){
    /* background-color: var(--cc-color-black);
    color: var(--cc-color-white); */
    background-color: var(--cc-color-bg-blue);
    color: var(--cc-color-text-blue);
}
#content .cc-subsite-content:nth-of-type(2) .section-label .icon-tc {
    color: var(--cc-color-orange);
}

#content .cc-subsite-content:nth-of-type(4){
    background-color: var(--cc-color-black);
    color: var(--cc-color-white); 
}
#content .cc-subsite-content:nth-of-type(4) .section-label {
  color: var(--cc-color-white); 
}
#content .cc-subsite-content:nth-of-type(4) .section-label .icon-tc {
    color: var(--cc-color-gold);
}
#content img.fourc-graphic-states {
    margin-top: -15px;
}
.form_container {    
    max-width: 360px;
    margin: 0 auto;
    text-align: left;
}
.form_container a {
    text-decoration-color: #000;
}
div.form_container {
    margin-top: 2rem;
}
.form_container div.form_page input[type=password], 
.form_container div.form_page input[type=text], 
.form_container div.form_page input[type=email], 
.form_container div.form_page input[type=tel], 
.form_container div.form_page input:not([type]), 
.form_container div.form_page textarea {
  width: 100%;
}
.form_container .form_label, label {
    font-family: inherit !important;
}

.form_container button {
    display: inline-flex;
    align-items: center;
    gap: var(--cc-spacing-sm);
    padding: var(--cc-spacing-sm) var(--cc-spacing-xl) !important;
    text-decoration: none;
    font-family: var(--cc-font-primary) !important;
    font-weight: var(--cc-font-weight-bold);
    font-size: var(--cc-font-size-md) !important;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 0 !important;
    border: 2px solid transparent;
    align-self: flex-start;
    cursor: pointer;
    transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    user-select: none;
    -webkit-user-select: none;
    background-color: var(--cc-color-black) !important;
    color: var(--cc-color-white);
}
body #form_d373862c-607d-4bb9-9d01-a410376fea17_container button {
    font-family: var(--cc-font-primary) !important;
    margin-top: 1rem;
}
.form_container button:hover {
    background-color: var(--cc-color-gold) !important;
    color: var(--cc-color-black);
    border-color: var(--cc-color-black);
    box-shadow: 5px 5px 0 var(--cc-color-black);
}

.form_container button i, .form_container button .icon {
    font-size: 2rem;
    line-height: 1;
}
/* Four Corners Widget Styles */
.fourc_interactive {
  --fourc-gold: #EAB337;
  --fourc-gold-dark: #d4a02f;
  --fourc-maroon: #8b2346;
  --fourc-text: #333;
  --fourc-muted: #666;
/*   border: 3px solid #eab337; */
/*   border-radius: 7px; */
  margin: 2rem  auto;
  padding: 1rem;
}

/* Left side controls */
.fourc_ctrl {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2rem;
  font-family: Montserrat, sans-serif !important;
  font-size: 1.1rem;
  line-height: 1.5;
  color: #222;
}

.fourc_title {
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--fourc-text);
  margin-bottom: 1.5rem;
}

.fourc_subtitle {
  font-size: 1.1rem;
  color: var(--fourc-muted);
  margin-bottom: 1rem;
}

/* Step containers */
.fourc_step {
  display: none;
}

.fourc_step.active {
  display: block;
  animation: fourc-fade-in 0.3s ease-out;
}

@keyframes fourc-fade-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Buttons */
.fourc_btn {
  background: linear-gradient(
    135deg,
    var(--fourc-gold) 0%,
    var(--fourc-gold-dark) 100%
  );
  color: black;
  border: none;
  padding: 0.75rem 2rem;
  font-size: 1.1rem;
  font-weight: 500;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(212, 168, 67, 0.3);
}

.fourc_btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(212, 168, 67, 0.4);
}

.fourc_btn:active {
  transform: translateY(0);
}

/* State buttons */
.fourc_state_grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.fourc_state_btn {
  flex: 1 1 calc(50% - 0.5rem);
  min-width: 120px;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  font-weight: 500;
  border: 2px solid var(--fourc-gold);
  background: white;
  color: var(--fourc-text);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.fourc_state_btn:hover {
  background: var(--fourc-gold);
  color: white;
}

.fourc_state_btn.other {
  flex: 1 1 100%;
  border-color: #ccc;
  color: var(--fourc-muted);
}

.fourc_state_btn.other:hover {
  background: #eee;
  color: var(--fourc-text);
  border-color: #ccc;
}

/* Income slider */
.fourc_slider_container {
  margin: 1.5rem 0;
}

.fourc_income_display {
  font-size: 2rem;
  font-weight: 700;
  color: var(--fourc-text);
  text-align: center;
  margin-bottom: 1rem;
}

.fourc_income_display span {
  font-weight: 400;
  color: var(--fourc-muted);
}

.fourc_slider {
  width: 100%;
  height: 12px;
  border-radius: 6px;
  background: linear-gradient(
    to right,
    #fdb522 0%,
    #fdb522 24%,
    #bb4b26 24%,
    #bb4b26 50%,
    #53284e 50%,
    #53284e 83%,
    #999999 83%,
    #999999 100%
  );
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

.fourc_slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: white;
  border: 4px solid var(--fourc-gold);
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  transition: all 0.2s ease;
}

.fourc_slider::-webkit-slider-thumb:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.fourc_slider::-moz-range-thumb {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: white;
  border: 4px solid var(--fourc-gold);
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.fourc_slider_labels {
  display: flex;
  justify-content: space-between;
  margin-top: 0.5rem;
  font-size: 0.85rem;
  color: var(--fourc-muted);
}

/* Result message */
.fourc_result {
  margin-top: 1.5rem;
  padding: 1rem;
  border-radius: 8px;
  animation: fourc-fade-in 0.3s ease-out;
}

.fourc_result.tier1 {
  background: linear-gradient(135deg, rgba(253, 181, 34, 0.25) 0%, rgba(253, 181, 34, 0.15) 100%);
  border-left: 6px solid rgba(253, 181, 34, 1);
}

.fourc_result.tier2 {
  background: linear-gradient(135deg, rgba(187, 75, 38, 0.25) 0%, rgba(187, 75, 38, 0.15) 100%);
  border-left: 6px solid rgba(187, 75, 38, 1);
}

.fourc_result.tier3 {
  background: linear-gradient(135deg, rgba(83, 40, 78, 0.25) 0%, rgba(83, 40, 78, 0.15) 100%);
  border-left: 6px solid rgba(83, 40, 78, 1);
}

.fourc_result.ineligible {
  background: rgba(50, 50, 50, 0.15);
  border-left: 6px solid #999;
}

.fourc_result_title {
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.fourc_result_detail {
  color: var(--fourc-muted);
  font-size: 0.95rem;
}

/* Start over link */
.fourc_reset {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid #eee;
}

.fourc_reset_link {
  color: var(--fourc-muted);
  font-size: 0.9rem;
  cursor: pointer;
  text-decoration: underline;
  background: none;
  border: none;
  padding: 0;
}

.fourc_reset_link:hover {
  color: var(--fourc-text);
}

/* Right side graphics */
.fourc_gfx {
  display: flex;
  flex-direction: column;
  gap: 0;
  align-items: center;
  padding: 1rem;
}

.fourc_gfx img {
  width: 100%;
  display: block;
  transition: opacity 0.4s ease, filter 0.4s ease;
}

.fourc_gfx img.dimmed {
  opacity: 0.35;
  filter: grayscale(30%);
}

/* Mobile adjustments */
@media (max-width: 767px) {
  .fourc_ctrl {
    padding: 1.5rem 1rem;
  }

  .fourc_title {
    font-size: 1.5rem;
  }

  .fourc_income_display {
    font-size: 1.5rem;
  }

  .fourc_state_btn {
    flex: 1 1 100%;
  }
}
.fourc_gfx img {
  margin: 3px 0;
}