/* ========== MENU STYLING ========== */

/* Menu bar full width background */
#menu-header {
  background: #2d2d2d !important;
  width: 100%;
}

/* Center the Superfish menu */
#menu-header .sf-menu {
  display: flex;
  justify-content: center;
  width: 100%;
}

/* Menu item padding for height */
#menu-header .sf-menu > li > a {
  padding: 15px 20px !important;
}

/* Hover state on main menu - red background */
#menu-header .sf-menu > li > a:hover,
#menu-header .sf-menu > li:hover > a {
  background: #8B0000 !important;
}

/* Active menu item - red underline */
#menu-header .sf-menu > li.active > a,
#menu-header .sf-menu > li.active-trail > a {
  border-bottom: 3px solid #8B0000 !important;
}

/* Hide default Superfish arrows completely */
.sf-arrows .sf-with-ul:after,
.sf-sub-indicator {
  display: none !important;
}

/* Add chevron arrow for main menu items */
#menu-header .sf-menu > li.menuparent > a:after {
  content: " ›";
  font-size: 21px;
  margin-left: 10px;
  vertical-align: middle;
  transform: rotate(90deg);
  display: inline-block;
}

/* Add arrow for submenu items with children */
#menu-header .sf-menu ul li.menuparent > a:after {
  content: "›";
  font-size: 21px;
  float: right;
  vertical-align: middle;
  margin-left: 10px;
}

/* Dropdown position - below menu, not overlapping */
#menu-header .sf-menu ul {
  top: 100% !important;
  margin-top: 0 !important;
}

/* Dropdown background - RED */
#menu-header .sf-menu ul,
#menu-header .sf-menu ul li {
  background: #8B0000 !important;
}

/* Dropdown hover - dark gray */
#menu-header .sf-menu ul li a:hover,
#menu-header .sf-menu ul li:hover > a {
  background: #2d2d2d !important;
}

/* Second level submenu - also RED */
#menu-header .sf-menu ul ul,
#menu-header .sf-menu ul ul li {
  background: #8B0000 !important;
}

/* Second level hover - dark gray */
#menu-header .sf-menu ul ul li a:hover {
  background: #2d2d2d !important;
}

/* ========== BANNER AREA - SLIDER + NEWS LAYOUT ========== */

/* Banner 2-column layout */
.region-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 0;
}

/* Slideshow left (68%) */
.region-banner > .block:first-child,
.region-banner .block-views-blockhomepage-slideshow-block-1 {
  width: 68%;
}

/* Latest News right (30%) */
.region-banner > .block:nth-child(2),
.region-banner .block-views-blocklatest-news-block-1 {
  width: 30%;
  margin-left: 2%;
  background: #fff;
  border: 1px solid #ddd;
}

/* ========== LATEST NEWS BLOCK ========== */

/* News block header - RED background */
.view-latest-news .view-header,
.view-latest-news .view-header h2,
.block-views-blocklatest-news-block-1 h2 {
  background: #8B0000 !important;
  color: #fff !important;
  padding: 15px !important;
  margin: 0 !important;
  font-size: 16px !important;
  text-transform: uppercase !important;
  font-weight: bold !important;
}

/* News content area */
.view-latest-news .view-content {
  padding: 15px !important;
  background: #fff !important;
  max-height: 500px;
  overflow-y: auto;
}

/* News item row spacing */
.view-latest-news .views-row {
  padding-bottom: 0 !important;
  margin-bottom: 5px !important;
}

/* HR divider styling */
.view-latest-news hr {
  border: none !important;
  border-top: 2px solid #ccc !important;
  margin: 10px 0 !important;
  padding: 0 !important;
}

/* Hide hr on last item */
.view-latest-news .views-row:last-child hr {
  display: none !important;
}

/* News Title - BOLD and larger */
.view-latest-news .views-field-title,
.view-latest-news .views-field-title a,
.view-latest-news .views-field-title .field-content,
.view-latest-news .views-field-title .field-content a {
  color: #333 !important;
  font-size: 14px !important;
  font-weight: 900 !important;
  text-decoration: none !important;
  line-height: 1.4 !important;
}

/* News Date - SMALLER */
.view-latest-news .views-field-created,
.view-latest-news .views-field-created .field-content,
.view-latest-news .views-field-created span {
  font-size: 9px !important;
  color: #888 !important;
  margin-top: 3px !important;
  font-weight: normal !important;
  line-height: 1.2 !important;
}

css/* News Archive link */
.view-latest-news .more-link {
  padding: 10px 15px !important;
  text-align: right !important;
  border-top: 1px solid #ccc !important;
  margin-top: 10px !important;
}

.view-latest-news .more-link a {
  color: #8B0000 !important;
  font-weight: bold !important;
  text-decoration: none !important;
}

.view-latest-news .more-link a:hover {
  text-decoration: underline !important;
}

/* News Archive link */
.view-latest-news .view-footer,
.view-latest-news .more-link {
  padding: 10px 15px !important;
  text-align: right !important;
  border-top: 1px solid #ccc !important;
  margin-top: 10px !important;
}

.view-latest-news .view-footer a,
.view-latest-news .more-link a {
  color: #8B0000 !important;
  font-weight: bold !important;
  text-decoration: none !important;
}

