/* Mint's Homepage Photo + Media Control plugin v1.6 - forced project slideshow */
.mhp-plugin-slot {
    position: relative !important;
    width: 100% !important;
    min-height: 320px !important;
    display: grid !important;
    place-items: center !important;
    overflow: hidden !important;
    border: 2px solid #FFC107 !important;
    background: #10130f !important;
    box-sizing: border-box !important;
    z-index: 2 !important;
}

.mhp-plugin-slot img {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    min-height: inherit !important;
    object-fit: cover !important;
    object-position: center center !important;
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    z-index: 1 !important;
}

.mhp-plugin-slot-hero_card {
    min-height: 170px !important;
}

.mhp-plugin-slot-quote_panel {
    min-height: 210px !important;
    border: 0 !important;
    background: transparent !important;
}

.mhp-plugin-slot-quote_panel img {
    object-fit: contain !important;
    padding: 10px !important;
    box-sizing: border-box !important;
}

.mhp-plugin-placeholder {
    position: absolute !important;
    inset: 14px !important;
    display: grid !important;
    place-items: center !important;
    text-align: center !important;
    border: 2px dashed rgba(255, 193, 7, .82) !important;
    background: radial-gradient(circle at 20% 20%, rgba(124,227,154,.18), transparent 35%), linear-gradient(135deg, rgba(60,107,63,.78), rgba(0,0,0,.78)) !important;
    color: #fff !important;
    padding: 22px !important;
    z-index: 2 !important;
    box-sizing: border-box !important;
}

.mhp-plugin-placeholder strong {
    display: block !important;
    color: #FFC107 !important;
    font-weight: 900 !important;
    text-transform: uppercase !important;
    letter-spacing: .06em !important;
    margin-bottom: 8px !important;
}

.mhp-plugin-placeholder span {
    display: block !important;
    color: rgba(255,255,255,.86) !important;
    font-size: 13px !important;
    line-height: 1.35 !important;
}

.mhp-project-card-controlled {
    position: relative !important;
    overflow: hidden !important;
    min-height: 160px !important;
    border: 1px solid rgba(255,193,7,.75) !important;
    isolation: isolate !important;
}

.mhp-project-card-controlled > .mhp-plugin-slot {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 100% !important;
    border: 0 !important;
    z-index: 0 !important;
}

.mhp-project-card-controlled > .mhp-plugin-slot::after {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    z-index: 2 !important;
    background: linear-gradient(180deg, rgba(0,0,0,.04), rgba(0,0,0,.76)) !important;
    pointer-events: none !important;
}

.mhp-project-card-controlled > .mhp-plugin-slot img {
    z-index: 1 !important;
}

.mhp-project-card-controlled .mhp-project-label,
.mhp-project-card-controlled > span {
    position: relative !important;
    z-index: 4 !important;
    color: #fff !important;
    text-shadow: 0 2px 8px rgba(0,0,0,.8) !important;
}

.mhp-plugin-mode-project .mhp-plugin-placeholder {
    inset: 0 !important;
    border: 0 !important;
    background: linear-gradient(135deg, rgba(60,107,63,.65), rgba(0,0,0,.75)) !important;
}


.mhp-plugin-ad {
    text-decoration: none !important;
    cursor: pointer !important;
}

.mhp-plugin-ad-inner {
    max-width: 360px !important;
    margin: 0 auto !important;
}

.mhp-ad-kicker {
    display: inline-block !important;
    color: #10130f !important;
    background: #FFC107 !important;
    border-radius: 999px !important;
    padding: 5px 10px !important;
    margin-bottom: 12px !important;
    font-weight: 950 !important;
    font-size: 12px !important;
    letter-spacing: .08em !important;
    text-transform: uppercase !important;
}

.mhp-plugin-placeholder em {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-top: 14px !important;
    min-height: 42px !important;
    padding: 0 16px !important;
    border: 1px solid #FFC107 !important;
    background: #FFC107 !important;
    color: #10130f !important;
    font-style: normal !important;
    font-weight: 950 !important;
    text-transform: uppercase !important;
    letter-spacing: .04em !important;
    box-shadow: 0 10px 24px rgba(0,0,0,.24) !important;
}

.mhp-plugin-mode-project .mhp-plugin-placeholder strong {
    font-size: 18px !important;
    line-height: 1.05 !important;
}

.mhp-plugin-mode-project .mhp-plugin-placeholder span:not(.mhp-ad-kicker) {
    font-size: 12px !important;
}

.mhp-plugin-mode-project .mhp-plugin-placeholder em {
    min-height: 34px !important;
    padding: 0 11px !important;
    font-size: 11px !important;
}

