/* 
   Egypt-Morocco Navigation Chamber
   SVG Image Fixes
*/

/* Fix for SVG images to ensure they display properly */
img[src$=".svg"] {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Hero background fixes */
.hero {
  background-size: cover !important;
  background-position: center !important;
}

.about-hero {
  background-size: cover !important;
  background-position: center !important;
}

.board-hero {
  background-size: cover !important;
  background-position: center !important;
}

.news-hero {
  background-size: cover !important;
  background-position: center !important;
}

.contact-hero {
  background-size: cover !important;
  background-position: center !important;
}

/* Logo size fixes */
.logo img {
  width: 60px !important;
  height: 60px !important;
  object-fit: contain !important;
}

.footer-logo img {
  width: 50px !important;
  height: 50px !important;
  object-fit: contain !important;
}

/* Member images */
.member-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* News images */
.news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Office images */
.office-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* About image */
.about-image img {
  width: 100%;
  max-height: 300px;
  object-fit: contain;
}

/* News detail image */
.news-detail-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
