.bl-guide {
    --green: #254d32;
    --dark: #183622;
    --soft: #edf4ed;
    --cream: #f7f5ee;
    --text: #252b27;
    --muted: #626b64;
    --border: #dce4dd;

    max-width: 1180px;
    margin: 0 auto;
    padding: 24px 26px 80px;
    color: var(--text);
    font-size: clamp(17px, 1.15vw, 19px);
    line-height: 1.72;
}

.bl-guide *,
.bl-guide *::before,
.bl-guide *::after {
    box-sizing: border-box;
}

.bl-guide p {
    margin: 0 0 1.25em;
}

.bl-guide h1,
.bl-guide h2,
.bl-guide h3 {
    color: var(--dark);
    line-height: 1.12;
}

.bl-guide h1 {
    max-width: 930px;
    margin: 10px 0 22px;
    font-size: clamp(38px, 6vw, 68px);
    letter-spacing: -.035em;
}

.bl-guide h2 {
    margin: 65px 0 22px;
    font-size: clamp(29px, 3.7vw, 44px);
    letter-spacing: -.02em;
    scroll-margin-top: 110px;
}

.bl-guide h3 {
    margin: 28px 0 12px;
    font-size: clamp(22px, 2.5vw, 29px);
}

.bl-eyebrow {
    margin: 15px 0 5px;
    color: var(--green);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.bl-lead {
    max-width: 830px;
    color: #465047;
    font-size: clamp(19px, 2vw, 24px);
    line-height: 1.55;
}

.bl-reading {
    margin-top: 20px;
    color: var(--muted);
    font-size: 14px;
}

/* IMAGE PLACEHOLDERS */

.bl-photo {
    position: relative;
    display: flex;
    overflow: hidden;
    min-height: 420px;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg,#dce8dc,#eff4ea);
    border-radius: 22px;
}

.bl-hero-photo {
    min-height: clamp(310px,52vw,610px);
    margin: 30px 0;
}

.bl-photo-placeholder {
    padding: 35px;
    color: #526255;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
}

.bl-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* QUICK NAV */

.bl-jump-wrap {
    position: sticky;
    z-index: 20;
    top: 0;
    margin: 30px -10px 45px;
    padding: 10px;
    background: rgba(255,255,255,.95);
    border-bottom: 1px solid rgba(0,0,0,.06);
    backdrop-filter: blur(10px);
}

.bl-jump {
    display: flex;
    gap: 9px;
    overflow-x: auto;
    scrollbar-width: none;
}

.bl-jump::-webkit-scrollbar {
    display: none;
}

.bl-jump a {
    flex: 0 0 auto;
    padding: 10px 15px;
    color: var(--dark);
    background: var(--soft);
    border-radius: 999px;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
}

.bl-jump a:hover,
.bl-jump a:focus {
    color: white;
    background: var(--green);
}

/* QUICK ANSWER */

.bl-answer {
    max-width: 900px;
    margin: 30px 0 45px;
    padding: 27px 30px;
    background: var(--cream);
    border-left: 5px solid var(--green);
    border-radius: 5px 18px 18px 5px;
}

/* TABLE */

.bl-table-wrap {
    overflow-x: auto;
    margin: 28px 0 50px;
    border: 1px solid var(--border);
    border-radius: 18px;
    -webkit-overflow-scrolling: touch;
}

.bl-table {
    width: 100%;
    min-width: 760px;
    border-collapse: collapse;
    font-size: 15px;
}

.bl-table th,
.bl-table td {
    padding: 15px 17px;
    border-bottom: 1px solid var(--border);
    text-align: left;
    vertical-align: top;
}

.bl-table th {
    color: white;
    background: var(--dark);
}

.bl-table tr:last-child td {
    border-bottom: 0;
}

/* PLANTS */

.bl-plant {
    display: grid;
    grid-template-columns: minmax(0,1fr) minmax(0,1fr);
    gap: clamp(35px,6vw,75px);
    align-items: center;
    margin: 70px 0;
}

.bl-plant.reverse .bl-photo {
    order: 2;
}

.bl-number {
    color: var(--green);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .12em;
}

.bl-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 17px 0 22px;
}

.bl-tag {
    padding: 7px 11px;
    color: var(--dark);
    background: var(--soft);
    border-radius: 7px;
    font-size: 13px;
    font-weight: 800;
}

