/*
 * Quark — user customizations
 * Loaded last — overrides theme.css without !important
 * Last updated: June 2026
 */

/* ── Header — transparent over hero, white on scroll ── */
#header {
    background: rgba(255,255,255,0.0) !important;
    border-bottom: none !important;
    transition: background 0.3s ease, border-bottom 0.3s ease;
}

#header.scrolled {
    background: rgba(255,255,255,0.96) !important;
    border-bottom: 3px solid #FFED00 !important;
}

/* ── Nav links white when header is transparent ── */
#header:not(.scrolled) .navbar-link {
    color: white !important;
}

/* ── Header nav logo size ── */
.navbar-brand img {
    height: 60px;
    width: auto;
    margin: 4px 0;
}

/* ── Hero — fix text clipping at top caused by fixed header ── */
.modular-hero .container.grid-lg {
    padding-top: 3rem !important;
    padding-bottom: 4rem !important;
}

/* ─────────────────────────────────────────
   CUSTOM HERO LAYOUT — TWO COLUMN
   ───────────────────────────────────────── */

/* ── Hero section background ── */
section.modular-hero.hero-custom-layout {
    background: #000000 !important;
    min-height: 520px;
    display: flex;
    align-items: stretch;
    padding: 0 !important;
}

section.modular-hero.hero-custom-layout .container.grid-lg {
    padding: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
}

/* ── Two-column wrapper ── */
.hero-2col {
    display: grid;
    grid-template-columns: 45fr 55fr;
    align-items: stretch;
    width: 100%;
    min-height: 520px;
}

/* ── Left column: Tim icon + EIES logo + text + CTA ── */
.hero-left-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 1.1rem;
    padding: 3rem 2.5rem 3rem 2.5rem;
}

/* ── Tim's icon-sized photo ── */
.hero-tim-icon-wrap {
    width: 88px;
    height: 88px;
    margin-top: 1.5rem;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #FFED00;
    flex-shrink: 0;
}

.hero-tim-icon {
    width: 88px !important;
    height: 88px !important;
    max-width: none !important;
    object-fit: cover !important;
    object-position: top center !important;
    display: block !important;
    float: none !important;
    margin: 0 !important;
    border-radius: 0 !important;
}

/* ── Main company logo ── */
.hero-main-logo {
    width: auto !important;
    max-width: 340px !important;
    height: auto !important;
    display: block !important;
    float: none !important;
    margin: 0 auto !important;
}

/* ── Subline text ── */
.hero-subline {
    color: rgba(255,255,255,0.8);
    font-size: 0.92rem;
    line-height: 1.6;
    margin: 0;
    max-width: 320px;
}

/* ── CTA button ── */
.hero-cta-btn {
    display: inline-block;
    background: #0072FF;
    color: #ffffff !important;
    text-decoration: none !important;
    font-weight: 700;
    font-size: 1rem;
    padding: 0.85rem 2rem;
    border-radius: 4px;
    transition: background 0.2s ease;
}

.hero-cta-btn:hover {
    background: #005ed4;
    color: #ffffff !important;
}

/* ── Right column: Corghi announcement ── */
.hero-right-col {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2.5rem 2.5rem 2.5rem 1.5rem;
    border-left: 1px solid rgba(255,237,0,0.15);
}

/* ── Announcement panel — Corghi red card on black column ── */
.hero-dealer-announcement {
    background: #CC0000;
    border: none;
    border-radius: 8px;
    padding: 2rem 2rem 2rem 1.75rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 1.5rem;
    width: 100%;
    max-width: 460px;
}

/* ── ANNOUNCING label — bold, single word ── */
.hero-announcement-new {
    display: inline-block;
    background: #FFED00;
    color: #3D3B3C;
    font-size: 0.95rem;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 0.45rem 1.2rem;
    border-radius: 3px;
    align-self: flex-start;
}

/* ── Corghi logo — on white pill so it pops off the red ── */
.hero-corghi-logo {
    width: 100% !important;
    max-width: 420px !important;
    height: auto !important;
    display: block !important;
    float: none !important;
    margin: 0 !important;
}

/* ── Announcement body text ── */
.hero-announcement-text {
    color: rgba(255,255,255,0.95);
    font-size: 1rem;
    line-height: 1.65;
    margin: 0;
    border-top: 2px solid rgba(255,237,0,0.5);
    padding-top: 1.25rem;
}

.hero-announcement-text strong {
    color: #FFED00;
}

/* ── Responsive — tablet ── */
@media (max-width: 900px) {
    .hero-2col {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .hero-left-col {
        padding: 2.5rem 2rem 2rem 2rem;
        border-right: none;
        border-bottom: 1px solid rgba(255,237,0,0.15);
    }

    .hero-right-col {
        border-left: none;
        padding: 2rem;
        justify-content: flex-start;
    }

    .hero-dealer-announcement {
        max-width: 100%;
    }
}

/* ── Responsive — mobile ── */
@media (max-width: 600px) {
    .hero-left-col {
        padding: 2rem 1.25rem 1.75rem 1.25rem;
    }

    .hero-right-col {
        padding: 1.25rem;
    }

    .hero-main-logo {
        max-width: 220px !important;
    }

    .hero-cta-btn {
        width: 100%;
        text-align: center;
    }

    .hero-corghi-logo {
        max-width: 260px !important;
    }
}

/* ── Remove h2 decorative dash (excludes services page) ── */
body:not(.services-page) article.content-item h2::before {
    display: none;
}

/* ── H1 size and alignment on content pages (excludes services page) ── */
body:not(.services-page) #body-wrapper .container.grid-lg h1 {
    font-size: 1.7rem !important;
    text-align: left !important;
    line-height: 1.25 !important;
    margin-top: 1rem !important;
}

/* ── Byline styling — bold paragraph directly under H1 ── */
#body-wrapper .container.grid-lg h1 + p strong {
    font-size: 0.85rem;
    font-weight: 600;
    color: #6C757D;
    letter-spacing: 0.02em;
}

/* ─────────────────────────────────────────
   IMAGES
   ───────────────────────────────────────── */

/* ── Default: article images full width, no float ── */
article.content-item img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
    float: none !important;
    margin: 1.5rem 0 !important;
}

/* ── Tim's photo on About page — floated right, fixed width ── */
img.tim-photo {
    float: right !important;
    width: 220px !important;
    max-width: 220px !important;
    height: auto !important;
    border-radius: 10px !important;
    margin: 0 0 1.5rem 2rem !important;
    display: block !important;
}

/* ─────────────────────────────────────────
   ABOUT PAGE
   ───────────────────────────────────────── */

/* ── Pull quote ── */
article.content-item p em {
    display: block;
    font-size: 1.1rem;
    font-style: italic;
    color: #0072FF;
    border-top: 3px solid #FFED00;
    border-bottom: 3px solid #FFED00;
    padding: 1rem 0;
    margin: 1.5rem 0;
    line-height: 1.5;
    clear: right;
}

/* ── Horizontal rule styling ── */
article.content-item hr {
    border: none;
    border-top: 2px solid #FFED00;
    margin: 2rem 0 1rem 0;
    clear: both;
}

