.wp-block-heading {
  overflow-wrap: break-word;
  hyphens: auto;
  text-wrap: balance;
}
.wp-block-heading:lang(zh),
.wp-block-heading:lang(ja),
.wp-block-heading:lang(ko),
.wp-block-heading:lang(th),
.wp-block-heading:lang(lo),
.wp-block-heading:lang(my),
.wp-block-heading:lang(km),
.wp-block-heading:lang(ar),
.wp-block-heading:lang(ur) {
  word-break: keep-all;
  hyphens: manual;
}

.latest-post-card li,
.latest-post-card .wp-block-post {
  position: relative;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  padding: 28px;
  background: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition:
    transform 0.35s cubic-bezier(0.22, 0.61, 0.36, 1),
    box-shadow 0.35s cubic-bezier(0.22, 0.61, 0.36, 1),
    background 0.35s ease;
}
.latest-post-card li:hover,
.latest-post-card .wp-block-post:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.45);
  box-shadow: 0 22px 50px rgba(31, 79, 112, 0.18);
}
.latest-post-card * {
  min-width: 0;
  overflow-wrap: anywhere;
}
.latest-post-card img {
  max-width: 100%;
  height: auto;
  display: block;
}
.latest-post-card .wp-block-post-title,
.latest-post-card .wp-block-post-title a {
  hyphens: none !important;
  word-break: normal !important;
  overflow-wrap: normal !important;
  text-wrap: wrap !important;
}
.latest-post-card .wp-block-post-title a {
  text-decoration: none;
  position: static;
}
.latest-post-card .wp-block-post-title a::before,
.card-link a::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}
.latest-post-card .wp-block-post-date,
.latest-post-card .wp-block-post-title,
.latest-post-card .wp-block-post-excerpt,
.latest-post-card .wp-block-read-more {
  position: relative;
  z-index: 2;
}

@media (max-width: 768px) {
  .latest-post-card li,
  .latest-post-card .wp-block-post {
    padding: 22px;
  }
}

.contact-stack {
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: flex-start;
  margin: 0 auto;
  width: fit-content;
}
.contact-item {
  display: grid;
  grid-template-columns: 32px auto;
  column-gap: 14px;
  align-items: center;
  font-size: 18px;
  color: #1F4F70;
  text-decoration: none;
}
.contact-item svg {
  width: 26px;
  height: 26px;
  stroke: #1f4f70;
  fill: none;
  stroke-width: 2;
}

.card-link {
  transition:
    transform 0.45s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.45s cubic-bezier(0.16, 1, 0.3, 1),
    background 0.35s ease;
  will-change: transform;
}
.card-link:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 22px 50px rgba(31, 79, 112, 0.18);
}
.card-link:active {
  transform: translateY(-2px) scale(0.995);
}

.partners-grid img {
  margin: auto;
  display: block;
  max-width: 160px;
  height: auto;
}

.wpcf7,
.wpcf7 label {
  color: #1F4F70;
  font-weight: 600;
}
.wpcf7 p {
  margin: 0 0 16px;
}
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="url"],
.wpcf7 select,
.wpcf7 textarea {
  width: 100%;
  max-width: 560px;
  box-sizing: border-box;
  display: block;
  border-radius: 14px;
  border: 1px solid rgba(31, 79, 112, 0.25);
  padding: 12px 14px;
  font-size: 16px;
  background: rgba(255, 255, 255, 0.85);
  color: #1F4F70;
  transition: 0.2s ease;
}
.wpcf7 textarea {
  min-height: 140px;
  resize: none;
  overflow: auto;
}
.wpcf7 input:focus,
.wpcf7 select:focus,
.wpcf7 textarea:focus {
  outline: none;
  border-color: #1F4F70;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 0 0 3px rgba(31, 79, 112, 0.18);
}
.wpcf7 input[type="submit"],
.wpcf7 .wpcf7-submit {
  background: #1F4F70;
  color: #fff;
  border-radius: 999px;
  padding: 12px 30px;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 16px;
  border: none;
  cursor: pointer;
  transition:
    transform 0.35s cubic-bezier(0.22, 0.61, 0.36, 1),
}
button,
input[type="submit"],
input[type="button"],
input[type="reset"],
.wp-block-button__link,
.wpcf7 input[type="submit"],
.wpcf7 .wpcf7-submit {
  transition: transform 0.35s cubic-bezier(0.22, 0.61, 0.36, 1);
}

