/*
Theme Name: 3ADi Cashew Processing
Theme URI: https://3adi.org
Author: 3ADi
Author URI: https://3adi.org
Description: Child theme of Urja Solar Energy Pro, customized for 3adi.org - Africa's Agricultural Processing Equipment Platform
Template: urja-solar-energy-pro
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: 3adi-child
*/

/* ============================================================
   3ADi BRAND COLORS
   Primary:   #1B5E20  (Deep Green)
   Accent:    #F9A825  (Gold Yellow)
   Dark BG:   #1A1A1A
   Body text: #212121
   ============================================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700&family=Open+Sans:wght@400;600&display=swap');

/* --- Global Reset & Typography --- */
body {
    font-family: 'Open Sans', sans-serif;
    color: #212121;
    font-size: 16px;
    line-height: 1.7;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: #1B5E20;
}

a {
    color: #1B5E20;
    transition: color 0.2s ease;
}
a:hover {
    color: #F9A825;
    text-decoration: none;
}

/* ============================================================
   HEADER / NAVIGATION
   ============================================================ */
#ht-masthead,
.ht-site-header {
    background-color: #1B5E20 !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.header-top {
    background-color: #163f18 !important;
    padding: 6px 0;
    font-size: 13px;
}

.header-top a,
.ht-site-description,
.ht-site-description a {
    color: rgba(255,255,255,0.8) !important;
}

/* Logo */
.custom-logo,
.site-logo img,
img.custom-logo {
    max-height: 60px;
    width: auto;
}

/* Nav links */
#ht-primary-navigation ul li a,
.ht-main-navigation ul li a,
nav.ht-main-navigation a {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 14px;
    color: #ffffff !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 10px 16px;
}

#ht-primary-navigation ul li a:hover,
#ht-primary-navigation ul li.current-menu-item > a,
.ht-main-navigation ul li a:hover {
    color: #F9A825 !important;
}

/* Dropdown */
#ht-primary-navigation ul ul,
.ht-main-navigation ul ul {
    background-color: #1B5E20 !important;
    border-top: 3px solid #F9A825;
}

/* Mobile hamburger */
.menu-toggle,
button.menu-toggle {
    background-color: #F9A825 !important;
    color: #fff !important;
    border: none;
    border-radius: 4px;
}

/* ============================================================
   HERO / SLIDER
   ============================================================ */
.bx-wrapper,
#bxslider-section,
.slider-section,
.ht-slider-section {
    position: relative;
}

/* Overlay on slider for readability */
.bx-wrapper .bx-viewport::before,
.slider-overlay {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(27,94,32,0.7) 0%, rgba(0,0,0,0.4) 100%);
    z-index: 1;
    pointer-events: none;
}

/* Hero text */
.slider-caption h2,
.slider-caption h1,
.bx-caption h2,
.ht-slide-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 42px;
    font-weight: 700;
    color: #ffffff !important;
    text-shadow: 0 2px 8px rgba(0,0,0,0.4);
    line-height: 1.2;
}

.slider-caption p,
.ht-slide-desc {
    font-size: 18px;
    color: rgba(255,255,255,0.9) !important;
}

/* ============================================================
   BUTTONS — CTA
   ============================================================ */
.btn-primary,
.ht-btn,
.lz-btn,
input[type="submit"],
button[type="submit"],
.ht-appointment-btn,
a.ht-btn-primary {
    background-color: #F9A825 !important;
    border-color: #F9A825 !important;
    color: #ffffff !important;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 12px 28px;
    border-radius: 4px;
    transition: background 0.2s, transform 0.1s;
}

.btn-primary:hover,
.ht-btn:hover,
a.ht-btn-primary:hover,
input[type="submit"]:hover {
    background-color: #e69100 !important;
    border-color: #e69100 !important;
    color: #fff !important;
    transform: translateY(-1px);
}

.btn-outline,
.btn-secondary,
a.ht-btn-secondary {
    background-color: transparent !important;
    border: 2px solid #fff !important;
    color: #ffffff !important;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    padding: 10px 26px;
    border-radius: 4px;
    transition: all 0.2s;
}

.btn-outline:hover,
a.ht-btn-secondary:hover {
    background-color: #fff !important;
    color: #1B5E20 !important;
}

/* ============================================================
   FEATURE / SERVICE CARDS (Product highlights)
   ============================================================ */
.ht-featured-section,
#ht-featured-section,
.lz-featured-section {
    background:
        radial-gradient(circle at top left, rgba(249,168,37,0.08), transparent 24%),
        linear-gradient(180deg, #fbfcf8 0%, #f4f8ef 100%);
    padding: 70px 0;
}

.ht-featured-item,
.lz-feature-box,
.feature-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 16px rgba(27,94,32,0.08);
    padding: 32px 24px;
    text-align: center;
    transition: box-shadow 0.2s, transform 0.2s;
    border-top: 4px solid #1B5E20;
}

.ht-featured-item:hover,
.lz-feature-box:hover {
    box-shadow: 0 8px 32px rgba(27,94,32,0.18);
    transform: translateY(-4px);
}

.ht-featured-item .fa,
.lz-feature-box .fa,
.feature-icon {
    color: #F9A825;
    font-size: 40px;
    margin-bottom: 16px;
}

.ht-featured-item h4,
.lz-feature-box h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: #1B5E20;
    font-size: 18px;
}

/* ============================================================
   ABOUT / STATS SECTION
   ============================================================ */
.ht-about-section,
#ht-about-section {
    padding: 70px 0;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbf5 100%);
}

.ht-about-section h2,
.about-title {
    color: #1B5E20;
    font-size: 32px;
}

.ht-about-section h2::after,
.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: #F9A825;
    margin: 12px 0 24px;
}

/* Odometer / counter numbers */
.odometer,
.counter-number,
.ht-counter-number {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 48px;
    color: #F9A825;
}

.counter-label,
.ht-counter-label {
    font-size: 14px;
    color: #757575;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ============================================================
   FACILITY / DARK CTA SECTION
   ============================================================ */
.ht-facility-section,
#ht-facility-section,
.facility-section {
    background:
        radial-gradient(circle at top left, rgba(249,168,37,0.14), transparent 22%),
        linear-gradient(135deg, #143818 0%, #1B5E20 52%, #264f2b 100%) !important;
    padding: 80px 0;
}

.ht-facility-section h2,
.ht-facility-section h3,
.facility-section h2 {
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
}

.ht-facility-section p,
.facility-section p {
    color: rgba(255,255,255,0.8);
}

/* ============================================================
   APPOINTMENT / ENQUIRY FORM SECTION
   ============================================================ */
.ht-appointment-section,
#ht-appointment-section {
    background:
        radial-gradient(circle at top right, rgba(249,168,37,0.2), transparent 24%),
        linear-gradient(135deg, #173b1a 0%, #1f6926 58%, #2b7a31 100%);
    padding: 70px 0;
}

.ht-appointment-section h2,
.ht-appointment-section h3,
.ht-appointment-section label {
    color: #fff !important;
}

.ht-appointment-section .form-control,
.ht-appointment-section input,
.ht-appointment-section select,
.ht-appointment-section textarea {
    border: 1px solid rgba(255,255,255,0.3);
    background: rgba(255,255,255,0.1);
    color: #fff;
    border-radius: 4px;
    padding: 10px 14px;
}

.ht-appointment-section .form-control::placeholder {
    color: rgba(255,255,255,0.6);
}

/* ============================================================
   PROJECTS / PRODUCTS GRID
   ============================================================ */
.ht-project-section,
#ht-project-section {
    padding: 70px 0;
    background:
        radial-gradient(circle at top right, rgba(27,94,32,0.06), transparent 20%),
        linear-gradient(180deg, #f7faf3 0%, #eef5e8 100%);
}

.ht-project-item,
.project-card {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.1);
    transition: box-shadow 0.2s, transform 0.2s;
    margin-bottom: 24px;
}

.ht-project-item:hover {
    box-shadow: 0 8px 28px rgba(27,94,32,0.18);
    transform: translateY(-3px);
}

.ht-project-item .project-info,
.project-card .project-info {
    padding: 20px;
    background: #fff;
}

.ht-project-item h5,
.project-card h5 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: #1B5E20;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.ht-testimonials-section,
#ht-testimonials-section {
    background-color: #f5f5f5;
    padding: 70px 0;
}

