.histSectBlock{
    display: flex;
    flex-flow: row wrap;
    padding: 0;
}

.histImg{
    width: 30%;
    height: auto;
    position: static;
}

.histSectBlockCont{
    flex: 1 1 0;
    width: 100%;
    padding: 20px;
    background-color: #edeeee;
    color: #0a0a0a;
}

.histCampusTit{
    margin-bottom: 5px;
    color: #172e81;
    /* padding: 5px 10px; */
    display: inline-block;
    /* background: #e9ecef; */
    margin-top: 0;
}

.img-fluid {
    max-width: 100%;
    height: auto;
    display: block;
}

.rounded-corners {
    border-radius: 6px;
}

h4 {
    color: #555;
    font-weight: 400;
}

.acctitle95{
  font-size: 28px;
}

.paneltog-tit95{
  padding-bottom: 15px;
}

#hidden-content{
  display: none;
}

/* -------------------------------------- */
/* MAIN PAGE LAYOUT (Card Grid) */
/* -------------------------------------- */

.campus-history-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.campus-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.campus-card {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
    text-align: center;
}

.campus-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
}

.card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card-body {
    padding: 20px;
}

.card-title {
    margin-top: 0;
    margin-bottom: 5px;
    color: #172e81;
}

.card-intro {
    color: #666;
    font-size: 0.95em;
    margin-bottom: 15px;
}

.open-modal-btn {
    background-color: var(--yellow);
    color: var(--blue);
    font-size: 1em;
    font-weight: bold;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.open-modal-btn:hover {
    background-color: var(--grey);
    color: white;
}

.open-modal-btn a {
  text-decoration: none;
    color: var(--blue);
    font-size: 1em;
    font-weight: bold;
}

.open-modal-btn:hover a{
    color: white;
}


/* -------------------------------------- */
/* MODAL STYLING */
/* -------------------------------------- */

.modal {
    display: none; 
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.7); 
}

.modal-content {
    background-color: #fefefe;
    margin: 5% auto; 
    padding: 30px;
    border-radius: 8px;
    width: 90%;
    max-width: 900px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    position: relative;
}

.close-btn {
    color: #ebbf14;
    float: right;
    font-size: 40px;
    font-weight: bold;
    margin-top: -25px;
    margin-right: -15px;
    line-height: 1;
    padding-left: 1%;
}

.close-btn:hover,
.close-btn:focus {
    color: #172e81;
    text-decoration: none;
    cursor: pointer;
}

/* -------------------------------------- */
/* MODAL CONTENT */
/* -------------------------------------- */
.content-modal-layout {
    display: flex;
    flex-direction: row;
    gap: 20px;
}

.content-modal-layout .histImg {
    flex-shrink: 0;
    max-width: 300px;
}

@media (max-width: 768px) {
    .content-modal-layout {
        flex-direction: column;
    }
    .content-modal-layout .histImg {
        max-width: 100%;
        width: 100%;
    }
    .modal-content {
        margin: 10% auto;
    }
}

.panel3-heading {
    
}