/* CONDITIONS */

.bl-conditions {
    display: grid;
    grid-template-columns: repeat(4,minmax(0,1fr));
    gap: 14px;
    margin: 35px 0 55px;
}

.bl-condition {
    min-height: 175px;
    padding: 25px 21px;
    background: var(--soft);
    border-radius: 18px;
    transition: transform .3s ease, box-shadow .3s ease;
}

.bl-condition:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 34px rgba(19,54,32,.10);
}

.bl-condition strong {
    display: block;
    margin-bottom: 8px;
    color: var(--dark);
    font-size: 18px;
}

/* VILLAGE SECTION */

.bl-village {
    margin: 70px 0;
    padding: clamp(28px,5vw,55px);
    color: white;
    background: var(--dark);
    border-radius: 25px;
}

.bl-village h2,
.bl-village h3 {
    color: white;
}

.bl-village p {
    color: rgba(255,255,255,.92);
}

.bl-village li {
    margin-bottom: 12px;
}

/* WARNING */

.bl-warning {
    margin: 50px 0;
    padding: 28px;
    background: #fff7e6;
    border: 1px solid #ead7aa;
    border-radius: 18px;
}

/* FAQ */

.bl-faq {
    max-width: 860px;
}

.bl-faq details {
    margin: 0 0 10px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: white;
}

.bl-faq summary {
    padding: 18px 20px;
    color: var(--dark);
    cursor: pointer;
    font-weight: 800;
    line-height: 1.4;
}

.bl-faq details > div {
    padding: 0 20px 18px;
}

/* CTA */

.bl-cta {
    margin: 70px 0 20px;
    padding: clamp(30px,6vw,58px);
    color: white;
    background: var(--green);
    border-radius: 24px;
}

.bl-cta h2 {
    margin-top: 0;
    color: white;
}

.bl-button {
    display: inline-flex;
    min-height: 50px;
    align-items: center;
    margin-top: 10px;
    padding: 12px 22px;
    color: var(--dark) !important;
    background: white;
    border-radius: 9px;
    font-weight: 900;
    text-decoration: none !important;
}

/* ANIMATION */

.bl-reveal {
    opacity: 0;
    transform: translateY(26px);
    transition:
        opacity .65s ease,
        transform .65s ease;
}

.bl-reveal.bl-visible {
    opacity: 1;
    transform: translateY(0);
}

.bl-photo img {
    transform: scale(1.025);
    transition: transform 1.1s ease;
}

.bl-photo.bl-visible img {
    transform: scale(1);
}

/* TABLET */

@media (max-width:900px) {

    .bl-guide {
        padding-right: 21px;
        padding-left: 21px;
    }

    .bl-conditions {
        grid-template-columns: 1fr 1fr;
    }

    .bl-photo {
        min-height: 350px;
    }
}

/* MOBILE */

