/* Inner demo pages for InvertedApps */
.page-hero {
  background: linear-gradient(135deg, #0a1628 0%, #1a2d4a 100%);
  color: #fff;
  padding: 4rem 0 3.5rem;
  text-align: center;
}

.page-hero__inner {
  box-sizing: border-box;
  margin: 0 auto;
  max-width: none;
  padding: 0 1.5rem;
  width: 100%;
}

@media (min-width: 768px) {
  .page-hero__inner {
    padding: 0 2rem;
  }
}

@media (min-width: 1200px) {
  .page-hero__inner {
    max-width: 1624px;
    padding: 0;
    width: 80%;
  }
}

.page-hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  margin: 0 0 1rem;
  line-height: 1.15;
}

.page-hero__lead {
  font-size: 1.125rem;
  line-height: 1.6;
  opacity: 0.92;
  margin: 0;
  max-width: 52rem;
  margin-left: auto;
  margin-right: auto;
}

.page-hero__accent {
  color: rgb(242, 97, 122);
}

.page-body {
  box-sizing: border-box;
  margin: 0 auto;
  max-width: none;
  padding: 3rem 1.5rem 4rem;
  width: 100%;
}

@media (min-width: 768px) {
  .page-body {
    padding: 3rem 2rem 4rem;
  }
}

@media (min-width: 1200px) {
  .page-body {
    max-width: 1624px;
    padding: 3rem 0 5rem;
    width: 80%;
  }
}

.page-section {
  margin-bottom: 2.5rem;
}

.page-section h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 1rem;
  color: #0a1628;
}

.page-section p {
  font-size: 1rem;
  line-height: 1.7;
  color: #333;
  margin: 0 0 1rem;
}

.page-section--with-visual {
  display: grid;
  gap: 1.5rem 2rem;
  grid-template-columns: 1fr;
}

.page-section--with-visual::after {
  display: none;
}

.page-body__figure {
  border-radius: 6px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12);
  margin: 0;
  overflow: hidden;
  width: 100%;
}

.page-body__figure img {
  aspect-ratio: 3 / 2;
  display: block;
  height: auto;
  object-fit: cover;
  width: 100%;
}

.page-section__content {
  min-width: 0;
}

.page-section__lead {
  color: #333;
  font-size: 1.05rem;
  line-height: 1.65;
  margin: 0 0 1.25rem;
}

.page-benefits {
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-benefits li {
  border-bottom: 1px solid #e8e8e8;
  padding: 0.85rem 0;
}

.page-benefits li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.page-benefits li:first-child {
  padding-top: 0;
}

.page-benefits strong {
  color: #0a1628;
  display: block;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 0.35rem;
}

.page-benefits span {
  color: #555;
  display: block;
  font-size: 0.9375rem;
  line-height: 1.6;
}

@media (min-width: 768px) {
  .page-section--with-visual {
    align-items: start;
    grid-template-columns: minmax(0, 42%) minmax(0, 1fr);
  }

  .page-body__figure {
    grid-column: 1;
    grid-row: 1;
  }

  .page-section__content {
    grid-column: 2;
    grid-row: 1;
  }
}

.page-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.page-card,
a.page-card {
  border: 1px solid #e5e5e5;
  border-radius: 4px;
  padding: 1.5rem;
  background: #fff;
  transition: box-shadow 0.2s ease;
}

a.page-card {
  display: block;
  text-decoration: none;
  color: inherit;
}

a.page-card:hover h3 {
  color: rgb(242, 97, 122);
}

.page-breadcrumb {
  font-size: 0.875rem;
  margin: 0 0 1rem;
  opacity: 0.85;
}

.page-breadcrumb a {
  color: inherit;
  text-decoration: underline;
}


.page-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.page-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
  color: #0a1628;
}

.page-card p {
  font-size: 0.9375rem;
  margin: 0;
  color: #555;
}

.page-cta {
  display: inline-block;
  margin-top: 2rem;
  padding: 0.75rem 1.5rem;
  background: rgb(242, 97, 122);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  border-radius: 4px;
  transition: background 0.2s ease;
}

.page-cta:hover {
  background: rgb(220, 75, 100);
  color: #fff;
}

.page-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
}

.page-list li {
  padding: 0.5rem 0;
  border-bottom: 1px solid #eee;
  font-size: 1rem;
  color: #333;
}

.page-list li:last-child {
  border-bottom: none;
}

/* Homepage Eswatini SEO section */
.ia-eswatini-seo {
  background: linear-gradient(160deg, #0a1628 0%, #163c4d 55%, #1a4a5e 100%);
  color: #fff;
  padding: 4.5rem 0 5rem;
  position: relative;
  overflow: hidden;
}

.ia-eswatini-seo::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 10% 90%, rgba(242, 97, 122, 0.08) 0%, transparent 70%),
    radial-gradient(ellipse 60% 60% at 90% 20%, rgba(255, 255, 255, 0.04) 0%, transparent 60%);
  pointer-events: none;
}

.ia-eswatini-seo__inner {
  box-sizing: border-box;
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  text-align: center;
  z-index: 1;
}

.ia-eswatini-seo__title {
  color: #fff;
  font-size: clamp(1.6rem, 3.5vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin: 0 0 1rem;
}

.ia-eswatini-seo__lead {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.1rem;
  line-height: 1.65;
  margin: 0 auto 2.5rem;
  max-width: 48rem;
}

.ia-eswatini-seo__grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
  margin-bottom: 2.5rem;
  text-align: left;
}

@media (min-width: 768px) {
  .ia-eswatini-seo__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .ia-eswatini-seo__grid--services {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .ia-eswatini-seo__grid--services {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.ia-eswatini-seo__title--services {
  margin-top: 3.5rem;
  padding-top: 3rem;
}

.ia-eswatini-seo__card {
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 1.5rem 1.5rem 1.35rem;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.ia-eswatini-seo__card:hover {
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
  transform: translateY(-2px);
}

.ia-eswatini-seo__card h3 {
  color: #fff;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 0.65rem;
}

.ia-eswatini-seo a,
.ia-eswatini-seo a:link,
.ia-eswatini-seo a:visited,
.ia-eswatini-seo a:active,
.ia-eswatini-seo a:hover {
  border-bottom: none !important;
  text-decoration: none !important;
  text-decoration-line: none !important;
}

.ia-eswatini-seo__card h3 a {
  color: inherit !important;
  transition: color 0.15s ease;
}

.ia-eswatini-seo__card h3 a:hover {
  color: rgb(242, 97, 122) !important;
}

.ia-eswatini-seo__card p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9375rem;
  line-height: 1.6;
  margin: 0;
}

.ia-eswatini-seo__cta {
  margin: 0.5rem 0 0;
}

.ia-eswatini-seo__cta a {
  color: rgb(242, 97, 122);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.ia-eswatini-seo__cta a:hover {
  border-bottom-color: rgb(242, 97, 122);
  color: #fff;
}

.ia-eswatini-seo__cta a + a {
  margin-left: 0.5rem;
}
