/*----------------TOP FORSIDE (MOBILE VERSION)---------------------*/

/*----------------TOP ZONE 1---------------------*/

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #f5f5f5;
}

.top_forside_zone1 {
    background-color: #ece8f7;
    grid-column: 1 / 27;
    grid-row: 6 / 8;
    display: grid;
    width: 100vw; /* Ensure it spans the entire viewport width */
    grid-template-rows: 50px auto auto auto 25px 25px auto auto auto auto;
    grid-template-columns: 1fr; /* Simplify for mobile responsiveness */

    /* Prevent overflow and align content properly */
    overflow: hidden;
    box-sizing: border-box;
}

.card_employee_grid, .card_employer_grid {
    display: grid;
    width: 100%;
    grid-template-columns: 1fr; /* Single column */
    grid-template-rows: repeat(4, auto); /* Simplify row heights */
    gap: 10px;
}

h1.Top_Z1_heading {
    grid-columns: 1/-1;
	grid-row: 2/3;
		text-align: center;
		font-size: 1.875rem;
		color: rgb(64, 62, 67);
		font-weight: 700;
		/*text-shadow: 2px 2px 4px black;*/
		font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
		-webkit-font-smoothing: antialiased;
		-moz-osx-font-smoothing: grayscale;
		/* Adjust margin and padding */
		margin: 0; /* Removes all default margins */
		padding: 0; /* Removes any padding */
    
		/* Optional: fine-tune spacing */
		margin-bottom: 15px; /* Adjust as needed */
		margin-left: auto; /* Center the title */
		margin-right: auto; /* Center the title */

}

.Top_Z1_manchet {
    grid-row: 3/4;
    text-align: center;
    font-size: 1.125rem; /* Smaller font for mobile */
    color: rgb(55, 65, 81);
    margin: 10px auto;
    max-width: 75%; /* Ensure text block is not too wide */
    line-height: 1.75rem;
	font-weight: 400;
		font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}

.top-section-grid {
    grid-row: 4/5;
    display: flex;
    flex-direction: column; /* Stack items vertically */
    justify-content: center;
    align-items: center;
    gap: 15px;
    padding: 10px;
}

.card_employer, .card_employee {
    padding: 15px;
    border-radius: 8px;
    background-color: #ffffff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    width: 80%; /* Full width for mobile */
    max-width: 320px; /* Constrain maximum width */
}

.card_employer:hover, .card_employee:hover {
    transform: scale(1.10); /* Slight zoom for mobile */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.card_employer .icon, .card_employee .icon {
    font-size: 2rem; /* Adjust icon size for mobile */
    margin-bottom: 10px;
}

.top_employee_title, .top_employer_title {
    font-size: 1.5rem; /* Adjust heading size for mobile */
    line-height: 2rem;
    color: rgb(64 62 67);
    text-align: center;
    margin: 10px 0;
	font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
	font-weight: 700;
}

.top_employee_subtext, .top_employer_subtext {
    font-size: 1rem; /* Smaller font for mobile */
    line-height: 1.5rem;
    font-weight: 500;
    color: rgb(55, 65, 81);
    margin-top: 5px;
    text-align: center;
	font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}

.top_employee_cta, .top_employer_cta {
    font-size: 1rem; /* Match mobile text size */
    line-height: 1.5rem;
    font-weight: 500;
    color: rgb(55, 65, 81);
    margin-top: 10px;
    text-align: center;
	font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}