.view-latest-news .view-footer a:hover,
.view-latest-news .more-link a:hover {
  text-decoration: underline !important;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
  .region-banner {
    flex-direction: column;
  }
  
  .region-banner > .block:first-child,
  .region-banner > .block:nth-child(2) {
    width: 100%;
    margin-left: 0;
    margin-bottom: 10px;
  }
 /* ========== QUICKTABS STYLING ========== */

/* Tab buttons container */
.quicktabs-tabs {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
  border: none;
}

/* Tab buttons */
.quicktabs-tabs li {
  margin: 0;
  padding: 0;
}

.quicktabs-tabs li a {
  display: block;
  padding: 12px 25px;
  background: #8B0000 !important;
  color: #fff !important;
  text-decoration: none;
  font-weight: bold;
  text-transform: uppercase;
  font-size: 14px;
  border: none;
  margin-right: 5px;
}

/* Active tab */
.quicktabs-tabs li.active a,
.quicktabs-tabs li a:hover {
  background: #6d0000 !important;
  color: #fff !important;
}

/* Tab content area */
.quicktabs-tabpage {
  padding: 20px;
  background: #fff;
  border: 1px solid #ddd;
}

/* ========== RIGHT SIDEBAR BLOCKS ========== */

/* Sidebar block with red header */
.region-sidebar-second .block,
.sidebar-block {
  margin-bottom: 20px;
  background: #fff;
  border: 1px solid #ddd;
}

/* Sidebar block header - RED */
.region-sidebar-second .block h2,
.sidebar-block h2 {
  background: #8B0000 !important;
  color: #fff !important;
  padding: 15px !important;
  margin: 0 !important;
  font-size: 16px !important;
  text-transform: uppercase !important;
  font-weight: bold !important;
}

/* Sidebar block content */
.region-sidebar-second .block .content,
.sidebar-block .content {
  padding: 15px;
}

/* Sidebar links */
.region-sidebar-second .block a {
  color: #8B0000;
  text-decoration: none;
}

.region-sidebar-second .block a:hover {
  text-decoration: underline;
}

/* Sidebar list styling */
.region-sidebar-second .block ol,
.region-sidebar-second .block ul {
  padding-left: 20px;
  margin: 0;
}

.region-sidebar-second .block li {
  padding: 5px 0;
  border-bottom: 1px solid #eee;
}

.region-sidebar-second .block li:last-child {
  border-bottom: none;
}
/* ========== QUICKTABS STYLING - DRUPAL 10 ========== */

/* Tab list container */
#quicktabs-homepage_tabs .item-list ul.quicktabs-tabs,
.quicktabs-wrapper .item-list ul.quicktabs-tabs {
  display: flex !important;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
  background: none !important;
}

/* Tab items */
#quicktabs-homepage_tabs ul.quicktabs-tabs li,
.quicktabs-wrapper ul.quicktabs-tabs li {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
  border: none !important;
  background: none !important;
}

/* Tab links - Base style */
#quicktabs-homepage_tabs ul.quicktabs-tabs li a,
.quicktabs-wrapper ul.quicktabs-tabs li a {
  display: block !important;
  padding: 15px 30px !important;
  color: #fff !important;
  text-decoration: none !important;
  font-weight: bold !important;
  text-transform: uppercase !important;
  font-size: 12px !important;
  border: none !important;
  margin-right: 3px !important;
}

/* First tab - RED (using class from your HTML) */
#quicktabs-homepage_tabs ul.quicktabs-tabs li.engage---newsletter a,
#quicktabs-homepage_tabs ul.quicktabs-tabs li:first-child a {
  background: #8B0000 !important;
}

/* Second tab - Gray */
#quicktabs-homepage_tabs ul.quicktabs-tabs li.annual-reports a,
#quicktabs-homepage_tabs ul.quicktabs-tabs li:nth-child(2) a {
  background: #555 !important;
}

/* Third tab - Black */
#quicktabs-homepage_tabs ul.quicktabs-tabs li.reports a,
#quicktabs-homepage_tabs ul.quicktabs-tabs li:nth-child(3) a {
  background: #333 !important;
}

/* Hover states */
#quicktabs-homepage_tabs ul.quicktabs-tabs li.engage---newsletter a:hover,
#quicktabs-homepage_tabs ul.quicktabs-tabs li:first-child a:hover {
  background: #6d0000 !important;
}

#quicktabs-homepage_tabs ul.quicktabs-tabs li.annual-reports a:hover,
#quicktabs-homepage_tabs ul.quicktabs-tabs li:nth-child(2) a:hover {
  background: #444 !important;
}

#quicktabs-homepage_tabs ul.quicktabs-tabs li.reports a:hover,
#quicktabs-homepage_tabs ul.quicktabs-tabs li:nth-child(3) a:hover {
  background: #222 !important;
}

/* Tab content area */
#quicktabs-homepage_tabs .quicktabs-main,
.quicktabs-wrapper .quicktabs-main {
  padding: 20px !important;
  background: #fff !important;
  border: 1px solid #ddd !important;
}

/* Tab content panels */
#quicktabs-homepage_tabs .quicktabs-tabpage {
  padding: 10px !important;
}

/* Hide inactive tabs */
#quicktabs-homepage_tabs .quicktabs-tabpage.quicktabs-hide {
  display: none !important;
}

/* Tab content links */
#quicktabs-homepage_tabs .quicktabs-tabpage a {
  color: #8B0000 !important;
  text-decoration: none !important;
}

#quicktabs-homepage_tabs .quicktabs-tabpage a:hover {
  text-decoration: underline !important;
}

/* TEST - Remove after testing */
#quicktabs-homepage_tabs {
  border: 5px solid red !important;
}
}