/* Auction cards and auction detail page (2026 layout) */

.auction-btn {
    display: inline-block;
    background: #ed2a28;
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .5px;
    text-transform: uppercase;
    padding: 10px 22px;
    border: 2px solid #ed2a28;
    border-radius: 3px;
    line-height: 1.4;
    transition: background .2s, color .2s;
}
.auction-btn:hover,
.auction-btn:focus {
    background: #c81f1d;
    border-color: #c81f1d;
    color: #fff;
}
.auction-btn--outline {
    background: #fff;
    color: #ed2a28;
}
.auction-btn--outline:hover,
.auction-btn--outline:focus {
    background: #ed2a28;
    color: #fff;
}
.auction-btn--blue {
    background: #005cb9;
    border-color: #005cb9;
}
.auction-btn--blue:hover,
.auction-btn--blue:focus {
    background: #004a95;
    border-color: #004a95;
}

/* ---------- Section heading used by list pages and the detail page ---------- */
.auction-section-title {
    text-align: center;
    margin-bottom: 40px;
}
.auction-section-title h1,
.auction-section-title h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 32px;
    font-weight: 600;
    text-transform: uppercase;
    color: #1f1f1f;
    margin: 0 0 12px;
}
.auction-section-title:after {
    content: "";
    display: block;
    width: 100%;
    max-width: 640px;
    margin: 0 auto;
    border-top: 2px dotted #d9d9d9;
}
.auction-section-title p {
    margin-top: 12px;
}

/* ---------- Cards ---------- */
.auction-cards {
    max-width: 900px;
    margin: 0 auto;
}
.auction-card {
    background: #fff;
    border: 1px solid #e3e3e3;
    border-radius: 14px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, .08);
    margin-bottom: 30px;
    overflow: hidden;
}
.auction-card__image {
    display: block;
    background: #f5f5f5;
}
.auction-card__image img {
    display: block;
    width: 100%;
    height: auto;
    border: 1px solid #ddd;
}
.auction-card__body {
    padding: 22px 26px 26px;
}
.auction-card__location {
    font-family: 'Poppins', sans-serif;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: .5px;
    text-transform: uppercase;
    color: #ed2a28;
    margin-bottom: 8px;
}
.auction-card__title {
    font-family: 'Poppins', sans-serif;
    font-size: 19px;
    font-weight: 600;
    line-height: 1.3;
    color: #1f1f1f;
    margin: 0 0 8px;
}
.auction-card__title a {
    color: #1f1f1f;
}
.auction-card__title a:hover {
    color: #ed2a28;
}
.auction-card__format {
    font-weight: 700;
    font-size: 14px;
    color: #1f1f1f;
    margin-bottom: 8px;
}
.auction-card__date {
    color: #ed2a28;
    font-weight: 500;
    font-size: 14px;
    margin-bottom: 10px;
}
.auction-card__price {
    font-family: 'Poppins', sans-serif;
    color: #ed2a28;
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 10px;
}
.auction-card__sold {
    display: inline-block;
    background: #ed2a28;
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: .5px;
    padding: 6px 14px;
    border-radius: 3px;
    margin-bottom: 12px;
}
.auction-card__highlights {
    font-size: 14px;
    color: #555;
    margin-bottom: 14px;
}
.auction-card__highlights p,
.auction-card__highlights h1,
.auction-card__highlights h2,
.auction-card__highlights h3,
.auction-card__highlights h4 {
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #555;
    margin: 0 0 4px;
    line-height: 1.5;
}
.auction-card__highlights ul {
    list-style: disc;
    padding-left: 18px;
    margin: 0;
}
.auction-card__highlights li {
    margin-bottom: 2px;
}
.auction-card__actions {
    margin-top: 4px;
}
.auction-card__actions .auction-btn {
    margin: 6px 8px 0 0;
}

/* list style: image left, details right */
@media (min-width: 768px) {
    .auction-card--list {
        display: flex;
        align-items: stretch;
        padding: 12px;
    }
    .auction-card--list .auction-card__image {
        flex: 0 0 46%;
        max-width: 46%;
        display: flex;
        align-items: center;
        background: transparent;
    }
    .auction-card--list .auction-card__body {
        flex: 1 1 auto;
        padding: 10px 6px 10px 28px;
    }
}