/* ── Signature block ── */
article.content-item hr ~ p em {
    font-style: italic;
    color: #6C757D;
    line-height: 1.8;
}

/* ── Highlighted sentence — mild yellow background, bold ── */
mark.about-highlight {
    background: #FFF9C4;
    color: #3D3B3C;
    font-weight: 700;
    padding: 0.15em 0.3em;
    border-radius: 3px;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
}

/* ─────────────────────────────────────────
   HOMEPAGE — AUTHORIZED DEALER TRUST STRIP
   Handled via HTML in hero.md — see .corghi-dealer-strip below
   ───────────────────────────────────────── */

/* ─────────────────────────────────────────
   ACCORDION — SHORTCODE UI
   ───────────────────────────────────────── */

/* ── Accordion wrapper spacing ── */
.accordion-wrapper {
    margin-bottom: 4px !important;
}

/* ── Hide the radio inputs ── */
.accordion-wrapper input[type="radio"] {
    display: none !important;
}

/* ── The clickable label — accordion header ── */
.accordion-wrapper label {
    display: block !important;
    background: #0072FF !important;
    color: #ffffff !important;
    font-weight: 600 !important;
    font-size: 0.95rem !important;
    padding: 0.85rem 1.2rem !important;
    border-radius: 4px !important;
    margin-bottom: 4px !important;
    cursor: pointer !important;
    transition: background 0.2s ease !important;
    position: relative !important;
}

/* ── Arrow indicator ── */
.accordion-wrapper label::after {
    content: '▼' !important;
    position: absolute !important;
    right: 1.2rem !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    font-size: 0.7rem !important;
    opacity: 0.8 !important;
}

/* ── Hover state ── */
.accordion-wrapper label:hover {
    background: #005ed4 !important;
}

/* ── Content panel ── */
.accordion-wrapper article {
    border: 2px solid #dee2e6 !important;
    border-top: none !important;
    border-bottom-left-radius: 4px !important;
    border-bottom-right-radius: 4px !important;
    margin-bottom: 4px !important;
}

/* ── Padding on inner p tags ── */
.accordion-wrapper article p {
    padding: 0 1.2rem !important;
    margin-top: 1rem !important;
    margin-bottom: 1rem !important;
}

/* ─────────────────────────────────────────
   WHY-US SECTION
   ───────────────────────────────────────── */

section.modular-text.standard.bg-gray {
    background: #D0D3D6 !important;
    padding: 4rem 0;
}

section.modular-text.standard.bg-gray .columns.left {
    align-items: center;
}

section.modular-text.standard.bg-gray img {
    float: none !important;
    width: 100% !important;
    max-width: 340px !important;
    height: auto !important;
    border-radius: 12px !important;
    border: 4px solid #0072FF !important;
    box-shadow: 0 4px 16px rgba(0, 114, 255, 0.15) !important;
    margin: 0 auto !important;
    display: block !important;
}

section.modular-text.standard.bg-gray h2 {
    color: #3D3B3C;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.3;
}

section.modular-text.standard.bg-gray h3 {
    color: #0072FF;
    font-size: 0.85rem;
    font-weight: 700;
    margin-top: 1rem;
    margin-bottom: 0.15rem;
    line-height: 1.3;
}

section.modular-text.standard.bg-gray h3:first-of-type {
    margin-top: 0;
}

section.modular-text.standard.bg-gray p {
    font-size: 0.8rem;
    line-height: 1.6;
    color: #3D3B3C;
}

/* ─────────────────────────────────────────
   FOOTER
   ───────────────────────────────────────── */

#footer .footer-col-content img {
    width: 160px !important;
    height: auto !important;
    display: block !important;
    float: none !important;
    margin: 0 0 0.5rem 0 !important;
    border-radius: 3px !important;
}

#footer .footer-col-content p {
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.3 !important;
    font-size: 0.8rem !important;
    color: rgba(255,255,255,0.75) !important;
}

#footer .footer-col-content p + p {
    margin-top: 0.1rem !important;
}

#footer .footer-col-content a {
    color: rgba(255,255,255,0.75) !important;
    text-decoration: none !important;
    display: block !important;
    line-height: 1.5 !important;
    font-size: 0.8rem !important;
    margin-top: 0.4rem !important;
}

#footer .footer-col-content a:hover {
    color: #FFED00 !important;
}

/* ─────────────────────────────────────────
   SHARED BUTTON STYLES — PRODUCT PAGES
   ───────────────────────────────────────── */

.machine-btn-primary {
    background: #0072FF !important;
    color: #ffffff !important;
    border: 2px solid #0072FF !important;
    border-radius: 4px !important;
    padding: 0.7rem 1.5rem !important;
    font-weight: 700 !important;
    font-size: 0.95rem !important;
    text-decoration: none !important;
    transition: background 0.2s ease, border-color 0.2s ease !important;
    white-space: nowrap;
    display: inline-block;
}

.machine-btn-primary:hover {
    background: #005ed4 !important;
    border-color: #005ed4 !important;
    color: #ffffff !important;
}

.machine-btn-secondary {
    background: transparent !important;
    color: #0072FF !important;
    border: 2px solid #0072FF !important;
    border-radius: 4px !important;
    padding: 0.7rem 1.5rem !important;
    font-weight: 700 !important;
    font-size: 0.95rem !important;
    text-decoration: none !important;
    transition: background 0.2s ease !important;
    white-space: nowrap;
    display: inline-block;
}

.machine-btn-secondary:hover {
    background: #0072FF !important;
    color: #ffffff !important;
}

/* ─────────────────────────────────────────
   PRODUCTS PAGE — CATEGORY OVERVIEW
   ───────────────────────────────────────── */

/* ── Products page — zero inner container padding, keep body-wrapper nav clearance ── */
body.products-fullwidth.header-fixed #body-wrapper {
    padding-top: 4rem !important;
}

body.products-fullwidth #body-wrapper.section {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

body.products-fullwidth .container.grid-lg {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* ── Kill theme's 2rem padding on inner container inside header band ── */
body.products-fullwidth #body-wrapper .products-page-header .container {
    padding: 0 !important;
}

/* ── Kill theme's 2rem padding on inner container inside category sections ── */
body.products-fullwidth #body-wrapper .products-category-section .container {
    padding: 0 !important;
}

/* ── Kill theme's 2rem padding on inner container inside contact bar ── */
body.products-fullwidth #body-wrapper .products-contact-bar .container {
    padding: 0 !important;
}

/* ── Page header band ── */
.products-page-header {
    background: #D6DCE4;
    padding: 1rem 1.5rem 1rem 1.5rem;
    border-bottom: 4px solid #FFED00;
}

.products-page-header h1 {
    color: #0072FF !important;
    font-size: 2.4rem !important;
    text-align: left !important;
    margin: 0 0 0.6rem 0 !important;
    font-weight: 800 !important;
    line-height: 1.1 !important;
}

.products-intro {
    color: #3D3B3C;
    font-size: 1rem;
    line-height: 1.6;
    max-width: 700px;
    margin: 0;
    font-weight: 400;
}

/* ── Category sections — alternating backgrounds ── */
.products-category-section {
    padding: 0.5rem 1.5rem 2rem 1.5rem;
    background: #ffffff;
}

