.page-board {
  background: #f6fbf8;
  color: #17211d;
}

.board-hero {
  position: relative;
  overflow: hidden;
  padding: 150px 0 78px;
  background:
    linear-gradient(90deg, rgba(2, 82, 72, 0.88), rgba(4, 132, 109, 0.7)),
    url("../assets/images/ecowon-office-management-regen-20260619.webp") center / cover no-repeat;
  color: #ffffff;
}

.board-hero--gallery {
  background:
    linear-gradient(90deg, rgba(2, 82, 72, 0.88), rgba(4, 132, 109, 0.66)),
    url("../assets/images/ecowon-grout-care-regen-20260619.webp") center / cover no-repeat;
}

.board-hero--review {
  background:
    linear-gradient(90deg, rgba(2, 82, 72, 0.88), rgba(4, 132, 109, 0.66)),
    url("../assets/images/ecowon-review-office-customer-field-20260619.webp") center / cover no-repeat;
}

.board-hero--faq,
.board-hero--contact {
  background:
    linear-gradient(90deg, rgba(2, 82, 72, 0.88), rgba(4, 132, 109, 0.66)),
    url("../assets/images/ecowon-clean-tools-regen-20260619.webp") center / cover no-repeat;
}

.board-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  margin: 0 0 18px;
  color: #b9f4df;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.board-hero h1 {
  max-width: 760px;
  margin: 0;
  color: #ffffff;
  font-size: 3rem;
  font-weight: 950;
  line-height: 1.16;
  letter-spacing: 0;
  word-break: keep-all;
}

.board-hero__text {
  max-width: 680px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.08rem;
  font-weight: 600;
  line-height: 1.7;
  word-break: keep-all;
}

.board-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

.board-tabs a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  font-size: 0.94rem;
  font-weight: 850;
  text-decoration: none;
}

.board-tabs a:hover,
.board-tabs a.is-active {
  background: #ffffff;
  color: #04735f;
}

.board-section {
  padding: 82px 0 100px;
}

.board-section__head {
  display: flex;
  flex-direction: column; /* 세로 방향으로 적재 */
  align-items: center; /* 가로 기준 가운데 정렬 */
  justify-content: center;
  text-align: center; /* 텍스트 정중앙 정렬 */
  gap: 16px;
  margin-bottom: 28px;
}

.board-section__head--title-only {
  margin-bottom: 32px;
}

.board-section__eyebrow {
  display: block;
  margin-bottom: 10px;
  color: #04735f;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.board-section__head h2 {
  margin: 0;
  color: #111827;
  font-size: 2rem;
  font-weight: 950;
  line-height: 1.25;
  word-break: keep-all;
}

.board-section__head p {
  max-width: 640px;
  margin: 12px auto 0; /* 마진 오토로 가로 정중앙 배치 */
  color: #4b5563;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.7;
  word-break: keep-all;
}

.board-static-copy {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 0 0 28px;
}

.board-static-copy__item {
  padding: 22px;
  border: 1px solid #dce9e3;
  border-radius: 8px;
  background: #ffffff;
}

.board-static-copy__item h3 {
  margin: 0 0 10px;
  color: #111827;
  font-size: 1.02rem;
  font-weight: 950;
  line-height: 1.4;
}

.board-static-copy__item p {
  margin: 0;
  color: #4b5563;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.72;
  word-break: keep-all;
}

.board-static-copy__item ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 18px;
  color: #4b5563;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.65;
}

.board-static-copy--wide {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.board-count {
  flex: 0 0 auto;
  padding: 9px 14px;
  border-radius: 999px;
  background: #e9f8f3;
  color: #04735f;
  font-size: 0.86rem;
  font-weight: 900;
}

.gallery-board__summary {
  display: flex;
  flex-wrap: wrap;
  justify-content: center; /* 분류 탭을 정중앙(가운데) 배치로 정렬 */
  gap: 10px;
  margin-bottom: 24px;
}

.gallery-board__summary a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 40px;
  padding: 0 15px;
  border: 1px solid #dce9e3;
  border-radius: 999px;
  background: #ffffff;
  color: #344b43;
  font-size: 0.9rem;
  font-weight: 850;
  text-decoration: none;
}

.gallery-board__summary a:hover,
.gallery-board__summary a.is-active {
  border-color: #04735f;
  background: #04735f;
  color: #ffffff;
}

.gallery-board__summary em {
  font-style: normal;
  opacity: 0.78;
}

