/* Kodner Auction Lots — catalog styling */
.kodner-auction-lots-grid{
  display:grid;
  gap:30px;
  margin:32px 0;
  align-items:stretch;
}
.kodner-auction-lots-grid.columns-1{grid-template-columns:1fr}
.kodner-auction-lots-grid.columns-2{grid-template-columns:repeat(2,minmax(0,1fr))}
.kodner-auction-lots-grid.columns-3{grid-template-columns:repeat(3,minmax(0,1fr))}
.kodner-auction-lots-grid.columns-4{grid-template-columns:repeat(4,minmax(0,1fr))}

.kodner-auction-lot-card{
  min-width:0;
  display:flex;
  flex-direction:column;
  height:100%;
  background:#fff;
  border:1px solid #dedede;
  border-radius:4px;
  overflow:hidden;
  box-shadow:0 2px 10px rgba(0,0,0,.06);
  transition:transform .18s ease,box-shadow .18s ease;
}
.kodner-auction-lot-card:hover{
  transform:translateY(-2px);
  box-shadow:0 7px 20px rgba(0,0,0,.10);
}

.kodner-lot-image{
  display:block;
  background:#f4f4f4;
  overflow:hidden;
  aspect-ratio:4/3;
}
.kodner-lot-image img{
  width:100%;
  height:100%;
  object-fit:contain;
  display:block;
  transition:transform .25s ease;
}
.kodner-auction-lot-card:hover .kodner-lot-image img{transform:scale(1.02)}

.kodner-lot-card-body{
  display:flex;
  flex-direction:column;
  flex:1;
  padding:18px 20px 20px;
}
.kodner-grid-lot-number,
.kodner-lot-number{
  font-size:.78rem;
  line-height:1.2;
  font-weight:800;
  letter-spacing:.10em;
  text-transform:uppercase;
  margin:0 0 7px;
  color:#C99A3A;
}
.kodner-lot-title{
  margin:0 0 9px;
  font-size:1.12rem;
  line-height:1.3;
  font-weight:700;
}
.kodner-lot-title a{
  color:inherit;
  text-decoration:none;
}
.kodner-lot-title a:hover{text-decoration:underline}

.kodner-auction-lot-details{
  margin:0 0 10px;
  line-height:1.5;
  font-size:.94rem;
}
.kodner-lot-artist{
  margin-bottom:6px;
  font-weight:600;
}
.kodner-lot-estimate,
.kodner-lot-starting-bid,
.kodner-lot-dimensions,
.kodner-lot-condition{
  margin-bottom:4px;
}
.kodner-lot-estimate span,
.kodner-lot-starting-bid span,
.kodner-lot-dimensions span,
.kodner-lot-condition span{
  font-weight:700;
}
.kodner-lot-starting-bid{color:#222}

.kodner-lot-excerpt{
  margin:4px 0 16px;
  font-size:.9rem;
  line-height:1.55;
  color:#555;
}
.kodner-lot-excerpt p{margin:0}


.kodner-lot-description-wrap{
  margin:4px 0 0;
}
.kodner-lot-description-wrap .kodner-lot-excerpt{
  margin:0 0 6px;
}
.kodner-lot-full-description{
  margin:0 0 6px;
  font-size:.9rem;
  line-height:1.55;
  color:#555;
}
.kodner-lot-full-description p{margin:0 0 .7em}
.kodner-lot-full-description p:last-child{margin-bottom:0}
.kodner-read-more{
  appearance:none;
  border:0;
  background:transparent;
  padding:0;
  margin:0;
  color:#C99A3A;
  font:inherit;
  font-size:.86rem;
  font-weight:700;
  text-decoration:underline;
  text-underline-offset:2px;
  cursor:pointer;
}
.kodner-read-more:hover,
.kodner-read-more:focus{opacity:.78}

.kodner-lot-actions{
  margin-top:12px;
  padding-top:0;
}
.kodner-view-lot,
.kodner-lot-bid-button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:42px;
  padding:10px 16px;
  border-radius:2px;
  text-decoration:none !important;
  font-size:.82rem;
  line-height:1;
  font-weight:800;
  letter-spacing:.055em;
  transition:opacity .18s ease,transform .18s ease;
}
.kodner-view-lot{
  background:#C99A3A;
  border:1px solid #C99A3A;
  color:#fff !important;
}
.kodner-lot-bid-button{
  background:#fff;
  border:1px solid #C99A3A;
  color:#C99A3A !important;
  margin:8px 8px 0 0;
}
.kodner-view-lot:hover,
.kodner-lot-bid-button:hover{
  opacity:.88;
  transform:translateY(-1px);
}

.kodner-no-lots,
.kodner-auction-grid-notice{
  padding:18px 20px;
  border:1px solid #ddd;
  background:#fafafa;
  border-radius:4px;
}