.products-category-section--alt {
    background: #F8F9FA;
}

/* ── Category header ── */
.category-header {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid #FFED00;
}

.category-title {
    color: #3D3B3C;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 0.4rem 0;
}

.category-title::before {
    display: none !important;
}

.category-description {
    color: #3D3B3C;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
    max-width: 700px;
    font-weight: 400;
}

/* ── Machine cards grid ── */
.machine-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1.5rem;
}

/* ── Individual machine card ── */
.machine-card {
    background: #ffffff;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
    position: relative;
    cursor: pointer;
}

.machine-card:hover {
    box-shadow: 0 6px 20px rgba(0, 114, 255, 0.12);
    transform: translateY(-2px);
}

/* ── Card image area ── */
.machine-card-image {
    background: #F8F9FA;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-bottom: 1px solid #dee2e6;
}

.machine-card-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    padding: 1rem !important;
    margin: 0 !important;
    float: none !important;
}

.machine-card-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e9ecef;
    color: #3D3B3C;
    font-size: 1.1rem;
    font-weight: 700;
}

/* ── Card body ── */
.machine-card-body {
    padding: 1rem 1rem 0.5rem 1rem;
    flex-grow: 1;
}

.machine-card-model {
    font-size: 1.1rem;
    font-weight: 700;
    color: #3D3B3C;
    margin: 0 0 0.25rem 0;
}

.machine-card-tagline {
    font-size: 0.85rem;
    color: #3D3B3C;
    line-height: 1.4;
    margin: 0;
    font-weight: 400;
}

/* ── Card footer ── */
.machine-card-footer {
    padding: 0.75rem 1rem 1rem 1rem;
}

.machine-card-btn {
    display: block;
    width: 100%;
    text-align: center;
    background: #0072FF !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 4px !important;
    padding: 0.6rem 1rem !important;
    font-weight: 700 !important;
    font-size: 0.9rem !important;
    text-decoration: none !important;
    transition: background 0.2s ease !important;
    position: static;
}

.machine-card-btn::after {
    content: '';
    position: absolute;
    inset: 0;
}

.machine-card-btn:hover {
    background: #005ed4 !important;
    color: #ffffff !important;
}

/* ── Category divider ── */
.category-divider {
    height: 4px;
    background: #FFED00;
}

/* ── Bottom contact bar ── */
.products-contact-bar {
    background: #D6DCE4;
    padding: 1.2rem 1.5rem;
    border-top: 4px solid #FFED00;
}

.products-contact-bar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: nowrap;
}

.products-contact-bar-text h3 {
    color: #3D3B3C;
    font-size: 1.2rem;
    margin: 0 0 0.4rem 0;
    font-weight: 700;
}

.products-contact-bar-text p {
    color: #3D3B3C;
    font-size: 0.9rem;
    margin: 0;
    font-weight: 400;
}

.products-contact-bar-buttons {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
    flex-wrap: wrap;
}

/* ─────────────────────────────────────────
   MACHINE SALES PAGE
   ───────────────────────────────────────── */

/* ── Machine page — remove body-wrapper top padding via body class ── */
body.machine-page.header-fixed #body-wrapper {
    padding-top: 4rem !important;
}

body.machine-page #body-wrapper.section {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

body.machine-page .container.grid-lg {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* ── Kill theme's 2rem top/bottom padding on container inside machine page ── */
body.machine-page #body-wrapper .container {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

/* ── Kill theme's 2rem padding on inner container inside breadcrumb ── */
body.machine-page #body-wrapper .machine-breadcrumb .container {
    padding: 0 1.5rem !important;
}

/* ── Kill theme's 2rem padding on inner container inside machine page ── */
body.machine-page #body-wrapper .machine-page-inner .container {
    padding: 0 !important;
}

.machine-breadcrumb {
    background: #D6DCE4;
    border-bottom: 4px solid #FFED00;
    padding: 0;
    font-size: 0.82rem;
    color: #3D3B3C;
    display: flex;
    align-items: center;
    min-height: 2.2rem;
}

/* ── Kill theme's inner container padding inside breadcrumb ── */
.machine-breadcrumb .container {
    padding: 0 1.5rem !important;
}

.machine-breadcrumb a {
    color: #0072FF;
    text-decoration: none;
    font-weight: 600;
}

.machine-breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb-sep {
    margin: 0 0.4rem;
    color: #3D3B3C;
}

/* ── Page wrapper ── */
.machine-page {
    padding: 1.5rem 0 0 0;
}

/* ── Two-column grid ── */
.machine-grid {
    display: grid;
    grid-template-columns: 420px 1fr;
    gap: 3rem;
    align-items: start;
    margin-bottom: 2.5rem;
}

/* ── Image column ── */
.machine-image-col {
    position: sticky;
    top: 80px;
}

.machine-photo {
    width: 100% !important;
    height: auto !important;
    background: #F8F9FA !important;
    border: 1px solid #dee2e6 !important;
    border-radius: 8px !important;
    padding: 1.5rem !important;
    display: block !important;
    float: none !important;
    margin: 0 0 1rem 0 !important;
    object-fit: contain !important;
}

