

.gauge-image svg rect,
.gauge-image svg circle,
.gauge-image svg path {
    fill: var(--brand);
}


.loan-estimator-image {
    width: 100%;
    max-width: 380px;
    object-fit: contain;
    margin: auto;
}

@media (max-width: 700px) {
    .loan-estimator-image {
        max-width: 200px;
    }

}

[data-image] {
    background-blend-mode: multiply;
}
[data-image] div {
    background-blend-mode: multiply;
}

[data-image="house"] div {
    background-image: url("https://images.unsplash.com/photo-1546178806-703c1282e43d?q=80&w=1587&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D");
    background-size: cover;
    background-position: center;
}

[data-image="brewer"] div {
    background-image: url("../img/Brewer/CraftBrewer-Graphic.jpg");
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    height: 500px;
    margin: auto 0;
}

.cheesemaker-panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 2rem;
}
.cheesemaker-panel h1 {
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.cheesemaker-panel a {
    color: white;
    font-size: 1.2rem;
    margin-top: 2rem;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    background-color: var(--brand);
    padding: 0.5rem;
    text-decoration: none;
    text-align: center;
    border-radius: 6px;
    opacity: 0.9;
}
.cheesemaker-panel a:hover {
    opacity: 1;
    background-color: var(--brand-hover);
}

[data-image="cheesemaker"] div {
    background-image: url("../img/CheeseMaker/CheeseMonger-Graphic.png");
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    height: 500px;
}

[data-image="florist"] div {
    background-image: url("../img/Florist/Florist-Graphic.png");
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

[data-image="artist"] div {
    background-image: url("../img/Artist/Artist_Graphic.png");
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

[data-image="delivery"] div {
    background-image: url("../img/Delivery/Delivery.png");
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

[data-image="architect"] div {
    background-image: url("../img/Architect/Architect.png");
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    scale: 1.2;
    transform-origin: left;
}



[data-image="brewer-full"] {
    background-image: url("../img/Brewer/CraftBrewer_BG.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

#introduction {
    background-image: url(../img/CheeseMaker/Speilberg-Long-Flipped.jpg);
    background-position: center;
    background-size: cover;
}

@media (min-width: 1600px) {
    #introduction {
        width: 1600px;
        max-width: 1600px;
        border-radius: 16px;
        margin: 3rem auto 0;
        box-shadow:  0 2px 20px 0 rgba(0, 0, 0, 0.075), 0 0px 2px 0 rgba(0, 0, 0, 0.25);
    }
}
#introduction section {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.1);
}
#introduction section h1 {
    line-height: 1.2;
    font-size: 2rem;
}

#introduction-text p {
    padding: 0 2rem;
}

#introduction-text [data-column="port"] p:first-child:first-letter {
    color: var(--brand);
    font-family: 'RobotoSlab';
    font-weight: 500;
    initial-letter: 2;
    margin-right: 4px;
  }
#introduction-text p span {
    font-weight: 500;
}

#introduction .hero-flexipay {

}



@media (max-width: 1100px) AND (min-width: 700px) {
    #introduction-text {
        gap: 2rem;
    }
    
}


.pb-4 {
    padding-bottom: 8rem;

}


.why-choose {
    padding: 0;
}

.why-choose .bigger-title {
    margin: 0rem 0 2rem;
}


section.grid-section:has(.check-eligibility-banner){
    background-color: var(--color);
    padding: 3rem 2rem 6rem 2rem;
}
section.grid-section:has(.check-eligibility-banner-light){
    background-color: #479aa722;
    padding: 3rem 2rem 6rem 2rem;
}

.check-eligibility-banner,
.check-eligibility-banner-light {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin: 0 auto;

    --alt-color: #42ca9f;
}


.check-eligibility-banner-light:nth-child(1),
.check-eligibility-banner:nth-child(1) {
    flex-grow: 2;
    width: clamp(400px, 100%, 700px);
}

