/* General styles for desktop (and larger screens) */
.sqs-block-content .sqs-block-form {
display: flex;
flex-direction: column;
align-items: flex-start;
}
.sqs-block-content .sqs-block-form .field.checkbox {
margin-bottom: 0.5em;
}
.sqs-block-content .sqs-block-form + .sqs-block-content .sqs-block-html {
margin-top: -0.8em;
margin-left: 2em;
font-size: 0.9em;
}
.sqs-block-content .sqs-block-form + .sqs-block-content .sqs-block-html a {
text-decoration: underline;
}
/* Media query for mobile devices (screens with a maximum width of 767px - common breakpoint) */
@media screen and (max-width: 767px) {
.sqs-block-content .sqs-block-form {
flex-direction: column; /* Stack elements vertically on mobile */
align-items: flex-start; /* Keep alignment to the left */
}
.sqs-block-content .sqs-block-form .field.checkbox {
margin-bottom: 1em; /* Add more space below the checkbox on mobile */
}
.sqs-block-content .sqs-block-form + .sqs-block-content .sqs-block-html {
margin-top: 0.5em; /* Adjust top margin for better spacing below the checkbox */
margin-left: 0; /* Remove left margin to align with the checkbox text */
font-size: 0.9em; /* Keep font size consistent or adjust as needed */
line-height: 3.0; /* Improve readability on smaller screens */
}
}
/* You might need another breakpoint for tablets (e.g., max-width: 991px) if the layout breaks there */
@media screen and (max-width: 991px) {
.sqs-block-content .sqs-block-form + .sqs-block-content .sqs-block-html {
margin-left: 1em; /* Adjust indentation for tablets if needed */
}
}