.machine-photo-placeholder {
    width: 100%;
    height: 360px;
    background: #e9ecef;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #3D3B3C;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

/* ── Warranty badge ── */
.machine-warranty-badge {
    background: #3D3B3C;
    color: #ffffff;
    border-radius: 6px;
    padding: 0.6rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
}

.warranty-years {
    font-size: 1.4rem;
    font-weight: 800;
    color: #FFED00;
    line-height: 1;
}

.warranty-label {
    font-weight: 600;
    display: block;
}

.warranty-sub {
    color: rgba(255,255,255,0.75);
    font-size: 0.75rem;
    display: block;
}

/* ── Details column ── */
.machine-details-col {
    padding-top: 0.5rem;
}

.machine-category-label {
    font-size: 0.78rem;
    font-weight: 700;
    color: #3D3B3C;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin: 0 0 0.4rem 0;
}

.machine-model {
    font-size: 2.2rem !important;
    font-weight: 800 !important;
    color: #3D3B3C !important;
    line-height: 1.1 !important;
    margin: 0 0 0.5rem 0 !important;
    text-align: left !important;
}

.machine-tagline {
    font-size: 1.05rem;
    color: #3D3B3C;
    line-height: 1.5;
    margin: 0 0 1.25rem 0;
    font-weight: 400;
}

/* ── Price block ── */
.machine-price-block {
    background: #F8F9FA;
    border: 1px solid #dee2e6;
    border-left: 4px solid #0072FF;
    border-radius: 0 6px 6px 0;
    padding: 0.85rem 1.25rem;
    margin-bottom: 1.25rem;
}

/* ── FIXED June 18, 2026: renamed from .price-label to match
   actual class output by machine.html.twig (machine-price-label) ── */
.machine-price-label {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #3D3B3C;
    display: block;
    margin-bottom: 0.2rem;
}

/* ── FIXED June 18, 2026: renamed from .price-amount to match
   actual class output by machine.html.twig (machine-price-amount).
   Also covers the "Call for Pricing" state via the .call-for-pricing
   modifier class that the twig already appends. ── */
.machine-price-amount {
    font-size: 1.8rem;
    font-weight: 800;
    color: #0072FF;
    line-height: 1;
    display: block;
}

.machine-price-amount.call-for-pricing {
    font-size: 1.2rem;
    color: #3D3B3C;
}

/* ── FIXED June 18, 2026: renamed from .price-note to match
   actual class output by machine.html.twig (machine-price-note) ── */
.machine-price-note {
    font-size: 0.75rem;
    color: #3D3B3C;
    display: block;
    margin-top: 0.3rem;
    font-weight: 400;
}

/* ── NEW June 18, 2026: freight_note field — shown under price_note,
   muted blue-gray to read as secondary/related info without
   competing with the price itself ── */
.machine-freight-note {
    font-size: 0.75rem;
    color: #6C757D;
    display: block;
    margin-top: 0.3rem;
    font-weight: 600;
    font-style: italic;
}

/* ── Top CTA buttons ── */
.machine-cta-top {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

/* ── Divider ── */
.machine-divider {
    border: none !important;
    border-top: 2px solid #dee2e6 !important;
    margin: 0 0 1.25rem 0 !important;
}

/* ── Description ── */
.machine-description {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #3D3B3C;
    margin-bottom: 1.5rem;
    font-weight: 400;
}

/* ── Section headings inside details col ── */
.machine-section-heading {
    font-size: 0.78rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.1em !important;
    color: #3D3B3C !important;
    margin: 0 0 0.75rem 0 !important;
    padding-bottom: 0.4rem !important;
    border-bottom: 2px solid #FFED00 !important;
}

/* ── Features list ── */
.machine-features {
    margin-bottom: 1.5rem;
}

.machine-feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.machine-feature-list li {
    padding: 0.4rem 0 0.4rem 1.4rem;
    position: relative;
    font-size: 0.92rem;
    color: #3D3B3C;
    line-height: 1.5;
    border-bottom: 1px solid #f0f0f0;
    font-weight: 400;
}

.machine-feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #0072FF;
    font-weight: 700;
}

/* ── Specs table ── */
.machine-specs-block {
    background: #E1E5EA;
    border: 1px solid #ccd0d6;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.machine-specs-block .machine-section-heading {
    margin-bottom: 1rem !important;
}

.machine-specs-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.machine-specs-table th {
    text-align: left;
    font-weight: 400;
    color: #3D3B3C;
    padding: 0.6rem 1rem 0.6rem 0;
    width: 40%;
    border-bottom: 1px solid #b8bec8;
    vertical-align: top;
}

.machine-specs-table td {
    font-weight: 700;
    color: #3D3B3C;
    padding: 0.6rem 0;
    border-bottom: 1px solid #b8bec8;
}

.machine-specs-table tr:last-child th,
.machine-specs-table tr:last-child td {
    border-bottom: none;
}

/* ── Accessories note ── */
.machine-accessories-note {
    background: #fff9e0;
    border: 1px solid #FFED00;
    border-radius: 6px;
    padding: 0.85rem 1.25rem;
    font-size: 0.88rem;
    color: #3D3B3C;
    margin-bottom: 1rem;
    font-weight: 400;
}

.machine-accessories-note p {
    margin: 0;
}

/* ── Most Popular badge ── */
.machine-popular-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: #FFED00;
    color: #3D3B3C;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 0.35rem 0.85rem;
    border-radius: 4px;
    margin-bottom: 0.85rem;
}

.popular-star {
    color: #3D3B3C;
    font-size: 0.9rem;
    line-height: 1;
}

/* ── Product Literature block ── */
.machine-mfr-link-block {
    background: #3D3B3C;
    border-radius: 6px;
    border-top: 4px solid #FFED00;
    padding: 1rem 1.25rem 1.25rem 1.25rem;
    margin-bottom: 1.5rem;
}

.machine-mfr-link-label {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #FFED00;
    margin-bottom: 0.85rem;
}

/* ── Button row ── */
.machine-lit-buttons {
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
    align-items: center;
}

/* ── Base link style — transparent, inline ── */
.machine-lit-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none !important;
    background: transparent;
    border: none;
    padding: 0;
    transition: opacity 0.2s ease;
    white-space: nowrap;
}

.machine-lit-btn:hover {
    opacity: 0.8;
}

/* ── Circle badge icon ── */
.machine-lit-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 0.6rem;
    font-weight: 800;
    letter-spacing: 0.03em;
    flex-shrink: 0;
    line-height: 1;
}

/* ── PDF badge — red circle ── */
.machine-lit-btn--pdf .machine-lit-icon {
    background: #CC0000;
    color: #ffffff;
}

/* ── Video badge — red circle ── */
.machine-lit-btn--video .machine-lit-icon {
    background: #CC0000;
    color: #ffffff;
}

/* ── Label text beside the badge ── */
.machine-lit-label {
    font-size: 0.92rem;
    font-weight: 500;
    color: rgba(255,255,255,0.9);
    line-height: 1;
}

.machine-lit-btn:hover .machine-lit-label {
    color: #ffffff;
}

/* ── Fallback when neither PDF nor video is set ── */
.machine-lit-pending {
    color: rgba(255,255,255,0.45);
    font-size: 0.82rem;
    font-style: italic;
}

/* ── Accessories PDF link — sits below specs table on light background ── */
.machine-accessories-pdf {
    margin-top: 1rem;
    padding-top: 0.85rem;
    border-top: 1px solid #e0e0e0;
}

.machine-accessories-pdf-link {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none !important;
    transition: opacity 0.2s ease;
}

.machine-accessories-pdf-link:hover {
    opacity: 0.75;
}

.machine-accessories-pdf-link .machine-lit-icon {
    background: #CC0000;
    color: #ffffff;
}

.machine-accessories-pdf-link span:last-child {
    font-size: 0.92rem;
    font-weight: 500;
    color: #3D3B3C;
}

/* ── Available Accessories — compact card row ── */
.machine-accessories-block {
    margin-bottom: 1.5rem;
}

.machine-accessories-grid {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.machine-accessory-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: #ffffff;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    padding: 0.75rem 1rem;
}

.machine-accessory-image {
    width: 64px;
    height: 64px;
    flex-shrink: 0;
    background: #F8F9FA;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.machine-accessory-image a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    cursor: zoom-in;
}

.machine-accessory-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    padding: 0.4rem !important;
    margin: 0 !important;
    float: none !important;
    transition: opacity 0.2s ease;
}

.machine-accessory-image a:hover img {
    opacity: 0.75;
}

.machine-accessory-image-placeholder {
    font-size: 0.62rem;
    font-weight: 700;
    color: #3D3B3C;
    text-align: center;
    padding: 0.25rem;
    line-height: 1.2;
}

.machine-accessory-body {
    flex-grow: 1;
    min-width: 0;
}

.machine-accessory-name {
    font-size: 0.92rem;
    font-weight: 700;
    color: #3D3B3C;
    margin: 0 0 0.15rem 0;
}

.machine-accessory-desc {
    font-size: 0.8rem;
    color: #6C757D;
    line-height: 1.4;
    margin: 0;
    font-weight: 400;
}

