/*
 * Theme Name:		GWT-Wordpress 26.0.0 - Latest
 * Theme URI:		https://i.gov.ph
 * Description:		Custom WordPress theme based on the draft Unified Web Content Policy 
 *					prepared by the PCDSPO, DOST-ASTI, and DOST-ICTO. Theme is built on 
 *					HTML5 responsive WordPress framework based on ZURB's Foundation.
 *                  Updated by NGP and GOSD-GWHS
 * Version:			26.0.0
 * Author:			iGovPhil
 * Author URI:		https://i.gov.ph
 * License:			MIT License
 * License URI:		https://www.opensource.org/licenses/mit-license.php
 * Tags: 			theme-options, rtl-language-support, featured-images, editor-style, custom-menu, 
 *					responsive-layout, right-sidebar, left-sidebar, one-column, two-columns, three-columns
 */

/** Your style here **/

/* Keep the GovPH navigation and accessibility controls on one desktop row. */
@media screen and (min-width: 64em) {
  #main-nav > .row > .columns {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .3rem;
    padding-inline: clamp(.5rem, .8vw, .9375rem);
  }

  #main-nav .top-bar-left,
  #main-nav .top-bar-right {
    float: none;
    min-width: 0;
  }

  #main-nav .top-bar-right {
    flex: none;
  }

  #main-nav nav > .dropdown.menu {
    display: flex;
    align-items: stretch;
    flex-wrap: nowrap;
  }

  #main-nav nav > .dropdown.menu > li {
    flex: none;
  }

  #main-nav .top-bar-left > .dropdown.menu > li:not(.has-form) > a:not(.button) {
    display: flex;
    align-items: center;
    min-height: 58px;
    gap: .18rem;
    padding: 0 clamp(.23rem, .46vw, .58rem);
    font-size: clamp(.735rem, .94vw, .85rem);
    line-height: 1.25;
    white-space: nowrap;
    font-weight: 400;
    transition: background-color .15s ease;
  }

  /* Override GovPH's fixed right padding on desktop dropdown links. */
  #main-nav .top-bar-left > .dropdown.menu > li.has-dropdown > a:not(.button) {
    padding-inline-end: clamp(.23rem, .46vw, .58rem) !important;
  }

  #main-nav .top-bar-left > .dropdown.menu > li.current-menu-item > a:not(.button) {
    font-weight: 600;
  }

  #main-nav .top-bar-left > .dropdown.menu > .nav-item:first-child > a {
    font-size: clamp(.9rem, 1.34vw, 1.2rem) !important;
  }

  #main-nav .top-bar-left > .dropdown.menu > .is-dropdown-submenu-parent > a::after {
    position: static;
    inset: auto;
    flex: none;
    margin: 0;
    border-width: .23rem;
  }

  #main-nav .top-bar-right > .dropdown.menu > li > .button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: clamp(2.4rem, 3.5vw, 3rem);
    min-height: 58px;
    margin: 0;
    padding: .25rem;
  }

  #main-nav .top-bar-right > .dropdown.menu > li > .button .fa {
    font-size: 1.4rem;
    line-height: 1;
  }

  #main-nav nav > .dropdown.menu > li > :is(a, button):focus-visible {
    outline: 2px solid currentColor;
    outline-offset: -3px;
  }
}

/* Make the carousel controls easy to see and tap on every screen. */
body.home .elementor-6916 .elementor-element-13eb6b4 .elementor-swiper-button {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, .62);
  color: #fff;
  font-size: 1.125rem;
}

body.home .elementor-6916 .elementor-element-13eb6b4 .elementor-swiper-button svg {
  width: 1em;
  height: 1em;
  fill: currentColor;
}

body.home .elementor-6916 .elementor-element-13eb6b4 .elementor-swiper-button:hover {
  background-color: rgba(0, 0, 0, .78);
}

body.home .elementor-6916 .elementor-element-13eb6b4 .elementor-swiper-button:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

body.home .elementor-6916 :is(.elementor-element-d4468fc, .elementor-element-613e51d, .elementor-element-c97ac57) .elementor-heading-title {
  font-size: clamp(1.5rem, 3.4vw, 2.2rem);
  line-height: 1.15;
  text-wrap: balance;
}