/* grid style: two columns of stacked cards */
.auction-grid {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}
.auction-grid > .auction-grid__col {
    width: 100%;
    padding: 0 15px;
}
@media (min-width: 768px) {
    .auction-grid > .auction-grid__col {
        width: 50%;
    }
}
.auction-card--grid {
    padding: 14px;
    height: calc(100% - 30px);
}
.auction-card--grid .auction-card__image img {
    border: 1px solid #ddd;
}
.auction-card--grid .auction-card__body {
    padding: 18px 8px 8px;
}
.auction-card--grid .auction-card__location {
    text-align: center;
}

/* ---------- Detail page ---------- */
.auction-detail {
    padding: 50px 0 60px;
}
.auction-detail__head {
    text-align: center;
    margin-bottom: 30px;
}
.auction-detail__head h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 30px;
    font-weight: 700;
    line-height: 1.25;
    text-transform: uppercase;
    color: #1f1f1f;
    margin: 0 0 12px;
}
.auction-detail__head .auction-card__sold {
    font-size: 18px;
    padding: 8px 20px;
}
.auction-detail__intro {
    margin-bottom: 10px;
}
.auction-detail__meta {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 8px;
    color: #333;
}
.auction-detail__meta strong {
    color: #1f1f1f;
}
.auction-detail__meta--date {
    color: #ed2a28;
    font-weight: 700;
    font-size: 16px;
}
.auction-detail__meta--date strong {
    color: #ed2a28;
}
.auction-detail__highlights {
    margin: 14px 0 18px;
}
.auction-detail__highlights ul {
    list-style: disc;
    padding-left: 20px;
}
.auction-detail__highlights li {
    margin-bottom: 4px;
}
.auction-detail__actions .auction-btn {
    margin: 6px 8px 6px 0;
}
.auction-detail__featured {
    display: block;
    border: 1px solid #ddd;
    background: #fff;
    padding: 4px;
    margin-top: 6px;
}
.auction-detail__featured img {
    width: 100%;
    height: auto;
    display: block;
}
.auction-detail__rule {
    border: 0;
    border-top: 2px solid #ed2a28;
    margin: 30px 0 34px;
}
.auction-detail__section {
    margin-bottom: 34px;
}
.auction-detail__section h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: .5px;
    text-transform: uppercase;
    color: #1f1f1f;
    margin: 0 0 14px;
}
.auction-detail__section .rich-content {
    font-size: 15px;
    line-height: 1.7;
    color: #333;
}
.auction-detail__section .rich-content p {
    margin-bottom: 12px;
}
.auction-detail__note {
    font-size: 14px;
    color: #555;
    margin-bottom: 12px;
}
.auction-gallery {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -6px;
}
.auction-gallery__item {
    width: 50%;
    padding: 6px;
}
@media (min-width: 768px) {
    .auction-gallery__item {
        width: 33.3333%;
    }
}
.auction-gallery__item a {
    display: block;
    overflow: hidden;
    border: 1px solid #ddd;
    background: #f5f5f5;
}
.auction-gallery__item img {
    display: block;
    width: 100%;
    height: auto;
    transition: transform .4s;
}
.auction-gallery__item a:hover img {
    transform: scale(1.05);
}
.auction-gallery__caption {
    width: 100%;
    padding: 8px 6px 14px;
}
.auction-gallery__caption h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 17px;
    font-weight: 600;
    margin: 0 0 4px;
}
.auction-gallery__caption p {
    font-size: 14px;
    color: #555;
}
.auction-files {
    list-style: none;
    margin: 0;
    padding: 0;
}
.auction-files li {
    margin-bottom: 8px;
}
.auction-files a {
    display: inline-block;
    padding: 10px 16px;
    border: 1px solid #ddd;
    border-radius: 3px;
    color: #1f1f1f;
    font-weight: 500;
    background: #fafafa;
}
.auction-files a:hover {
    border-color: #ed2a28;
    color: #ed2a28;
}
.auction-files a .fa {
    color: #ed2a28;
    margin-right: 8px;
}
.auction-detail__agent {
    font-size: 15px;
    line-height: 1.6;
    color: #333;
    margin-bottom: 10px;
}
.auction-detail__agent strong {
    color: #1f1f1f;
}
.auction-detail__map {
    width: 100%;
    height: 450px;
}
.auction-detail__video {
    max-width: 900px;
}
.auction-detail__video iframe {
    max-width: 100%;
}
