/* GDB-03 structural rental archive. Scoped; no legacy card2 layout dependency. */
.kbm-ads-recode.kbm-gdb03-rental {
  --gdb-navy:#0b2a3b;--gdb-yellow:#ffd12f;--gdb-muted:#526579;--gdb-line:#e1e7eb;
  --gdb-base:#f5f8fa;--gdb-paper:#ffffff;
  width:min(100%,1392px);max-width:1392px;padding:18px clamp(12px,2.4vw,30px) 44px;gap:18px;box-sizing:border-box;
  font-family:var(--kbm-font-fa,Estedad,Tahoma,sans-serif);
}
.kbm-gdb03-rental .kbm-gdb03-intro{
  display:grid;grid-template-columns:minmax(0,1fr) minmax(300px,0.94fr);
  gap:24px;align-items:center;padding:23px clamp(18px,2.8vw,36px);
  border-radius:20px;background:linear-gradient(112deg,#164155,#092636 72%);color:#fff;
}
.kbm-gdb03-rental .kbm-gdb03-intro h1{font-size:clamp(23px,2.1vw,33px);line-height:1.55;font-weight:850;color:#fff;margin:7px 0}
.kbm-gdb03-rental .kbm-gdb03-intro p{font-size:13px;line-height:1.9;color:#d9e9ee;margin:0}
.kbm-gdb03-rental .kbm-gdb03-eyebrow{font-size:12px;font-weight:800;color:#ffdc62}
.kbm-gdb03-search{display:flex;align-items:stretch;gap:7px;padding:6px;background:#fff;border-radius:12px;box-shadow:0 6px 18px #0002;min-width:0}
.kbm-gdb03-search input[type=search]{flex:1;min-width:0;min-height:43px;border:0;background:transparent;color:#102f42;padding:0 12px;font:inherit;font-size:14px;outline-offset:2px}
.kbm-gdb03-search button{min-width:104px;min-height:43px;background:var(--gdb-yellow);border:0;border-radius:8px;color:#092636;font:inherit;font-weight:850;cursor:pointer}
.kbm-gdb03-search button:hover{background:#ffde65}
.kbm-gdb03-rental .kbm-ads-recode-toolbar{background:transparent;padding:0 1px}
.kbm-gdb03-toolbar-left{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.kbm-gdb03-view{display:inline-flex;align-items:center;gap:3px;padding:3px;border:1px solid var(--gdb-line);border-radius:10px;background:#fff}
.kbm-gdb03-view button{min-height:34px;padding:2px 12px;background:transparent;border:0;border-radius:7px;color:var(--gdb-navy);font:inherit;font-size:12px;font-weight:800;cursor:pointer}
.kbm-gdb03-view button[aria-pressed=true]{background:#0b2a3b;color:#fff}
.kbm-gdb03-active{display:flex;align-items:center;gap:14px;flex-wrap:wrap;background:#f3f7f9;border:1px solid var(--gdb-line);padding:10px 14px;border-radius:12px}
.kbm-gdb03-active>strong{font-size:12px;color:var(--gdb-navy)}
.kbm-gdb03-active__items{display:flex;gap:7px;flex-wrap:wrap}
.kbm-gdb03-active__chip{display:inline-flex;align-items:center;gap:8px;max-width:100%;padding:6px 9px;border:1px solid #d3dfe4;border-radius:8px;background:#fff;color:var(--gdb-navy);font-size:12px;font-weight:700}
.kbm-gdb03-active__chip span:first-child{overflow-wrap:anywhere}
.kbm-gdb03-active__chip span:last-child{font-size:17px;line-height:1;color:#a5433e}
.kbm-gdb03-active__reset{display:inline-flex;align-items:center;padding:6px 9px;color:#9b3d2a;font-size:12px;font-weight:800}
.kbm-gdb03-rental .kbm-ads-recode-layout{grid-template-columns:minmax(255px,285px) minmax(0,1fr);gap:20px}
.kbm-gdb03-rental .kbm-ads-recode-filter{top:88px}
.kbm-gdb03-rental .kbm-ads-recode-filter-body{gap:0;padding:0;overflow:visible;box-shadow:0 5px 24px #09263609;border-radius:16px;border:1px solid var(--gdb-line)}
.kbm-gdb03-filter-head{display:flex;justify-content:space-between;align-items:center;padding:16px 17px 8px}
.kbm-gdb03-filter-head h2{font-size:17px;color:var(--gdb-navy);margin:0}
.kbm-gdb03-rental .kbm-ads-recode-filter-head{padding:0 17px 10px}
.kbm-gdb03-filter-group{display:grid;gap:10px;padding:14px 17px 17px;border-top:1px solid var(--gdb-line)}
.kbm-gdb03-filter-group>h3{font-size:13px;color:#1a3d50;margin:0;font-weight:850}
.kbm-gdb03-rental .kbm-ads-recode-field>span{font-size:12px}
.kbm-gdb03-rental .kbm-ads-recode-field :is(select,input){min-height:44px;border-radius:9px;font-size:13px}
.kbm-gdb03-rental .kbm-ads-recode-filter-actions{padding:13px 17px 16px;border-top:1px solid var(--gdb-line)}
.kbm-gdb03-rental .kbm-ads-recode-section--latest{min-width:0}
.kbm-gdb03-rental .kbm-ads-recode-section-head{margin-block-end:10px}
.kbm-gdb03-rental .kbm-ads-recode-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.kbm-gdb03-rental .kbm-gdb03-card{min-width:0;display:grid;grid-template-columns:minmax(112px,40%) minmax(0,1fr);gap:0;position:relative;overflow:hidden;background:var(--gdb-paper);border:1px solid var(--gdb-line);border-radius:15px;box-shadow:0 5px 22px #17374a0a;transition:border-color .16s,box-shadow .16s;color:var(--gdb-navy)}
.kbm-gdb03-rental .kbm-gdb03-card:hover{border-color:#b1c7ce;box-shadow:0 10px 30px #11354b20}
.kbm-gdb03-rental .kbm-gdb03-card.is-featured{border-color:#dfbe4e}
.kbm-gdb03-card__media{position:relative;background:#eef2f4;min-width:0;min-height:238px;overflow:hidden;isolation:isolate}
.kbm-gdb03-card__photo{display:block;position:absolute;inset:0;width:100%;height:100%;min-height:0;overflow:hidden}
.kbm-gdb03-card__image{display:block;width:100%;height:100%;max-width:none;max-height:none;object-fit:cover;object-position:center center}
.kbm-gdb03-card__placeholder{display:grid;place-items:center;text-align:center;min-height:238px;color:#536b7c;font-size:12px;padding:20px}
.kbm-gdb03-card__badges{position:absolute;z-index:1;top:10px;right:10px;left:8px;display:flex;flex-wrap:wrap;gap:4px;pointer-events:none}
.kbm-gdb03-card__badges span{background:#fff;border-radius:6px;padding:4px 6px;font-size:10px;font-weight:850;line-height:1.4;color:#193a4d;box-shadow:0 2px 9px #0002}
.kbm-gdb03-card__badges .kbm-gdb03-card__featured{background:#ffd23f;color:#202e36}
.kbm-gdb03-card__badges .kbm-gdb03-card__expired{background:#5c656d;color:#fff}
.kbm-gdb03-card__utilities{position:absolute;z-index:3;top:43px;left:9px;display:flex;gap:6px;flex-direction:column}
.kbm-gdb03-card__utilities :is(button,a){position:static;width:36px;min-width:36px;height:36px;min-height:36px;border:1px solid #dee7ea;border-radius:9px;background:#fff;color:#17374a;display:inline-flex;align-items:center;justify-content:center;font:inherit;font-size:13px;box-shadow:0 2px 12px #0002}
.kbm-gdb03-card__utilities :is(button,a):focus-visible{outline:3px solid #c99508;outline-offset:2px}
.kbm-gdb03-card__sample,.kbm-gdb03-card__photos{position:absolute;bottom:9px;padding:5px 8px;background:#0b2a3be9;border-radius:7px;color:#fff;font-size:10px;line-height:1.5;pointer-events:none}
.kbm-gdb03-card__sample{right:9px}.kbm-gdb03-card__photos{left:9px}
.kbm-gdb03-card__content{display:flex;flex-direction:column;gap:7px;min-width:0;padding:15px 14px}
.kbm-gdb03-card__category{font-size:10px;font-weight:800;color:#537082}
.kbm-gdb03-card__title{font-size:15px;font-weight:850;line-height:1.6;margin:0;min-height:0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.kbm-gdb03-card__title a{color:#102d40}
.kbm-gdb03-card__specs{padding:0;margin:2px 0 5px;list-style:none;display:grid;gap:5px}
.kbm-gdb03-card__specs li{display:flex;gap:7px;align-items:baseline;min-width:0;justify-content:space-between;border-bottom:1px dashed #e9eef1;padding-bottom:3px;font-size:11px;color:var(--gdb-muted,#526579)}
.kbm-gdb03-card__specs li span{flex:none;font-weight:500}
.kbm-gdb03-card__specs li strong{min-width:0;font-weight:700;font-size:11px;color:#273f4c;text-align:left;overflow-wrap:anywhere}
.kbm-gdb03-card__specs li:nth-child(n+4){display:none}
.kbm-gdb03-card__bottom{margin-top:auto;padding-top:9px;border-top:1px solid var(--gdb-line,#e1e7eb);display:flex;gap:8px;flex-wrap:wrap;align-items:end;justify-content:space-between}
.kbm-gdb03-card__price{display:grid;gap:2px;min-width:0}.kbm-gdb03-card__price span{font-size:10px;color:#677f8d}.kbm-gdb03-card__price strong{font-size:14px;line-height:1.45;color:#0b2a3b;overflow-wrap:anywhere}.kbm-gdb03-card__price small{font-size:10px;color:#677f8d;font-style:normal}
.kbm-gdb03-card__action{flex:none;min-height:35px;padding:6px 10px;background:#ffd23f;border-radius:8px;color:#102d40;font-size:11px;font-weight:850;display:inline-flex;gap:4px;align-items:center;justify-content:center}
.kbm-gdb03-card__action.is-disabled{background:#eef2f4;color:#647a87}
.kbm-gdb03-rental[data-kbm-gdb03-view=list] .kbm-ads-recode-grid{grid-template-columns:1fr}
.kbm-gdb03-rental[data-kbm-gdb03-view=list] .kbm-gdb03-card{grid-template-columns:minmax(170px,31%) minmax(0,1fr)}
.kbm-gdb03-rental[data-kbm-gdb03-view=list] .kbm-gdb03-card__specs li:nth-child(n+4){display:flex}
.kbm-gdb03-card:focus-within,.kbm-gdb03-active__chip:focus-visible,.kbm-gdb03-view button:focus-visible{outline:2px solid #b58f0b;outline-offset:2px}
@media(max-width:1150px){.kbm-gdb03-rental .kbm-ads-recode-grid{grid-template-columns:1fr}.kbm-gdb03-rental .kbm-gdb03-card{grid-template-columns:minmax(145px,34%) minmax(0,1fr)}}
@media(max-width:991px){
 .kbm-gdb03-rental .kbm-ads-recode-layout{grid-template-columns:minmax(0,1fr)}
 .kbm-gdb03-rental .kbm-ads-recode-filter{position:relative;top:auto}
 .kbm-gdb03-rental .kbm-ads-recode-filter-body{max-height:calc(100vh - 130px);overflow-y:auto}
 .kbm-gdb03-rental .kbm-ads-recode-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .kbm-gdb03-rental .kbm-gdb03-card{grid-template-columns:minmax(0,1fr)}
 .kbm-gdb03-card__media,.kbm-gdb03-card__photo{height:auto;min-height:0;aspect-ratio:16/10}
}
@media(max-width:690px){
 .kbm-gdb03-rental.kbm-ads-recode{padding:12px 12px 82px}
 .kbm-gdb03-rental .kbm-gdb03-intro{grid-template-columns:1fr;padding:17px;border-radius:16px;gap:13px}
 .kbm-gdb03-rental .kbm-ads-recode-grid{grid-template-columns:1fr;gap:11px}
 .kbm-gdb03-rental .kbm-gdb03-card{grid-template-columns:132px minmax(0,1fr);min-height:202px;border-radius:13px}
 .kbm-gdb03-card__media,.kbm-gdb03-card__photo{height:100%;min-height:202px;aspect-ratio:auto}
 .kbm-gdb03-card__content{padding:12px 10px;gap:5px}
 .kbm-gdb03-card__title{font-size:13px}
 .kbm-gdb03-card__specs{gap:3px}
 .kbm-gdb03-card__specs li{font-size:10px;gap:4px}.kbm-gdb03-card__specs li strong{font-size:10px}
 .kbm-gdb03-card__specs li:nth-child(n+3){display:none}
 .kbm-gdb03-card__price strong{font-size:12px}
 .kbm-gdb03-card__action{min-height:34px;font-size:10px;padding:5px 8px}
 .kbm-gdb03-card__badges{top:6px;right:6px}.kbm-gdb03-card__badges span{font-size:9px}
 .kbm-gdb03-rental[data-kbm-gdb03-view=list] .kbm-gdb03-card{grid-template-columns:132px minmax(0,1fr)}
 .kbm-gdb03-rental[data-kbm-gdb03-view=list] .kbm-gdb03-card__specs li:nth-child(n+3){display:none}
 .kbm-gdb03-rental .kbm-gdb03-view{display:none}
}
@media(max-width:350px){.kbm-gdb03-rental .kbm-gdb03-card{grid-template-columns:106px minmax(0,1fr)}.kbm-gdb03-card__specs li{font-size:9px}.kbm-gdb03-card__action{min-width:0}}
@media(prefers-reduced-motion:reduce){.kbm-gdb03-card{transition:none}}

/* GDB-03-HF01: rental archive only — image frame, heading contrast, one mobile nav. */
.kbm-gdb03-rental .kbm-gdb03-card__media > .kbm-gdb03-card__photo{
  position:absolute;inset:0;display:block;width:100%;height:100%;min-height:0;
}
.kbm-gdb03-rental .kbm-gdb03-card__photo > .kbm-gdb03-card__image{
  display:block;width:100%;height:100%;max-width:none;max-height:none;
  object-fit:cover;object-position:50% 50%;
}
/* Older filter/theme authorities colored .kbm-vr-archive-title navy with !important.
   Override only the title inside the dark rental GDB03 hero. */
body .kbm-ads-recode.kbm-gdb03-rental .kbm-gdb03-intro h1.kbm-vr-archive-title{
  color:#fff!important;-webkit-text-fill-color:#fff!important;
  font-weight:850!important;text-shadow:none!important;opacity:1!important;
  margin:6px 0 9px!important;padding:0!important;border:0!important;background:none!important;
}
body .kbm-ads-recode.kbm-gdb03-rental .kbm-gdb03-intro .kbm-gdb03-eyebrow{
  color:#ffdc62!important;-webkit-text-fill-color:#ffdc62!important;opacity:1!important;
}
@media(max-width:980px){
  /* In this route the Theme five-item bar is the sole mobile nav. */
  body.kbm-gdb03-mobile-nav-ready :is(
    .kbm-mobile-bottom-nav,.kbm-app-bottom-nav,.kbm-pwa-bottom-nav,
    .kbm-app-mini-topbar,.kbm-mobile-app-nav,.kbm-bottom-nav,
    .kbm-f29-appbar,.kbm-dashboard-mobile-nav,.kbm-account-mobile-nav,
    nav[aria-label="ناوبری اصلی موبایل"]:not([data-kbm-theme-mobile-appbar])
  ){display:none!important;visibility:hidden!important;pointer-events:none!important}
  body.kbm-gdb03-mobile-nav-ready:not(.kbm-theme-menu-open):not(.kbm-theme-mobile-keyboard-open):not(.kbm-mobile-keyboard-open):not(.kbm-auth-modal-open):not(.kbm-mobile-app-drawer-open)
  #kbm-app-bar[data-kbm-theme-mobile-appbar]{
    position:fixed!important;display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;
    visibility:visible!important;opacity:1!important;pointer-events:auto!important;transform:none!important;
  }
  body.kbm-gdb03-mobile-nav-ready #kbm-app-bar[data-kbm-theme-mobile-appbar] > .kbm-quf-app-bar__item{
    display:flex!important;min-width:0!important;visibility:visible!important;opacity:1!important;
  }
}
