/* Philippines visit visa page — compiled from page Tailwind @apply (do not edit site.min.css). */

.ph-page .ph-overview-item:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 1rem;
  right: 0;
  bottom: 1rem;
  display: none;
  width: 1px;
  background-color: #dcfce7;
}
@media (min-width: 1024px) {
  .ph-page .ph-overview-item:not(:last-child)::after {
    display: block;
  }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .ph-page .ph-overview-item:not(:nth-child(3n))::after {
    content: "";
    position: absolute;
    top: 1rem;
    right: 0;
    bottom: 1rem;
    display: block;
    width: 1px;
    background-color: #dcfce7;
  }
}
@media (max-width: 639px) {
  .ph-page .ph-overview-item:nth-child(odd)::after {
    content: "";
    position: absolute;
    top: 0.75rem;
    right: 0;
    bottom: 0.75rem;
    display: block;
    width: 1px;
    background-color: #dcfce7;
  }
  .ph-page .doc-intro-badge {
    max-width: 100%;
    flex-wrap: wrap;
    row-gap: 0.25rem;
    font-size: 0.7rem;
    line-height: 1.375;
  }
  .ph-page .doc-intro-actions {
    display: flex;
    width: 100%;
    flex-direction: column;
    gap: 0.625rem;
  }
  .ph-page .doc-intro-actions .doc-btn-primary,
  .ph-page .doc-intro-actions .doc-btn-secondary {
    width: 100%;
    justify-content: center;
  }
  .ph-page .doc-intro-chips {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 0.5rem;
  }
}
@media (min-width: 640px) and (max-width: 767px) {
  .ph-page .ph-overview-item:nth-child(odd)::after {
    content: "";
    position: absolute;
    top: 1rem;
    right: 0;
    bottom: 1rem;
    display: block;
    width: 1px;
    background-color: #dcfce7;
  }
}
@media (max-width: 1023px) {
  .ph-page .doc-intro-actions .doc-btn-primary,
  .ph-page .doc-intro-actions .doc-btn-secondary {
    min-height: 2.75rem;
  }
  .ph-page .doc-intro {
    min-height: auto;
    align-items: flex-start;
  }
  .ph-page #ph-help-heading,
  .ph-page #ph-req-heading,
  .ph-page #ph-additional-heading,
  .ph-page #ph-faq-heading {
    white-space: normal;
  }
  .ph-page .visa-req-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
  }
  .ph-page .visa-req-img {
    min-height: 14rem;
    max-height: 20rem;
  }
  .ph-page .ph-cta .doc-cta-inner {
    max-width: 42rem;
    padding-left: 0;
    padding-right: 0;
  }
  .ph-page .ph-cta .doc-cta-actions {
    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0.625rem;
  }
  .ph-page .ph-cta .doc-cta-actions .doc-btn-primary,
  .ph-page .ph-cta .doc-cta-actions .doc-cta-btn-secondary {
    width: 100%;
    justify-content: center;
  }
  .ph-page #profile .doc-btn-primary {
    width: 100%;
    justify-content: center;
  }
}

/* Section typography */
.ph-page .doc-section-header {
  margin-bottom: 1.25rem;
}
@media (min-width: 640px) {
  .ph-page .doc-section-header {
    margin-bottom: 1.5rem;
  }
}
.ph-page .doc-section-title {
  margin-bottom: 0.25rem;
  overflow-wrap: break-word;
}
@media (min-width: 640px) {
  .ph-page .doc-section-title {
    margin-bottom: 0.375rem;
  }
}
.ph-page .doc-section-subtitle {
  margin-top: 0;
  max-width: 48rem;
}
.ph-page .visa-check-foot {
  padding-left: 0.25rem;
  padding-right: 0.25rem;
  line-height: 1.625;
}

@media (max-width: 639px) {
  .ph-page .doc-intro {
    padding-top: calc(4.25rem + 0.5rem);
    padding-bottom: 2rem;
  }
  .ph-page .visa-req-grid,
  .ph-page .visa-req-grid--full {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.75rem;
  }
  .ph-page .ph-journey-heading {
    overflow-wrap: break-word;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }
  .ph-page .ph-journey-note {
    width: 100%;
    max-width: 100%;
    justify-content: center;
    text-align: center;
    border-radius: 1rem;
  }
  .ph-page .ph-journey-note-text {
    text-align: left;
  }
  .ph-page #easyvisa-help aside[role="note"] {
    width: 100%;
    max-width: 100%;
    align-items: flex-start;
  }
  .ph-page #next-steps .doc-btn-primary {
    width: 100%;
    justify-content: center;
  }
  .ph-page .ph-next-secondary {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
  .ph-page .visa-check-foot {
    font-size: 0.8125rem;
    line-height: 1.375;
  }
  .ph-page .doc-faq-q {
    min-width: 0;
    overflow-wrap: anywhere;
  }
}

