/*
 Theme Name: GWT-Wordpress 25.3.3 Child
 Theme URI: http://i.gov.ph/
 Description: Child theme for GWT-Wordpress
 Author: Wordpress Developer
 Template: GWT-Wordpress-25.3.3
 Version: 1.0
*/

/* Add your custom CSS below this line */

/* Header  */
.off-canvas-wrapper {
  overflow-x: clip !important;
}

.container-masthead{
  position: relative;
  background-image: url('/wp-content/uploads/2025/11/image-140.png');
  background-position: center calc(100% - 20%);
  background-size: cover;
  box-shadow: 0 5px 0 #0F172A !important;
  padding-bottom: 5px;
}

.container-masthead::before{
  content: '';
  width: 100%;
  height: 2px;
  bottom: 0;
  background-color: #FAEA08;
  position: absolute;
}

.container-masthead::after{
  content: '';
  width: 100%;
  height: 5px;
  bottom: -5px;
  background-color: #334155;
  position: absolute;
}

.container-masthead #textlogo-wrapper #textlogo-image{
  display: block !important;
  margin-bottom: 15px;
}

.container-masthead #textlogo-wrapper{
  color: #FFF;
}

.header-right-text {
  border-top: 1px solid #e0e0e0;
  padding-top: 5px;
  margin-top: 5px;
  margin-left: auto;
  width: fit-content;
  text-align: right;
  font-size: 12px;
  color: #ffffff;
  font-weight: 600;
}

.container-masthead #pst-container{
  color: #FFFFFF !important;
}

.header-time {
  position: relative;
  top: 50%;
  transform: translateY(-50%);
  color: #ffffff;
}

.header-logos figure{
  margin: 0 !important;
}

@media screen and (max-width: 640px){
  #textlogo-image{
    margin: 0 auto 20px !important;
  }
}
/* ENd of header */

/* Footer */
#footer {
  padding: 20px 0;
}

#footer .privacy-notice {
  margin-top: 15px;
}

#footer * {
  color: #ffffff;
}

#footer h4 {
  margin: 0 0 15px;
}

#footer p a:hover {
  text-decoration: underline;
  text-decoration-color: #ffffff;
}

#gwt-standard-footer {
  display: none !important;
}

.footer-copyright {
  margin: 0;
  border-top: 1px solid #ffffff;
  padding-top: 10px;
}

.footer-copyright p {
  margin-bottom: 0;
}

.widget:has(.footer-copyright) {
  padding: 0 !important;
}

/* End of Footer */

/* Page Title */
.container-banner.banner-pads :has(.entry-title) {
  display: none;
  padding: 0 !important;
}

.container-banner.banner-pads {
  padding: 0 !important;
  border-bottom: none;
}
/* End of Page Title */

/* Auxiliary Menu */
#auxiliary {
  background-color: #f8fafc;
  border-top: 1px solid #e4e4e4;
  border-bottom: 1px solid #e4e4e4;
}

#aux-main .dropdown .menu-item {
  border-right: none;
}

#aux-main .dropdown .menu-item a {
  font-weight: 600;
  color: #334155 !important;
}

.vertical.menu .menu-item a {
}

/* Content */
#main-content {
  padding-top: 0 !important;
}

.no-margin{
  margin: 0 !important;
}

#main-content > .row {
  max-width: none !important;
}

#main-content > .row > #content {
  padding: 0 !important;
}

.container,
.entry-content.departments {
  max-width: 80rem;
  margin-left: auto;
  margin-right: auto;
}

.section-gap {
  margin-top: 80px;
}

.container.with-padding,
.entry-content.departments {
  padding-left: 0.9375rem !important;
  padding-right: 0.9375rem !important;
}

.departments-hero{
  width: 100%;
}

@media (max-width: 1024px) {
  h1 {
    font-size: 36px !important;
  }

  h2 {
    font-size: 32px !important;
  }
}

@media (max-width: 600px) {
  h1,
  h2 {
    font-size: 28px !important;
  }
}

.related-pages {
  background-color: #f8fafc;
  border: 1px solid #334155;
  border-radius: 3px;
}

.related-pages p,
.related-pages p a {
  margin: 0 !important;
  padding: 10px 16px;
  transition: color 0.2s ease, background-color 0.2s ease;
  cursor: pointer;
}

.related-pages p:hover,
.related-pages p a:hover {
  color: #ffffff;
  background-color: #334155;
}

.related-pages p:not(:last-of-type) {
  border-bottom: 1px solid #334155;
}

.container-with-sidebar {
  overflow: visible;
  align-items: flex-start;
}

.content-column {
  flex-basis: 75% !important;
}

.sidebar-column {
  height: 100%;
  flex-basis: 25% !important;
  position: -webkit-sticky;
  position: sticky;
  align-self: flex-start;
  top: 0;
}

.socio-economic-column {
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(20px);
  border-radius: 12px;
  padding: 36px 24px;
}

.section-card {
  padding: 32px 24px;
  border-radius: 12px;
  box-shadow: 0px 4px 4px rgba(254, 166, 10, 0.1);
}

.section-card figure {
  margin: 0 auto !important;
}

/* Departments */
.departments__cc-button a{
  transition: background-color 0.2s ease;
  display: flex;
  align-items: center;
}
.departments__cc-button a:hover{
  color: #FFF;
  background-color: #0F172A !important;
}

.departments__cc-button i{
  font-size: 12px;
  margin-left: 8px;
  vertical-align: middle;
}
