.sp-page h1,
.sp-page h2,
.sp-page h3,
.sp-page .eyebrow,
.sp-page .info-label{
  letter-spacing:0;
}
.sp-page .page-hero h1{ font-size:3rem; }
.sp-page .check-list li > span,
.sp-page .info-item > div{
  min-width:0;
  overflow-wrap:anywhere;
}
.sp-page .icon-card{ height:100%; }
.sp-page-contact .contact-form-card{ position:relative; }
.inquiry-security{
  position:absolute;
  width:1px;
  height:1px;
  overflow:hidden;
  clip-path:inset(50%);
}
.sp-page-contact [type="submit"]{ min-height:48px; }
.sp-page-legal .page-hero{ padding:52px 0; }
.sp-page-legal .legal-document{
  max-width:920px;
  margin:0 auto;
  color:var(--ink);
  font-size:1rem;
  line-height:1.8;
}
.sp-page-legal .legal-document .legal-updated{
  margin:0 0 34px;
  padding-bottom:18px;
  border-bottom:1px solid var(--border);
  color:var(--muted);
  font-size:.92rem;
}
.sp-page-legal .legal-document h2{
  margin:38px 0 14px;
  font-size:1.42rem;
  line-height:1.35;
}
.sp-page-legal .legal-document h3{
  margin:26px 0 10px;
  font-size:1.08rem;
  line-height:1.4;
}
.sp-page-legal .legal-document p,
.sp-page-legal .legal-document ul{ margin-bottom:16px; }
.sp-page-legal .legal-document ul{ padding-left:1.35rem; }
.sp-page-legal .legal-document li{ margin-bottom:7px; }
.sp-page-legal .legal-document a{
  color:var(--green-dark);
  text-decoration:underline;
  text-underline-offset:3px;
}
.sp-page-legal .legal-document a:hover{ color:var(--green); }
.sp-page-legal .legal-document code{
  color:var(--ink);
  overflow-wrap:anywhere;
}
.sp-page-search .search-hero{
  padding:52px 0 48px;
  background:var(--bg-soft);
  border-bottom:1px solid var(--border);
}
.sp-page-search .search-hero h1{ margin-bottom:24px; }
.sp-page-search .search-hero .breadcrumb{ margin-bottom:20px; }
.site-search-form{
  position:relative;
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:10px;
  width:min(820px,100%);
}
.site-search-form > .bi-search{
  position:absolute;
  left:17px;
  top:50%;
  transform:translateY(-50%);
  z-index:1;
  color:var(--muted);
  pointer-events:none;
}
.site-search-form input{
  width:100%;
  min-width:0;
  height:50px;
  padding:0 16px 0 46px;
  color:var(--ink);
  background:#fff;
  border:1px solid #cddbd3;
  border-radius:8px;
  outline:0;
}
.site-search-form input:focus{
  border-color:var(--green);
  box-shadow:0 0 0 3px rgba(39,185,122,.13);
}
.site-search-form .btn{ min-width:116px; min-height:50px; }
.search-results-section{ padding:54px 0 84px; min-height:430px; }
.search-results-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:24px;
  margin-bottom:28px;
}
.search-result-count{ margin:0; color:var(--muted); font-weight:600; }
.search-filters{
  display:flex;
  align-items:center;
  max-width:100%;
  overflow-x:auto;
  padding-bottom:2px;
  scrollbar-width:thin;
}
.search-filters a{
  display:inline-flex;
  align-items:center;
  gap:7px;
  min-height:38px;
  padding:7px 11px;
  white-space:nowrap;
  color:var(--muted);
  font-size:.88rem;
  font-weight:600;
  border:1px solid var(--border);
  border-right:0;
  background:#fff;
}
.search-filters a:first-child{ border-radius:8px 0 0 8px; }
.search-filters a:last-child{ border-right:1px solid var(--border); border-radius:0 8px 8px 0; }
.search-filters a span{
  min-width:20px;
  padding:1px 6px;
  color:var(--muted);
  font-size:.75rem;
  text-align:center;
  background:var(--bg-soft);
  border-radius:8px;
}
.search-filters a:hover{ color:var(--green-dark); }
.search-filters a.active{ color:#fff; border-color:var(--green-dark); background:var(--green-dark); }
.search-filters a.active + a{ border-left-color:var(--green-dark); }
.search-filters a.active span{ color:var(--ink); background:#fff; }
.search-result-list{ border-top:1px solid var(--border); }
.search-result-item{
  display:grid;
  grid-template-columns:220px minmax(0,1fr);
  gap:26px;
  padding:26px 0;
  border-bottom:1px solid var(--border);
}
.search-result-media{
  display:block;
  width:100%;
  aspect-ratio:4/3;
  overflow:hidden;
  border:1px solid var(--border);
  border-radius:8px;
  background:var(--bg-soft);
}
.search-result-media img{ width:100%; height:100%; object-fit:cover; transition:transform .25s ease; }
.search-result-media:hover img{ transform:scale(1.025); }
.search-result-placeholder{ display:flex; align-items:center; justify-content:center; width:100%; height:100%; color:#9aaba2; font-size:2rem; }
.search-result-content{ min-width:0; align-self:center; }
.search-result-type{
  display:block;
  margin-bottom:7px;
  color:var(--green-dark);
  font-size:.76rem;
  font-weight:700;
  text-transform:uppercase;
}
.search-result-item h2{ margin:0 0 10px; font-size:1.35rem; line-height:1.35; overflow-wrap:anywhere; }
.search-result-item h2 a{ color:var(--ink); }
.search-result-item h2 a:hover{ color:var(--green-dark); }
.search-result-item p{ margin:0 0 12px; color:var(--muted); line-height:1.7; }
.search-result-item mark{ padding:0 2px; color:var(--ink); background:#ffe5b8; border-radius:2px; }
.search-result-link{ display:inline-flex; align-items:center; gap:6px; font-size:.9rem; font-weight:700; }
.search-result-link i{ transition:transform .2s ease; }
.search-result-link:hover i{ transform:translateX(3px); }
.search-empty{ max-width:560px; margin:44px auto; text-align:center; color:var(--muted); }
.search-empty > i{ display:inline-flex; align-items:center; justify-content:center; width:56px; height:56px; margin-bottom:18px; color:var(--green-dark); font-size:1.45rem; border:1px solid #b9dcca; border-radius:8px; background:#eef8f3; }
.search-empty h2{ margin-bottom:10px; font-size:1.4rem; }
.search-empty p{ margin:0; }
.search-pagination{ display:flex; align-items:center; justify-content:center; gap:8px; margin-top:34px; }
.search-pagination a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:42px;
  height:42px;
  color:var(--ink);
  font-weight:700;
  border:1px solid var(--border);
  border-radius:8px;
  background:#fff;
}
.search-pagination a:hover{ color:var(--green-dark); border-color:var(--green); }
.search-pagination a.active{ color:#fff; border-color:var(--green-dark); background:var(--green-dark); }
.contact-map{
  overflow:hidden;
  border-radius:8px;
  background:#eef1ef;
  min-height:320px;
}
.contact-map iframe{
  display:block;
  width:100% !important;
  height:420px !important;
  border:0;
}
.inquiry-feedback{
  padding:14px 16px;
  border:1px solid var(--border);
  border-radius:6px;
  font-size:.95rem;
  overflow-wrap:anywhere;
}
.inquiry-feedback[data-state="success"]{
  color:#17683f;
  border-color:#b5d8c4;
  background:#edf7f1;
}
.inquiry-feedback[data-state="error"]{
  color:#922d32;
  border-color:#e5babe;
  background:#fff3f3;
}
@media (max-width:991.98px){
  .sp-page .row.g-5{ --bs-gutter-x:1.5rem; }
  .sp-page-contact .contact-info-card{ margin-top:0; height:auto; }
  .search-results-head{ align-items:flex-start; flex-direction:column; gap:14px; }
}
@media (max-width:575.98px){
  .sp-page .page-hero h1{ font-size:2rem; }
  .sp-page-search .search-hero{ padding:34px 0; }
  .sp-page-search .search-hero h1{ margin-bottom:18px; font-size:2rem; }
  .site-search-form{ grid-template-columns:minmax(0,1fr) 52px; gap:8px; }
  .site-search-form .btn{ min-width:52px; padding:0; font-size:0; }
  .site-search-form .btn::before{ content:"\F52A"; font-family:"bootstrap-icons"; font-size:1rem; }
  .search-results-section{ padding:34px 0 74px; }
  .search-result-item{ grid-template-columns:108px minmax(0,1fr); gap:14px; padding:20px 0; }
  .search-result-item h2{ font-size:1.02rem; }
  .search-result-item p{ display:-webkit-box; overflow:hidden; -webkit-box-orient:vertical; -webkit-line-clamp:3; font-size:.88rem; line-height:1.55; }
  .search-result-type{ margin-bottom:5px; font-size:.7rem; }
  .search-result-link{ font-size:.82rem; }
}
