/* Perbaikan Home seraungroup.com — tempel di Appearance > Customize > Additional CSS
   (bukan di folder tema; file ini bukan bagian dari WordPress). */

/* Kartu layanan baris 2: kolom sama lebar, kartu sama tinggi, divider & foto sejajar */
.elementor-element-564a3bb > .e-con-inner { align-items: stretch; }
.elementor-element-564a3bb > .e-con-inner > .e-con {
  display: flex;
  flex: 1 1 0 !important;
  min-width: 0;
  width: auto !important;
  --width: auto !important;
}
.elementor-element-564a3bb .card-hover {
  flex: 1 1 auto;
  height: auto;
  width: 100% !important;
  --width: 100% !important;
}
.elementor-element-564a3bb .card-hover > .elementor-widget-text-editor { flex-grow: 1; }
.elementor-element-564a3bb .card-hover > .e-con:first-child img {
  height: 48px;
  width: auto;
  object-fit: contain;
}
.elementor-element-564a3bb .card-hover > .e-con:last-child,
.elementor-element-564a3bb .card-hover > .e-con:last-child .elementor-widget-image { width: 100%; }
.elementor-element-564a3bb .card-hover > .e-con:last-child img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

/* Header mobile: logo, bahasa, dan menu dalam satu baris */
@media (max-width: 767px) {
  .elementor-element-e781eaf > .e-con-inner { flex-wrap: nowrap !important; align-items: center; gap: 8px; }
  .elementor-element-e781eaf .elementor-widget-theme-site-logo { flex: 1 1 auto; min-width: 0; --width: auto; }
  .elementor-element-e781eaf .elementor-widget-theme-site-logo img { max-width: 150px; height: auto; }
  .elementor-element-e781eaf .elementor-element-1f68ad8 { flex: 0 0 auto; width: auto !important; order: 2; }
  .elementor-element-e781eaf .elementor-widget-nav-menu { flex: 0 0 auto; width: auto !important; order: 3; }
}

/* Footer: judul sama tinggi, isi kolom Contact dan Services mulai sejajar, jarak antarbaris seragam */
.site-footer .widget-area h2 { margin: 0 0 16px; line-height: 1.3; }
.site-footer .widget-area .widget { margin-bottom: 0; }
.site-footer .widget-area p { margin: 0 0 12px; line-height: 1.65; }
.site-footer .widget-area p:last-child { margin-bottom: 0; }
.site-footer .astra-footer-vertical-menu .menu-item > a { padding-top: 0; padding-bottom: 0; line-height: 1.65; }
.site-footer .astra-footer-vertical-menu .menu-item { margin-bottom: 6px; }

/* Our Clients (halaman /en/): logo +20% (63% -> 75.6%) */
.elementor-1506 .elementor-element.elementor-element-70fe599 img { width: 75.6%; }

/* Halaman layanan baru (Academy, Cipta Usaha, Creative Agency, Delisa): judul panjang diletakkan di tengah gambar banner */
.su-hero { position: relative; }
.su-hero .elementor-widget-heading { position: absolute; top: 50%; left: 0; right: 0; transform: translateY(-50%); z-index: 2; padding: 0 24px; margin: 0; }
.su-hero .elementor-widget-heading .elementor-heading-title { font-size: clamp(32px, 6vw, 80px); line-height: 1.2; text-align: center; text-shadow: 0 2px 18px rgba(0, 0, 0, .45); }
.su-hero .elementor-widget-image > .elementor-widget-container { margin-top: 0 !important; }
.su-hero .elementor-widget-image img { height: min(48rem, 70vh); }

/* Home Our Services: 9 kartu (urutan menu Layanan Kami) dalam satu grid 3x3; 1 kolom di mobile.
   Kartu dari baris lama 361627b bertipe boxed (isi di dalam .e-con-inner), jadi aturan kartu diulang untuk struktur itu. */
.elementor-element-564a3bb > .e-con-inner { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 !important; }
.elementor-element-564a3bb .card-hover > .e-con-inner { flex: 1 1 auto; display: flex; flex-direction: column; }
.elementor-element-564a3bb .card-hover > .e-con-inner > .elementor-widget-text-editor { flex-grow: 1; }
.elementor-element-564a3bb .card-hover > .e-con-inner > .e-con:first-child img { height: 48px; width: auto; object-fit: contain; }
.elementor-element-564a3bb .card-hover > .e-con-inner > .e-con:last-child,
.elementor-element-564a3bb .card-hover > .e-con-inner > .e-con:last-child .elementor-widget-image { width: 100%; }
.elementor-element-564a3bb .card-hover > .e-con-inner > .e-con:last-child img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
@media (max-width: 767px) {
  .elementor-element-564a3bb > .e-con-inner { grid-template-columns: minmax(0, 1fr); }
}
/* Tombol panah semua kartu sama dengan gaya asli #btn-services (kartu baris 2 tidak memakai id itu) */
.elementor-element-564a3bb .card-hover .elementor-button-icon svg { padding: 0; margin: 6px 0 8px 6px; }
