.commencement-grid-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    /*padding: 20px;*/
}

.commencement-grid-item {
    position: relative;
    cursor: pointer;
    width: 100%;
    overflow: hidden;
}

.commencement-grid-item img {
    width: 100%;
    height: 230px;
    object-fit: cover; /* Ensures images maintain aspect ratio while covering the container */
    display: block;
}


/* Transparent overlay that covers the image */
.commencement-grid-item .transparent-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(135, 133, 126, 0.4); /* #87857e with 70% opacity */
    z-index: 1; /* Sits behind the text overlay */
    transition: background-color 0.3s ease;
}

.commencement-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(139, 117, 71, 0.9);
    padding: 15px 30px;
    text-align: center;
    color: white;
    font-size: 1.2rem;
    font-weight: bold;
    z-index: 2; /* Ensure the text is above the transparent overlay */
    transition: background-color 0.3s ease;
    border-radius: 6px;
}

/* Hover effect to make the transparent overlay darker */
.grid-item:hover .transparent-overlay {
    background-color: rgba(135, 133, 126, 0.9); /* Darker on hover */
}

.commencement-grid-item:hover .overlay {
    background-color: rgba(139, 117, 71, 1); /* Darker on hover */ 
}


/* Section Styling */
.commencement-speaker-section {
    background-color: #B3A369; /* Background similar to your image */
    padding: 50px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: left;
    color: white;
}


.commencement-content {
    display: flex;
    justify-content: space-between;
    max-width: 1200px;
    width: 100%;
    align-items: center;
}

/* Text Content Styling */
.commencement-text-content {
    max-width: 60%;
    padding-left:40px;
}

.commencement-h2 {
    font-size: 32px;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 20px;
}

.commencement-h3 {
    font-size: 28px;
    font-weight: normal;
    color: #ffffff;
    margin-bottom: 10px;
}

.commencement-position {
    font-size: 18px;
    font-weight: bold;
    color: #ffffff; /* Lighter gray for titles */
    margin-bottom: 5px;
    line-height: 0.2em;
}

.commencement-company {
    font-size: 18px;
    font-weight: bold;
    color: #ffffff; /* Similar style for company name */
    margin-bottom: 20px;
}

.commencement-description {
    font-size: 17px;
    line-height: 1.5;
    color: #ffffff;
}

/* Image Content Styling */
.commencement-image-content {
    max-width: 35%;
    padding-right:40px;
}

.commencement-profile-image {
    width: 350px; /* Adjust the width as necessary */
    height: 350px;
    border-radius: 50%; /* Makes the image circular */
    object-fit: cover;
    border: 5px solid #ffffff; /* White border around the image */
}

/* Container for the two sections */
.commencement-announcement-container {
    display: flex;
    justify-content: space-between;
    max-width: 100%;
    margin: 0 auto;
    gap:20px; /* Gap between the two sections */	
}

/* Left Section: Congratulations Section */
.commencement-left-section {
    background-color: #01366E; /* Dark blue background */
    color: #FFFFFF;
    padding: 20px;
    width: 73%;
    display: flex;
    flex-direction: column; /* Ensures vertical stacking */
    justify-content: center; /* Centers content vertically */
    align-items: center; /* Centers content horizontally */
    text-align: center; /* Centers text inside the content */
    min-height: 100%; /* Ensures the section expands fully */
}


.commencement-left-section h2 {
    font-size: 30px;
    margin-bottom: 20px;
    color: white;
}

.commencement-left-section p {
    font-size: 16px;
    line-height: 1.6;
}

.commencement-left-section strong {
    font-weight: bold;
}

/* Right Section: Schedule Section */
.commencement-right-section {
    background-color: #B8A267; /* Golden color */
    color: #FFFFFF;
    padding: 20px;
    width: 27%;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: center; /* Vertically center the schedule section */
    min-height: 100%; /* Ensures the section expands fully */
}

.commencement-right-sub-section {
   border: 2px solid #002233;
   border-radius: 10px;
   padding: 10px;
}



.commencement-right-section h3 {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 10px;
    color: white;
    text-align: center;
}

.commencement-right-section p {
    font-size: 16px;
    margin-bottom: 20px;
}

.commencement-right-section strong {
    font-weight: bold;
}

.commencement-reach-out {
background-color: #01366E; /* Dark blue background */
    color: #FFFFFF;
    padding: 20px;
    width: 100%;
    text-align: center;
}

.commencement-overlay a:visited, .commencement-right-section a:visited{
    color: #003057 !important;
}

.commencement-right-section a:link{
   color: #003057 !important;
   border-bottom:2px solid #003057 !important;   
}

.commencement-right-section a:hover{
   text-decoration: none;
   background-color: #ffffff;
   color:#ffffff;
}

