/* SNBK recovery: restored source-backed homepage modules from v77-era data.
   Existing typography and core site CSS remain unchanged. */
.w-service-widget {
  background:#fff; border:1px solid var(--white-line);
  border-radius:11px; overflow:hidden; margin-bottom:17px;
}
.w-service-tabs {
  display:grid; grid-template-columns:1fr 1fr;
  background:#f0eee9; border-bottom:1px solid var(--white-line);
}
.w-service-tabs button {
  border:0; background:transparent; color:#666; cursor:pointer;
  padding:12px 5px; font:800 14px/1.2 "Roboto Condensed",Arial,sans-serif;
  border-bottom:3px solid transparent;
}
.w-service-tabs button[aria-selected="true"] {
  color:#17191b; border-bottom-color:var(--white-orange);
  background:#fff;
}
.w-service-tabs button:focus-visible { outline:2px solid #ff8b1f; outline-offset:-3px; }
.w-store-pane { padding:13px 13px 4px; }
.w-store-pane[hidden] { display:none; }
.w-store-pane>h3 {
  margin:0 3px 6px; font:800 17px/1.1 "Roboto Condensed",Arial,sans-serif;
  letter-spacing:-.01em;
}
.w-store-item {
  display:flex; align-items:center; gap:10px; padding:9px 3px;
  border-bottom:1px solid #e9e7e3; min-width:0; color:#1b1b1c;
}
.w-store-item:last-child { border-bottom:none; }
.w-store-item img,.w-store-symbol {
  width:45px; height:52px; object-fit:cover; flex:0 0 45px;
  border-radius:6px; background:#1a1e24; color:#fff;
}
.w-store-symbol { display:grid; place-items:center; font:900 20px Arial,sans-serif; }
.w-store-item-details { display:block; min-width:0; flex:1; }
.w-store-item-details strong {
  display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical;
  overflow:hidden; font:750 13px/1.25 "Roboto Condensed",Arial,sans-serif;
}
.w-store-item-details small {
  display:block; color:#7a7a7a; font-size:10.5px; line-height:1.3; margin-top:3px;
}
.w-store-item>b { flex:0 0 auto; font-size:11px; white-space:nowrap; color:#2d333a; }
.w-service-note { color:#7e7e7e; font-size:11px; line-height:1.45; padding:6px 15px 12px; margin:0; }
.w-deals-grid {
  display:grid; grid-template-columns:repeat(4,minmax(0,1fr));
  gap:16px; margin-top:22px;
}
.w-deal-card {
  display:block; min-width:0; border:1px solid var(--white-line); border-radius:11px;
  overflow:hidden; background:#fff; transition:box-shadow 160ms ease;
}
.w-deal-card:hover { box-shadow:0 6px 22px #17181916; }
.w-deal-cover { aspect-ratio:16/8; background:#e9e9e6; overflow:hidden; }
.w-deal-cover img { width:100%; height:100%; display:block; object-fit:cover; }
.w-deal-content { padding:12px 12px 14px; min-width:0; }
.w-deal-content>strong {
  display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical;
  overflow:hidden; min-height:35px;
  font:800 17px/1.07 "Roboto Condensed",Arial,sans-serif;
}
.w-deal-content>small { display:block; color:#818181; font-size:10.5px; margin:5px 0 13px; }
.w-deal-prices { display:flex; align-items:center; gap:8px; flex-wrap:wrap; }
.w-deal-prices>b:last-child { margin-left:auto; color:#111; font-size:14px; white-space:nowrap; }
.w-deal-prices s { color:#9b9b9b; font-size:11px; }
.w-deal-discount { background:#ff8b1f; color:#161616; border-radius:4px; padding:5px 6px; font-size:12px; }
.w-deals .w-service-note { padding:12px 0 0; }
.w-author-list { display:grid; gap:15px; padding-top:22px; }
.w-author-list article {
  display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);
  align-items:center; gap:25px;
}
.w-author-photo { display:block; overflow:hidden; border-radius:11px; aspect-ratio:16/9; background:#eae9e5; }
.w-author-photo img { display:block; width:100%; height:100%; object-fit:cover; }
.w-author-list h3 { margin:8px 0; font:800 clamp(24px,2.2vw,33px)/1.05 "Roboto Condensed",Arial,sans-serif; }
.w-author-list p { font-size:13px; line-height:1.5; color:#64686e; margin:9px 0 11px; }
.w-author-list small { font-size:11px; color:#7c8188; font-weight:700; }
@media(max-width:1180px) {
  .w-deals-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media(max-width:850px) {
  .w-service-widget { max-width:100%; }
  .w-deals-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media(max-width:560px) {
  .w-deals-grid { gap:8px; }
  .w-deal-content { padding:10px; }
  .w-deal-content>strong { font-size:15px; }
  .w-deal-prices { gap:5px; }
  .w-deal-prices>b:last-child { font-size:12px; }
  .w-author-list article { grid-template-columns:1fr; gap:11px; }
  .w-author-list h3 { font-size:25px; }
  .w-store-item img,.w-store-symbol { height:45px; }
}