.mhp-plugin-slot-quote_panel.mhp-is-empty {
    min-height: 190px !important;
    border: 1px solid rgba(255,193,7,.85) !important;
    background: rgba(0,0,0,.18) !important;
}

.mhp-plugin-slot-quote_panel.mhp-is-empty .mhp-plugin-placeholder {
    inset: 0 !important;
}

.mhp-gallery-menu-link > a,
.mhp-gallery-menu-link-js > a {
    font-weight: 900 !important;
}

.mhp-plugin-debug {
    position: absolute !important;
    left: 8px !important;
    right: 8px !important;
    bottom: 8px !important;
    z-index: 10 !important;
    background: #FFC107 !important;
    color: #000 !important;
    border: 1px solid #000 !important;
    padding: 6px 8px !important;
    font: 800 11px/1.35 Arial, sans-serif !important;
    overflow-wrap: anywhere !important;
    text-align: left !important;
}

.mhp-admin-corner-marker {
    position: fixed !important;
    left: 10px !important;
    bottom: 10px !important;
    z-index: 999999 !important;
    background: #FFC107 !important;
    color: #000 !important;
    border: 2px solid #000 !important;
    padding: 7px 10px !important;
    font: 800 12px Arial, sans-serif !important;
}

.mhp-gallery-page {
    background: #1E1E1E;
    color: #fff;
    padding: clamp(42px, 7vw, 92px) 20px;
}

.mhp-gallery-hero,
.mhp-gallery-cta {
    max-width: 1120px;
    margin: 0 auto 32px;
}

.mhp-gallery-eyebrow {
    margin: 0 0 8px;
    color: #7CE39A;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .12em;
}

.mhp-gallery-hero h1,
.mhp-gallery-cta h2 {
    margin: 0 0 10px;
    color: #fff;
    font-weight: 950;
    text-transform: uppercase;
    line-height: .95;
}

.mhp-gallery-hero h1 {
    font-size: clamp(44px, 8vw, 92px);
}

.mhp-gallery-hero p,
.mhp-gallery-cta p {
    max-width: 760px;
    color: rgba(255,255,255,.86);
    font-size: 18px;
    line-height: 1.55;
}

.mhp-gallery-grid {
    max-width: 1120px;
    margin: 0 auto 42px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 16px;
}

.mhp-gallery-item {
    display: block;
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border: 1px solid rgba(255,193,7,.75);
    background: #10130f;
    text-decoration: none;
}

.mhp-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .2s ease;
}

.mhp-gallery-item:hover img {
    transform: scale(1.04);
}

.mhp-gallery-item span {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 12px 14px;
    color: #fff;
    font-weight: 900;
    background: linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,.82));
    text-shadow: 0 2px 8px rgba(0,0,0,.8);
}

.mhp-gallery-empty-public {
    max-width: 1120px;
    margin: 0 auto 42px;
    min-height: 220px;
    display: grid;
    place-items: center;
    text-align: center;
    border: 2px dashed rgba(255,193,7,.85);
    background: rgba(0,0,0,.25);
}

.mhp-gallery-empty-public strong,
.mhp-gallery-empty-public span {
    display: block;
}

.mhp-gallery-empty-public strong {
    color: #FFC107;
    font-weight: 950;
    text-transform: uppercase;
    font-size: 24px;
}

.mhp-gallery-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 24px;
    border: 1px solid #FFC107;
    background: #FFC107;
    color: #10130f !important;
    text-decoration: none;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: .04em;
}

@media (max-width: 760px) {
    .mhp-plugin-slot {
        min-height: 260px !important;
    }

    .mhp-gallery-grid {
        grid-template-columns: 1fr;
    }
}


/* v1.4 slideshow-safe note:
   This plugin does not force the project cards into a 3-column grid.
   The active theme controls whether Kitchen/Bathroom/Decks are a slideshow or a grid. */
html[data-mhp-photo-plugin="active-v140"] .project-slideshow-controls {
    display: flex;
}


/* v1.7 forced larger project slideshow layout */
.review-project-grid.mhp-review-gallery-expanded {
    display: grid !important;
    grid-template-columns: minmax(300px, .78fr) minmax(560px, 1.42fr) !important;
    gap: 28px !important;
    align-items: stretch !important;
}

.review-project-grid.mhp-review-gallery-expanded .review-box {
    min-height: 430px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
}

