#Navigation-Container,
#Content-Container {
    width: 100%;
    margin: 0px;
    padding: 0px;
    position: relative;
}

#Banner,
#Navigation,
#Content {
    max-width: 1200px;
    min-width: 300px;
    margin: 0px auto;
    padding: 0px;
    position: relative;
}

/* ----- Image Align CSS ----- */
.img-l {
    float: left;
    margin: 0px 15px 10px 0px;
}

.img-r {
    float: right;
    margin: 0px 0px 10px 15px;
}
.img-r img {
    border: 1px solid var(--themeOneBg);
    padding: 5px;
    border-radius: 5px;
}
.img-c,
.textCenter {
    text-align: center;
}
img.img-c {
    display: block;
    margin: 15px auto;
}
.textMain .img-c ul {
    margin: 0px;
    padding: 0px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 5px;
}

.textMain .img-c li {
    margin: 0px;
    padding: 0px;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

/* ----- Banner ----- */
#Banner-Container {
    background: var(--themeTwoBg);
}

#Banner {
    padding: 50px 0px 40px 0px;
    text-align: center;
}

#Banner h1 {
    font: 700 30px/40px var(--headingFont);
}

/* ----- Navigation ----- */
#Navigation-Container {
    border-top: 1px solid var(--themeOneBg);
}

#Navigation,
.navigation {
    font: 700 14px/20px var(--siteFont);
    padding: 20px 0px 10px 0px;
}

#Navigation a,
.navigation a {
    font: 300 14px/20px var(--siteFont);
}

#Navigation a:hover,
.navigation a:hover {
    text-decoration: underline;
}

/* ----- Content Container CSS ----- */
#Content-Container {
    border-bottom: 1px solid #e5e5e5;
}

#Content {
    display: grid;
    grid-template-columns: 325px minmax(0, 1fr);
    grid-template-areas: 'Sidebar Article';
    align-items: start;
    gap: 40px;
}
#Content:has(.galList) {
    display: inherit;
}
#Content.noSidebar {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: 'Article';
}
#Article {
    grid-area: Article;
    position: relative;
}

/* ----- TextMain Heading CSS ----- */
.textMain h1 {
    font: 700 36px/40px var(--headingFont);
    color: var(--themeOneBg);
    padding: 10px 0px 30px 0px;
}

.textMain h1 span {
    font: 400 30px/40px var(--siteFont);
    color: var(--themeTwoBg);
}

.textMain h1 span,
.textMain h2 span {
    display: block;
}

.textMain h2,
.textMain h3,
.textMain h4,
.hTag2,
.hTag3,
.hTag4 {
    padding: 15px 0px 5px 0px;
}

.textMain h1 a,
.textMain h2 a,
.textMain h3 a,
.textMain h4 a,
.hTag2 a,
.hTag3 a,
.hTag4 a {
    text-decoration: none;
}

.textMain h2,
.hTag2,
.textMain h3.hTag2,
.textMain h4.hTag2 {
    font: 700 26px/30px var(--headingFont);
    color: var(--themeOneBg);
}

.textMain h2 span {
    font: 400 20px/30px var(--siteFont);
    color: var(--themeFourBg);
}

.textMain h2 a,
.hTag2 a,
.textMain h3.hTag2 a,
.textMain h4.hTag2 a {
    color: var(--themeOneBg);
}

.textMain h3,
.hTag3,
.textMain h2.hTag3,
.textMain h4.hTag3 {
    font: 600 22px/30px var(--headingFont);
    color: var(--themeTwoBg);
}

.textMain h3 a,
.hTag3 a,
.textMain h2.hTag3 a,
.textMain h4.hTag3 a {
    color: var(--themeTwoBg);
}

.textMain h4,
.hTag4,
.textMain h2.hTag4,
.textMain h3.hTag4 {
    font: 500 20px/24px var(--headingFont);
    color: var(--themeThreeBg);
}

.textMain h4 a,
.hTag4 a,
.textMain h2.hTag4 a,
.textMain h3.hTag4 a {
    color: var(--themeThreeBg);
}

.textMainBold {
    font-weight: 700;
}

.textMain p.textMainBold {
    padding: 15px 0px 5px 0px;
}

.PDFtext {
    font: 400 12px var(--siteFont);
    color: #666;
}

.mandatory {
    font: 400 14px var(--siteFont);
    color: rgba(190, 0, 0, 1);
}

/* ----- Text Main CSS ----- */
.textMain {
    padding: 35px 10px 50px 10px;
    font: 400 16px/30px var(--siteFont);
    color: var(--siteFontColor);
    overflow-wrap: break-word;
}

