@charset "UTF-8";
/* Community, review and partnership pages */

.hub-page { padding-bottom: var(--av-section); }
.hub-page__head { max-width: 760px; margin-inline: auto; }
.hub-page__head .av-lead { max-width: 620px; }

.board-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: var(--av-gap);
}
.hub-tabs {
  display: flex;
  justify-content: flex-start;
  gap: 8px;
  padding: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.hub-tabs::-webkit-scrollbar { display: none; }
.hub-tabs a {
  flex: 0 0 auto;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 0 16px;
  border: 1px solid var(--av-line-strong);
  border-radius: var(--av-radius-pill);
  color: var(--av-fg-muted);
  font-size: .875rem;
  font-weight: 600;
  transition: border-color .2s var(--av-ease), color .2s var(--av-ease), background-color .2s var(--av-ease);
}
.hub-tabs a:hover { color: var(--av-fg); border-color: var(--av-fg-muted); }
.hub-tabs a.is-active { color: #fff; border-color: #E60012; background: #E60012; }

.board-list { border-top: 1px solid var(--av-line-strong); }
.board-list > li { border-bottom: 1px solid var(--av-line); }
.board-row {
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr) 80px 92px;
  align-items: center;
  gap: 20px;
  min-height: 82px;
  padding: 14px 4px;
  transition: background-color .22s var(--av-ease);
}
.board-row:hover { background: var(--av-hover); }
.board-row__category {
  color: #E60012;
  font-size: .8125rem;
  font-weight: 700;
}
.board-row__main { min-width: 0; display: flex; align-items: baseline; gap: 12px; }
.board-row__main strong { overflow: hidden; font-size: 1.025rem; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.board-row__main small,
.board-row__views,
.board-row time { color: var(--av-fg-dim); font-size: .8125rem; white-space: nowrap; }
.board-row time { text-align: right; }

.board-empty {
  min-height: 260px;
  display: grid;
  place-content: center;
  gap: 8px;
  border-radius: var(--av-radius);
  background: var(--av-bg-soft);
  text-align: center;
}
.board-empty strong { font-size: 1.125rem; }
.board-empty span { color: var(--av-fg-muted); font-size: .9rem; }

.review-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(18px, 2.1vw, 30px);
}
.review-card { display: flex; flex-direction: column; min-width: 0; }
.review-card__media {
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: var(--av-radius);
  background: var(--av-media);
  color: var(--av-fg-dim);
  font-family: var(--av-font-display);
  font-size: 1.3rem;
  letter-spacing: .12em;
}
.review-card__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: opacity .35s var(--av-ease), transform .55s var(--av-ease);
}
.review-card:hover .review-card__media img { opacity: .78; transform: scale(1.025); }
.review-card__body { display: flex; flex-direction: column; gap: 7px; padding-top: 16px; }
.review-card__body small { color: #E60012; font-size: .75rem; font-weight: 700; }
.review-card__body strong { overflow: hidden; font-size: 1.0625rem; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.review-card__body > span { color: var(--av-fg-dim); font-size: .8125rem; }

.board-form {
  display: grid;
  gap: 24px;
  padding: clamp(24px, 4vw, 44px);
  border-radius: var(--av-radius);
  background: var(--av-bg-soft);
}
.board-form .av-textarea { min-height: 280px; resize: vertical; }
.board-file {
  width: 100%;
  padding: 14px;
  border: 1px solid var(--av-line-strong);
  border-radius: var(--av-radius-sm);
  color: var(--av-fg-muted);
  background: var(--av-bg);
}
.board-file::file-selector-button {
  margin-right: 14px; padding: 9px 13px; border: 0; border-radius: 8px;
  background: #E60012; color: #fff; cursor: pointer;
}
.board-form__actions { display: flex; justify-content: flex-end; gap: 10px; }

.board-detail article { border-top: 1px solid var(--av-line-strong); }
.board-detail__head { padding: 34px 4px 28px; border-bottom: 1px solid var(--av-line); }
.board-detail__head > span { color: #E60012; font-size: .8125rem; font-weight: 700; }
.board-detail__head h1 { margin-top: 10px; font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 600; line-height: 1.3; letter-spacing: -.03em; }
.board-detail__head p { margin-top: 14px; color: var(--av-fg-dim); font-size: .875rem; }
.board-detail__image { display: block; width: min(100%, 760px); max-height: 820px; margin: 38px auto 0; object-fit: contain; border-radius: var(--av-radius); }
.board-detail__content { min-height: 260px; padding: 38px 4px; color: var(--av-fg-muted); font-size: 1rem; line-height: 1.9; }
.board-detail footer { padding-top: 24px; border-top: 1px solid var(--av-line); }

/* Partnership page */
.partner-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--av-gap); }
.partner-card {
  min-height: 360px;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: clamp(28px, 4vw, 48px);
  border: 0; border-radius: var(--av-radius); background: var(--av-bg-soft);
  transition: background-color .28s var(--av-ease);
}
.partner-card:hover { background: var(--av-hover-strong); }
.partner-card__no { color: #E60012; font-family: var(--av-font-display); font-size: 2rem; font-weight: 600; }
.partner-card h2 { margin-top: 8px; }
.partner-card p:not(.av-eyebrow) { max-width: 40ch; margin-top: 16px; color: var(--av-fg-muted); line-height: 1.75; }
.partner-card__arrow { align-self: flex-end; color: #E60012; font-size: 2rem; }
.partner-contact {
  display: flex; align-items: center; justify-content: space-between; gap: var(--av-gap);
  margin-top: var(--av-gap); padding: 32px;
  border: 0; border-radius: var(--av-radius); background: var(--av-bg-soft);
}
.partner-contact h2 { margin-top: 0; }
.partner-contact p:not(.av-eyebrow) { margin-top: 10px; color: var(--av-fg-muted); }

html[data-theme="light"] body.av-inner-page :is(.board-empty, .board-form, .partner-card, .partner-contact) { background: #f8f8f8; }
html[data-theme="dark"] body.av-inner-page :is(.board-empty, .board-form, .partner-card, .partner-contact) { background: #161616; }

@media (max-width: 960px) { .review-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) {
  .board-toolbar { align-items: stretch; flex-direction: column; }
  .board-toolbar > .av-btn { align-self: flex-end; }
  .board-row { grid-template-columns: 1fr auto; gap: 7px 14px; padding-block: 18px; }
  .board-row__category { grid-column: 1; }
  .board-row__main { grid-column: 1 / -1; flex-direction: column; gap: 4px; }
  .board-row__views { display: none; }
  .board-row time { grid-column: 2; grid-row: 1; }
  .review-grid { grid-template-columns: repeat(2, 1fr); }
  .partner-grid { grid-template-columns: 1fr; }
  .partner-card { min-height: 300px; }
  .partner-contact { align-items: stretch; flex-direction: column; }
}
@media (max-width: 480px) {
  .review-grid { gap: 22px 12px; }
  .review-card__body strong { font-size: .95rem; }
  .board-form { padding: 20px; }
}


/* Board footer action */
.board-write {
  display: flex;
  justify-content: center;
  margin-top: clamp(34px, 5vw, 58px);
}
.board-write .av-btn { min-width: 190px; min-height: 54px; font-size: 1rem; }
.board-page .board-empty { width: 100%; min-height: 320px; }

/* Review compose product picker */
.av-sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.board-form__actions {
  justify-content: center;
  gap: 12px;
}
.board-form__actions .av-btn { min-width: 150px; }
html[data-theme="light"] body.av-inner-page .board-form :is(.av-input, .av-select, .av-textarea, .board-file, .board-product-picker__trigger) {
  background-color: #fff !important;
}
html[data-theme="dark"] body.av-inner-page .board-form :is(.av-input, .av-select, .av-textarea, .board-file, .board-product-picker__trigger) {
  background-color: #121212 !important;
}
html[data-theme="light"] body.av-inner-page .board-form .av-select option { color: #121212; background: #fff; }
html[data-theme="dark"] body.av-inner-page .board-form .av-select option { color: #fff; background: #121212; }
.board-product-picker__trigger {
  width: 100%;
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 16px;
  border: 1px solid var(--av-line-strong);
  border-radius: var(--av-radius-sm);
  color: var(--av-fg);
  text-align: left;
  transition: border-color .2s var(--av-ease), background-color .2s var(--av-ease);
}
.board-product-picker__trigger:hover,
.board-product-picker__trigger:focus-visible { border-color: #E60012; }
.board-product-picker__trigger svg { flex: 0 0 auto; }
.review-rating {
  display: flex;
  align-items: center;
  gap: 8px;
}
.review-rating__star {
  position: relative;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  cursor: pointer;
}
.review-rating__star input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.review-rating__star svg {
  width: 32px;
  height: 32px;
  fill: transparent;
  stroke: #fcf145;
  stroke-width: 1.6;
  stroke-linejoin: round;
  transition: fill .15s ease, transform .15s ease;
}
.review-rating__star:hover svg { transform: scale(1.06); }
.review-rating__star.is-on svg { fill: #fcf145; }
html[data-theme="light"] body.av-inner-page .review-rating__star svg { stroke: #E60012; }
html[data-theme="light"] body.av-inner-page .review-rating__star.is-on svg { fill: #E60012; }
.review-rating__star:has(input:focus-visible) { outline: 2px solid #E60012; outline-offset: 2px; border-radius: 6px; }
.board-product-dialog {
  width: min(760px, calc(100vw - 40px));
  max-height: min(760px, calc(100vh - 80px));
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: var(--av-radius);
  color: var(--av-fg);
  background: var(--av-bg-card);
  box-shadow: 0 24px 80px rgba(0,0,0,.32);
}
.board-product-dialog::backdrop { background: rgba(0,0,0,.58); backdrop-filter: blur(4px); }
html[data-theme="light"] .board-product-dialog { color: #121212; background: #fff; }
html[data-theme="dark"] .board-product-dialog { color: #fff; background: #121212; }
.board-product-dialog__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 26px 20px;
  border-bottom: 1px solid var(--av-line);
}
.board-product-dialog__head h2 { font-size: 1.35rem; font-weight: 650; }
.board-product-dialog__head p { margin-top: 5px; color: var(--av-fg-muted); font-size: .875rem; }
.board-product-dialog__close {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: currentColor;
  font-size: 1.7rem;
  font-weight: 300;
  line-height: 1;
}
.board-product-dialog__list {
  max-height: min(590px, calc(100vh - 210px));
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 20px;
  overflow-y: auto;
}
.board-product-option {
  min-width: 0;
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  padding: 10px;
  border: 1px solid var(--av-line);
  border-radius: var(--av-radius-sm);
  color: inherit;
  text-align: left;
  transition: border-color .2s var(--av-ease), background-color .2s var(--av-ease);
}
.board-product-option:hover { background: var(--av-hover); }
.board-product-option.is-selected { border-color: #E60012; }
.board-product-option__media {
  position: relative;
  width: 76px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 8px;
  color: var(--av-fg-dim);
  background: var(--av-media);
  font-size: .625rem;
}
.board-product-option__thumb { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
html[data-theme="light"] .board-product-option__thumb--dark,
html[data-theme="dark"] .board-product-option__thumb--light { display: none; }
.board-product-option__copy { min-width: 0; display: grid; gap: 5px; }
.board-product-option__copy small { color: #E60012; font-size: .75rem; font-weight: 650; }
.board-product-option__copy strong { overflow: hidden; font-size: .9375rem; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.board-product-dialog__empty { min-height: 240px; display: grid; place-items: center; color: var(--av-fg-muted); }
@media (max-width: 640px) {
  .board-product-dialog { width: calc(100vw - 24px); }
  .board-product-dialog__head { padding: 20px; }
  .board-product-dialog__list { grid-template-columns: 1fr; padding: 14px; }
  .board-form__actions .av-btn { min-width: 128px; }
}