.ht-testimonial-item blockquote,
.testimonial-text {
    border-left: 4px solid #F9A825;
    padding-left: 20px;
    color: #424242;
    font-style: italic;
}

/* ============================================================
   BLOG / NEWS
   ============================================================ */
.ht-blog-section,
#ht-blog-section {
    padding: 70px 0;
    background: #fff;
}

.ht-blog-item,
.blog-card {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.07);
    transition: box-shadow 0.2s;
}

.ht-blog-item:hover {
    box-shadow: 0 6px 24px rgba(27,94,32,0.15);
}

.ht-blog-item .blog-meta .cat-links a,
.post-categories a {
    color: #F9A825;
    font-weight: 600;
}

/* ============================================================
   SECTION TITLES (global)
   ============================================================ */
.section-heading,
.ht-section-title,
.section-title h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 34px;
    font-weight: 700;
    color: #1B5E20;
    margin-bottom: 8px;
}

.section-subtitle,
.ht-section-desc {
    font-size: 16px;
    color: #757575;
    max-width: 600px;
    margin: 0 auto 48px;
}

/* Gold underline accent for section titles */
.section-divider,
.ht-divider {
    width: 60px;
    height: 4px;
    background: #F9A825;
    margin: 0 auto 40px;
    border: none;
}

/* ============================================================
   PAGE BANNER (inner pages)
   ============================================================ */
.page-main-header,
.page-banner,
.ht-page-banner {
    background-color: #1B5E20;
    padding: 60px 0;
    text-align: center;
    position: relative;
}

.page-main-header h1,
.ht-main-title {
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: 36px;
    font-weight: 700;
}

/* Breadcrumb */
.breadcrumb,
.ht-breadcrumb {
    background: transparent;
    color: rgba(255,255,255,0.8);
    font-size: 14px;
}
.breadcrumb a {
    color: #F9A825;
}

/* ============================================================
   FOOTER
   ============================================================ */
#ht-colophon,
.ht-site-footer {
    background-color: #1A1A1A;
}

#ht-top-footer {
    padding: 60px 0 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.ht-site-footer h4,
.ht-site-footer h3,
.ht-site-footer .widget-title {
    color: #F9A825;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
}

.ht-site-footer p,
.ht-site-footer li,
.ht-site-footer a {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
}

.ht-site-footer a:hover {
    color: #F9A825;
}

.ht-site-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ht-site-footer ul li {
    padding: 4px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

#ht-bottom-footer {
    background-color: #111;
    padding: 16px 0;
    text-align: center;
}

#ht-bottom-footer .ht-site-info,
#ht-bottom-footer span {
    color: rgba(255,255,255,0.5);
    font-size: 13px;
}

/* Social icons in footer */
.header-social-links a,
.footer-social a {
    color: rgba(255,255,255,0.7);
    margin: 0 6px;
    font-size: 16px;
    transition: color 0.2s;
}
.header-social-links a:hover,
.footer-social a:hover {
    color: #F9A825;
}

/* ============================================================
   WHATSAPP FLOATING BUTTON
   ============================================================ */
#whatsapp-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 9999;
    width: 56px;
    height: 56px;
    background-color: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(0,0,0,0.25);
    transition: transform 0.2s, box-shadow 0.2s;
    text-decoration: none;
}

#whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 24px rgba(37,211,102,0.4);
}

#whatsapp-float svg {
    width: 30px;
    height: 30px;
    fill: #fff;
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-info-box {
    background: #f5f5f5;
    border-left: 4px solid #F9A825;
    padding: 24px;
    border-radius: 4px;
    margin-bottom: 24px;
}

.contact-info-box .fa {
    color: #1B5E20;
    font-size: 22px;
    margin-right: 12px;
}

.whatsapp-big {
    font-size: 28px;
    font-weight: 700;
    color: #25D366;
    font-family: 'Montserrat', sans-serif;
}

/* ============================================================
   FORMS
   ============================================================ */
.wpcf7 input,
.wpcf7 textarea,
.wpcf7 select,
input.form-control,
textarea.form-control,
select.form-control {
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 10px 14px;
    font-family: 'Open Sans', sans-serif;
    font-size: 15px;
    width: 100%;
    transition: border-color 0.2s;
}

.wpcf7 input:focus,
textarea.form-control:focus,
input.form-control:focus {
    border-color: #1B5E20;
    outline: none;
    box-shadow: 0 0 0 3px rgba(27,94,32,0.1);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 991px) {
    .slider-caption h2,
    .ht-slide-title { font-size: 28px; }
    .section-heading,
    .ht-section-title { font-size: 26px; }
}

@media (max-width: 767px) {
    .slider-caption h2,
    .ht-slide-title { font-size: 22px; }

    .ht-featured-item,
    .ht-project-item { margin-bottom: 20px; }

    #whatsapp-float { bottom: 16px; right: 16px; }

    .btn-primary,
    .ht-btn { width: 100%; text-align: center; display: block; }
}


/* ============================================================
   ① BLOG LIST — compact 2-column card grid
   ============================================================ */
.threadi-blog-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 20px 0;
}

.threadi-blog-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.2s, transform 0.2s;
    border-top: 3px solid #1B5E20;
}

.threadi-blog-card:hover {
    box-shadow: 0 6px 24px rgba(27,94,32,0.15);
    transform: translateY(-3px);
}

/* Thumbnail — fixed aspect ratio, compact */
.threadi-blog-thumb {
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 9;
}

.threadi-blog-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

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

/* Card body */
.threadi-blog-body {
    padding: 14px 16px 12px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.threadi-blog-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
    margin: 0 0 8px;
    color: #1B5E20;
}

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

.threadi-blog-title a:hover {
    color: #F9A825;
}

.threadi-blog-excerpt {
    font-size: 13px;
    color: #555;
    line-height: 1.6;
    flex: 1;
    /* clamp to ~3 lines */
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ② Date moved to bottom of card */
.threadi-blog-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 10px;
    padding-top: 8px;
    border-top: 1px solid #f0f0f0;
}

.threadi-blog-date {
    font-size: 11px;
    color: #999;
}

.threadi-blog-date .fa {
    color: #F9A825;
    margin-right: 4px;
}

.threadi-blog-more {
    font-size: 12px;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    color: #1B5E20;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.threadi-blog-more:hover {
    color: #F9A825;
}

/* Hide old large blog layout */
.inner-blog-post {
    display: none !important;
}

/* ② Date bottom — single post / page / archive */
.threadi-post-meta-bottom {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 12px 0;
    margin-top: 24px;
    border-top: 1px solid #eee;
    font-size: 13px;
    color: #999;
}

.threadi-post-meta-bottom .fa {
    color: #F9A825;
    margin-right: 5px;
}

/* Hide date from top of single posts / archive summary cards */
.entry-meta.ht-post-info,
.post-date-publishable,
.ht-blog-date,
.single_post header .post-date-publishable {
    display: none !important;
}

/* Show it only inside our explicit bottom meta block */
.threadi-post-meta-bottom .post-date-publishable {
    display: inline-flex !important;
    align-items: center;
}

/* ③ TABLE BORDERS — show borders on all tables in content */
.entry-content table,
.post-single-content table,
#content table,
.innerpage-whitebox table {
    border-collapse: collapse;
    width: 100%;
    margin: 20px 0;
    font-size: 14px;
}

