*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 93.75%; }

body {
  background-color: #ff6700;
  color: #3a3a3a;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  font-size: 15px;
  line-height: 1.6;
}

a { color: #ff6700; text-decoration: none; }
a:hover, a:focus { color: #4f4f4f; }

.container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ── HEADER ── */
#masthead {
  background: #fff;
  border-bottom: 3px solid #000;
}

.main-header-bar {
  padding: 12px 0;
}

.main-header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

/* Branding */
.site-branding {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.site-logo img, .site-logo svg {
  width: 70px;
  height: auto;
  display: block;
}

.site-title {
  font-size: 25px;
  font-weight: 700;
  line-height: 1.2;
}

.site-title a { color: #3a3a3a; }
.site-title a:hover { color: #ff6700; }

.site-description {
  font-size: 16px;
  color: #666;
  font-style: italic;
}

/* ── NAV ── */
#site-navigation { flex: 1; }

.main-header-menu {
  list-style: none;
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-end;
  gap: 0;
}

.main-header-menu > li {
  position: relative;
}

.main-header-menu > li > a {
  display: block;
  padding: 8px 10px;
  color: #3a3a3a;
  font-size: 13.5px;
  white-space: nowrap;
}

.main-header-menu > li > a:hover,
.main-header-menu > li.current > a {
  color: #ff6700;
}

/* Dropdown */
.main-header-menu li .sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-top: 2px solid #ff6700;
  list-style: none;
  min-width: 180px;
  z-index: 100;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.main-header-menu li:hover .sub-menu { display: block; }

.sub-menu li a {
  display: block;
  padding: 8px 16px;
  color: #3a3a3a;
  font-size: 13.5px;
  border-bottom: 1px solid #f0f0f0;
}

.sub-menu li a:hover { color: #ff6700; background: #fafafa; }

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  background: #ff6700;
  border: none;
  color: #000;
  padding: 10px 16px;
  font-size: 18px;
  cursor: pointer;
  border-radius: 2px;
}

/* ── CONTENT ── */
#content {
  padding: 40px 0;
  background: #fff;
  color: #222;
}

#content a { color: #0066cc; }
#content a:hover { color: #004499; }

.entry-content {
  font-size: 15px;
  line-height: 1.7;
  color: #222;
}

.entry-content h1 { font-size: 48px; color: #1a1a1a; }
.entry-content h2 { font-size: 42px; margin-bottom: 16px; color: #1a1a1a; }
.entry-content h3 { font-size: 24px; margin-bottom: 12px; color: #1a1a1a; }
.entry-content h4 { font-size: 18px; margin-bottom: 10px; color: #1a1a1a; }

.entry-content p { margin-bottom: 0.75em; }

.entry-content img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* Page title for inner pages */
.page-title-bar {
  padding: 20px 0 14px;
  border-bottom: 3px solid #ff6700;
  margin-bottom: 30px;
}

.page-title-bar h1 {
  font-size: 30px;
  color: #1a1a1a;
}

/* Content card for inner pages */
.content-card {
  background: #fff;
  border-radius: 4px;
  padding: 10px 0 30px;
}

/* Team / Mentors lists */
.team-section { margin-bottom: 28px; }
.team-section h3 {
  font-size: 18px;
  color: #1a1a1a;
  border-bottom: 2px solid #e0e0e0;
  padding-bottom: 6px;
  margin-bottom: 12px;
}

.team-section ul {
  list-style: disc;
  padding-left: 24px;
}

.team-section ul li {
  margin-bottom: 4px;
  font-size: 15px;
  color: #222;
}

/* ── FOOTER ── */
#colophon {
  background: #000;
  color: #ff6700;
  padding: 18px 0;
  border-top: 1px solid #222;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 10px;
}

.footer-copyright { font-size: 13.5px; }

.footer-social {
  list-style: none;
  display: flex;
  gap: 16px;
}

.footer-social a {
  color: #ff6700;
  font-size: 13.5px;
}

.footer-social a:hover { color: #fff; }

/* ── RESPONSIVE ── */
@media (max-width: 1060px) {
  .menu-toggle { display: block; }

  #site-navigation { display: none; width: 100%; }
  #site-navigation.open { display: block; }

  .main-header-menu {
    flex-direction: column;
    border-top: 1px solid #eee;
    padding: 8px 0;
  }

  .main-header-menu > li > a { padding: 10px 16px; }

  .main-header-menu li .sub-menu {
    position: static;
    display: none;
    border: none;
    border-top: none;
    box-shadow: none;
    background: #f9f9f9;
    padding-left: 16px;
  }

  .main-header-menu li.open .sub-menu { display: block; }

  .main-header-container { flex-wrap: nowrap; }
}

@media (max-width: 768px) {
  html { font-size: 85.5%; }
  .entry-content h2 { font-size: 25px; }
  .entry-content h1 { font-size: 30px; }
  .footer-inner { flex-direction: column; text-align: center; }
}

/* Selection */
::selection { background-color: #ff6700; color: #000; }

/* ── GALLERY GRID ── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  margin: 20px 0 28px;
}

.gallery-card {
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  background: #f5f5f5;
}

.gallery-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}