.textMain a {
    color: var(--themeTwoBg);
}

.textMain a:hover {
    color: var(--themeOneBg);
    text-decoration: underline;
    text-underline-offset: 5px;
}

.textMain p {
    padding: 5px 0px 10px 0px;
}

.textMain ul {
    padding: 0px 0px 10px 0px;
}

.textMain ol {
    padding: 0px 0px 10px 30px;
}

.textMain ul li {
    background: url(/images/bullet-b.gif) no-repeat 10px 15px;
    padding: 5px 5px 5px 30px;
}

.textMain ol li {
    padding: 5px 5px 5px 5px;
    list-style: decimal;
}

.textMain ul ul,
.textMain ol ol,
.textMain ul ol,
.textMain ol ul {
    padding: 5px 5px 5px 20px;
}

.textMain ul ul li,
.textMain ol ul li,
.textMain ul ol li {
    background: none;
    list-style: disc;
}

.textMain ul ul ul li,
.textMain ol ul ul li {
    list-style: square;
}

.textMain ul ul ul ul li,
.textMain ol ul ul ul li {
    list-style: circle;
}

.textMain ol ol li,
.textMain ul ol li {
    list-style-type: lower-alpha;
}

.textMain ol ol ol li,
.textMain ul ol ol li {
    list-style: lower-roman;
}

.textMain ul ul li,
.textMain ol ol li,
.textMain ol ul li,
.textMain ul ol li {
    padding: 5px;
}

.textMain li p {
    padding: 5px;
}

/* ----- Sidebar CSS ----- */
#Sidebar {
    grid-area: Sidebar;
    padding: 50px 0px 50px 0px;
}
.meet {
    background: var(--themeOneBg);
    color: var(--fontLight);
    border-radius: 15px;
    text-align: center;
    padding: 0px 0px 15px 0px;
}
.meetHead {
    font: 700 24px/30px var(--headingFont);
    padding: 30px 0px 0px 0px;
}
.meetHead span {
    font: 400 16px/20px var(--siteFont);
    display: block;
    padding: 10px 0px;
}
.meetSpec {
    text-transform: uppercase;
    font: 400 20px/30px var(--headingFont);
}
.meetMore {
    padding: 20px 0px 0px 0px;
    text-transform: uppercase;
    font: 400 16px/20px var(--siteFont);
}
.meetMore a {
    display: inline-block;
    vertical-align: top;
    padding: 15px 25px;
    background: var(--themeTwoBg);
    border-radius: 5px;
}
.meetMore a:hover {
    background: var(--themeFourBg);
}
.resources {
    padding: 20px 0px 0px 0px;
}
.resHead {
    font: 700 24px/30px var(--headingFont);
    background: #cee7f0;
    padding: 20px 0px;
    border-radius: 15px 15px 0px 0px;
    text-align: center;
}
.resList {
    position: relative;
    padding: 3px 0px;
}
.resList ul {
    display: flex;
    flex-direction: column;
    gap: 1px;
    font: 600 18px/20px var(--headingFont);
}
.resList li a {
    display: block;
    padding: 20px;
    background: var(--themeTwoBg);
    color: var(--fontLight);
    border-radius: 5px;
}
.resList li a:hover {
    background: var(--themeOneBg);
}
.resList li span {
    display: inline-block;
    vertical-align: middle;
    margin: 0px 15px 0px 0px;
    width: 55px;
    height: 45px;
    background-size: contain !important;
}
.patPfd span {
    background: url(/images/patient-forms-icon.png) no-repeat center center;
}
.patFvg span {
    background: url(/images/first-visit-guide-icon.png) no-repeat center center;
}
.patPoi span {
    background: url(/images/post-op-instructions-icon.png) no-repeat center center;
}
.patIi span {
    background: url(/images/insurance-icon.png) no-repeat center center;
}
/* ---- Related Links ---- */
.relatedTabs,
.subLinkTabs {
    padding: 20px 0px;
}