.machine-accessory-price {
    font-size: 1rem;
    font-weight: 800;
    color: #0072FF;
    flex-shrink: 0;
    white-space: nowrap;
}

/* ── Responsive — stack price below on very narrow screens ── */
@media (max-width: 420px) {
    .machine-accessory-card {
        flex-wrap: wrap;
    }
    .machine-accessory-price {
        margin-left: 80px;
    }
}

/* ── Bottom CTA bar — matches breadcrumb band ── */
.machine-cta-bottom {
    background: #D6DCE4;
    border-radius: 8px;
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
    border-top: 4px solid #FFED00;
}

.machine-cta-bottom-text {
    flex: 1;
}

.machine-cta-bottom-text h3 {
    color: #3D3B3C;
    font-size: 1.1rem;
    margin: 0 0 0.4rem 0;
    font-weight: 700;
}

.machine-cta-bottom-text p {
    color: #3D3B3C;
    font-size: 0.88rem;
    margin: 0;
    max-width: 500px;
    font-weight: 400;
}

.machine-cta-bottom-buttons {
    display: flex;
    gap: 0.75rem;
    flex-shrink: 0;
    flex-wrap: wrap;
}

/* ─────────────────────────────────────────
   RESPONSIVE — PRODUCT PAGES
   ───────────────────────────────────────── */

@media (max-width: 900px) {
    .machine-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .machine-image-col {
        position: static;
    }

    .machine-cta-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .products-contact-bar-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 600px) {
    .machine-cards-grid {
        grid-template-columns: 1fr;
    }

    .machine-model {
        font-size: 1.7rem !important;
    }

    .machine-cta-top {
        flex-direction: column;
    }

    .machine-cta-bottom-buttons {
        flex-direction: column;
        width: 100%;
    }

    .machine-btn-primary,
    .machine-btn-secondary {
        text-align: center;
        width: 100%;
    }
}

/* ─────────────────────────────────────────
   SERVICES PAGE
   ───────────────────────────────────────── */

/* ── Breathing room top and bottom ── */
body.services-page #body-wrapper .container.grid-lg {
    padding-top: 2rem !important;
    padding-bottom: 3rem !important;
}

/* ── H1 — page headline, blue, yellow underline ── */
body.services-page #body-wrapper .container.grid-lg h1 {
    font-size: 2rem !important;
    font-weight: 800 !important;
    color: #0072FF !important;
    text-align: left !important;
    line-height: 1.2 !important;
    margin: 0 0 1.25rem 0 !important;
    border-bottom: 4px solid #FFED00 !important;
    padding-bottom: 1rem !important;
}

/* ── Intro paragraphs under H1 ── */
body.services-page #body-wrapper .container.grid-lg h1 + p,
body.services-page #body-wrapper .container.grid-lg h1 + p + p {
    font-size: 1.05rem !important;
    color: #3D3B3C !important;
    line-height: 1.7 !important;
    margin-bottom: 0.75rem !important;
}

/* ── HR dividers — thicker, more breathing room ── */
body.services-page #body-wrapper .container.grid-lg hr {
    border: none !important;
    border-top: 3px solid #FFED00 !important;
    margin: 2.5rem 0 2rem 0 !important;
    clear: both !important;
}

/* ── H2 — service block headings with blue left border ── */
body.services-page #body-wrapper .container.grid-lg h2 {
    font-size: 1.4rem !important;
    font-weight: 700 !important;
    color: #3D3B3C !important;
    margin: 0 0 0.75rem 0 !important;
    padding-left: 1rem !important;
    border-left: 5px solid #0072FF !important;
    line-height: 1.3 !important;
}

/* ── Body paragraphs in service blocks ── */
body.services-page #body-wrapper .container.grid-lg h2 + p {
    font-size: 0.97rem !important;
    color: #3D3B3C !important;
    line-height: 1.75 !important;
    margin-bottom: 1.25rem !important;
}

/* ── CTA button paragraph wrapper — remove extra line-height ── */
body.services-page #body-wrapper .container.grid-lg h2 + p + p,
body.services-page #body-wrapper .container.grid-lg h2 + p + p + p {
    line-height: 1 !important;
    margin-bottom: 1rem !important;
}

/* ── CTA buttons — styled as blue pill buttons ── */
body.services-page #body-wrapper .container.grid-lg h2 + p + p a,
body.services-page #body-wrapper .container.grid-lg h2 + p + p + p a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #0072FF !important;
    color: #ffffff !important;
    text-decoration: none !important;
    font-weight: 700 !important;
    font-size: 0.9rem !important;
    padding: 0.65rem 1.4rem !important;
    border-radius: 4px !important;
    transition: background 0.2s ease !important;
    line-height: 1 !important;
}

body.services-page #body-wrapper .container.grid-lg h2 + p + p a:hover,
body.services-page #body-wrapper .container.grid-lg h2 + p + p + p a:hover {
    background: #005ed4 !important;
    color: #ffffff !important;
}

/* ── Final CTA band — "Not Sure If We Can Help?" ── */
body.services-page #body-wrapper .container.grid-lg h2:last-of-type {
    background: #D6DCE4 !important;
    border-left: none !important;
    border-top: 4px solid #FFED00 !important;
    border-radius: 8px 8px 0 0 !important;
    padding: 1.5rem 1.5rem 0 1.5rem !important;
    margin: 0 !important;
}

body.services-page #body-wrapper .container.grid-lg h2:last-of-type + p {
    background: #D6DCE4 !important;
    padding: 0.5rem 1.5rem !important;
    margin: 0 !important;
}

body.services-page #body-wrapper .container.grid-lg h2:last-of-type + p + p {
    background: #D6DCE4 !important;
    padding: 0.75rem 1.5rem 1.5rem 1.5rem !important;
    margin: 0 0 2rem 0 !important;
    border-radius: 0 0 8px 8px !important;
}

body.services-page #body-wrapper .container.grid-lg h2:last-of-type + p + p a {
    background: #3D3B3C !important;
    color: #FFED00 !important;
    font-size: 1rem !important;
    padding: 0.75rem 1.75rem !important;
}

body.services-page #body-wrapper .container.grid-lg h2:last-of-type + p + p a:hover {
    background: #222222 !important;
    color: #FFED00 !important;
}

/* ── Responsive ── */
@media (max-width: 600px) {
    body.services-page #body-wrapper .container.grid-lg h1 {
        font-size: 1.6rem !important;
    }
    body.services-page #body-wrapper .container.grid-lg h2 {
        font-size: 1.2rem !important;
    }
}

/* ─────────────────────────────────────────
   CORGHI AUTHORIZED DEALER TRUST STRIP
   ───────────────────────────────────────── */

.corghi-dealer-strip {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    background: #3D3B3C;
    border-top: 3px solid #FFED00;
    padding: 0.6rem 1.5rem;
    margin-top: 2rem;
    border-radius: 4px;
    flex-wrap: wrap;
}

.corghi-strip-logo {
    height: 60px;
    width: auto;
    display: block;
    flex-shrink: 0;
    max-width: none !important;
    width: auto !important;
    margin: 0 !important;
}

