/* Static-runtime helpers. The original page-specific design lives in css/pages/. */
html {
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
}

/* Full-bleed section backgrounds with one consistent 1440px content canvas. */
.wp-site-blocks .guten-section > .guten-container {
  box-sizing: border-box;
  width: 100%;
  max-width: 1440px !important;
  margin-inline: auto;
}

/* Shared header: consistent typography and a smooth compact state on scroll. */
.section-wrapper.section-guten-XvZ6qi > .guten-XvZ6qi {
  transition: padding 260ms ease, margin-bottom 260ms ease, background-color 260ms ease,
    box-shadow 260ms ease, backdrop-filter 260ms ease;
  will-change: padding, margin-bottom;
}

.gutenverse-menu > .menu-item > a,
.gutenverse-menu > .menu-item > .xln-menu-toggle {
  font-family: "Instrument Sans", sans-serif !important;
  font-size: 22px !important;
  font-weight: 500 !important;
  line-height: 1.5 !important;
  transition: color 180ms ease, opacity 180ms ease;
}

.gutenverse-menu > .menu-item > a:hover,
.gutenverse-menu > .menu-item > .xln-menu-toggle:hover {
  opacity: 0.82;
}

body.xln-header-scrolled .section-wrapper.section-guten-XvZ6qi > .guten-XvZ6qi {
  padding: 12px 24px !important;
  margin-bottom: -70px !important;
  background-color: rgba(0, 0, 0, 0.94) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

/* Preserve the original generous header padding without allowing logos to stretch it. */
.guten-4YcaLJ img {
  width: auto !important;
  max-height: 44px;
  transition: max-height 260ms ease;
}

.guten-Wz4rVo img {
  width: auto !important;
  max-height: 38px;
}

body.xln-header-scrolled .guten-4YcaLJ img {
  max-height: 36px;
}

/* Homepage feature cards: square image tiles with one non-repeating crop. */
.page-id-146 .guten-dLMaYz > .guten-container {
  align-items: flex-start;
}

.page-id-146 .guten-JTNBgh,
.page-id-146 .guten-PKV7t4,
.page-id-146 .guten-B7X5Tl,
.page-id-146 .guten-HmX5y0,
.page-id-146 .guten-ouHzQ5 {
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  aspect-ratio: 1 / 1;
  overflow: hidden !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
}

@media (min-width: 1025px) {
  .page-id-146 .guten-dLMaYz > .guten-container > .guten-column {
    width: 20% !important;
    flex: 0 0 20%;
    min-width: 0;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .page-id-146 .guten-dLMaYz > .guten-container > .guten-column {
    width: 50% !important;
    flex: 0 0 50%;
    min-width: 0;
  }
}

@media (max-width: 767px) {
  .page-id-146 .guten-dLMaYz > .guten-container > .guten-column {
    width: 100% !important;
    flex: 0 0 100%;
    min-width: 0;
  }
}

footer.wp-block-template-part .guten-w4bfnv > .guten-container {
  width: 100%;
  max-width: 1440px !important;
  margin-inline: auto;
}

/* Reuse the source festival photograph for static page heroes. */
.page-id-1504 .guten-rWMvfE .guten-video-background,
.page-id-2183 .guten-rWMvfE .guten-video-background,
.page-id-143 .guten-rWMvfE .guten-video-background {
  display: none !important;
}

.page-id-1504 .guten-rWMvfE,
.page-id-2183 .guten-rWMvfE,
.page-id-143 .guten-rWMvfE {
  background-image: url('../assets/images/2025/12/pexels-joel-garcia-415017100-15372412.jpg') !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
  background-attachment: fixed !important;
}

.page-id-1504 .guten-rWMvfE > .guten-background-overlay,
.page-id-2183 .guten-rWMvfE > .guten-background-overlay,
.page-id-143 .guten-rWMvfE > .guten-background-overlay {
  background-color: #000 !important;
  opacity: 0.5 !important;
}

/* Match the shorter Consular page hero proportion across image-led inner pages. */
.page-id-2183 .guten-rWMvfE,
.page-id-632 .guten-rWMvfE,
.page-id-143 .guten-rWMvfE {
  height: auto !important;
}

.page-id-2183 .guten-rWMvfE > .guten-container,
.page-id-632 .guten-rWMvfE > .guten-container,
.page-id-143 .guten-rWMvfE > .guten-container {
  height: auto !important;
}

.guten-rWMvfE > .guten-container {
  min-height: 60vh !important;
}

.guten-rWMvfE h1,
.guten-rWMvfE .heading-title,
.guten-j9NgDb h1 {
  font-weight: 700 !important;
}

/* Miss Philippines hero: match the Cultural Night editorial lower-third. */
.page-id-632 .guten-rWMvfE .guten-SivgoF {
  width: 60% !important;
}

.page-id-632 .guten-rWMvfE .guten-Zf8Saz {
  width: 100% !important;
  max-width: 760px;
  background: transparent !important;
  box-sizing: border-box;
  padding: 0 !important;
}

.page-id-632 .guten-rWMvfE .guten-Zf8Saz .heading-title {
  font-family: "Instrument Sans", sans-serif !important;
  font-size: 60px !important;
  font-weight: 700 !important;
  line-height: 1.26 !important;
  letter-spacing: -0.04em;
  text-transform: none !important;
}

.page-id-632 .xln-event-hero-meta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 22px;
  padding-bottom: 10px;
  font-family: "Instrument Sans", sans-serif;
  font-size: 20px;
  line-height: 1.35;
  white-space: nowrap;
}

.page-id-632 .xln-event-hero-meta a {
  color: #fff;
  text-decoration: none;
  transition: color 180ms ease;
}

.page-id-632 .xln-event-hero-meta a:hover,
.page-id-632 .xln-event-hero-meta a:focus-visible {
  color: #f3c316;
}

.page-id-632 .xln-event-hero-divider {
  width: 1px;
  height: 28px;
  flex: 0 0 1px;
  background: rgba(255, 255, 255, 0.75);
}

.page-id-632 .xln-event-hero-date {
  color: #f3c316;
}

@media (max-width: 1024px) {
  .page-id-632 .guten-rWMvfE .guten-SivgoF {
    width: 100% !important;
  }

  .page-id-632 .guten-rWMvfE .guten-Zf8Saz .heading-title {
    font-size: clamp(42px, 7vw, 60px) !important;
  }

  .page-id-632 .xln-event-hero-meta {
    justify-content: flex-start;
    padding-bottom: 0;
  }
}

@media (max-width: 767px) {
  .page-id-632 .guten-rWMvfE .guten-Zf8Saz .heading-title {
    font-size: clamp(28px, 9vw, 36px) !important;
    line-height: 1.18 !important;
  }

  .page-id-632 .xln-event-hero-meta {
    flex-wrap: wrap;
    gap: 8px 14px;
    font-size: 16px;
    white-space: normal;
  }

  .page-id-632 .xln-event-hero-divider {
    height: 20px;
  }
}

/* Miss Philippines awards: equal three-column cards with aligned bottom edges. */
@media (min-width: 1025px) {
  .page-id-632 .guten-FTQ1qk > .guten-container > .guten-column {
    width: 33.333333% !important;
  }

  .page-id-632 .guten-FTQ1qk > .guten-container > .guten-column > .guten-column-wrapper,
  .page-id-632 .guten-FTQ1qk .guten-1rwWFr,
  .page-id-632 .guten-FTQ1qk .guten-KcaoYP,
  .page-id-632 .guten-FTQ1qk .guten-5b98Ab,
  .page-id-632 .guten-FTQ1qk .guten-icon-box-wrapper {
    height: 100%;
  }
}

/* Candidate cards contained empty WordPress social placeholders from the source export. */
.page-id-632 .guten-team .socials-wrapper,
.page-id-632 .guten-team .guten-social-icon.wordpress {
  display: none !important;
}

/* The final footer photograph and mask are intentionally full-bleed. */
footer.wp-block-template-part .guten-zxvk60 {
  width: 100vw !important;
  max-width: none !important;
  margin-right: calc(50% - 50vw) !important;
  margin-left: calc(50% - 50vw) !important;
}

footer.wp-block-template-part .guten-NmeKWD {
  width: 100% !important;
  max-width: none !important;
  -webkit-mask-size: 100% 100% !important;
  mask-size: 100% 100% !important;
}

.gutenverse-menu-wrapper.active {
  visibility: visible;
  opacity: 1;
}

body.menu-open {
  overflow: hidden;
}

.gutenverse-menu > .menu-item.xln-submenu-open > .sub-menu {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  transform: none !important;
}

.gutenverse-menu > .menu-item.xln-current-menu > a { color: #ef1b0c !important; }
.gutenverse-menu > .menu-item:not(.xln-current-menu) > a { color: inherit; }

.gutenverse-menu > .menu-item > .xln-menu-toggle {
  width: 100%;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 0 40px 0 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  line-height: inherit;
  text-align: left;
  cursor: pointer;
}

.gutenverse-menu > .menu-item > .xln-menu-toggle::after {
  content: "\f0d7";
  width: 12px;
  font-family: "Font Awesome 6 Free";
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  text-align: center;
  opacity: 0.82;
  transform-origin: center;
  transition: transform 180ms ease, opacity 180ms ease;
}

.gutenverse-menu > .menu-item > .xln-menu-toggle:hover::after {
  opacity: 1;
}

.gutenverse-menu > .menu-item.xln-submenu-open > .xln-menu-toggle::after {
  transform: rotate(180deg);
}

.gutenverse-menu > .menu-item.xln-current-menu > .xln-menu-toggle {
  color: #ef1b0c !important;
}

.gutenverse-menu > .menu-item:focus-within > .sub-menu {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

.wp-block-file__embed {
  display: block !important;
  width: 100% !important;
  min-height: min(70vh, 760px);
  background: #fff;
}

.guten-popup.show { opacity: 1 !important; visibility: visible !important; }
.guten-popup.show .guten-popup-content {
  max-width: calc(100vw - 32px);
  max-height: calc(100vh - 32px);
}

footer.wp-block-template-part {
  display: block;
  overflow: hidden;
  background: #050505;
  color: #fff;
}

footer.wp-block-template-part a,
footer.wp-block-template-part .list-text,
footer.wp-block-template-part h4,
footer.wp-block-template-part h6 { color: #fff; }

footer.wp-block-template-part .guten-container { max-width: 1240px; margin-inline: auto; }
footer.wp-block-template-part .guten-social-icon a {
  min-width: 36px;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Homepage hero: keep the complete title visible and the schedule CTA close to its copy. */
.page-id-146 .guten-rWMvfE {
  background-position: center center !important;
  background-size: cover !important;
}

.page-id-146 .guten-rWMvfE > .guten-container {
  min-height: max(720px, calc(100svh - 95px)) !important;
  align-items: center !important;
}

.page-id-146 .guten-poyeZ1 > .guten-column-wrapper {
  padding-top: 0 !important;
  align-content: center !important;
  align-items: stretch !important;
  justify-content: center !important;
}

.page-id-146 .guten-4oQZjP {
  padding-top: clamp(24px, 4vh, 48px) !important;
}

.page-id-146 .guten-6xp9ZV,
.page-id-146 .guten-6xp9ZV .guten-image-wrapper {
  overflow: visible !important;
}

.page-id-146 .guten-6xp9ZV img {
  display: block;
  width: min(691px, 82vw) !important;
  max-width: 100%;
  height: auto !important;
  object-fit: contain !important;
  object-position: center !important;
}

.page-id-146 .guten-Uz2JfN.guten-spacer {
  padding-bottom: clamp(32px, 4vw, 48px) !important;
}

@media (max-width: 767px) {
  .page-id-146 .guten-rWMvfE > .guten-container {
    min-height: max(640px, calc(100svh - 72px)) !important;
  }

  .page-id-146 .guten-4oQZjP {
    padding-top: 24px !important;
  }

  .page-id-146 .guten-6xp9ZV img {
    width: min(560px, 94vw) !important;
  }
}

@media (min-width: 768px) and (max-height: 760px) {
  .page-id-146 .guten-rWMvfE > .guten-container {
    min-height: calc(100svh - 70px) !important;
  }

  .page-id-146 .guten-4oQZjP {
    padding-top: 8px !important;
  }

  .page-id-146 .guten-6xp9ZV {
    margin-bottom: -12px !important;
  }

  .page-id-146 .guten-6xp9ZV img {
    width: min(520px, 58vw) !important;
  }

  .page-id-146 .guten-kBp20w {
    font-size: clamp(30px, 3vw, 38px) !important;
  }

  .page-id-146 .guten-i1qmRK {
    font-size: 24px !important;
  }

  .page-id-146 .guten-Uz2JfN.guten-spacer {
    padding-bottom: 18px !important;
  }

  .page-id-146 .guten-PMhwQs .guten-button {
    padding: 13px 26px !important;
  }
}

/* Homepage stories: three stories should occupy the complete editorial row. */
.page-id-146 .guten-Po3HNx .guten-posts {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  max-width: 1440px;
  margin-inline: auto;
}

.page-id-146 .guten-Po3HNx .guten-post {
  width: 100% !important;
}

/* Blog articles: replace the generic exported post template with a festival editorial layout. */
.single-post .guten-j9NgDb {
  position: relative;
  min-height: clamp(560px, 68vh, 760px) !important;
  margin-top: 0 !important;
  padding: 150px 24px 80px !important;
  overflow: hidden;
  background-position: center !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
}

.single-post.postid-690 .guten-j9NgDb {
  background-image: url("../assets/images/2026/03/first-pickleball.jpg") !important;
}

.single-post.postid-562 .guten-j9NgDb {
  background-image: url("../assets/images/2026/03/diwa.jpg") !important;
  background-position: center 30% !important;
}

.single-post.postid-1 .guten-j9NgDb {
  background-image: url("../assets/images/2025/12/pistang-pilipino-fb-img.jpg") !important;
}

.single-post .guten-j9NgDb > .guten-background-overlay {
  display: block !important;
  background: rgba(0, 0, 0, 0.66) !important;
  opacity: 1 !important;
}

.single-post .guten-j9NgDb > .guten-container {
  min-height: 0 !important;
  max-width: 1440px !important;
  position: relative;
  z-index: 1;
}

.single-post .guten-PDdwpr > .guten-column-wrapper {
  width: 100%;
  max-width: 1440px;
  padding: 0 !important;
  align-content: flex-start !important;
  align-items: flex-start !important;
  justify-content: flex-end !important;
}

.single-post .guten-Ecwu0u {
  margin-bottom: 24px !important;
  padding: 7px 14px !important;
  background: #ef1b0c !important;
}

.single-post .guten-Ecwu0u,
.single-post .guten-Ecwu0u a,
.single-post .guten-Ecwu0u h6 {
  color: #fff !important;
  font-family: "Instrument Sans", sans-serif !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em !important;
  line-height: 1.2 !important;
  text-transform: uppercase !important;
}

.single-post .guten-Ecwu0u h6 {
  margin: 0 !important;
}

.single-post .guten-sSygAd {
  width: 100%;
  max-width: 1440px;
  margin-bottom: 24px !important;
}

.single-post .guten-sSygAd h1 {
  margin: 0 !important;
  color: #fff !important;
  font-family: "Instrument Sans", sans-serif !important;
  font-size: clamp(46px, 6vw, 86px) !important;
  font-weight: 750 !important;
  line-height: 0.98 !important;
  letter-spacing: -0.045em !important;
  text-align: left !important;
  text-wrap: balance;
}

.single-post .guten-zHpO97 {
  margin-right: 24px;
}

.single-post .guten-zHpO97 *,
.single-post .xln-article-back {
  color: rgba(255, 255, 255, 0.82) !important;
  font-family: "Instrument Sans", sans-serif !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase;
}

.single-post .xln-article-back {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  margin-top: 18px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.single-post .xln-article-back:hover,
.single-post .xln-article-back:focus-visible {
  border-color: #fff;
  background: #fff;
  color: #080808 !important;
}

.single-post .guten-MD7uhY {
  padding: 88px 24px 128px !important;
  background: #050505;
}

.single-post .guten-MD7uhY > .guten-container {
  max-width: 1440px !important;
}

.single-post .guten-DtL0yJ {
  display: none !important;
}

.single-post .guten-T5Ssf1.guten-element {
  width: 100% !important;
  max-width: 1440px !important;
  margin-inline: auto;
  padding: clamp(42px, 6vw, 78px) !important;
  overflow: visible;
  border-top: 5px solid #ef1b0c;
  background: #0d1115;
  box-shadow: 18px 18px 0 #151a1f;
}

.single-post .guten-oQIQa1 {
  color: #d8dce0;
  font-family: "Instrument Sans", sans-serif;
  font-size: 18px;
  line-height: 1.82;
}

.single-post .guten-oQIQa1 > :first-child {
  margin-top: 0 !important;
}

.single-post .guten-oQIQa1 h1,
.single-post .guten-oQIQa1 h2,
.single-post .guten-oQIQa1 h3 {
  color: #fff;
  font-family: "Instrument Sans", sans-serif;
  font-weight: 750;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.single-post .guten-oQIQa1 h1 {
  margin-bottom: 34px;
  font-size: clamp(36px, 4.3vw, 58px);
  line-height: 1.06;
}

.single-post .guten-oQIQa1 h2 {
  margin: 70px 0 24px;
  padding-left: 22px;
  border-left: 5px solid #ef1b0c;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.15;
}

.single-post .guten-oQIQa1 h3 {
  margin: 42px 0 16px;
  color: #f4c44e;
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1.25;
}

.single-post .guten-oQIQa1 p {
  margin: 0 0 24px;
  color: #d8dce0;
}

.single-post .guten-oQIQa1 a {
  color: #f4c44e;
  font-weight: 700;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.single-post .guten-oQIQa1 hr {
  width: 100%;
  margin: 58px 0;
  border: 0;
  border-top: 1px solid #2e3740;
}

.single-post .guten-oQIQa1 ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 26px 0 36px;
  padding: 0;
  list-style: none;
}

.single-post .guten-oQIQa1 li {
  min-height: 62px;
  margin: 0;
  padding: 18px 20px;
  border-left: 3px solid #f4c44e;
  background: #151a1f;
  color: #eef0f2;
}

.single-post .guten-jTcwxt {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto 70px !important;
  padding: 28px 0 !important;
  border-color: #2e3740 !important;
}

.single-post .guten-ePTL2Q {
  display: none !important;
}

.single-post .guten-Hz1oFa .guten-posts {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

@media (max-width: 1024px) {
  .page-id-146 .guten-Po3HNx .guten-posts,
  .single-post .guten-Hz1oFa .guten-posts {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 767px) {
  .page-id-146 .guten-Uz2JfN.guten-spacer {
    padding-bottom: 24px !important;
  }

  .page-id-146 .guten-Po3HNx .guten-posts,
  .single-post .guten-Hz1oFa .guten-posts {
    grid-template-columns: 1fr !important;
  }

  .single-post .guten-j9NgDb {
    min-height: 520px !important;
    padding: 130px 20px 56px !important;
  }

  .single-post .guten-sSygAd h1 {
    font-size: clamp(38px, 12vw, 58px) !important;
  }

  .single-post .guten-MD7uhY {
    padding: 56px 16px 88px !important;
  }

  .single-post .guten-T5Ssf1.guten-element {
    padding: 38px 24px !important;
    box-shadow: 8px 8px 0 #151a1f;
  }

  .single-post .guten-oQIQa1 {
    font-size: 17px;
    line-height: 1.72;
  }

  .single-post .guten-oQIQa1 ul {
    grid-template-columns: 1fr;
  }

  .page-id-1504 .guten-rWMvfE,
  .page-id-2183 .guten-rWMvfE,
  .page-id-143 .guten-rWMvfE {
    background-attachment: scroll !important;
  }

  .guten-nav-menu:focus-within .gutenverse-menu-wrapper {
    left: 0 !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  .guten-nav-menu:has(.gutenverse-close-menu:focus) .gutenverse-menu-wrapper {
    left: -110% !important;
  }

  .gutenverse-menu > .menu-item > a,
  .gutenverse-menu > .menu-item > .xln-menu-toggle {
    padding: 15px;
    color: #fff;
    font-size: 18px !important;
  }

  .wp-block-file__embed { min-height: 65vh; }
  footer.wp-block-template-part .guten-container { padding-inline: 0; }
}

.accordion-heading,
.gutenverse-hamburger-menu,
.gutenverse-close-menu,
.swiper-button-next,
.swiper-button-prev {
  cursor: pointer;
}

.static-form-message {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  border: 1px solid currentColor;
  font: 600 14px/1.5 "Instrument Sans", sans-serif;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

