body {
  background-color: #ffffff;
}

.post-landing {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  margin: 8rem auto 12rem;
}
.post-landing h1 {
  font-size: clamp(2.5rem, 4vw, 5rem);
  margin-bottom: 1.5rem;
}
.post-landing .img-container {
  position: relative;
  width: 100%;
}
.post-landing .img-container img {
  width: 100%;
  border-radius: 1.5rem;
}
.post-landing .img-container .label {
  display: block;
  position: absolute;
  top: 0;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 5.5em;
  aspect-ratio: 1/1;
  background-color: #519356;
  border-radius: 50%;
  color: #ffffff;
  font-size: clamp(1.6rem, 3vw, 3rem);
  line-height: 140%;
}

.company-text {
  margin-bottom: clamp(3rem, 4vw, 6rem);
}
.company-text p {
  width: 100%;
}
.company-text .bordered-content {
  position: relative;
  padding: clamp(7rem, 7vw, 10rem) clamp(1.6rem, 3vw, 4rem) clamp(3rem, 4vw, 6rem);
}
.company-text .bordered-content p {
  font-size: clamp(1.8rem, 2vw, 2.5rem);
  line-height: 200%;
}
.company-text .bordered-content .catch-label {
  display: block;
  top: 0;
  left: 4%;
  align-self: center;
  margin: 0 auto;
  transform: translateY(-50%);
  position: absolute;
  box-sizing: border-box;
  padding: clamp(2rem, 3vw, 3rem) clamp(1rem, 2vw, 2rem);
  width: 92%;
  max-width: 92%;
  background-color: #eeda97;
  border-radius: 2rem;
  font-size: clamp(1.8rem, 3vw, 3rem);
  font-weight: bold;
  line-height: 170%;
  text-align: center;
}
@media screen and (min-width: 651px) {
  .company-text .bordered-content .catch-label {
    left: 9%;
    width: 82%;
  }
}

section.info-box {
  padding: clamp(2rem, 4vw, 6rem) 0 clamp(4rem, 7vw, 10rem);
  background-color: #fdf1c9;
}

section.info-session-cta .blue-border {
  margin: clamp(4rem, 10vw, 12rem) 2rem 0;
  gap: clamp(1rem, 1.5vw, 2rem);
}

.temples-intro {
  padding: clamp(4rem, 7vw, 10rem) clamp(1.6rem, 3vw, 4rem);
  background-color: #eeda97;
}
.temples-intro .content-container {
  gap: clamp(2.4rem, 3vw, 4rem);
}
.temples-intro .title-block h2 {
  font-size: clamp(2.5rem, 3vw, 3.6rem);
  font-weight: bold;
  margin-bottom: 1.2rem;
}
.temples-intro .title-block .lead {
  font-size: clamp(1.6rem, 1.5vw, 1.8rem);
  line-height: 1.8;
}
.temples-intro .temples-intro-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.6rem, 2vw, 2.4rem);
  width: 100%;
}
@media screen and (min-width: 700px) {
  .temples-intro .temples-intro-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.temples-intro .temple-intro-card {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  padding: clamp(1.6rem, 1.8vw, 2rem);
  background-color: #fff9e6;
  border-radius: 1.6rem;
  box-shadow: 0 0.2rem 0.6rem rgba(0, 0, 0, 0.05);
}
.temples-intro .temple-intro-card .img-col {
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: 1rem;
  overflow: hidden;
  background-color: #d9d9d9;
}
.temples-intro .temple-intro-card .img-col img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.temples-intro .temple-intro-card .img-placeholder {
  width: 100%;
  height: 100%;
  background-color: #d9d9d9;
}
.temples-intro .temple-intro-card .meta-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 0 0.6rem 0.4rem;
  font-size: clamp(2rem, 2vw, 2.4rem);
  font-weight: bold;
}
.temples-intro .temple-intro-card .meta-row .temple-name {
  text-align: left;
}
.temples-intro .temple-intro-card .meta-row .temple-loc {
  text-align: right;
}
.temples-intro .cta-wrap {
  width: 100%;
}
.temples-intro .temples-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 1.2rem;
  padding: 1.4rem clamp(2.4rem, 3vw, 4rem);
  background-color: #cda756;
  color: #ffffff;
  font-size: clamp(2.5rem, 3vw, 3.6rem);
  font-weight: bold;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 0.3rem 0.8rem rgba(0, 0, 0, 0.15);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.temples-intro .temples-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0.5rem 1.2rem rgba(0, 0, 0, 0.2);
}
.temples-intro .temples-cta-btn .icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.6em;
  height: 1.6em;
  font-size: 0.6em;
  background-color: #ffffff;
  color: #cda756;
  border-radius: 50%;
}

.search-box {
  padding: clamp(3rem, 5vw, 6rem) clamp(1.6rem, 3vw, 4rem);
}
.search-box .title-group {
  text-align: center;
  margin-bottom: clamp(2rem, 3vw, 4rem);
}
.search-box .title-group h2 {
  font-size: clamp(2.4rem, 4vw, 4rem);
}

