:root {
  --page-blue: #2371b6;
  --page-orange: #d46f14;
  --page-ink: #172f3c;
  --page-muted: #718087;
  --page-cream: #f8f4eb;
}

body {
  margin: 0;
  color: var(--page-ink);
  background: var(--page-cream);
  font-family: "Nunito Sans", sans-serif;
}

.news,
.contact {
  min-height: 100vh;
  position: relative;
  margin: 0;
  padding: 180px 0 100px;
  overflow: hidden;
  background:
    radial-gradient(circle at 94% 4%, rgba(35, 113, 182, 0.11), transparent 25rem),
    radial-gradient(circle at 3% 38%, rgba(212, 111, 20, 0.09), transparent 23rem),
    var(--page-cream);
}

.news::before,
.contact::before {
  content: "";
  width: 1px;
  height: 90px;
  position: absolute;
  top: 64px;
  left: 50%;
  background: linear-gradient(transparent, rgba(212, 111, 20, 0.58));
}

.news > .container,
.contact > .container {
  width: min(1240px, calc(100% - 48px));
  max-width: none;
}

.news .section-title,
.contact .section-title {
  max-width: 760px;
  margin: 0 auto 48px;
  padding: 0;
  text-align: center;
}

.inner-page-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  color: var(--page-orange);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2.2px;
  text-transform: uppercase;
}

.inner-page-eyebrow::before,
.inner-page-eyebrow::after {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
  opacity: 0.55;
}

