.richimage {
    padding-top: 20px;
	
}
.rendering.degreelist.aof {
    padding-left: 0;
    width: 100%;
}
img.oofthecourse {
    width: 90%;
    margin-top: 22%;
}
.rendering.degreelist.aof h2 {
    color: black;
    font-weight: 600;
}
.headline-lg h1{
    color: white !important;
}

img.Aeronauticsimg2 {
    margin-top: 35%;
    width: 100%;
}

.rowinter {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  align-items: stretch; /* ensures equal height */
  margin-bottom: 4%;
}

/* Card styling */
.card {
  display: flex;
  justify-content: space-between;
  flex-direction: row;
  background: #efefef;
  overflow: hidden;
  flex: 1 1 48%;
  padding: 30px 20px 35px 20px;
  align-items: stretch;
}

/* Text section */
.card .text {
  flex: 1;
  padding-right: 15px;
}

.card h3 {
  margin: 0 0 5px;
  font-size: 18px;
  font-weight: 700;
  color: #003366;
}

.card h4 {
  margin: 0 0 10px;
  font-size: 16px;
  color: #0074b8;
  font-weight: 500;
}

.card p {
  font-size: 15px;
  color: #333;
  line-height: 1.5;
}

/* Image section */
.card img {
  width: 180px;
  height: 150px;
  object-fit: cover;
}

/* Responsive (stack on small screens) */
@media (max-width: 768px) {
  .card {
    flex-direction: column;
  }

  .card img {
    width: 100%;
    margin-top: 10px;
  }
}
@media (max-width: 1200px) {
    .rendering.degreelist.aof {
        width: 100%;
        padding-left: 50px;
    }
}
@media (max-width: 992px) {
    .rendering.degreelist.aof {
        width: 100%;
        padding-left: 20px;
    }
}

@media (max-width: 768px) {
    .rendering.degreelist.aof {
        width: 100%;
        padding-left: 10px;
    }
}
@media (max-width: 576px) {
    .rendering.degreelist.aof {
        width: 100%;
        padding-left: 0px;
    }
}

.news-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  max-width: 1200px;
  margin: 3% auto 0;
}

.news-card {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.news-card img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.news-card h3 {
  line-height: 1.3;
  margin: 16px;
}

.news-card h3 a {
  text-decoration: none;
}

.news-card p {
  margin: 0 16px 16px;
}

.read-more {
  margin: auto 16px 16px;
  text-decoration: none;
}

.read-more:hover {
  text-decoration: underline;
}
@media (min-width: 240px) and (max-width: 599px)  {
.header-image-holder {
    padding: 0 0;
}
.header-image-holder h1 {
    margin-top: 8%;
}
.headline-lg h1 {
    color: #0062b3 !important;
}
.card p {
        font-size: 0.79em !important;
    }
}