.project-strip.mhp-force-project-slideshow,
.project-slideshow.mhp-force-project-slideshow,
[data-mhp-forced-slideshow] {
    position: relative !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 14px !important;
    align-content: stretch !important;
    min-width: 0 !important;
    width: 100% !important;
}

.mhp-force-project-slideshow > .project-slide,
.mhp-force-project-slideshow > .project-card,
.mhp-force-project-slideshow > .project-card-image,
.mhp-force-project-slideshow > .mhp-project-slide-wrap {
    grid-column: 1 / -1 !important;
    width: 100% !important;
    min-width: 0 !important;
}

.mhp-force-project-slideshow .mhp-project-card-controlled,
.mhp-force-project-slideshow .mhp-project-slide-card,
.project-strip.mhp-force-project-slideshow .project-card,
.project-strip.mhp-force-project-slideshow .project-card-image {
    width: 100% !important;
    min-height: clamp(360px, 35vw, 500px) !important;
    padding: 0 !important;
    display: flex !important;
    align-items: flex-end !important;
    justify-content: flex-start !important;
    border: 2px solid #FFC107 !important;
    background: #10130f !important;
    box-sizing: border-box !important;
}

.mhp-force-project-slideshow .mhp-project-card-controlled > .mhp-plugin-slot,
.mhp-force-project-slideshow .mhp-project-slide-card > .mhp-plugin-slot {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 100% !important;
}

.mhp-force-project-slideshow .mhp-plugin-slot img {
    object-fit: cover !important;
    object-position: center center !important;
}

.mhp-force-project-slideshow .mhp-project-label,
.mhp-force-project-slideshow .project-card > span,
.mhp-force-project-slideshow .project-card-image > span {
    position: relative !important;
    z-index: 6 !important;
    display: inline-block !important;
    margin: 0 0 22px 22px !important;
    padding: 10px 14px !important;
    background: rgba(0,0,0,.72) !important;
    border: 1px solid rgba(255,193,7,.75) !important;
    color: #fff !important;
    font-size: clamp(20px, 2.1vw, 30px) !important;
    line-height: 1 !important;
    font-weight: 950 !important;
    letter-spacing: .04em !important;
    text-transform: uppercase !important;
    text-shadow: 0 2px 10px rgba(0,0,0,.95) !important;
}

.mhp-force-project-slideshow .mhp-plugin-mode-project .mhp-plugin-placeholder {
    inset: 0 !important;
    padding: clamp(28px, 4vw, 54px) !important;
}

.mhp-force-project-slideshow .mhp-plugin-mode-project .mhp-plugin-placeholder strong {
    font-size: clamp(30px, 4.2vw, 56px) !important;
    line-height: .92 !important;
    letter-spacing: .04em !important;
}

.mhp-force-project-slideshow .mhp-plugin-mode-project .mhp-plugin-placeholder span:not(.mhp-ad-kicker) {
    max-width: 560px !important;
    margin: 0 auto !important;
    font-size: clamp(15px, 1.5vw, 20px) !important;
    line-height: 1.35 !important;
}

.mhp-force-project-slideshow .mhp-plugin-mode-project .mhp-plugin-placeholder em {
    min-height: 48px !important;
    padding: 0 18px !important;
    font-size: 14px !important;
}

.mhp-project-slideshow-controls,
.mhp-force-project-slideshow .project-slideshow-controls {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 14px !important;
    margin-top: 2px !important;
    grid-column: 1 / -1 !important;
}

.mhp-force-project-slideshow .project-prev,
.mhp-force-project-slideshow .project-next {
    width: 46px !important;
    height: 46px !important;
    border: 1px solid rgba(255,193,7,.9) !important;
    background: #070807 !important;
    color: #FFC107 !important;
    font-size: 32px !important;
    font-weight: 950 !important;
    cursor: pointer !important;
}

.mhp-force-project-slideshow .project-prev:hover,
.mhp-force-project-slideshow .project-next:hover {
    background: #FFC107 !important;
    color: #070807 !important;
}

.mhp-force-project-slideshow .project-dots {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 9px !important;
}

.mhp-force-project-slideshow .project-dots button {
    width: 13px !important;
    height: 13px !important;
    border-radius: 999px !important;
    border: 1px solid rgba(255,193,7,.9) !important;
    background: transparent !important;
    padding: 0 !important;
    cursor: pointer !important;
}

.mhp-force-project-slideshow .project-dots button.is-active {
    background: #FFC107 !important;
}

.mhp-force-project-slideshow > .btn,
.mhp-force-project-slideshow > a.btn,
.mhp-force-project-slideshow .mhp-gallery-button-home {
    grid-column: 1 / -1 !important;
    width: 100% !important;
    min-height: 58px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-top: 0 !important;
    font-size: 17px !important;
}