.textMain .relatedTabs ul {
    padding: 0px;
    margin: 0px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 20px;
}
.textMain .subLinkTabs ul {
    padding: 0px;
    margin: 0px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.textMain .relatedTabs li,
.textMain .subLinkTabs li {
    padding: 0px;
    margin: 0px;
    font: 500 16px/30px var(--siteFont);
    color: var(--fontLight);
    background: none;
}

.textMain .relatedTabs li {
    text-align: center;
}

.textMain .relatedTabs li a,
.textMain .subLinkTabs li a {
    display: block;
    padding: 10px 60px 10px 20px;
    text-decoration: none;
    border: 2px solid rgba(0, 0, 0, 0.1);
    color: var(--siteFontColor);
    border-radius: 10px;
    position: relative;
    transition: 0.45s ease;
    overflow: hidden;
}

.textMain .relatedTabs li a:hover,
.textMain .subLinkTabs li a:hover {
    border: 2px solid var(--themeTwoBg);
    box-shadow: 0 10px 10px 2px rgba(0, 0, 0, 0.1);
    transform: translateY(-3px);
}
.textMain .relatedTabs li a::after,
.textMain .subLinkTabs li a::after {
    position: absolute;
    z-index: 1;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    content: '\f178';
    font-family: 'fontello';
    transition: right 0.45s ease;
}
.textMain .relatedTabs li a:hover::after,
.textMain .subLinkTabs li a:hover::after {
    right: 10px;
}
.textMain .relatedTabs li a::before,
.textMain .subLinkTabs li a::before {
    position: absolute;
    z-index: 1;
    left: 0px;
    bottom: 0px;
    content: '';
    transition: 0.35s ease;
    width: 0px;
    height: 5px;
    background: var(--themeOneBg);
}
.textMain .relatedTabs li a:hover::before,
.textMain .subLinkTabs li a:hover::before {
    width: 100%;
}

/* Important Note */
.impNote {
    position: relative;
    padding: 15px 20px;
    border: 1px solid var(--themeTwoBg);
    border-left: 5px solid var(--themeOneBg);
    border-radius: 6px;
    background: #f8f9fa;
    line-height: 1.7;
    transition:
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}

.impNote:hover {
    border-left-color: var(--themeThreeBg);
    box-shadow: 0 5px 18px rgb(0 0 0 / 8%);
}

/* Important List Container */
.textMain .impList {
    padding: 20px 0 0;
}

/* Important List */
.textMain .impList ul {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

/* List Items */
.textMain .impList li {
    margin: 0;
    padding: 0;
    background: none;
    font: 600 15px/1.4 var(--siteFont);
    text-transform: uppercase;
}

/* List Links */
.textMain .impList li a {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 12px 20px;
    overflow: hidden;
    border: 1px solid var(--themeOneBg);
    border-radius: 4px;
    background: var(--themeOneBg);
    color: var(--fontLight);
    text-align: center;
    text-decoration: none;
    box-shadow: 0 2px 5px rgb(0 0 0 / 8%);
    transition:
        background-color 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease,
        transform 0.3s ease;
}

/* Hover Effect */
.textMain .impList li a:hover {
    background: var(--themeThreeBg);
    border-color: var(--themeThreeBg);
    color: var(--fontLight);
    text-decoration: none;
    box-shadow: 0 5px 12px rgb(0 0 0 / 15%);
    transform: translateY(-3px);
}

/* Keyboard Accessibility */
.textMain .impList li a:focus-visible {
    outline: 3px solid var(--themeThreeBg);
    outline-offset: 3px;
}

/* Active / Click Effect */
.textMain .impList li a:active {
    transform: translateY(-1px);
    box-shadow: 0 2px 5px rgb(0 0 0 / 12%);
}
/* ========================================
   Doctor Call-to-Action Section
======================================== */

.callMain {
    position: relative;
    margin: 35px 0;
    padding: 35px;
    overflow: hidden;
    background: #f8f9fa;
    border: 1px solid #e5e7eb;
    border-top: 4px solid var(--themeOneBg);
    border-radius: 8px;
    box-shadow: 0 4px 15px rgb(0 0 0 / 5%);
    transition:
        border-color 0.3s ease,
        box-shadow 0.3s ease,
        transform 0.3s ease;
}

.callMain:hover {
    border-top-color: var(--themeThreeBg);
    box-shadow: 0 10px 28px rgb(0 0 0 / 10%);
    transform: translateY(-3px);
}

/* Doctor Information */
.callDiv {
    position: relative;
}

.callDiv h2.hTag3 {
    margin: 0 0 15px;
    color: var(--themeTwoBg);
    line-height: 1.3;
}

.callDiv p {
    margin: 0;
    color: var(--siteFontColor);
    font: 400 16px/1.8 var(--siteFont);
}

/* Doctor Profile Link */
.callDiv .doctorIntroName {
    color: var(--themeThreeBg);
    font-weight: 700;
    text-decoration: underline;
    text-decoration-color: transparent;
    text-underline-offset: 3px;
    transition:
        color 0.3s ease,
        text-decoration-color 0.3s ease;
}

.callDiv .doctorIntroName:hover {
    color: var(--themeTwoBg);
    text-decoration-color: currentColor;
}

/* CTA Buttons Container */
.callMore {
    margin-top: 25px;
}

.callMore ul {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.callMore ul li {
    margin: 0;
    padding: 0;
    background: none;
}

/* Phone and Appointment Links */
.callMore ul li a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 24px;
    border: 2px solid var(--themeOneBg);
    border-radius: 4px;
    background: var(--themeOneBg);
    color: var(--fontLight);
    font: 600 15px/1.4 var(--siteFont);
    text-align: center;
    text-decoration: none;
    transition:
        background-color 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease,
        transform 0.3s ease;
}
.callMore ul li a:hover {
    text-decoration: none;
}
/* Appointment Hover */
.callMore ul li.callBook a:hover {
    border-color: var(--themeThreeBg);
    background: var(--themeThreeBg);
    color: var(--fontLight);
    box-shadow: 0 5px 14px rgb(0 0 0 / 15%);
    transform: translateY(-2px);
}

/* Phone Link */
.callMore ul li.callPhone a {
    border-color: var(--themeThreeBg);
    background: var(--themeThreeBg);
    color: var(--fontLight);
}

/* Phone Hover */
.callMore ul li.callPhone a:hover {
    border-color: var(--themeTwoBg);
    background: var(--themeTwoBg);
    color: var(--fontLight);
    box-shadow: 0 5px 14px rgb(0 0 0 / 15%);
    transform: translateY(-2px);
}

/* Keyboard Accessibility */
.callMore ul li a:focus-visible,
.callDiv .doctorIntroName:focus-visible {
    outline: 3px solid var(--themeThreeBg);
    outline-offset: 4px;
}

/* ========================================
   Call Footer Information
======================================== */

.callFooter {
    position: relative;
    margin: 30px 0;
    padding: 22px 25px;
    border: 1px solid #e5e7eb;
    border-left: 5px solid var(--themeOneBg);
    border-radius: 6px;
    background: #f8f9fa;
    transition:
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}

.callFooter:hover {
    border-left-color: var(--themeThreeBg);
    box-shadow: 0 6px 20px rgb(0 0 0 / 7%);
}

.callFooter p {
    margin: 0;
    color: var(--siteFontColor);
    font: 400 15px/1.8 var(--siteFont);
}

/* Footer Links */
.callFooter a {
    color: var(--themeThreeBg);
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: transparent;
    text-underline-offset: 3px;
    transition:
        color 0.3s ease,
        text-decoration-color 0.3s ease;
}

.callFooter a:hover {
    color: var(--themeTwoBg);
    text-decoration-color: currentColor;
}

/* Bold Contact Information */
.callFooter .textMainBold {
    font-weight: 700;
}

/* Keyboard Accessibility */
.callFooter a:focus-visible {
    outline: 2px solid var(--themeThreeBg);
    outline-offset: 3px;
}

/* ========================================
   Responsive Design
======================================== */

@media (max-width: 768px) {
    .callMain {
        margin: 25px 0;
        padding: 25px;
    }

    .callMore {
        margin-top: 20px;
    }

    .callMore ul {
        gap: 10px;
    }

    .callFooter {
        margin: 25px 0;
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .callMain {
        padding: 20px 16px;
    }

    .callDiv p {
        font-size: 15px;
        line-height: 1.7;
    }

    .callMore ul {
        flex-direction: column;
        align-items: stretch;
    }

    .callMore ul li {
        width: 100%;
    }

    .callMore ul li a {
        box-sizing: border-box;
        width: 100%;
        padding: 12px 16px;
    }

    .callFooter {
        padding: 16px;
    }

    .callFooter p {
        font-size: 14px;
        line-height: 1.75;
    }
}

/* Responsive Design */
@media (max-width: 600px) {
    .impNote {
        padding: 12px 15px;
    }

    .textMain .impList ul {
        gap: 8px;
    }

    .textMain .impList li {
        font-size: 14px;
    }

    .textMain .impList li a {
        padding: 10px 15px;
    }
}

.textMain .drTitle {
    font: 700 34px/40px var(--headingFont);
    color: var(--themeOneBg);
    position: relative;
    padding-bottom: 40px;
}

.textMain .drTitle span {
    display: block;
    color: var(--fontDark);
}
.textMain .drBoard {
    font: 400 22px/30px var(--siteFont);
    letter-spacing: 1px;
}
.textMain .drSpec {
    font: 600 22px/30px var(--siteFont);
    text-transform: uppercase;
    letter-spacing: 6px;
}

.specText {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 24px auto;
    padding: clamp(18px, 3vw, 32px);
    background: #f2f7fa;
    border: 1px solid #d8e3ea;
    border-top: 3px solid #174f73;
    border-left: 4px solid #1769aa;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(23, 79, 115, 0.07);
    box-sizing: border-box;
}

/* Paragraph */
.specText p {
    margin: 0;
    color: #424b53;
    font-size: clamp(15px, 1.15vw, 17px);
    font-weight: 400;
    line-height: 1.8;
    overflow-wrap: break-word;
}

/* Inline Links */
.specText a {
    color: #1769aa;
    font-weight: 500;
    text-decoration: underline;
    text-decoration-color: transparent;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
    transition:
        color 0.25s ease,
        text-decoration-color 0.25s ease;
}

/* Hover and Keyboard Focus */
.specText a:hover,
.specText a:focus-visible {
    color: #174f73;
    text-decoration-color: currentColor;
}

/* Doctor Name */
.specText a.textMainBold {
    color: #174f73;
    font-weight: 700;
    text-decoration: none;
}

.specText a.textMainBold:hover,
.specText a.textMainBold:focus-visible {
    color: #1769aa;
    text-decoration: underline;
    text-underline-offset: 3px;
}

@media screen and (max-width: 1200px) {
    #Navigation,
    .navigation {
        padding: 10px 20px;
    }

    .textMain {
        padding: 20px;
    }
}
@media screen and (max-width: 1100px) {
    #Content {
        gap: 25px;
    }
    .img-l,
    .img-r {
        float: none;
        display: block;
        margin: 10px auto 20px auto;
        text-align: center;
    }
}
@media screen and (max-width: 900px) {
    #Banner {
        padding: 30px 0px;
    }

    #Content {
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas:
            'Article'
            'Sidebar';
    }

    #Sidebar {
        padding: 20px 0px;
        max-width: 400px;
        margin: 0px auto;
    }
}
@media screen and (max-width: 700px) {
    .textMain .subLinkTabs ul {
        grid-template-columns: 1fr;
    }
    .textMain .relatedTabs li {
        flex: 1 auto;
    }
    .textMain h1 {
        font: 700 36px/40px var(--headingFont);
    }

    .textMain h1 span {
        font: 700 24px/30px var(--siteFont);
    }

    .textMain h2,
    .hTag2,
    .textMain h3.hTag2,
    .textMain h4.hTag2 {
        font: 700 30px/34px var(--headingFont);
    }
}