.corghi-strip-text {
    color: #FFED00;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-align: center;
    white-space: normal;
}

/* ── Responsive ── */
@media (max-width: 600px) {
    .corghi-dealer-strip {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
}

/* ─────────────────────────────────────────
   FEATURES SECTION — CTA BUTTON
   ───────────────────────────────────────── */

.modular-features .features-btn-wrap {
    text-align: center;
}

.modular-features .features-btn-wrap .btn {
    display: inline-block !important;
    padding: 0.75rem 2.5rem !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    text-decoration: none !important;
    overflow: visible !important;
    height: auto !important;
}

/* ─────────────────────────────────────────
   CONTACT PAGE
   ───────────────────────────────────────── */

body.contact-page.header-fixed #body-wrapper {
    padding-top: 4rem !important;
}

body.contact-page #body-wrapper.section {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

body.contact-page .container.grid-lg {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.contact-page-header {
    background: #D6DCE4;
    border-bottom: 4px solid #FFED00;
    padding: 2rem 1.5rem 1.5rem 1.5rem;
}

.contact-page-header h1 {
    color: #0072FF;
    font-size: 2.4rem;
    font-weight: 800;
    margin: 0 0 0.5rem 0;
    line-height: 1.1;
}

.contact-intro {
    color: #3D3B3C;
    font-size: 1rem;
    line-height: 1.6;
    max-width: 680px;
    margin: 0;
}

.contact-body {
    padding: 2rem 1.5rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: start;
}

.contact-info-col h2,
.contact-form-col h2 {
    color: #3D3B3C;
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0 0 1.5rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid #FFED00;
}

.contact-info-block {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    line-height: 1.5;
    color: #3D3B3C;
}

.contact-info-icon {
    color: #0072FF;
    font-size: 1.2rem;
    margin-top: 0.2rem;
    width: 1.5rem;
    flex-shrink: 0;
}

.contact-info-block a {
    color: #0072FF;
    text-decoration: none;
    font-weight: 600;
}

.contact-info-block a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* ─────────────────────────────────────────
   THANK YOU PAGE
   ───────────────────────────────────────── */

body.thankyou-page #body-wrapper .container.grid-lg {
    padding-top: 4rem !important;
    padding-bottom: 4rem !important;
    text-align: center;
}

body.thankyou-page #body-wrapper .container.grid-lg h1 {
    font-size: 2.2rem !important;
    font-weight: 800 !important;
    color: #0072FF !important;
    text-align: center !important;
    margin: 0 0 1rem 0 !important;
}

body.thankyou-page #body-wrapper .container.grid-lg p {
    font-size: 1.05rem;
    color: #3D3B3C;
    line-height: 1.7;
    max-width: 560px;
    margin: 0 auto 1rem auto;
}

body.thankyou-page #body-wrapper .container.grid-lg a[href^="tel"] {
    display: inline-block;
    font-size: 1.6rem;
    font-weight: 800;
    color: #0072FF;
    text-decoration: none;
    margin: 0.5rem 0 2rem 0;
}

body.thankyou-page #body-wrapper .container.grid-lg a[href^="tel"]:hover {
    text-decoration: underline;
}

body.thankyou-page #body-wrapper .container.grid-lg p:last-of-type {
    margin-top: 1rem;
}

/* ─────────────────────────────────────────
   ABOUT PAGE - CORGHI LOGO INSIDE HEADING
   Used in the "Corghi vs. Brand X" H2 on the
   About page. The About page content is NOT
   wrapped in article.content-item, so this is
   anchored on #body-wrapper instead. Both
   selectors are listed so it works either way.
   Logo scales with the heading font size.
   ───────────────────────────────────────── */

#body-wrapper h2 img.corghi-inline,
article.content-item h2 img.corghi-inline {
    display: inline !important;
    width: auto !important;
    max-width: none !important;
    height: 1.05em !important;
    vertical-align: -0.12em !important;
    float: none !important;
    margin: 0 0.12em 0 0 !important;
    border-radius: 0 !important;
}

@media (max-width: 480px) {
    #body-wrapper h2 img.corghi-inline,
    article.content-item h2 img.corghi-inline {
        height: 1em !important;
        vertical-align: -0.1em !important;
    }
}


/* ═════════════════════════════════════════════════════════════════════
   ANNOUNCEMENT SYSTEM  (added October 1, 2026)
   Three parts: 1) bar on every page  2) homepage hero panel
   3) announcement details page.  Markup lives in
   templates/partials/announce-bar.html.twig, announce-hero-panel.html.twig
   and templates/announcement.html.twig.
   ═════════════════════════════════════════════════════════════════════ */

:root {
    --announce-h: 2.6rem;
}

/* ── Page shifts down by the bar height; fixed header and mobile button follow ── */
body.has-announce {
    padding-top: var(--announce-h);
}

body.has-announce #header {
    top: var(--announce-h);
}

body.has-announce .mobile-menu {
    top: var(--announce-h);
}

/* ── Anchor jumps (the empty id divs used on /products) land below the bar ── */
body.has-announce div[id]:empty {
    scroll-margin-top: var(--announce-h);
}

/* ── The bar itself ── */
.announce-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--announce-h);
    z-index: 4;
    background: #C8102E;
    color: #ffffff;
    border-bottom: 2px solid #8f0b21;
}

.announce-bar-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.9rem;
    height: 100%;
    padding: 0 1rem;
    color: #ffffff !important;
    text-decoration: none !important;
    font-size: 0.92rem;
    font-weight: 700;
}

.announce-bar-link:hover .announce-bar-go {
    text-decoration: underline;
}

.announce-bar-tag {
    flex-shrink: 0;
    background: #ffffff;
    color: #C8102E;
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.2rem 0.6rem;
    border-radius: 3px;
}