.entry-content table th,
.entry-content table td,
.post-single-content table th,
.post-single-content table td,
#content table th,
#content table td,
.innerpage-whitebox table th,
.innerpage-whitebox table td {
    border: 1px solid #d0d0d0 !important;
    padding: 9px 12px;
    text-align: left;
    vertical-align: top;
}

.entry-content table th,
.post-single-content table th,
#content table th,
.innerpage-whitebox table th {
    background-color: #1B5E20;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 13px;
}

.entry-content table tr:nth-child(even) td,
.post-single-content table tr:nth-child(even) td,
#content table tr:nth-child(even) td {
    background-color: #f9f9f9;
}

.entry-content table tr:hover td,
.post-single-content table tr:hover td,
#content table tr:hover td {
    background-color: #f0f7f0;
}

/* ④ FEATURED IMAGE — 1/3 width, floated left on single/page */
.threadi-single-featured {
    float: left;
    width: 33.333%;
    margin: 0 24px 16px 0;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.threadi-featured-img {
    width: 100%;
    height: auto;
    display: block;
}

/* Hide old full-width featured image in parent single.php — we control it now */
.ht-page-header-img {
    display: none !important;
}

/* ⑤ HEADER — logo and Get Quote button pulled toward center */
.medal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5%;   /* pull inward from edges */
}

.logobox {
    padding-left: 0 !important;
    margin-left: 0 !important;
}

/* Shrink the outer logo column so logo sits less far left */
.medal-header > .col-md-3 {
    width: 20%;
    padding-left: 20px;
}

.medal-header > .header-right {
    width: 80%;
    padding-right: 20px;
}

/* Get Quote button — tighten right gap */
.nav-upper .col-md-1:last-child {
    padding-right: 10px !important;
}

/* ============================================================
   ⑥ MOBILE / RESPONSIVE OPTIMISATIONS
   ============================================================ */

/* — 768px: stack blog cards to 1 column on small tablets — */
@media (max-width: 768px) {
    .threadi-blog-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 12px 0;
    }

    /* Featured image: full width on mobile */
    .threadi-single-featured {
        float: none;
        width: 100%;
        margin: 0 0 16px 0;
    }

    /* Header: stack logo above nav */
    .medal-header {
        flex-direction: column;
        padding: 0;
    }

    .medal-header > .col-md-3,
    .medal-header > .header-right {
        width: 100%;
        padding: 8px 15px;
    }

    /* Hero text smaller */
    .slider-caption h2,
    .ht-slide-title { font-size: 18px !important; }

    /* Full-width CTA buttons */
    .btn-primary,
    .ht-btn {
        width: 100%;
        display: block;
        text-align: center;
        margin-bottom: 8px;
    }

    /* Section padding reduce */
    .ht-featured-section,
    .ht-about-section,
    .ht-project-section,
    .ht-appointment-section,
    .ht-facility-section {
        padding: 40px 0 !important;
    }

    /* Footer: single column */
    .ht-footer.ht-footer1,
    .ht-footer.ht-footer2,
    .ht-footer.ht-footer3,
    .ht-footer.ht-footer4 {
        width: 100% !important;
        float: none !important;
        padding: 0 15px 20px !important;
    }

    /* Hide header top bar on mobile to save space */
    .header-top { display: none; }

    /* Blog card font sizes */
    .threadi-blog-title { font-size: 15px; }
    .threadi-blog-excerpt { -webkit-line-clamp: 2; }
}

/* — 480px: very small phones — */
@media (max-width: 480px) {
    .threadi-blog-title { font-size: 14px; }
    .section-heading,
    .ht-section-title { font-size: 22px !important; }
    .odometer,
    .counter-number { font-size: 36px !important; }

    /* Compact nav */
    #ht-masthead { padding: 0; }

    /* Page banner */
    .page-main-header h1.ht-main-title {
        font-size: 22px !important;
    }
}

/* Touch-friendly tap targets */
@media (max-width: 768px) {
    nav.ht-main-navigation a,
    .threadi-blog-more,
    .blog-read-more a,
    .btn-primary,
    .ht-btn {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
    }
}

/* Improve legibility of body text on mobile */
@media (max-width: 768px) {
    body { font-size: 15px; }
    p { line-height: 1.75; }
}


/* ============================================================
   EQUIPMENT MODULE  [equipment_module]
   ============================================================ */

/* Wrapper: sidebar + content */
.threadi-equip-wrapper {
    display: grid;
    grid-template-columns: minmax(220px, 250px) minmax(0, 1fr);
    gap: 28px;
    align-items: flex-start;
    padding: 24px 0;
}

.threadi-browser-shell,
.threadi-browser-shell ul,
.threadi-browser-shell li {
    list-style: none;
    margin: 0;
    padding: 0;
}

.threadi-browser-shell ul,
.threadi-browser-shell li,
.threadi-browser-shell .threadi-equip-cats > li,
.threadi-browser-shell .threadi-equip-subcats > li {
    list-style: none !important;
}

.threadi-browser-shell--equipment {
    display: flex;
}

.threadi-browser-shell--equipment .threadi-equip-sidebar {
    width: 220px;
    flex-shrink: 0;
}

.threadi-browser-shell--equipment .threadi-equip-content {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    align-content: start;
}

/* ── Left sidebar ── */
.threadi-equip-sidebar {
    width: 100%;
    background: #fff;
    border-radius: 22px;
    box-shadow: 0 14px 32px rgba(8,27,12,0.08);
    border: 1px solid rgba(27,94,32,0.08);
    padding: 18px 0 16px;
    position: sticky;
    top: 80px;
}

.threadi-equip-sidebar-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: #757575;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0 18px 10px;
    margin: 0;
    border-bottom: 1px solid #f0f0f0;
}

.threadi-equip-sidebar-title .fa {
    color: #F9A825;
    font-size: 15px;
    line-height: 1;
}

.threadi-equip-cats,
.threadi-equip-subcats {
    list-style: none;
    margin: 0;
    padding: 8px 0;
}

.threadi-equip-subcats {
    padding: 0 0 0 14px;
    border-left: 2px solid #e8f5e9;
    margin-left: 18px;
}

.threadi-equip-cats > li,
.threadi-equip-subcats > li {
    padding: 0;
    border-bottom: none;
}

.threadi-cat-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 11px 18px;
    font-size: 14px;
    color: #424242;
    text-decoration: none;
    border-left: 3px solid transparent;
    transition: background 0.18s, border-color 0.18s, color 0.18s, transform 0.18s;
    line-height: 1.4;
}

.threadi-clean-nav-list,
.threadi-clean-nav-list li {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.threadi-clean-nav-list li::before,
.threadi-clean-nav-list li::after,
.threadi-equip-cats > li::before,
.threadi-equip-cats > li::after,
.threadi-equip-subcats > li::before,
.threadi-equip-subcats > li::after,
.threadi-tool-nav > li::before,
.threadi-tool-nav > li::after {
    content: none !important;
    display: none !important;
}

.threadi-blog-module ul,
.threadi-blog-module li,
.threadi-roi-module ul,
.threadi-roi-module li,
.threadi-product-hub--module ul,
.threadi-product-hub--module li {
    list-style: none !important;
    margin: 0 !important;
    padding-left: 0 !important;
}

.threadi-nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 11px 18px;
    font-size: 14px;
    color: #424242;
    text-decoration: none;
    border-left: 3px solid transparent;
    transition: background 0.18s, border-color 0.18s, color 0.18s, transform 0.18s;
    line-height: 1.4;
}

