/* General Reset and Styling */
/* General Reset and Styling */
body, html {
    margin: 0;
    padding: 0;
    font-family: 'Source Sans Pro', Arial, sans-serif;
    overflow-x: hidden;
    height: 100%;
}

/* Main Page Layout Specific to Areas de Formação */
#vm-af-areas-de-formacao {
    display: flex;
    min-height: 98vh;
    width: 100%;
    padding-top: 130px;
    overflow-x: hidden;
    box-sizing: border-box;
}

/* Image Section */
.vm-af-left-column {
    flex: 1;
    position: relative;
    background-color: #000;
    height: calc(98vh - 130px);
}

.vm-af-image-box {
    position: relative;
    width: 100%;
    height: 100%;
    background-image: url("../images/area-formacao2.jpg"); /* Add the path to your image here */
    background-size: cover; /* Ensures the image covers the entire div */
    background-position: center; /* Centers the image within the div */
    background-repeat: no-repeat; /* Ensures the image doesn't repeat */
    display: flex;
    flex-direction: column;
    justify-content: center;  /* Center content vertically */
    align-items: center;  /* Center content horizontally */
}

.vm-af-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
    z-index: 1;
}

/* Centered Text Box */
.vm-af-text-box {
    position: relative;
    text-align: center;
    background: rgba(0, 0, 0, 0.4);
    padding: 20px;
    border-radius: 15px;
    z-index: 2; /* Ensure it's above other content */
}

/* Link at the bottom */
.vm-af-more-link {
    position: absolute;
    bottom: 1px;  /* Position 20px from the bottom */

    font-size: 18px;
	text-shadow:
    -1px -1px 0 #000,  
    1px -1px 0 #000,
    -1px 1px 0 #000,
    1px 1px 0 #000;
    color: ghostwhite;
    z-index: 2; /* Ensure it's above the overlay */
    text-align: center;
}

.vm-af-more-link a {
    color: white; /* Link color */
    text-decoration: underline;
}

/* Scrollable List Section */
.vm-af-right-column {
    flex: 1;
    background-color: #f7f7f7;
    position: relative;
    height: calc(98vh - 130px);
    padding: 20px;
    box-sizing: border-box;
}

.vm-af-scrollable-content {
    max-height: calc(98vh - 170px);
    overflow-y: auto;
    background-color: #fff;
    scrollbar-width: thin;
    position: relative;
    z-index: 1;
}

.vm-af-scrollable-content::-webkit-scrollbar {
    width: 6px;
}

.vm-af-scrollable-content::-webkit-scrollbar-thumb {
    background-color: #ccc;
    border-radius: 3px;
}

.vm-af-line-item h2.vm-af-title {
    font-size: 26px;
    color: black;
	font-weight: bolder;
    margin: 0;
    padding-bottom: 5px;
}

.vm-af-line-item {
    font-size: 18px;
    padding: 20px;
    border-bottom: 1px solid #ddd;
    width: 100%;
    box-sizing: border-box;
    background-color: #f7f7f7;
    cursor: default; /* Ensures the cursor remains as the default arrow */
    transition: background-color 0.3s ease, box-shadow 0.3s ease; /* Smooth transition for the hover effect */
}

.vm-af-line-item:hover {
    background-color: #e0e0e0; /* Changes background color on hover */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Adds a slight shadow effect on hover */
    cursor: default; /* Ensure the cursor does not change */
}

/* Scroll shadow overlays */
.vm-af-scroll-shadow {
    position: absolute;
    left: 0;
    right: 0;
    height: 50px;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0));
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    z-index: 2;
}

.vm-af-scroll-shadow.top {
    top: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.7));
}

.vm-af-scroll-shadow.bottom {
    bottom: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0));
}

.vm-af-scroll-shadow img {
    width: 24px;
    height: 24px;
    filter: invert(1);
}

/* Responsive Design */
@media (max-width: 768px) {
    #vm-af-areas-de-formacao {
        flex-direction: column;
    }

    .vm-af-left-column,
    .vm-af-right-column {
        width: 100%;
        height: 50vh;
    }

    .vm-af-image-box {
        height: 100%;
    }

    .vm-af-scrollable-content {
        max-height: 50vh;
    }
}

@media (max-width: 576px) {
    .vm-af-title {
        font-size: 20px;
    }

    .vm-af-description {
		font-size: 1.4em !important;
  		font-family: "Arial Narrow", Arial, sans-serif !important;
		color: white;
		font-weight: bold;
    }

    .vm-af-more-link {
        font-size: 14px;
    }
}

h112 {
		font-size: 20px !important;
  font-family: "Arial Narrow", Arial, sans-serif !important;
		color: white;
		font-weight: bolder;
    }
