/* Public home page – mirrors the former WordPress layout (theme tokens copied from theme.json). */
.gf-home {
  --gf-large: clamp(1.125rem, 1.125rem + ((1vw - 0.2rem) * 0.392), 1.375rem);
  --gf-medium: clamp(1.13rem, 1.13rem + ((1vw - 0.2rem) * -0.008), 1.125rem);
  --gf-small: 0.875rem;
  --gf-xxl: clamp(2.15rem, 2.15rem + ((1vw - 0.2rem) * 1.333), 3rem);
  --gf-gap-80: clamp(70px, 10vw, 140px);
  font-family: 'Manrope', sans-serif;
  font-size: var(--gf-large);
  font-weight: 300;
  letter-spacing: -0.1px;
  line-height: 1.4;
  color: #111;
}
.page-wrapper .gf-home h1,
.page-wrapper .gf-home h2,
.page-wrapper .gf-home h3,
.page-wrapper .gf-home h4 {
  font-family: 'Manrope', sans-serif;
  font-weight: 400;
  letter-spacing: -0.1px;
  line-height: 1.125;
  margin: 0;
  text-wrap: pretty;
}
.gf-home p { margin: 0 0 1.2rem; text-wrap: pretty; }
.gf-home strong { font-weight: 700; }
.gf-main .gf-home a { color: inherit; }
.gf-home img { max-width: 100%; height: auto; display: block; }
.gf-home .gf-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.gf-home__eyebrow { font-size: var(--gf-small); font-weight: 600; text-transform: uppercase; margin: 0 !important; }

