/** GLOBAL CSS **/
.section {
    padding: 6rem 0;
}
.section .ry-flex {
    gap: 6rem;
}
body p {
    font-family: var(--page-font) !important;
	line-height: 28px;
	color: #333;
}
body .ry-section-title h2 {
    font-size: clamp(1.625rem, 1.2426rem + 1.5686vw, 3.125rem);
    font-weight: bold !important;
}
body .ry-section-title h4 {
    font-size: 20px !important;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--tertiary-color);
    font-weight: 100;
    font-family: var(--page-font) !important;
}

/** HERO BANNER **/
.dry-eye-spa-pg .banner .banner-text {
    max-width: 1280px;
}
.dry-eye-spa-pg .banner .banner-text .title h1 span {
    font-style: normal;
}
.dry-eye-spa-pg .banner .banner-text .ry-text p {
    display: flex;
    justify-content: flex-start;
	line-height: 1.4;
}
.dry-eye-spa-pg .banner .banner-text .ry-text p a {
    margin: 1rem 10px 0 0;
    width: max-content;
}
.dry-eye-spa-pg .banner .banner-text .ry-text p a.ry-btn-transparent {
    background: transparent !important;
    border: 1px solid #fff;
}
.dry-eye-spa-pg .banner .banner-text .ry-text p a.ry-btn-transparent:hover {
    background: var(--tertiary-color) !important;
    border: 1px solid var(--tertiary-color);
}

/** URGENT SECTION **/
section#urgent-section {
    border-top: 9px solid var(--tertiary-color);
	background: #dfe7f3;
}
#urgent-section .ry-container {
    max-width: 1600px;
}
.ry-grid-card-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 1.5rem;
}
.ry-grid-card-4 .ry-each {
    width: 100%;
    border-radius: 20px;
    background-color: #ffffff;
    border: 1px solid rgba(83,134,198,0.3);
    padding: 2.5rem;
}
.ry-grid-card-4 .ry-each h4 {
    font-size: clamp(1.5rem, 0.8468rem + 2.6797vw, 4.0625rem);
    line-height: 1.1;
    color: var(--primary-color);
    font-weight: 400 !important;
    font-family: var(--site-font) !important;
    text-transform: initial;
}

/** UNDERSTANDING MYOPIA SECTION **/
div#understanding-myopia {
    scroll-margin-top: 120px;
}
div#understanding-myopia .ry-flex .ry-img-wrap {
    border-radius: 50px;
    border: 1px solid #cbdaee;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.blue-wrapper {
    padding: 1.5rem 4rem;
    background-color: var(--primary-color);
    color: #fff;
}
.blue-wrapper p {
    font-size: 22px;
    color: #ffffff;
    font-weight: bold !important;
    font-family: var(--site-font);
    text-align: center;
}
.ry-photo-wrap {
    border-bottom: 9px solid var(--tertiary-color);
}
.ry-text p .span-1 {
    color: var(--tertiary-color);
}
.ry-text p .span-2 {
    color: var(--primary-color);
}

/** WARNING SIGNS SECTION **/
.ry-grid-card-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 1.5rem;
}
.ry-grid-card-3 .ry-each {
    width: 100%;
    border-radius: 30px;
	background-color: rgba(237,243,249,0.5019607843137255);
	border: 1px solid rgba(83,134,198,0.3);
    padding: 2.5rem 3rem;
}
.ry-grid-card-3 .ry-each h4 {
    font-size: clamp(1.5rem, 1.3088rem + 0.7843vw, 2.25rem);
    line-height: 1.1;
    color: #333;
    font-weight: bold !important;
    font-family: var(--title-font) !important;
    text-transform: initial;
    margin-bottom: 12px;
}

/** TAB SECTION **/
.personalized-care-section .button-services {
    display:flex;
    align-items:center;
    justify-content:center;
    margin-top: 2rem;
}
.personalized-care-section .button-services .qtab {
    padding: 0 15px 10px;
    margin-block:10px;
    color:#333333;
    text-transform:uppercase;
    font-weight:bold !important;
    border: none;
    background: transparent;
    border-bottom:solid 4px gray;
}
.personalized-care-section .button-services .qtab.active {
    border-bottom: solid 6px var(--tertiary-color);
    background: unset;
}
.qcontent { 
    display: none; 
}
.qcontent.active {
    display: block;
}
.qcontent .ry-content-wrap {
    border-radius: 30px;
    background-color: var(--tertiary-color);
    margin-top: 6rem;
    padding: 6rem 4rem 4rem;
    position: relative;
}
.qcontent .ry-content-wrap .ry-icon-wrap {
    width: 113px;
    height: 113px;
    border-radius: 56px;
    background-color: #406fab;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: -57.5px;
    left: 50%;
    transform: translateX(-50%);
}
.qcontent .ry-content-wrap .ry-icon-wrap img {
    width: 55px;
}
.qcontent .ry-content-wrap h4 {
    font-size: clamp(1.5rem, 1.3725rem + 0.5229vw, 2rem);
    line-height: 1.1;
    color: #333333;
    font-weight: bold !important;
}
.qcontent .ry-content-wrap .ry-text p {
    max-width: 844px;
    width: 100%;
    margin: 15px auto 0;
    font-size: 19px;
    line-height: 31px;
    color: #333333;
    font-weight: 400;
    font-family: var(--site-font);
    text-align: center;
}

