/*
Theme Name: GEGBrunei
Author: Alid Misli (https://alidmis.li)
Version: 1.0
Description: Website template to ensure remain compliance with Google Educator Groups website theme, for own host Content Management System.
*/

/* GEG Theme Layout and Styling Rules */
.geg-header {
    background-position: center center;
    background-size: cover;
    padding: 60px 20px;
    text-align: center;
}

.geg-title {
    font-family: 'Open Sans', 'Arial', sans-serif !important;
    font-weight: 700;
    font-size: 2.5rem;
    color: #202124; /* Google dark gray standard text */
}

.geg-content-body {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.geg-content-body p {
    font-family: 'Open Sans', 'Arial', sans-serif;
    font-size: 11pt;
    line-height: 1.6;
    color: #3c4043;
    text-align: justify;
    margin-bottom: 16px;
}

.geg-content-body a {
    color: #1a73e8; /* Google blue brand color */
    text-decoration: underline;
}

#geg-custom-nav, #geg-custom-nav * { box-sizing: border-box; }
#geg-custom-nav {
  position: sticky; top: 0; left: 0; width: 100%; z-index: 999999;
  background: #ffffff;
  border-bottom: 1px solid #e0e0e0;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
  font-family: 'Google Sans', Roboto, Arial, sans-serif;
}
#geg-custom-nav .geg-nav-inner {
  max-width: 1100px; margin: 0 auto; padding: 10px 20px;
  display: flex; align-items: center; justify-content: space-between;
}
#geg-custom-nav .geg-nav-brand {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; color: #202124; font-size: 18px; font-weight: 500;
}
#geg-custom-nav .geg-nav-brand img {
  height: 32px; width: 32px; object-fit: contain;
}
#geg-custom-nav .geg-nav-links {
  display: flex; align-items: center; gap: 8px;
}
#geg-custom-nav .geg-nav-item { position: relative; }
#geg-custom-nav .geg-nav-toggle {
  background: none; border: none; cursor: pointer;
  font-family: inherit; font-size: 15px; color: #202124;
  padding: 10px 12px; display: flex; align-items: center; gap: 4px;
  border-radius: 4px;
}
#geg-custom-nav .geg-nav-toggle:hover { background: #f1f3f4; }
#geg-custom-nav .geg-caret { font-size: 11px; transition: transform 0.15s ease; }
#geg-custom-nav .geg-nav-item.geg-open .geg-caret { transform: rotate(180deg); }
#geg-custom-nav .geg-dropdown {
  display: none;
  position: absolute; top: calc(100% + 4px); left: 0;
  min-width: 240px; background: #fff;
  border: 1px solid #e0e0e0; border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  padding: 6px; flex-direction: column;
}
#geg-custom-nav .geg-nav-item.geg-open .geg-dropdown { display: flex; }
#geg-custom-nav .geg-dropdown a {
  display: block; padding: 10px 12px; border-radius: 6px;
  color: #202124; text-decoration: none; font-size: 14px; line-height: 1.3;
}
#geg-custom-nav .geg-dropdown a:hover { background: #f1f3f4; }
#geg-custom-nav .geg-nav-mobile-toggle {
  display: none; background: none; border: none; font-size: 22px; cursor: pointer; color: #202124;
}
@media (max-width: 720px) {
  #geg-custom-nav .geg-nav-links {
    display: none; flex-direction: column; align-items: stretch;
    width: 100%; padding: 8px 0 4px;
  }
  #geg-custom-nav.geg-mobile-open .geg-nav-links { display: flex; }
  #geg-custom-nav .geg-nav-inner { flex-wrap: wrap; }
  #geg-custom-nav .geg-nav-mobile-toggle { display: block; }
  #geg-custom-nav .geg-nav-item { width: 100%; }
  #geg-custom-nav .geg-nav-toggle { width: 100%; justify-content: space-between; }
  #geg-custom-nav .geg-dropdown { position: static; box-shadow: none; border: none; min-width: 0; padding-left: 12px; }
}

.menu {
  padding: 0 !important;
  list-style: none !important;
}

