:root {
  font-family: Arial, sans-serif;
  color: #2f2924;
  background: #f7f2e9;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; }
[hidden] { display: none !important; }
a { color: #086778; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid #a64c23; outline-offset: 4px; }
.review-wrap { width: min(1080px, calc(100% - 72px)); margin: 0 auto; }
.review-header { background: #fdfbf7; border-bottom: 1px solid #e9dfd3; }
.review-header .review-wrap, .review-footer .review-wrap { display: flex; align-items: center; justify-content: space-between; gap: 25px; min-height: 77px; }
.review-brand { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; font: bold 21px Georgia, serif; }
.review-brand img { width: 57px; height: auto; }
.review-header .review-wrap > a:last-child { font-size: 13px; text-decoration: none; font-weight: 700; }
.review-header a:hover, .review-footer a:hover { text-decoration: underline; }
.review-layout { flex: 1; margin-top: clamp(28px, 5vw, 62px); margin-bottom: 56px; display: grid; grid-template-columns: .86fr 1.14fr; gap: 22px; align-items: stretch; }
.review-intro, .review-card { border-radius: 22px; overflow: hidden; }
.review-intro { background: #164e5d; color: #fff9eb; display: flex; flex-direction: column; }
.review-photo { margin: 0; height: 320px; overflow: hidden; background: #194f5d; }
.review-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 53%; display: block; }
.review-intro-copy { padding: clamp(25px, 3.5vw, 43px); border-top: 5px solid #e8863a; flex: 1; }
.review-intro-copy p { margin: 0; color: #ffd1a9; text-transform: uppercase; font-size: 11px; font-weight: 700; letter-spacing: .14em; }
h1, h2 { font-family: Georgia, serif; font-weight: 400; letter-spacing: -.023em; }
h1 { font-size: clamp(37px, 4vw, 58px); line-height: 1.04; margin: 13px 0 15px; }
.review-intro-copy span { display: block; font: 18px/1.4 Georgia, serif; color: #effcfd; }
.review-card { background: #fdfbf7; border: 1px solid #e8dccd; box-shadow: 0 16px 38px #6142240a; padding: clamp(24px, 4.25vw, 53px); }
.review-card h2 { color: #164e5d; font-size: clamp(28px, 3.4vw, 43px); line-height: 1.12; margin: 0 0 21px; }
.review-card p { color: #64554a; line-height: 1.6; }
.review-card fieldset { border: 0; padding: 0; margin: 0 0 23px; min-width: 0; }
.review-card legend, .review-field label { font-size: 14px; font-weight: 700; margin-bottom: 10px; }
.review-stars { display: flex; gap: 7px; flex-wrap: nowrap; }
.review-star { display: grid; place-items: center; flex: 0 1 57px; height: 51px; background: #f8f0e6; color: #775b49; border: 1px solid #e4d5c4; border-radius: 10px; cursor: pointer; position: relative; font: 25px/1 Georgia, serif; }
.review-star.is-filled { background: #fce6d1; border-color: #eac3a0; color: #a14b24; }
.review-star:hover { border-color: #a64c23; }
.review-star:focus-within { outline: 3px solid #a64c23; outline-offset: 2px; }
.review-sr, .review-star input { position: absolute; width: 1px; height: 1px; opacity: 0; clip-path: inset(50%); }
.review-star-note { margin-top: 9px; font-size: 12px; color: #69584a; }
.review-field { margin-bottom: 19px; }
.review-field label { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.review-field small, .review-consent small { font-weight: 400; font-size: 12px; color: #6a5a4e; }
.review-field textarea { display: block; width: 100%; min-height: 108px; resize: vertical; background: #fffcf7; border: 1px solid #daccbb; border-radius: 10px; padding: 12px; font: 14px/1.5 Arial, sans-serif; color: #2f2924; }
.review-field textarea::placeholder { color: #786659; }
.review-consent { display: flex; gap: 10px; align-items: start; background: #e8f7f9; border: 1px solid #c5e5e8; padding: 12px 14px; border-radius: 10px; margin-bottom: 22px; font-size: 13px; line-height: 1.45; cursor: pointer; }
.review-consent input { width: 17px; height: 17px; flex: 0 0 17px; margin: 1px 0 0; accent-color: #164e5d; }
.review-consent small { display: block; margin-top: 2px; }
.review-button { display: inline-flex; width: 100%; min-height: 45px; align-items: center; justify-content: center; gap: 15px; padding: 12px 17px; border: 1px solid #164e5d; border-radius: 9px; background: #164e5d; color: white; font-size: 14px; font-weight: 700; text-decoration: none; cursor: pointer; }
.review-button:hover { background: #0d6373; }
.review-button:disabled { opacity: .6; cursor: wait; }
.review-card .review-error { margin: 0 0 14px; color: #9e281e; font-weight: bold; font-size: 13px; }
.review-card .review-preview { font-size: 12px; margin: 0 0 12px; }
.review-notice { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.review-notice h2 { margin: 14px 0 3px; }
.review-notice p { margin-bottom: 25px; max-width: 38ch; }
.review-notice .review-button { width: auto; }
.review-seal { width: 66px; height: 66px; display: grid; place-items: center; background: #e8f7f9; color: #164e5d; border-radius: 50%; font-size: 29px; }
.review-footer { margin-top: auto; background: #f0ebe3; color: #655447; font-size: 12px; }
.review-footer .review-wrap { justify-content: start; min-height: 67px; }
.review-footer .review-wrap > span { margin-right: auto; }
.published-layout { padding: 46px 0 72px; }
.published-layout h1 { color: #164e5d; margin-bottom: 30px; }
.published-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,280px),1fr)); gap: 15px; }
.published-review { padding: 25px; }
.published-review h2 { font-size: 23px; margin: 7px 0 0; }
.published-review p { overflow-wrap: anywhere; white-space: pre-wrap; }
.published-stars { color: #a64c23; letter-spacing: .13em; }
.published-pagination { display: flex; gap: 20px; margin-top: 24px; }
@media (max-width: 760px) {
  .review-wrap { width: calc(100% - 32px); }
  .review-header .review-wrap { min-height: 67px; }
  .review-layout { grid-template-columns: 1fr; gap: 14px; margin-bottom: 32px; }
  .review-photo { height: 200px; }
  .review-intro-copy { padding: 22px 24px 24px; }
  .review-intro-copy h1 { max-width: 14ch; }
  .review-notice { min-height: 320px; }
  .review-footer .review-wrap { flex-wrap: wrap; gap: 8px 16px; padding: 12px 0; }
}