.gallery-board__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px 24px;
}

html.js .gallery-board .gallery-board__summary,
html.js .gallery-board .gallery-board__list,
html.js .gallery-board .pagination,
html.js .gallery-detail[data-board-gallery-detail],
html.js .gallery-detail__nav {
  visibility: hidden;
}

html.js .gallery-board.is-board-rendered .gallery-board__summary,
html.js .gallery-board.is-board-rendered .gallery-board__list,
html.js .gallery-board.is-board-rendered .pagination,
html.js .gallery-detail[data-board-gallery-detail].is-board-rendered,
html.js .gallery-detail__nav.is-board-rendered {
  visibility: visible;
}

.noscript-gallery-list {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  margin-top: 15px;
  background: #ffffff;
}

.noscript-gallery-list h3 {
  font-size: 16px;
  margin-bottom: 10px;
}

.noscript-gallery-list ul {
  list-style: disc;
  padding-left: 20px;
  line-height: 1.8;
}

.noscript-gallery-list a {
  color: var(--color-primary);
  text-decoration: underline;
}

.gallery-board__item {
  display: flex;
  flex-direction: column;
}

.gallery-board__item a {
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid rgba(15, 23, 42, 0.07);
  border-radius: 12px;
  background: #ffffff;
  color: inherit;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(12, 42, 62, 0.035);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
  overflow: hidden;
}

.gallery-board__item a:hover {
  border-color: rgba(4, 132, 109, 0.35);
  box-shadow: 0 16px 36px rgba(12, 42, 62, 0.08);
  transform: translateY(-6px);
}

.gallery-board__thumb {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #e8f3ef;
}

.gallery-board__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-board__item a:hover .gallery-board__thumb img {
  transform: scale(1.05);
}

.gallery-board__content {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 22px 24px 24px;
}

.gallery-board__meta-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  color: #64748b;
  font-size: 0.82rem;
  font-weight: 800;
}

.gallery-board__meta-line em {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 3px 8px;
  border-radius: 4px;
  background: #e9f8f3;
  color: #04735f;
  font-style: normal;
  font-size: 0.78rem;
  font-weight: 900;
}

.gallery-board__meta-line time,
.gallery-board__meta-line span {
  font-size: 0.82rem;
  font-weight: 700;
  color: #64748b;
}

.gallery-board__meta-line em + time {
  margin-left: 4px;
}

.gallery-board__meta-line time + span::before {
  content: "";
  display: inline-block;
  width: 1px;
  height: 9px;
  background: #cbd5e1;
  margin-right: 8px;
  vertical-align: middle;
}

.gallery-board__content strong {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: #111827;
  font-size: 1.15rem;
  font-weight: 950;
  line-height: 1.42;
  margin-bottom: 8px;
  word-break: keep-all;
}

.gallery-board__excerpt {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-top: 6px;
  color: #52616f;
  font-size: 0.88rem;
  font-weight: 580;
  line-height: 1.6;
  word-break: keep-all;
}

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 34px;
}

.pagination.is-hidden {
  display: none;
}

.pagination__num {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid #dce9e3;
  border-radius: 8px;
  background: #ffffff;
  color: #344b43;
  font-size: 0.95rem;
  font-weight: 900;
  text-decoration: none;
}

.pagination__num:hover,
.pagination__num.is-active {
  border-color: #04735f;
  background: #04735f;
  color: #ffffff;
}

.board-empty {
  padding: 42px 24px;
  border: 1px solid #dce9e3;
  border-radius: 8px;
  background: #ffffff;
  text-align: center;
}

.board-empty strong {
  display: block;
  color: #111827;
  font-size: 1.1rem;
  font-weight: 900;
}

.board-empty p {
  margin: 8px 0 0;
  color: #64748b;
  font-weight: 600;
}

.review-board {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.review-card,
.faq-card,
.board-contact-panel,
.contact-side-card {
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(12, 42, 62, 0.055);
}

.review-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  overflow: hidden;
}

.review-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.review-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 24px;
}

.review-card__meta {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  margin-top: 6px;
  margin-bottom: 0;
  color: #04735f;
  font-size: 0.86rem;
  font-weight: 900;
}

.review-card h3 {
  margin: 0;
  color: #111827;
  font-size: 1.15rem;
  font-weight: 950;
  line-height: 1.4;
}

.review-card p {
  margin: 12px 0 8px;
  color: #52616f;
  font-size: 0.95rem;
  font-weight: 580;
  line-height: 1.7;
  word-break: keep-all;
}

