:root{
  --rv5-bg:#fff;
  --rv5-text:#202124;
  --rv5-muted:#5f6368;
  --rv5-line:#dadce0;
  --rv5-soft:#f8fafd;
  --rv5-blue:#1a73e8;
  --rv5-blue-dark:#174ea6;
  --rv5-red:#d93025;
  --rv5-green:#137333;
  --rv5-amber:#b06000;
}
*{box-sizing:border-box}
html,body{margin:0;background:var(--rv5-bg);color:var(--rv5-text);font-family:Arial,Helvetica,sans-serif}
a{color:var(--rv5-blue-dark);text-decoration:none}
a:hover{text-decoration:underline}
.rv5-top{position:sticky;top:0;z-index:100;background:rgba(255,255,255,.98);backdrop-filter:blur(10px);border-bottom:1px solid var(--rv5-line)}
.rv5-head{display:grid;grid-template-columns:148px minmax(280px,760px) minmax(120px,1fr);gap:22px;align-items:center;padding:15px 28px 8px}
.rv5-brand{display:inline-flex;align-items:center;gap:9px;color:#111;text-decoration:none;font-size:23px;font-weight:800;letter-spacing:-.045em}
.rv5-brand-mark{width:34px;height:34px;display:grid;place-items:center;background:#d93025;color:#fff;font-weight:900;font-size:18px}
.rv5-search{position:relative}
.rv5-searchbox{height:48px;display:grid;grid-template-columns:1fr auto auto;border:1px solid var(--rv5-line);background:#fff;box-shadow:0 1px 6px rgba(32,33,36,.18)}
.rv5-searchbox:focus-within{box-shadow:0 2px 8px rgba(32,33,36,.24)}
.rv5-input{height:46px;border:0;outline:0;background:transparent;padding:0 18px;font-size:16px;color:var(--rv5-text)}
.rv5-submit,.rv5-voice{height:46px;min-width:46px;border:0;background:#fff;color:var(--rv5-blue);font-weight:700;cursor:pointer;border-left:1px solid #edf0f2}
.rv5-submit{padding:0 15px}
.rv5-tools{display:flex;justify-content:flex-end;gap:8px;align-items:center}
.rv5-tool{height:34px;display:inline-flex;align-items:center;border:1px solid var(--rv5-line);background:#fff;color:var(--rv5-muted);padding:0 10px;font-size:13px;font-weight:700;text-decoration:none}
.rv5-tabs-wrap{padding-left:176px;padding-right:28px;overflow:auto}
.rv5-tabs{display:flex;gap:23px;align-items:end;min-width:max-content;height:43px}
.rv5-tab{position:relative;height:43px;display:inline-flex;align-items:center;color:var(--rv5-muted);font-size:14px;font-weight:600;text-decoration:none;border-bottom:3px solid transparent}
.rv5-tab.is-active{color:var(--rv5-blue);border-bottom-color:var(--rv5-blue)}
.rv5-more{display:inline-flex;gap:10px;padding:8px 28px 10px 176px;border-top:1px solid #f1f3f4;overflow:auto;background:#fff}
.rv5-chip{height:31px;display:inline-flex;align-items:center;white-space:nowrap;border:1px solid var(--rv5-line);background:#fff;color:#3c4043;padding:0 10px;font-size:13px;font-weight:600;text-decoration:none}
.rv5-chip:hover{background:#f8fafd;text-decoration:none}
.rv5-page{display:grid;grid-template-columns:minmax(0,760px) minmax(300px,410px);gap:44px;align-items:start;padding:16px 28px 70px 176px}
.rv5-main{min-width:0;max-width:760px}
.rv5-rail{min-width:0}
.rv5-meta{color:var(--rv5-muted);font-size:13px;margin:0 0 16px}
.rv5-module{border:1px solid #e5e7eb;background:#fff;margin:0 0 18px}
.rv5-module-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 15px;border-bottom:1px solid #edf0f2}
.rv5-module-title{margin:0;font-size:19px;font-weight:400;letter-spacing:-.01em;color:#202124}
.rv5-module-body{padding:14px 15px}
.rv5-result{margin:0 0 26px}
.rv5-result-top{display:flex;align-items:center;gap:10px;margin-bottom:5px;min-width:0}
.rv5-favicon{width:28px;height:28px;display:grid;place-items:center;background:#f1f3f4;border:1px solid #e5e7eb;color:#5f6368;font-size:12px;font-weight:900;flex:0 0 auto;overflow:hidden}
.rv5-favicon img{width:100%;height:100%;object-fit:cover}
.rv5-source{min-width:0}
.rv5-domain{font-size:14px;color:#202124;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.rv5-url{font-size:12px;color:#5f6368;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.rv5-title{display:inline-block;font-size:20px;line-height:1.28;font-weight:400;color:#1a0dab;margin:0 0 4px}
.rv5-snippet{font-size:14px;line-height:1.55;color:#4d5156;margin:0}
.rv5-badges{display:flex;gap:6px;flex-wrap:wrap;margin-top:7px}
.rv5-badge{display:inline-flex;align-items:center;border:1px solid #e5e7eb;background:#f8fafd;color:#5f6368;padding:4px 7px;font-size:12px;font-weight:700}
.rv5-ai{border-color:#d2e3fc;background:linear-gradient(180deg,#fff,#f8fbff)}
.rv5-ai-label{display:inline-flex;color:#1a73e8;font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.06em;margin-bottom:8px}
.rv5-kp{position:sticky;top:112px}
.rv5-kp-card{border:1px solid var(--rv5-line);background:#fff}
.rv5-kp-head{padding:18px;border-bottom:1px solid #edf0f2}
.rv5-kp-title{font-size:26px;line-height:1.1;margin:0;font-weight:500}
.rv5-kp-body{padding:16px 18px}
.rv5-empty{border:1px dashed var(--rv5-line);background:#fff;padding:34px;color:var(--rv5-muted);text-align:center}
.rv5-empty strong{display:block;color:var(--rv5-text);font-size:20px;margin-bottom:6px}
.rv5-grid{display:grid;gap:16px}
.rv5-grid.images{grid-template-columns:repeat(auto-fill,minmax(190px,1fr));align-items:start}
.rv5-media-card,.rv5-product,.rv5-book,.rv5-story,.rv5-place{border:1px solid #e5e7eb;background:#fff}
.rv5-media-img{display:block;width:100%;aspect-ratio:4/3;object-fit:cover;background:#f1f3f4}
.rv5-media-body{padding:10px}
.rv5-media-title{display:block;font-size:14px;font-weight:700;line-height:1.32;color:#202124}
.rv5-media-host,.rv5-muted{color:var(--rv5-muted);font-size:12px;line-height:1.4}
.rv5-suggest{display:flex;gap:8px;overflow:auto;margin:0 0 16px}
.rv5-filterbar{display:flex;gap:8px;overflow:auto;margin:0 0 18px}
.rv5-filter{height:32px;display:inline-flex;align-items:center;border:1px solid var(--rv5-line);background:#fff;color:#3c4043;padding:0 10px;font-size:13px;font-weight:700;white-space:nowrap;text-decoration:none}
.rv5-filter:hover,.rv5-filter.active{background:#f1f3f4;text-decoration:none}
.rv5-titlebar{display:flex;justify-content:space-between;gap:18px;align-items:end;margin:0 0 16px}
.rv5-titlebar h1{font-size:28px;line-height:1.08;font-weight:500;letter-spacing:-.035em;margin:0}
.rv5-titlebar p{margin:5px 0 0;color:var(--rv5-muted);font-size:14px}
.rv5-count{font-size:13px;color:var(--rv5-muted);white-space:nowrap}
.rv5-map-layout{height:calc(100vh - 108px);display:grid;grid-template-columns:410px minmax(0,1fr)}
.rv5-map-list{border-right:1px solid var(--rv5-line);overflow:auto;background:#fff}
.rv5-map-canvas{position:relative;background:#e8eaed}
.rv5-map-canvas iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.rv5-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:9px}
.rv5-btn{display:inline-flex;align-items:center;height:30px;border:1px solid var(--rv5-line);background:#fff;color:#1967d2;padding:0 10px;font-size:13px;font-weight:700;text-decoration:none}
.rv5-btn:hover{background:#f8fafd;text-decoration:none}
body.rv5-vertical .rv-ai-overview,body.rv5-vertical [data-ai-overview],body.rv5-vertical .rv-person-feature,body.rv5-vertical [data-person-feature],body.rv5-vertical #aiModule,body.rv5-vertical #knowledge-panel,body.rv5-vertical .rv-kp-v3,body.rv5-vertical [data-kp-v3],body.rv5-vertical [data-knowledge-panel]{display:none!important}
@media(max-width:980px){
  .rv5-head{grid-template-columns:1fr;gap:10px;padding:12px 14px}
  .rv5-tools{display:none}
  .rv5-tabs-wrap,.rv5-more{padding-left:14px;padding-right:14px}
  .rv5-page{display:block;padding:14px 14px 50px}
  .rv5-rail{margin-top:24px}
  .rv5-map-layout{height:auto;display:block}
  .rv5-map-list{border-right:0}
  .rv5-map-canvas{height:360px}
}

/* RV5 feature restore: prevent right rail overlap and support All-tab packs */
.rv5-page{
  width:min(1240px, calc(100vw - 48px));
  margin:0 auto;
  padding:16px 0 70px;
  grid-template-columns:minmax(0,730px) minmax(280px,370px);
  gap:38px;
}
.rv5-main{max-width:730px;overflow:visible}
.rv5-rail{max-width:370px;overflow:visible}
.rv5-kp{position:sticky;top:118px;width:100%}
.rv5-kp-card{width:100%;overflow:hidden}
.rv5-kp-image{width:100%;height:190px;object-fit:cover;background:#f1f3f4;border-bottom:1px solid #edf0f2}
.rv5-kp-facts{display:grid;gap:0;border-top:1px solid #edf0f2;margin-top:12px}
.rv5-kp-fact{display:grid;grid-template-columns:112px minmax(0,1fr);gap:10px;padding:9px 0;border-bottom:1px solid #edf0f2;font-size:13px}
.rv5-kp-fact b{color:#202124}
.rv5-kp-fact span{color:#5f6368;min-width:0}
.rv5-kp-links{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
.rv5-kp-link{display:inline-flex;border:1px solid #dadce0;background:#fff;color:#1967d2;padding:6px 9px;font-size:12px;font-weight:700;text-decoration:none}
.rv5-pack-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px}
.rv5-pack-card{border:1px solid #e5e7eb;background:#fff;color:#202124;text-decoration:none;min-width:0}
.rv5-pack-card:hover{text-decoration:none;border-color:#dadce0}
.rv5-pack-img{display:block;width:100%;height:112px;object-fit:cover;background:#f1f3f4;border-bottom:1px solid #edf0f2}
.rv5-pack-body{padding:9px}
.rv5-pack-title{display:block;color:#1a0dab;font-size:14px;line-height:1.25;font-weight:400;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.rv5-pack-meta{margin-top:4px;color:#5f6368;font-size:12px;line-height:1.35;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.rv5-pack-price{margin-top:4px;color:#137333;font-weight:700;font-size:13px}
.rv5-organic-loading{border:0;padding:0;color:#5f6368}
.rv5-person-chip{display:inline-flex;align-items:center;border:1px solid #d2e3fc;background:#f8fbff;color:#174ea6;padding:5px 8px;font-size:12px;font-weight:800;margin-bottom:10px}
@media(max-width:1160px){
  .rv5-page{width:min(100%, calc(100vw - 28px));display:block}
  .rv5-rail{max-width:730px;margin-top:24px}
  .rv5-kp{position:static}
}
@media(max-width:760px){
  .rv5-page{width:100%;padding:14px 14px 50px}
}

/* RV5_OVERLAP_GUARD_20260511
   Keep search results/modules in the left column and entity panels in the right rail only. */
.rv5-page{
  position:relative!important;
  display:grid!important;
  grid-template-columns:minmax(0,740px) 380px!important;
  gap:42px!important;
  align-items:start!important;
  width:min(1240px, calc(100vw - 56px))!important;
  margin:0 auto!important;
  padding:16px 0 70px!important;
}

.rv5-main{
  grid-column:1!important;
  min-width:0!important;
  max-width:740px!important;
  width:100%!important;
  overflow:visible!important;
  position:relative!important;
  z-index:1!important;
}

.rv5-rail{
  grid-column:2!important;
  min-width:0!important;
  max-width:380px!important;
  width:100%!important;
  overflow:visible!important;
  position:relative!important;
  z-index:2!important;
}

.rv5-rail .rv5-kp{
  position:sticky!important;
  top:112px!important;
  width:100%!important;
  max-width:380px!important;
}

.rv5-rail .rv5-kp-card{
  width:100%!important;
  max-width:380px!important;
  overflow:hidden!important;
  background:#fff!important;
}

/* Hide old injected KP/person panels if they land in the results column. */
.rv5-main > .rv5-kp,
.rv5-main .rv-kp-v3,
.rv5-main .rv-kp-v4,
.rv5-main .rv-knowledge-panel,
.rv5-main .rv-person-feature,
.rv5-main [data-kp-v3],
.rv5-main [data-knowledge-panel],
.rv5-main [data-person-feature],
.rv5-main #knowledge-panel,
.rv5-main #kpWrap,
.rv5-main #rvSafeKnowledgePanel,
.rv5-main [aria-label="Knowledge panel"]{
  display:none!important;
  visibility:hidden!important;
  height:0!important;
  max-height:0!important;
  overflow:hidden!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
}

/* Prevent Books/Shopping media from blowing out the results column. */
.rv5-main img,
.rv5-module img,
.rv5-pack-img,
.rv5-media-img{
  max-width:100%!important;
}

.rv5-module{
  max-width:740px!important;
  overflow:hidden!important;
  position:relative!important;
  clear:both!important;
}

.rv5-pack-row{
  max-width:100%!important;
  overflow:hidden!important;
  grid-template-columns:repeat(auto-fit,minmax(138px,1fr))!important;
}

.rv5-pack-card{
  overflow:hidden!important;
  min-width:0!important;
}

.rv5-pack-img{
  height:104px!important;
  max-height:104px!important;
  object-fit:cover!important;
}

.rv5-result{
  max-width:740px!important;
  clear:both!important;
}

@media(max-width:1160px){
  .rv5-page{
    display:block!important;
    width:min(100%, calc(100vw - 28px))!important;
    padding:14px 0 56px!important;
  }

  .rv5-main{
    max-width:760px!important;
  }

  .rv5-rail{
    max-width:760px!important;
    margin-top:24px!important;
  }

  .rv5-rail .rv5-kp{
    position:static!important;
    max-width:760px!important;
  }

  .rv5-rail .rv5-kp-card{
    max-width:760px!important;
  }
}

@media(max-width:760px){
  .rv5-page{
    width:100%!important;
    padding:14px 14px 50px!important;
  }
}

/* RV5_BOOKS_PACK_FIX_20260511
   Books on All Search must render as compact covers, never full-width banners. */
.rv5-module[data-rv5-pack="books"]{
  max-width:740px!important;
  overflow:hidden!important;
}

.rv5-module[data-rv5-pack="books"] .rv5-pack-row{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:10px 14px!important;
  align-items:start!important;
}

.rv5-module[data-rv5-pack="books"] .rv5-pack-card{
  display:grid!important;
  grid-template-columns:72px minmax(0,1fr)!important;
  gap:10px!important;
  min-height:112px!important;
  padding:10px!important;
  border:1px solid #e5e7eb!important;
  background:#fff!important;
  overflow:hidden!important;
}

.rv5-module[data-rv5-pack="books"] .rv5-pack-img,
.rv5-module[data-rv5-pack="books"] img{
  width:72px!important;
  min-width:72px!important;
  max-width:72px!important;
  height:104px!important;
  min-height:104px!important;
  max-height:104px!important;
  aspect-ratio:3/4!important;
  object-fit:cover!important;
  display:block!important;
  border:1px solid #edf0f2!important;
  background:#f1f3f4!important;
}

.rv5-module[data-rv5-pack="books"] .rv5-pack-body{
  padding:0!important;
  min-width:0!important;
}

.rv5-module[data-rv5-pack="books"] .rv5-pack-title{
  font-size:14px!important;
  line-height:1.3!important;
  color:#1a0dab!important;
  font-weight:400!important;
  overflow:hidden!important;
  display:-webkit-box!important;
  -webkit-line-clamp:2!important;
  -webkit-box-orient:vertical!important;
}

.rv5-module[data-rv5-pack="books"] .rv5-pack-meta{
  margin-top:5px!important;
  font-size:12px!important;
  line-height:1.35!important;
  color:#5f6368!important;
  overflow:hidden!important;
  display:-webkit-box!important;
  -webkit-line-clamp:3!important;
  -webkit-box-orient:vertical!important;
}

/* Also catch the older server-rendered all-vertical module if it appears. */
.rv-allmods-server [class*="book"] img,
.rv-allmods-server [class*="Book"] img{
  width:72px!important;
  max-width:72px!important;
  height:104px!important;
  max-height:104px!important;
  object-fit:cover!important;
}

.rv-allmods-server [class*="book"],
.rv-allmods-server [class*="Book"]{
  overflow:hidden!important;
}

@media(max-width:700px){
  .rv5-module[data-rv5-pack="books"] .rv5-pack-row{
    grid-template-columns:1fr!important;
  }
}

/* RV5_ALL_MODULES_POLISH_20260511 */
.rv5-search-module {
  max-width: 740px;
  margin: 0 0 22px;
  border: 1px solid #dadce0;
  background: #fff;
  overflow: hidden;
  clear: both;
}

.rv5-search-module__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 54px;
  padding: 0 16px;
  border-bottom: 1px solid #edf0f2;
}

.rv5-search-module__title {
  margin: 0;
  color: #202124;
  font-size: 22px;
  line-height: 1.2;
  font-weight: 400;
  letter-spacing: -.02em;
}

.rv5-search-module__more {
  color: #1a0dab;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}

.rv5-search-module__more:hover {
  text-decoration: underline;
}

.rv5-search-module__body {
  padding: 14px 16px 16px;
}

/* Top Stories */
.rv5-topstories {
  border-color: #dadce0;
}

.rv5-topstories__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(230px, .9fr);
  gap: 16px;
}

.rv5-topstories__lead {
  display: block;
  color: inherit;
  text-decoration: none;
}

.rv5-topstories__lead-img {
  width: 100%;
  height: 190px;
  display: block;
  object-fit: cover;
  background: #f1f3f4;
  border: 1px solid #edf0f2;
}

.rv5-topstories__lead-title {
  display: block;
  margin-top: 10px;
  color: #1a0dab;
  font-size: 18px;
  line-height: 1.28;
  font-weight: 400;
}

.rv5-topstories__lead-title:hover {
  text-decoration: underline;
}

.rv5-topstories__meta {
  margin-top: 5px;
  color: #5f6368;
  font-size: 12px;
  line-height: 1.4;
}

.rv5-topstories__snippet {
  margin: 7px 0 0;
  color: #4d5156;
  font-size: 13px;
  line-height: 1.45;
}

.rv5-topstories__side {
  display: grid;
  gap: 0;
  border-left: 1px solid #edf0f2;
  padding-left: 16px;
}

.rv5-topstories__item {
  display: grid;
  grid-template-columns: minmax(0,1fr) 82px;
  gap: 10px;
  padding: 0 0 12px;
  margin-bottom: 12px;
  border-bottom: 1px solid #edf0f2;
  color: inherit;
  text-decoration: none;
}

.rv5-topstories__item:last-child {
  border-bottom: 0;
  margin-bottom: 0;
  padding-bottom: 0;
}

.rv5-topstories__item-title {
  color: #1a0dab;
  font-size: 14px;
  line-height: 1.32;
  font-weight: 400;
}

.rv5-topstories__item:hover .rv5-topstories__item-title {
  text-decoration: underline;
}

.rv5-topstories__thumb {
  width: 82px;
  height: 62px;
  object-fit: cover;
  background: #f1f3f4;
  border: 1px solid #edf0f2;
}

/* All vertical modules */
.rv5-allmods {
  border-color: #dadce0;
}

.rv5-allmods__stack {
  display: grid;
  gap: 18px;
}

.rv5-allmods__section + .rv5-allmods__section {
  border-top: 1px solid #edf0f2;
  padding-top: 16px;
}

.rv5-allmods__section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.rv5-allmods__section-title {
  margin: 0;
  color: #202124;
  font-size: 18px;
  line-height: 1.25;
  font-weight: 400;
}

.rv5-allmods__section-link {
  color: #1a0dab;
  font-size: 13px;
  font-weight: 500;
}

.rv5-places-list {
  display: grid;
  gap: 0;
  border: 1px solid #edf0f2;
}

.rv5-place-row {
  display: grid;
  grid-template-columns: 38px minmax(0,1fr) auto;
  gap: 12px;
  align-items: start;
  padding: 12px;
  border-bottom: 1px solid #edf0f2;
  color: inherit;
  text-decoration: none;
}

.rv5-place-row:last-child {
  border-bottom: 0;
}

.rv5-place-pin {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  background: #e8f0fe;
  color: #1a73e8;
  font-size: 13px;
  font-weight: 700;
}

.rv5-place-title {
  display: block;
  color: #1a0dab;
  font-size: 15px;
  line-height: 1.25;
  font-weight: 400;
}

.rv5-place-row:hover .rv5-place-title {
  text-decoration: underline;
}

.rv5-place-meta {
  margin-top: 4px;
  color: #5f6368;
  font-size: 13px;
  line-height: 1.35;
}

.rv5-place-action {
  color: #1a0dab;
  border: 1px solid #dadce0;
  padding: 5px 9px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.rv5-books-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 12px;
}

.rv5-book-mini {
  display: grid;
  grid-template-columns: 74px minmax(0,1fr);
  gap: 10px;
  min-width: 0;
  padding: 10px;
  border: 1px solid #edf0f2;
  color: inherit;
  text-decoration: none;
  background: #fff;
}

.rv5-book-mini:hover {
  border-color: #dadce0;
  text-decoration: none;
}

.rv5-book-cover {
  width: 74px;
  height: 104px;
  object-fit: cover;
  display: block;
  background: #f1f3f4;
  border: 1px solid #edf0f2;
}

.rv5-book-cover--ph {
  display: grid;
  place-items: center;
  color: #5f6368;
  font-size: 28px;
  font-weight: 700;
}

.rv5-book-title {
  display: block;
  color: #1a0dab;
  font-size: 14px;
  line-height: 1.3;
  font-weight: 400;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.rv5-book-meta {
  margin-top: 5px;
  color: #5f6368;
  font-size: 12px;
  line-height: 1.35;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

/* Keep the injected client pack from duplicating server Maps/Books when both exist. */
body.rv5-has-server-verticals #allPacks [data-rv5-pack="places"],
body.rv5-has-server-verticals #allPacks [data-rv5-pack="books"] {
  display: none !important;
}

@media (max-width: 900px) {
  .rv5-topstories__grid {
    grid-template-columns: 1fr;
  }

  .rv5-topstories__side {
    border-left: 0;
    padding-left: 0;
  }

  .rv5-books-strip {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }

  .rv5-place-row {
    grid-template-columns: 34px minmax(0,1fr);
  }

  .rv5-place-action {
    display: none;
  }
}

@media (max-width: 560px) {
  .rv5-books-strip {
    grid-template-columns: 1fr;
  }
}

/* RV5_COMPACT_SERP_MODULES_20260511
   Search modules must look like normal search result blocks, not wide landing-page cards. */
.rv5-main,
.rv5-result,
.rv5-search-module,
.rv5-module,
.rv-search-ads-premium-v3 {
  max-width: 660px !important;
}

.rv5-search-module,
.rv5-module {
  width: 100% !important;
  margin: 0 0 22px !important;
  border: 1px solid #dadce0 !important;
  background: #fff !important;
  overflow: hidden !important;
  box-shadow: none !important;
}

.rv5-search-module__head,
.rv5-module-head {
  min-height: 48px !important;
  padding: 0 14px !important;
  border-bottom: 1px solid #edf0f2 !important;
}

.rv5-search-module__title,
.rv5-module-title {
  font-size: 20px !important;
  font-weight: 400 !important;
  line-height: 1.2 !important;
  color: #202124 !important;
}

.rv5-search-module__body,
.rv5-module-body {
  padding: 0 !important;
}

/* Top stories: compact news rows */
.rv5-topstories-compact {
  width: 100% !important;
}

.rv5-story-row {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 92px !important;
  gap: 12px !important;
  padding: 12px 14px !important;
  border-bottom: 1px solid #edf0f2 !important;
  text-decoration: none !important;
  color: inherit !important;
}

.rv5-story-row:last-child {
  border-bottom: 0 !important;
}

.rv5-story-row:hover .rv5-story-title {
  text-decoration: underline !important;
}

.rv5-story-title {
  color: #1a0dab !important;
  font-size: 15px !important;
  line-height: 1.32 !important;
  font-weight: 400 !important;
}

.rv5-story-meta {
  margin-top: 4px !important;
  color: #5f6368 !important;
  font-size: 12px !important;
  line-height: 1.35 !important;
}

.rv5-story-snippet {
  margin: 5px 0 0 !important;
  color: #4d5156 !important;
  font-size: 13px !important;
  line-height: 1.4 !important;
}

.rv5-story-thumb {
  width: 92px !important;
  height: 68px !important;
  object-fit: cover !important;
  background: #f1f3f4 !important;
  border: 1px solid #edf0f2 !important;
}

/* Places: compact local rows */
.rv5-places-compact {
  display: grid !important;
  gap: 0 !important;
}

.rv5-place-compact-row {
  display: grid !important;
  grid-template-columns: 30px minmax(0, 1fr) !important;
  gap: 10px !important;
  padding: 12px 14px !important;
  border-bottom: 1px solid #edf0f2 !important;
  color: inherit !important;
  text-decoration: none !important;
}

.rv5-place-compact-row:last-child {
  border-bottom: 0 !important;
}

.rv5-place-compact-pin {
  width: 24px !important;
  height: 24px !important;
  display: grid !important;
  place-items: center !important;
  background: #e8f0fe !important;
  color: #1a73e8 !important;
  font-size: 12px !important;
  font-weight: 700 !important;
}

.rv5-place-compact-title {
  color: #1a0dab !important;
  font-size: 15px !important;
  line-height: 1.3 !important;
  font-weight: 400 !important;
}

.rv5-place-compact-row:hover .rv5-place-compact-title {
  text-decoration: underline !important;
}

.rv5-place-compact-meta {
  display: block !important;
  margin-top: 3px !important;
  color: #5f6368 !important;
  font-size: 13px !important;
  line-height: 1.35 !important;
}

/* Books: compact rows, not banner cards */
.rv5-books-compact {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 0 !important;
}

.rv5-book-compact {
  display: grid !important;
  grid-template-columns: 54px minmax(0,1fr) !important;
  gap: 10px !important;
  padding: 12px 14px !important;
  border-bottom: 1px solid #edf0f2 !important;
  color: inherit !important;
  text-decoration: none !important;
  min-width: 0 !important;
}

.rv5-book-compact:nth-child(odd) {
  border-right: 1px solid #edf0f2 !important;
}

.rv5-book-cover-compact,
.rv5-book-compact img {
  width: 54px !important;
  min-width: 54px !important;
  max-width: 54px !important;
  height: 76px !important;
  min-height: 76px !important;
  max-height: 76px !important;
  object-fit: cover !important;
  background: #f1f3f4 !important;
  border: 1px solid #edf0f2 !important;
  display: block !important;
}

.rv5-book-cover-compact--ph {
  display: grid !important;
  place-items: center !important;
  color: #5f6368 !important;
  font-size: 22px !important;
  font-weight: 700 !important;
}

.rv5-book-compact-title {
  color: #1a0dab !important;
  font-size: 14px !important;
  line-height: 1.3 !important;
  font-weight: 400 !important;
  overflow: hidden !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
}

.rv5-book-compact:hover .rv5-book-compact-title {
  text-decoration: underline !important;
}

.rv5-book-compact-meta {
  display: block !important;
  margin-top: 4px !important;
  color: #5f6368 !important;
  font-size: 12px !important;
  line-height: 1.35 !important;
  overflow: hidden !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
}

/* Client-rendered packs also need to be compact. */
#allPacks .rv5-pack-row {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 0 !important;
}

#allPacks .rv5-pack-card {
  display: grid !important;
  grid-template-columns: 76px minmax(0, 1fr) !important;
  gap: 10px !important;
  padding: 12px 14px !important;
  border: 0 !important;
  border-bottom: 1px solid #edf0f2 !important;
  background: #fff !important;
}

#allPacks .rv5-pack-img {
  width: 76px !important;
  min-width: 76px !important;
  max-width: 76px !important;
  height: 58px !important;
  min-height: 58px !important;
  max-height: 58px !important;
  object-fit: cover !important;
}

#allPacks [data-rv5-pack="books"] .rv5-pack-img,
#allPacks [data-rv5-pack="books"] img {
  width: 54px !important;
  min-width: 54px !important;
  max-width: 54px !important;
  height: 76px !important;
  min-height: 76px !important;
  max-height: 76px !important;
}

#allPacks .rv5-pack-body {
  padding: 0 !important;
}

#allPacks .rv5-pack-title {
  font-size: 14px !important;
  line-height: 1.3 !important;
  font-weight: 400 !important;
  color: #1a0dab !important;
}

#allPacks .rv5-pack-meta {
  font-size: 12px !important;
  line-height: 1.35 !important;
  color: #5f6368 !important;
}

@media(max-width: 700px) {
  .rv5-books-compact,
  #allPacks .rv5-pack-row {
    grid-template-columns: 1fr !important;
  }

  .rv5-book-compact:nth-child(odd) {
    border-right: 0 !important;
  }

  .rv5-story-row {
    grid-template-columns: minmax(0, 1fr) 82px !important;
  }

  .rv5-story-thumb {
    width: 82px !important;
    height: 62px !important;
  }
}

/* RV5_GOOGLE_STYLE_MODULES_20260511 */
.rv5-google-module {
  width: 100% !important;
  max-width: 660px !important;
  margin: 0 0 26px !important;
  border-top: 1px solid #dadce0 !important;
  border-bottom: 1px solid #dadce0 !important;
  border-left: 0 !important;
  border-right: 0 !important;
  background: #fff !important;
  box-shadow: none !important;
  overflow: hidden !important;
}

.rv5-google-head {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  min-height: 58px !important;
  padding: 0 !important;
  border-bottom: 1px solid #dadce0 !important;
}

.rv5-google-title {
  margin: 0 !important;
  color: #202124 !important;
  font-size: 22px !important;
  line-height: 1.2 !important;
  font-weight: 400 !important;
  letter-spacing: -.02em !important;
}

.rv5-google-more {
  color: #1a0dab !important;
  font-size: 15px !important;
  font-weight: 400 !important;
  text-decoration: none !important;
  white-space: nowrap !important;
}

.rv5-google-more:hover {
  text-decoration: underline !important;
}

.rv5-google-body {
  padding: 14px 0 0 !important;
}

/* Top stories like Google: lead + side stories + also row */
.rv5-gnews-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1.05fr) minmax(210px, .95fr) !important;
  gap: 16px !important;
}

.rv5-gnews-lead {
  display: block !important;
  color: inherit !important;
  text-decoration: none !important;
  min-width: 0 !important;
}

.rv5-gnews-lead-img {
  width: 100% !important;
  height: 172px !important;
  display: block !important;
  object-fit: cover !important;
  background: #f1f3f4 !important;
  border: 1px solid #edf0f2 !important;
}

.rv5-gnews-title {
  display: block !important;
  margin-top: 9px !important;
  color: #1a0dab !important;
  font-size: 18px !important;
  line-height: 1.32 !important;
  font-weight: 400 !important;
}

.rv5-gnews-lead:hover .rv5-gnews-title,
.rv5-gnews-side-link:hover .rv5-gnews-side-title,
.rv5-gnews-also-link:hover .rv5-gnews-also-title {
  text-decoration: underline !important;
}

.rv5-gnews-source {
  display: block !important;
  margin-top: 5px !important;
  color: #3c4043 !important;
  font-size: 13px !important;
  line-height: 1.35 !important;
  font-weight: 500 !important;
}

.rv5-gnews-time {
  display: inline-flex !important;
  margin-top: 6px !important;
  color: #5f6368 !important;
  font-size: 13px !important;
  line-height: 1.35 !important;
}

.rv5-gnews-side {
  border-left: 1px solid #dadce0 !important;
  padding-left: 16px !important;
  display: grid !important;
  gap: 0 !important;
}

.rv5-gnews-side-link {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 82px !important;
  gap: 10px !important;
  color: inherit !important;
  text-decoration: none !important;
  padding: 0 0 12px !important;
  margin-bottom: 12px !important;
  border-bottom: 1px solid #dadce0 !important;
}

.rv5-gnews-side-link:last-child {
  border-bottom: 0 !important;
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

.rv5-gnews-side-title {
  display: block !important;
  color: #1a0dab !important;
  font-size: 15px !important;
  line-height: 1.35 !important;
  font-weight: 400 !important;
}

.rv5-gnews-thumb {
  width: 82px !important;
  height: 62px !important;
  display: block !important;
  object-fit: cover !important;
  background: #f1f3f4 !important;
  border: 1px solid #edf0f2 !important;
}

.rv5-gnews-also {
  margin-top: 18px !important;
  padding-top: 16px !important;
  border-top: 1px solid #dadce0 !important;
}

.rv5-gnews-also h3 {
  margin: 0 0 12px !important;
  font-size: 18px !important;
  line-height: 1.2 !important;
  font-weight: 400 !important;
  color: #202124 !important;
}

.rv5-gnews-also-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0,1fr)) !important;
  gap: 0 16px !important;
}

.rv5-gnews-also-link {
  display: grid !important;
  grid-template-columns: minmax(0,1fr) 82px !important;
  gap: 10px !important;
  padding: 0 0 12px !important;
  margin-bottom: 12px !important;
  border-bottom: 1px solid #dadce0 !important;
  color: inherit !important;
  text-decoration: none !important;
}

.rv5-gnews-also-title {
  color: #1a0dab !important;
  font-size: 14px !important;
  line-height: 1.35 !important;
  font-weight: 400 !important;
}

/* Videos like Google rows */
.rv5-gvideo-list {
  display: grid !important;
  gap: 0 !important;
}

.rv5-gvideo-row {
  display: grid !important;
  grid-template-columns: 158px minmax(0,1fr) !important;
  gap: 16px !important;
  padding: 14px 0 !important;
  border-bottom: 1px solid #dadce0 !important;
  color: inherit !important;
  text-decoration: none !important;
}

.rv5-gvideo-row:last-child {
  border-bottom: 0 !important;
}

.rv5-gvideo-thumb-wrap {
  position: relative !important;
  width: 158px !important;
  height: 89px !important;
  background: #f1f3f4 !important;
  overflow: hidden !important;
}

.rv5-gvideo-thumb {
  width: 158px !important;
  height: 89px !important;
  object-fit: cover !important;
  display: block !important;
}

.rv5-gvideo-play {
  position: absolute !important;
  left: 50% !important;
  top: 50% !important;
  transform: translate(-50%, -50%) !important;
  width: 38px !important;
  height: 38px !important;
  display: grid !important;
  place-items: center !important;
  background: rgba(0,0,0,.68) !important;
  color: #fff !important;
  font-size: 15px !important;
  border-radius: 50% !important;
}

.rv5-gvideo-title {
  display: block !important;
  color: #1a0dab !important;
  font-size: 17px !important;
  line-height: 1.35 !important;
  font-weight: 400 !important;
  margin-bottom: 8px !important;
}

.rv5-gvideo-row:hover .rv5-gvideo-title {
  text-decoration: underline !important;
}

.rv5-gvideo-meta {
  color: #5f6368 !important;
  font-size: 14px !important;
  line-height: 1.45 !important;
}

/* Shopping / popular products like Google carousel */
.rv5-gshop-strip {
  display: grid !important;
  grid-auto-flow: column !important;
  grid-auto-columns: 146px !important;
  gap: 12px !important;
  overflow-x: auto !important;
  padding-bottom: 10px !important;
  scrollbar-width: thin !important;
}

.rv5-gproduct {
  display: block !important;
  color: inherit !important;
  text-decoration: none !important;
  min-width: 0 !important;
}

.rv5-gproduct-img {
  width: 146px !important;
  height: 146px !important;
  object-fit: cover !important;
  display: block !important;
  background: #f1f3f4 !important;
  border: 1px solid #dadce0 !important;
}

.rv5-gproduct-title {
  display: block !important;
  margin-top: 8px !important;
  color: #1a0dab !important;
  font-size: 14px !important;
  line-height: 1.32 !important;
  font-weight: 400 !important;
  overflow: hidden !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
}

.rv5-gproduct:hover .rv5-gproduct-title {
  text-decoration: underline !important;
}

.rv5-gproduct-price {
  display: block !important;
  margin-top: 5px !important;
  color: #202124 !important;
  font-size: 14px !important;
  line-height: 1.2 !important;
  font-weight: 700 !important;
}

.rv5-gproduct-source {
  display: block !important;
  margin-top: 4px !important;
  color: #5f6368 !important;
  font-size: 12px !important;
  line-height: 1.35 !important;
}

/* Places like Google local pack */
.rv5-gplaces-map {
  width: 100% !important;
  height: 128px !important;
  display: block !important;
  border: 1px solid #dadce0 !important;
  background: #e8eaed !important;
  overflow: hidden !important;
  margin-bottom: 12px !important;
}

.rv5-gplaces-map iframe {
  width: 100% !important;
  height: 100% !important;
  border: 0 !important;
  display: block !important;
}

.rv5-gplaces-list {
  display: grid !important;
  gap: 0 !important;
}

.rv5-gplace-row {
  display: grid !important;
  grid-template-columns: minmax(0,1fr) 84px !important;
  gap: 14px !important;
  padding: 12px 0 !important;
  border-bottom: 1px solid #dadce0 !important;
  color: inherit !important;
  text-decoration: none !important;
}

.rv5-gplace-row:last-child {
  border-bottom: 0 !important;
}

.rv5-gplace-title {
  display: block !important;
  color: #202124 !important;
  font-size: 18px !important;
  line-height: 1.3 !important;
  font-weight: 400 !important;
}

.rv5-gplace-meta {
  display: block !important;
  margin-top: 4px !important;
  color: #5f6368 !important;
  font-size: 14px !important;
  line-height: 1.4 !important;
}

.rv5-gplace-open {
  color: #137333 !important;
}

.rv5-gplace-photo {
  width: 84px !important;
  height: 84px !important;
  display: grid !important;
  place-items: center !important;
  object-fit: cover !important;
  background: #f1f3f4 !important;
  border: 1px solid #dadce0 !important;
  color: #5f6368 !important;
  font-weight: 700 !important;
}

.rv5-gmore-pill {
  width: min(320px, 80%) !important;
  height: 42px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 14px auto 0 !important;
  background: #f1f3f4 !important;
  color: #202124 !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  text-decoration: none !important;
}

/* Override old generic pack styling */
#allPacks .rv5-module[data-rv5-pack="shopping-results"],
#allPacks .rv5-module[data-rv5-pack="videos"],
#allPacks .rv5-module[data-rv5-pack="images"] {
  max-width: 660px !important;
  border: 0 !important;
  border-top: 1px solid #dadce0 !important;
  border-bottom: 1px solid #dadce0 !important;
}

@media(max-width: 760px) {
  .rv5-gnews-grid,
  .rv5-gnews-also-grid {
    grid-template-columns: 1fr !important;
  }

  .rv5-gnews-side {
    border-left: 0 !important;
    padding-left: 0 !important;
    border-top: 1px solid #dadce0 !important;
    padding-top: 12px !important;
  }

  .rv5-gvideo-row {
    grid-template-columns: 128px minmax(0,1fr) !important;
  }

  .rv5-gvideo-thumb-wrap,
  .rv5-gvideo-thumb {
    width: 128px !important;
    height: 72px !important;
  }

  .rv5-gshop-strip {
    grid-auto-columns: 132px !important;
  }

  .rv5-gproduct-img {
    width: 132px !important;
    height: 132px !important;
  }
}