.commencement-overlay a:link, .commencement-left-section a:visited {
   color: #ffffff !important;
}

.commencement-reach-out a:link {
   border-bottom:2px solid rgb(var(--gt-tech-gold));
}

.commencement-reach-out a:visited {
   color: #ffffff;
   border-bottom-color: rgb(var(--gt-tech-gold));
}

.commencement-reach-out a:hover {
   text-decoration: none;
   background-color: rgb(var(--gt-tech-gold));
}
/* Button Styling */
/*.commencement-button {*/
   /* background-color: #B8A267;*/ /* Background color of the button */
   /* color: red;*//* #002233; Text color */
   /* padding: 15px 15px;
    font-size: 18px;
    text-decoration: none;
    border: 2px solid #002233;*/ /* Border color */
    /*border-radius: 8px;*/ /* Rounded corners */
   /* display: inline-block;
    font-weight: bold;
    position: relative;
    transition: all 0.3s ease;
}*/

/* Underline effect */
/*.commencement-button:hover {
    text-decoration: underline;
}*/

/* Hover effect with shadow */
/*.commencement-button:hover {
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.3); /* Adds shadow on hover */
/*}*/


    /* COMMENCEMENT PROGRAM PAGE CSS */

.commencement-program-h2 {
    font-family: 'Georgia', 'Times New Roman', serif; /* Formal serif font */
    font-size: 24px; /* Default font size */
    font-weight: bold; /* Bold text */
    color: #00274C; /* Navy blue color */
    text-transform: uppercase; /* Uppercase letters */
    /*text-align: center; /* Center align the text */
}

.commencement-program-orderevent-h2{
    font-family: 'Georgia', 'Times New Roman', serif; /* Formal serif font */
    font-size: 24px; /* Default font size */
    font-weight: bold; /* Bold text */
    color: #ffffff; /* Navy blue color */
    text-transform: uppercase; /* Uppercase letters */
    /*text-align: center; /* Center align the text */
}

.commencement-program-orderevent-h2:after {
    content: ""; /* Creates the line */
    display: block;
    width: 100%; /* Default width for the underline */
    height: 2px; /* Thickness of the line */
    margin: 8px auto 0; /* Space between the text and line, and center alignment */
    background-color: #ffffff; /* Same color as the text */
}


.commencement-program-h2:after {
    content: ""; /* Creates the line */
    display: block;
    width: 100%; /* Default width for the underline */
    height: 2px; /* Thickness of the line */
    margin: 8px auto 0; /* Space between the text and line, and center alignment */
    background-color: #00274C; /* Same color as the text */
}

.commencement-program-speaker-h2 {
    font-size: 32px;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 20px;
}

.commencement-program-speaker-h2:after {
    content: ""; /* Creates the line */
    display: block;
    width: 100%; /* Default width for the underline */
    height: 2px; /* Thickness of the line */
    margin: 8px auto 0; /* Space between the text and line, and center alignment */
    background-color: #ffffff; /* Same color as the text */

}

.commencement-program-h3 {
    font-family: 'Georgia', 'Times New Roman', serif; /* Formal serif font */
    font-size: 18px; /* Adjust font size */
    font-weight: bold; /* Bold text */
    color: #00274C; /* Navy blue color */
    text-transform: uppercase; /* Uppercase letters */
    text-align: left; /* Left-aligned text (adjust if needed) */
    margin: 10px 0; /* Add some space above and below */
}

.commencement-program-orderevent-h3 {
    font-family: 'Georgia', 'Times New Roman', serif; /* Formal serif font */
    font-size: 18px; /* Adjust font size */
    font-weight: bold; /* Bold text */
    color: #ffffff; /* Navy blue color */
    text-transform: uppercase; /* Uppercase letters */
    text-align: left; /* Left-aligned text (adjust if needed) */
    margin: 10px 0; /* Add some space above and below */
}


/* Container for the columns */
.commencement-program-column-container {
    display: flex; /* Flexbox layout for columns */
    justify-content: space-between; /* Even spacing between columns */
    gap: 20px; /* Add spacing between columns */
    margin: 20px 0; /* Space around the container */
}

/* Individual columns */
.commencement-program-column {
    flex: 1; /* All columns take equal width */
    text-align: left; /* Align text to the left */
    color: #00274C; /* Navy blue color */
    font-family: 'Georgia', 'Times New Roman', serif; /* Formal serif font */
    font-size: 16px; /* Base font size */
}

/* Styles for names */
.commencement-program-column .name {
    /*font-weight: bold; /* Bold for names */
    font-size: 16px; /* Slightly larger font */
}

/* Styles for the text under the name */
.commencement-program-column .details {
    font-style: italic; /* Italic for details */
    font-size: 14px; /* Smaller font size for details */
    margin-bottom: 10px; /* Space between entries */
}