@media (min-width: 640px) and (max-width: 1023px) {
  .ph-page .visa-req-grid,
  .ph-page .visa-req-grid--full {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
  }
}

@media (min-width: 640px) {
  .ph-page .ph-journey-note-text {
    text-align: center;
  }
  .ph-page #easyvisa-help aside[role="note"] {
    width: fit-content;
    align-items: center;
  }
  .ph-page .ph-cta .doc-cta-inner {
    padding-left: 0.25rem;
    padding-right: 0.25rem;
  }
}

/* Hero */
.ph-page #ph-hero-heading.ph-hero-title {
  letter-spacing: -0.03em;
}
.ph-page #ph-hero-heading.ph-hero-title .home-title-accent {
  display: inline;
  margin-top: 0;
}
.ph-page .doc-intro {
  display: flex;
  align-items: center;
  box-sizing: border-box;
  padding-top: calc(4.25rem + 0.75rem);
  padding-bottom: 2rem;
  min-height: calc(100vh - 4.25rem);
  min-height: calc(100svh - 4.25rem);
}
.ph-page .doc-intro > .doc-container {
  width: 100%;
  min-width: 0;
}
@media (min-width: 640px) {
  .ph-page .doc-intro {
    padding-bottom: 2.5rem;
  }
}
@media (min-width: 1024px) {
  .ph-page .doc-intro {
    padding-top: calc(4.75rem + 1rem);
    padding-bottom: 3rem;
    min-height: calc(100vh - 4.75rem);
    min-height: calc(100svh - 4.75rem);
  }
  .ph-page #ph-hero-heading.ph-hero-title {
    white-space: nowrap;
    font-size: clamp(2.2rem, 2.05vw, 1.85rem);
    line-height: 1.25;
  }
}

