/* STM Summary Call to Action Section */
/* background-image: url('../D_Asset/Sect_Call_To_Action.jpg'); */

/* STM Summary Call to Action Section */
.stm-summary-cta {
    position: relative;
    padding: 40px 0;
    overflow: hidden;
}

.stm-summary-cta:before {
    content: "";
    display: block;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    height: 100%;
    background-image: url('../D_Asset/Sect_Call_To_Action.jpg');
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: -1;
    background-color: #555; /* Fallback color */
}

.stm-summary-cta .container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    width: 100%;
}

.cta-image {
    flex: 0 0 15%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    margin-left: -20px;
}

.cta-image img {
    max-width: 120%;
    height: auto;
}

.stm-summary {
    flex: -20% -20% 80%;
    display: flex;
    flex-direction: column;
    padding: 20px;
    margin-left: 10 px;
    background-color: transparent;
}

/* A. stm-summary-content area */
.stm-summary-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: var(--Border_Radius);
    box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.3);
    width: 100%;
}

/* B. stm-summary-header */
.stm-summary-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 20px;
    margin-bottom: 20px;

 
}

.stm-summary-header h2 {
    background-color: rgba(0, 0, 128, 1.0);
    color: white;
    padding: 12px 24px;
    border-radius: var(--Border_Radius);
    font-family: var(--Font_Secondary); /* Use the secondary font for headings */
    font-weight: 700;
    font-size: var(--Font_Size_M); /* Use the medium font size variable */
    margin: 0 20px;
    box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.3);
    border-radius: var(--Border_Radius);
}

.stm-summary-header .stm-logo {
    height: 3.75rem; /* 60px ÷ 16px = 3.75rem */
    box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.3);
}


.stm-summary-list {
    display: flex;
    flex-direction: column;
    flex: 1;
    width: 100%;
}

.stm-summary-item {
    display: flex;
    margin-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding-bottom: 5px;
    background-color: transparent;
}

.stm-summary-item h3 {
    flex: 1;
    max-width: 42%;
    text-align: right;
    font-family: var(--Font_Primary); /* Use the primary font for paragraphs */
    font-weight: 700;
    font-size: var(--Font_Size_S); /* Use the small font size variable */
    color: var(--Blue_Logo);
    margin: 0;
    padding-right: 20px;
}

.stm-summary-item p {
    flex: 1;
    max-width: 60%;
    text-align: left;
    font-family: var(--Font_Primary); /* Use the primary font for paragraphs */
    font-size: var(--Font_Size_S); /* Use the small font size variable */
    color: var(--Blue_Logo);
    margin: 0;
    padding-left: 20px;
    overflow-wrap: break-word; /* Ensures text wraps within the container */
}

/* C. cta-button */
.cta-button {
    text-align: center;
    padding-top: 50px;  /* Increased from 20px to 60px to move it downward by 40 pixels */
    margin-top: 00px;  /* Moves the button downward by 40 pixels */
}

.cta-link {
    display: inline-block;
    background-color: var(--Blue_Highlight_Dark);
    color: white;
    padding: 12px 24px;
    border-radius: var(--Border_Radius);
    text-decoration: none;
    font-family: var(--Font_Primary); /* Use the primary font for buttons */
    font-weight: 700;
    font-size: 18px;
    transition: background-color 0.3s;
    box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.3);
}

.cta-link:hover {
    background-color: darkgreen; /* #002244; */
}

@media screen and (max-width: 768px) {
    .stm-summary-cta .container {
        flex-direction: column;
    }

    .cta-image, .stm-summary {
        flex: 100%;
        margin-left: 0;
    }

    .stm-summary-cta {
        margin-left: -40;
    }
    .stm-summary-item {
        flex-direction: column;
    }

    .stm-summary-item h3,
    .stm-summary-item p {
        text-align: left;
        flex: 100%;
        max-width: 100%;
        padding-right: 0;
        padding-left: 0;
        color: var(--Blue_Logo);
    }
}
@media screen and (max-width: 480px) {
    .cta-image img {
         max-width: 100%; /* Ensures the image does not exceed the container width */
        max-height: 6.25rem; /* Equivalent to 100px */
        height: auto;
         width: auto; /* Allows width to adjust if height is constrained */
    }
}