/* --- GLOBAL RESET --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: "Microsoft JhengHei", "Segoe UI", Arial, sans-serif;
}

/* --- ACCESSIBILITY: FONT SCALING --- */
/* Base root font size */
html { font-size: 16px; transition: font-size 0.2s ease; }

/* Scaling applied to root (html) for REM consistency */
html.font-size-standard { font-size: 16px; }
html.font-size-medium { font-size: 24px !important; } /* 150% Scaling */
html.font-size-large { font-size: 32px !important; }  /* 200% Scaling */

/* Global text elements now use relative units */
p, li, .ql-text, .news-subject a, .contact-card p, .footer-links a, .footer-copyright p, .lang-links a {
    font-size: 1rem; 
}

.nav-link { font-size: 0.95rem; }
.section-title { font-size: 1.8rem; }

ul { list-style-type:none;}
li { list-style-type:inherit; }

/* 1. The Main Container */
    .logo-lockup {
        display: flex;           /* Aligns items side-by-side */
        align-items: center;     /* Centers them vertically */
        font-family: Arial, sans-serif; /* Matches standard web fonts */
        gap: 12px;               /* Space between image and text */
    }

    /* 2. The Left Side (Image) */
    .logo-lockup img {
        height: 30px;           /* STRICT CONSTRAINT: Max height 30px */
        width: auto;            /* Keeps the image from stretching */
        display: block;         /* Removes slight gap under images */
    }

    /* 3. The Right Side (Text Wrapper) */
    .text-wrapper {
        display: flex;
        flex-direction: column; /* Stacks the two lines of text */
        justify-content: center;
        line-height: 1.1;       /* Tightens the space between lines */
    }

    /* 4. Styling the Chinese Text */
    .text-zh {
        color: #333333;         /* Dark grey/black */
        font-size: 24px !important;     /* Locked size */
        font-weight: 500;
        letter-spacing: 1px;
    }

    /* 5. Styling the English Text */
    .text-en {
        color: #333333;         /* Dark Blue specific to HA */
        font-size: 20px !important;        /* Locked size */
        text-transform: uppercase; /* Forces CAPITAL LETTERS */
        font-weight: 400;
    }

body {
    background-color: #e0e0e0; /* Fallback gray */
    background-image: url('../images/background.jpg');
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    justify-content: center;
    min-width: 1024px; /* Prevents layout breaking on small screens */
}

/* --- THE 1024PX CONTAINER --- */
.main-wrapper {
    width: 1024px;
    background-color: #ffffff;
    min-height: 100vh;
    box-shadow: 0 0 20px rgba(0,0,0,0.1); /* Shadow to make it pop */
    margin: 0 auto;
}

#tools{float:right;padding:9px 0 9px 7px;position: relative;}
#tools li {float:left;padding-right: 5px;}
#tools li.font-control-item {padding-right: 2px;} /* Ultra-tight spacing for AAA */
#tools li:last-child {padding-right: 0;}
#tools #favourite img{padding-top:1px;}
#tools #emailUs img{padding-top:2px;}
#tools li img{width:auto;}
#tools li.separator {
    color: #585858;
    font-weight: normal;
    font-size: 1.3rem;
    padding-right: 5px;
    padding-top: 8px;
    line-height: 1;
    display: flex;
    align-items: center;
}
#tools li a{font-family:"RobotoCondensed","Open Sans", "Microsoft JhengHei", "微軟正黑體", Verdana, Arial, PMingLiU, sans-serif; font-size: 1rem; font-weight:bold; color: #585858; display: inline-block; line-height: 1; margin: 0 3px; text-decoration: none; vertical-align: middle; padding-top: 10px;}
#tools li a:hover { color: #cc0000; }

/* Font Size Buttons Styles */
.font-size-btn {
    padding: 2px 6px !important;
    border: 1px solid transparent;
    border-radius: 3px;
    margin: 0 !important;
    transition: all 0.2s ease;
    display: inline-block !important;
}

.font-size-btn.active {
    background-color: #007b43;
    color: #ffffff !important;
    border-color: #007b43;
}

.size-s { font-size: 0.8rem !important; padding-top: 10px !important; }
.size-m { font-size: 1.1rem !important; padding-top: 6px !important; }
.size-l { font-size: 1.4rem !important; padding-top: 2px !important; }