.news .section-title h2,
.contact .section-title h2 {
  margin: 0;
  padding: 0;
  color: var(--page-ink);
  font-family: "Marcellus", serif;
  font-size: clamp(44px, 5vw, 70px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -1.3px;
}

.news .section-title h2::after,
.contact .section-title h2::after {
  display: none;
}

.news .section-title p,
.contact .section-title {
  color: var(--page-muted);
}

.news .section-title p {
  max-width: 620px;
  margin: 18px auto 0;
  font-size: 16px;
  line-height: 1.75;
}

/* News */
.news .row {
  justify-content: center;
}

.news .row > [class*="col-"]:empty {
  display: none;
}

.news .row > .col-xl-4:has(.news-item) {
  width: min(100%, 820px);
}

.news-item {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(320px, 1.05fr);
  align-items: stretch;
  padding: 0;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(23, 47, 60, 0.08);
  border-radius: 24px;
  box-shadow: 0 22px 55px rgba(30, 45, 54, 0.1);
}

.news-item img {
  grid-row: 1 / 3;
  width: 100%;
  height: 100%;
  min-height: 390px;
  object-fit: cover;
}

.news-item h3 {
  grid-column: 2;
  align-self: end;
  margin: 0;
  padding: 42px 42px 16px;
  color: var(--page-ink);
  font-family: "Marcellus", "Noto Sans Devanagari", serif;
  font-size: clamp(23px, 2.1vw, 32px);
  font-weight: 400;
  line-height: 1.4;
}

.news-item a {
  grid-column: 2;
  width: fit-content;
  align-self: start;
  margin: 0 42px 42px;
  padding: 12px 20px;
  color: #fff;
  background: var(--page-blue);
  border-radius: 50px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.news-item a:hover {
  color: #fff;
  background: var(--page-orange);
  box-shadow: 0 10px 24px rgba(212, 111, 20, 0.24);
  transform: translateY(-2px);
}

/* Contact */
.contact .section-title img {
  width: 116px;
  margin: 24px auto 8px;
  padding: 10px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(30, 45, 54, 0.08);
}

.contact .section-title h3 {
  margin: 8px 0 2px;
  color: var(--page-ink);
  font-family: "Marcellus", serif;
}

.contact .info-box {
  height: calc(100% - 24px);
  margin-bottom: 24px !important;
  padding: 30px 26px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(23, 47, 60, 0.08);
  border-radius: 20px;
  box-shadow: 0 14px 36px rgba(30, 45, 54, 0.07);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.contact .info-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 46px rgba(30, 45, 54, 0.12);
}

.contact .info-box > i {
  width: 50px;
  height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--page-blue);
  background: rgba(35, 113, 182, 0.09);
  border: 0;
  border-radius: 50%;
  font-size: 24px;
}

.contact .info-box h3 {
  margin: 0 0 10px;
  color: var(--page-ink);
  font-family: "Marcellus", serif;
  font-size: 23px;
}

.contact .info-box p {
  margin: 0;
  color: var(--page-muted);
  font-size: 14px;
  line-height: 1.7;
}

.contact .info-box a[href^="mailto:"],
.contact .info-box a[href^="tel:"] {
  color: var(--page-ink);
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.contact .info-box a[href^="mailto:"]:hover,
.contact .info-box a[href^="mailto:"]:focus-visible,
.contact .info-box a[href^="tel:"]:hover,
.contact .info-box a[href^="tel:"]:focus-visible {
  color: var(--page-orange);
}

.contact > .container > .row:last-of-type {
  margin-top: 28px;
  align-items: stretch;
}

.contact > .container > .row:last-of-type > div {
  padding: 28px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(23, 47, 60, 0.08);
  border-radius: 22px;
  box-shadow: 0 18px 46px rgba(30, 45, 54, 0.09);
}

.contact > .container > .row:last-of-type > div:first-child {
  width: calc(50% - 12px);
  margin-right: 24px;
}

.contact > .container > .row:last-of-type > div:last-child {
  width: calc(50% - 12px);
}

.contact > .container > .row:last-of-type strong {
  display: block;
  margin: 4px 0 10px;
  color: var(--page-ink);
  font-family: "Marcellus", serif;
  font-size: 18px;
}

.contact iframe {
  display: block;
  margin-bottom: 22px;
  border-radius: 14px;
}

.contact .php-email-form {
  height: 100%;
  padding: 8px;
  background: transparent;
  box-shadow: none;
}

.contact .php-email-form input,
.contact .php-email-form textarea {
  padding: 14px 16px;
  color: var(--page-ink);
  background: #fbfaf7;
  border: 1px solid #e4dfd5;
  border-radius: 12px;
  font-family: "Nunito Sans", sans-serif;
  font-size: 14px;
}

.contact .php-email-form input {
  height: 52px;
}

.contact .php-email-form input:focus,
.contact .php-email-form textarea:focus {
  border-color: var(--page-blue);
  box-shadow: 0 0 0 4px rgba(35, 113, 182, 0.09);
}

.contact .php-email-form button[type="submit"] {
  padding: 14px 26px;
  background: var(--page-blue);
  border: 0;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  transition: transform 0.3s ease, background 0.3s ease;
}

.contact .php-email-form button[type="submit"]:hover {
  background: var(--page-orange);
  transform: translateY(-2px);
}

@media (max-width: 991px) {
  .news,
  .contact {
    padding-top: 160px;
  }

  .news-item {
    grid-template-columns: 1fr;
  }

  .news-item img {
    grid-row: auto;
    min-height: 320px;
  }

  .news-item h3,
  .news-item a {
    grid-column: auto;
  }

  .contact > .container > .row:last-of-type > div:first-child {
    width: 100%;
    margin: 0 0 24px;
  }

  .contact > .container > .row:last-of-type > div:last-child {
    width: 100%;
  }
}

@media (max-width: 575px) {
  .news,
  .contact {
    padding: 138px 0 64px;
  }

  .news > .container,
  .contact > .container {
    width: calc(100% - 24px);
  }

  .news .section-title h2,
  .contact .section-title h2 {
    font-size: 40px;
  }

  .news-item {
    border-radius: 18px;
  }

  .news-item img {
    min-height: 240px;
  }

  .news-item h3 {
    padding: 26px 24px 16px;
    font-size: 22px;
  }

  .news-item a {
    margin: 0 24px 26px;
  }

  .contact > .container > .row:last-of-type > div {
    padding: 18px;
  }
}
