/* LL2 0.6.240 — Business of the Day article page.
   Enqueued ONLY on BotD feature posts (body.ll2-botd-article). The theme
   still owns the template; the hero/measure rules below use the standard
   WordPress hooks a theme exposes for a single post (the wp-post-image
   class on the featured image, .entry-content on the content wrapper).
   A theme that renders neither hook keeps its own hero/measure — the
   info card, buttons, nominate box and prev/next (LL2's own markup)
   are styled unconditionally within the same body-class scope. */

body.ll2-botd-article img.wp-post-image,
body.ll2-botd-article .post-thumbnail img {
    display: block;
    width: 100%;
    max-height: 450px;
    object-fit: cover;
    object-position: center 70%;
}

body.ll2-botd-article .entry-content {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.75;
}

body.ll2-botd-article .entry-content p {
    line-height: 1.75;
}

/* Business info card (LL2 markup, inserted near the top of the content). */
.ll2-botd-info-card {
    border: 1px solid #d9e4ea;
    border-radius: 10px;
    background: #f7fafc;
    padding: 16px 18px;
    margin: 18px 0;
    font-family: Arial, sans-serif;
}

.ll2-botd-info-card__name {
    margin: 0 0 8px;
    font-size: 20px;
    line-height: 1.25;
    color: #17456a;
}

.ll2-botd-info-card__rows {
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 14px;
    line-height: 1.6;
    color: #334155;
}

.ll2-botd-info-card__rows li {
    margin: 2px 0;
}

.ll2-botd-info-card__rows a {
    color: #0b6fa4;
}

/* Generated links restyled as buttons. */
.ll2-botd-actions {
    display: inline-block;
    margin: 10px 10px 4px 0;
}

.ll2-botd-button {
    display: inline-block;
    padding: 10px 16px;
    border-radius: 6px;
    background: #0b6fa4;
    color: #ffffff !important;
    font-family: Arial, sans-serif;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none !important;
}

.ll2-botd-button--secondary {
    background: #ffffff;
    color: #0b6fa4 !important;
    border: 1px solid #0b6fa4;
}

/* Nominate-a-business box. */
.ll2-botd-nominate {
    border: 1px solid #d5e7ef;
    border-radius: 9px;
    background: #f4f9fc;
    padding: 16px 18px;
    margin: 22px 0;
    text-align: center;
    font-family: Arial, sans-serif;
}

.ll2-botd-nominate strong {
    display: block;
    font-size: 15px;
    color: #173b51;
    margin-bottom: 4px;
}

.ll2-botd-nominate span {
    display: block;
    font-size: 14px;
    line-height: 1.6;
    color: #334155;
    margin-bottom: 10px;
}

/* Previous / next Business of the Day. */
.ll2-botd-prevnext {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px;
    border-top: 1px solid #e2eaf0;
    margin-top: 24px;
    padding-top: 14px;
    font-family: Arial, sans-serif;
    font-size: 14px;
}

.ll2-botd-prevnext__link {
    color: #0b6fa4;
    font-weight: 600;
    text-decoration: none;
}

.ll2-botd-prevnext__link--next {
    margin-left: auto;
    text-align: right;
}
