/* Jenfrank Farms — blog, legal, cookie banner */

.blog-card {
    background: #fff;
    border: 1px solid rgba(42, 50, 40, 0.1);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px rgba(36, 48, 32, 0.12);
}

.blog-card-media {
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #e8efe4;
}

.blog-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-card-media img {
    transform: scale(1.04);
}

.blog-card-body {
    padding: 1.35rem 1.25rem 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.blog-card-meta {
    font-size: 0.82rem;
    letter-spacing: 0.04em;
    color: #6b7a66;
    margin-bottom: 0.5rem;
}

.blog-card-title {
    font-size: 1.2rem;
    margin-bottom: 0.65rem;
    line-height: 1.35;
}

.blog-card-title a {
    color: inherit;
    text-decoration: none;
}

.blog-card-title a:hover {
    color: var(--primary, #5b8c51);
}

.blog-card-excerpt {
    color: #5a6756;
    flex: 1;
    margin-bottom: 1rem;
}

.blog-article-cover {
    width: 100%;
    max-height: 420px;
    object-fit: cover;
}

.blog-article-body {
    font-size: 1.05rem;
    line-height: 1.75;
    color: #2f3a2c;
}

.blog-article-body p + p {
    margin-top: 1rem;
}

.blog-health-disclaimer,
.blog-consolidation-notice {
    background: rgba(91, 140, 81, 0.08);
    border-left: 4px solid #5b8c51;
    padding: 0.85rem 1rem;
    margin: 1rem 0 1.25rem;
    font-size: 0.95rem;
}

.blog-consolidation-notice a {
    color: #5b8c51;
    font-weight: 600;
}

.blog-health-disclaimer,
.blog-consolidation-notice {
    background: rgba(91, 140, 81, 0.08);
    border-left: 4px solid #5b8c51;
    padding: 0.85rem 1rem;
    margin: 1rem 0 1.25rem;
    font-size: 0.95rem;
}

.blog-consolidation-notice a {
    color: #5b8c51;
    font-weight: 600;
}

.legal-doc {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(248, 250, 246, 0.96)),
        repeating-linear-gradient(
            -12deg,
            transparent,
            transparent 18px,
            rgba(91, 140, 81, 0.03) 18px,
            rgba(91, 140, 81, 0.03) 19px
        );
    padding: clamp(1.5rem, 4vw, 2.5rem);
    border-left: 4px solid #5b8c51;
}

.legal-updated {
    font-size: 0.85rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #6b7a66;
}

.legal-intro {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.legal-section + .legal-section {
    margin-top: 1.75rem;
}

.legal-section h2 {
    font-size: 1.35rem;
    margin-bottom: 0.65rem;
}

.legal-section p {
    color: #3d4a38;
    line-height: 1.7;
    margin: 0;
}

/* ===== Farm Cookie Barn Banner ===== */
.cookie-barn {
    position: fixed;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    z-index: 1080;
    max-width: 720px;
    margin: 0 auto;
    color: #f4f0e4;
    border-radius: 4px;
    overflow: hidden;
    box-shadow:
        0 20px 50px rgba(20, 28, 16, 0.45),
        0 0 0 1px rgba(232, 212, 138, 0.25);
    transform: translateY(120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.4s ease;
}

.cookie-barn.is-visible {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.cookie-barn-inner {
    position: relative;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1rem 1.15rem;
    padding: 1.15rem 1.25rem 1.25rem;
    background:
        radial-gradient(ellipse 80% 90% at 0% 100%, rgba(91, 140, 81, 0.35), transparent 55%),
        radial-gradient(ellipse 60% 70% at 100% 0%, rgba(201, 162, 39, 0.28), transparent 50%),
        linear-gradient(145deg, #1c2818 0%, #2f4630 48%, #243224 100%);
}

.cookie-barn-inner::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(
        90deg,
        transparent,
        transparent 14px,
        rgba(255, 255, 255, 0.03) 14px,
        rgba(255, 255, 255, 0.03) 15px
    );
    pointer-events: none;
}

.cookie-barn-mark {
    width: 3.4rem;
    height: 3.4rem;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: linear-gradient(160deg, #c9a227, #e8d48a);
    color: #1c2818;
    font-size: 1.45rem;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
    animation: cookieBounce 2.6s ease-in-out infinite;
}

@keyframes cookieBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

.cookie-barn-copy h2 {
    font-family: "Libre Baskerville", Georgia, serif;
    font-size: 1.15rem;
    margin: 0 0 0.4rem;
    color: #f7f1df;
}

.cookie-barn-copy p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.55;
    color: rgba(247, 241, 223, 0.88);
}

.cookie-barn-copy a {
    color: #e8d48a;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.cookie-barn-actions {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-top: 0.15rem;
}

.cookie-barn-actions button {
    border: none;
    cursor: pointer;
    font: inherit;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.65rem 1.05rem;
    transition: filter 0.2s ease, transform 0.2s ease;
}

.cookie-barn-actions button:hover {
    filter: brightness(1.08);
    transform: translateY(-1px);
}

.cookie-btn-accept {
    background: linear-gradient(160deg, #5b8c51, #7aad6e);
    color: #fff;
}

.cookie-btn-essential {
    background: transparent;
    color: #f7f1df;
    border: 1px solid rgba(247, 241, 223, 0.35) !important;
}

.cookie-btn-prefs {
    background: rgba(232, 212, 138, 0.15);
    color: #e8d48a;
}

.cookie-prefs {
    grid-column: 1 / -1;
    display: none;
    gap: 0.65rem;
    padding-top: 0.35rem;
    border-top: 1px solid rgba(247, 241, 223, 0.12);
    margin-top: 0.25rem;
}

.cookie-prefs.is-open {
    display: grid;
}

.cookie-pref-row {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    font-size: 0.85rem;
    color: rgba(247, 241, 223, 0.9);
}

.cookie-pref-row input {
    margin-top: 0.2rem;
}

.cookie-pref-row strong {
    display: block;
    color: #fff;
}

.cookie-pref-row span {
    opacity: 0.8;
    font-size: 0.8rem;
}

.cookie-manage {
    position: fixed;
    left: 1rem;
    bottom: 1rem;
    z-index: 1075;
    border: none;
    border-radius: 999px;
    padding: 0.65rem 1rem;
    background: #2f4630;
    color: #f7f1df;
    font: inherit;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(20, 28, 16, 0.35);
    opacity: 0;
    pointer-events: none;
    transform: translateY(12px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.cookie-manage.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

@media (max-width: 575px) {
    .cookie-barn {
        left: 0.65rem;
        right: 0.65rem;
        bottom: 0.65rem;
    }
    .cookie-barn-inner {
        grid-template-columns: 1fr;
        text-align: left;
    }
    .cookie-barn-actions button {
        flex: 1 1 auto;
        text-align: center;
    }
}

/* ===== WhatsApp dock ===== */
.wa-dock {
    position: fixed;
    right: 1.15rem;
    bottom: 5.5rem;
    z-index: 1085;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.75rem;
    opacity: 0;
    transform: translateY(18px) scale(0.92);
    pointer-events: none;
    transition: opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1), transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.wa-dock.is-ready {
    opacity: 1;
    transform: none;
    pointer-events: auto;
}

.wa-fab {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    min-height: 3.55rem;
    padding: 0.7rem 1.05rem 0.7rem 0.85rem;
    border-radius: 999px;
    background: linear-gradient(145deg, #25d366 0%, #128c7e 55%, #075e54 100%);
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.82rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    box-shadow:
        0 10px 28px rgba(7, 94, 84, 0.45),
        0 0 0 0 rgba(37, 211, 102, 0.55);
    animation: waFloat 3.2s ease-in-out infinite, waGlow 2.4s ease-in-out infinite;
    transition: filter 0.2s ease, transform 0.2s ease;
    overflow: visible;
}

.wa-fab:hover {
    color: #fff;
    filter: brightness(1.08);
    transform: translateY(-2px) scale(1.03);
}

.wa-fab-icon {
    display: grid;
    place-items: center;
    width: 2.35rem;
    height: 2.35rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.16);
}

.wa-fab-label {
    padding-right: 0.15rem;
}

.wa-pulse {
    position: absolute;
    inset: -6px;
    border-radius: 999px;
    border: 2px solid rgba(37, 211, 102, 0.55);
    animation: waRipple 2.4s cubic-bezier(0.15, 0.75, 0.35, 1) infinite;
    pointer-events: none;
}

.wa-pulse-delay {
    animation-delay: 1.1s;
}

.wa-fab.wa-nudge {
    animation: waFloat 3.2s ease-in-out infinite, waGlow 2.4s ease-in-out infinite, waNudge 0.85s ease;
}

@keyframes waFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-7px); }
}

@keyframes waGlow {
    0%, 100% { box-shadow: 0 10px 28px rgba(7, 94, 84, 0.45), 0 0 0 0 rgba(37, 211, 102, 0.45); }
    50% { box-shadow: 0 14px 34px rgba(7, 94, 84, 0.55), 0 0 0 10px rgba(37, 211, 102, 0); }
}

@keyframes waRipple {
    0% { transform: scale(0.92); opacity: 0.75; }
    70% { transform: scale(1.35); opacity: 0; }
    100% { transform: scale(1.35); opacity: 0; }
}

@keyframes waNudge {
    0%, 100% { transform: translateX(0); }
    20% { transform: translateX(-4px) rotate(-4deg); }
    40% { transform: translateX(4px) rotate(4deg); }
    60% { transform: translateX(-3px) rotate(-2deg); }
    80% { transform: translateX(2px) rotate(2deg); }
}

.wa-greeting {
    width: min(300px, calc(100vw - 2.5rem));
    background:
        radial-gradient(ellipse 80% 70% at 0% 0%, rgba(37, 211, 102, 0.18), transparent 55%),
        linear-gradient(165deg, #0f2a22 0%, #1a3d32 48%, #12352c 100%);
    color: #eef8f2;
    border-radius: 18px 18px 6px 18px;
    padding: 1rem 1rem 0.95rem;
    box-shadow: 0 18px 40px rgba(8, 40, 32, 0.45);
    border: 1px solid rgba(37, 211, 102, 0.28);
    transform: translateY(16px) scale(0.94);
    opacity: 0;
    transform-origin: bottom right;
    transition: opacity 0.35s ease, transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.wa-greeting.is-open {
    opacity: 1;
    transform: none;
}

.wa-greeting-close {
    position: absolute;
    top: 0.45rem;
    right: 0.55rem;
    border: none;
    background: transparent;
    color: rgba(238, 248, 242, 0.7);
    font-size: 1.25rem;
    line-height: 1;
    cursor: pointer;
}

.wa-greeting {
    position: relative;
}

.wa-greeting-head {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    margin-bottom: 0.75rem;
    padding-right: 1.2rem;
}

.wa-avatar {
    width: 2.6rem;
    height: 2.6rem;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: linear-gradient(145deg, #25d366, #128c7e);
    color: #fff;
    flex-shrink: 0;
    animation: waAvatarPulse 2.2s ease-in-out infinite;
}

@keyframes waAvatarPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.45); }
    50% { box-shadow: 0 0 0 8px rgba(37, 211, 102, 0); }
}

.wa-greeting-head strong {
    display: block;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
}

.wa-online {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.72rem;
    opacity: 0.85;
}

.wa-online i {
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 50%;
    background: #25d366;
    display: inline-block;
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    animation: waOnline 1.6s ease-in-out infinite;
}

@keyframes waOnline {
    0%, 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.55); }
    50% { box-shadow: 0 0 0 5px rgba(37, 211, 102, 0); }
}

.wa-typing {
    display: inline-flex;
    gap: 0.28rem;
    padding: 0.55rem 0.75rem;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    margin-bottom: 0.55rem;
}

.wa-typing span {
    width: 0.42rem;
    height: 0.42rem;
    border-radius: 50%;
    background: #9ad9b4;
    animation: waDot 1.2s ease-in-out infinite;
}

.wa-typing span:nth-child(2) { animation-delay: 0.15s; }
.wa-typing span:nth-child(3) { animation-delay: 0.3s; }

@keyframes waDot {
    0%, 80%, 100% { transform: translateY(0); opacity: 0.45; }
    40% { transform: translateY(-4px); opacity: 1; }
}

.wa-bubble {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px 14px 14px 14px;
    padding: 0.75rem 0.85rem;
    margin-bottom: 0.75rem;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.wa-bubble.is-in {
    opacity: 1;
    transform: none;
}

.wa-bubble p {
    margin: 0;
    font-size: 0.88rem;
    line-height: 1.5;
    color: #eef8f2;
}

.wa-bubble p + p {
    margin-top: 0.45rem;
}

.wa-cta {
    display: block;
    text-align: center;
    padding: 0.65rem 0.9rem;
    border-radius: 999px;
    background: linear-gradient(145deg, #25d366, #1ebe57);
    color: #073b2c;
    font-weight: 800;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    transition: filter 0.2s ease, transform 0.2s ease;
}

.wa-cta:hover {
    color: #042820;
    filter: brightness(1.06);
    transform: translateY(-1px);
}

/* Keep back-to-top clear of the WhatsApp dock */
.back-to-top {
    bottom: 1.4rem !important;
    right: 1.25rem !important;
}

@media (max-width: 575px) {
    .wa-dock {
        right: 0.85rem;
        bottom: 5.2rem;
    }
    .wa-fab-label {
        display: none;
    }
    .wa-fab {
        width: 3.55rem;
        height: 3.55rem;
        padding: 0;
        justify-content: center;
        border-radius: 50%;
    }
}

/* ===== Ad slots ===== */
.ad-slot {
    width: 100%;
    margin: 1rem auto;
}

.ad-slot-header,
.ad-slot-footer {
    max-width: 1140px;
}

.ad-slot-frame {
    width: 100%;
    display: grid;
    place-items: center;
    padding: 0.35rem 0;
}

.ad-slot-placeholder {
    width: min(100%, 960px);
    min-height: 140px;
    display: grid;
    place-items: center;
    border: 1px dashed rgba(42, 50, 40, 0.25);
    background: rgba(91, 140, 81, 0.04);
    color: #6b7a66;
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* ===== Blog reading UX ===== */
.reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    z-index: 1100;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s ease;
    background: transparent;
}

.reading-progress.is-active { opacity: 1; }

.reading-progress span {
    display: block;
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, #5b8c51, #c9a227);
}

.surface-panel {
    background: #fff;
    border: 1px solid rgba(42, 50, 40, 0.1);
    padding: 1.15rem 1.2rem;
}

.blog-side-stack {
    display: grid;
    gap: 1rem;
}

.blog-side-title {
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #6b7a66;
    margin-bottom: 0.85rem;
}

.blog-toc ol {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.45rem;
}

.blog-toc a {
    color: #2f3a2c;
    text-decoration: none;
    font-size: 0.92rem;
    line-height: 1.35;
}

.blog-toc a:hover { color: #5b8c51; }
.blog-toc .toc-level-3 { padding-left: 0.85rem; }

.blog-mini-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.85rem;
}

.blog-mini-list a {
    display: block;
    color: #2a3228;
    text-decoration: none;
    font-weight: 600;
    line-height: 1.35;
}

.blog-mini-list a:hover { color: #5b8c51; }

.blog-mini-list span {
    display: block;
    margin-top: 0.2rem;
    font-size: 0.78rem;
    color: #6b7a66;
}

.blog-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.blog-tags span {
    font-size: 0.72rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border: 1px solid rgba(91, 140, 81, 0.35);
    color: #3f6a38;
    padding: 0.2rem 0.45rem;
}

.blog-share {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.55rem;
}

.sticky-share {
    position: sticky;
    top: 6.5rem;
}

.share-btn {
    width: 2.4rem;
    height: 2.4rem;
    display: inline-grid;
    place-items: center;
    border: 1px solid rgba(42, 50, 40, 0.15);
    background: #fff;
    color: #2a3228;
    text-decoration: none;
    transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.share-btn:hover,
.share-btn.copied {
    background: #5b8c51;
    border-color: #5b8c51;
    color: #fff;
}

.blog-pager {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    border-top: 1px solid rgba(42, 50, 40, 0.1);
    padding-top: 1.25rem;
}

.blog-index-pager {
    display: flex;
    justify-content: center;
    width: 100%;
}

.blog-index-pager .pagination {
    gap: 0.35rem;
    flex-wrap: wrap;
    margin: 0;
}

.blog-index-pager .page-link {
    border-radius: 0.35rem;
    border-color: rgba(42, 50, 40, 0.14);
    color: #2f4630;
    font-size: 0.9rem;
    padding: 0.55rem 0.85rem;
    background: #fff;
}

.blog-index-pager .page-item.active .page-link {
    background: #5b8c51;
    border-color: #5b8c51;
    color: #fff;
}

.blog-index-pager .page-item.disabled .page-link {
    color: #8a9684;
    background: #f4f6f2;
}

.blog-index-pager .page-link:hover {
    background: #eef5ea;
    border-color: rgba(91, 140, 81, 0.45);
    color: #2f4630;
}

html.farm-dark .blog-index-pager .page-link {
    background: #1d241c;
    border-color: rgba(232, 236, 228, 0.12);
    color: #e8ece4;
}

html.farm-dark .blog-index-pager .page-item.active .page-link {
    background: #5b8c51;
    border-color: #5b8c51;
    color: #fff;
}

html.farm-dark .blog-index-pager .page-item.disabled .page-link {
    background: #151a14;
    color: #7a8775;
}

.blog-pager a {
    display: grid;
    gap: 0.25rem;
    text-decoration: none;
    color: inherit;
    padding: 0.75rem;
    border: 1px solid rgba(42, 50, 40, 0.1);
    background: #fff;
    transition: border-color 0.25s ease, transform 0.25s ease;
}

.blog-pager a:hover {
    border-color: rgba(91, 140, 81, 0.45);
    transform: translateY(-2px);
}

.blog-pager span {
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #6b7a66;
}

.blog-pager strong {
    font-size: 0.95rem;
    line-height: 1.35;
}

.blog-article-body h2,
.blog-article-body h3 {
    scroll-margin-top: 5.5rem;
    margin-top: 1.75rem;
    margin-bottom: 0.75rem;
}

.blog-search-wrap {
    position: relative;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.blog-search-form {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0.5rem;
}

.blog-search-form input {
    border: 1px solid rgba(42, 50, 40, 0.15);
    padding: 0.85rem 1rem;
    font: inherit;
    background: #fff;
}

.blog-suggest-list {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 0.35rem);
    z-index: 30;
    list-style: none;
    margin: 0;
    padding: 0.35rem 0;
    background: #fff;
    border: 1px solid rgba(42, 50, 40, 0.12);
    box-shadow: 0 16px 30px rgba(30, 40, 28, 0.12);
}

.blog-suggest-list a {
    display: grid;
    gap: 0.15rem;
    padding: 0.7rem 1rem;
    text-decoration: none;
    color: inherit;
}

.blog-suggest-list a:hover { background: rgba(91, 140, 81, 0.08); }

.blog-suggest-list span {
    font-size: 0.78rem;
    color: #6b7a66;
}

.blog-search-hint {
    font-size: 0.85rem;
    color: #6b7a66;
}

.sticky-panel {
    position: sticky;
    top: 6rem;
}

.farm-theme-toggle {
    position: fixed;
    right: 1.1rem;
    bottom: 5.5rem;
    z-index: 1050;
    width: 2.75rem;
    height: 2.75rem;
    border: 0;
    border-radius: 50%;
    background: #2a3228;
    color: #f2efe6;
    box-shadow: 0 10px 24px rgba(20, 28, 16, 0.28);
    cursor: pointer;
}

.farm-theme-toggle:hover { background: #5b8c51; }

html.farm-dark body {
    background: #151a14;
    color: #e8ece4;
}

html.farm-dark .container-xxl,
html.farm-dark .blog-card,
html.farm-dark .surface-panel,
html.farm-dark .blog-pager a,
html.farm-dark .share-btn,
html.farm-dark .blog-search-form input,
html.farm-dark .blog-suggest-list {
    background: #1d241c;
    color: #e8ece4;
    border-color: rgba(232, 236, 228, 0.12);
}

html.farm-dark .blog-card-title a,
html.farm-dark .blog-mini-list a,
html.farm-dark .blog-toc a,
html.farm-dark .blog-article-body {
    color: #e8ece4;
}

html.farm-dark .blog-card-meta,
html.farm-dark .blog-mini-list span,
html.farm-dark .blog-side-title,
html.farm-dark .blog-card-excerpt {
    color: #a3b19d;
}

html.farm-dark .section-title.bg-white {
    background: #1d241c !important;
}

html.farm-dark .farm-theme-toggle {
    background: #c9a227;
    color: #1c241a;
}

@media (max-width: 991.98px) {
    .blog-share {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        margin-top: 0.5rem;
    }
    .sticky-share { position: static; }
    .blog-pager { grid-template-columns: 1fr; }
}

@media (max-width: 575.98px) {
    .blog-search-form { grid-template-columns: 1fr; }
}

/* ===== Blog comments ===== */
.blog-comments {
    border-top: 1px solid rgba(42, 50, 40, 0.12);
    padding-top: 2rem;
}

.blog-comments-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.blog-comments-head h2 {
    margin: 0;
    font-size: 1.6rem;
}

.blog-comments-head span {
    font-size: 0.85rem;
    color: #6b7a66;
}

.blog-comment-form {
    background: #fff;
    border: 1px solid rgba(42, 50, 40, 0.1);
    padding: 1.25rem;
    margin-bottom: 1.75rem;
}

.blog-comment-note {
    color: #6b7a66;
    margin-bottom: 1rem;
}

.blog-comment-status {
    font-size: 0.9rem;
}

.blog-comment-list {
    display: grid;
    gap: 1rem;
}

.blog-comment {
    background: #fff;
    border: 1px solid rgba(42, 50, 40, 0.1);
    padding: 1rem 1.15rem;
}

.blog-comment.is-reply {
    background: #f7faf5;
}

.blog-comment header {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 0.85rem;
    align-items: baseline;
    margin-bottom: 0.45rem;
}

.blog-comment time {
    font-size: 0.78rem;
    color: #6b7a66;
}

.blog-comment p {
    margin: 0;
    line-height: 1.65;
    color: #2f3a2c;
    white-space: pre-wrap;
}

.comment-reply-btn {
    margin-top: 0.65rem;
    border: 0;
    background: transparent;
    color: #5b8c51;
    font: inherit;
    font-size: 0.85rem;
    padding: 0;
    cursor: pointer;
}

.comment-reply-btn:hover { text-decoration: underline; }

.blog-comment-replies {
    display: grid;
    gap: 0.75rem;
    margin-top: 0.85rem;
    padding-left: 1rem;
    border-left: 2px solid rgba(91, 140, 81, 0.35);
}

.blog-comment-empty {
    color: #6b7a66;
    margin: 0;
}

.hp-field {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

html.farm-dark .blog-comment-form,
html.farm-dark .blog-comment {
    background: #1d241c;
    border-color: rgba(232, 236, 228, 0.12);
    color: #e8ece4;
}

html.farm-dark .blog-comment.is-reply {
    background: #181e17;
}

html.farm-dark .blog-comment p {
    color: #e8ece4;
}

/* ===== Site top header / navbar polish ===== */
.site-topbar {
    position: relative;
    z-index: 1031;
    background:
        radial-gradient(ellipse 50% 120% at 12% 50%, rgba(91, 140, 81, 0.35), transparent 55%),
        radial-gradient(ellipse 40% 100% at 88% 40%, rgba(237, 221, 94, 0.18), transparent 50%),
        linear-gradient(100deg, #1c241a 0%, #2f3f2c 48%, #243028 100%);
    overflow: hidden;
}

.site-topbar::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 28px 28px;
    mask-image: linear-gradient(90deg, transparent, black 20%, black 80%, transparent);
    opacity: 0.45;
    pointer-events: none;
    animation: siteTopbarDrift 30s linear infinite;
}

@keyframes siteTopbarDrift {
    from { transform: translateX(0); }
    to { transform: translateX(28px); }
}

.site-topbar-inner {
    position: relative;
    z-index: 1;
    min-height: 46px;
    padding: 0 1.5rem 0 2rem;
    align-items: stretch;
    justify-content: space-between;
    gap: 1rem;
}

.site-topbar-left,
.site-topbar-mid,
.site-topbar-right {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.site-topbar-kicker {
    font-size: 0.68rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(247, 247, 247, 0.55);
    white-space: nowrap;
}

.site-topbar-social {
    display: inline-flex;
    gap: 0.35rem;
}

.site-topbar-social a {
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    color: #f7f7f7;
    border: 1px solid rgba(247, 247, 247, 0.18);
    background: rgba(255, 255, 255, 0.04);
    transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.site-topbar-social a:hover {
    transform: translateY(-2px);
    background: var(--secondary);
    border-color: var(--secondary);
    color: var(--dark);
}

.site-topbar-mid {
    color: rgba(247, 247, 247, 0.78);
    font-size: 0.78rem;
    letter-spacing: 0.04em;
}

.site-topbar-pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--secondary);
    box-shadow: 0 0 0 0 rgba(237, 221, 94, 0.55);
    animation: siteTopbarPulse 2.2s ease-out infinite;
}

@keyframes siteTopbarPulse {
    0% { box-shadow: 0 0 0 0 rgba(237, 221, 94, 0.55); }
    70% { box-shadow: 0 0 0 10px rgba(237, 221, 94, 0); }
    100% { box-shadow: 0 0 0 0 rgba(237, 221, 94, 0); }
}

.site-topbar-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: rgba(247, 247, 247, 0.85);
    font-size: 0.78rem;
    text-decoration: none;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    border: 1px solid rgba(247, 247, 247, 0.14);
    transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.site-topbar-chip:hover {
    color: #fff;
    border-color: rgba(237, 221, 94, 0.45);
    background: rgba(255, 255, 255, 0.06);
}

.site-topbar-call {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    text-decoration: none;
    color: var(--dark);
    background: linear-gradient(120deg, #f2e98a 0%, #eddd5e 55%, #d9c84a 100%);
    padding: 0.45rem 1.1rem 0.45rem 0.55rem;
    clip-path: polygon(12px 0, 100% 0, 100% 100%, 0 100%);
    margin-left: 0.25rem;
    transition: filter 0.25s ease, transform 0.25s ease;
}

.site-topbar-call:hover {
    filter: brightness(1.05);
    transform: translateY(-1px);
    color: var(--dark);
}

.site-topbar-call.is-static {
    cursor: default;
}

.site-topbar-call-icon {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: rgba(64, 74, 61, 0.12);
    color: var(--dark);
}

.site-topbar-call-copy {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
    padding-right: 0.35rem;
}

.site-topbar-call-copy small {
    font-size: 0.62rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    opacity: 0.7;
}

.site-topbar-call-copy strong {
    font-size: 0.92rem;
    font-weight: 700;
}

.site-navbar {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.site-brand {
    gap: 0.7rem;
    text-decoration: none;
}

.site-brand-mark {
    display: grid;
    place-items: center;
    color: var(--primary);
    transition: transform 0.45s ease, color 0.8s ease;
}

.site-brand:hover .site-brand-mark {
    transform: rotate(-8deg) scale(1.05);
}

.site-brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.site-brand-text .site-brand-name {
    font-family: "Libre Baskerville", serif;
    font-size: clamp(1.15rem, 2vw, 1.55rem);
    letter-spacing: 0.02em;
}

.site-brand-text small {
    margin-top: 0.28rem;
    font-size: 0.68rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(64, 74, 61, 0.62);
    transition: color 0.8s ease;
}

.site-navbar .navbar-nav .nav-link {
    position: relative;
}

.site-navbar .navbar-nav .nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 18px;
    height: 2px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.28s ease;
    opacity: 0.85;
}

.site-navbar .navbar-nav .nav-link:hover::after,
.site-navbar .navbar-nav .nav-link.active::after {
    transform: scaleX(1);
}

@media (min-width: 992px) {
    .site-navbar .navbar-nav .nav-link::after {
        bottom: 22px;
    }
}

.site-nav-actions {
    gap: 0.65rem;
}

.site-nav-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.55rem 1.15rem;
    border-radius: 999px;
    background: var(--primary);
    color: #fff !important;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-decoration: none;
    border: 1px solid transparent;
    box-shadow: 0 8px 18px rgba(91, 140, 81, 0.28);
    transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.site-nav-cta:hover {
    transform: translateY(-2px);
    background: #4e7a45;
    color: #fff !important;
    box-shadow: 0 12px 24px rgba(91, 140, 81, 0.34);
}

/* Keep brand mark / subtitle readable across chameleon themes */
.navbar.nav-theme-hero .site-brand-mark,
.navbar.nav-theme-features .site-brand-mark,
.navbar.nav-theme-banner .site-brand-mark,
.navbar.nav-theme-gallery .site-brand-mark,
.navbar.nav-theme-footer .site-brand-mark,
.navbar.nav-theme-page .site-brand-mark {
    color: var(--secondary);
}

.navbar.nav-theme-hero .site-brand-text small,
.navbar.nav-theme-features .site-brand-text small,
.navbar.nav-theme-banner .site-brand-text small,
.navbar.nav-theme-gallery .site-brand-text small,
.navbar.nav-theme-footer .site-brand-text small,
.navbar.nav-theme-page .site-brand-text small {
    color: rgba(247, 247, 247, 0.7);
}

.navbar.nav-theme-services .site-brand-mark,
.navbar.nav-theme-testimonial .site-brand-mark {
    color: var(--dark);
}

.navbar.nav-theme-services .site-nav-cta,
.navbar.nav-theme-testimonial .site-nav-cta {
    background: var(--dark);
    box-shadow: 0 8px 18px rgba(64, 74, 61, 0.25);
}

.navbar.nav-theme-hero .site-nav-cta,
.navbar.nav-theme-features .site-nav-cta,
.navbar.nav-theme-banner .site-nav-cta,
.navbar.nav-theme-gallery .site-nav-cta,
.navbar.nav-theme-footer .site-nav-cta,
.navbar.nav-theme-page .site-nav-cta {
    background: var(--secondary);
    color: var(--dark) !important;
    box-shadow: 0 8px 18px rgba(237, 221, 94, 0.28);
}

.navbar.nav-theme-hero .site-nav-cta:hover,
.navbar.nav-theme-features .site-nav-cta:hover,
.navbar.nav-theme-banner .site-nav-cta:hover,
.navbar.nav-theme-gallery .site-nav-cta:hover,
.navbar.nav-theme-footer .site-nav-cta:hover,
.navbar.nav-theme-page .site-nav-cta:hover {
    background: #f4eb9a;
    color: var(--dark) !important;
}

.navbar.nav-theme-hero .border-start,
.navbar.nav-theme-features .border-start,
.navbar.nav-theme-banner .border-start,
.navbar.nav-theme-gallery .border-start,
.navbar.nav-theme-footer .border-start,
.navbar.nav-theme-page .border-start {
    border-color: rgba(247, 247, 247, 0.25) !important;
}

@media (max-width: 1199.98px) {
    .site-topbar-mid {
        display: none;
    }
}

@media (max-width: 991.98px) {
    .site-navbar .navbar-nav .nav-link::after {
        bottom: 4px;
        width: 2.5rem;
        right: auto;
    }

    .site-brand-text .site-brand-name {
        font-size: 1.1rem;
    }

    .site-brand-text small {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .site-topbar::before,
    .site-topbar-pulse,
    .site-brand-mark,
    .site-nav-cta,
    .site-topbar-social a {
        animation: none !important;
        transition: none !important;
    }
}

/* ===== Footer brand watermark ===== */
.footer {
    position: relative;
    overflow: hidden;
}

.footer-watermark {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    pointer-events: none;
    z-index: 0;
    font-family: "Libre Baskerville", serif;
    font-weight: 700;
    font-size: clamp(4.5rem, 18vw, 12rem);
    letter-spacing: 0.18em;
    line-height: 1;
    text-transform: uppercase;
    color: transparent;
    -webkit-text-stroke: 1px rgba(237, 221, 94, 0.14);
    text-stroke: 1px rgba(237, 221, 94, 0.14);
    opacity: 0.9;
    user-select: none;
    transform: translateY(6%) rotate(-6deg);
    white-space: nowrap;
}

.footer > .container {
    z-index: 1;
}

@media (max-width: 767.98px) {
    .footer-watermark {
        letter-spacing: 0.1em;
        -webkit-text-stroke: 1px rgba(237, 221, 94, 0.1);
        transform: translateY(4%) rotate(-4deg);
    }
}

/* ===== About story (long-form blocks on /about) ===== */
.about-story.legal-doc {
    margin-top: 0.25rem;
}

.about-story .legal-section:first-child {
    margin-top: 0;
}

/* ===== Review Us (testimonials) ===== */
.review-us {
    margin-top: 3rem;
}

.review-us-shell {
    position: relative;
    overflow: hidden;
    border-radius: 1.25rem;
    padding: 2.25rem 1.5rem 2.4rem;
    background:
        radial-gradient(120% 90% at 10% 0%, rgba(237, 221, 94, 0.18), transparent 55%),
        linear-gradient(145deg, #1f3a24 0%, #2f5134 48%, #1a2f1e 100%);
    color: #f4f7f1;
    box-shadow: 0 24px 48px rgba(20, 36, 22, 0.22);
}

.review-us-glow {
    position: absolute;
    inset: auto -20% -40% auto;
    width: 55%;
    height: 70%;
    background: radial-gradient(circle, rgba(237, 221, 94, 0.22), transparent 70%);
    pointer-events: none;
}

.review-us-cta {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
}

.review-us-eyebrow {
    margin: 0 0 0.55rem;
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(237, 221, 94, 0.9);
}

.review-us-heading {
    margin: 0 0 0.75rem;
    font-family: "Libre Baskerville", Georgia, serif;
    font-size: clamp(1.55rem, 3vw, 2.15rem);
    line-height: 1.25;
    color: #fff;
}

.review-us-kicker {
    margin: 0 auto 1.35rem;
    max-width: 34rem;
    color: rgba(244, 247, 241, 0.78);
    font-size: 0.98rem;
    line-height: 1.65;
}

.review-us-btn {
    appearance: none;
    border: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.95rem 1.45rem;
    border-radius: 999px;
    background: #eddd5e;
    color: #1f3a24;
    font-family: "Open Sans", sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.review-us-btn:hover,
.review-us-btn:focus-visible {
    background: #f5e98a;
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.22);
    outline: none;
}

.review-us-btn[aria-expanded="true"] {
    background: #fff;
}

.review-us-btn-icon {
    display: inline-flex;
}

.review-us-panel {
    position: relative;
    z-index: 1;
    max-width: 720px;
    margin: 1.65rem auto 0;
}

.review-us-form {
    position: relative;
    background: rgba(255, 255, 255, 0.97);
    color: #1f2a1c;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 1rem;
    padding: 1.35rem 1.4rem 1.5rem;
    box-shadow: 0 18px 40px rgba(10, 18, 12, 0.22);
}

@media (max-width: 767.98px) {
    .review-us-shell {
        padding: 1.75rem 1.1rem 1.9rem;
        border-radius: 1rem;
    }

    .review-us-form {
        padding: 1.15rem;
    }
}

.review-us-note {
    color: #5f6f5a;
    margin-bottom: 1.1rem;
    line-height: 1.55;
}

.review-us-status {
    font-size: 0.9rem;
    color: #3f6a38;
}

.review-us-status.is-error {
    color: #9b1c1c;
}

.review-count {
    font-size: 0.75rem;
    color: #7a8a74;
}

.review-photo-drop {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 148px;
    border: 1.5px dashed rgba(42, 50, 40, 0.22);
    border-radius: 0.5rem;
    background: #f7faf4;
    cursor: pointer;
    overflow: hidden;
    transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.review-photo-drop:hover,
.review-photo-drop.is-drag {
    border-color: #3f6a38;
    background: #f1f7ec;
    box-shadow: 0 0 0 3px rgba(63, 106, 56, 0.12);
}

.review-photo-drop.has-photo {
    border-style: solid;
    background: #10180f;
}

.review-photo-placeholder {
    display: grid;
    gap: 0.25rem;
    text-align: center;
    padding: 1rem;
    color: #5f6f5a;
}

.review-photo-placeholder strong {
    color: #2f5134;
    font-size: 0.95rem;
}

.review-photo-placeholder span {
    font-size: 0.82rem;
    line-height: 1.45;
}

.review-photo-preview {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

.review-photo-clear {
    margin-top: 0.35rem;
}

.review-us-success {
    text-align: center;
    padding: 1.5rem 0.5rem 0.35rem;
}

.review-us-success-mark {
    width: 3rem;
    height: 3rem;
    margin: 0 auto 0.85rem;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: #e7f2df;
    color: #2f5134;
    font-size: 1.35rem;
    font-weight: 700;
}

.review-us-success-title {
    margin: 0 0 0.35rem;
    font-family: "Libre Baskerville", Georgia, serif;
    font-size: 1.35rem;
    color: #1f3a24;
}

.review-us-success-copy {
    margin: 0;
    color: #5f6f5a;
}

.review-us-hp {
    position: absolute !important;
    left: -10000px !important;
    top: auto !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

html.farm-dark .review-us-shell {
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35);
}

html.farm-dark .review-us-success-title {
    color: #f2efe6;
}

html.farm-dark .review-us-form {
    background: rgba(28, 36, 26, 0.96);
    border-color: rgba(242, 239, 230, 0.12);
    color: #f2efe6;
}

html.farm-dark .review-us-note,
html.farm-dark .review-us-success-copy,
html.farm-dark .review-count {
    color: rgba(242, 239, 230, 0.72);
}

html.farm-dark .review-photo-drop {
    background: rgba(18, 24, 16, 0.55);
    border-color: rgba(242, 239, 230, 0.2);
}

html.farm-dark .review-photo-placeholder,
html.farm-dark .review-photo-placeholder strong {
    color: rgba(242, 239, 230, 0.78);
}

html.farm-dark .about-story.legal-doc {
    background:
        linear-gradient(180deg, rgba(29, 36, 28, 0.96), rgba(24, 30, 23, 0.98)),
        repeating-linear-gradient(
            -12deg,
            transparent,
            transparent 18px,
            rgba(91, 140, 81, 0.06) 18px,
            rgba(91, 140, 81, 0.06) 19px
        );
    border-left-color: #7da870;
    color: #e8ece4;
}

html.farm-dark .about-story .legal-section p {
    color: #c5d0bf;
}