/* Journey */
.ph-page .ph-journey {
  position: relative;
  overflow: hidden;
  scroll-margin-top: 7rem;
  padding: 3.5rem 0 3.25rem;
  background: #043f34;
  color: #fff;
}
@media (min-width: 640px) {
  .ph-page .ph-journey {
    padding: 4rem 0 3.75rem;
  }
}
.ph-page .ph-journey-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.ph-page .ph-journey-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
}
.ph-page .ph-journey-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(4, 63, 52, 0.55) 0%,
    rgba(4, 63, 52, 0.28) 48%,
    rgba(4, 63, 52, 0.08) 72%,
    rgba(4, 63, 52, 0) 100%
  );
}
@media (max-width: 767px) {
  .ph-page .ph-journey-bg::after {
    background: linear-gradient(
      180deg,
      rgba(4, 63, 52, 0.72) 0%,
      rgba(4, 63, 52, 0.55) 60%,
      rgba(4, 63, 52, 0.35) 100%
    );
  }
}
.ph-page .ph-journey > .doc-container {
  position: relative;
  z-index: 1;
}
.ph-page .ph-journey-heading {
  margin: 0 auto 2.25rem;
  max-width: 46rem;
  text-align: center;
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: #fff;
}
@media (min-width: 640px) {
  .ph-page .ph-journey-heading {
    margin-bottom: 2.75rem;
  }
}
.ph-page .ph-journey-track {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
@media (min-width: 900px) {
  .ph-page .ph-journey-track {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0;
  }
}
.ph-page .ph-journey-step {
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.875rem;
  flex: 1 1 0;
  min-width: 0;
}
@media (min-width: 900px) {
  .ph-page .ph-journey-step {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.75rem;
    padding: 0 0.2rem;
  }
}
.ph-page .ph-journey-node {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  flex-shrink: 0;
  border-radius: 9999px;
  background: linear-gradient(145deg, #22c55e 0%, #15803d 100%);
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  box-shadow:
    0 0 0 3px rgba(34, 197, 94, 0.28),
    0 0 18px rgba(34, 197, 94, 0.55),
    0 8px 18px rgba(0, 0, 0, 0.22);
}
@media (min-width: 900px) {
  .ph-page .ph-journey-node {
    width: 3.15rem;
    height: 3.15rem;
    font-size: 0.875rem;
  }
}
.ph-page .ph-journey-label {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.3;
  color: #fff;
}
@media (min-width: 900px) {
  .ph-page .ph-journey-label {
    max-width: 7.5rem;
    font-size: 0.78rem;
  }
}
@media (min-width: 1100px) {
  .ph-page .ph-journey-label {
    max-width: 8.25rem;
    font-size: 0.8125rem;
  }
}
.ph-page .ph-journey-arrow {
  display: none;
}
@media (min-width: 900px) {
  .ph-page .ph-journey-arrow {
    display: block;
    position: absolute;
    top: 1.45rem;
    left: calc(50% + 1.7rem);
    width: calc(100% - 3.4rem);
    height: 2px;
    z-index: 0;
    background: rgba(255, 255, 255, 0.55);
  }
  .ph-page .ph-journey-arrow::after {
    content: "";
    position: absolute;
    right: -1px;
    top: 50%;
    width: 7px;
    height: 7px;
    border-top: 2px solid rgba(255, 255, 255, 0.7);
    border-right: 2px solid rgba(255, 255, 255, 0.7);
    transform: translateY(-50%) rotate(45deg);
  }
}
.ph-page .ph-journey-foot {
  display: flex;
  justify-content: center;
  margin-top: 2.25rem;
  padding: 0 0.5rem;
}
@media (min-width: 640px) {
  .ph-page .ph-journey-foot {
    margin-top: 2.75rem;
  }
}
.ph-page .ph-journey-note {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  max-width: 100%;
  width: fit-content;
  margin: 0;
  padding: 0.55rem 1.15rem;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(4px);
}
@media (min-width: 640px) {
  .ph-page .ph-journey-note {
    gap: 0.625rem;
    padding: 0.65rem 1.4rem;
  }
}
.ph-page .ph-journey-note-icon {
  flex-shrink: 0;
  font-size: 1.05rem;
  line-height: 1;
  color: rgba(255, 255, 255, 0.9);
}
.ph-page .ph-journey-note-text {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.92);
}
@media (min-width: 640px) {
  .ph-page .ph-journey-note-text {
    font-size: 0.875rem;
  }
}

/* Final CTA */
.ph-page .ph-cta {
  padding: 2.5rem 0;
  background-image: linear-gradient(
      rgba(22, 163, 74, 0.28),
      rgba(21, 128, 61, 0.36),
      rgba(22, 101, 52, 0.44)
    ),
    var(--finland-cta-bg);
  background-position: center;
  background-size: cover;
}
@media (min-width: 640px) {
  .ph-page .ph-cta {
    padding: 3rem 0;
  }
}
@media (min-width: 1024px) {
  .ph-page .ph-cta {
    padding: 3.5rem 0;
  }
}
.ph-page .ph-cta .doc-cta-inner {
  max-width: 36rem;
}
.ph-page .ph-cta .doc-cta-title {
  margin-bottom: 0.5rem;
  font-size: 1.45rem;
  line-height: 1.3;
}
@media (min-width: 640px) {
  .ph-page .ph-cta .doc-cta-title {
    font-size: 1.75rem;
  }
}
@media (min-width: 1024px) {
  .ph-page .ph-cta .doc-cta-title {
    font-size: 2rem;
  }
}
.ph-page .ph-cta .doc-cta-desc {
  margin-top: 0;
  margin-bottom: 1.25rem;
  max-width: 32rem;
}
.ph-page .ph-cta .doc-cta-trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem 0.75rem;
}