.announce-bar-text {
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.announce-bar-go {
    flex-shrink: 0;
    font-weight: 800;
    text-decoration: underline;
}

@media (max-width: 700px) {
    .announce-bar-link {
        gap: 0.5rem;
        padding: 0 0.6rem;
        font-size: 0.8rem;
    }

    .announce-bar-tag {
        font-size: 0.65rem;
        padding: 0.15rem 0.4rem;
    }
}

@media (max-width: 480px) {
    .announce-bar-go {
        display: none;
    }
}

/* ── Homepage hero panel (replaces the default Announcing panel) ── */
.hero-promo {
    background: #111111;
    border: 2px solid #FFED00;
    border-radius: 8px;
    padding: 1.75rem 1.75rem 1.75rem 1.75rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    width: 100%;
    max-width: 460px;
    color: #ffffff;
    text-align: left;
}

.hero-promo-tag {
    display: inline-block;
    background: #FFED00;
    color: #3D3B3C;
    font-size: 0.9rem;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 0.4rem 1.1rem;
    border-radius: 3px;
}

.hero-promo .hero-promo-headline {
    color: #ffffff !important;
    font-size: 1.8rem !important;
    font-weight: 900 !important;
    line-height: 1.1 !important;
    text-transform: uppercase;
    text-align: left !important;
    margin: 0 !important;
}

.hero-promo .hero-promo-headline::before {
    display: none !important;
}

.hero-promo-offer {
    display: flex;
    align-items: center;
    gap: 1rem;
    border-top: 2px solid rgba(255,237,0,0.5);
    border-bottom: 2px solid rgba(255,237,0,0.5);
    padding: 0.75rem 0;
    width: 100%;
}

.hero-promo-big {
    color: #FFED00;
    font-size: 4.2rem;
    font-weight: 900;
    line-height: 0.9;
}

.hero-promo-label {
    color: #ffffff;
    font-size: 1.05rem;
    font-weight: 800;
    line-height: 1.15;
    text-transform: uppercase;
}

.hero-promo-text {
    color: rgba(255,255,255,0.92);
    font-size: 0.98rem;
    line-height: 1.55;
    margin: 0;
}

.hero-promo-dates {
    color: #FFED00;
    font-size: 0.9rem;
    font-weight: 700;
    margin: 0;
}

.hero-promo-btn {
    display: inline-block;
    background: #0072FF;
    color: #ffffff !important;
    font-weight: 800;
    font-size: 0.95rem;
    padding: 0.7rem 1.5rem;
    border-radius: 4px;
    text-decoration: none !important;
}

.hero-promo-btn:hover {
    background: #005ed4;
    color: #ffffff !important;
}

@media (max-width: 900px) {
    .hero-promo {
        max-width: 100%;
    }
}

@media (max-width: 600px) {
    .hero-promo-big {
        font-size: 3.4rem;
    }

    .hero-promo .hero-promo-headline {
        font-size: 1.5rem !important;
    }
}

/* ── Announcement details page ── */
body:not(.services-page) #body-wrapper .announce-page-header .container,
body:not(.services-page) #body-wrapper .announce-page-body .container {
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
}

.announce-page-header {
    background: #111111;
    border-bottom: 4px solid #FFED00;
    padding: 1.5rem 0 1.25rem 0;
}