/* Language Switcher Styles - Match Font Size Controls */
.lang-link {
    border: 1px solid transparent;
    border-radius: 3px;
    transition: all 0.2s ease;
    display: inline-block !important;
}

.lang-link.active {
    background-color: #007b43;
    color: #ffffff !important;
    border-color: #007b43;
}

.lang-link:hover {
    color: #cc0000 !important;
}

.lang-link.active:hover {
    color: #ffffff !important;
}

/* --- HEADER SECTION --- */
.header-container {
    padding: 10px 15px;
    display: flex;
    justify-content: space-between;  /* Left vs right */
    align-items: center;             /* Vertical centering */
    width: 100%;
    min-height: 100px;               /* Changed from fixed height to min-height */
}

/* Adjust header for large font size to prevent wrapping */
html.font-size-large .header-container {
    min-height: 120px;
    align-items: flex-start;
    padding-top: 15px;
}

html.font-size-large .header-right {
    gap: 10px;
}

/* Lock #tools font sizes at medium font to prevent wrapping */
html.font-size-medium #tools li a {
    font-size: 16px !important; /* Fixed px = same as standard, prevents REM scaling */
}

html.font-size-medium #tools li.separator {
    font-size: 21px !important;
}

html.font-size-medium .size-s { font-size: 13px !important; }
html.font-size-medium .size-m { font-size: 18px !important; }
html.font-size-medium .size-l { font-size: 22px !important; }

/* Lock #tools font sizes at large font to match medium appearance (prevent wrapping) */
html.font-size-large #tools li {
    padding-right: 5px;
}

html.font-size-large #tools li a {
    margin: 0 1px;
    font-size: 16px !important; /* Fixed px = same as standard, prevents REM scaling */
}

html.font-size-large #tools li.separator {
    font-size: 21px !important; /* ~1.3rem at medium (24px root) */
}

html.font-size-large #tools li.font-control-item {
    padding-right: 1px;
}

html.font-size-large .size-s { font-size: 13px !important; } /* 0.8rem at 16px base */
html.font-size-large .size-m { font-size: 18px !important; } /* 1.1rem at 16px base */
html.font-size-large .size-l { font-size: 22px !important; } /* 1.4rem at 16px base */


.logo-section {
    display: flex;
    align-items: center;     /* Ensures vertical centering */
    gap: 10px;
}

/* Ensure proper alignment for large font size */
html.font-size-large .logo-section {
    align-items: center;
}

/* New: Right-side container */
.header-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;           /* Aligns children to the right */
    gap: 15px;                       /* Space between tools and HA logo */
}

