.examples { background: #f6efe4; }
.examples-intro { display: flex; align-items: end; justify-content: space-between; gap: 48px; margin-bottom: 36px; }
.examples-intro h2 { margin: 20px 0 0; }
.examples-intro p { max-width: 390px; margin: 0 0 5px; color: var(--muted); font-size: 16px; }
.examples-board {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 24px;
  padding: 42px;
  border: 1px solid #c6c9ac;
  border-radius: 30px;
  background: radial-gradient(#bbc2a0 1px, transparent 1px) 0 0 / 22px 22px, #dfe2ca;
  box-shadow: inset 0 2px 14px #53664d10, 0 20px 45px #34453412;
}
.example-card {
  display: flex;
  flex-direction: column;
  grid-column: span 6;
  min-width: 0;
  padding: 10px 10px 15px;
  border: 1px solid #e4dfd3;
  border-radius: 12px;
  background: #fffdf8;
  box-shadow: 0 8px 17px #35402c22;
  color: var(--ink);
  cursor: zoom-in;
  font: inherit;
  text-align: left;
  transform: rotate(-1deg);
  transition: transform .22s ease, box-shadow .22s ease;
}
.example-card:nth-child(2), .example-card:nth-child(5) { transform: rotate(1.2deg); }
.example-card:nth-child(3) { transform: rotate(-.5deg); }
.example-card:nth-child(4) { transform: rotate(1deg); }
.example-card:nth-child(6) { transform: rotate(-.8deg); }
.example-card:hover, .example-card:focus-visible {
  position: relative;
  z-index: 1;
  transform: rotate(0) translateY(-6px);
  box-shadow: 0 18px 32px #35402c33;
}
.example-card-wide, .example-card-third { grid-column: span 6; }
.example-card-feature { grid-column: 1 / -1; flex-direction: row; align-items: center; gap: 30px; }
.example-card-feature .example-image { flex: none; width: 68%; height: 390px; }
.example-card-feature .example-meta { padding: 0 20px 0 0; }
.example-card-feature .example-meta strong { font-size: 26px; }
.example-card-note { grid-column: 1 / -1; flex-direction: row; align-items: center; gap: 28px; transform: rotate(.4deg); }
.example-card-note .example-image { flex: none; width: 300px; height: 270px; }
.example-card-note .example-meta { padding: 0; }
.example-card-note .example-meta strong { font-size: 23px; }
.example-image { position: relative; display: block; width: 100%; height: 350px; overflow: hidden; border-radius: 7px; background: #f1eee6; }
.example-image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.example-meta { display: flex; flex-direction: column; padding: 14px 6px 0; }
.example-meta > span { color: var(--blue); font-size: 10px; font-weight: 800; letter-spacing: .13em; }
.example-meta strong { margin-top: 4px; font-size: 17px; line-height: 1.3; }
.example-meta small { margin-top: 3px; color: var(--muted); font-size: 12px; }
.examples-bottom { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-top: 24px; color: var(--muted); font-size: 13px; }
.examples-bottom .inline-link { margin: 0; white-space: nowrap; }
.example-dialog {
  width: min(96vw, 1160px);
  max-width: none;
  max-height: 94vh;
  padding: 14px 18px 18px;
  border: 0;
  border-radius: 22px;
  background: #fffaf2;
  color: var(--ink);
  box-shadow: 0 28px 90px #111b18aa;
}
.example-dialog::backdrop { background: #1d281fd9; backdrop-filter: blur(5px); }
.example-dialog-head { display: flex; align-items: center; justify-content: space-between; min-height: 36px; color: var(--blue); font-size: 11px; font-weight: 800; letter-spacing: .13em; }
.example-close, .example-prev, .example-next { border: 0; border-radius: 50%; background: #e9e2d5; color: var(--ink); cursor: pointer; font: 700 24px/1 Manrope, sans-serif; }
.example-close { width: 36px; height: 36px; font-size: 17px; }
.example-dialog-image { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 200px; }
.example-dialog-image img { width: auto; max-width: min(100% - 96px, 1000px); max-height: calc(94vh - 125px); margin: auto; object-fit: contain; }
.example-prev, .example-next { flex: none; width: 38px; height: 38px; }
.example-dialog p { margin: 9px 0 0; text-align: center; font-size: 14px; font-weight: 800; }
@media (max-width: 900px) {
  .examples-intro { display: block; }
  .examples-intro p { max-width: 580px; margin-top: 20px; }
  .example-card, .example-card-wide, .example-card-third { grid-column: span 6; }
  .example-card-feature { grid-column: 1 / -1; flex-direction: column; align-items: stretch; gap: 0; }
  .example-card-feature .example-image { width: 100%; height: 360px; }
  .example-card-feature .example-meta { padding: 14px 6px 0; }
  .example-card-note { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .examples-board { gap: 15px; padding: 18px; border-radius: 22px; }
  .example-card, .example-card-wide, .example-card-third, .example-card-feature { grid-column: 1 / -1; transform: none !important; }
  .example-card-feature .example-image { height: 260px; }
  .example-card-feature .example-meta strong { font-size: 17px; }
  .example-card-note { flex-direction: column; align-items: stretch; gap: 0; }
  .example-card-note .example-image { width: 100%; height: 230px; }
  .example-card-note .example-meta { padding: 14px 6px 0; }
  .example-card-note .example-meta strong { font-size: 17px; }
  .example-card:hover, .example-card:focus-visible { transform: translateY(-3px) !important; }
  .example-image { height: 300px; }
  .examples-bottom { align-items: start; flex-direction: column; gap: 8px; }
  .example-dialog { width: calc(100vw - 12px); max-height: 96vh; padding: 9px; border-radius: 16px; }
  .example-dialog-image img { max-width: calc(100% - 72px); max-height: calc(96vh - 100px); }
  .example-prev, .example-next { width: 30px; height: 30px; }
}
@media (prefers-reduced-motion: reduce) { .example-card { transition: none; } }