@media (max-width: 980px) {
    .review-project-grid.mhp-review-gallery-expanded {
        grid-template-columns: 1fr !important;
    }

    .review-project-grid.mhp-review-gallery-expanded .review-box {
        min-height: unset !important;
    }

    .mhp-force-project-slideshow .mhp-project-card-controlled,
    .mhp-force-project-slideshow .mhp-project-slide-card,
    .project-strip.mhp-force-project-slideshow .project-card,
    .project-strip.mhp-force-project-slideshow .project-card-image {
        min-height: 360px !important;
    }
}

@media (max-width: 620px) {
    .mhp-force-project-slideshow .mhp-project-card-controlled,
    .mhp-force-project-slideshow .mhp-project-slide-card,
    .project-strip.mhp-force-project-slideshow .project-card,
    .project-strip.mhp-force-project-slideshow .project-card-image {
        min-height: 315px !important;
    }
}

/* v1.7 combined hero media player */
.mhp-plugin-media-slot {
    background: #101010 !important;
    border: 2px solid #FFC107 !important;
    color: #fff !important;
    min-height: 240px !important;
}

.mhp-plugin-media-slot .mhp-media-box {
    position: absolute !important;
    inset: 0 !important;
    display: grid !important;
    grid-template-rows: minmax(150px, 1fr) auto !important;
    background: linear-gradient(145deg, rgba(30,30,30,.94), rgba(8,8,8,.98)) !important;
}

.mhp-plugin-media-slot .mhp-media-stage {
    position: relative !important;
    min-height: 160px !important;
    overflow: hidden !important;
    background: #050505 !important;
}

.mhp-plugin-media-slot video.mhp-media-element,
.mhp-plugin-media-slot audio.mhp-media-element {
    width: 100% !important;
    height: 100% !important;
    min-height: 160px !important;
    display: block !important;
    object-fit: cover !important;
    background: #050505 !important;
}

.mhp-plugin-media-slot audio.mhp-media-element {
    position: absolute !important;
    left: 12px !important;
    right: 12px !important;
    bottom: 12px !important;
    width: calc(100% - 24px) !important;
    height: 42px !important;
    min-height: 42px !important;
    z-index: 3 !important;
}

.mhp-plugin-media-slot .mhp-media-poster {
    position: absolute !important;
    inset: 0 !important;
    background: linear-gradient(135deg, rgba(60,107,63,.7), rgba(0,0,0,.92)) center / cover no-repeat !important;
}

.mhp-plugin-media-slot .mhp-media-sound-btn {
    position: absolute !important;
    left: 14px !important;
    right: 14px !important;
    bottom: 14px !important;
    z-index: 5 !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: #FFC107 !important;
    color: #111 !important;
    padding: 12px 14px !important;
    font: 950 13px/1.1 Arial, sans-serif !important;
    text-transform: uppercase !important;
    letter-spacing: .05em !important;
    cursor: pointer !important;
    box-shadow: 0 10px 24px rgba(0,0,0,.35) !important;
}

.mhp-plugin-media-slot .mhp-media-copy {
    padding: 14px 16px 16px !important;
    text-align: center !important;
    background: rgba(0,0,0,.72) !important;
}

.mhp-plugin-media-slot .mhp-media-copy span {
    display: block !important;
    color: #7CE39A !important;
    font: 900 11px/1.2 Arial, sans-serif !important;
    text-transform: uppercase !important;
    letter-spacing: .12em !important;
    margin-bottom: 5px !important;
}

.mhp-plugin-media-slot .mhp-media-copy strong {
    display: block !important;
    color: #FFC107 !important;
    font: 950 clamp(18px, 2vw, 26px)/1.05 Arial, sans-serif !important;
    text-transform: uppercase !important;
    margin-bottom: 6px !important;
}

.mhp-plugin-media-slot .mhp-media-copy p {
    margin: 0 0 9px !important;
    color: rgba(255,255,255,.9) !important;
    font: 700 13px/1.35 Arial, sans-serif !important;
}

.mhp-plugin-media-slot .mhp-media-copy a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 34px !important;
    padding: 8px 14px !important;
    background: #FFC107 !important;
    color: #111 !important;
    border-radius: 999px !important;
    font: 950 12px/1 Arial, sans-serif !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    letter-spacing: .05em !important;
}

.mhp-shortcode-media-player .mhp-plugin-media-slot {
    position: relative !important;
    max-width: 820px !important;
    min-height: 420px !important;
    margin: 28px auto !important;
}

