/* ============================================================
   h305_s04.css — Forum-Specific Styles (Header, Footer, Ads)
   ============================================================ */


/* ========== HEADER: Base Layout & Typography ========== */

.h305.F-header {
  background-color: white;
  padding: 1rem;
  border-bottom: 1px solid #ccc;
  max-width: 1200px;
  margin: auto;
  box-sizing: border-box;
}

.h305.F-ForumTextTitle {
  font-size: 1.4rem;
  font-weight: bold;
  font-style: italic;
  text-align: left;
  margin: 0; /* inline override moved here */
}

.h305.F-MenuSmallFont-7 {
  font-family: Arial, sans-serif;
  font-size: 0.75rem;
}

.h305.F-image-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.h305.F-header-content {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  gap: 1rem;
}

.h305.F-header-left {
  flex: 1;
}

.h305.F-header-center {
  flex: 1;
  text-align: center;
  font-size: 0.95rem;
  white-space: nowrap;
  flex-grow: 1;
}

.h305.F-header-right {
  flex: 0 0 auto;
}

.desktop-layout {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

 .h305.F-logo-img {
   max-height: 100%;
   height: auto;
   width: auto;
   display: block;
}





/* ========== FOOTER: Lines, Typography ========== */

.h305.F-footer-line {
  border: none;
  border-top: 3px solid #000;
  margin: 1rem auto;
  width: 80%;
}

.h305.F-footer-line-thin {
  border: none;
  border-top: 1px solid #000;
  margin: 0.5rem auto;
  width: 80%;
}

.h305.F-MenuSmallFont {
  font-size: 0.75rem;
  font-family: Arial, sans-serif;
  text-align: center;
}


/* ========== ADS: Responsive Google Ad Container ========== */

.h305.F-ad-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 1rem auto;
  min-width: 300px; /* Ensures ad loads on desktop */
}

.h305.F-ad-container ins.adsbygoogle {
  max-width: 100%;
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}


/* ============================================================
   h305_s04_responsive.css — Responsive Styles for Screens up to 768px
   ============================================================ */

/* Responsive adjustments for screens 768px and below */

@media (max-width: 768px) {
  /* Header typography */
  .h305.F-ForumTextTitle {
    text-align: center;
    font-size: 1.0rem;
    line-height: 1.2;
  }

  .h305.F-MenuSmallFont-7 {
    text-align: center;
    font-size: 0.75rem;
    line-height: 1.2;
  }

  /* Header layout */
  .h305.F-header {
    padding: 1rem;
  }

  .h305.F-header-content {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
    text-align: center;
  }

  .h305.F-header-left {
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: center; /* Adjusted for consistency with text-align: center */
  }

  /* Image row adjustments */
  .h305.F-image-row {
    flex-direction: column;
    gap: 0.5rem;
  }

   /* Center main menu */
  .h305.F-header-center-mainmenu {
    display: block;
    font-size: 0.95rem;
    margin-bottom: 0.1rem;
    flex: 1;
    text-align: center;
    white-space: nowrap;
    flex-grow: 1;
	list-style: none; /* Add this to remove the squares */

  }

  /* Specific typography for header content */
  .h305.F-header-content h2 {
    font-size: 0.8rem;
    line-height: 1.0;
  }

  .h305.F-header-content h1 {
    font-size: 0.8rem;
    line-height: 1.0;
  }

  .h305.F-header-content p {
    font-size: 0.7rem;
    line-height: 1.0;
  }
  
   .h305.F-logo-img {
    display: none;
  }

}  /* End of @media Section */