/* .flex-container {
    margin-left: calc(-1 * 3rem);
    margin-right: calc(-1 * 3rem);
    width: calc(100% + 2 * 3rem);
    max-width: 100%;
} */

.flex-container ul, .flex-containertwo ul, .flex-containerthree ul {
    display: flex;
    justify-content: center;
    /* align-items: flex-end; */
    margin-left: calc(-1 * 3rem);
    margin-right: calc(-1 * 3rem);
    /* width: calc(100% + 2 * 3rem); */
}

div#content1 {
    text-align: center;
}

div#content3_1 {
    margin-top: 57px;
}

div#content3_2 {
    margin-top: 58px;
}

div#content3_3 {
    margin-top: 141px;
}

/* Visually hide content4_2 during Step 4 (content5_1) without display: none */
#content4_2.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    white-space: nowrap !important;
}

h1#landingheader {
    font-family: Canela, Georgia, serif;
    font-size: 3rem;
    line-height: 1.29;
    letter-spacing: 0.01rem;
    font-weight: 400;
    padding-top: calc(3.6rem + 0.6rem);
}

h1#landingheader::before {
    content: "";
    display: block;
    background: #181C22;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    margin: auto;
    width: 1px;
    height: 3.6rem;
}

p#landingsubhead {
    font-family: Neue Haas Grotesk, Helvetica Neue, helvetica, arial, sans-serif;
    /* font-size: 1.8rem; */
    font-weight: 400;
    line-height: 1.63;
    color: #181C22;
    /* letter-spacing: 0.09rem; */
}

p#landingsubhead a {
    color: #000;
}

p#sub-et {
    font-family: Neue Haas Grotesk, Helvetica Neue, helvetica, arial, sans-serif;
    /* font-size: 1.8rem; */
    font-weight: 400;
    line-height: 1.63;
    color: #181C22;
    /* letter-spacing: 0.09rem; */
}

h2, h3 {
    font-weight: 400;
    font-family: Canela, Georgia, serif;
    font-size: 2.2rem;
    line-height: 1.41;
}

p.drg-element-type-standard-field span.questionlabel {
    display: none;
}

/* button#btn-prev::after {
    content: '';
    display: block;
    width: 1.6rem;
    height: 1.1rem;
    background: url('https://hostedcontent-direct.dragonforms.com/hosted/images/dragon/12218/77.jpg') no-repeat center/contain;
    transform: rotate(180deg);
    margin-left: 1.2rem;
} */

/*Rate styles*/
span.spanc1.drg-element-type-cms-content.drg-element-sub-type-category-8 p#p1 .questionlabel, 
span.spanc2.drg-element-type-cms-content.drg-element-sub-type-category-8 p#p2 .questionlabel, 
span.spanc3.drg-element-type-cms-content.drg-element-sub-type-category-8 p#p3 .questionlabel {
    display: none;
}

.card-offer.card-offer_.print-digital {
    width: calc(100% - 3rem);
    /* padding-left: 3rem; */
    /* padding-right: 3rem; */
}

.int-card-offer.card-offer_.print-digital {
    width: calc(100% - 3rem);
    /* max-width: 300px; */
    /* padding-left: 3rem; */
    /* padding-right: 3rem; */
}

h4.card-offer__title {
    font-family: Figtree, Helvetica Neue, helvetica, arial, sans-serif;
    font-size: 1.4rem !important;
    font-weight: 600;
    line-height: 1.5;
    letter-spacing: 0.12em;
    text-align: center;
    display: block;
}

.card-offer__price, 
span#termhere, 
span#ratehere, 
span.spanc5.drg-element-type-cms-content.drg-element-sub-type-category-1 p#p5 .questionlabel {
    display: none;
}

input[type="radio"] {
  opacity: 0;
  position: absolute;
}

span.spanc1.drg-element-type-cms-content.drg-element-sub-type-category-8 ul li {
    border: solid 1px #181C22;
    display: block;
    margin-left: 45px;
    width: 50%;
}

span.spanc2.drg-element-type-cms-content.drg-element-sub-type-category-8 ul li {
    border: solid 1px #181C22;
    display: block;
    margin-left: 45px;
    width: 50%;
}

span.spanc3.drg-element-type-cms-content.drg-element-sub-type-category-8 ul li {
    border: solid 1px #181C22;
    display: block;
    margin-left: 45px;
    width: 50%;
}

span.spanc1.drg-element-type-cms-content.drg-element-sub-type-category-8 ul li:has(input[type="radio"]:checked),
span.spanc2.drg-element-type-cms-content.drg-element-sub-type-category-8 ul li:has(input[type="radio"]:checked),
span.spanc3.drg-element-type-cms-content.drg-element-sub-type-category-8 ul li:has(input[type="radio"]:checked) {
  background: #000;
  color: white;
}

span.spanc1.drg-element-type-cms-content.drg-element-sub-type-category-8 ul li:has(input[type="radio"]:checked) *,
span.spanc2.drg-element-type-cms-content.drg-element-sub-type-category-8 ul li:has(input[type="radio"]:checked) *,
span.spanc3.drg-element-type-cms-content.drg-element-sub-type-category-8 ul li:has(input[type="radio"]:checked) * {
  color: white !important;
}

.radiolabel label {
    display: flex;
    align-items: center;
    justify-content: space-between; /* optional */
    gap: 1rem; /* optional spacing between label content and icon */
    position: relative;
}

/* Default icon */
input[type="radio"] ~ .radiolabel label::after {
    content: "";
    display: inline-block;
    width: 2rem;
    height: 2rem;
    background: url("https://hostedcontent-direct.dragonforms.com/hosted/images/dragon/12218/14.svg") no-repeat center center;
    background-size: contain;
    flex-shrink: 0;
}

/* Checked icon */
input[type="radio"]:checked ~ .radiolabel label::after {
    background-image: url("https://hostedcontent-direct.dragonforms.com/hosted/images/dragon/12218/15.svg");
}

/* Extra rule to right-align Next button during step0 */
#buttons-container.step0-align-right {
  justify-content: flex-end !important;
}
