/*
Theme Name: HB Education (restored)
Description: Minimal clean restoration of the hb-education Bootstrap theme skin.
*/

body {
  font-family: "Noto Serif", Georgia, "Times New Roman", serif;
  color: #333;
  background: #fff;
  line-height: 1.7;
  margin: 0;
}

a { color: #800000; text-decoration: none; }
a:hover, a:focus { color: #5a0000; text-decoration: underline; }

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

h1, h2, h3, h4, h5, h6 { font-family: "Noto Serif", Georgia, serif; color: #222; line-height: 1.3; }

/* ---------- Top header ---------- */
.top-header-wrapper { background: #800000; color: #fff; font-size: 13px; }
.top-header-wrapper a { color: #fff; }
.top-header-wrapper a:hover { color: #ffd9d9; }
.top-header .menu-latest-nav-container { padding: 8px 0; }
.top-header ul.top-links { list-style: none; margin: 0; padding: 8px 0; text-align: right; }
.top-header ul.top-links li { display: inline-block; margin-left: 18px; }
.message-block .announcement { padding: 6px 0; font-weight: 700; }
.contact-block .fa { margin-right: 6px; }

/* ---------- Middle header (logo) ---------- */
.middle-header-wrapper { padding: 22px 0; border-bottom: 1px solid #eee; }
.middle-header-wrapper > .container { display: flex; align-items: center; justify-content: space-between; }
.middle-header-wrapper .logo { display: flex; align-items: center; gap: 16px; }
.middle-header-wrapper .contact-block ul,
.top-header-wrapper .contact-block ul { list-style: none; margin: 0; padding: 0; }
.middle-header-wrapper .contact-block li,
.top-header-wrapper .contact-block li { list-style: none; margin: 0 0 8px; }
.middle-header-wrapper .contact-block address { margin: 0; font-style: normal; }
.site-title { margin: 0; font-size: 30px; font-weight: 700; }
.site-title a { color: #800000; }
.site-description { margin: 2px 0 0; font-size: 15px; color: #777; font-style: italic; }
.middle-header-wrapper .contact-block { text-align: right; color: #555; font-size: 14px; }
.middle-header-wrapper .contact-block .fa { color: #800000; margin-right: 6px; }

/* ---------- Main navigation ---------- */
.navbar.main_navigation { background: #f5f0ea; border: none; border-top: 3px solid #800000; margin-bottom: 0; border-radius: 0; }
.navbar.main_navigation .nav > li > a { color: #333; font-weight: 700; padding: 16px 15px; }
.navbar.main_navigation .nav > li > a:hover,
.navbar.main_navigation .nav > li.active > a { color: #800000; background: #ece2d6; }
.navbar-brand { font-weight: 700; color: #800000; }

@media (min-width: 992px) {
  .navbar.main_navigation .navbar-nav { display: flex; flex-wrap: wrap; }
}

/* CSS-only dropdowns (no JS in restored static site) */
.navbar-nav .dropdown-menu { border-radius: 0; border-top: 2px solid #800000; }
@media (min-width: 768px) {
  .navbar-nav .dropdown:hover > .dropdown-menu { display: block; }
  .navbar-nav .dropdown-menu > li > a { padding: 8px 18px; }
  .navbar-nav .dropdown-menu > li > a:hover { background: #f5f0ea; color: #800000; }
}

/* ---------- Content ---------- */
.block.page_block { padding: 30px 0 40px; }
.page-holder .entry-header .entry-title,
.page-holder h1.entry-title { color: #800000; border-bottom: 2px solid #eee; padding-bottom: 12px; margin-top: 0; }
.entry-content { font-size: 16px; }
.entry-content h2, .entry-content h3 { margin-top: 26px; color: #800000; }
.entry-content img { margin: 10px 0; }
.entry-content table { width: 100%; border-collapse: collapse; margin: 16px 0; }
.entry-content table td, .entry-content table th { border: 1px solid #ddd; padding: 8px 10px; }

/* ---------- Sidebar ---------- */
.sidebar.widget-area .widget { margin-bottom: 26px; padding-bottom: 18px; border-bottom: 1px solid #eee; }
.sidebar.widget-area .widget-title { color: #800000; font-size: 18px; margin-bottom: 12px; }
.widget_media_image img { border: 1px solid #eee; }

/* ---------- Footer ---------- */
.btn_footer { background: #2b2b2b; color: #cfcfcf; padding: 26px 0; margin-top: 30px; }
.btn_footer a { color: #fff; }
.copy_right_block { text-align: center; font-size: 13px; color: #bbb; }
.social-footer { text-align: center; margin-top: 10px; }
.social-footer a { margin: 0 8px; font-size: 18px; color: #fff; }

/* Search widget */
.widget_search input[type="search"] { width: 70%; padding: 6px 10px; border: 1px solid #ccc; }
.widget_search input[type="submit"] { padding: 6px 14px; background: #800000; color: #fff; border: none; cursor: pointer; }