/* hero */
.gf-home__hero { display: flex; align-items: center; gap: 40px; padding-top: 60px; padding-bottom: 100px; }
.gf-home__hero-image { flex: 1 1 50%; display: flex; justify-content: center; }
.gf-home__hero-image img { width: 400px; height: 400px; object-fit: contain; }
.gf-home__hero-text { flex: 1 1 50%; }
.page-wrapper .gf-home .gf-home__hero-text h1 { font-size: var(--gf-xxl); color: #47a1c5; padding-top: 20px; margin-bottom: 1.2rem; }
.gf-home__lead { font-weight: 400; line-height: 1.6; }
.gf-home__buttons { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 1.2rem; }
.gf-home__button { display: inline-block; border-radius: 15px; padding: 1rem 2.25rem; font-size: var(--gf-small); font-weight: 700; color: #fff !important; text-decoration: none !important; line-height: 1.4; }
.gf-home__button--free { background: #2d9c0b; }
.gf-home__button--premium { background: #21638c; }
.gf-home__button:hover { opacity: .85; }

/* what is globfone */
.gf-home__about { background: #c4e5f561; padding: 80px 0 76px; }
.gf-home__about-grid { display: flex; gap: 40px; align-items: flex-start; }
.gf-home__about-title { flex: 0 0 33.33%; }
.page-wrapper .gf-home .gf-home__about-title h2 { font-size: var(--gf-xxl); font-weight: 700; line-height: 1.1; margin: 30px 0; }
.gf-home__about-title img { width: 180px; }
.gf-home__about-text { flex: 1 1 66.66%; font-size: var(--gf-medium); font-weight: 400; line-height: 1.6; margin: 0 !important; }

/* four features */
.gf-home__features { background-size: cover; background-position: center; padding: 80px 0; }
.gf-home__features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.page-wrapper .gf-home .gf-home__features-grid h3 { font-size: var(--gf-large); font-weight: 700; margin-bottom: 20px; }
.gf-home__features-grid p { font-size: var(--gf-medium); font-weight: 400; line-height: 1.6; }

/* app notice */
.gf-home__app { background: #ffedcc; padding: 30px 20px; }
.gf-home__app-grid { display: flex; align-items: center; gap: 40px; }
.gf-home__app-text { flex: 0 0 60%; font-weight: 400; }
.page-wrapper .gf-home .gf-home__app-text h2 { font-size: var(--gf-xxl); font-weight: 700; }
.gf-home__app-notice { padding-bottom: 20px; margin: 0 !important; }
.gf-home__app-text p:not(.gf-home__app-notice):not(.gf-home__footnote) { font-size: var(--gf-medium); line-height: 1.6; }
.gf-home__stores { display: flex; gap: 0; padding: 10px 0; }
.gf-home__stores img { width: 140px; height: auto; }
.gf-home__footnote { font-size: 14px; color: #686868; margin: 0 !important; }
.gf-home__app-image { flex: 1 1 40%; display: flex; justify-content: center; }
.gf-home__app-image img { width: 100%; max-width: 480px; }

/* video banner */
.gf-home__video { padding-top: var(--gf-gap-80); padding-bottom: var(--gf-gap-80); }
.gf-home__video img { width: 100%; border-radius: 20px; }

/* testimonials */
.gf-home__testimonials { display: flex; gap: 40px; align-items: flex-start; padding-top: var(--gf-gap-80); padding-bottom: var(--gf-gap-80); }
.gf-home__testimonials-title { flex: 0 0 40%; }
.page-wrapper .gf-home .gf-home__testimonials-title h2 { font-size: var(--gf-xxl); font-weight: 700; line-height: 1.1; margin-top: 10px; }
.gf-home__testimonials-list { flex: 1 1 60%; }
.gf-home__testimonial { display: flex; gap: 10px; align-items: center; margin: 0 0 40px; }
.gf-home__testimonial img { flex: 0 0 120px; width: 120px; height: 120px; border-radius: 50px; }
.gf-home__testimonial figcaption { padding: 0 20px; }
.page-wrapper .gf-home .gf-home__testimonial h4 { font-size: var(--gf-medium); font-weight: 700; margin-bottom: 5px; }
.gf-home__testimonial p { font-size: var(--gf-medium); font-weight: 300; line-height: 1.5; margin: 0; }
.gf-home .gf-home__country { font-size: 12px; color: #888; margin: 0 0 4px; }

/* latest posts */
.gf-home__posts { padding-bottom: var(--gf-gap-80); }
.gf-home__posts ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 30px; }
.gf-home__posts--featured ul { grid-template-columns: repeat(var(--gf-post-columns, 5), minmax(0, 1fr)); }
.gf-home__post-image { display: block; }
.gf-home__post-image img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; }
.page-wrapper .gf-home .gf-home__posts h4 { font-size: var(--gf-large); font-weight: 600; line-height: 1.2; margin: 10px 0; }
.gf-home__posts h4 a { text-decoration: none; }
.gf-home__posts p { font-size: var(--gf-medium); font-weight: 300; line-height: 1.4; margin-bottom: 0; display: -webkit-box; -webkit-line-clamp: 9; -webkit-box-orient: vertical; overflow: hidden; }
.gf-home__more { display: inline-block; font-size: var(--gf-small); font-weight: 700; padding: 10px 0; text-decoration: none; }

/* closing call to action */
.gf-home__cta { background: #111; color: #fff; padding: 50px 0; }
.gf-home__cta-grid { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.gf-home__cta p { margin: 0; max-width: 640px; font-weight: 400; color: #fff; }
.gf-home__cta-buttons { display: flex; gap: 14px; }
.gf-home__cta-buttons a { display: inline-block; min-width: 180px; text-align: center; background: #fff; color: #111 !important; border-radius: 50px; padding: 14px 20px; font-size: var(--gf-small); font-weight: 500; text-decoration: none !important; }

@media (max-width: 1100px) {
  .gf-home__posts ul { grid-template-columns: repeat(3, 1fr); }
  .gf-home__posts--featured ul { grid-template-columns: repeat(min(3, var(--gf-post-columns, 5)), minmax(0, 1fr)); }
  .gf-home__features-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
}
@media (max-width: 781px) {
  .gf-home__hero, .gf-home__about-grid, .gf-home__app-grid, .gf-home__testimonials, .gf-home__cta-grid { flex-direction: column; align-items: stretch; }
  .gf-home__hero { padding-top: 30px; padding-bottom: 60px; }
  .gf-home__hero-image img { width: 280px; height: 280px; }
  .gf-home__about, .gf-home__features { padding: 50px 0; }
  .gf-home__features-grid { grid-template-columns: 1fr; }
  .gf-home__app-text { flex: 1 1 auto; }
  .gf-home__posts ul { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .gf-home__cta-buttons { flex-direction: column; }
}
@media (max-width: 520px) {
  .gf-home__posts ul { grid-template-columns: 1fr; }
  .gf-home__testimonial { flex-direction: column; align-items: flex-start; }
}
