/*
Theme Name: Divi Child
Template: Divi
Version: 1.0
*/

.oga-project-card,
.oga-news-card,
.oga-project-gallery-item {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 1 / 1;
}

.oga-project-card img,
.oga-news-card img,
.oga-project-gallery-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.oga-center {
  text-align: center;
  padding: 28px;
}

.oga-news-overlay {
  position: absolute;
  inset: 0;
  left: 0;
  right: 0;
  bottom: 0;
  top: auto;
  width: 100%;
  height: 50%;
  background: rgba(4, 45, 86, 0.85);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.oga-news-inner {
  padding: 34px 0 28px 40px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.oga-news-eyebrow {
  color: #ffffff;
  font-size: 14px;
  line-height: 1.3;
  letter-spacing: 4px;
  text-transform: uppercase;
}

.oga-news-overlay h3 {
  margin: 18px 0 18px;
  color: #ffffff;
  font-size: 20px;
  line-height: 1.2;
  font-weight: 700;
}

.oga-news-link {
  color: #ffffff;
  font-size: 16px;
  line-height: 1.3;
  text-decoration: none;
}

.oga-news-link:hover {
  color: #ffffff;
  text-decoration: none;
  opacity: 0.9;
}

/* Accordion */
.et_pb_toggle_content {
  margin-top: 20px;
}
.et_pb_toggle_content ul {
  padding-left: 20px;
}
.et_pb_toggle_content ul li {
  margin-left: 32px;
}
.et_pb_toggle_content ul li {
  margin-bottom: 12px;
}
.et_pb_toggle_open {
  padding: 0 !important;
}
.et_pb_toggle_open .et_pb_toggle_title {
  color: #ffffff !important;
  background-color: #083ca2 !important;
  padding: 20px !important;
}
.et_pb_toggle_close .et_pb_toggle_title {
  color: #ffffff !important;
  background-color: #042d56 !important;
  padding: 20px !important;
}
.et_pb_toggle_close {
  padding: 0 !important;
}
.et_pb_toggle_title:before {
  margin-right: 30px !important;
}

.oga-recent-news-item {
  margin-bottom: 42px;
}

.oga-recent-news-title {
  margin: 0 0 18px;
  font-size: 20px;
  line-height: 1.2;
}

.oga-recent-news-title a,
.oga-recent-news-more a {
  text-decoration: none;
}

.oga-recent-news-more {
  margin: 0;
  font-size: 16px;
}

.oga-project-meta {
  font-size: 18px;
  color: #ffffff;
  letter-spacing: 0.5px;
}

.oga-project-gallery,
.oga-featured-projects-grid,
.oga-project-grid,
.oga-news-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  margin-top: 25px;
  margin-bottom: 25px;
}

header li {
  margin: 0 4.25em 0 0 !important;
}
header li:last-of-type {
  margin: 0 0 0 0 !important;
}

.et-l--header .oga-site-header {
  position: fixed !important;
  top: 0 !important;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 99999 !important;
  background: #ffffff;
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.08);
  height: 100px;
  min-height: 100px;
  transition:
    height 0.25s ease,
    min-height 0.25s ease,
    background-color 0.25s ease,
    box-shadow 0.25s ease;
}

.et-l--header .oga-site-header .et_pb_row {
  height: 100px;
  min-height: 100px;
  display: flex;
  align-items: center;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  transition:
    height 0.25s ease,
    min-height 0.25s ease;
}

.et-l--header .oga-site-header .et_pb_column {
  display: flex;
}

.et-l--header .oga-site-header .et_pb_image img {
  max-height: 60px;
  width: auto;
  transition: max-height 0.25s ease;
}

.et-l--header .oga-site-header .et_pb_menu .et-menu > li > a {
  padding-top: 10px;
  padding-bottom: 10px;
  transition: padding 0.25s ease;
}

body.oga-scrolled .et-l--header .oga-site-header {
  height: 80px;
  min-height: 80px;
}

body.oga-scrolled .et-l--header .oga-site-header .et_pb_row {
  height: 80px;
  min-height: 80px;
}

body.oga-scrolled .et-l--header .oga-site-header .et_pb_image img {
  max-height: 48px;
}

body.oga-scrolled .et-l--header .oga-site-header .et_pb_menu .et-menu > li > a {
  padding-top: 6px;
  padding-bottom: 6px;
}

#page-container {
  padding-top: 100px;
}

body.oga-scrolled #page-container {
  padding-top: 80px;
}

