/* ===== Base ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  color: #333;
  margin: 0;
  padding: 0;
  background-color: #fff;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
}

/* ===== Header ===== */
.site-header {
  position: relative;
  z-index: 100;
}

.header-logo-wrap {
  background-color: #0A3A5B;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 110px;
  padding: 15px 20px;
}

.header-logo img {
  max-width: 220px;
  height: auto;
}

.navbar-nav li {
  position: relative;
}

.navbar-nav .nav-link {
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 20px;
  color: #333;
  padding: 8px 12px;
  transition: color 0.2s;
  white-space: nowrap;
  display: block;
}

.navbar-nav .nav-link:hover {
  color: #0A3A5B;
}

/* ===== Dropdown Menus (Children) ===== */
.navbar-nav ul {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #FFFFFF;
  min-width: 220px;
  box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.1);
  list-style: none;
  padding: 10px 0;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 999;
  border-top: 3px solid #0A3A5B; 
  border-radius:5px;
}

/* Show dropdown on hover */
.navbar-nav li:hover > ul {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Deeply nested menus (Grandchildren) */
.navbar-nav ul ul {
  top: 0;
  left: 100%;
  margin-top: -10px;
}

/* Dropdown Item Styling */
.navbar-nav ul .nav-link {
  font-size: 16px; 
  padding: 10px 20px;
  color: #555;
  white-space: normal; 
  line-height: 1.4;
}

.navbar-nav ul .nav-link:hover {
  background-color: #F7F9FA;
  color: #0A3A5B;
}

/* ===== Hero Section ===== */
.hero-section {
  position: relative;
}

.hero-image {
  height: 540px;
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
}

.hero-color-strip {
  display: flex;
  height: 19px;
  position: relative;
  z-index: 2;
}

.hero-color-strip .color-strip-item {
  flex: 1;
}

.hero-overlay {
  background-color: rgba(10, 58, 91, 0.85);
  padding: 70px 0;
}

.hero-title {
  font-family: 'Lora', serif;
  font-weight: 600;
  font-size: 64px;
  line-height: 1.1;
  color: #F7F9FA;
  margin-bottom: 12px;
}

.hero-subtitle {
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  font-size: 24px;
  color: #F7F9FA;
  margin-bottom: 0;
}

.btn-hero {
  background-color: #F7C948;
  color: #333;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 24px;
  padding: 16px 56px;
  border-radius: 41px;
  box-shadow: 0 4px 7.3px rgba(0, 0, 0, 0.34);
  transition: background-color 0.2s, transform 0.2s;
  display: inline-block;
}

.btn-hero:hover {
  background-color: #e5b83e;
  color: #333;
  transform: translateY(-1px);
}

/* ===== Sections Common ===== */
.section-hirek,
.section-info,
.section-events {
  padding: 60px 0;
}

.section-title {
  font-family: 'Lora', serif;
  font-weight: 600;
  font-size: 48px;
  color: #333;
  margin-bottom: 8px;
}

.section-subtitle {
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  font-size: 18px;
  color: #333;
  margin-bottom: 32px;
}

/* ===== News Tabs ===== */
#news-menu li {
	display: inline-block;
}

.news-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-bottom: 40px;
  padding: 0px;
}

.news-tab {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 20px;
  color: #333;
  background-color: #F7C948;
  border: none;
  border-radius: 41px;
  padding: 11px 30px;
  cursor: pointer;
  transition: opacity 0.2s;
  line-height: 1.4;
}

.news-tab:hover {
  opacity: 0.85;
}

.news-tab.tab-green {
  background-color: #9DD777;
}

.news-tab.tab-orange {
  background-color: #FFB778;
}

.news-tab.tab-blue {
  background-color: #B4E4FF;
}

/* ===== News Cards ===== */

.news-card .content {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.news-card .content img.news {
	width: 100% !important; /* Overrides the width="100px" attribute */
	height: 280px;           /* Adjust height as needed */
	object-fit: cover;       /* Prevents image stretching */
	display: block;
	border-radius: 10px;
}

.news-date {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 16px;
  color: #333;
}

.news-card-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 20px;
  line-height: 1.4;
  color: #333;
  margin: 0;
}

.news-card-text {
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  font-size: 18px;
  color: #333;
  margin: 0;
}

