/* Maine Automotive Vehicles 1.0.0 */
.maine-vehicle-card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;width:100%}
.maine-vehicle-card{position:relative;min-width:0;overflow:hidden;background:#141414;border:1px solid #ffffff1a;border-radius:0;box-shadow:none;transition:background .35s,border-color .35s,transform .35s}
.maine-vehicle-card__link{display:flex;flex-direction:column;height:100%;color:#fff!important;text-decoration:none!important}
.maine-vehicle-card a,.maine-vehicle-card a:hover,.maine-vehicle-card a:visited{text-decoration:none!important;color:#fff!important}
.maine-vehicle-card__link::before,.maine-vehicle-card__link::after{display:none!important;content:none!important}
.maine-vehicle-card__image{position:relative;overflow:hidden;aspect-ratio:16/10;background:#222}
.maine-vehicle-card__image img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .7s cubic-bezier(.2,.7,.2,1)}
.maine-vehicle-card__image::after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(180deg,transparent 65%,#0000001f)}
.maine-vehicle-card__placeholder{width:100%;height:100%;background:linear-gradient(135deg,#272727,#181818)}
.maine-vehicle-card__content{display:flex;flex-direction:column;flex-grow:1;padding:27px 25px 28px}
.maine-vehicle-card__content::before{content:"";display:block;width:25px;height:1px;margin:0 0 23px;background:#ffffffa6;transition:width .35s}
.maine-vehicle-card__heading{margin:0 0 16px;min-width:0}
.maine-vehicle-card .maine-vehicle-card__title{margin:0!important;padding:0!important;color:#fff!important;font-family:inherit!important;font-size:21px!important;font-weight:400!important;line-height:1.3!important;letter-spacing:-.35px!important}
.maine-vehicle-card .maine-vehicle-card__model{margin:7px 0 0!important;color:#ababab!important;font-family:inherit;font-weight:400;line-height:1.55;font-size:13px;overflow-wrap:anywhere}
.maine-vehicle-card .maine-vehicle-card__price{margin:0 0 18px!important;color:#fff!important;font-family:inherit;font-size:34px!important;font-weight:500;line-height:1.05;letter-spacing:-1px}
.maine-vehicle-card__description{margin:0 0 24px!important;color:#9a9a9a!important;font-size:13px;line-height:1.7;letter-spacing:.1px}
.maine-vehicle-card__button{display:inline-flex;align-items:center;justify-content:center;align-self:flex-start;min-width:135px;min-height:43px;padding:0 20px;margin-top:auto;border:1px solid #ffffffa6;color:#fff!important;font-size:11px;font-weight:500;line-height:1.2;letter-spacing:.8px;text-transform:uppercase;transition:background .3s,color .3s}
.maine-vehicle-card__status{position:absolute;top:14px;left:14px;z-index:2;display:inline-flex;box-sizing:border-box;max-width:calc(100% - 28px);padding:8px 11px;border:1px solid #ffffff38;font-size:10px;font-weight:600;line-height:1.4;letter-spacing:.65px;text-transform:uppercase;overflow-wrap:anywhere;box-shadow:0 2px 10px #00000026}
.maine-vehicle-card__status.maine-status--available{background:#101010f0;color:#fff!important}
.maine-vehicle-card__status.maine-status--sale_agreed,.maine-vehicle-status.maine-status--sale_agreed{background:#dedede;border-color:#dedede;color:#171717!important}
.maine-vehicle-card__status.maine-status--sold,.maine-vehicle-status.maine-status--sold{background:#444444;border-color:#666666;color:#ffffff!important}
.maine-vehicle-card:focus-within{border-color:#ffffffa6}
.maine-vehicle-card__link:focus-visible{outline:2px solid #fff;outline-offset:-2px}
/* Hero */
.maine-hero-info{position:relative;width:100%;max-width:820px;padding-bottom:30px;overflow:hidden;color:#fff;animation:maineHeroFloat 9s ease-in-out 2s infinite alternate}
.maine-hero-eyebrow{display:block;margin-bottom:14px;color:#ffffff85;font-size:9px;font-weight:400;line-height:1.5;letter-spacing:2.4px;text-transform:uppercase}
.maine-hero-eyebrow.maine-status--sale_agreed{color:#dedede}
.maine-hero-info h1{margin:0 0 17px!important;padding:0!important;color:#fff!important;font-family:inherit!important;font-size:clamp(40px,5vw,66px)!important;font-weight:400!important;line-height:1.01!important;letter-spacing:-2px!important;overflow-wrap:anywhere}
.maine-hero-model{margin:-4px 0 18px!important;color:#aaa;font-size:16px;line-height:1.5}
.maine-hero-meta{display:flex;align-items:center;flex-wrap:wrap;gap:11px;color:#ffffffa8;font-size:10px;line-height:1.3;letter-spacing:1.2px;text-transform:uppercase}
.maine-hero-meta i{display:block;width:3px;height:3px;background:#ffffff59;border-radius:50%}
.maine-hero-animate .maine-hero-eyebrow,.maine-hero-animate h1,.maine-hero-animate .maine-hero-model,.maine-hero-animate .maine-hero-meta{animation:maineHeroReveal 1s cubic-bezier(.16,1,.3,1) both}
.maine-hero-animate .maine-hero-eyebrow{animation-delay:.1s}.maine-hero-animate h1{animation-delay:.25s}.maine-hero-animate .maine-hero-model{animation-delay:.35s}.maine-hero-animate .maine-hero-meta{animation-delay:.43s}
@keyframes maineHeroReveal{from{opacity:0;filter:blur(7px);transform:translateY(20px)}to{opacity:1;filter:blur(0);transform:translateY(0)}}
.maine-hero-light{position:absolute;left:-35%;bottom:3px;width:28%;height:1px;background:linear-gradient(90deg,transparent,#ffffffa6,transparent);opacity:0;animation:maineHeroLight 1.7s ease .9s forwards}
@keyframes maineHeroLight{0%{left:-35%;opacity:0}20%,80%{opacity:.55}100%{left:110%;opacity:0}}
@keyframes maineHeroFloat{from{transform:translateY(0)}to{transform:translateY(-3px)}}
/* Core */
.maine-vehicle-core,.maine-vehicle-core *{box-sizing:border-box}
.maine-vehicle-core{width:100%;color:#fff}
.maine-vehicle-status{display:inline-flex;align-items:center;margin-bottom:14px;padding:7px 12px;background:#141414;border:1px solid #ffffff1a;color:#aaa;font-size:9px;line-height:1.4;letter-spacing:1.8px;text-transform:uppercase}
.maine-vehicle-core .maine-core-title{margin:0 0 10px!important;padding:0!important;color:#ffffffb3!important;font-family:inherit!important;font-size:clamp(20px,2vw,28px)!important;font-weight:400!important;line-height:1.2!important;letter-spacing:-.4px!important}
.maine-core-model{margin:0 0 16px!important;color:#aaa;font-size:13px;line-height:1.5}
.maine-vehicle-price{margin:0 0 34px;color:#fff;font-size:50px;font-weight:500;line-height:.98;letter-spacing:-1.8px;overflow-wrap:anywhere}
.maine-vehicle-highlights{display:grid;grid-template-columns:repeat(auto-fit,minmax(90px,1fr));margin-bottom:30px;border-top:1px solid #ffffff21;border-bottom:1px solid #ffffff21}
.maine-vehicle-highlight{min-width:0;padding:21px 16px}.maine-vehicle-highlight:first-child{padding-left:0}.maine-vehicle-highlight:last-child{padding-right:0}.maine-vehicle-highlight+.maine-vehicle-highlight{border-left:1px solid #ffffff1a}
.maine-vehicle-highlight span{display:block;margin-bottom:7px;color:#999;font-size:9px;line-height:1.2;letter-spacing:1.4px;text-transform:uppercase}
.maine-vehicle-highlight strong{display:block;color:#fff;font-size:15px;font-weight:400;line-height:1.35;overflow-wrap:anywhere}
.maine-vehicle-core-specs{margin-bottom:30px}.maine-vehicle-core-spec{display:flex;align-items:center;justify-content:space-between;gap:25px;padding:13px 0;border-bottom:1px solid #ffffff17}.maine-vehicle-core-spec:first-child{border-top:1px solid #ffffff17}
.maine-vehicle-core-spec span{color:#999;font-size:10px;line-height:1.3;letter-spacing:1.4px;text-transform:uppercase}.maine-vehicle-core-spec strong{color:#fff;font-size:13px;font-weight:400;line-height:1.4;text-align:right;overflow-wrap:anywhere;min-width:0}
.maine-vehicle-core-actions{display:flex;flex-direction:column;gap:10px}
.maine-vehicle-core a.maine-vehicle-btn,.maine-vehicle-enquiry a.maine-vehicle-btn{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;width:100%;min-height:52px;padding:15px 26px;background:#fff;border:1px solid #fff;border-radius:0;color:#080808!important;font-family:inherit;font-size:12px;font-weight:500;line-height:1.2;letter-spacing:.9px;text-transform:uppercase;text-decoration:none!important;text-align:center;transition:background .25s,color .25s,transform .25s}
.maine-vehicle-core a.maine-vehicle-btn--outline,.maine-vehicle-enquiry a.maine-vehicle-btn--outline{background:transparent;border-color:#ffffffbf;color:#fff!important}
.maine-vehicle-core a::after,.maine-vehicle-core a::before,.maine-vehicle-enquiry a::after,.maine-vehicle-enquiry a::before{content:none!important}
.maine-vehicle-btn:focus-visible{outline:2px solid #ffffff;outline-offset:4px}
@media(hover:hover){.maine-vehicle-card:hover{background:#1b1b1b;border-color:#ffffff47;transform:translateY(-4px)}.maine-vehicle-card:hover .maine-vehicle-card__image img{transform:scale(1.055)}.maine-vehicle-card:hover .maine-vehicle-card__content::before{width:42px}.maine-vehicle-card:hover .maine-vehicle-card__button{background:#fff;color:#080808!important}.maine-vehicle-core a.maine-vehicle-btn:hover,.maine-vehicle-enquiry a.maine-vehicle-btn:hover{background:transparent;color:#fff!important;transform:translateY(-2px)}.maine-vehicle-core a.maine-vehicle-btn--outline:hover,.maine-vehicle-enquiry a.maine-vehicle-btn--outline:hover{background:#fff;color:#080808!important}}
@media(max-width:959px){.maine-vehicle-card-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.maine-vehicle-card__content{padding:24px}.maine-vehicle-card .maine-vehicle-card__price{font-size:31px!important}}
@media(max-width:600px){.maine-vehicle-card-grid{grid-template-columns:1fr;gap:14px}.maine-vehicle-card__content{padding:24px 22px 25px}.maine-vehicle-card .maine-vehicle-card__title{font-size:20px!important}.maine-vehicle-card .maine-vehicle-card__price{font-size:30px!important}.maine-hero-info{max-width:100%;padding-bottom:26px}.maine-hero-eyebrow{margin-bottom:11px;font-size:8px;letter-spacing:2px}.maine-hero-info h1{margin-bottom:14px!important;font-size:36px!important;line-height:1.03!important;letter-spacing:-1px!important}.maine-hero-model{font-size:14px}.maine-hero-meta{gap:8px;font-size:9px;letter-spacing:.9px}.maine-vehicle-core .maine-core-title{font-size:21px!important}.maine-vehicle-price{margin-bottom:27px;font-size:40px;letter-spacing:-1.2px}.maine-vehicle-highlights{grid-template-columns:1fr}.maine-vehicle-highlight{padding:15px 0}.maine-vehicle-highlight+.maine-vehicle-highlight{border-left:0;border-top:1px solid #ffffff17}}



/* =========================================================
   MAINE AUTOMOTIVE
   LOWER VEHICLE DETAILS
========================================================= */

.maine-vehicle-detail-lower,
.maine-vehicle-detail-lower *{
    box-sizing:border-box;
}


.maine-vehicle-detail-lower{
    width:100%;

    color:#ffffff;
}


/* =========================================================
   CONTENT SECTIONS
========================================================= */

.maine-vehicle-section{
    width:100%;

    padding:70px 0;

    border-bottom:1px solid rgba(255,255,255,.08);
}


.maine-vehicle-eyebrow{
    display:inline-block;

    margin-bottom:14px;

    color:#858585;

    font-family:inherit;
    font-size:10px;
    font-weight:400;
    line-height:1.3;
    letter-spacing:1.8px;
    text-transform:uppercase;
}


.maine-vehicle-section h2,
.maine-vehicle-enquiry h2{
    margin:0 0 24px !important;
    padding:0 !important;

    color:#ffffff !important;

    font-family:inherit !important;
    font-size:clamp(28px,3vw,40px) !important;
    font-weight:400 !important;
    line-height:1.15 !important;
    letter-spacing:-.8px !important;
}


/* =========================================================
   BODY COPY
========================================================= */

.maine-vehicle-section p{
    width:100%;
    max-width:none;

    margin:0 0 18px !important;
    padding:0 !important;

    color:#a3a3a3;

    font-family:inherit;
    font-size:15px;
    font-weight:400;
    line-height:1.8;
}


.maine-vehicle-section p:last-child{
    margin-bottom:0 !important;
}


/* =========================================================
   FEATURES
========================================================= */

.maine-feature-grid{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:12px;
}


.maine-feature-grid div{
    position:relative;

    min-width:0;

    padding:16px 18px 16px 40px;

    background:#141414;
    border:1px solid rgba(255,255,255,.08);
    border-radius:0;

    color:#b5b5b5;

    font-family:inherit;
    font-size:14px;
    font-weight:400;
    line-height:1.45;

    transition:
        background .3s ease,
        border-color .3s ease;
}


.maine-feature-grid div::before{
    content:"";

    position:absolute;
    left:18px;
    top:22px;

    width:5px;
    height:5px;

    background:rgba(255,255,255,.65);
    border-radius:50%;
}


@media (hover:hover){

    .maine-feature-grid div:hover{
        background:#1a1a1a;
        border-color:rgba(255,255,255,.18);
    }

}


/* =========================================================
   TECHNICAL DATA
========================================================= */

.maine-tech-grid{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:14px;
}


.maine-tech-card{
    min-width:0;

    padding:28px 24px;

    background:#141414;
    border:1px solid rgba(255,255,255,.09);
    border-radius:0;

    box-shadow:none;

    transition:
        background .3s ease,
        border-color .3s ease,
        transform .3s ease;
}


.maine-tech-card span{
    display:block;

    margin-bottom:9px;

    color:#858585;

    font-family:inherit;
    font-size:10px;
    font-weight:400;
    line-height:1.3;
    letter-spacing:1.4px;
    text-transform:uppercase;
}


.maine-tech-card strong{
    display:block;

    color:#ffffff;

    font-family:inherit;
    font-size:21px;
    font-weight:400;
    line-height:1.2;
}


@media (hover:hover){

    .maine-tech-card:hover{
        background:#1a1a1a;
        border-color:rgba(255,255,255,.20);
        transform:translateY(-2px);
    }

}


/* =========================================================
   BOTTOM ENQUIRY
========================================================= */

.maine-vehicle-enquiry{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:50px;

    width:100%;

    margin-top:70px;
    padding:48px;

    background:#141414;
    border:1px solid rgba(255,255,255,.10);
    border-radius:0;

    color:#ffffff;
}


.maine-vehicle-enquiry-copy{
    flex:1;
    min-width:0;
}


.maine-vehicle-enquiry p{
    width:100%;
    max-width:720px;

    margin:0 !important;
    padding:0 !important;

    color:#9c9c9c;

    font-family:inherit;
    font-size:14px;
    font-weight:400;
    line-height:1.75;
}


.maine-vehicle-enquiry-actions{
    display:flex;
    align-items:center;
    gap:12px;

    flex-shrink:0;
}


/* BUTTONS */

.maine-vehicle-enquiry a.maine-vehicle-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;

    min-height:52px;
    padding:15px 26px;

    background:#ffffff;
    border:1px solid #ffffff;
    border-radius:0;

    color:#080808 !important;

    font-family:inherit;
    font-size:12px;
    font-weight:500;
    line-height:1.2;
    letter-spacing:.9px;
    text-transform:uppercase;

    text-decoration:none !important;

    transition:
        background .25s ease,
        color .25s ease,
        border-color .25s ease,
        transform .25s ease;
}


.maine-vehicle-enquiry a.maine-vehicle-btn:hover{
    transform:translateY(-2px);

    background:transparent;
    border-color:#ffffff;

    color:#ffffff !important;
}


.maine-vehicle-enquiry a.maine-vehicle-btn--outline-dark{
    background:transparent;
    border-color:rgba(255,255,255,.75);

    color:#ffffff !important;
}


.maine-vehicle-enquiry a.maine-vehicle-btn--outline-dark:hover{
    background:#ffffff;
    border-color:#ffffff;

    color:#080808 !important;
}


.maine-vehicle-detail-lower a,
.maine-vehicle-detail-lower a:hover,
.maine-vehicle-detail-lower a:focus,
.maine-vehicle-detail-lower a:active,
.maine-vehicle-detail-lower a:visited{
    text-decoration:none !important;
}


/* =========================================================
   TABLET
========================================================= */

@media only screen and (max-width:959px){

    .maine-feature-grid{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }

    .maine-tech-grid{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }

    .maine-vehicle-enquiry{
        flex-direction:column;
        align-items:flex-start;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media only screen and (max-width:600px){

    .maine-vehicle-section{
        padding:50px 0;
    }

    .maine-feature-grid,
    .maine-tech-grid{
        grid-template-columns:1fr;
    }

    .maine-vehicle-enquiry{
        margin-top:50px;
        padding:34px 26px;
    }

    .maine-vehicle-enquiry-actions{
        width:100%;

        flex-direction:column;
        align-items:stretch;
    }

    .maine-vehicle-enquiry a.maine-vehicle-btn{
        width:100%;
    }

}


/* Keyboard and reduced motion */
@media(prefers-reduced-motion:reduce){
.maine-hero-info,.maine-hero-info *,.maine-vehicle-card,.maine-vehicle-card *,.maine-vehicle-card *::before,.maine-vehicle-core *,.maine-vehicle-detail-lower *{animation:none!important;transition:none!important;transform:none!important;filter:none!important}
.maine-hero-light{display:none}
}

/* Shared monochrome status badges: cards, hero and core. */
.maine-vehicle-card__status,
.maine-vehicle-status,
.maine-hero-eyebrow[class*="maine-status--"]{
 display:inline-flex;align-items:center;box-sizing:border-box;
 padding:8px 11px;min-height:32px;border:1px solid #ffffff38;border-radius:0;
 font-family:inherit;font-size:10px!important;font-weight:600!important;
 line-height:1.4!important;letter-spacing:.65px;text-transform:uppercase;
}
.maine-vehicle-card__status.maine-status--available,
.maine-vehicle-status.maine-status--available,
.maine-hero-eyebrow.maine-status--available{background:#101010;border-color:#ffffff38;color:#ffffff!important}
.maine-vehicle-card__status.maine-status--sale_agreed,
.maine-vehicle-status.maine-status--sale_agreed,
.maine-hero-eyebrow.maine-status--sale_agreed{background:#dedede;border-color:#dedede;color:#171717!important}
.maine-vehicle-card__status.maine-status--sold,
.maine-vehicle-status.maine-status--sold,
.maine-hero-eyebrow.maine-status--sold{background:#444444;border-color:#666666;color:#ffffff!important}

/* 1.1.4 — listing cards only */
.maine-vehicle-card-grid .maine-vehicle-card__content{display:flex!important;flex-direction:column!important}
.maine-vehicle-card-grid .maine-vehicle-card__content::before{order:0!important}
.maine-vehicle-card-grid .maine-vehicle-card__heading{order:1!important}
.maine-vehicle-card-grid .maine-vehicle-card__description{order:2!important;box-sizing:border-box!important;width:fit-content!important;max-width:100%!important;align-self:flex-start!important;margin:0 0 18px!important;padding:10px 12px!important;background:#070707!important;border:1px solid rgba(255,255,255,.18)!important;border-radius:0!important;color:rgba(255,255,255,.9)!important}
.maine-vehicle-card-grid .maine-vehicle-card__price{order:3!important;margin:0!important;font-size:29px!important}
.maine-vehicle-card-grid .maine-vehicle-card__button{display:none!important}
@media(max-width:959px){.maine-vehicle-card-grid .maine-vehicle-card__price{font-size:26px!important}}
@media(max-width:600px){.maine-vehicle-card-grid .maine-vehicle-card__price{font-size:25.5px!important}}

/* Ready-made pages created through Manage Vehicles. */
.maine-managed-layout { background:#070707; color:#fff; padding:clamp(20px,4vw,48px); }
.maine-managed-layout__top { display:grid; grid-template-columns:minmax(0,1.35fr) minmax(0,1fr); gap:clamp(24px,4vw,48px); margin:30px 0 48px; }
.maine-managed-layout__top > div { min-width:0; }
@media(max-width:767px) { .maine-managed-layout__top { grid-template-columns:1fr; } }
