/* Lonsdales Blog Studio — front-end framing for generated post images and
 * lot highlight cards. Loaded ONLY on single posts created by the plugin
 * (gated by the _lbs_generated meta), so it adds nothing elsewhere. */

/* Centred column shared by the framed photo and the warm card so they line up. */
.lbs-lot-block {
    max-width: 720px;
    margin: 2.2rem auto;
    text-align: center;
}

/* Framed lot photo. Mat + soft shadow + on-brand caption. */
.entry-content .lbs-figure,
.lbs-figure {
    margin: 0 auto;
    max-width: 720px;
    background: #fff;
    padding: 8px;
    border: 1px solid #e8e0cc;
    border-radius: 6px;
    box-shadow: 0 4px 18px rgba(69, 78, 66, 0.10);
    box-sizing: border-box;
}
.lbs-figure a.lbs-photo-link,
.lbs-figure a {
    display: block;
    line-height: 0;
    text-decoration: none;
    border: none;
}
.lbs-figure img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 4px;
    transition: opacity 0.15s ease;
}
.lbs-figure a:hover img { opacity: 0.92; }
.lbs-figure figcaption,
.lbs-figure .wp-element-caption {
    margin: 10px 4px 2px;
    padding-top: 9px;
    border-top: 2px solid #c5b783;
    font-family: "Montserrat", system-ui, -apple-system, sans-serif;
    font-size: 13px;
    line-height: 1.5;
    color: #6b6b63;
    text-align: center;
}
/* Stock-image attribution sits on its own line, smaller and dimmer. */
.lbs-figure .lbs-caption { display: block; }
.lbs-figure .lbs-attribution {
    display: block;
    margin-top: 4px;
    font-size: 11px;
    color: #8a8a82;
}
.lbs-figure .lbs-attribution a { color: #8a8a82; text-decoration: underline; }
.lbs-figure .lbs-attribution a:hover { color: #ae3232; }

/* Warm highlight card — cream background, gold left edge, the friendly
 * replacement for the old spec table. Composed by the plugin so it always
 * uses real catalogue data. */
.entry-content .lbs-card,
.lbs-card {
    display: block;
    max-width: 720px;
    margin: 14px auto 0;
    background: #faf7f0;
    border: 1px solid #e8e0cc;
    border-left: 4px solid #c5b783;
    border-radius: 0 6px 6px 0;
    padding: 18px 22px;
    text-align: left;
    box-sizing: border-box;
}
.lbs-card .lbs-card-label {
    display: inline-block;
    font-family: "Montserrat", system-ui, -apple-system, sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #bfb488;
    margin-bottom: 4px;
}
.lbs-card .lbs-card-title {
    font-family: "EB Garamond", Georgia, serif;
    font-weight: 600;
    font-size: 24px;
    line-height: 1.25;
    color: #454e42;
    margin: 0 0 8px;
}
.lbs-card .lbs-card-title a,
.lbs-card .lbs-card-title-link {
    color: #454e42;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.15s ease, color 0.15s ease;
}
.lbs-card .lbs-card-title a:hover,
.lbs-card .lbs-card-title-link:hover {
    color: #ae3232;
    border-bottom-color: #c5b783;
}
.lbs-card .lbs-card-meta {
    font-family: "Montserrat", system-ui, -apple-system, sans-serif;
    font-size: 14px;
    line-height: 1.55;
    color: #3e3e3e;
    margin: 0 0 10px;
}
.lbs-card .lbs-card-est { color: #ae3232; font-weight: 600; }
.lbs-card .lbs-card-hammer { color: #454e42; font-weight: 600; }
.lbs-card .lbs-card-cta { margin: 6px 0 0; }
.lbs-card .lbs-card-cta a {
    font-family: "Montserrat", system-ui, -apple-system, sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: #c5b783;
    text-decoration: none;
    border-bottom: 1px solid transparent;
}
.lbs-card .lbs-card-cta a:hover {
    color: #ae3232;
    border-bottom-color: #ae3232;
}

/* Tablet */
@media (max-width: 1024px) {
    .lbs-lot-block,
    .lbs-figure,
    .lbs-card { max-width: 100%; }
}

/* Mobile */
@media (max-width: 600px) {
    .lbs-lot-block { margin: 1.6rem auto; }
    .lbs-figure { padding: 6px; border-radius: 5px; }
    .lbs-figure figcaption,
    .lbs-figure .wp-element-caption { font-size: 12px; padding-top: 7px; }
    .lbs-card { padding: 14px 16px; }
    .lbs-card .lbs-card-title { font-size: 20px; }
}