.check-eligibility-banner-light:nth-child(2),
.check-eligibility-banner:nth-child(2) {
    flex-grow: 2;
    width: clamp(250px, 100%, 350px);
}

.check-eligibility-banner p {
    color: white;
    font-size: 2.0rem;
    text-wrap: balance;
    text-shadow: 8px 8px 1px #0001;
}
.check-eligibility-banner-light p {
    color: var(--color);
    font-size: 2.0rem;
    text-wrap: balance;
    text-shadow: 8px 8px 1px #0001;
}


.check-eligibility-banner p .strong {
    color: rgb(227, 255, 255);
    font-weight: 500;
}
.check-eligibility-banner-light p .strong {
    color: var(--color);
    font-weight: 500;
}

.check-eligibility-banner-light a,
.check-eligibility-banner-light button,
    .check-eligibility-banner a,
    .check-eligibility-banner button {
    display: block;
    box-shadow: 0 0 0 20px #fff1
    , 0 0 0 40px #fff1
    , 0 0 0 60px #fff1
    , 0 0 0 80px #fff1
    , 0 0 0 100px #fff1
    , 0 0 0 120px #fff1
    , 0 0 0 140px #fff1
    , 0 0 0 180px #fff1
    , inset 2px 2px 2px 5px #fff5
    , inset -2px -2px 2px 5px #0005;
    background-color: var(--alt-color);
    transition: 400ms ease-in-out;
    padding: 2rem 3rem;
    border-radius: 16px;
    text-decoration: none;
    text-align: center;
}

.check-eligibility-banner-light a:hover,
.check-eligibility-banner-light button:hover,
    .check-eligibility-banner a:hover,
    .check-eligibility-banner button:hover {
    background-color: var(--alt-color-hover);
    box-shadow: 0 0 0 10px #fff1
    , 0 0 0 10px #fff1
    , 0 0 0 40px #fff1
    , 0 0 0 80px #fff1
    , 0 0 0 120px #fff1
    , 0 0 0 180px #fff1
    , 0 0 0 240px #fff1
    , 0 0 0 360px #fff1
    , inset 2px 2px 2px 5px #fff5
    , inset -2px -2px 2px 5px #0005;
}

    .check-eligibility-banner a p,
    .check-eligibility-banner button p {
    font-family: 'RobotoSlab';
    line-height: 1.1;
    text-transform: uppercase;
    font-size: 1.4rem;
    font-weight: 600;
    letter-spacing: 1.3px;
    text-shadow: 0 0 5px rgb(17, 77, 26);
}
.check-eligibility-banner-light a p,
.check-eligibility-banner-light button p {
    font-family: 'RobotoSlab';
    line-height: 1.1;
    text-transform: uppercase;
    font-size: 1.4rem;
    font-weight: 600;
    letter-spacing: 1.3px;
    color: white;
    text-shadow: 0 0 5px rgb(17, 77, 26);
}


@media (max-width: 1100px) {
    .check-eligibility-banner-light,
    .check-eligibility-banner {
        flex-direction: column;
        gap: 1rem;
    }
    .check-eligibility-banner-light p,
    .check-eligibility-banner p {
        text-align: center;
        margin-bottom: 2rem;
        text-shadow: 1px 1px 1px #0004;
    }
    .check-eligibility-banner-light a p,
    .check-eligibility-banner a p,
    .check-eligibility-banner-light button p,
    .check-eligibility-banner button p {
        margin: 0;
    }
}
@media (max-width: 700px) {
    
.check-eligibility-banner-light:nth-child(1),
.check-eligibility-banner:nth-child(1) {
    flex-grow: 2;
    width: 100%;
}
}


.contact-blocks {
    background-image: url(../img/contact-blocks-bg.png);
    background-size: cover;
    background-position: right center;

    padding: 12rem 0;
}