/* ===== Pagination ===== */
.news-pagination {
  display: flex;
  justify-content: center;
}

.news-pagination ul {
  display: flex;
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.news-pagination a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 5px;
  background-color: #B4E4FF;
  color: #333;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 24px;
  transition: background-color 0.2s;
}

.news-pagination a:hover,
.news-pagination a.active {
  background-color: #0A3A5B;
  color: #F7F9FA;
}

/* ===== Info Cards ===== */
#info-cards-wrapper {
	display: grid;
	grid-template-columns: repeat(3, 1fr); 
	gap: 1.5rem; 
	padding: 0;
	margin: 0;
	list-style: none;
	width: 100%;
}

#info-cards-wrapper .sep {
	display: none;
}

#info-cards-wrapper li {
	min-width: 0; 
}

.info-card {
	display: flex;
	flex-direction: column;
	gap: 35px;
	align-items: center;
	border-radius: 10px;
	overflow: hidden;
	background: linear-gradient(90deg, #FFB778 0%, #FFB778 100%), #fff;
	height: 100%;
	text-decoration: none;
	text-align: center;
	transition: transform 0.2s;
}

.info-card:hover {
	transform: translateY(-4px);
}

.info-card .info-card-img {
	display: block;
	width: 100%; 
	height: 100%;
	background-size: cover;
	background-position: center; 
	border-radius: 10px 10px 0 0;
	object-fit:cover;
}

.info-card-label {
	font-family: 'Poppins', sans-serif;
	font-weight: 600;
	font-size: 32px;
	line-height: 1.1;
	color: #333;
	text-align: center;
	text-transform: capitalize;
	padding: 0 20px 30px;
}

/*#info-cards-wrapper li:nth-child(1) .info-card-img { background-image: url('../images/info-rendezvenyek.jpg'); height:327px;}
#info-cards-wrapper li:nth-child(3) .info-card-img { background-image: url('../images/info-intezmenyek.jpg'); height:327px;}
#info-cards-wrapper li:nth-child(5) .info-card-img { background-image: url('../images/info-etlap.jpg'); height:327px;}
#info-cards-wrapper li:nth-child(7) .info-card-img { background-image: url('../images/info-esemenyek.jpg'); height:327px;}
#info-cards-wrapper li:nth-child(9) .info-card-img { background-image: url('../images/info-onkormanyzat.jpg'); height:327px;}
#info-cards-wrapper li:nth-child(11) .info-card-img { background-image: url('../images/info-hivatal.jpg'); height:327px;}*/

@media (max-width: 767.98px) {
    #info-cards-wrapper {
        grid-template-columns: 1fr; 
        gap: 1.5rem;
    }

    .info-card .info-card-img {
        height: 250px !important; 
    }

    .info-card-label {
        font-size: 24px; 
        padding: 0 15px 20px;
    }
}