/* Tablet */
@media (max-width: 768px) {
    .impNote {
        margin: 20px auto;
        padding: 20px;
    }

    .impNote p {
        font-size: 16px;
        line-height: 1.75;
    }
    .specText {
        margin: 20px auto;
        padding: 22px;
        border-radius: 10px;
    }

    .specText p {
        font-size: 16px;
        line-height: 1.75;
    }
}

@media screen and (max-width: 480px) {
    .textMain h1 {
        font: 700 32px/40px var(--headingFont);
    }

    .textMain h1 span {
        font: 700 20px/30px var(--siteFont);
    }

    .textMain h2,
    .hTag2,
    .textMain h3.hTag2,
    .textMain h4.hTag2 {
        font: 700 26px/30px var(--headingFont);
    }
    .textMain h3,
    .hTag3,
    .textMain h2.hTag3,
    .textMain h4.hTag3 {
        font: 700 24px/30px var(--headingFont);
    }
    .impNote {
        margin: 16px auto;
        padding: 16px;
        border-left-width: 3px;
        border-radius: 8px;
    }

    .impNote p {
        font-size: 15px;
        line-height: 1.7;
    }

    .impNote .textMainBold {
        overflow-wrap: anywhere;
    }
    .specText {
        margin: 16px auto;
        padding: 16px;
        border-left-width: 3px;
        border-top-width: 2px;
        border-radius: 8px;
        box-shadow: 0 2px 8px rgba(23, 79, 115, 0.05);
    }

    .specText p {
        font-size: 15px;
        line-height: 1.7;
    }

    .specText a {
        text-underline-offset: 2px;
    }
}

/* ----- Accessibility ----- */
.accessible_on .textMain a {
    text-decoration: underline;
}
.accessible_on .textMain a:hover {
    text-decoration: none;
}
.accessible_on .textMain .relatedTabs li a:hover,
.accessible_on .textMain .subLinkTabs li a:hover {
    transform: translateY(0px);
}

html[data-theme='dark'] .textMain .relatedTabs li a:hover,
html[data-theme='dark'] .textMain .subLinkTabs li a:hover {
    box-shadow: 0 5px 5px 2px rgba(255, 255, 255, 0.5);
}