.announce-page-header .container {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.announce-page-tag {
    display: inline-block;
    background: #FFED00;
    color: #3D3B3C;
    font-size: 0.8rem;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 0.3rem 0.9rem;
    border-radius: 3px;
}

.announce-page-header h1 {
    color: #ffffff !important;
    font-size: 2.4rem !important;
    font-weight: 900 !important;
    text-transform: uppercase;
    margin: 0.6rem 0 0.3rem 0 !important;
}

.announce-page-dates {
    color: #FFED00;
    font-weight: 700;
    margin: 0;
}

.announce-page-body {
    background: #F8F9FA;
    padding: 1.5rem 0 2.5rem 0;
}

.announce-big {
    display: flex;
    align-items: center;
    gap: 1.75rem;
    margin-bottom: 1.75rem;
}

.announce-big-number {
    color: #0072FF;
    font-size: 8rem;
    font-weight: 900;
    line-height: 0.85;
}

.announce-big-label {
    color: #3D3B3C;
    font-size: 2rem;
    font-weight: 900;
    line-height: 1.05;
    text-transform: uppercase;
}

.announce-big-sub {
    color: #3D3B3C;
    font-size: 1.05rem;
    margin: 0.6rem 0 0 0;
}

.announce-tiles {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-bottom: 1.75rem;
}

.announce-tile {
    background: #ffffff;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    overflow: hidden;
    text-align: center;
    display: flex;
    flex-direction: column;
}

.announce-tile-label {
    margin-top: auto;
}

.announce-tile-img {
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
}

.announce-tile-img img {
    max-width: 100% !important;
    max-height: 100% !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    margin: 0 !important;
    float: none !important;
}

.announce-tile-label {
    background: #3D3B3C;
    color: #ffffff;
    font-weight: 800;
    font-size: 0.85rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 0.6rem 0.5rem;
}

.announce-offers {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.announce-offer {
    flex: 1 1 0;
    background: #ffffff;
    border: 2px solid #0072FF;
    border-radius: 8px;
    padding: 1.1rem 1rem;
    text-align: center;
}

.announce-offer-title {
    color: #0072FF;
    font-size: 2rem;
    font-weight: 900;
    line-height: 1.05;
    text-transform: uppercase;
}

.announce-offer-detail {
    color: #3D3B3C;
    font-size: 1.05rem;
    font-weight: 700;
    margin-top: 0.35rem;
    text-transform: uppercase;
}

.announce-or {
    align-self: center;
    background: #3D3B3C;
    color: #FFED00;
    font-weight: 900;
    border-radius: 50%;
    width: 2.6rem;
    height: 2.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.announce-fine {
    color: #6C757D;
    font-size: 0.85rem;
    text-align: center;
    margin: 0 0 1.5rem 0;
}

.announce-extra {
    margin-bottom: 1.5rem;
    color: #3D3B3C;
}

.announce-cta {
    background: #D6DCE4;
    border-top: 4px solid #FFED00;
    border-radius: 0 0 8px 8px;
    padding: 1.5rem;
    text-align: center;
}

.announce-cta h2 {
    color: #3D3B3C !important;
    font-size: 1.4rem !important;
    margin: 0 0 0.4rem 0 !important;
    text-align: center !important;
}

.announce-cta h2::before {
    display: none !important;
}

.announce-cta p {
    color: #3D3B3C;
    margin: 0 0 1rem 0;
}

.announce-cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.announce-more-links {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1.1rem;
    font-weight: 700;
}

.announce-more-links a {
    color: #0072FF;
}

@media (max-width: 700px) {
    .announce-tile-img {
        height: 150px;
    }

    .announce-big {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .announce-big-number {
        font-size: 5.5rem;
    }

    .announce-big-label {
        font-size: 1.5rem;
    }

    .announce-page-header h1 {
        font-size: 1.8rem !important;
    }

    .announce-offers {
        flex-direction: column;
    }

    .announce-or {
        align-self: center;
    }
}


/* ═════════════════════════════════════════════════════════════════════
   USED EQUIPMENT  (added October 1, 2026)
   Reuses the products-page and machine-page classes (cards, breadcrumb,
   grid, buttons). Only the extras are styled here. Pages carry the body
   class products-fullwidth (section page, form page) or machine-page
   (listing detail).
   ═════════════════════════════════════════════════════════════════════ */

.ue-intro p {
    margin: 0 0 0.6rem 0;
}

/* ── How it works strip ── */
.ue-steps-band {
    background: #ffffff;
    border-bottom: 1px solid #dee2e6;
    padding: 1rem 1.5rem;
}

body.products-fullwidth #body-wrapper .ue-steps-band .container {
    padding: 0 !important;
}

.ue-steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.ue-steps li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin: 0;
    color: #3D3B3C;
    font-size: 0.92rem;
    line-height: 1.4;
}

.ue-step-num {
    flex-shrink: 0;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: #0072FF;
    color: #ffffff;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ── Cards ── */
.ue-card-ref {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #6C757D;
    margin: 0 0 0.2rem 0;
}

.ue-card-test {
    display: inline-block;
    margin: 0.5rem 0 0 0;
    font-size: 0.75rem;
    font-weight: 700;
    color: #3D3B3C;
    background: #FFED00;
    padding: 0.15rem 0.5rem;
    border-radius: 3px;
}

.ue-sample-tag,
.ue-status-tag {
    position: absolute;
    top: 0.6rem;
    z-index: 2;
    font-size: 0.7rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.2rem 0.55rem;
    border-radius: 3px;
}

.ue-sample-tag {
    left: 0.6rem;
    background: #3D3B3C;
    color: #FFED00;
}

.ue-status-tag {
    right: 0.6rem;
    background: #0072FF;
    color: #ffffff;
}

.ue-status-inline {
    background: #0072FF;
    color: #ffffff;
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    padding: 0.15rem 0.5rem;
    border-radius: 3px;
    margin-left: 0.5rem;
}

.ue-sample-banner {
    background: #3D3B3C;
    color: #FFED00;
    font-weight: 800;
    text-align: center;
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    letter-spacing: 0.04em;
}

/* ── Empty state ── */
.ue-empty {
    background: #ffffff;
    border: 1px dashed #adb5bd;
    border-radius: 8px;
    padding: 2rem 1.5rem;
    text-align: center;
    margin-bottom: 1.5rem;
}

.ue-empty h2 {
    color: #3D3B3C !important;
    font-size: 1.3rem !important;
    text-align: center !important;
    margin: 0 0 0.5rem 0 !important;
}

.ue-empty h2::before {
    display: none !important;
}

.ue-empty p {
    color: #3D3B3C;
    max-width: 560px;
    margin: 0 auto;
}

/* ── Disclaimer ── */
.ue-disclaimer {
    background: #E1E5EA;
    border-left: 4px solid #3D3B3C;
    border-radius: 0 6px 6px 0;
    padding: 0.9rem 1.2rem;
    margin: 1.5rem 0 0 0;
}

.ue-disclaimer-title {
    color: #3D3B3C;
    font-size: 0.8rem !important;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin: 0 0 0.3rem 0 !important;
}

.ue-disclaimer p {
    color: #3D3B3C;
    font-size: 0.85rem;
    line-height: 1.5;
    margin: 0;
}

/* ── Detail page extras ── */
.ue-thumbs {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.ue-thumbs img {
    width: 100% !important;
    height: auto !important;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    display: block;
    margin: 0 !important;
    float: none !important;
}

.machine-breadcrumb-sep {
    margin: 0 0.4rem;
    color: #3D3B3C;
}

.ue-reason,
.ue-more {
    margin-bottom: 1.25rem;
}

.ue-reason p {
    color: #3D3B3C;
    margin: 0;
}

.ue-interest-box {
    background: #F8F9FA;
    border: 1px solid #dee2e6;
    border-left: 4px solid #0072FF;
    border-radius: 0 6px 6px 0;
    padding: 1rem 1.25rem;
    margin: 1.5rem 0 0 0;
}

.ue-interest-box h3 {
    color: #3D3B3C;
    font-size: 1.15rem;
    margin: 0 0 0.3rem 0;
}

.ue-interest-box p {
    color: #3D3B3C;
    margin: 0 0 0.8rem 0;
}

/* ── Interest form page ── */
.ue-form-section {
    padding-top: 1.5rem;
    padding-bottom: 2.5rem;
}

.ue-form-wrap {
    background: #ffffff;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 1.5rem;
    max-width: 640px;
}

.ue-form-wrap label,
.ue-form-wrap .form-label {
    font-weight: 700;
    color: #3D3B3C;
}

.ue-form-wrap .form-input,
.ue-form-wrap input[type="text"],
.ue-form-wrap input[type="email"],
.ue-form-wrap input[type="tel"],
.ue-form-wrap textarea {
    width: 100%;
}

.ue-form-wrap .button,
.ue-form-wrap button[type="submit"] {
    background: #0072FF;
    color: #ffffff;
    border: none;
    border-radius: 4px;
    font-weight: 800;
    padding: 0.7rem 1.5rem;
    height: auto;
}

.ue-form-wrap .button:hover,
.ue-form-wrap button[type="submit"]:hover {
    background: #005ed4;
}

.ue-back {
    margin: 1.25rem 0 0 0;
    font-weight: 700;
}

@media (max-width: 700px) {
    .ue-steps {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
}


/* ---- Pre-owned: SOLD indicator (Oct 1, 2026) ---- */
.ue-status-tag.ue-status-sold,
.ue-status-inline.ue-status-inline-sold {
    background: #c8102e;
    color: #ffffff;
}
.ue-card-sold img {
    filter: grayscale(0.8);
    opacity: 0.7;
}
.ue-card-sold .machine-card-title,
.ue-card-sold h3 {
    opacity: 0.75;
}
.ue-sold-box {
    border-color: #c8102e;
}

/* ---- Announcement: flyer shown exactly as supplied ---- */
.announce-flyer {
    max-width: 760px;
    margin: 1.5rem auto;
    text-align: center;
}
.announce-flyer img {
    width: 100%;
    height: auto;
    border: 1px solid #d0d0d0;
    box-shadow: 0 4px 18px rgba(0,0,0,0.15);
}
.announce-flyer-note {
    font-size: 0.85rem;
    color: #666;
    margin-top: 0.5rem;
}


/* ---- Friendly 404 / error page (Oct 1, 2026) ---- */
.err-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    justify-content: flex-start;
    margin: 0.5rem 0 2.5rem;
}
@media (max-width: 600px) {
    .err-links a {
        flex: 1 1 100%;
        text-align: center;
    }
}


/* ---- Demo machine box and Products card tag (Oct 15, 2026) ---- */
.machine-demo {
    display: flex;
    gap: 1.1rem;
    align-items: stretch;
    background: #111111;
    border: 2px solid #FFED00;
    border-radius: 8px;
    padding: 1rem;
    margin: 0 0 1.5rem 0;
    color: #ffffff;
}
.machine-demo-photo {
    flex: 0 0 130px;
    display: block;
}
.machine-demo-photo img {
    width: 130px !important;
    height: 173px !important;
    object-fit: cover !important;
    border-radius: 4px;
    margin: 0 !important;
    float: none !important;
    display: block;
}
.machine-demo-body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
}
.machine-demo-tag,
.machine-card-demo-tag {
    display: inline-block;
    background: #FFED00;
    color: #3D3B3C;
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 0.25rem 0.7rem;
    border-radius: 3px;
}
.machine-demo .machine-demo-headline {
    color: #ffffff;
    font-size: 1.25rem;
    font-weight: 900;
    line-height: 1.15;
    text-transform: uppercase;
    margin: 0;
}
.machine-demo .machine-demo-text {
    color: rgba(255,255,255,0.92);
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}
.machine-demo-btn {
    display: inline-block;
    margin-top: auto;
    background: #0072FF;
    color: #ffffff !important;
    font-weight: 800;
    font-size: 0.95rem;
    padding: 0.55rem 1.2rem;
    border-radius: 4px;
    text-decoration: none !important;
}
.machine-demo-btn:hover {
    background: #005ed4;
    color: #ffffff !important;
}
.machine-card-demo-tag {
    margin-bottom: 0.5rem;
}
@media (max-width: 480px) {
    .machine-demo {
        flex-direction: column;
    }
    .machine-demo-photo {
        flex: none;
    }
    .machine-demo-photo img {
        width: 100% !important;
        height: auto !important;
    }
}