/* ===== Day Group (date + events column) ===== */
.day-group {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.day-group .event-card {
  height: auto;
}

/* ===== Event Calendar Section ===== */
.month-nav {
  display: inline-flex;
  align-items: center;
  gap: 0;
  background-color: #B4E4FF;
  border-radius: 10px;
  margin-bottom: 32px;
  overflow: hidden;
}

.month-nav-btn {
  background: none;
  border: none;
  width: 48px;
  height: 87px;
  font-size: 24px;
  font-weight: 600;
  color: #333;
  cursor: pointer;
  transition: background-color 0.2s;
}

.month-nav-btn:hover {
  background-color: rgba(0, 0, 0, 0.05);
}

.month-nav-label {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 24px;
  color: #333;
  padding: 0 20px;
}

/* ===== Date Tabs ===== */
.date-tab {
  background-color: #0A3A5B;
  border-radius: 10px;
  padding: 21px 20px;
  cursor: pointer;
  transition: background-color 0.2s;
  height: 104px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}

.date-tab.active {
  background-color: #0A3A5B;
}

.date-tab-day {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 32px;
  color: #F7F9FA;
  line-height: 1.1;
  text-transform: capitalize;
}

.date-tab-weekday {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 20px;
  color: #F7F9FA;
  line-height: 1.4;
}

/* ===== Event Cards ===== */
.event-card {
  border-radius: 10px;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.event-card-img {
  height: 280px;
  overflow: hidden;
}

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

.event-card-body {
  background-color: #F7F9FA;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 11px;
  flex: 1;
  border-radius: 0 0 10px 10px;
}

.event-card-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 20px;
  line-height: 1.4;
  color: #333;
  margin: 0;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
	height: 2.8em;
}

.event-card-meta {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.event-meta-item {
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 24px;
}

.event-meta-item svg {
  flex-shrink: 0;
}

.event-meta-item span {
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  font-size: 16px;
  color: #333;
}

/* ===== More Events Button ===== */
.btn-more-events {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: #B4E4FF;
  border-radius: 10px;
  padding: 17px 56px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 24px;
  color: #333;
  text-decoration: none;
  transition: background-color 0.2s;
}

.btn-more-events:hover {
  background-color: #9ad6f7;
  color: #333;
}

/* ===== Footer ===== */
.site-footer {
  background-color: #0A3A5B;
  padding: 60px 0 0;
  color: #F7F9FA;
}

.footer-logo img {
  max-width: 220px;
  height: auto;
}

.footer-contact p {
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  font-size: 14px;
  color: #F7F9FA;
  margin-bottom: 4px;
  line-height: 1.6;
}

.footer-contact strong {
  font-weight: 600;
}

.footer-heading {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 20px;
  color: #F7F9FA;
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 6px;
}

.footer-links a {
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  font-size: 14px;
  color: #F7F9FA;
  text-decoration: none;
  transition: opacity 0.2s;
}

.footer-links a:hover {
  opacity: 0.8;
}

.footer-bottom {
  border-top: 1px solid rgba(247, 249, 250, 0.2);
  padding: 24px 0;
  text-align: center;
}

.footer-bottom p {
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  font-size: 14px;
  color: #F7F9FA;
  margin: 0;
}

/* ===== Mobile Offcanvas Menu ===== */
#mobileNav {
  background-color: #0A3A5B;
}

#mobileNav .offcanvas-header {
  border-bottom: 1px solid rgba(247, 249, 250, 0.15);
}

#mobileNav .offcanvas-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 20px;
  color: #F7F9FA;
}

#mobileNav .btn-close {
  filter: invert(1);
}

#mobileNav .navbar-nav {
  gap: 4px;
}

#mobileNav .nav-link {
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 18px;
  color: #F7F9FA;
  padding: 12px 0;
  border-bottom: 1px solid rgba(247, 249, 250, 0.1);
  transition: color 0.2s;
}

#mobileNav .nav-link:hover {
  color: #F7C948;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(10, 58, 91, 1)' stroke-width='3' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E") !important;
}

.navbar-toggler {
    border: 2px solid #0A3A5B !important;
    border-radius: 5px;
    outline: none;
    box-shadow: none !important;
}

@media (max-width: 991.98px) {
    .header-nav-wrap {
        padding: 15px 0; 
        justify-content: flex-end;
    }
    
    .header-logo-wrap {
        justify-content: space-between; 
    }
}

@media (max-width: 991.98px) {
    #mobileNav .navbar-nav ul {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
    }

    #mobileNav .navbar-nav li:hover > ul {
        display: none !important;
    }
}

/* ===== Responsive ===== */

/* Tablet */
@media (max-width: 991.98px) {
  .hero-image {
    height: 400px;
  }

  .hero-title {
    font-size: 42px;
  }

  .hero-subtitle {
    font-size: 18px;
  }

  .btn-hero {
    font-size: 20px;
    padding: 14px 40px;
  }

  .section-title {
    font-size: 36px;
  }

  .navbar-nav .nav-link {
    font-size: 16px;
  }

  .news-tab {
    font-size: 16px;
    padding: 8px 20px;
  }

  .news-card-img {
    height: 220px;
  }

  .info-card-img {
    height: 260px;
  }

  .info-card-label {
    font-size: 26px;
  }

  .event-card-img {
    height: 220px;
  }

  .btn-more-events {
    font-size: 20px;
    padding: 14px 30px;
  }

  .month-nav-label {
    font-size: 20px;
  }

  .month-nav-btn {
    height: 70px;
  }
}