@media (max-width: 1100px) {
    .grid-panel.contact-blocks {
        --panel-width: 480px;
        grid-template-columns: [main-start] 1fr [content-start] var(--panel-width) [content-end] 200px 1fr [main-end];
        background-image: url(../img/contact-blocks-bg-small.png);

        background-position: center;
        transition: 0s linear;
    }
}

#cheese {
    background-image: url(../img/CheeseMaker/Speilberg-Long.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/*  UNSUBS  */

.pref-toggle {
    /* flex-grow: 1; */
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    position: relative;
    padding: 10px;
    margin-left: auto;
}
.pref-toggle label {
    text-align: center;
    padding: 2px 6px;
    margin-left: auto ;
    font-size: 0.8rem;
    color: var(--color);
    font-family: 'RobotoSlab';
    font-weight: 500;
    border-radius: 4px;
    min-width: 200px;
    position: absolute;
    background-color: #f8f8f8;

    right: 0;
    top: -8px;

    box-shadow: 0 0 6px color-mix(in srgb, var(--brand) 100%, transparent 70%);
    cursor: pointer;
}

.pref-toggle label:hover {
    background-color: white;

}
.pref-toggle.active label {
    background-color: #fff;
    border-radius: 4px;
    box-shadow: 0 0 4px #00000033;
}


.pref-toggle label p {
    display: block;
    margin: 0;
    font-size: 0.85rem;
    color: var(--color);
    font-family: 'RobotoSlab';
    font-weight: 500;
    padding: 5px;
    min-width: 200px;
}
.pref-toggle label hr {
    margin: 0;
    padding: 0;
    border: 0;
    border-top: 1px solid var(--color);
    width: 100%;
}

.preferences-panel {
    display: none;
}
.preferences-panel.open {
    display: flex;
}
.preferences-wrap {
    width: 100%;
    position: relative;
}

.preferences-toggle {
    padding: 1rem;
    /* z-index: 101; */
    background-color: white;
    margin: 0 1rem 1rem 1rem;

}

.preferences-toggle .hero {
    display: block;
    margin-top: 0rem;
    padding: 1rem 0rem 2rem;
  
  }
.preferences-toggle .hero h1 {
    display: block;
    width: 598px;
    margin: 0 auto;
    color: var(--color);
    font-size: 2rem;
  }
  
.preferences-toggle section#wrap {
    display: grid;
    grid-template-rows: auto 1fr 1fr auto;
  }

.preferences-toggle .content-panel > p {
    margin: 0 auto;
    padding: 0;
    font-size: 1rem;
    max-width: 60ch;

}

.preferences-panel .email-wrap {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 1.5rem 0;
}
.preferences-panel .email-wrap .input {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}
.preferences-panel .email-wrap p {
    flex-grow: 1;
}
.preferences-panel .email-wrap input {
    border: 1px solid #e9e9e9;
    padding: 0.5rem;
    font-size: 1rem;
    min-width: 250px;
    border-radius: 4px;
}
.preferences-panel .email-wrap.error input {
    border: 1px solid #a92834;
}

  
p.unsub-message {
    color: var(--color);
}
body[data-unsubbed=false] p.unsub-message,
body[data-unsubbed=false] p.unsub-message span {
    color: var(--color);
}
body[data-unsubbed=true]   .preferences-toggle   p.unsub-message,
body[data-unsubbed=true]   .preferences-toggle   p.unsub-message span {    
    color: var(--color);
}


body[data-unsubbed=false]   .preferences-toggle .panel:has(.buttons)   p.unsub-message {
    border: 3px solid #f28425;
    color: #f28425;
    padding: 1rem;
    border-radius: 8px;
    background: #f9f9f9;
    box-shadow: 0 0 10px 1px #f9f9f9;
    font-size: 1.5rem;
    font-weight: 500;
    text-align: center;
    margin: 1.5rem 0;
}
  
body[data-unsubbed=false]   .preferences-toggle .panel:has(.buttons)   p.unsub-message span {
    font-weight: 300;
    font-size: 1.0rem;
    color: var(--color);
}
.preferences-toggle .panel .buttons {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap-reverse;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    padding: 0 0rem;
}
  
