/* TUDOR Digital Presence (inc/pmfj-tudor-presence.php). Enqueued on the TUDOR listing page and
   TUDOR product pages only. 1 Dec 2026. */

/* Listing page: the TOCC collection banner, whole, under the fixed header (70px phones, 75px from
   768px; measured). No crop: the img keeps its own aspect ratio (3456x600, mobile 786x430). */
.pmfj-tudor-plp-hero {
    padding-top: 70px;
    background: #fff;
}
@media (min-width: 768px) {
    .pmfj-tudor-plp-hero {
        padding-top: 75px;
    }
}
.pmfj-tudor-plp-hero picture,
.pmfj-tudor-plp-hero picture img {
    display: block;
    width: 100%;
    height: auto;
    margin: 0;
    max-width: none;
}

.pmfj-tudor-sr {
    position: absolute !important;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* The theme's .container is 295px wide on phones; the crumbs take the 16px gutter instead. */
@media (max-width: 767px) {
    .pmfj-tudor-plp-hero > .container {
        width: auto;
        max-width: none;
        margin: 0 16px;
        padding: 0;
    }
}

html body .pmfj-tudor-plp-hero .pmfj-tudor-crumbs {
    display: flex;
    flex-wrap: wrap;
    margin: 16px 0 0;
    padding: 0;
    list-style: none;
    font-size: 13px;
    line-height: 1.5;
    color: #595959;
}
.pmfj-tudor-crumbs li + li::before {
    content: "/";
    padding: 0 8px;
    color: #8a8a8a;
}
html body .pmfj-tudor-plp-hero .pmfj-tudor-crumbs a {
    color: #1a1a1a;
    text-decoration: none;
}
html body .pmfj-tudor-plp-hero .pmfj-tudor-crumbs a:hover,
html body .pmfj-tudor-plp-hero .pmfj-tudor-crumbs a:focus-visible {
    text-decoration: underline;
}

/* Plaque strip: only where the header plaque is hidden (style.css hides .tudor-wrapper at 990px). */
.pmfj-tudor-plaque {
    display: none;
}
@media (max-width: 990px) {
    .pmfj-tudor-plaque {
        display: block;
        padding: 10px 0;
        background: #fff;
        line-height: 0;
    }
    /* Not .container: the theme positions .page-title .container (top 70% + translate). */
    .pmfj-tudor-plaque__in {
        padding: 0 16px;
    }
    .pmfj-tudor-plaque a {
        display: inline-block;
    }
    .pmfj-tudor-plaque img {
        display: block;
        width: 96px;
        height: 48px;
        margin: 0;
    }

    /* Product pages: the strip is the first child of the title section, which starts behind the
       fixed header, so it is placed just under it. No white fill there: the plaque sits on the
       hero at the upper left, clear of the centred title. */
    section.page-title > .pmfj-tudor-plaque {
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        z-index: 3;
        background: transparent;
    }

    /* The listing page's in-content plaque would repeat the strip. */
    .pmfj-tudor-plp-plaque {
        display: none;
    }
}
@media (min-width: 768px) and (max-width: 990px) {
    section.page-title > .pmfj-tudor-plaque {
        top: 75px;
    }
}