/* Mobile */
@media (max-width: 767.98px) {
  .header-logo-wrap {
    min-height: 80px;
  }

  .header-nav-wrap {
    min-height: auto;
    flex-wrap: wrap;
  }

  .hero-image {
    height: 280px;
  }

  .hero-overlay {
    padding: 40px 0;
  }

  .hero-title {
    font-size: 30px;
  }

  .hero-subtitle {
    font-size: 16px;
  }

  .btn-hero {
    font-size: 18px;
    padding: 12px 32px;
  }

  .section-hirek,
  .section-info,
  .section-events {
    padding: 40px 0;
  }

  .section-title {
    font-size: 28px;
  }

  .section-subtitle {
    font-size: 16px;
    margin-bottom: 24px;
  }

  .news-tabs {
    gap: 12px;
    margin-bottom: 24px;
  }

  .news-tab {
    font-size: 14px;
    padding: 8px 16px;
  }

  .news-card-img {
    height: 200px;
  }

  .news-card-title {
    font-size: 18px;
  }

  .news-card-text {
    font-size: 16px;
  }

  .news-pagination a {
    width: 44px;
    height: 44px;
    font-size: 18px;
  }

  .news-pagination ul {
    gap: 10px;
  }

  .info-card-img {
    height: 220px;
  }

  .info-card-label {
    font-size: 24px;
    padding-bottom: 20px;
  }

  .info-card {
    gap: 20px;
  }

  .month-nav {
    margin-bottom: 24px;
  }

  .month-nav-label {
    font-size: 18px;
    padding: 0 12px;
  }

  .month-nav-btn {
    height: 60px;
    width: 40px;
  }

  .date-tab {
    height: auto;
    padding: 16px 20px;
  }

  .date-tab-day {
    font-size: 22px;
  }

  .date-tab-weekday {
    font-size: 16px;
  }

  .event-card-img {
    height: 200px;
  }

  .event-card-title {
    font-size: 18px;
  }

  .btn-more-events {
    font-size: 18px;
    padding: 12px 24px;
  }

  .footer-heading {
    font-size: 18px;
    margin-top: 16px;
  }

  .site-footer {
    padding: 40px 0 0;
  }
}

/* Small mobile */
@media (max-width: 575.98px) {
  .hero-image {
    height: 200px;
  }

  .hero-title {
    font-size: 26px;
  }

  .btn-hero {
    font-size: 16px;
    padding: 10px 28px;
  }

  .section-title {
    font-size: 24px;
  }

  .news-card-img {
    height: 180px;
  }

  .info-card-img {
    height: 180px;
  }

  .event-card-img {
    height: 180px;
  }

  .news-pagination a {
    width: 38px;
    height: 38px;
    font-size: 16px;
  }

  .news-pagination ul {
    gap: 8px;
  }
}

/* ===== Content Alignment ===== */
.section-content {
    padding: 60px 0;
    display: flex;
    justify-content: center;
}

.content-container {
    width: 100%;
    max-width: 1140px; 
    margin: 0 auto;
    padding: 0 20px;  
}

.category-main-title {
    font-family: 'Lora', serif;
    font-weight: 600;
    font-size: 48px;
    color: #333;
    margin-bottom: 24px;
    text-align: center; 
}

.content-body {
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    line-height: 1.6;
    color: #333;
}

@media (max-width: 767.98px) {
    .category-main-title {
        font-size: 28px;
    }
    .section-content {
        padding: 40px 0;
    }
}

/* ===== External Links Styling ===== */

.brz-cp-color5 strong {
    color: #0A3A5B; 
    display: block;
    margin-bottom: 15px;
    border-bottom: 2px solid #0A3A5B;
    padding-bottom: 5px;
}

.brz-rich-text a.link--external {
    color: #0A3A5B !important; 
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
    display: inline-block;
    padding: 4px 0;
    border-bottom: 1px solid rgba(10, 58, 91, 0.2); 
}

.brz-rich-text a.link--external:hover {
    color: #0A3A5B !important; 
    border-bottom: 1px solid #0A3A5B;
    transform: translateX(5px); 
}

.brz-rich-text a.link--external::before {
    content: "→";
    margin-right: 8px;
    font-weight: bold;
    color: #0A3A5B;
}

.brz-rich-text p {
    margin-bottom: 12px !important;
}

/* Container for the list of news */
.news-list-wrapper {
    display: flex;
    flex-direction: column;
    gap: 40px;
    width: 100%;
}