button:hover,
input[type="submit"]:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
.wp-block-button__link:hover,
.wpcf7 input[type="submit"]:hover,
.wpcf7 .wpcf7-submit:hover {
  transform: translateY(-2px);
  box-shadow: none !important;
}

button:active,
input[type="submit"]:active,
input[type="button"]:active,
input[type="reset"]:active,
.wp-block-button__link:active {
  transform: translateY(0);
}

.wpcf7-not-valid-tip {
  font-size: 13px;
  margin-top: 6px;
  color: rgba(180, 60, 60, 0.9);
  font-weight: 500;
}
.wpcf7-response-output {
  border: none !important;
  background: none !important;
  padding: 6px 0 0 !important;
  margin: 8px 0 0 !important;
  color: rgba(31, 79, 112, 0.65) !important;
  font-size: 14px;
  font-weight: 500;
}
.wpcf7-mail-sent-ok {
  color: #1F4F70 !important;
}
.wpcf7-validation-errors,
.wpcf7-mail-sent-ng {
  color: rgba(31, 79, 112, 0.7) !important;
}

@media (max-width: 768px) {
  .wpcf7 {
    padding: 18px;
  }
}
.card-about {
  position: relative;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(18px) saturate(120%);
  -webkit-backdrop-filter: blur(18px) saturate(120%);
  border: 1px solid rgba(255, 255, 255, 0.42);
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
  overflow: hidden;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease;
}

.card-about::before {
  content: "";
  position: absolute;
  inset: -1px;
  background:
    radial-gradient(
      900px 300px at 18% 8%,
      rgba(255, 255, 255, 0.55),
      rgba(255, 255, 255, 0) 55%
    ),
    linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0));
  pointer-events: none;
}

.card-about > * {
  position: relative;
  z-index: 1;
}

.card-about:hover {
  transform: translateY(-2px);
  box-shadow:
    0 24px 55px rgba(0, 0, 0, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.32);
}
.about-icon {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, .40);
  border: 1px solid rgba(255, 255, 255, .55);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .10), inset 0 1px 0 rgba(255, 255, 255, .35);
  color: #1e4e6b;
}
.recent-posts-glass {
  background: rgba(255, 255, 255, .28);
  backdrop-filter: blur(16px) saturate(120%);
  -webkit-backdrop-filter: blur(16px) saturate(120%);
  border: 1px solid rgba(255, 255, 255, .45);
  border-radius: 20px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .12);
  padding: 18px;
}

.recent-posts-glass {
  position: relative;
  isolation: isolate;
}

.recent-posts-glass::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: rgba(255, 255, 255, .28);
  z-index: -1;
}
a {
  color: inherit !important;
  text-decoration: none !important;
}

a:hover {
  text-decoration: none !important;
}

a:active,
a:visited,
a:focus,
a:focus-visible {
  color: inherit !important;
  outline: none !important;
  box-shadow: none !important;
}

.card-blog-post {
  height: 100% !important;
}

.card-blog-post > div {
  flex: 1 !important;
  display: flex !important;
  flex-direction: column !important;
}
.contact-map {
  width: 100%;
  height: 350px;
  overflow: hidden;
}

.contact-map iframe {
  margin-bottom: -1rem;
  width: 100%;
  height: 100%;
  border: 0;
}
.contact-map {
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  font-size: 0 !important;
  line-height: 0 !important;
}

.contact-map iframe {
  display: block !important;
  vertical-align: bottom !important;
  width: 100% !important;
  height: 360px !important;
  border: 0 !important;
}
.contact-map {
  position: relative;
  width: 100%;
  height: 350px;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden;
  background: #dfe7ef;
  line-height: 0;
}

.contact-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}