.faq-board {
  display: grid;
  gap: 12px;
}

.faq-card {
  overflow: hidden;
}

.faq-card summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 24px;
  color: #111827;
  cursor: pointer;
  font-size: 1.04rem;
  font-weight: 900;
  line-height: 1.45;
  list-style: none;
  word-break: keep-all;
}

.faq-card summary::-webkit-details-marker {
  display: none;
}

.faq-card summary::after {
  content: "+";
  flex: 0 0 auto;
  color: #04735f;
  font-size: 1.35rem;
  font-weight: 900;
}

.faq-card[open] summary::after {
  content: "-";
}

.faq-card p {
  margin: 0;
  padding: 0 24px 24px;
  color: #52616f;
  font-size: 0.98rem;
  font-weight: 580;
  line-height: 1.75;
  word-break: keep-all;
}

.board-contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
}

.board-contact-panel {
  padding: 32px;
}

.board-contact-form {
  display: grid;
  gap: 18px;
}

.board-contact-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.board-field {
  display: grid;
  gap: 8px;
}

.board-field--full {
  grid-column: 1 / -1;
}

.board-field label,
.board-agree span {
  color: #344b43;
  font-size: 0.92rem;
  font-weight: 800;
}

.board-field__label {
  color: #344b43;
  font-size: 0.92rem;
  font-weight: 800;
}

.board-field__label--files {
  margin-bottom: 4px;
  font-size: 1.08rem;
  font-weight: 950;
  line-height: 1.4;
}

.board-file-list {
  display: grid;
  gap: 10px;
}

.board-file-row {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
}

.board-file-row label {
  margin: 0;
  font-size: 0.94rem;
  font-weight: 850;
}

.board-file-row input[type="file"] {
  display: flex;
  align-items: center;
  min-width: 0;
  padding: 8px 12px;
  line-height: 1.2;
}

.board-file-row input[type="file"]::file-selector-button {
  min-height: 32px;
  margin-right: 8px;
  vertical-align: middle;
}

.board-field input,
.board-field select,
.board-field textarea {
  width: 100%;
  border: 1px solid #dce9e3;
  border-radius: 8px;
  background: #ffffff;
  color: #111827;
  font: inherit;
  font-size: 0.98rem;
}

.board-field input,
.board-field select {
  height: 52px;
  padding: 0 14px;
}

.board-field textarea {
  min-height: 150px;
  padding: 14px;
  resize: vertical;
}

.board-field small {
  display: block;
  margin-top: 8px;
  color: #6b7d75;
  font-size: 13px;
  line-height: 1.5;
}

.board-choice-list {
  display: grid;
  gap: 10px;
}

.board-choice-list label {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid #dce9e3;
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
}

.board-choice-list input {
  width: auto;
  min-width: 16px;
  height: 16px;
}

.board-checkbox-group {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.board-checkbox-item {
  display: flex;
  align-items: center;
  min-height: 48px;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid #dce9e3;
  border-radius: 8px;
  background: #ffffff;
  color: #344b43;
  cursor: pointer;
  font-size: 0.93rem;
  font-weight: 800;
  line-height: 1.35;
}

.board-checkbox-item:hover {
  border-color: #9bcfc2;
  background: #f8fcfa;
}

.board-field .board-checkbox-item input[type="checkbox"],
.board-field .board-checkbox-item input[type="radio"] {
  width: 18px;
  min-width: 18px;
  height: 18px;
  flex: 0 0 18px;
  margin: 0;
  accent-color: #04735f;
}

.board-field input:focus,
.board-field select:focus,
.board-field textarea:focus {
  border-color: #04735f;
  outline: 3px solid rgba(4, 115, 95, 0.14);
}

.board-field [aria-invalid="true"] {
  border-color: #b42318;
  outline: 3px solid rgba(180, 35, 24, 0.14);
}

.board-agree {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 16px;
  border-radius: 8px;
  background: #f1f8f5;
}

.board-agree input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
}

.board-privacy-consent {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid #dce9e3;
  border-radius: 10px;
  background: #f8fcfa;
}

.board-privacy-consent small {
  display: block;
  max-height: 110px;
  overflow: auto;
  margin: 0;
  padding: 12px;
  border: 1px solid #e4eee9;
  border-radius: 8px;
  background: #ffffff;
  color: #52616f;
  font-size: 0.86rem;
  line-height: 1.65;
}