@media (max-width: 780px) {
    .mhp-plugin-media-slot {
        min-height: 320px !important;
    }
    .mhp-plugin-media-slot .mhp-media-box {
        grid-template-rows: minmax(190px, 1fr) auto !important;
    }
}


/* v1.7 larger homepage hero media card
   The video/photo player now gets more room inside the existing truck-card without taking over the whole hero. */
.hero-visual .truck-card.mhp-hero-media-expanded {
    width: min(520px, 100%) !important;
    max-width: 520px !important;
    padding: 18px !important;
    box-sizing: border-box !important;
}

.hero-visual .truck-card.mhp-hero-media-expanded > .mhp-plugin-slot-hero_card.mhp-plugin-media-slot,
.truck-card.mhp-hero-media-expanded > .mhp-plugin-slot-hero_card.mhp-plugin-media-slot,
.mhp-plugin-slot-hero_card.mhp-plugin-media-slot.mhp-hero-media-expanded-slot {
    width: 100% !important;
    min-height: clamp(360px, 31vw, 430px) !important;
    aspect-ratio: 16 / 12 !important;
}

.truck-card.mhp-hero-media-expanded .mhp-plugin-media-slot .mhp-media-box,
.mhp-plugin-slot-hero_card.mhp-plugin-media-slot .mhp-media-box {
    grid-template-rows: minmax(235px, 1fr) auto !important;
}

.truck-card.mhp-hero-media-expanded .mhp-plugin-media-slot .mhp-media-stage,
.mhp-plugin-slot-hero_card.mhp-plugin-media-slot .mhp-media-stage {
    min-height: clamp(235px, 21vw, 310px) !important;
}

.truck-card.mhp-hero-media-expanded .mhp-plugin-media-slot video.mhp-media-element,
.truck-card.mhp-hero-media-expanded .mhp-plugin-media-slot .mhp-media-poster,
.mhp-plugin-slot-hero_card.mhp-plugin-media-slot video.mhp-media-element,
.mhp-plugin-slot-hero_card.mhp-plugin-media-slot .mhp-media-poster {
    min-height: clamp(235px, 21vw, 310px) !important;
}

.truck-card.mhp-hero-media-expanded .mhp-plugin-media-slot .mhp-media-copy,
.mhp-plugin-slot-hero_card.mhp-plugin-media-slot .mhp-media-copy {
    padding: 12px 14px 14px !important;
}

.truck-card.mhp-hero-media-expanded .mhp-plugin-media-slot .mhp-media-copy strong,
.mhp-plugin-slot-hero_card.mhp-plugin-media-slot .mhp-media-copy strong {
    font-size: clamp(22px, 2.15vw, 32px) !important;
    line-height: .96 !important;
}

.truck-card.mhp-hero-media-expanded .mhp-plugin-media-slot .mhp-media-copy p,
.mhp-plugin-slot-hero_card.mhp-plugin-media-slot .mhp-media-copy p {
    display: none !important;
}

.truck-card.mhp-hero-media-expanded .mhp-plugin-media-slot .mhp-media-sound-btn,
.mhp-plugin-slot-hero_card.mhp-plugin-media-slot .mhp-media-sound-btn {
    left: 18px !important;
    right: 18px !important;
    bottom: 18px !important;
    padding: 13px 16px !important;
    font-size: 14px !important;
}

@media (max-width: 980px) {
    .hero-visual .truck-card.mhp-hero-media-expanded {
        width: min(560px, 100%) !important;
        max-width: 560px !important;
    }
    .truck-card.mhp-hero-media-expanded > .mhp-plugin-slot-hero_card.mhp-plugin-media-slot,
    .mhp-plugin-slot-hero_card.mhp-plugin-media-slot.mhp-hero-media-expanded-slot {
        min-height: 390px !important;
    }
}

@media (max-width: 620px) {
    .hero-visual .truck-card.mhp-hero-media-expanded {
        padding: 12px !important;
    }
    .truck-card.mhp-hero-media-expanded > .mhp-plugin-slot-hero_card.mhp-plugin-media-slot,
    .mhp-plugin-slot-hero_card.mhp-plugin-media-slot.mhp-hero-media-expanded-slot {
        min-height: 340px !important;
        aspect-ratio: auto !important;
    }
    .truck-card.mhp-hero-media-expanded .mhp-plugin-media-slot .mhp-media-stage,
    .mhp-plugin-slot-hero_card.mhp-plugin-media-slot .mhp-media-stage {
        min-height: 220px !important;
    }
}