@media(max-width:980px){
  .kodner-auction-lots-grid.columns-3,
  .kodner-auction-lots-grid.columns-4{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:640px){
  .kodner-auction-lots-grid.columns-2,
  .kodner-auction-lots-grid.columns-3,
  .kodner-auction-lots-grid.columns-4{grid-template-columns:1fr}
  .kodner-auction-lots-grid{gap:22px}
  .kodner-lot-card-body{padding:16px}
}

/* Individual lot image gallery */
.kodner-lot-gallery-wrap{margin:34px 0 10px}
.kodner-lot-gallery-wrap h2{margin:0 0 16px;font-size:1.35rem}
.kodner-lot-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.kodner-lot-gallery-item{display:block;background:#f4f4f4;border:1px solid #e2e2e2;aspect-ratio:1/1;overflow:hidden}
.kodner-lot-gallery-item img{display:block;width:100%;height:100%;object-fit:contain}
@media(max-width:760px){.kodner-lot-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Catalog search and filtering */
.kodner-catalog-toolbar{
  display:grid;
  grid-template-columns:minmax(260px,1fr) minmax(190px,260px) auto auto;
  gap:12px;
  align-items:center;
  margin:28px 0 4px;
  padding:16px;
  background:#f7f7f7;
  border:1px solid #e0e0e0;
  border-radius:4px;
}
.kodner-catalog-search,
.kodner-catalog-category{
  width:100%;
  min-height:46px;
  padding:10px 13px;
  border:1px solid #cfcfcf;
  border-radius:3px;
  background:#fff;
  color:#222;
  font:inherit;
}
.kodner-catalog-search:focus,
.kodner-catalog-category:focus{
  outline:2px solid rgba(201,154,58,.22);
  outline-offset:1px;
  border-color:#C99A3A;
}
.kodner-catalog-clear{
  min-height:46px;
  padding:10px 16px;
  border:1px solid #C99A3A;
  border-radius:3px;
  background:#fff;
  color:#C99A3A;
  font-weight:700;
  cursor:pointer;
}
.kodner-catalog-clear:hover{background:#C99A3A;color:#fff}
.kodner-catalog-count{
  white-space:nowrap;
  font-size:.92rem;
  font-weight:700;
  text-align:right;
}
.kodner-catalog-no-results{
  margin:24px 0;
  padding:18px 20px;
  border:1px solid #ddd;
  background:#fafafa;
  border-radius:4px;
  text-align:center;
}
.kodner-auction-lot-card[hidden]{display:none !important}
.kodner-lot-category{
  display:inline-block;
  align-self:flex-start;
  margin:0 0 9px;
  padding:3px 8px;
  border-radius:999px;
  background:#F7F0DF;
  color:#C99A3A;
  font-size:.72rem;
  line-height:1.35;
  font-weight:700;
}
@media(max-width:900px){
  .kodner-catalog-toolbar{grid-template-columns:1fr 1fr}
  .kodner-catalog-count{text-align:left}
}
@media(max-width:600px){
  .kodner-catalog-toolbar{grid-template-columns:1fr}
  .kodner-catalog-count{text-align:left}
}


/* v1.8.3: equal-height cards and bottom-aligned VIEW LOT buttons */
.kodner-auction-lots-grid { align-items: stretch; }
.kodner-auction-lot-card {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
}
.kodner-auction-lot-card .kodner-lot-actions {
    margin-top: auto !important;
    padding-top: 12px !important;
}


/* v1.8.4: keep Read More close to VIEW LOT while bottom-aligning both */
.kodner-lot-card-body {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 1 auto !important;
}
.kodner-lot-description-wrap {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 1 auto !important;
}
.kodner-lot-description-wrap .kodner-read-more {
    margin-top: auto !important;
    align-self: flex-start;
}
.kodner-auction-lot-card .kodner-lot-actions {
    margin-top: 12px !important;
    padding-top: 0 !important;
}


/* v1.9.0 individual auction lot page */
.kodner-single-lot{max-width:1200px;margin:0 auto;}
.kodner-single-lot-grid{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(320px,.8fr);gap:48px;align-items:start;}
.kodner-single-lot-media{min-width:0;}
.kodner-main-image-link{display:block;background:#f5f5f5;text-align:center;}
.kodner-main-image{display:block;width:100%;height:auto;max-height:720px;object-fit:contain;background:#f5f5f5;}
.kodner-thumbnail-strip{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin-top:12px;}
.kodner-thumb{border:1px solid #ddd;background:#fff;padding:3px;cursor:pointer;}
.kodner-thumb img{display:block;width:100%;aspect-ratio:1/1;object-fit:cover;}
.kodner-thumb.is-active{border-color:#C99A3A;box-shadow:0 0 0 1px #C99A3A;}
.kodner-single-lot-number{font-size:14px;font-weight:700;letter-spacing:.08em;color:#C99A3A;text-transform:uppercase;margin-bottom:8px;}
.kodner-single-lot-title{font-size:clamp(28px,3vw,42px);line-height:1.15;margin:0 0 10px;}
.kodner-single-artist{font-size:18px;margin-bottom:24px;color:#555;}
.kodner-single-pricing{border-top:1px solid #ddd;border-bottom:1px solid #ddd;margin:20px 0 26px;}
.kodner-detail-row{display:flex;justify-content:space-between;gap:20px;padding:14px 0;border-bottom:1px solid #eee;}
.kodner-detail-row:last-child{border-bottom:0;}
.kodner-detail-row span{color:#666;}
.kodner-detail-row strong{font-size:18px;text-align:right;}
.kodner-detail-section{margin:22px 0;}
.kodner-detail-section h3{font-size:15px;text-transform:uppercase;letter-spacing:.05em;margin:0 0 6px;}
.kodner-detail-section p{margin:0;color:#444;}
.kodner-bid-online{display:inline-flex;align-items:center;justify-content:center;width:100%;padding:15px 22px;background:#C99A3A;color:#fff!important;text-decoration:none!important;font-weight:700;letter-spacing:.04em;text-transform:uppercase;border-radius:2px;}
.kodner-bid-online:hover{filter:brightness(.92);}
.kodner-single-description{margin-top:50px;padding-top:30px;border-top:1px solid #ddd;}
.kodner-single-description h2{font-size:24px;margin:0 0 14px;}
.kodner-description-content{font-size:17px;line-height:1.7;}
@media (max-width: 900px){
  .kodner-single-lot-grid{grid-template-columns:1fr;gap:28px;}
  .kodner-thumbnail-strip{grid-template-columns:repeat(4,minmax(0,1fr));}
}
@media (max-width: 600px){
  .kodner-thumbnail-strip{grid-template-columns:repeat(3,minmax(0,1fr));}
  .kodner-detail-row{align-items:flex-start;}
}


/* v1.9.1 tighter Category and Condition spacing */
.kodner-detail-category,
.kodner-detail-condition {
    margin: 14px 0 !important;
}
.kodner-detail-category h3,
.kodner-detail-condition h3 {
    margin: 0 0 2px !important;
    line-height: 1.2;
}
.kodner-detail-category p,
.kodner-detail-condition p,
.kodner-detail-condition p:first-child,
.kodner-detail-condition p:last-child {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}


/* v1.9.2 tighter Condition text spacing */
.kodner-detail-condition h3 {
    margin-bottom: 2px !important;
}
.kodner-condition-text {
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.45;
}
.kodner-condition-text p {
    margin: 0 !important;
    padding: 0 !important;
}


/* v1.9.3 lot number above main image */
.kodner-lot-number-above-image {
    display: block;
    font-weight: 800 !important;
    font-size: 18px;
    line-height: 1.2;
    margin: 0 0 10px;
    color: #C99A3A;
    letter-spacing: .04em;
}


/* v1.9.4 force bold lot number */
.kodner-lot-number-above-image,
.kodner-lot-number-above-image strong {
    font-weight: 900 !important;
}


/* v1.9.5 previous / next lot navigation */
.kodner-lot-navigation{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:20px;
    margin-top:42px;
    padding-top:24px;
    border-top:1px solid #ddd;
}
.kodner-lot-navigation a{
    display:block;
    text-decoration:none!important;
    border:1px solid #ddd;
    padding:14px 16px;
    background:#fff;
    transition:.2s ease;
}
.kodner-lot-navigation a:hover{
    border-color:#C99A3A;
}
.kodner-lot-nav-next{
    text-align:right;
}
.kodner-nav-label{
    display:block;
    font-size:12px;
    text-transform:uppercase;
    letter-spacing:.05em;
    color:#C99A3A;
    margin-bottom:3px;
}
.kodner-lot-navigation strong{
    font-size:16px;
    color:inherit;
}
@media (max-width:600px){
    .kodner-lot-navigation{
        grid-template-columns:1fr;
    }
    .kodner-lot-nav-next{
        text-align:left;
    }
}


/* v1.9.6 top previous / next navigation */
.kodner-lot-navigation-top{
    margin-top:0 !important;
    margin-bottom:24px;
    padding-top:0 !important;
    padding-bottom:14px;
    border-top:0 !important;
    border-bottom:1px solid #ddd;
}
.kodner-lot-navigation-top .kodner-lot-nav-prev{
    text-align:left;
}
.kodner-lot-navigation-top .kodner-lot-nav-next{
    text-align:right;
}


/* v1.9.7 compact previous/next immediately above lot title */
.kodner-title-navigation{
    display:grid;
    grid-template-columns:1fr 1fr;
    align-items:center;
    gap:20px;
    margin:0 0 14px;
    padding:0 0 10px;
    border-bottom:1px solid #ddd;
}
.kodner-title-navigation a{
    font-size:13px;
    font-weight:700;
    color:#C99A3A;
    text-decoration:none!important;
    text-transform:uppercase;
    letter-spacing:.04em;
}
.kodner-title-navigation a:hover{text-decoration:underline!important;}
.kodner-title-nav-prev{text-align:left;}
.kodner-title-nav-next{text-align:right;}

/* v1.10.1 black/white/gold catalog accents */
.kodner-grid-lot-number,
.kodner-lot-number,
.kodner-read-more,
.kodner-lot-category,
.kodner-detail-category h3,
.kodner-single-lot-number,
.kodner-lot-number-above-image,
.kodner-lot-number-above-image strong,
.kodner-nav-label,
.kodner-title-navigation a {
    color:#C99A3A !important;
}
.kodner-view-lot,
.kodner-bid-online {
    background:#C99A3A !important;
    border-color:#C99A3A !important;
    color:#fff !important;
}
.kodner-lot-bid-button,
.kodner-catalog-clear {
    border-color:#C99A3A !important;
    color:#C99A3A !important;
}
.kodner-lot-bid-button:hover,
.kodner-catalog-clear:hover {
    background:#C99A3A !important;
    color:#fff !important;
}
.kodner-lot-category {
    background:#F7F0DF !important;
}
.kodner-catalog-search:focus,
.kodner-catalog-category:focus {
    outline-color:rgba(201,154,58,.22) !important;
    border-color:#C99A3A !important;
}
.kodner-thumb.is-active,
.kodner-lot-navigation a:hover {
    border-color:#C99A3A !important;
}
.kodner-thumb.is-active {
    box-shadow:0 0 0 1px #C99A3A !important;
}


/* v1.10.2 Read More lighter-gold hover */
.kodner-read-more:hover,
.kodner-lot-read-more:hover,
.auction-lot-read-more:hover,
a.read-more:hover {
    color: #E2BC67 !important;
}


/* v1.11.0 Current Auction Highlights */
.kodner-current-auction-highlights{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:24px 16px;
}
.kodner-highlight-card{
    min-width:0;
}
.kodner-highlight-image{
    display:block;
    width:100%;
    aspect-ratio:4/3;
    max-height:140px;
    overflow:hidden;
    background:#f4f2ed;
}
.kodner-highlight-image img{
    width:100%;
    height:100%;
    display:block;
    object-fit:cover;
    transition:transform .25s ease;
}
.kodner-highlight-image:hover img{
    transform:scale(1.025);
}
.kodner-highlight-image-empty{
    min-height:180px;
}
.kodner-highlight-body{
    padding-top:10px;
}
.kodner-highlight-lot-number{
    color:#C99A3A;
    font-family:Montserrat,Arial,sans-serif;
    font-size:10px;
    font-weight:700;
    letter-spacing:.08em;
    text-transform:uppercase;
    margin-bottom:4px;
}
.kodner-highlight-title{
    font-family:"Cormorant Garamond",Georgia,serif;
    font-size:16px;
    line-height:1.2;
    margin:0 0 6px;
}
.kodner-highlight-title a{
    color:#0B0B0B;
    text-decoration:none;
}
.kodner-highlight-title a:hover{
    color:#C99A3A;
}
.kodner-highlight-estimate{
    color:#555;
    font-family:Montserrat,Arial,sans-serif;
    font-size:11px;
    margin-bottom:6px;
}
.kodner-highlight-estimate span{
    font-weight:600;
}
.kodner-highlight-view{
    color:#C99A3A !important;
    font-family:Montserrat,Arial,sans-serif;
    font-size:10px;
    font-weight:700;
    letter-spacing:.04em;
    text-decoration:none !important;
}
.kodner-highlight-view:hover{
    color:#E2BC67 !important;
}
.kodner-highlights-notice{
    padding:14px 16px;
    border:1px solid #E8E5DF;
    background:#F7F5F0;
}
@media (max-width:1024px){
    .kodner-current-auction-highlights{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
}
@media (max-width:600px){
    .kodner-current-auction-highlights{
        grid-template-columns:1fr;
        gap:26px;
    }
}


/* v1.11.3 Current Auction Highlights: smaller, uncropped images */
.kodner-highlight-image{
    width:150px !important;
    max-width:100% !important;
    height:120px !important;
    max-height:120px !important;
    aspect-ratio:auto !important;
    background:#f7f5f0;
    display:flex !important;
    align-items:center;
    justify-content:center;
}
.kodner-highlight-image img{
    width:100% !important;
    height:100% !important;
    object-fit:contain !important;
    object-position:center center !important;
}
.kodner-highlight-body{
    max-width:150px;
}
@media (max-width:1024px){
    .kodner-highlight-image,
    .kodner-highlight-body{
        width:100% !important;
        max-width:180px;
    }
}
@media (max-width:600px){
    .kodner-highlight-image,
    .kodner-highlight-body{
        max-width:220px;
    }
}


/* v1.11.4 Current Auction Highlights: tighten image/card columns */
@media (min-width:1025px){
    .kodner-current-auction-highlights{
        grid-template-columns:repeat(4,150px) !important;
        column-gap:12px !important;
        row-gap:24px !important;
        justify-content:start;
    }
}


/* v1.11.5 Current Auction Highlights: 6 columns x 2 rows on desktop */
@media (min-width:1025px){
    .kodner-current-auction-highlights{
        grid-template-columns:repeat(6,150px) !important;
        column-gap:12px !important;
        row-gap:24px !important;
        justify-content:start;
    }
}


/* v1.11.6 Current Auction Highlights: slightly more horizontal breathing room */
@media (min-width:1025px){
    .kodner-current-auction-highlights{
        grid-template-columns:repeat(6,150px) !important;
        column-gap:18px !important;
        row-gap:24px !important;
        justify-content:start;
    }
}


/* v1.11.7 Current Auction Highlights: tighter card text spacing */
.kodner-highlight-body{
    padding-top:6px !important;
}
.kodner-highlight-lot-number{
    margin-bottom:2px !important;
}
.kodner-highlight-title{
    margin-top:0 !important;
    margin-bottom:4px !important;
}
.kodner-highlight-estimate{
    margin-top:0 !important;
    margin-bottom:4px !important;
}
.kodner-highlight-view{
    margin-top:0 !important;
}


/* v1.11.8 Current Auction Highlights: equal-height cards and bottom-aligned View Lot */
.kodner-current-auction-highlights{
    align-items:stretch;
}
.kodner-highlight-card{
    display:flex;
    flex-direction:column;
    height:100%;
    padding-bottom:4px;
}
.kodner-highlight-body{
    display:flex;
    flex-direction:column;
    flex:1 1 auto;
    width:150px;
    max-width:150px;
    padding-top:6px !important;
}
.kodner-highlight-view{
    display:inline-block;
    margin-top:auto !important;
    padding-top:10px;
    align-self:flex-start;
}



/* v1.11.9 Current Auction Highlights responsive layout */

/* Wide desktop: keep the approved 6 x 2 layout. */
@media (min-width:1200px){
    .kodner-current-auction-highlights{
        grid-template-columns:repeat(6,150px) !important;
        column-gap:18px !important;
        row-gap:24px !important;
        justify-content:start;
    }
    .kodner-highlight-card,
    .kodner-highlight-body{
        width:150px !important;
        max-width:150px !important;
    }
    .kodner-highlight-image{
        width:150px !important;
        height:120px !important;
        max-width:150px !important;
        max-height:120px !important;
    }
}

/* Smaller desktops / tablets: 3 columns. */
@media (min-width:768px) and (max-width:1199px){
    .kodner-current-auction-highlights{
        grid-template-columns:repeat(3,minmax(0,1fr)) !important;
        column-gap:18px !important;
        row-gap:24px !important;
        width:100%;
    }
    .kodner-highlight-card,
    .kodner-highlight-body{
        width:100% !important;
        max-width:none !important;
        min-width:0;
    }
    .kodner-highlight-image{
        width:100% !important;
        max-width:150px !important;
        height:auto !important;
        min-height:100px;
        aspect-ratio:5 / 4 !important;
    }
}

/* Phones: 2 columns while there is room. */
@media (min-width:480px) and (max-width:767px){
    .kodner-current-auction-highlights{
        grid-template-columns:repeat(2,minmax(0,1fr)) !important;
        column-gap:16px !important;
        row-gap:22px !important;
        width:100%;
    }
    .kodner-highlight-card,
    .kodner-highlight-body{
        width:100% !important;
        max-width:none !important;
        min-width:0;
    }
    .kodner-highlight-image{
        width:100% !important;
        max-width:150px !important;
        height:auto !important;
        aspect-ratio:5 / 4 !important;
    }
}

/* Small phones: one clean column. */
@media (max-width:479px){
    .kodner-current-auction-highlights{
        grid-template-columns:1fr !important;
        row-gap:24px !important;
        width:100%;
    }
    .kodner-highlight-card{
        width:100% !important;
        max-width:220px !important;
    }
    .kodner-highlight-body{
        width:100% !important;
        max-width:220px !important;
    }
    .kodner-highlight-image{
        width:100% !important;
        max-width:220px !important;
        height:auto !important;
        aspect-ratio:5 / 4 !important;
    }
}

/* Keep all highlight images fully visible at every breakpoint. */
.kodner-current-auction-highlights .kodner-highlight-image img{
    object-fit:contain !important;
    object-position:center center !important;
}

/* v1.12.0 boxed-container fix */
@media (min-width:1200px){
  .kodner-current-auction-highlights{
    grid-template-columns:repeat(6,minmax(0,1fr)) !important;
    column-gap:18px !important;
    row-gap:24px !important;
    width:100% !important;
    max-width:100% !important;
    overflow:hidden;
  }
  .kodner-highlight-card,
  .kodner-highlight-body{
    width:100% !important;
    max-width:none !important;
    min-width:0 !important;
  }
  .kodner-highlight-image{
    width:100% !important;
    max-width:150px !important;
    height:auto !important;
    max-height:none !important;
    aspect-ratio:5 / 4 !important;
  }
  .kodner-highlight-image img{
    width:100% !important;
    height:100% !important;
    object-fit:contain !important;
  }
}


/* v1.12.1 Current Auction Highlights: cleaner lot-title typography */
.kodner-highlight-title{
    font-family:Montserrat,Arial,sans-serif !important;
    font-size:13px !important;
    font-weight:500 !important;
    line-height:1.3 !important;
    letter-spacing:0 !important;
}

/* v1.12.2 Current Auction Highlights: 12px lot titles */
.kodner-highlight-title{
    font-size:12px !important;
}


/* v1.14.3 Homepage Current Auction Highlights */
.kodner-home-highlights-section{
    width:100%;
}
.kodner-home-section-heading{
    text-align:center;
    margin:0 0 22px;
}
.kodner-home-section-heading h2{
    margin:0 0 5px !important;
    font-size:24px !important;
    line-height:1.15 !important;
    font-weight:600 !important;
}
.kodner-home-section-subtitle{
    color:#C99A3A;
    font-size:14px;
    line-height:1.3;
    font-weight:500;
    letter-spacing:.02em;
}
.kodner-home-section-subtitle span{
    padding:0 6px;
}

.kodner-current-auction-highlights{
    display:grid !important;
    grid-template-columns:repeat(4,minmax(0,1fr)) !important;
    column-gap:24px !important;
    row-gap:34px !important;
    width:100% !important;
    max-width:100% !important;
    box-sizing:border-box !important;
    border-left:1px solid #E6E1D8;
    border-right:1px solid #E6E1D8;
    padding:20px 18px 28px !important;
    align-items:stretch;
}
.kodner-current-auction-highlights .kodner-highlight-card{
    width:100% !important;
    max-width:none !important;
    min-width:0 !important;
    display:flex !important;
    flex-direction:column !important;
    height:100% !important;
}
.kodner-current-auction-highlights .kodner-highlight-image{
    width:100% !important;
    max-width:285px !important;
    height:225px !important;
    max-height:225px !important;
    aspect-ratio:auto !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    margin:0 auto !important;
    background:#F7F5F0;
    overflow:hidden;
}
.kodner-current-auction-highlights .kodner-highlight-image img{
    width:100% !important;
    height:100% !important;
    object-fit:contain !important;
    object-position:center center !important;
}
.kodner-current-auction-highlights .kodner-highlight-body{
    width:100% !important;
    max-width:285px !important;
    margin:0 auto !important;
    display:flex !important;
    flex-direction:column !important;
    flex:1 1 auto !important;
    padding-top:8px !important;
}
.kodner-current-auction-highlights .kodner-highlight-view{
    margin-top:auto !important;
    padding-top:10px !important;
}

@media (max-width:1024px){
    .kodner-current-auction-highlights{
        grid-template-columns:repeat(2,minmax(0,1fr)) !important;
        column-gap:24px !important;
        row-gap:28px !important;
        padding:18px !important;
    }
    .kodner-current-auction-highlights .kodner-highlight-image,
    .kodner-current-auction-highlights .kodner-highlight-body{
        max-width:330px !important;
    }
    .kodner-current-auction-highlights .kodner-highlight-image{
        height:255px !important;
        max-height:255px !important;
    }
}

@media (max-width:600px){
    .kodner-home-section-heading h2{
        font-size:21px !important;
    }
    .kodner-home-section-subtitle{
        font-size:13px;
    }
    .kodner-current-auction-highlights{
        grid-template-columns:1fr !important;
        row-gap:26px !important;
        padding:16px 14px 20px !important;
    }
    .kodner-current-auction-highlights .kodner-highlight-card{
        max-width:360px !important;
        margin:0 auto !important;
    }
    .kodner-current-auction-highlights .kodner-highlight-image,
    .kodner-current-auction-highlights .kodner-highlight-body{
        max-width:340px !important;
    }
    .kodner-current-auction-highlights .kodner-highlight-image{
        height:270px !important;
        max-height:270px !important;
    }
}


/* v1.14.4 Full-width cream background for Current Auction Highlights */
.kodner-home-highlights-section{
    position:relative !important;
    z-index:0;
    isolation:isolate;
    background:transparent !important;
}

.kodner-home-highlights-section::before{
    content:"";
    position:absolute;
    top:0;
    bottom:0;
    left:50%;
    width:100vw;
    transform:translateX(-50%);
    background:#F7F5F0;
    z-index:-1;
    pointer-events:none;
}

/* Keep the heading and 4x3 lot grid above the full-width background */
.kodner-home-highlights-section > *{
    position:relative;
    z-index:1;
}


/* v1.14.5 Tight full-width background height */
.kodner-home-highlights-section{
    position:relative !important;
    background:#F7F5F0 !important;
    box-shadow:0 0 0 100vmax #F7F5F0;
    clip-path:inset(0 -100vmax);
    isolation:auto !important;
}

/* Disable the older full-bleed pseudo background from v1.14.4 */
.kodner-home-highlights-section::before{
    display:none !important;
    content:none !important;
}

/* Keep section spacing tight around heading/grid only */
.kodner-home-highlights-section{
    margin-top:0 !important;
    margin-bottom:0 !important;
    padding-top:0 !important;
    padding-bottom:0 !important;
}


/* v1.14.6 — let the parent Kadence row control the full-width cream background.
   This keeps the background height exactly equal to the complete 4x3 section. */

/* Turn off older inner-section full-bleed treatments. */
.kodner-home-highlights-section{
    background:transparent !important;
    box-shadow:none !important;
    clip-path:none !important;
}
.kodner-home-highlights-section::before{
    display:none !important;
    content:none !important;
}

/* Apply the cream to the actual Kadence row that contains the highlights block. */
.wp-block-kadence-rowlayout:has(.kodner-home-highlights-section){
    position:relative !important;
    background:#F7F5F0 !important;
    box-shadow:0 0 0 100vmax #F7F5F0 !important;
    clip-path:inset(0 -100vmax) !important;
    overflow:visible !important;
}

/* Keep the row's inner content above the bleed background. */
.wp-block-kadence-rowlayout:has(.kodner-home-highlights-section) > .kt-row-column-wrap{
    position:relative !important;
    z-index:1;
    background:transparent !important;
}


/* =========================================
   v1.15.0 Auction Landing Feature
   v1.19.11 Compact 50/50 desktop layout for the single-column auction page
   ========================================= */
.kodner-auction-landing-feature{
    width:100%;
    max-width:1200px;
    margin:0 auto 20px;
    padding:10px 0;
    display:grid;
    grid-template-columns:minmax(0, 1fr) minmax(0, 1fr);
    column-gap:44px;
    align-items:center;
    box-sizing:border-box;
}

.kodner-auction-landing-image-wrap{
    min-width:0;
    display:flex;
    justify-content:center;
}

.kodner-auction-landing-image{
    width:100%;
    max-width:520px;
    height:360px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:#F7F5F0;
    overflow:hidden;
    text-decoration:none;
}

.kodner-auction-landing-image img{
    width:100%;
    height:100%;
    object-fit:contain;
    object-position:center center;
    display:block;
}

.kodner-auction-landing-image-empty{
    min-height:360px;
}

.kodner-auction-landing-details{
    min-width:0;
    padding:0;
    text-align:left;
}

.kodner-auction-landing-date{
    margin:0 0 18px;
    font-size:13px;
    line-height:1.35;
    letter-spacing:.04em;
    color:#6A625B;
}

.kodner-auction-landing-title{
    margin:0 0 22px !important;
    font-size:20px !important;
    line-height:1.4 !important;
    font-weight:500 !important;
    color:#333;
}

.kodner-auction-landing-rule{
    width:100%;
    max-width:240px;
    height:1px;
    margin:0 0 20px;
    background:#DDD8CF;
}

.kodner-auction-landing-catalog{
    display:inline-block;
    font-size:12px;
    line-height:1.3;
    font-weight:600;
    letter-spacing:.04em;
    color:#C99A3A;
    text-decoration:none;
    transition:opacity .2s ease;
}

.kodner-auction-landing-catalog:hover{
    opacity:.7;
}

.kodner-auction-landing-notice{
    padding:18px;
    border:1px solid #DDD8CF;
    background:#F7F5F0;
}

/* Tablet */
@media (max-width:1024px){
    .kodner-auction-landing-feature{
        max-width:860px;
        grid-template-columns:minmax(0, 1.45fr) minmax(220px, .75fr);
        column-gap:36px;
        padding:20px;
    }

    .kodner-auction-landing-image{
        height:350px;
    }
}

/* Mobile */
@media (max-width:767px){
    .kodner-auction-landing-feature{
        grid-template-columns:1fr;
        gap:22px;
        margin-bottom:34px;
        padding:16px;
    }

    .kodner-auction-landing-image{
        max-width:100%;
        height:auto;
        min-height:280px;
    }

    .kodner-auction-landing-image img{
        height:auto;
        max-height:430px;
        object-fit:contain;
    }

    .kodner-auction-landing-details{
        text-align:center;
        padding:0 12px 8px;
    }

    .kodner-auction-landing-date{
        margin-bottom:10px;
    }

    .kodner-auction-landing-title{
        font-size:18px !important;
        margin-bottom:14px !important;
    }

    .kodner-auction-landing-rule{
        margin-left:auto;
        margin-right:auto;
        margin-bottom:15px;
    }
}


/* v1.15.1 Auction Landing Feature refinements */
.kodner-auction-landing-image-empty{
    background:
        linear-gradient(135deg, rgba(201,154,58,.08), rgba(247,245,240,.9)),
        #F7F5F0;
    border:1px solid #E6E1D8;
}


/* =========================================
   v1.16.0 Automatic Auction Listings
   ========================================= */
.kodner-auction-listing{
    width:100%;
}
.kodner-auction-listing-items{
    width:100%;
}
.kodner-auction-listing-item{
    display:grid;
    grid-template-columns:minmax(0,1.8fr) minmax(240px,.85fr);
    gap:64px;
    align-items:center;
    max-width:1080px;
    margin:0 auto 54px;
    padding:24px 0 36px;
    border-bottom:1px solid #E6E1D8;
}
.kodner-auction-listing-image a{
    display:flex;
    align-items:center;
    justify-content:center;
    width:100%;
    height:430px;
    background:#F7F5F0;
    overflow:hidden;
}
.kodner-auction-listing-image img{
    width:100%;
    height:100%;
    object-fit:contain;
    object-position:center;
}
.kodner-auction-listing-image-placeholder{
    display:block;
    width:100%;
    height:100%;
    background:#F7F5F0;
}
.kodner-auction-listing-date{
    margin:0 0 18px;
    font-size:13px;
    color:#6A625B;
    letter-spacing:.04em;
}
.kodner-auction-listing-title{
    margin:0 0 22px !important;
    font-size:20px !important;
    line-height:1.4 !important;
    font-weight:500 !important;
}
.kodner-auction-listing-rule{
    width:100%;
    max-width:240px;
    height:1px;
    margin:0 0 20px;
    background:#DDD8CF;
}
.kodner-auction-listing-catalog{
    color:#C99A3A;
    font-size:12px;
    font-weight:600;
    letter-spacing:.04em;
    text-decoration:none;
}
.kodner-auction-listing-empty{
    padding:24px;
    background:#F7F5F0;
    text-align:center;
}
@media(max-width:767px){
    .kodner-auction-listing-item{
        grid-template-columns:1fr;
        gap:22px;
        padding:16px;
        margin-bottom:34px;
    }
    .kodner-auction-listing-image a{
        height:auto;
        min-height:280px;
    }
    .kodner-auction-listing-image img{
        height:auto;
        max-height:430px;
    }
    .kodner-auction-listing-details{
        text-align:center;
    }
    .kodner-auction-listing-rule{
        margin-left:auto;
        margin-right:auto;
    }
}


/* v1.16.1 — Auction pages use the normal page background.
   Image areas are intentionally left unchanged. */
.kodner-auction-listing,
.kodner-auction-listing-items,
.kodner-auction-listing-item,
.kodner-auction-listing-details {
    background: transparent !important;
}

/* Empty-state message should also blend into the page. */
.kodner-auction-listing-empty {
    background: transparent !important;
}


/* v1.16.2 — remove cream fill from Auction Listing image frames */
.kodner-auction-listing-image,
.kodner-auction-listing-image a,
.kodner-auction-listing-image-placeholder {
    background: transparent !important;
}

/* Preserve the original auction image without adding a colored frame */
.kodner-auction-listing-image a {
    box-shadow: none !important;
}


/* v1.16.3 — remove cream fill from ALL auction feature/listing image frames */

/* Auction Landing Feature */
.kodner-auction-landing-image-wrap,
.kodner-auction-landing-image,
.kodner-auction-landing-image-empty {
    background: transparent !important;
}

.kodner-auction-landing-image {
    box-shadow: none !important;
}

/* Automatic Auction Listing */
.kodner-auction-listing-image,
.kodner-auction-listing-image a,
.kodner-auction-listing-image-placeholder {
    background: transparent !important;
    box-shadow: none !important;
}


/* =========================================
   v1.17.0 Auction Lots Grid shared banner
   ========================================= */
.kodner-auction-grid-banner{
    width:100vw;
    max-width:100vw;
    margin:-35px 0 30px calc(50% - 50vw);
    padding:0;
    line-height:0;
    overflow:hidden;
    box-sizing:border-box;
}

.kodner-auction-grid-banner img{
    display:block;
    width:100%;
    height:auto;
    margin:0;
    padding:0;
}

/* Slightly reduce the pull-up on smaller screens */
@media (max-width:1024px){
    .kodner-auction-grid-banner{
        margin-top:-20px;
        margin-bottom:24px;
    }
}

@media (max-width:600px){
    .kodner-auction-grid-banner{
        margin-top:-10px;
        margin-bottom:20px;
    }
}


/* =========================================
   v1.17.1 Auction Lots banner + dynamic date
   ========================================= */

/* Match the width of the lot-grid content instead of the browser viewport. */
.kodner-auction-grid-banner{
    width:100% !important;
    max-width:100% !important;
    margin:-35px 0 22px 0 !important;
    padding:0 !important;
    overflow:hidden;
    box-sizing:border-box;
    line-height:0;
}

.kodner-auction-grid-banner img{
    display:block;
    width:100% !important;
    max-width:100% !important;
    height:auto !important;
    margin:0 !important;
}

/* Auction date is generated from the selected Auction's date field. */
.kodner-auction-grid-title{
    margin:0 0 26px !important;
    padding:0 !important;
    text-align:center;
    font-size:30px !important;
    line-height:1.2 !important;
    font-weight:500 !important;
    color:#681428;
}

/* Hide the theme's duplicate title above the grid on single Auction pages. */
.single-auction .entry-header .entry-title,
.single-auction .entry-title{
    display:none !important;
}

@media (max-width:1024px){
    .kodner-auction-grid-banner{
        margin-top:-20px !important;
        margin-bottom:18px !important;
    }
    .kodner-auction-grid-title{
        font-size:26px !important;
        margin-bottom:22px !important;
    }
}

@media (max-width:600px){
    .kodner-auction-grid-banner{
        margin-top:-10px !important;
        margin-bottom:16px !important;
    }
    .kodner-auction-grid-title{
        font-size:22px !important;
        margin-bottom:18px !important;
    }
}

/* v1.19.7 Homepage Current Auction Highlights — pure white background */
.kodner-current-auction-highlights .kodner-highlight-image {
    background:#FFFFFF !important;
}

.wp-block-kadence-rowlayout:has(.kodner-home-highlights-section) {
    background:#FFFFFF !important;
    box-shadow:0 0 0 100vmax #FFFFFF !important;
}

/* v1.19.8 Homepage Current Auction Highlights — remove side borders and horizontal padding */
.kodner-current-auction-highlights {
    border-left:0 !important;
    border-right:0 !important;
    padding-left:0 !important;
    padding-right:0 !important;
}