.board-privacy-consent__details {
  width: 100%;
  max-height: 156px;
  overflow-y: auto;
  padding: 16px;
  border: 1px solid #dce9e3;
  border-radius: 8px;
  background: #ffffff;
  color: #52616f;
  scrollbar-color: #9bcfc2 transparent;
  scrollbar-width: thin;
}

.board-privacy-consent__details:focus-visible {
  border-color: #04735f;
  outline: 3px solid rgba(4, 115, 95, 0.18);
  outline-offset: 2px;
}

.board-privacy-consent__title {
  margin: 0 0 8px;
  color: #1f3f36;
  font-size: 0.98rem;
  font-weight: 950;
  line-height: 1.4;
}

.board-privacy-consent__intro,
.board-privacy-consent__notice {
  margin: 0;
  font-size: 0.86rem;
  font-weight: 620;
  line-height: 1.65;
}

.board-privacy-consent__terms {
  display: grid;
  gap: 10px;
  margin: 14px 0;
}

.board-privacy-consent__terms > div {
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr);
  gap: 12px;
}

.board-privacy-consent__terms dt {
  color: #04735f;
  font-size: 0.86rem;
  font-weight: 900;
  line-height: 1.55;
}

.board-privacy-consent__terms dd {
  margin: 0;
  color: #52616f;
  font-size: 0.86rem;
  font-weight: 620;
  line-height: 1.65;
}

.board-privacy-consent__notice {
  padding-top: 12px;
  border-top: 1px solid #e4eee9;
  color: #6b7d75;
}

.board-privacy-consent .board-checkbox-item {
  border: 0;
  min-height: 0;
  padding: 0;
  background: transparent;
}

.board-privacy-consent input[type="checkbox"] {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  margin: 0;
  accent-color: #04735f;
}

.board-privacy-consent__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: start;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid #cddfd7;
  border-radius: 8px;
  background: #ffffff;
  color: #04735f;
  cursor: pointer;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 900;
}

.board-privacy-consent__btn:hover,
.board-privacy-consent__btn:focus-visible {
  border-color: #04735f;
}

.board-privacy-consent__btn:focus-visible,
.board-submit-btn:focus-visible,
.board-modal__close-btn:focus-visible,
.board-modal-confirm-btn:focus-visible {
  outline: 3px solid rgba(4, 115, 95, 0.24);
  outline-offset: 2px;
}

.board-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  border: 0;
  border-radius: 8px;
  background: #04735f;
  color: #ffffff;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 900;
}

.board-submit:hover {
  background: #025a4a;
}

.board-contact-form__submit {
  display: flex;
  justify-content: center;
}

.board-submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  gap: 8px;
  padding: 0 24px;
  border: 0;
  border-radius: 8px;
  background: #04735f;
  color: #ffffff;
  cursor: pointer;
  font: inherit;
  font-size: 1rem;
  font-weight: 900;
}

.board-submit-btn:hover,
.board-submit-btn:focus-visible {
  background: #025a4a;
}

.board-submit-btn:disabled {
  cursor: not-allowed;
  opacity: 0.62;
}

.board-form-message {
  min-height: 22px;
  margin: 0;
  color: #04735f;
  font-size: 0.92rem;
  font-weight: 800;
}

.board-contact-form__message {
  min-height: 22px;
  margin: 0;
  color: #04735f;
  font-size: 0.92rem;
  font-weight: 800;
}

.board-contact-form__message[data-state="error"] {
  color: #b42318;
}

.board-contact-form__message[data-state="success"] {
  color: #04735f;
}

.board-contact-form__message[data-state="loading"] {
  color: #52616f;
}

.contact-side-card {
  padding: 28px;
}

.contact-side-card + .contact-side-card {
  margin-top: 16px;
}

.contact-side-card strong {
  display: block;
  color: #111827;
  font-size: 1.1rem;
  font-weight: 950;
}

.contact-side-card p,
.contact-side-card li {
  color: #52616f;
  font-size: 0.95rem;
  font-weight: 620;
  line-height: 1.7;
  word-break: keep-all;
}