.threadi-nav-link:hover,
.threadi-nav-link.active {
    background: linear-gradient(90deg, #eef7ef, #f7fbf2);
    border-left-color: #1B5E20;
    color: #1B5E20;
    font-weight: 600;
    transform: translateX(2px);
}

.threadi-tool-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.threadi-tool-label .fa {
    width: 16px;
    text-align: center;
    color: #F9A825;
}

.threadi-tool-nav .threadi-nav-link {
    justify-content: flex-start;
}

.threadi-cat-item:hover,
.threadi-cat-item.active {
    background: linear-gradient(90deg, #eef7ef, #f7fbf2);
    border-left-color: #1B5E20;
    color: #1B5E20;
    font-weight: 600;
    transform: translateX(2px);
}

.threadi-cat-count {
    background: #e8f5e9;
    color: #1B5E20;
    font-size: 11px;
    font-weight: 700;
    padding: 1px 6px;
    border-radius: 10px;
    min-width: 20px;
    text-align: center;
}

/* ── Loading spinner ── */
.threadi-equip-loading {
    text-align: center;
    padding: 20px;
    color: #757575;
    font-size: 14px;
}

.threadi-spinner {
    display: inline-block;
    width: 18px; height: 18px;
    border: 2px solid #e0e0e0;
    border-top-color: #1B5E20;
    border-radius: 50%;
    animation: threadi-spin 0.6s linear infinite;
    vertical-align: middle;
    margin-right: 8px;
}
@keyframes threadi-spin { to { transform: rotate(360deg); } }

/* ── Right content grid ── */
.threadi-equip-content {
    transition: opacity 0.2s;
}

.threadi-card-grid {
    display: grid;
    gap: 20px;
    align-content: start;
}

.threadi-equip-content > .threadi-card-grid,
.threadi-equip-content > .threadi-module-pagination,
.threadi-equip-content > .threadi-no-results {
    grid-column: 1 / -1;
}

.threadi-card-grid--equipment {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.threadi-card-grid--blog {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* ── Equipment card — fixed size ── */
.threadi-equip-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    border-top: 3px solid #1B5E20;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    /* Fixed height — consistent grid */
    height: 360px;
    transition: box-shadow 0.2s, transform 0.2s;
}

.threadi-equip-card:hover {
    box-shadow: 0 6px 24px rgba(27,94,32,0.16);
    transform: translateY(-3px);
}

.threadi-equip-thumb {
    display: block;
    height: 170px;
    overflow: hidden;
    background: #f5f5f5;
    flex-shrink: 0;
}

.threadi-equip-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}
.threadi-equip-card:hover .threadi-equip-thumb img { transform: scale(1.04); }

.threadi-equip-info {
    padding: 14px 14px 12px;
    display: flex;
    flex-direction: column;
    flex: 1;
    overflow: hidden;
}

.threadi-equip-name {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 700;
    margin: 0 0 6px;
    line-height: 1.3;
    /* clamp to 2 lines */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.threadi-equip-name a { color: #1B5E20; text-decoration: none; }
.threadi-equip-name a:hover { color: #F9A825; }

.threadi-equip-cap {
    font-size: 12px;
    color: #F9A825;
    font-weight: 600;
    margin: 0 0 6px;
}
.threadi-equip-cap .fa { margin-right: 4px; }

.threadi-equip-excerpt {
    font-size: 12px;
    color: #757575;
    line-height: 1.5;
    flex: 1;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.threadi-equip-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 10px;
    padding-top: 8px;
    border-top: 1px solid #f0f0f0;
    flex-shrink: 0;
}

.threadi-equip-price {
    font-size: 13px;
    font-weight: 700;
    color: #1B5E20;
    font-family: 'Montserrat', sans-serif;
}

.threadi-equip-btn {
    font-size: 11px;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    background: #1B5E20;
    color: #fff;
    padding: 5px 12px;
    border-radius: 4px;
    text-decoration: none;
    transition: background 0.2s;
    letter-spacing: 0.3px;
}
.threadi-equip-btn:hover { background: #F9A825; color: #fff; }

.threadi-no-results {
    grid-column: 1 / -1;
    text-align: center;
    color: #757575;
    padding: 40px;
    font-size: 15px;
}

/* ── Blog module reuses same wrapper, override grid to 2-col ── */
.threadi-tool-content {
    min-width: 0;
}

.threadi-tool-panel {
    display: none;
}

.threadi-tool-panel.active {
    display: block;
}

.threadi-module-pagination {
    margin-top: 22px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.threadi-module-pagination .page-numbers {
    min-width: 42px;
    height: 42px;
    padding: 0 14px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 700;
    background: #fff;
    color: #1B5E20;
    border: 1px solid rgba(27,94,32,0.1);
    box-shadow: 0 10px 18px rgba(8,27,12,0.06);
    transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.threadi-module-pagination .page-numbers:hover {
    transform: translateY(-2px);
    background: #f4faef;
    border-color: rgba(27,94,32,0.22);
}

.threadi-module-pagination .page-numbers.current {
    background: linear-gradient(135deg, #1B5E20, #2f8135);
    color: #fff;
    border-color: #1B5E20;
}

.threadi-module-pagination .page-numbers.dots {
    background: transparent;
    border-color: transparent;
    box-shadow: none;
    min-width: auto;
    padding: 0 4px;
}

.threadi-tool-panel-intro {
    margin-bottom: 12px;
}

.threadi-tool-panel-intro h3 {
    margin: 0 0 6px;
    font-size: 22px;
    color: #1B5E20;
}

.threadi-tool-panel-intro p {
    margin: 0;
    color: #617160;
    line-height: 1.6;
}

.threadi-product-hub-head {
    margin-bottom: 22px;
}

.threadi-product-hub-head h2 {
    margin: 0 0 8px;
    font-size: 28px;
}

.threadi-product-hub-head p {
    margin: 0;
    color: #617160;
    line-height: 1.7;
}

.threadi-product-hub-head--secondary {
    margin-top: 38px;
}

.threadi-product-cats-grid,
.threadi-product-hub-grid {
    display: grid;
    gap: 20px;
}

.threadi-product-cats-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-bottom: 12px;
}

.threadi-product-hub-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.threadi-product-cat-card {
    display: block;
    padding: 20px;
    text-decoration: none;
    background: linear-gradient(180deg, #ffffff, #f8fbf5);
    border: 1px solid rgba(27,94,32,0.08);
    border-radius: 20px;
    box-shadow: 0 12px 24px rgba(8,27,12,0.06);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.threadi-product-cat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 28px rgba(8,27,12,0.1);
}

.threadi-product-cat-name {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #1B5E20;
    margin-bottom: 6px;
}

.threadi-product-cat-count {
    font-size: 13px;
    color: #72816f;
}

/* Blog card — fixed size in module */
.threadi-blog-module .threadi-blog-card {
    height: 330px;
}

/* ============================================================
   CALCULATOR TOOLS
   ============================================================ */

.threadi-calc-wrap {
    background:
        linear-gradient(180deg, rgba(255,255,255,0.98), rgba(248,250,244,0.96));
    border-radius: 28px;
    box-shadow: 0 22px 46px rgba(7, 24, 10, 0.12);
    overflow: hidden;
    margin: 24px 0 40px;
    border: 1px solid rgba(27,94,32,0.08);
    position: relative;
}

.threadi-calc-header {
    background:
        radial-gradient(circle at top right, rgba(249,168,37,0.2), transparent 24%),
        linear-gradient(135deg, #13391a 0%, #1B5E20 56%, #2f7b34 100%);
    color: #fff;
    padding: 26px 28px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.threadi-calc-icon {
    width: 56px;
    height: 56px;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    line-height: 1;
    flex-shrink: 0;
    margin-top: 2px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.14);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.12);
}

.threadi-calc-icon .fa {
    color: #ffd66a;
}

.threadi-calc-header h3 {
    margin: 0 0 4px;
    font-size: 20px;
    font-family: 'Montserrat', sans-serif;
    color: #fff;
}

.threadi-calc-header p {
    margin: 0;
    font-size: 14px;
    color: rgba(255,255,255,0.82);
    line-height: 1.7;
}

/* Fields */
.threadi-calc-body {
    padding: 26px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 22px;
}

.threadi-calc-fields {
    display: flex;
    flex-direction: column;
    gap: 14px;
    background:
        linear-gradient(180deg, rgba(23,78,31,0.98), rgba(18,63,24,0.96));
    border-radius: 24px;
    padding: 22px;
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
}

.threadi-field-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.threadi-field-group label {
    font-size: 13px;
    font-weight: 600;
    color: rgba(255,255,255,0.94);
    font-family: 'Montserrat', sans-serif;
}
.threadi-field-group label span {
    font-weight: 400;
    color: rgba(255,255,255,0.6);
    font-size: 12px;
}

.threadi-field-group input {
    border: 1.5px solid rgba(255,255,255,0.16);
    border-radius: 16px;
    padding: 12px 14px;
    font-size: 15px;
    font-family: 'Montserrat', sans-serif;
    color: #fff;
    background: rgba(255,255,255,0.12);
    transition: border-color 0.2s, box-shadow 0.2s;
    width: 100%;
    box-sizing: border-box;
}

.threadi-field-group input::placeholder {
    color: rgba(255,255,255,0.38);
}

.threadi-field-group input:focus {
    border-color: #F9A825;
    box-shadow: 0 0 0 3px rgba(249,168,37,0.16);
    outline: none;
}
.threadi-input-error { border-color: #e53935 !important; }

/* Trio layout for 3 side-by-side inputs */
.threadi-field-trio {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    flex-direction: unset !important;
}
.threadi-field-trio > div { display: flex; flex-direction: column; gap: 5px; }
.threadi-field-trio label { font-size: 12px; font-weight: 600; color: rgba(255,255,255,0.94); }

/* Yes/No radio */
.threadi-field-yesno label { font-size: 13px; font-weight: 600; color: rgba(255,255,255,0.94); margin-bottom: 6px; }
.threadi-radio-group { display: flex; gap: 20px; }
.threadi-radio-group label { font-weight: 400; font-size: 14px; display: flex; align-items: center; gap: 6px; cursor: pointer; color: rgba(255,255,255,0.82); }

/* Calculate button */
.threadi-calc-btn {
    background: linear-gradient(135deg, #F9A825 0%, #f3bb44 54%, #da9918 100%);
    color: #fff;
    border: none;
    border-radius: 999px;
    padding: 14px 24px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    margin-top: 8px;
    transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
    box-shadow: 0 16px 28px rgba(249,168,37,0.22);
}
.threadi-calc-btn:hover {
    filter: brightness(1.03);
    transform: translateY(-2px);
    box-shadow: 0 20px 34px rgba(249,168,37,0.28);
}

/* ── Result box ── */
.threadi-calc-result { padding: 4px 0; }

.threadi-result-box {
    background:
        linear-gradient(180deg, rgba(255,255,255,1), rgba(249,251,245,0.98));
    border: 1px solid rgba(27,94,32,0.1);
    border-radius: 24px;
    padding: 22px;
    box-shadow: 0 12px 26px rgba(27,94,32,0.08);
}

.threadi-big-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 12px;
    margin-bottom: 18px;
}

.threadi-big-stat {
    background: #fff;
    border-radius: 18px;
    padding: 14px 12px;
    text-align: center;
    box-shadow: 0 10px 18px rgba(0,0,0,0.06);
    display: flex;
    flex-direction: column;
    gap: 4px;
    border: 1px solid rgba(27,94,32,0.06);
}

.threadi-stat-val {
    font-family: 'Montserrat', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: #1B5E20;
    line-height: 1.1;
}

.threadi-stat-label {
    font-size: 12px;
    font-weight: 700;
    color: #424242;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.threadi-stat-sub {
    font-size: 11px;
    color: #999;
}

/* Comparison table */
.threadi-table-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: #424242;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin: 16px 0 8px;
}

.threadi-comp-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    margin-bottom: 10px;
}
.threadi-comp-table th {
    background: #1B5E20;
    color: #fff;
    padding: 8px 10px;
    text-align: left;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
}
.threadi-comp-table td {
    padding: 8px 10px;
    border-bottom: 1px solid #e8f5e9;
}
.threadi-comp-table tr:last-child td { border-bottom: none; }
.threadi-td-good { color: #1B5E20; font-weight: 700; }
.threadi-total-row td {
    background: #f1f8f1;
    font-weight: 600;
    border-top: 2px solid #c8e6c9;
}

.threadi-result-note {
    font-size: 11px;
    color: #999;
    margin: 8px 0 0;
    border-top: 1px solid #e8f5e9;
    padding-top: 8px;
}

/* Alert banner */
.threadi-alert-banner {
    background: linear-gradient(135deg, #f6c14f, #eea92e);
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 13px;
    padding: 10px 14px;
    border-radius: 5px;
    margin-bottom: 14px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

/* Diagnosis tool */
.threadi-calc-diagnosis .threadi-calc-header {
    background:
        radial-gradient(circle at top right, rgba(249,168,37,0.24), transparent 24%),
        linear-gradient(135deg, #18461f 0%, #236229 60%, #2f7b34 100%);
}

.threadi-diagnosis-banner {
    background: linear-gradient(135deg, #1B5E20, #2d7b33);
    border-radius: 20px;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 18px;
}
.threadi-loss-fire { font-size: 34px; flex-shrink: 0; color: #ffd76a; }
.threadi-loss-big {
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
}
.threadi-loss-sub { font-size: 12px; color: rgba(255,255,255,0.8); margin-top: 4px; }

.threadi-loss-breakdown { display: flex; flex-direction: column; gap: 10px; margin-bottom: 14px; }

.threadi-loss-row,
.threadi-safe-row {
    padding: 12px 14px;
    border-radius: 16px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.threadi-loss-row { background: #fff9eb; border-left: 4px solid #F9A825; color: #9a6500; }
.threadi-safe-row { background: #f1f8f1; border-left: 4px solid #1B5E20; color: #1B5E20; }
.threadi-loss-row .fa, .threadi-safe-row .fa { font-size: 16px; flex-shrink: 0; }

.threadi-loss-action {
    background: #fff9eb;
    border: 1px solid #F9A825;
    border-radius: 16px;
    padding: 10px 14px;
    font-size: 13px;
    color: #e65100;
    font-weight: 600;
}
.threadi-safe-action {
    background: #f1f8f1;
    border: 1px solid #1B5E20;
    border-radius: 16px;
    padding: 10px 14px;
    font-size: 13px;
    color: #1B5E20;
    font-weight: 600;
}

/* ── CTA block ── */
.threadi-calc-cta {
    background: #1A1A1A;
    padding: 24px 28px;
    text-align: center;
}
.threadi-calc-cta h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 17px;
    color: #fff;
    margin: 0 0 6px;
}
.threadi-calc-cta p {
    font-size: 13px;
    color: rgba(255,255,255,0.65);
    margin: 0 0 16px;
}
.threadi-calc-cta-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.threadi-cta-wa {
    background: linear-gradient(135deg, #1B5E20, #2f8135);
    color: #fff;
    padding: 11px 22px;
    border-radius: 999px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
    box-shadow: 0 10px 20px rgba(27,94,32,0.2);
}
.threadi-cta-wa:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 14px 26px rgba(27,94,32,0.26); }
.threadi-cta-wa .fa { margin-right: 6px; }

.threadi-cta-email {
    background: linear-gradient(135deg, #F9A825, #da9918);
    color: #fff;
    padding: 11px 22px;
    border-radius: 999px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
    box-shadow: 0 10px 20px rgba(249,168,37,0.22);
}
.threadi-cta-email:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 14px 26px rgba(249,168,37,0.28); }
.threadi-cta-email .fa { margin-right: 6px; }

/* ============================================================
   SINGLE PAGE TOC
   ============================================================ */

.threadi-single-layout {
    display: grid;
    grid-template-columns: 200px minmax(0, 1fr);
    gap: 28px;
    align-items: start;
}

.threadi-single-layout--compact {
    grid-template-columns: minmax(0, 1fr);
}

.threadi-single-content-wrap {
    min-width: 0;
}

.threadi-floating-toc {
    position: sticky;
    top: 110px;
    align-self: start;
}

.threadi-toc-toggle {
    width: 100%;
    border: none;
    border-radius: 16px 16px 0 0;
    padding: 10px 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, #1B5E20, #2f8135);
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

.threadi-toc-panel {
    background: rgba(255,255,255,0.96);
    border: 1px solid rgba(27,94,32,0.1);
    border-top: none;
    border-radius: 0 0 18px 18px;
    box-shadow: 0 14px 30px rgba(8,27,12,0.08);
    padding: 12px;
}

.threadi-toc-panel--scroll .threadi-toc-links {
    max-height: 360px;
    overflow-y: auto;
    padding-right: 4px;
}

.threadi-toc-panel--scroll .threadi-toc-links::-webkit-scrollbar {
    width: 6px;
}

.threadi-toc-panel--scroll .threadi-toc-links::-webkit-scrollbar-thumb {
    background: rgba(27,94,32,0.28);
    border-radius: 999px;
}

.threadi-toc-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #80907b;
    margin-bottom: 10px;
}

.threadi-toc-links {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.threadi-toc-link {
    display: block;
    text-decoration: none;
    color: #375139;
    font-size: 11px;
    line-height: 1.45;
    padding: 5px 8px;
    border-radius: 10px;
}

.threadi-toc-link:hover {
    background: #f1f8f1;
    color: #1B5E20;
}

.threadi-toc-link--h3 { padding-left: 16px; }
.threadi-toc-link--h4 { padding-left: 24px; }
.threadi-toc-link--h5 { padding-left: 32px; }

.threadi-floating-toc.is-collapsed .threadi-toc-toggle {
    border-radius: 16px;
}

.threadi-related-card {
    margin-top: 14px;
    background: rgba(255,255,255,0.96);
    border: 1px solid rgba(27,94,32,0.1);
    border-radius: 18px;
    box-shadow: 0 14px 30px rgba(8,27,12,0.08);
    padding: 12px;
}

.threadi-related-card-link {
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-decoration: none;
}

.threadi-related-card-image {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 12px;
}

.threadi-related-card-text {
    color: #375139;
    font-size: 12px;
    line-height: 1.5;
    font-weight: 700;
}

/* ============================================================
   RESPONSIVE — equipment + blog module + calculators
   ============================================================ */

/* Tablet: 2-col equipment grid */
@media (max-width: 991px) {
    .threadi-browser-shell--equipment .threadi-equip-content,
    .threadi-card-grid--equipment { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .threadi-card-grid--blog { grid-template-columns: 1fr; }

    .threadi-calc-body {
        grid-template-columns: 1fr;
    }

    .threadi-single-layout {
        grid-template-columns: 1fr;
    }

    .threadi-floating-toc {
        display: none;
    }
}

/* Tablet: stack sidebar above content */
@media (max-width: 768px) {
    .threadi-equip-wrapper {
        grid-template-columns: 1fr;
    }

    .threadi-browser-shell--equipment {
        display: block;
    }

    .threadi-browser-shell--equipment .threadi-equip-content {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .threadi-equip-sidebar {
        width: 100%;
        position: static;
    }

    /* Horizontal scroll for sidebar categories on mobile */
    .threadi-equip-cats {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        padding: 4px 8px 8px;
        gap: 6px;
        -webkit-overflow-scrolling: touch;
    }

    .threadi-equip-cats > li { flex-shrink: 0; }

    .threadi-browser-shell--equipment .threadi-cat-item {
        padding: 7px 14px;
        border-radius: 20px;
        border: 1px solid #e0e0e0;
        border-left: 1px solid #e0e0e0;
        white-space: nowrap;
        font-size: 13px;
    }
    .threadi-browser-shell--equipment .threadi-cat-item.active,
    .threadi-browser-shell--equipment .threadi-cat-item:hover {
        background: #1B5E20;
        color: #fff;
        border-color: #1B5E20;
    }

    /* Hide sub-categories on mobile (shown in horizontal strip) */
    .threadi-equip-subcats { display: none; }

    /* 2-col on tablet */
    .threadi-card-grid--equipment { grid-template-columns: repeat(2, minmax(0, 1fr)); }

    /* Equipment and blog card height: relax on mobile */
    .threadi-equip-card,
    .threadi-blog-module .threadi-blog-card {
        height: auto;
        min-height: 280px;
    }

    .threadi-equip-thumb { height: 140px; }

    /* Blog module: 1 col on mobile */
    .threadi-card-grid--blog { grid-template-columns: 1fr; }
    .threadi-product-cats-grid,
    .threadi-product-hub-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

    /* Calc body: single column */
    .threadi-calc-body { padding: 18px; gap: 18px; }
    .threadi-calc-header { padding: 16px 18px; }
    .threadi-calc-cta { padding: 18px; }
    .threadi-field-trio {
        grid-template-columns: 1fr !important;
    }
    .threadi-big-stats { grid-template-columns: repeat(2, 1fr); }
}

/* Phone: 1-col equipment */
@media (max-width: 480px) {
    .threadi-card-grid--equipment,
    .threadi-card-grid--blog {
        grid-template-columns: 1fr;
    }

    .threadi-browser-shell--equipment .threadi-equip-content {
        grid-template-columns: 1fr;
    }

    .threadi-product-cats-grid,
    .threadi-product-hub-grid { grid-template-columns: 1fr; }

    .threadi-equip-card,
    .threadi-blog-module .threadi-blog-card {
        height: auto;
    }

    .threadi-equip-thumb { height: 160px; }

    .threadi-big-stats { grid-template-columns: 1fr 1fr; }
    .threadi-stat-val { font-size: 18px; }
    .threadi-loss-big { font-size: 18px; }
    .threadi-calc-cta-btns { flex-direction: column; }
    .threadi-cta-wa, .threadi-cta-email { text-align: center; }
}


/* ============================================================
   ① HEADER LAYOUT — logo & Get Quote hug the nav bar
   ============================================================ */

/* Override old float-based medal-header */
.threadi-header-row {
    background: #1B5E20;
    padding: 0;
}

.threadi-header-inner {
    display: flex;
    align-items: center;
    gap: 0;                  /* items touch — spacing via padding below */
    height: 70px;
}

/* Logo: hug left side of nav, small right gap */
.threadi-logo-wrap {
    flex-shrink: 0;
    padding: 8px 20px 8px 0;   /* 20px gap between logo and nav */
    display: flex;
    align-items: center;
}

.threadi-logo-link,
.threadi-logo-wrap a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.threadi-logo-wrap img,
.threadi-logo-wrap .custom-logo {
    height: 46px !important;
    width: auto !important;
}

/* Nav: grows to fill space between logo and button */
.threadi-nav-wrap {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
}

.threadi-nav-wrap .ht-main-navigation {
    width: 100%;
}

/* Get Quote button: hug right side of nav, small left gap */
.threadi-quote-wrap {
    flex-shrink: 0;
    padding: 0 0 0 20px;       /* 20px gap between nav and button */
}

.threadi-quote-btn {
    display: inline-block;
    background: linear-gradient(135deg, #F9A825 0%, #f2b63f 48%, #d99b14 100%);
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    padding: 11px 22px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.18);
    box-shadow: 0 12px 26px rgba(249,168,37,0.28);
    text-decoration: none;
    white-space: nowrap;
    transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.threadi-quote-btn:hover {
    color: #fff;
    filter: brightness(1.03);
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(249,168,37,0.38);
}

/* Mobile: hamburger + logo + quote button stack */
@media (max-width: 768px) {
    .threadi-header-inner {
        height: auto;
        padding: 10px 0;
        flex-wrap: wrap;
        gap: 8px;
    }

    .threadi-logo-wrap { padding: 0; order: 1; }
    .threadi-quote-wrap { padding: 0; order: 2; margin-left: auto; }
    .threadi-nav-wrap   { order: 3; width: 100%; }

    .threadi-logo-wrap img,
    .threadi-logo-wrap .custom-logo {
        height: 40px !important;
    }

    .threadi-quote-btn {
        font-size: 12px;
        padding: 7px 14px;
    }
}

/* ============================================================
   ② HOMEPAGE EQUIPMENT SECTION
   ============================================================ */

.threadi-home-equipment {
    background: #f5f5f5;
    padding: 70px 0;
}

/* Section header: centered, with gold underline bar */
.threadi-home-section-head {
    text-align: center;
    margin-bottom: 40px;
}

.threadi-home-section-head .ht-section-title {
    font-size: var(--threadi-equip-title-size, 32px);
    color: var(--threadi-equip-title-color, #1B5E20);
    margin-bottom: 10px;
}

.threadi-section-bar {
    width: 60px;
    height: 4px;
    background: #F9A825;
    margin: 0 auto 16px;
    border-radius: 2px;
}

.threadi-home-section-sub {
    font-size: 15px;
    color: #757575;
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.6;
}

/* 4-column grid */
.threadi-home-equip-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 32px;
}

/* Card — fixed height, consistent */
.threadi-home-equip-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    border-top: 3px solid #1B5E20;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 340px;
    transition: box-shadow 0.2s, transform 0.2s;
}

.threadi-home-equip-card:hover {
    box-shadow: 0 8px 28px rgba(27,94,32,0.16);
    transform: translateY(-4px);
}

.threadi-home-equip-thumb {
    display: block;
    height: 160px;
    overflow: hidden;
    flex-shrink: 0;
}

.threadi-home-equip-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}
.threadi-home-equip-card:hover .threadi-home-equip-thumb img { transform: scale(1.05); }

.threadi-home-equip-body {
    padding: 14px 14px 12px;
    display: flex;
    flex-direction: column;
    flex: 1;
    overflow: hidden;
}

.threadi-home-equip-name {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 700;
    margin: 0 0 6px;
    line-height: 1.3;
    text-align: center;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.threadi-home-equip-name a { color: #1B5E20; text-decoration: none; display: inline-block; }
.threadi-home-equip-name a:hover { color: #F9A825; }

.threadi-home-equip-cap {
    font-size: 12px;
    color: #F9A825;
    font-weight: 600;
    margin: 0 0 5px;
    text-align: center;
}

.threadi-home-equip-excerpt {
    font-size: 12px;
    color: #757575;
    line-height: 1.5;
    flex: 1;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.threadi-home-equip-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 10px;
    padding-top: 8px;
    border-top: 1px solid #f0f0f0;
    flex-shrink: 0;
}

.threadi-home-equip-price {
    font-size: 13px;
    font-weight: 700;
    color: #1B5E20;
    font-family: 'Montserrat', sans-serif;
}

.threadi-home-equip-btn {
    font-size: 11px;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    background: #1B5E20;
    color: #fff;
    padding: 5px 12px;
    border-radius: 4px;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    transition: background 0.2s;
}
.threadi-home-equip-btn:hover { background: #F9A825; color: #fff; }

/* View All button */
.threadi-home-section-more { text-align: center; }

.threadi-viewall-btn {
    display: inline-block;
    background: transparent;
    border: 2px solid #1B5E20;
    color: #1B5E20;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 14px;
    padding: 11px 28px;
    border-radius: 4px;
    text-decoration: none;
    text-transform: uppercase;
    transition: background 0.2s, color 0.2s;
}
.threadi-viewall-btn:hover { background: #1B5E20; color: #fff; }
.threadi-viewall-btn .fa { margin-left: 6px; }

/* Responsive — equipment grid */
@media (max-width: 991px) {
    .threadi-home-equip-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
    .threadi-home-equip-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
    .threadi-home-equip-card { height: auto; min-height: 260px; }
    .threadi-home-equip-thumb { height: 120px; }
}

/* ============================================================
   ③ HOMEPAGE MINI ROI CALCULATOR SECTION
   ============================================================ */

.threadi-homecalc-wrap {
    background:
        radial-gradient(circle at 12% 18%, rgba(249,168,37,0.18), transparent 24%),
        radial-gradient(circle at 85% 12%, rgba(255,255,255,0.08), transparent 20%),
        linear-gradient(135deg, #13391a 0%, #1B5E20 52%, #285f2f 100%);
    padding: 84px 0 76px;
    overflow: hidden;
    position: relative;
}

.threadi-homecalc-wrap::before,
.threadi-homecalc-wrap::after {
    content: '';
    position: absolute;
    pointer-events: none;
    opacity: 0.18;
    z-index: 0;
}

.threadi-homecalc-wrap::before {
    width: 220px;
    height: 220px;
    top: 52px;
    left: 4%;
    background:
        radial-gradient(circle at 30% 30%, rgba(249,168,37,0.7), rgba(249,168,37,0) 62%),
        radial-gradient(circle at 72% 68%, rgba(255,255,255,0.34), rgba(255,255,255,0) 55%);
    border-radius: 57% 43% 64% 36% / 40% 60% 40% 60%;
    transform: rotate(-24deg);
}

.threadi-homecalc-wrap::after {
    width: 280px;
    height: 280px;
    right: -70px;
    bottom: -48px;
    background:
        linear-gradient(135deg, rgba(249,168,37,0.22), rgba(255,255,255,0.05)),
        radial-gradient(circle at 35% 35%, rgba(255,255,255,0.28), transparent 55%);
    border-radius: 60% 40% 50% 50% / 44% 56% 44% 56%;
    transform: rotate(14deg);
}

.threadi-homecalc-wrap .container {
    position: relative;
    z-index: 1;
}

.threadi-home-section-head--light {
    text-align: center;
}

.threadi-home-section-head--light .ht-section-title {
    color: var(--threadi-homecalc-title-color, #F7F4E8);
}

.threadi-home-section-head--light .threadi-home-section-sub {
    color: var(--threadi-homecalc-subtitle-color, #DCE9D8);
    text-align: center;
}

.threadi-home-section-head--light .threadi-section-bar {
    background: linear-gradient(90deg, #f9a825, #ffd76a);
}

.threadi-homecalc-shell {
    width: min(50%, 760px);
    min-width: 320px;
    margin: 0 auto;
    padding: 28px;
    border-radius: 34px;
    background:
        linear-gradient(145deg, rgba(255,255,255,0.12), rgba(255,255,255,0.04)),
        rgba(8, 26, 12, 0.34);
    border: 1px solid rgba(255,255,255,0.12);
    box-shadow: 0 28px 70px rgba(4,18,8,0.34);
    backdrop-filter: blur(8px);
    position: relative;
    overflow: hidden;
}

.threadi-homecalc-shell::before {
    content: '';
    position: absolute;
    width: 180px;
    height: 180px;
    top: -54px;
    right: -24px;
    border-radius: 64% 36% 58% 42% / 38% 62% 38% 62%;
    background: radial-gradient(circle at 35% 35%, rgba(249,168,37,0.35), rgba(249,168,37,0) 64%);
    opacity: 0.8;
}

.threadi-homecalc-shell::after {
    content: '';
    position: absolute;
    inset: 14px;
    border-radius: 26px;
    border: 1px solid rgba(255,255,255,0.08);
    pointer-events: none;
}

.threadi-homecalc-inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 22px;
    align-items: stretch;
}

/* ── Left: form ── */
.threadi-homecalc-form {
    background:
        linear-gradient(180deg, rgba(255,255,255,0.11), rgba(255,255,255,0.05)),
        rgba(12,44,19,0.48);
    border-radius: 24px;
    padding: 24px;
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
}

.threadi-homecalc-fields {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 20px;
}

.threadi-hc-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.threadi-hc-field label {
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: rgba(255,255,255,0.9);
    display: flex;
    align-items: center;
    gap: 8px;
}

.threadi-hc-field label .fa {
    color: #F9A825;
    width: 16px;
    text-align: center;
}

.threadi-hc-field label span {
    font-weight: 400;
    color: rgba(255,255,255,0.5);
    font-size: 11px;
    margin-left: auto;
    background: rgba(255,255,255,0.1);
    padding: 2px 8px;
    border-radius: 10px;
}

.threadi-hc-field input {
    background: rgba(255,255,255,0.12);
    border: 1.5px solid rgba(255,255,255,0.2);
    border-radius: 16px;
    padding: 14px 16px;
    font-size: 16px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    color: #fff;
    transition: border-color 0.2s, background 0.2s;
    width: 100%;
    box-sizing: border-box;
}

.threadi-hc-field input::placeholder { color: rgba(255,255,255,0.35); font-weight: 400; }

.threadi-hc-field input:focus {
    border-color: #F9A825;
    background: rgba(255,255,255,0.18);
    outline: none;
}

.threadi-hc-btn {
    width: 100%;
    background: linear-gradient(135deg, #F9A825 0%, #f2bb43 50%, #d69516 100%);
    color: #fff;
    border: none;
    border-radius: 999px;
    padding: 15px 18px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 18px 32px rgba(249,168,37,0.28);
}
.threadi-hc-btn:hover {
    filter: brightness(1.03);
    transform: translateY(-2px);
    box-shadow: 0 22px 34px rgba(249,168,37,0.34);
}

.threadi-hc-note {
    font-size: 11px;
    color: rgba(235,244,230,0.6);
    margin: 12px 0 0;
    line-height: 1.6;
    text-align: center;
}

/* ── Right: result panel ── */
.threadi-homecalc-result {
    background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(248,250,244,0.96));
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 18px 44px rgba(5,20,8,0.25);
    min-height: 280px;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(255,255,255,0.42);
}

/* Default state */
.threadi-hc-default {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 32px 24px;
    text-align: center;
}

.threadi-hc-default-icon { font-size: 48px; margin-bottom: 12px; }

.threadi-hc-default p {
    font-size: 14px;
    color: #757575;
    max-width: 260px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.threadi-hc-sample {
    display: flex;
    gap: 20px;
    width: 100%;
    justify-content: center;
}

.threadi-hc-sample-stat {
    text-align: center;
    background: linear-gradient(180deg, #f5f7ee, #edf3e7);
    border-radius: 18px;
    padding: 14px 20px;
    flex: 1;
    max-width: 140px;
    border: 1px solid rgba(27,94,32,0.08);
}

.threadi-hc-sample-stat span {
    display: block;
    font-size: 11px;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin-bottom: 6px;
}

.threadi-hc-sample-stat strong {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #1B5E20;
}

/* Result state */
.threadi-hc-output {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.threadi-hc-headline {
    background: linear-gradient(135deg, #1B5E20, #2b7a31 60%, #3b9041 100%);
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: 22px;
    font-weight: 700;
    padding: 24px 24px 22px;
    line-height: 1.2;
    text-align: center;
}

.threadi-hc-stats {
    display: flex;
    padding: 20px;
    gap: 12px;
    flex: 1;
}

.threadi-hc-stat {
    flex: 1;
    background: linear-gradient(180deg, #f9faf5, #edf2e8);
    border-radius: 18px;
    padding: 16px 12px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 6px;
    border: 1px solid rgba(27,94,32,0.08);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.threadi-hc-stat:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 22px rgba(27,94,32,0.08);
}

.threadi-hc-stat-val {
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #F9A825;
    line-height: 1;
}

.threadi-hc-stat-lbl {
    font-size: 11px;
    color: #757575;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    line-height: 1.3;
}

.threadi-hc-cta-row {
    display: flex;
    gap: 10px;
    padding: 16px 20px;
    border-top: 1px solid rgba(27,94,32,0.08);
    flex-wrap: wrap;
}

.threadi-hc-cta-wa {
    flex: 1;
    background: linear-gradient(135deg, #1B5E20, #2f8135);
    color: #fff;
    padding: 12px 16px;
    border-radius: 999px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 13px;
    text-decoration: none;
    text-align: center;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
    box-shadow: 0 12px 22px rgba(27,94,32,0.18);
}
.threadi-hc-cta-wa:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 16px 28px rgba(27,94,32,0.24);
}
.threadi-hc-cta-wa .fa { margin-right: 5px; }

.threadi-hc-cta-more {
    flex: 1;
    background: linear-gradient(135deg, #fff7e2, #fff2cc);
    color: #1B5E20;
    padding: 12px 16px;
    border-radius: 999px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 13px;
    text-decoration: none;
    text-align: center;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
    box-shadow: 0 12px 22px rgba(217,155,20,0.14);
}
.threadi-hc-cta-more:hover {
    background: linear-gradient(135deg, #fff2cc, #ffe7a6);
    transform: translateY(-2px);
    box-shadow: 0 16px 28px rgba(217,155,20,0.2);
}

/* ④ Footer links: ROI Calculator | Machine Selector */
.threadi-hc-footer-links {
    text-align: center;
    margin-top: 32px;
    padding-top: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

.threadi-hc-footer-links a {
    color: #f6f3e4;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    padding: 10px 18px;
    border: 1px solid rgba(255,255,255,0.16);
    border-radius: 999px;
    background: rgba(255,255,255,0.06);
    transition: transform 0.18s ease, color 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.threadi-hc-footer-links a:hover {
    background: rgba(249,168,37,0.16);
    color: #ffd76a;
    border-color: rgba(249,168,37,0.7);
    transform: translateY(-2px);
}

.threadi-hc-footer-links a .fa { margin-right: 6px; }

.threadi-hc-sep {
    display: none;
}

.threadi-hc-animate .threadi-hc-headline,
.threadi-hc-animate .threadi-hc-stat,
.threadi-hc-animate .threadi-hc-cta-row a {
    animation: threadiRiseIn 0.65s ease both;
}

.threadi-hc-animate .threadi-hc-stat:nth-child(2) { animation-delay: 0.08s; }
.threadi-hc-animate .threadi-hc-stat:nth-child(3) { animation-delay: 0.16s; }
.threadi-hc-animate .threadi-hc-cta-row a:nth-child(1) { animation-delay: 0.22s; }
.threadi-hc-animate .threadi-hc-cta-row a:nth-child(2) { animation-delay: 0.28s; }

@keyframes threadiRiseIn {
    0% {
        opacity: 0;
        transform: translateY(18px) scale(0.98);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Responsive — calculator section */
@media (max-width: 768px) {
    .threadi-homecalc-shell {
        width: 100%;
        min-width: 0;
        padding: 18px;
        border-radius: 24px;
    }

    .threadi-homecalc-form { padding: 20px; }

    .threadi-hc-stats { flex-direction: column; gap: 8px; }

    .threadi-hc-stat {
        flex-direction: row;
        align-items: center;
        text-align: left;
        gap: 12px;
        padding: 10px 14px;
    }

    .threadi-hc-stat-val { font-size: 18px; min-width: 80px; }
    .threadi-hc-stat-lbl { text-align: left; }

    .threadi-hc-footer-links { gap: 10px; }
    .threadi-hc-sep { display: none; }
}
