.fees-page {
  max-width: 1080px;
  margin: 0 auto;
  padding: 48px 24px 24px;
}
.fees-page h1,
.fees-page h2,
.fees-page h3 {
  color: #00718a;
  line-height: 1.45;
  font-weight: 500;
}
.fees-mast {
  max-width: 720px;
  padding-bottom: 8px;
}
.fees-mast h1 {
  margin: 0 0 16px;
  font-size: 48px;
}
.fees-mast p {
  margin: 0;
  font-size: 18px;
  line-height: 1.9;
  color: #434747;
}
.fees-feature {
  margin: 36px 0;
  background: #f5e9da;
  border-radius: 20px;
  padding: 28px 32px;
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 24px;
  align-items: center;
}
.fees-feature h2 {
  margin: 0 0 10px;
  font-size: 28px;
}
.fees-feature p {
  margin: 0 0 16px;
  line-height: 1.8;
  color: #434747;
}
.fees-feature img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  border-radius: 14px;
}
.fees-button {
  display: inline-flex;
  align-items: center;
  padding: 11px 24px;
  background: #00718a;
  color: #fff !important;
  text-decoration: none;
  border-radius: 4px;
}
.fees-button:hover {
  background: #005c70;
}
.fees-parts {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
  margin: 8px 0 28px;
}
.fees-parts article {
  background: #fffdfa;
  border: 1px solid #e6dace;
  padding: 24px;
  border-radius: 16px;
  min-height: 160px;
}
.fees-parts h3 {
  margin: 0 0 8px;
  font-size: 20px;
}
.fees-parts p {
  margin: 0;
  color: #434747;
  line-height: 1.75;
}
.fees-spread {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  padding: 28px 0;
  border-top: 1px solid #e6dace;
}
.fees-spread--flip {
  direction: rtl;
}
.fees-spread--flip > * {
  direction: ltr;
}
.fees-spread__photo {
  margin: 0;
}
.fees-spread__photo img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 16px;
}
.fees-spread h2 {
  margin: 0 0 8px;
  font-size: 30px;
}
.fees-spread .fees-lead {
  margin: 0 0 16px;
  font-size: 15px;
  color: #756d63;
}
.fees-price-list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.fees-price-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid #e6dace;
  font-size: 16px;
}
.fees-price-list b {
  font-weight: 600;
  color: #00718a;
}
.fees-extras-title {
  margin: 36px 0 16px;
  font-size: 26px;
}
.fees-extras {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 12px;
}
.fees-tile {
  background: #fffdfa;
  border: 1px solid #e6dace;
  border-radius: 14px;
  padding: 18px;
  min-height: 120px;
}
.fees-tile b {
  display: block;
  color: #00718a;
  margin-bottom: 6px;
  font-size: 16px;
}
.fees-tile span {
  color: #756d63;
  font-size: 14px;
  line-height: 1.6;
}
.fees-note {
  margin: 8px 0 0;
  color: #756d63;
  font-size: 14px;
}

body {
  position: relative;
  isolation: isolate;
  background: #fff5eb;
}
body::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: #607470;
  opacity: .035;
  -webkit-mask-image: url("/assets/site-theme/wp-content/themes/site/assets/images/brand-refresh/pattern-botanical.optimized.webp");
  mask-image: url("/assets/site-theme/wp-content/themes/site/assets/images/brand-refresh/pattern-botanical.optimized.webp");
  mask-mode: luminance;
  -webkit-mask-size: 900px auto;
  mask-size: 900px auto;
  -webkit-mask-repeat: repeat;
  mask-repeat: repeat;
}
#footer { background: #fff5eb; }
main {
  padding-top: 162px;
  font: 16px/1.85 var(--hemu-font-songti);
  color: #434747;
}
main a { color: #00718a; text-underline-offset: 5px; }
main a:focus-visible { outline: 3px solid #b2914b; outline-offset: 5px; }

@media (max-width: 767px) {
  main { padding-top: 150px; }
  .fees-mast h1 { font-size: 36px; }
  .fees-feature,
  .fees-parts,
  .fees-spread,
  .fees-spread--flip,
  .fees-extras {
    grid-template-columns: 1fr;
    direction: ltr;
  }
  .fees-feature,
  .fees-spread {
    padding-left: 0;
    padding-right: 0;
  }
  .fees-feature img,
  .fees-spread__photo img { height: 220px; }
}
@media (max-width: 600px) {
  main { font-size: 15px; }
  .fees-page { padding: 28px 16px 16px; }
}