/* Background container styling */
.commencement-program-golden-background-container {
    background-color: #b3a369; /* Light brown/golden background */
    padding: 20px; /* Padding around the content */
    border-radius: 10px; /* Rounded corners */
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
    margin: 20px auto; /* Center the container with some vertical margin */
    max-width: 1200px; /* Set maximum width for the container */
    color: #00274C; /* Text color for consistency */
    font-family: 'Arial', sans-serif; /* Font for the text */
}

.commencement-program-grey-background-container {
    background-color: #e5e5e5; /* Light brown/golden background */
    padding: 20px; /* Padding around the content */
    border-radius: 10px; /* Rounded corners */
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
    margin: 20px auto; /* Center the container with some vertical margin */
    max-width: 1200px; /* Set maximum width for the container */
    color: #262626; /* Text color for consistency */
    font-family: 'Arial', sans-serif; /* Font for the text */
}

.commencement-program-lightgrey-background-container {
    background-color: #f9f9f9; /* Light brown/golden background */
    padding: 20px; /* Padding around the content */
    border-radius: 10px; /* Rounded corners */
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
    margin: 20px auto; /* Center the container with some vertical margin */
    max-width: 1200px; /* Set maximum width for the container */
    color: #262626; /* Text color for consistency */
    font-family: 'Arial', sans-serif; /* Font for the text */
    overflow: hidden; /* Ensures text wraps properly */
}

.commencement-program-blue-background-container {
    background-color: #003057; /* Light brown/golden background */
    padding: 20px; /* Padding around the content */
    border-radius: 10px; /* Rounded corners */
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
    margin: 20px auto; /* Center the container with some vertical margin */
    max-width: 1200px; /* Set maximum width for the container */
    color: #ffffff; /* Text color for consistency */
    font-family: 'Arial', sans-serif; /* Font for the text */
}

.commencement-program-speaker-section {
    background-color: #B3A369; /* Background similar to your image */
    border-radius: 10px; /* Rounded corners */
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
    padding: 50px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: left;
    color: white;
}

.commencement-subpage-banner-image {
    width: 100%;
    height: 300px;
    background-image: url('/sites/default/files/images/gold_outline_moasaic_navy_gold_masters_commencement_logo_digital_screen_1920_x_540_px.png');
    background-size: cover;
    background-position: center;
}

.commencement-program-wreck-image {
    float: right; /* Aligns the image to the right */
    margin: 10px 0 10px 20px; /* Adds space around the image */
    width: 450px; /* Set a specific width for the image */
}

.commencement-program-leftImg-container {
    float: left; /* Aligns the image to the left */
    margin: 10px 20px 10px 0; /* Adds space around the image */
    width: 450px; /* Set a specific width for the image */
}

/* Media Queries for Smaller Screens */
@media (max-width: 768px) {
    .break-after::after {
        content: '\A'; /* Adds a line break */
        white-space: pre; /* Ensures the line break works */
    }

    .commencement-content {
        flex-direction: column;
        text-align: center;
    }
    .commencement-text-content {
        max-width: 100%;
        margin-bottom: 20px;
	padding: 2%;
    }
    .commencement-image-content {
        max-width: 100%;
	padding-right: 0px;
    }
    .commencement-profile-image {
        width: 200px;
        height: 200px;
    }
    .commencement-announcement-container {
        flex-direction: column;
    }

    .commencement-left-section, .commencement-right-section {
        width: 100%;
    }
    
    .commencement-program-h2 {
	font-size: 20px; /* Slightly larger font size */
	text-align: center;
    }

    .commencement-program-h2:after {
        width: 60%; /* Adjust underline width */
    }

    .commencement-program-h3 {
        font-size: 16px; /* Slightly smaller font size for medium screens */
        text-align: center; /* Center-align text for better readability on smaller screens */
        margin: 8px 0; /* Adjust margins for tighter space */
    }

    .commencement-program-column-container {
        flex-direction: column; /* Stack columns vertically */
        gap: 10px; /* Reduce spacing */
    }

    .commencement-program-column {
        text-align: center; /* Center-align text for smaller screens */
        font-size: 14px; /* Reduce font size slightly */
    }

    .commencement-program-column .name {
        font-size: 14px; /* Adjust font size for names */
    }

    .commencement-program-column .details {
        font-size: 12px; /* Adjust font size for details */
    }

    .commencement-subpage-banner-image {
	width: 100%;
        height: 180px;	
    }

    .commencement-program-lightgrey-background-container , .commencement-program-grey-background-container {
	margin: 0px;
    }

    .commencement-program-speaker-section {
        padding: 20px 5px;
    }
}