@media (max-width: 980px) {
  .et-l--header .oga-site-header,
  .et-l--header .oga-site-header .et_pb_row {
    height: 80px;
    min-height: 80px;
  }

  .et-l--header .oga-site-header .et_pb_image img {
    max-height: 46px;
  }

  #page-container,
  body.oga-scrolled #page-container {
    padding-top: 80px;
  }
}

.oga-header-menu .et-menu-nav > ul > li > a {
  position: relative;
  display: inline-block;
  text-decoration: none;
}

.oga-header-menu .et-menu-nav > ul > li > a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 3px;
  background: #042d56;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.25s ease;
}

.oga-header-menu .et-menu-nav > ul > li > a:hover::after,
.oga-header-menu .et-menu-nav > ul > li.current-menu-item > a::after,
.oga-header-menu .et-menu-nav > ul > li.current_page_item > a::after {
  transform: scaleX(1);
}

.home .et-l--header .oga-site-header {
  background: transparent !important;
  box-shadow: none !important;
}

.home .oga-header-menu .et-menu-nav > ul > li > a {
  color: #ffffff !important;
}

.home .oga-header-menu .et-menu-nav > ul > li > a::after {
  background: #ffffff !important;
}

.home .et-l--header .oga-site-header .et_pb_image img {
  content: url('/wp-content/uploads/2026/04/oga-logo_white.svg');
}

body.oga-scrolled.home .et-l--header .oga-site-header {
  background: #ffffff !important;
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.08) !important;
}

body.oga-scrolled.home .oga-header-menu .et-menu-nav > ul > li > a {
  color: #000000 !important;
}

body.oga-scrolled.home .oga-header-menu .et-menu-nav > ul > li > a::after {
  background: #042d56 !important;
}

body.oga-scrolled.home .et-l--header .oga-site-header .et_pb_image img {
  content: url('/wp-content/uploads/2026/04/oman-gibson-logo.svg');
}

.home .et_pb_menu_0_tb_header.et_pb_menu {
  background-color: transparent !important;
  background: transparent !important;
}
.home .et_pb_menu_0_tb_header .et_pb_menu_inner_container,
.home .et_pb_menu_0_tb_header .et_pb_menu__wrap,
.home .et_pb_menu_0_tb_header .et_pb_menu__menu {
  background: transparent !important;
}

.oga-project-overlay {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
  background: rgba(3, 45, 85, 0.92);
  transform: translateY(100%);
  transition: transform 0.35s ease;
  z-index: 2;
}

.oga-project-overlay-inner {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 28px 0 28px 40px;
  color: #ffffff;
}

.oga-project-eyebrow {
  display: block;
  font-size: 14px;
  line-height: 1.3;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 130px;
}

.oga-project-overlay h3 {
  margin: 0 0 8px;
  color: #ffffff;
  font-size: 24px;
  line-height: 1.15;
  font-weight: 700;
}

.oga-project-overlay p {
  margin: 0 0 110px;
  color: #ffffff;
  font-size: 16px;
  line-height: 1.4;
}

.oga-project-link {
  display: inline-block;
  color: #ffffff;
  font-size: 16px;
  line-height: 1.3;
  font-weight: 400;
}

.oga-project-card:hover .oga-project-overlay {
  transform: translateY(0);
}

.oga-project-card:hover img {
  transform: scale(1.04);
}

@media (max-width: 980px) {
  .oga-project-gallery,
  .oga-featured-projects-grid,
  .oga-project-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .oga-news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .oga-project-gallery,
  .oga-featured-projects-grid,
  .oga-project-grid,
  .oga-news-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1700px) {
  .oga-project-overlay-inner {
    padding: 22px 20px 22px 24px;
  }

  .oga-project-eyebrow {
    font-size: 12px;
    letter-spacing: 3px;
    margin-bottom: 70px;
  }

  .oga-project-overlay h3 {
    font-size: 20px;
    line-height: 1.15;
  }

  .oga-project-overlay p {
    font-size: 15px;
    line-height: 1.35;
    margin: 0 0 45px;
  }

  .oga-project-link {
    font-size: 15px;
  }
}

@media (max-width: 1300px) {
  .oga-project-overlay-inner {
    padding: 18px 16px 18px 18px;
  }

  .oga-project-eyebrow {
    font-size: 11px;
    letter-spacing: 2px;
    margin-bottom: 40px;
  }

  .oga-project-overlay h3 {
    font-size: 17px;
  }

  .oga-project-overlay p {
    font-size: 14px;
    margin: 0 0 24px;
  }

  .oga-project-link {
    font-size: 14px;
  }
}