.logo-box {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon { font-size: 3rem; }

.logo-text h1 {
    color: #007b43;
    font-size: 1.3rem;
    line-height: 1.2;
}

.logo-text h2 {
    color: #666;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

.ha-logo {
    display: flex;
    align-items: center;
    /*gap: 8px;*/
    /*border-left: 1px solid #ccc;*/
    /*padding-left: 20px;*/
}

.ha-icon { font-size: 2.2rem; color: #cc0000; }
.ha-text { display: flex; flex-direction: column; font-size: 0.75rem; font-weight: bold; color: #333; }

/* Utility Bar (Search & Lang) */
.utility-bar {
    text-align: right;
}

.search-box {
    margin-bottom: 10px;
    display: flex;
    justify-content: flex-end;
}

.search-box input {
    padding: 4px;
    border: 1px solid #ccc;
}

.search-box button {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    margin-left: 5px;
}

.lang-links a {
    text-decoration: none;
    color: #555;
    font-size: 0.85rem;
/*    margin: 0 3px;*/
    font-weight: bold;
}

.lang-links a:hover { color: #007b43; }

/* --- NAVIGATION BAR (FIXED 1024px STYLE) --- */
.navbar {
    width: 100%;
    background-color: #007b43; /* Main HA Green */
    border-top: 1px solid #89e0b0;
}

.nav-menu {
    list-style: none;
    display: flex;
    width: 100%;
}

.nav-item {
    flex: 1; /* Equal Width */
    position: relative;
    border-right: 1px solid rgba(255,255,255,0.2);
}

.nav-item:first-child { border-left: 1px solid rgba(255,255,255,0.2); }

.nav-link {
    display: block;
    text-align: center;
    padding: 0.75rem 0;
    color: white;
    text-decoration: none;
    font-size: 0.95rem;
    line-height: 1.3;
    font-weight: 600;
}

/* HOVER COLORS (Per your images) */
/* 1. About Us -> PURPLE */
.color-about:hover .nav-link, 
.color-about:hover .dropdown-menu { background-color: #20789b; }

/* 2. Patients -> GREEN */
.color-patients:hover .nav-link, 
.color-patients:hover .dropdown-menu { background-color: #20789b; }

/* 3. Services -> Dark Blue */
.color-services:hover .nav-link,
.color-services:hover .dropdown-menu { background-color: #20789b; }

/* 4. Home/Contact -> Standard Blue Hover */
.color-home:hover .nav-link, 
.color-contact:hover .nav-link { background-color: #20789b; }

/* DROPDOWN MENU */
.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    z-index: 999;
}

.dropdown:hover .dropdown-menu { display: block; }

/* 2-column layout for Services dropdown specifically */
/* .color-services:hover .dropdown-menu {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 500px;
    left: auto;
    right: -205px;
} */

.dropdown-menu li { list-style: none; }

.dropdown-menu li a {
    display: block;
    padding: 10px;
    color: white;
    text-decoration: none;
    font-size: 0.95rem;
    border-bottom: 1px solid rgba(255,255,255,0.3);
    text-align: left;
    padding-left: 15px;
}

.dropdown-menu li a:hover {
    background-color: rgba(0,0,0,0.1);
}

/* --- HERO SECTION --- */
.hero {
    /*width: 100%;*/ /*Deleted by Michael*/
    height: 340px; /* Fixed height for the slider */ /*Value changed by Michael*/
    background-color: #fff;
    position: relative;
    overflow: hidden;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures image covers the area without distortion */
    position: absolute;
    top: 0;
    left: 0;
    display: block;
}

/* FADE EFFECT */
.fade {
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.fade.active {
    opacity: 1;
}

/* --- CONTENT AREA (Grid Layout) --- */
.content-area {
    display: flex;
    flex-direction: column;
    padding: 20px 20px;
    gap: 10px;
}

.main-text {
    width: 100%;
}

.subpage-layout {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    width: 100%;
    margin-bottom: 20px;
}

.subpage-layout #LftMenuBar {
    flex: 0 0 185px; /* Fixed width for the menu */
}

.subpage-layout .main-text {
    flex: 1; /* Take remaining space */
}

/* FIX SUBPAGE IMAGE OVERFLOW */
.content-image {
    width: 100%;
    margin-bottom: 20px;
}

.content-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
}

.bottom-section {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    transition: flex-direction 0.3s ease;
}

/* Stack layout for the largest font size (200%) to provide enough horizontal space */
html.font-size-large .bottom-section {
    flex-direction: column;
    gap: 50px;
}

.quick-links-section {
    flex: 1;
}

.ql-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    background-color: #f9f9f9;
    padding: 15px;
    border-radius: 4px;
    border-left: 4px solid #007b43;
}

.ql-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px;
    background: white;
    border: 1px solid #eee;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none; /* Remove underline from <a> tag */
    text-align: center;
    transition: all 0.3s ease;
}

.ql-btn:hover {
    border-color: #cc0000;
    box-shadow: 0 2px 8px rgba(204, 0, 0, 0.1);
    transform: translateY(-2px); /* Subtle lift on hover */
}

.ql-btn:hover .ql-text {
    color: #cc0000;
}

.ql-icon {
    font-size: 1.8rem;
    margin-bottom: 8px;
}

.ql-text {
    font-size: 0.85rem;
    font-weight: 600;
    color: #333;
    transition: color 0.3s ease;
}

.news-section {
    flex: 1;
}

.news-scroll-container {
    height: 280px;
    overflow-y: auto;
    background-color: #f9f9f9;
    padding: 10px;
    border-radius: 4px;
    border-left: 4px solid #007b43;
}

/* Custom scrollbar for better look */
.news-scroll-container::-webkit-scrollbar {
    width: 6px;
}
.news-scroll-container::-webkit-scrollbar-track {
    background: #f1f1f1;
}
.news-scroll-container::-webkit-scrollbar-thumb {
    background: #068cec;
    border-radius: 3px;
}

.news-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 0;
    border-bottom: 1px dashed #ddd;
}

.news-item:last-child {
    border-bottom: none;
}

.news-date {
    flex: 0 0 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #007b43;
    color: white;
    padding: 5px;
    border-radius: 4px;
    font-weight: bold;
    min-width: 50px;
}

.news-date .month {
    font-size: 0.75rem;
}

.news-date .day {
    font-size: 1.1rem;
    line-height: 1;
}

.news-subject {
    flex: 1;
}

.news-subject a {
    color: #333;
    text-decoration: none;
    font-size: 0.95rem;
    line-height: 1.4;
    display: block;
    transition: color 0.2s;
}

.news-subject a:hover {
    color: #cc0000;
}

.contact-section {
    flex: 1;
}

.contact-card {
    background-color: #f9f9f9;
    padding: 10px;
    border-radius: 4px;
    border-left: 4px solid #007b43;
}

.contact-card p {
    margin-bottom: 8px;
    font-size: 0.95rem;
    line-height: 1.5;
}

.contact-card a {
    color: #007b43;
    text-decoration: none;
}

.news-list {
    list-style: none;
    padding-left: 0;
}

.news-list li {
    margin-bottom: 10px;
}

.news-list a {
    color: #333;
    text-decoration: none;
    font-size: 0.95rem;
}

.news-list a:hover {
    color: #cc0000;
}

.section-title {
    color: #007b43;
    font-size: 1.8rem;
    margin-bottom: 5px;
}

.title-line {
    border: none;
    height: 3px;
    background-color: #007b43;
    width: 60px;
    margin-bottom: 25px;
}

.main-text p {
    line-height: 1.8;
    color: #333;
    font-size: 1rem;
    text-align: justify;
}

/* Services page list styling */
.main-text ul {
    list-style-type: disc !important;
}

.main-text ul li {
    list-style-type: inherit !important;
    margin-bottom: 10px;
}

.main-text ul li::marker {
    color: #cc0000 !important;
    font-size: 0.8em;
}

.main-text ul li a {
    color: #333;
    text-decoration: none;
    transition: color 0.2s;
}

.main-text ul li a:hover {
    color: #cc0000 !important;
}

.services-list {
    padding-left: 20px;
}

/* Clinical Services Link Cards - Hover Underline Effect */
.link-card a {
    text-decoration: none; /* No underline by default */
    color: #333;
    transition: color 0.2s;
}

.link-card a:hover {
    text-decoration: underline; /* Underline on hover */
    color: #cc0000;
}

#contentgray ul {
    padding-left: 40px;
    margin-top: 10px;
}

#contentgray ul li {
    margin-bottom: 8px;
    color: #555;
}

.styled-table {
    border: 1px solid;
    border-collapse: collapse;
}

.styled-table th, .styled-table td {
    border: 1px solid;
    padding: 3px 10px;
}

/* --- INTERPRETATION TABLE - FIX LIST OVERFLOW --- */
.interpret-table ul, .interpret-table ol,
.interpret-table-2 ul, .interpret-table-2 ol {
    margin: 0;
    padding-left: 20px;
}

.interpret-table ul li, .interpret-table ol li,
.interpret-table-2 ul li, .interpret-table-2 ol li {
    margin-bottom: 5px;
    line-height: 1.6;
}

/* Center-align header row text */
.interpret-table tr:first-child td {
    text-align: center;
}

/* Add 3px padding to all table cells */
.interpret-table td,
.interpret-table-2 td {
    padding: 3px;
}

/* --- GOVERNANCE TABLE STYLING --- */
.gov-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    border: none;
}

.gov-section-head {
    padding: 12px 15px;
    font-weight: bold;
    font-size: 1.1rem;
    color: #fff;
    text-align: center;
}

.gov-section-content {
    padding: 20px 15px;
    text-align: left;
    background-color: #fff;
    border-bottom: 10px solid #fff; /* Gap between sections */
}

.gov-section-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.gov-section-content li {
    margin-bottom: 8px;
    color: #333;
    font-size: 1.05rem;
}

/* Light Green Section */
.gov-light .gov-section-head {
    background-color: #88BC40;
}
.gov-light {
    background-color: #f1f8e9;
}

/* Medium Green Section */
.gov-medium .gov-section-head {
    background-color: #14995a;
}
.gov-medium {
    background-color: #e8f5e9;
}

/* Dark Green Section */
.gov-dark .gov-section-head {
    background-color: #007b43;
}
.gov-dark {
    background-color: #f4f9f6;
}

/* Two-column layout for Member list */
.gov-dark .gov-section-content ul {
    column-count: 2;
    column-gap: 40px;
    text-align: left;
}

.gov-dark .gov-section-content li {
    padding-left: 20px;
}

/* --- HIGH CONTRAST MODE (WCAG 2026 Compliant - LIGHT) --- */
body.high-contrast {
    background-color: #ffffff !important;
    background-image: none !important; /* Force solid color for accessibility */
    color: #000000 !important;
}

body.high-contrast .main-wrapper {
    background-color: #ffffff !important;
    box-shadow: none !important;
    border: 1px solid #000;
}

body.high-contrast .header-container,
body.high-contrast .navbar,
body.high-contrast .dropdown-menu,
body.high-contrast .footer-links-bar,
body.high-contrast .simple-ha-footer {
    background-color: #ffffff !important;
    border: 1px solid #000000 !important;
}

body.high-contrast .footer-copyright {
    background-color: #ffffff !important;
}

body.high-contrast a,
body.high-contrast .nav-link,
body.high-contrast .dropdown-menu li a,
body.high-contrast #tools li a,
body.high-contrast .footer-links a {
    color: #000000 !important;
    font-weight: 800 !important;
}

body.high-contrast .nav-item {
    border: 1px solid #000000 !important;
    background-color: #ffffff !important;
}

body.high-contrast .nav-item:hover,
body.high-contrast .nav-item:hover .nav-link,
body.high-contrast .nav-link:hover,
body.high-contrast .dropdown-menu li:hover,
body.high-contrast .dropdown-menu li:hover a,
body.high-contrast .dropdown-menu li a:hover {
    background-color: #000000 !important;
    color: #ffffff !important;
    text-decoration: none !important;
}

body.high-contrast a:hover,
body.high-contrast #tools li a:hover,
body.high-contrast .footer-links a:hover {
    background-color: #000000 !important;
    color: #ffffff !important;
    text-decoration: none !important;
}

body.high-contrast a:active,
body.high-contrast .nav-link:active,
body.high-contrast #tools li a:active,
body.high-contrast .footer-links a:active {
    background-color: #000000 !important;
    color: #ffffff !important;
    text-decoration: none !important;
}

body.high-contrast .lang-link.active,
body.high-contrast .font-size-btn.active {
    background-color: #ffffff !important;
    color: #000000 !important;
    border: 2px solid #000000 !important;
    text-decoration: none !important;
}

body.high-contrast .hero,
body.high-contrast .content-image,
body.high-contrast img {
    filter: none !important; /* Keep original colors as requested */
}

body.high-contrast .logo-section {
    background-color: transparent !important;
    border: none !important;
}

body.high-contrast .ha-logo,
body.high-contrast .logo-lockup {
    background-color: transparent !important;
    border: none !important;
}

body.high-contrast .ha-logo img,
body.high-contrast .logo-lockup img {
    filter: none !important;
    opacity: 1 !important;
    background-color: transparent !important;
    border: none !important;
}

body.high-contrast .section-title,
body.high-contrast .logo-text h1,
body.high-contrast .text-en,
body.high-contrast .text-zh {
    color: #000000 !important;
}

body.high-contrast .title-line,
body.high-contrast .footer-top-line,
body.high-contrast .footer-bottom-line {
    background-color: #000000 !important;
}

body.high-contrast .contact-card,
body.high-contrast .news-scroll-container,
body.high-contrast .ql-grid {
    background-color: #ffffff !important;
    border: 1px solid #000000 !important;
}

body.high-contrast .main-text p {
    color: #000000 !important;
}

body.high-contrast .link-card a {
    color: #000000 !important;
    font-weight: 800 !important;
}

body.high-contrast .link-card a:hover {
    background-color: #000000 !important;
    color: #ffffff !important;
    text-decoration: underline !important;
}

/* Governance Table High Contrast (Light) */
body.high-contrast .gov-section-head {
    background-color: #000000 !important;
    color: #ffffff !important;
    border: 1px solid #000000 !important;
}

body.high-contrast .gov-section-content,
body.high-contrast .gov-light,
body.high-contrast .gov-medium,
body.high-contrast .gov-dark {
    background-color: #ffffff !important;
    color: #000000 !important;
    border: 1px solid #000000 !important;
}

body.high-contrast .gov-section-content li {
    color: #000000 !important;
}

/* --- FOOTER --- */
/*footer {
    background-color: #333;
    color: #bbb;
    padding: 20px;
    text-align: center;
    font-size: 0.85rem;
    margin-top: 20px;
}*/

/* Simple White Footer with Green Lines and #007b43 Text */
.simple-ha-footer {
    background-color: white;
    color: #007b43;              /* Text color */
    margin-top: 50px;
    text-align: center;
    font-size: 0.9rem;
}

/* Green lines above and below the links block */
.footer-top-line,
.footer-bottom-line {
    height: 2px;                 /* Thinner lines */
    background-color: #007b43;
}

.footer-links-bar {
    padding: 20px 30px;
}

.footer-links {
    list-style: none;
    display: inline-flex;
    gap: 20px;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-links li {
    position: relative;
    padding: 0 20px;
}

.footer-links li:not(:last-child):after {
    content: "|";
    position: relative;
    right: -31.5px;
    top: 0;
    color: #007b43;
    opacity: 0.8;
}

.footer-links a {
    color: #007b43;
    text-decoration: none;
    font-weight: 600;            /* Thicker text */
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #cc0000;
    text-decoration: none;
}

/* Copyright section - now comes after the bottom line */
.footer-copyright {
    padding: 15px 30px 20px;     /* Slightly more bottom padding */
}

.footer-copyright p {
    margin: 0;
    font-size: 0.85rem;
    color: #007b43;
    font-weight: 600;            /* Thicker copyright text as well */
}

body.high-contrast .footer-copyright p {
    color: #000000 !important;
    font-weight: 800 !important;
}


/* --- INTERPRETATION TABLE RESPONSIVE CARD LAYOUT (LARGE FONT SIZE ONLY) --- */
html.font-size-large .interpret-table {
    display: block;
    width: 100%;
    border: none;
}

html.font-size-large .interpret-table tbody {
    display: block;
}

html.font-size-large .interpret-table tr,
html.font-size-large .interpret-table-2 tr {    
    margin-bottom: 25px;
    border: 2px solid #007b43;
    border-radius: 8px;
    padding: 15px;
    background-color: #f9f9f9;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

html.font-size-large .interpret-table tr {
    display: block; 
}

html.font-size-large .interpret-table tr:first-child {
    display: none; /* Hide the header row in table 1 */
}

html.font-size-large .interpret-table td{
    display: block;
}

html.font-size-large .interpret-table td,
html.font-size-large .interpret-table-2 td {

    border: none;
    padding: 10px 5px !important;
    text-align: left !important;
    position: relative;
}

html.font-size-large .interpret-table td:before,
html.font-size-large .interpret-table-2 td:before {
    content: attr(data-label);
    font-weight: bold;
    color: #007b43;
    display: block;
    margin-bottom: 5px;
    font-size: 1.1rem;
}

html.font-size-large .interpret-table td[width="100%"],
html.font-size-large .interpret-table-2 td[width="100%"] {
    background-color: #007b43;
    color: white;
    font-weight: bold;
    padding: 12px !important;
    margin: -15px -15px 15px -15px;
    border-radius: 6px 6px 0 0;
}

html.font-size-large .interpret-table td[width="100%"]:before,
html.font-size-large .interpret-table-2 td[width="100%"]:before {
    display: none;
}

html.font-size-large .interpret-table ul,
html.font-size-large .interpret-table ol,
html.font-size-large .interpret-table-2 ul,
html.font-size-large .interpret-table-2 ol {
    margin: 5px 0;
    padding-left: 20px;
}

html.font-size-large .interpret-table li,
html.font-size-large .interpret-table-2 li {
    margin-bottom: 8px;
    line-height: 1.6;
}