@media (max-width:700px) {

    .bl-guide {
        padding: 12px 17px 60px;
        font-size: 17px;
        line-height: 1.7;
    }

    .bl-guide h1 {
        font-size: clamp(35px,10vw,46px);
        line-height: 1.05;
    }

    .bl-guide h2 {
        margin-top: 50px;
        font-size: 30px;
        line-height: 1.12;
    }

    .bl-guide h3 {
        font-size: 23px;
    }

    .bl-lead {
        font-size: 19px;
    }

    .bl-hero-photo {
        margin-right: -17px;
        margin-left: -17px;
        border-radius: 0;
    }

    .bl-jump-wrap {
        margin-right: -17px;
        margin-left: -17px;
        padding-right: 17px;
        padding-left: 17px;
    }

    .bl-answer {
        padding: 22px 20px;
    }

    .bl-plant,
    .bl-plant.reverse {
        display: flex;
        flex-direction: column;
        gap: 22px;
        margin: 50px 0 60px;
    }

    .bl-plant.reverse .bl-photo {
        order: initial;
    }

    .bl-photo {
        width: 100%;
        min-height: 330px;
    }

    .bl-conditions {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .bl-condition {
        min-height: 150px;
        padding: 18px 16px;
        font-size: 15px;
    }

    .bl-village {
        border-radius: 18px;
    }

    .bl-cta {
        border-radius: 18px;
    }
}

@media (max-width:420px) {

    .bl-conditions {
        grid-template-columns: 1fr;
    }

    .bl-condition {
        min-height: auto;
    }
}

/* ACCESSIBILITY */

@media (prefers-reduced-motion:reduce) {

    .bl-reveal,
    .bl-photo img,
    .bl-condition {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}

/* Wikimedia image attribution */

.bl-photo-credit {
    position: absolute;
    z-index: 3;
    right: 0;
    bottom: 0;
    left: 0;
    margin: 0;
    padding: 8px 12px;
    color: #fff;
    background: rgba(0,0,0,.66);
    font-size: 11px;
    line-height: 1.35;
}

.bl-photo-credit a {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 2px;
}

@media (max-width:700px) {

    .bl-photo-credit {
        padding: 7px 10px;
        font-size: 10px;
    }
}

/* =========================================================
 * WORDPRESS EDITOR ONLY
 * Keep animated content visible inside Gutenberg.
 * Front-end scroll animation remains unchanged.
 * ========================================================= */

.editor-styles-wrapper .bl-reveal,
.editor-styles-wrapper .bl-photo,
.editor-styles-wrapper .bl-reveal.bl-visible,
.editor-styles-wrapper .bl-photo.bl-visible {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
}

.editor-styles-wrapper .bl-photo img,
.editor-styles-wrapper .bl-photo.bl-visible img {
    transform: none !important;
    transition: none !important;
}

.editor-styles-wrapper .bl-condition {
    transform: none !important;
    transition: none !important;
}

/* =========================================================
 * POST 1432 FRONT-END LAYOUT FIX
 * Widen article and remove duplicate theme post header
 * ========================================================= */

/* Hide theme-generated duplicate title / author / date */
body.postid-1432 .entry-header,
body.postid-1432 .page-header {
    display: none !important;
}

/*
 * Remove narrow single-post constraints.
 * Scoped ONLY to this article.
 */

body.postid-1432 .site-content,
body.postid-1432 .site-main,
body.postid-1432 .content-area,
body.postid-1432 .entry-content,
body.postid-1432 .page-content,
body.postid-1432 article.post-1432,
body.postid-1432 .inside-article {
    width: 100% !important;
    max-width: none !important;
}

body.postid-1432 .site-main {
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Main article canvas */
body.postid-1432 .bl-guide {
    width: min(1240px, calc(100% - 48px));
    max-width: 1240px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 0;
    padding-right: 0;
}

/*
 * Keep normal reading copy from becoming too wide,
 * while photos, tables and feature sections can use
 * the wider article canvas.
 */

body.postid-1432 .bl-guide > section:not(.bl-plant):not(.bl-conditions):not(.bl-village):not(.bl-cta),
body.postid-1432 .bl-guide > header {
    width: 100%;
}

body.postid-1432 .bl-guide > section:not(.bl-plant):not(.bl-conditions):not(.bl-village):not(.bl-cta) > p,
body.postid-1432 .bl-guide > section:not(.bl-plant):not(.bl-conditions):not(.bl-village):not(.bl-cta) > h2,
body.postid-1432 .bl-guide > section:not(.bl-plant):not(.bl-conditions):not(.bl-village):not(.bl-cta) > h3 {
    max-width: 820px;
}

/* Tone down the oversized desktop H1 */
body.postid-1432 .bl-guide h1 {
    max-width: 980px;
    font-size: clamp(42px, 4.4vw, 58px);
}

/* Reduce unnecessary vertical space at top */
body.postid-1432 .bl-guide {
    padding-top: 22px;
}

@media (max-width: 700px) {

    body.postid-1432 .bl-guide {
        width: 100%;
        padding-left: 17px;
        padding-right: 17px;
    }

    body.postid-1432 .bl-guide h1 {
        font-size: clamp(34px, 9.5vw, 43px);
    }
}

/* =========================================================
 * POST 1432: BREAK OUT OF NARROW THEME CONTENT COLUMN
 * ========================================================= */

body.postid-1432 .bl-guide {
    position: relative !important;
    left: 50% !important;

    width: min(1240px, calc(100vw - 64px)) !important;
    max-width: none !important;

    margin-left: 0 !important;
    margin-right: 0 !important;

    transform: translateX(-50%) !important;

    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* Keep the article canvas clean */
body.postid-1432 .bl-guide {
    background: #ffffff;
}

/* Keep the hero/introduction visually contained */
body.postid-1432 .bl-guide > header {
    width: 100%;
}

/* Comfortable reading width for normal paragraphs */
body.postid-1432 .bl-guide > section:not(.bl-plant):not(.bl-village):not(.bl-conditions):not(.bl-cta) > p {
    max-width: 820px;
}

/* Full-width visual elements */
body.postid-1432 .bl-hero-photo,
body.postid-1432 .bl-table-wrap,
body.postid-1432 .bl-conditions,
body.postid-1432 .bl-village,
body.postid-1432 .bl-cta {
    width: 100%;
    max-width: none;
}

/* MOBILE */
@media (max-width:700px) {

    body.postid-1432 .bl-guide {
        left: 50% !important;
        width: calc(100vw - 28px) !important;
        transform: translateX(-50%) !important;

        padding-left: 0 !important;
        padding-right: 0 !important;
    }

}

/* ---------------------------------------------------------
 * Move photo credits below images, not on top of them
 * --------------------------------------------------------- */

.bl-photo {
    overflow: visible;
}

.bl-photo-credit {
    position: static !important;
    display: block;
    margin-top: 10px;
    padding: 0 !important;
    background: none !important;
    color: #667061 !important;
    font-size: 12px;
    line-height: 1.45;
}

.bl-photo-credit a {
    color: #667061 !important;
    text-decoration: underline;
    text-underline-offset: 2px;
}

@media (max-width: 700px) {
    .bl-photo-credit {
        font-size: 11px;
        margin-top: 8px;
    }
}

/* ---------------------------------------------------------
 * FIX FIGURE + CAPTION LAYOUT
 * --------------------------------------------------------- */

figure.bl-photo {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    min-height: 0 !important;
    overflow: visible !important;
    background: transparent !important;
    border-radius: 0 !important;
}

figure.bl-photo img {
    display: block;
    width: 100% !important;
    height: auto !important;
    border-radius: 22px;
    object-fit: cover;
}

figure.bl-hero-photo img {
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

figure.bl-photo .bl-photo-credit {
    position: static !important;
    display: block !important;
    width: 100% !important;
    margin: 8px 0 0 !important;
    padding: 0 !important;
    background: transparent !important;
    color: #667061 !important;
    font-size: 11px !important;
    line-height: 1.4 !important;
    text-align: left !important;
}

figure.bl-photo .bl-photo-credit a {
    color: #667061 !important;
}

@media (max-width:700px) {

    figure.bl-photo img {
        border-radius: 14px;
    }

    figure.bl-photo .bl-photo-credit {
        font-size: 10px !important;
    }
}

/* =========================================================
 * EXPERT GARDEN GUIDE COMPONENTS
 * ========================================================= */

.bl-guide-intro {
    max-width: 850px;
}

.bl-expert-note {
    margin: 32px 0;
    padding: 25px 28px;
    background: #f4f7ef;
    border: 1px solid #d9e4d6;
    border-radius: 18px;
}

.bl-expert-note strong {
    color: #183622;
}

.bl-pro-tip {
    margin: 28px 0;
    padding: 22px 25px;
    background: #edf4ed;
    border-left: 5px solid #254d32;
    border-radius: 5px 16px 16px 5px;
}

.bl-pro-tip strong {
    display: block;
    margin-bottom: 5px;
    color: #183622;
}

.bl-spec-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 10px;
    margin: 20px 0 27px;
}

.bl-spec {
    padding: 15px;
    background: #f6f7f3;
    border-radius: 12px;
}

.bl-spec-label {
    display: block;
    margin-bottom: 4px;
    color: #687269;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.bl-spec strong {
    color: #183622;
    font-size: 15px;
}

.bl-section-rule {
    width: 65px;
    height: 4px;
    margin: 12px 0 26px;
    background: #48b72b;
    border-radius: 10px;
}

.bl-decision-grid {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 16px;
    margin: 28px 0 45px;
}

.bl-decision-card {
    padding: 25px;
    background: #f7f8f4;
    border: 1px solid #e0e7df;
    border-radius: 16px;
}

.bl-decision-card h3 {
    margin: 0 0 9px;
    font-size: 20px;
}

.bl-decision-card p:last-child {
    margin-bottom: 0;
}

.bl-reality-check {
    margin: 42px 0;
    padding: 30px;
    color: #fff;
    background: #24452e;
    border-radius: 20px;
}

.bl-reality-check h2,
.bl-reality-check h3 {
    color: #fff;
}

.bl-reality-check p,
.bl-reality-check li {
    color: rgba(255,255,255,.92);
}

.bl-reality-check strong {
    color: #fff;
}

.bl-season {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin: 26px 0;
}

.bl-season-box {
    padding: 24px;
    border: 1px solid #dce4dd;
    border-radius: 16px;
}

.bl-season-box h3 {
    margin-top: 0;
}

.bl-checklist {
    margin: 28px 0;
    padding: 26px 30px;
    background: #f8f6ef;
    border-radius: 18px;
}

.bl-checklist li {
    margin-bottom: 10px;
}

.bl-source-list {
    font-size: 15px;
    line-height: 1.6;
}

.bl-source-list li {
    margin-bottom: 10px;
}

.bl-small-note {
    color: #687269;
    font-size: 14px;
}

@media (max-width: 800px) {

    .bl-spec-grid {
        grid-template-columns: 1fr 1fr;
    }

    .bl-decision-grid,
    .bl-season {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 500px) {

    .bl-spec-grid {
        grid-template-columns: 1fr;
    }

    .bl-expert-note,
    .bl-pro-tip,
    .bl-reality-check,
    .bl-checklist {
        padding: 20px;
    }
}

/* =========================================================
 * FINAL QUICK NAV LAYOUT FIX
 * ========================================================= */

.bl-guide .bl-jump-wrap {
    position: static !important;
    top: auto !important;
    width: 100% !important;
    margin: 28px 0 42px !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    backdrop-filter: none !important;
}

.bl-guide .bl-jump {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 9px !important;
    width: 100% !important;
    overflow: visible !important;
}

.bl-guide .bl-jump a {
    display: inline-flex !important;
    flex: 0 0 auto !important;
    width: auto !important;
    min-width: 0 !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
    padding: 10px 15px !important;
    border-radius: 999px !important;
    white-space: nowrap !important;
}

/* Remove any excess space created around the old sticky menu */

.bl-guide .bl-jump-wrap + section {
    margin-top: 0 !important;
}

.bl-guide #start {
    padding-top: 0 !important;
}

.bl-guide #start .bl-answer {
    margin-top: 0 !important;
}


/* =========================================================
 * MOBILE QUICK NAV
 * ========================================================= */

@media (max-width: 700px) {

    .bl-guide .bl-jump-wrap {
        margin: 20px -17px 34px !important;
        padding: 0 17px !important;
    }

    .bl-guide .bl-jump {
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        padding: 2px 0 8px !important;
        scrollbar-width: none !important;
        -webkit-overflow-scrolling: touch;
    }

    .bl-guide .bl-jump::-webkit-scrollbar {
        display: none !important;
    }

    .bl-guide .bl-jump a {
        padding: 9px 13px !important;
        font-size: 13px !important;
    }
}


/* =========================================================
 * TIGHTEN ARTICLE RHYTHM
 * ========================================================= */

.bl-guide section {
    scroll-margin-top: 20px;
}

.bl-guide .bl-answer {
    margin-bottom: 38px !important;
}

.bl-guide .bl-decision-grid {
    margin-bottom: 42px !important;
}

.bl-guide .bl-plant {
    margin-top: 58px !important;
    margin-bottom: 66px !important;
}

@media (max-width: 700px) {

    .bl-guide .bl-plant {
        margin-top: 44px !important;
        margin-bottom: 52px !important;
    }
}

/* FINAL ARTICLE NAV RESET */

.bl-guide ul.bl-jump {
    list-style: none !important;
    list-style-type: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.bl-guide ul.bl-jump > li {
    list-style: none !important;
    list-style-type: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.bl-guide ul.bl-jump > li::marker,
.bl-guide ul.bl-jump > li::before,
.bl-guide ul.bl-jump > li::after {
    content: none !important;
    display: none !important;
}

.bl-guide ul.bl-jump > li > a {
    text-decoration: none !important;
}