/** TECH SEC **/
.your-care-journey-section .ry-container .ry-flex .ry-each {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
}
.ry-title-flex {
    display: flex;
    align-items: center;
    gap: 12px;
}
.ry-title-flex .ry-card-title h4 {
    font-size: clamp(1.5rem, 1.3088rem + 0.7843vw, 2.25rem);
    color: #333333;
    font-weight: 300;
    font-family: var(--title-font);
}
.ry-circle-icon {
    max-width: 92px;
    width: 100%;
    height: 92px;
    border-radius: 50%;
    background-color: var(--tertiary-color);
    display: grid;
    place-content: center;
}
.ry-tag-notes {
    border-radius: 20px;
    background-color:  #dde8f4;
    padding: 10px 25px;
}
.ry-tag-notes p {
    color: var(--primary-color);
}

/** INTERACTIVE TOOL **/
.slider-wrap * {
    font-family: var(--site-font) !important;
}
.slider-wrap { background: var(--primary-color); border-radius: 30px; padding: 3rem 4rem;margin-top: 3rem; }
.slider-wrap label { font-size: 22px; font-weight: bold; color: #fff; display: block; margin-bottom: 0.5rem; }
.range-meta { display: flex; justify-content: space-between; font-size: 20px !important; color: #d9d9d9; margin-bottom: 0.35rem; }
input[type=range] { width: 100%; accent-color: var(--tertiary-color); margin-bottom: 0.2rem; }
.slider-val { text-align: center; font-weight: bold !important; color: #fff; font-size: 0.95rem; margin-bottom: 1.4rem; }
.risk-result { background: #f6f9fc; border-radius: 20px; padding: 2rem 3rem; margin-top: 3rem;border: 1px solid rgba(83, 134, 198, 0.3); }
.risk-bar-bg { background: #d6e9e3; border-radius: 50px; height: 12px; overflow: hidden; margin: 0.75rem 0; }
.risk-bar-fill { height: 100%; border-radius: 50px; background: var(--tertiary-color); transition: width 0.4s ease, background 0.4s ease; }
.risk-result-row { display: flex; justify-content: space-between; align-items: center; }
.risk-result-label { font-size: 20px; color: #666; }
.risk-pct { font-weight: 600; font-size: 1rem; }
.risk-msg { font-size: 0.87rem; color: #666; margin-top: 0.5rem; }

/** ALL OPTIONS **/
div#all-options .ry-accordion {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 2rem;
}
div#all-options .ry-accordion .ry-each-card {
    width: 100%;
}
div#all-options .ry-container {
    max-width: 1600px;
}
div#all-options .ry-accordion .ry-each-card .ry-heading {
    flex-direction: column;
    text-align: left !important;
    align-items: flex-start;
    padding: 3rem 2rem;
    position: relative;
}
div#all-options .ry-accordion .ry-each-card .ry-heading h4 {
    font-size: clamp(1.5rem, 1.3088rem + 0.7843vw, 2.25rem);
    color: #333333;
    font-family: var(--title-font) !important;
}
div#all-options .ry-accordion .ry-each-card .ry-heading:after {
    content: '';
    width: 284px;
    height: 3px;
    background-color: var(--tertiary-color);
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}
div#all-options .ry-accordion .ry-each-card .ry-heading p {
    min-height: 60px;
    margin-top: 10px;
}
div#all-options .ry-accordion .ry-each-card .ry-heading:after {
    content: '';
    width: 284px;
    height: 3px;
    background-color: var(--tertiary-color);
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}
div#all-options .ry-accordion .ry-each-card .ry-heading.ui-state-active:after {
    background-color: #365f93
}
div#all-options .ry-accordion .ry-content {
    padding-top: 22px;
}
div#all-options .ry-accordion .ry-content .span-1 {
    display: block;
	max-width: max-content;
	width: auto;
    padding: 5px 25px;
    border-radius: 20px;
    background-color: #eadb9a;
    font-size: 17px;
    line-height: 1.4;
    color: #333333;
    font-weight: 400;
    font-family: var(--site-font);
}
div#all-options .ry-accordion .ry-content .span-1:last-child {
    margin-top: -18px;
}
div#all-options .ry-accordion .ry-heading.ui-state-active, div#all-options .ry-accordion .ry-content {
    background: var(--tertiary-color);
}

/** FAQ **/
.faq-section .ry-section-title {
    margin-bottom: 2.5rem;
}

/** BOTTOM BANNER **/
.bottom-banner .ry-section-title p {
    max-width: 960px;
    margin: 10px auto;
}

/** PLACE YOUR MOBILE AND UP CSS HERE **/

@media (min-width: 1081px) {
	.dry-eye-spa-pg .banner .banner-text * {
		text-align: left !important;
	}
	.dry-eye-spa-pg .banner .banner-text .ry-text {
		max-width: 935px;
	}
}
@media (max-width: 1080px) {
    .section .ry-flex {
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
}
@media (max-width: 768px) {
    .ry-grid-card-3,
	.ry-grid-card-4 {
		grid-template-columns: repeat(2, 1fr);
	}
	.your-care-journey-section .ry-container .ry-flex .ry-each {
		width: 100%;
	}
	.personalized-care-section .button-services {
		flex-direction: column;
	}
}

@media (max-width: 560px) {
	.dry-eye-spa-pg .banner .banner-text .ry-text p {
		flex-direction: column;
		justify-content: center;
		align-items: center;
	}
	.ry-grid-card-3,
	.ry-grid-card-4 {
		grid-template-columns: repeat(1, 1fr);
	}
	.ry-title-flex {
		flex-direction: column-reverse;
	}
	.slider-wrap, .risk-result {
		padding: 2rem;
	}
	.risk-result-label {
		font-size: 16px;
	}
	.risk-msg {
		font-size: 16px !important;
		text-align: center;
	}
	.risk-result {
		padding: 1.5rem 1rem;
	}
}