.preferences-toggle .panel button {
    max-width: 320px;
    margin-top: 0rem;
    margin-bottom: 1.5rem;
    padding: 0.8rem 1.2rem;
    font-size: 1.1rem;
    background: var(--color);
    color: #f3f3f3;
    border: 5px solid var(--color);
    text-transform: uppercase;
    cursor: pointer;
    transition: 250ms linear;
    border-radius: 8px;
    /* min-height: 140px; */
    box-sizing: border-box;
    box-shadow: 0 0 10px 1px #f9f9f9;
    flex-direction: column;
}
.preferences-toggle .panel button p {
    font-size: 0.8rem;
    text-wrap: balance;
}
.preferences-toggle .panel button p:nth-child(1) {
    font-size: 1.2rem;
    font-weight: 500;
}

.preferences-toggle .panel button:nth-of-type(1) p {
    color: var(--color);
}

.preferences-toggle .panel button:hover {
    background: #02497e;
    color: white;
  }
.preferences-toggle   .panel button.hide {
    display: none;
}
  
.preferences-toggle .panel button:nth-of-type(1) {
    background: none;
    color: #777;
    border: 5px solid transparent;
    box-shadow: 0 0 0 1px #e9e9e9, 0 0 10px 1px #f9f9f9;
  }

.preferences-toggle .panel button:nth-of-type(1) {
    color: var(--color);
}
  .preferences-toggle .panel button:nth-of-type(1):hover {
    color : #a92834;
    border: 5px solid #a9283466;
  }
  body[data-unsubbed=true] button:nth-of-type(2):hover {
    animation: none;
    background: var(--color);
    color: white;
  }
  
  .preferences-toggle .info-box-wrap {
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: var(--color);
    width: 100%;
  }
  .preferences-toggle   .info-box {
    padding: 1rem 2rem 1rem 3rem;
    color: white;
    /* margin-top: 1rem; */
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    width: auto;
  }
  .preferences-toggle   .panel:has(.buttons) > p {
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: var(--color);
    text-align: center;
  }
  .preferences-toggle   .panel:has(.buttons) > p span {
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--color);
  }
  .preferences-toggle   .info-box p {
    color: white;
  }
  .preferences-toggle   .info-box .fa {
    font-size: 2rem;
  }

/* Checkbox Styling */
.checkbox-wrap {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.75rem;
  margin: 1rem 0;
  padding: 0.75rem 1rem;
  background-color: #f9f9f9;
  border: 1px solid #e9e9e9;
  border-radius: 4px;
  width: fit-content;
}

.checkbox-wrap input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  width: 20px;
  height: 20px;
  min-width: 20px;
  min-height: 20px;
  border: 2px solid var(--color);
  border-radius: 4px;
  background-color: white;
  cursor: pointer;
  transition: all 200ms ease;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.checkbox-wrap input[type="checkbox"]:hover {
  border-color: var(--color);
  box-shadow: 0 0 4px color-mix(in srgb, var(--color) 100%, transparent 70%);
}

.checkbox-wrap input[type="checkbox"]:checked {
  background-color: var(--color);
  border-color: var(--color);
}

.checkbox-wrap input[type="checkbox"]:checked::after {
  content: '✓';
  position: absolute;
  color: white;
  font-size: 14px;
  font-weight: bold;
  line-height: 1;
}

.checkbox-wrap input[type="checkbox"]:focus {
  outline: none;
  border-color: var(--color);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--color) 100%, transparent 85%);
}

.checkbox-wrap input[type="checkbox"]:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.checkbox-wrap label {
  cursor: pointer;
  margin: 0;
  font-size: 1rem;
  color: var(--color);
  user-select: none;
  font-weight: 400;
  line-height: 1.4;
}

.checkbox-wrap input[type="checkbox"]:disabled + label {
  opacity: 0.6;
  cursor: not-allowed;
}