/*:root {
    color-scheme: light dark;
}

html, body {
    font-size: 14pt;
    font-family: Arial, Helvetica, sans-serif;
    background-color: light-dark(#f4f4f4, #0C0C0C);
    color: light-dark(hsl(0, 0%, 0%), #ffffff);
}

body {
    margin: 0;
    padding: 0;
    display: flex; /* Enable flexbox for overall layout /
}*/

.page-container {
    display: flex; /* Enable flexbox for main content and thermometer areas */
    width: 100%;
    max-width: 1200px; /* Optional: Limit page width */
    margin: 1rem auto; /* Center the container */
    padding: 1rem;
    box-sizing: border-box;
    position: relative; /* For positioning pseudo-elements absolutely */
}

.content-area {
    width: 85%;
    padding-right: 5%; /* Spacing for the triangle */
    box-sizing: border-box;
}

.card-section {
    background-color: light-dark(white, black);
    border: 1px solid light-dark(#ddd, #333);
    box-shadow: 0.2rem 0.2rem 0.7rem light-dark(rgba(0, 0, 0, 0.05), rgba(255, 255, 255, 0.2));
    border-radius: 8px;
    margin-bottom: 30px; /* Increased margin for visual separation */
    padding: 20px;
    position: relative; /* For positioning the ::after triangle */
}

.card-section::after {
    content: '';
    position: absolute;
    top: 50%; /* Vertically center the triangle */
    right: -3.65rem; /* Adjust to position it outside the card */
    transform: translateY(-50%);
    width: 0;
    height: 5%;
    border-top: 0 /*10px solid transparent*/; /* Adjust size */
    border-left: 4rem solid light-dark(white, black); /* Match card background */
    border-bottom: 11rem solid transparent; /* Adjust size */
    border-radius: 6px;
    z-index: 1; /* Ensure it's above other elements */
}

.card-header h2 {
    margin-top: 0;
    color: light-dark(#333, #DDD);
}

.card-content {
    color: light-dark(#555, #BBB);
    line-height: 1.6;
    margin-bottom: 15px;
}

.card-bottom .read-more {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.9em;
}

.card-bottom .read-more:hover {
    background-color: #0056b3;
}

.thermometer-area {
    width: 10%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start; /* Align items to the top */
    padding-left: 5px; /* Spacing from the content area */
    box-sizing: border-box;
    margin-left: 4rem;
}

.thermometer-graphic-container {
    display: flex;
    flex-direction: row; /* Label to the right of the graphic */
    align-items: center; /* Vertically align label and graphic */
    margin-top: 20px; /* Adjust top margin as needed */
    min-height: 100%;
}

.thermometer-graphic {
    background: linear-gradient(to bottom, light-dark(#e1f5fe, #1e0A01), #fdd835); /* Two-color fade/gradient */
    width: 2.5rem; /* Adjust thickness as needed */
    height: 102%; /* Adjust height as needed */
    border-radius: 15px;
    border: 1px solid light-dark(#ccc,#444);
    position: relative; /* For positioning the bulb */
}

.thermometer-bulb {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 4rem; /* Match thermometer width */
    height: 4rem; /* Adjust bulb height */
    background:  #fdd835; /* Match gradient */
    border-radius: 50%;
    border: none/*1px solid #ccc*/;
    margin-bottom: -5px; /* Slight overlap */
}

.thermometer-label {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14pt;
    color: light-dark(#777,#999);
    margin-left: 0.5rem;
    text-align: left;
    writing-mode: vertical-lr;
}

/* Visually hidden class for accessibility */
.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    margin: -1px !important;
    padding: 0 !important;
    border: 0 !important;
}

/* Basic responsive adjustments */
@media (max-width: 768px) {
    /*body {
        flex-direction: column; /* Stack elements on smaller screens *
        align-items: center;
    }*/

    .page-container {
        flex-direction: column;
        width: 100%;
        margin-left: 0;
        padding-left: 0;
    }

    .content-area {
        width: 100%;
        margin: 0;
        padding: 0;
    }

    .card-bottom .read-more {
        display: block;
        width: 80%;
        height: auto;
        margin-left: 5%;
        margin-right: 5%;
        text-align: center;
    }

    .card-section::after {
        display: none; /* Hide triangles on smaller screens */
    }

    .thermometer-area {
        display: none;
        visibility: hidden;
    }
}