/* Page motion � student-visa style */
.ph-page--anim .ph-reveal {
  opacity: 0;
  transform: translate3d(0, 1.35rem, 0);
  transition: opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1), transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--ph-d, 0ms);
  will-change: opacity, transform;
}
.ph-page--anim .ph-reveal.is-in {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}
.ph-page--anim .ph-reveal--left {
  transform: translate3d(-1.5rem, 0.5rem, 0);
}
.ph-page--anim .ph-reveal--left.is-in {
  transform: translate3d(0, 0, 0);
}
.ph-page--anim .ph-reveal--right {
  transform: translate3d(1.5rem, 0.5rem, 0);
}
.ph-page--anim .ph-reveal--right.is-in {
  transform: translate3d(0, 0, 0);
}
.ph-page--anim .ph-reveal--soft {
  transform: translate3d(0, 0.85rem, 0) scale(0.985);
}
.ph-page--anim .ph-reveal--soft.is-in {
  transform: translate3d(0, 0, 0) scale(1);
}
.ph-page--anim .ph-reveal--media {
  transform: translate3d(0, 1rem, 0) scale(1.03);
}
.ph-page--anim .ph-reveal--media.is-in {
  transform: translate3d(0, 0, 0) scale(1);
}
.ph-page--anim .ph-reveal--chip {
  transform: translate3d(0, 0.6rem, 0);
}
.ph-page--anim .ph-reveal--chip.is-in {
  transform: translate3d(0, 0, 0);
}
.ph-lift {
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.35s;
}
@media (hover: hover) and (pointer: fine) {
  .ph-page .ph-lift:hover {
    transform: translate3d(0, -0.35rem, 0);
    border-color: #bbf7d0;
    box-shadow: 0 18px 36px -20px rgba(15, 23, 42, 0.32), 0 8px 18px -14px rgba(22, 163, 74, 0.22);
  }
  .ph-page .visa-help-card.ph-reveal:hover,
  .ph-page .visa-req-card.ph-reveal:hover {
    transform: translate3d(0, -0.35rem, 0);
  }
  .ph-page .visa-help-card.ph-reveal.is-in:hover,
  .ph-page .visa-req-card.ph-reveal.is-in:hover {
    transform: translate3d(0, -0.35rem, 0);
  }

  /* Button hover polish — student-visa style */
  .ph-page .doc-btn-primary,
  .ph-page .doc-btn-secondary,
  .ph-page .doc-cta-btn-secondary,
  .ph-page .visa-check-foot-action,
  .ph-page .doc-intro-chip {
    transition:
      transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
      box-shadow 0.3s cubic-bezier(0.22, 1, 0.36, 1),
      background-color 0.3s ease,
      border-color 0.3s ease,
      color 0.3s ease,
      filter 0.3s ease;
  }
  .ph-page .doc-btn-primary:hover,
  .ph-page .doc-btn-secondary:hover,
  .ph-page .doc-cta-btn-secondary:hover {
    transform: translate3d(0, -0.2rem, 0);
  }
  .ph-page .doc-btn-primary:hover {
    box-shadow:
      0 14px 28px -12px rgba(22, 163, 74, 0.45),
      0 6px 14px -10px rgba(15, 23, 42, 0.2);
  }
  .ph-page .doc-btn-secondary:hover,
  .ph-page .doc-cta-btn-secondary:hover {
    box-shadow: 0 12px 24px -14px rgba(15, 23, 42, 0.28);
  }
  .ph-page .doc-btn-primary:active,
  .ph-page .doc-btn-secondary:active,
  .ph-page .doc-cta-btn-secondary:active {
    transform: translate3d(0, 0, 0);
    box-shadow: none;
  }
  .ph-page .doc-btn-primary .doc-btn-icon,
  .ph-page .doc-btn-secondary .doc-btn-icon,
  .ph-page .doc-cta-btn-secondary .doc-btn-icon {
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  }
  .ph-page .doc-btn-primary:hover .doc-btn-icon,
  .ph-page .doc-btn-secondary:hover .doc-btn-icon,
  .ph-page .doc-cta-btn-secondary:hover .doc-btn-icon {
    transform: translate3d(3px, 0, 0);
  }
  .ph-page .visa-check-foot-action:hover {
    transform: translate3d(0, -1px, 0);
  }
  .ph-page .doc-intro-chip:hover {
    transform: translate3d(0, -0.15rem, 0);
    box-shadow: 0 10px 20px -14px rgba(22, 163, 74, 0.35);
  }
}
@media (max-width: 639px) {
  .ph-page--anim .ph-reveal,
  .ph-page--anim .ph-reveal--chip,
  .ph-page--anim .ph-reveal--left,
  .ph-page--anim .ph-reveal--media,
  .ph-page--anim .ph-reveal--right,
  .ph-page--anim .ph-reveal--soft {
    transform: translate3d(0, 0.85rem, 0);
  }
  .ph-page--anim .ph-reveal.is-in,
  .ph-page--anim .ph-reveal--chip.is-in,
  .ph-page--anim .ph-reveal--left.is-in,
  .ph-page--anim .ph-reveal--media.is-in,
  .ph-page--anim .ph-reveal--right.is-in,
  .ph-page--anim .ph-reveal--soft.is-in {
    transform: translate3d(0, 0, 0);
  }
}
@media (prefers-reduced-motion: reduce) {
  .ph-page--anim .ph-reveal,
  .ph-page--anim .ph-reveal.is-in {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .ph-lift {
    transition: none !important;
  }
  .ph-page .doc-btn-primary:hover,
  .ph-page .doc-btn-secondary:hover,
  .ph-page .doc-cta-btn-secondary:hover {
    transform: none !important;
    box-shadow: none !important;
  }
}