.contact-side-card ul {
  display: grid;
  gap: 8px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.contact-side-card a {
  color: #04735f;
  font-weight: 900;
  text-decoration: none;
}

.board-contact-info {
  display: grid;
  gap: 18px;
}

.board-contact-card {
  display: grid;
  gap: 12px;
}

.board-contact-card h3,
.board-feature-item h4 {
  margin: 0;
  color: #111827;
  font-weight: 900;
  line-height: 1.35;
}

.board-contact-card p,
.board-feature-item p {
  margin: 0;
  color: #52616f;
  font-size: 0.95rem;
  font-weight: 620;
  line-height: 1.7;
  word-break: keep-all;
}

.board-contact-card__btns {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.board-contact-card__notice {
  color: #52616f;
  font-size: 0.9rem;
  font-weight: 700;
}

.board-contact-features {
  display: grid;
  gap: 18px;
}

.board-feature-item {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.board-feature-item__icon {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 8px;
  background: #eef8f4;
  color: #04735f;
  font-size: 1.2rem;
}

.board-modal[aria-hidden="true"] {
  display: none;
}

.board-modal[aria-hidden="false"] {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  padding: 24px;
}

.board-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 24, 20, 0.58);
}

.board-modal__container {
  position: relative;
  z-index: 1;
  width: min(640px, calc(100vw - 32px));
  max-height: min(720px, calc(100dvh - 48px));
  overflow: hidden;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.28);
}

.board-modal__header,
.board-modal__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  border-bottom: 1px solid #e4eee9;
}

.board-modal__footer {
  justify-content: flex-end;
  border-top: 1px solid #e4eee9;
  border-bottom: 0;
}

.board-modal__header h3 {
  margin: 0;
  color: #111827;
  font-size: 1.2rem;
  font-weight: 900;
}

.board-modal__close-btn {
  display: inline-grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid #dce9e3;
  border-radius: 8px;
  background: #ffffff;
  color: #344b43;
  cursor: pointer;
  font: inherit;
}

.board-modal__body {
  max-height: calc(100dvh - 220px);
  overflow: auto;
  padding: 22px;
  color: #52616f;
  font-size: 0.95rem;
  font-weight: 620;
  line-height: 1.75;
}

.board-modal__body p {
  margin: 0 0 14px;
}

.board-modal__body ul {
  display: grid;
  gap: 10px;
  margin: 0 0 14px;
  padding-left: 18px;
}

.board-modal-confirm-btn {
  min-height: 44px;
  padding: 0 18px;
  border: 0;
  border-radius: 8px;
  background: #04735f;
  color: #ffffff;
  cursor: pointer;
  font: inherit;
  font-weight: 900;
}

body.is-board-modal-open {
  overflow: hidden;
}

@media (max-width: 980px) {
  .board-static-copy,
  .board-static-copy--wide {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .review-board {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .board-contact-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .board-hero {
    padding: 116px 0 58px;
  }

  .board-hero h1 {
    font-size: 2.15rem;
  }

  .board-hero__text {
    font-size: 0.98rem;
  }

  .board-tabs {
    gap: 8px;
  }

  .board-tabs a {
    min-height: 40px;
    padding: 0 13px;
    font-size: 0.86rem;
  }

  .board-section {
    padding: 58px 0 76px;
  }

  .board-section__head {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .board-section__head--title-only {
    margin-bottom: 24px;
  }

  .board-count {
    display: inline-flex;
    margin-top: 16px;
  }

  .board-static-copy,
  .board-static-copy--wide {
    grid-template-columns: 1fr;
  }

  .gallery-board__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 16px;
  }

  .gallery-board__item a {
    display: flex;
    flex-direction: column;
    padding: 0;
  }

  .gallery-board__thumb {
    aspect-ratio: 16 / 10;
  }

  .gallery-board__content {
    padding: 16px;
  }

  .gallery-board__content strong {
    font-size: 0.98rem;
  }

  .gallery-board__excerpt {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 0.82rem;
    margin-top: 4px;
  }

  .gallery-board__meta-line {
    font-size: 0.74rem;
    margin-bottom: 8px;
  }

  .review-board,
  .board-contact-form__grid {
    grid-template-columns: 1fr;
  }

  .board-checkbox-group {
    grid-template-columns: 1fr;
  }

  .board-contact-panel {
    padding: 22px;
  }
}

@media (max-width: 480px) {
  .board-file-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .board-privacy-consent__terms > div {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .gallery-board__list {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .gallery-board__thumb {
    aspect-ratio: 16 / 9;
  }

  .gallery-board__content {
    padding: 18px;
  }

  .gallery-board__content strong {
    font-size: 1.05rem;
  }

  .gallery-board__excerpt {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    font-size: 0.86rem;
  }
}