/* Individual Wide News Card */
.news-card-wide {
    background: #F7F9FA;
    border-radius: 10px;
    padding: 30px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border-left: 5px solid #F7C948; 
}

.news-card-wide:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.news-card-wide .news-card-title a {
    color: #0A3A5B;
    text-decoration: none;
    font-size: 28px;
}

.news-card-wide .news-card-title a:hover {
    color: #F7C948;
}

.news-card-wide .news-card-text {
    margin: 15px 0;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3; 
    overflow: hidden;
    color: #555;
}

.post-more {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    color: #0A3A5B;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
}

.post-more:hover {
    color: #F7C948;
}

/* ===== Single News Post Detail ===== */
.entry-title {
    font-family: 'Lora', serif;
    font-weight: 600;
    font-size: 42px;
    color: #0A3A5B;
    margin-bottom: 30px;
    line-height: 1.2;
}

.the_content_wrapper {
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 60px;
}

/* ===== Menu List Grid ===== */
.menu-card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Exactly 3 news/items per row */
    gap: 30px;
    margin-top: 40px;
}

.menu-item-card {
    background: #F7F9FA;
    border: 1px solid #e1e8ed;
    border-radius: 12px;
    padding: 40px 20px;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 200px;
    text-decoration: none;
}

.menu-item-card:hover {
    background: #fff;
    border-color: #F7C948;
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(10, 58, 91, 0.1);
}

.menu-card-icon {
    font-size: 30px;
    color: #F7C948;
    margin-bottom: 15px;
}

.menu-card-name {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 22px;
    color: #0A3A5B;
    margin-bottom: 20px;
    line-height: 1.3;
}

.menu-card-btn {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 14px;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.menu-item-card:hover .menu-card-btn {
    opacity: 1;
    color: #F7C948;
}

/* ===== Responsive Menu Grid ===== */


@media (max-width: 991.98px) {
    .menu-card-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575.98px) {
    .menu-card-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .menu-item-card {
        padding: 30px 15px;
        min-height: auto;
    }
}

/* Styling for cards that contain sub-menus */
.menu-item-card.is-parent {
    border-bottom: 5px solid #0A3A5B; 
}

.menu-item-card.is-parent .menu-card-icon {
    color: #0A3A5B;
}

.menu-item-card.is-parent:hover {
    border-color: #F7C948;
}

/* Horizontal Layout for Program Cards */
.program-card {
    display: flex;
    flex-direction: row; 
    overflow: hidden;
    padding: 0 !important; 
    align-items: stretch;
}

.news-card-image {
    flex: 0 0 300px; 
    background: #eee;
    min-height: 200px; 
}

.news-card-image img {
    width: 300px;
    height: 200px;
    display: block;
}

.image-placeholder {
    width: 100%;
    height: 100%;
    background-color: #0A3A5B; 
}

.program-card .news-card-body {
    flex: 1; 
    padding: 25px 30px;
    display: flex;
    flex-direction: column;
    justify-content: center; 
}

/* Responsive adjustment for Mobile */
@media (max-width: 767.98px) {
    .program-card {
        flex-direction: column; 
    }
    
    .news-card-image {
        flex: 0 0 200px; 
    }
}

/* Container for Detail View */
.program-detail-layout {
    display: flex;
    flex-direction: row;
    gap: 40px; 
    align-items: flex-start; 
    margin-top: 30px;
}

/* Image styling - allows full size but caps width */
.program-detail-image {
    flex: 0 0 auto; 
    max-width: 45%; 
}

.program-detail-image img {
    width: 100%;    
    height: auto;   
    display: block;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* Text styling */
.program-detail-layout .the_content_wrapper {
    flex: 1; 
    margin-bottom: 0; 
}

/* Responsive: Stack on top of each other on mobile */
@media (max-width: 991.98px) {
    .program-detail-layout {
        flex-direction: column;
    }
    
    .program-detail-image {
        max-width: 100%;
        margin-bottom: 30px;
    }
}

.search-container {
	height: 87px;
	width: 30%;
    margin-bottom: 32px;
}

.search-container form {
	height: 100%;
}

.search-container input {
	height: 100%;
	font-size: 28px;
    line-height: 87px;
}

.search-container input::placeholder {
	height: 100%;
	font-size: 28px;
}