.temples-search-form {
  width: 100%;
  max-width: 90rem;
  margin: 0 auto;
  padding: clamp(2rem, 3vw, 3.5rem) clamp(1.6rem, 3vw, 3rem);
  background-color: #ffffff;
  border-radius: 1.6rem;
  box-shadow: 0 0.4rem 1.2rem rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  gap: clamp(1.6rem, 2vw, 2.4rem);
}
.temples-search-form .search-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.6rem;
}
@media screen and (min-width: 651px) {
  .temples-search-form .search-row {
    grid-template-columns: 1fr 1fr 1.4fr;
    gap: 2rem;
    align-items: end;
  }
}
.temples-search-form .search-field {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.temples-search-form .search-field .field-label {
  font-size: 1.4rem;
  font-weight: bold;
  color: #000000;
}
.temples-search-form .search-field select,
.temples-search-form .search-field input[type=text] {
  width: 100%;
  padding: 1rem 1.2rem;
  font-size: 1.6rem;
  border: 1px solid #ccc;
  border-radius: 0.8rem;
  background-color: #ffffff;
  box-sizing: border-box;
}
.temples-search-form .search-field select {
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path fill='%23555' d='M6 8L0 0h12z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 1.2rem center;
  padding-right: 3rem;
}
.temples-search-form .keyword-wrap {
  position: relative;
}
.temples-search-form .keyword-wrap input[type=text] {
  padding-right: 4.2rem;
}
.temples-search-form .keyword-wrap .keyword-submit {
  position: absolute;
  top: 50%;
  right: 0.4rem;
  transform: translateY(-50%);
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 0.6rem 1rem;
  font-size: 1.8rem;
  line-height: 1;
}
.temples-search-form .search-toggles {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.2rem;
  justify-content: center;
}
.temples-search-form .toggle-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.9rem 1.8rem;
  background-color: #fdf1c9;
  border: 2px solid #eeda97;
  border-radius: 999px;
  font-size: clamp(1.3rem, 1.4vw, 1.5rem);
  font-weight: bold;
  color: #000000;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  user-select: none;
}
.temples-search-form .toggle-pill input[type=checkbox] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.temples-search-form .toggle-pill:hover {
  background-color: #eeda97;
}
.temples-search-form .toggle-pill.is-active {
  background-color: #519356;
  border-color: #519356;
  color: #ffffff;
}
.temples-search-form .form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  justify-content: center;
}
.temples-search-form .form-actions .submit,
.temples-search-form .form-actions .clear-btn {
  min-width: 18rem;
  text-align: center;
}

.temples-archive {
  padding: clamp(3rem, 5vw, 6rem) clamp(1.6rem, 3vw, 4rem);
}

.temples-card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 2.5vw, 3rem);
}
@media screen and (min-width: 700px) {
  .temples-card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media screen and (min-width: 1000px) {
  .temples-card-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.temple-card {
  display: flex;
  flex-direction: column;
  padding: 1.6rem;
  background-color: #ffffff;
  border-radius: 1.2rem;
  box-shadow: 0 0.2rem 0.8rem rgba(0, 0, 0, 0.06);
  overflow: hidden;
}
.temple-card .img-col {
  width: 100%;
  aspect-ratio: 4/3;
  margin-bottom: 1.4rem;
  border-radius: 0.8rem;
  overflow: hidden;
  background-color: #eee;
}
.temple-card .img-col img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.temple-card .img-placeholder {
  background-color: #e6e6e6;
}
.temple-card .text-col {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex: 1;
}
.temple-card .meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.6rem 1.2rem;
}
.temple-card .meta-row .temple-name {
  font-size: 1.8rem;
  font-weight: bold;
}
.temple-card .meta-row .temple-loc {
  font-size: 1.3rem;
  color: #808080;
}
.temple-card .text-body {
  font-size: 1.4rem;
  line-height: 1.7;
  color: #000000;
}

.facility-info {
  margin-top: auto;
  padding-top: 1.2rem;
  border-top: 1px dashed #ccc;
}
.facility-info summary {
  list-style: none;
  cursor: pointer;
  padding: 0.8rem 1rem;
  background-color: #fdf1c9;
  border-radius: 0.6rem;
  font-size: 1.4rem;
  font-weight: bold;
  text-align: center;
  transition: background-color 0.15s ease;
}
.facility-info summary::-webkit-details-marker {
  display: none;
}
.facility-info summary:hover {
  background-color: #eeda97;
}
.facility-info .label-open {
  display: none;
}
.facility-info[open] summary {
  background-color: #eeda97;
}
.facility-info[open] .label-closed {
  display: none;
}
.facility-info[open] .label-open {
  display: inline;
}

.facility-list {
  margin: 1.2rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 0.4rem 1.2rem;
  font-size: 1.3rem;
  line-height: 1.6;
}
.facility-list dt {
  font-weight: bold;
  color: #808080;
}
.facility-list dd {
  margin: 0;
  color: #000000;
  word-break: break-word;
}

.temples-pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin: clamp(2rem, 4vw, 5rem) auto clamp(4rem, 6vw, 8rem);
  padding: 0 1.6rem;
}
.temples-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 4rem;
  height: 4rem;
  padding: 0 1rem;
  font-size: 1.5rem;
  font-weight: bold;
  color: #000000;
  background-color: #ffffff;
  border: 1px solid #ccc;
  border-radius: 0.6rem;
  text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.temples-pagination .page-numbers:hover {
  background-color: #fdf1c9;
}
.temples-pagination .page-numbers.current {
  background-color: #519356;
  border-color: #519356;
  color: #ffffff;
}
.temples-pagination .page-numbers.dots {
  border: none;
  background: transparent;
}

.no-results {
  padding: clamp(3rem, 5vw, 6rem) clamp(1.6rem, 3vw, 4rem);
}
.no-results h3 {
  font-size: clamp(1.8rem, 2.5vw, 2.4rem);
  margin-bottom: 1rem;
  text-align: center;
}
.no-results h4 {
  font-size: clamp(1.4rem, 2vw, 1.8rem);
  text-align: center;
  color: #808080;
}
