/*
Theme Name: PJP Plant Hire
Theme URI: https://www.pjpuk.com/
Author: PJP
Description: Custom WordPress theme for PJP Plant Hire.
Version: 1.0
*/

/* =========================================================
   Variables
   ========================================================= */

:root {
    --pjp-blue: #00529B;
    --pjp-alt: #4497E2;
    --pjp-grey: #E5E7EB;
    --pjp-dark-grey: #1F2937;
    --pjp-white: #FFFFFF;
	--pjp-black: #000000;
}

/* =========================================================
   Reset
   ========================================================= */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    background-color: #fff;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='12'%3E%3Cpath d='M9.8 12 0 2.2V.8l10 10 10-10v1.4L10.2 12h-.4zm-4 0L0 6.2V4.8L7.2 12H5.8zm8.4 0L20 6.2V4.8L12.8 12h1.4zM9.8 0l.2.2.2-.2h-.4zm-4 0L10 4.2 14.2 0h-1.4L10 2.8 7.2 0H5.8z' fill='%2300529B' fill-opacity='.1' fill-rule='evenodd'/%3E%3C/svg%3E");
    max-width: 100vw;
    overflow-x: hidden;
	color: #000;

    font-family: 'Raleway', Helvetica, Arial, sans-serif;
    line-height: 1.5;
}

img,
svg,
video {
    display: block;
    max-width: 100%;
    height: auto;
}

button,
input,
select,
textarea {
    font-family: inherit;
}

button {
    cursor: pointer;
}

ul,
ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
    margin-top: 0;
}

a {
    color: inherit;
    text-decoration: none;
}

p a {
    text-decoration: underline;
}

/* =========================================================
   Typography
   ========================================================= */

body,
.font-body,
.font-display {
    font-family: 'Raleway', Helvetica, Arial, sans-serif;
	font-variant-numeric: lining-nums;
    font-feature-settings: "lnum" 1;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
}

.heading {
    font-weight: 700;
    text-transform: uppercase;
}

.text-pjp {
    color: var(--pjp-blue);
}

.text-alt {
    color: var(--pjp-alt);
}

.text-white {
    color: #fff;
}

.text-center {
    text-align: center;
}

/* =========================================================
   Buttons
   ========================================================= */

.pjp-button {
    display: block;

    padding: 0.75rem;

    background: var(--pjp-blue);
    color: #fff;

    font-weight: 700;
    text-align: center;

    border-radius: 0.5rem;

    transition:
        background-color 0.15s ease,
        box-shadow 0.15s ease;
}

.pjp-button:hover {
    color: #fff;
    background: var(--pjp-dark-grey);
}

.pjp-button:focus {
    outline: 2px solid var(--pjp-dark-grey);
    outline-offset: 2px;
}

/* =========================================================
   Header
   ========================================================= */

.pjp-header {
    position: fixed;
    top: 0;
    left: 0;

    z-index: 10;

    width: 100%;

    background: #fff;

    box-shadow:
        0 1px 3px rgba(0, 0, 0, 0.1),
        0 1px 2px rgba(0, 0, 0, 0.06);
}

.pjp-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.pjp-header__logo {
    padding: 0.5rem;
}

.pjp-header__logo img {
    width: 5rem;
}

.pjp-header__nav {
    display: none;
}

.pjp-header__nav ul {
    display: flex;
    align-items: center;
    margin-right: 1.25rem;
}

.pjp-header__nav li {
    margin-right: 1.25rem;
}

.pjp-header__nav li:last-child {
    margin-right: 0;
}

.pjp-header__nav a {
    display: block;

    padding: 1rem 0;

    color: var(--pjp-blue);

    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;

    transition: color 0.15s ease;
}

.pjp-header__nav a:hover {
    color: var(--pjp-alt);
}

/* =========================================================
   Mobile Menu
   ========================================================= */

.pjp-menu-toggle {
    display: flex;

    flex-direction: column;
    align-items: center;
    justify-content: center;

    padding: 1.25rem 1rem;

    border: 0;
    background: transparent;
}

.pjp-menu-toggle span {
    display: block;

    width: 1.5rem;
    height: 0.125rem;

    margin-bottom: 0.375rem;

    background: var(--pjp-blue);

    transition:
        transform 0.3s ease,
        margin 0.3s ease;
}

.pjp-menu-toggle span:last-child {
    margin-bottom: 0;
}

/* Hamburger → X */

.pjp-menu-toggle[aria-expanded="true"] span:first-child {
    margin-bottom: -0.125rem;
    transform: rotate(45deg);
}

.pjp-menu-toggle[aria-expanded="true"] span:last-child {
    transform: rotate(-45deg);
}

.pjp-mobile-nav {
    display: flex;

    flex-direction: column;

    height: 0;

    padding: 0 1rem;

    overflow: hidden;

    background: var(--pjp-blue);

    transition: height 0.5s ease;
}

.pjp-mobile-nav.is-open {
    padding-bottom: 2rem;
}

.pjp-mobile-nav ul {
    padding: 1rem 0.5rem 0 0.5rem;
    margin-bottom: 1rem;

    color: #fff;

    font-size: 1.25rem;
    font-weight: 700;
    text-transform: uppercase;
}

.pjp-mobile-nav li {
    margin-bottom: 0.75rem;
}

.pjp-mobile-nav li:last-child {
    margin-bottom: 0;
}

.pjp-mobile-nav a {
    color: #fff;
}

.pjp-mobile-contact {
    display: flex;
    align-items: center;

    padding: 0 0.5rem;
    margin-top: 1.5rem;
}

.pjp-mobile-contact a {
    margin-right: 1rem;
}

.pjp-mobile-contact svg {
    width: 2rem;
    height: 2rem;

    fill: #fff;
}

/* =========================================================
   Main
   ========================================================= */

.site-main {
    padding-top: 5.5rem;
}

/* =========================================================
   Feature Sections
   ========================================================= */

.pjp-feature {
    display: flex;
    flex-direction: column;
}

.pjp-feature__image {
    width: 100%;
    overflow: hidden;
}

.pjp-feature__image img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: cover;
    object-position: center;
}

@media (min-width: 1024px) {
    .pjp-feature__image,
    .pjp-feature__content {
        width: 50%;
    }

    .pjp-feature__image {
        min-height: 0;
        height: 36rem;
    }
}

.pjp-feature__content {
    display: flex;
    flex-direction: column;
    justify-content: center;

    width: 100%;

    padding: 1.5rem 1rem;
}

.pjp-feature__content--alt {
    background: var(--pjp-alt);
    color: #fff;
}

.pjp-feature__title {
    margin-bottom: 1.25rem;

    color: var(--pjp-blue);

    font-size: 2.25rem;
    line-height: 1.1;
    font-weight: 700;
    text-transform: uppercase;
}

.pjp-feature__content--alt .pjp-feature__title {
    color: #fff;
}

.pjp-feature__text {
    margin-bottom: 1.25rem;

    font-size: 1.25rem;
    line-height: 1.75rem;
}

.pjp-feature__text a {
    text-decoration: underline;
}

/* =========================================================
   Footer
   ========================================================= */

.pjp-footer {
    padding: 2.5rem 1rem;
}

.pjp-footer__title {
    margin-bottom: 1.25rem;

    color: var(--pjp-blue);

    font-size: 1.875rem;
    line-height: 2.25rem;

    font-weight: 700;
    text-transform: uppercase;
}

.pjp-footer__nav {
    margin-bottom: 2.5rem;

    font-size: 1.25rem;
    font-weight: 700;
    text-transform: uppercase;
}

.pjp-footer__nav li {
    margin-bottom: 0.75rem;
}

.pjp-footer__nav li:last-child {
    margin-bottom: 0;
}

.pjp-footer__social {
    display: flex;
    align-items: center;

    margin-bottom: 2.5rem;
}

.pjp-footer__social a {
    margin-right: 20px;
}

.pjp-footer__logos {
    display: flex;
    flex-wrap: wrap;
    align-items: center;

    margin-bottom: 2.5rem;
}

.pjp-footer__logos img {
    width: auto;
    max-width: 8rem;
    max-height: 4rem;

    margin-right: 1rem;
    margin-bottom: 1rem;
}

.pjp-footer__copyright {
    font-size: 1rem;
}


/* Copyright and logos */

.pjp-footer__bottom {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 2rem;
    align-items: center;
}

.pjp-footer__copyright {
    margin: 0;
    font-size: 1rem;
}

.pjp-footer__logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
    gap: 1rem;
}

.pjp-footer__logos img {
    display: block;
    width: auto;
    max-width: 8rem;
    max-height: 4rem;
    object-fit: contain;
}

/* Mobile */

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

    .pjp-footer__logos {
        justify-content: flex-start;
        max-width: 100%;
    }
}


/* =========================================================
   Desktop
   ========================================================= */

@media (min-width: 1024px) {

    .pjp-header__logo {
        padding: 0.5rem 1rem;
    }

    .pjp-header__logo img {
        width: 5rem;
    }

    .pjp-header__nav {
        display: flex;
        align-items: center;
    }

    .pjp-menu-toggle,
    .pjp-mobile-nav {
        display: none;
    }

    .pjp-feature {
        flex-direction: row;
    }

    .pjp-feature--reverse {
        flex-direction: row-reverse;
    }

    .pjp-feature__image,
    .pjp-feature__content {
        width: 50%;
    }

    .pjp-feature__content {
        padding: 4rem 2.5rem;
    }

    .pjp-button {
        display: inline-block;
        padding-left: 2.5rem;
        padding-right: 2.5rem;
    }

    .pjp-footer {
        padding: 2.5rem 4rem;
    }

}

/* =========================================================
   Large Desktop
   ========================================================= */

@media (min-width: 1280px) {

    .pjp-header__nav li {
        margin-right: 2.5rem;
    }

}

/* =========================================================
   Standard Pages
   ========================================================= */

.pjp-page {
    padding: 2rem 1rem 3rem;
}

.pjp-page__inner {
    width: 100%;
    /*max-width: 1280px;*/
    margin: 0 auto;
}

.pjp-page__header {
    margin-bottom: 2rem;
}

.pjp-page__title {
    margin: 0;
    color: var(--pjp-blue);
    font-family: "Raleway", sans-serif;
    font-size: 2.25rem;
    line-height: 1.15;
    font-weight: 700;
    text-transform: uppercase;
}

.pjp-page__content {
    font-size: 1rem;
    line-height: 1.7;
}

.pjp-page__content p {
    margin: 0 0 1.5rem;
}

.pjp-page__content h2,
.pjp-page__content h3,
.pjp-page__content h4 {
    margin: 2.5rem 0 1rem;
    color: var(--pjp-blue);
    font-family: "Raleway", sans-serif;
    font-weight: 700;
    text-transform: uppercase;
}

.pjp-page__content h2 {
    font-size: 1.875rem;
}

.pjp-page__content h3 {
    font-size: 1.5rem;
}

.pjp-page__content h4 {
    font-size: 1.25rem;
}

.pjp-page__content ul,
.pjp-page__content ol {
    margin: 0 0 1.5rem;
    padding-left: 1.5rem;
}

.pjp-page__content li {
    margin-bottom: 0.5rem;
}

.pjp-page__content a {
    color: var(--pjp-blue);
    text-decoration: underline;
}

.pjp-page__content img {
    max-width: 100%;
    height: auto;
}

@media (min-width: 1024px) {

    .pjp-page {
        padding: 3rem 4rem 4rem;
    }

    .pjp-page__title {
        font-size: 3rem;
    }

    .pjp-page__content {
        font-size: 1;
    }

}

/* =========================================================
   News cards (homepage and archive)
   ========================================================= */

.pjp-news {
    display: block;
    width: 100%;
    margin: 0 auto;
    padding: 3rem 4rem 4rem;
    box-sizing: border-box;
}

.pjp-news__heading {
    width: 100%;
    margin: 0 auto 2.5rem;
    padding: 0;
    text-align: center;
    box-sizing: border-box;
}

.pjp-news__heading h1,
.pjp-news__heading h2 {
    margin: 0;
    color: var(--pjp-blue);
    font-size: 2.25rem;
    line-height: 1.2;
    font-weight: 700;
    text-transform: uppercase;
}

.pjp-news__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.5rem;
    width: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.pjp-news__item {
    display: flex;
    flex-direction: column;
    min-width: 0;
    margin: 0;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
                0 4px 6px -4px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
}

.pjp-news__item {
    min-width: 0;
    height: 100%;
    background: #fff;
    border: 1px solid #e5e5e5;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.pjp-news__item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.10);
}

.pjp-news__image {
    display: block;
    width: 100%;
    height: 220px;
    flex-shrink: 0;
    overflow: hidden;
    background-color: #e8edf2;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.pjp-news__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pjp-news__content {
    flex: 1;
    padding: 1.25rem;
    box-sizing: border-box;
}

.pjp-news__title {
    margin: 0 0 0.75rem;
    color: var(--pjp-blue);
    font-size: 1.25rem;
    line-height: 1.4;
    font-weight: 700;
}

.pjp-news__title a {
    color: var(--pjp-blue);
    text-decoration: none;
}

.pjp-news__title a:hover {
    color: var(--pjp-alt);
}

.pjp-news__date {
    margin: 0 0 1rem;
    color: #666;
    font-size: 0.875rem;
    line-height: 1.4;
}

.pjp-news__footer {
    margin-top: 2.5rem;
    text-align: center;
}

@media (max-width: 1023px) {
    .pjp-page {
        padding: 2.5rem 1.5rem 3.5rem;
    }

    .pjp-single {
        padding: 2.5rem 1.5rem 3.5rem;
    }

    .pjp-news {
        padding: 2.5rem 1.5rem 3.5rem;
    }

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

@media (max-width: 639px) {
    .pjp-news {
        padding: 2rem 1rem 3rem;
    }

    .pjp-news__heading h1,
    .pjp-news__heading h2 {
        font-size: 1.875rem;
    }

    .pjp-news__grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .pjp-news__content {
        padding: 1rem;
    }
}

/* Downloads page */
.pjp-downloads {
    width: 100%;
    padding: 3rem 4rem 4rem;
    box-sizing: border-box;
}

.pjp-downloads__inner {
    width: 100%;
    /*max-width: 1280px;*/
    margin: 0 auto;
}

.pjp-downloads__header {
    margin-bottom: 2rem;
}

.pjp-downloads__title {
    margin: 0;
    color: var(--pjp-blue);
    font-size: 2.25rem;
    font-weight: 700;
    text-transform: uppercase;
}

/* Download grid */
.pjp-downloads__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 2rem 1.5rem;
}

.pjp-downloads__item {
    min-width: 0;
}

.pjp-downloads__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 5.5rem;
    height: 5.5rem;
    padding: 1.25rem;
    margin-bottom: 0.75rem;
    border-radius: 50%;
    background-color: var(--pjp-blue);
    transition: background-color 0.3s ease;
    box-sizing: border-box;
}

.pjp-downloads__icon:hover {
    background-color: var(--pjp-alt);
}

.pjp-downloads__icon svg {
    display: block;
    width: 100%;
    height: 100%;
    fill: #fff;
}

.pjp-downloads__name {
    margin: 0;
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1.4;
}

.pjp-downloads__name a {
    color: var(--pjp-blue);
    text-decoration: none;
    transition: color 0.3s ease;
}

.pjp-downloads__name a:hover {
    color: var(--pjp-alt);
}

.pjp-downloads__name span {
    white-space: nowrap;
}

/* Tablet */
@media (max-width: 1023px) {
    .pjp-downloads {
        padding: 2.5rem 1.5rem 3.5rem;
    }

    .pjp-downloads__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 2rem 1.5rem;
    }
}

/* Mobile */
@media (max-width: 639px) {
    .pjp-downloads {
        padding: 2rem 1rem 3rem;
    }

    .pjp-downloads__title {
        font-size: 1.875rem;
    }

    .pjp-downloads__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.75rem 1rem;
    }

    .pjp-downloads__icon {
        width: 4.5rem;
        height: 4.5rem;
        padding: 1rem;
    }

    .pjp-downloads__name {
        font-size: 1rem;
    }
}

/* Blog archive */
.pjp-blog {
    padding: 3rem 4rem 4rem;
}

.pjp-blog__inner {
    width: 100%;
    /*max-width: 1280px;*/
    margin: 0 auto;
}

.pjp-blog .pjp-news__heading {
    padding: 0;
    margin-bottom: 2.5rem;
}

.pjp-blog .pjp-news__heading h1 {
    margin: 0;
    color: var(--pjp-blue);
    font-size: 2.25rem;
    font-weight: 700;
    text-transform: uppercase;
}

.pjp-blog .pjp-news__item {
    min-width: 0;
    overflow: hidden;
}

.pjp-blog .pjp-news__title {
    margin: 0 0 0.75rem;
    font-size: 1.125rem;
    line-height: 1.4;
}

.pjp-blog .pjp-news__title a {
    color: var(--pjp-blue);
    text-decoration: none;
}

.pjp-blog .pjp-news__title a:hover {
    color: var(--pjp-alt);
}

.pjp-blog .pjp-news__date {
    margin: 0 0 1rem;
    color: #666;
    font-size: 0.875rem;
}

.pjp-blog__excerpt {
    margin-bottom: 1rem;
    font-size: 0.95rem;
    line-height: 1.6;
}

.pjp-blog__excerpt p {
    margin: 0;
}

.pjp-blog__read-more {
    color: var(--pjp-blue);
    font-weight: 700;
    text-decoration: none;
}

.pjp-blog__read-more:hover {
    color: var(--pjp-alt);
}

/* Responsive grid */
@media (max-width: 1023px) {
    .pjp-blog {
        padding: 2.5rem 1.5rem 3.5rem;
    }

}

@media (max-width: 639px) {
    .pjp-blog {
        padding: 2rem 1rem 3rem;
    }

    .pjp-blog .pjp-news__heading h1 {
        font-size: 1.875rem;
    }
}

/* =========================================================
   Single Article
   ========================================================= */

.pjp-single {
    width: 100%;
    padding: 3rem 4rem 4rem;
    margin-bottom: 0;
    box-sizing: border-box;
}

.pjp-single__inner {
    width: 100%;
    /*max-width: 1100px;*/
    margin: 0 auto;
}

/* Breadcrumb */

.pjp-breadcrumb {
    margin-bottom: 2rem;
    font-size: 0.875rem;
    line-height: 1.5;
}

.pjp-breadcrumb__list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;

    list-style: none;
    margin: 0;
    padding: 0;
}

.pjp-breadcrumb__item a {
    color: var(--pjp-blue);
    text-decoration: none;
    transition: color 0.2s ease;
}

.pjp-breadcrumb__item a:hover {
    color: var(--pjp-alt);
    text-decoration: underline;
}

.pjp-breadcrumb__separator {
    color: #999;
}

.pjp-breadcrumb__item--current {
    color: #666;
    overflow-wrap: anywhere;
}

/* Article header */

.pjp-single__header {
    margin-bottom: 2rem;
}

.pjp-single__title {
    margin: 0 0 1rem;
    color: var(--pjp-blue);
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.2;
    font-weight: 700;
}

.pjp-single__meta {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Featured image */

.pjp-single__image {
    width: 100%;
    margin-bottom: 2.5rem;
    overflow: hidden;
    border-radius: 4px;
}

.pjp-single__image img {
    display: block;
    max-width: 100%;
    height: auto;
}

/* Article content */

.pjp-single__content {
    /*max-width: 850px;*/
    color: #333;
    font-size: 1rem;
    line-height: 1.8;
}

.pjp-single__content p {
    margin-bottom: 1.5rem;
}

.pjp-single__content h2,
.pjp-single__content h3,
.pjp-single__content h4 {
    margin: 2rem 0 1rem;
    color: var(--pjp-blue);
    font-weight: 700;
    line-height: 1.3;
}

.pjp-single__content img {
    max-width: 100%;
    height: auto;
}

.pjp-single__content a {
    color: var(--pjp-blue);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.pjp-single__content a:hover {
    color: var(--pjp-alt);
}

.pjp-single__content ul,
.pjp-single__content ol {
    margin: 0 0 1.5rem;
    padding-left: 1.5rem;
}

.pjp-single__content li {
    margin-bottom: 0.5rem;
}

.pjp-single__content blockquote {
    margin: 2rem 0;
    padding: 1rem 1.5rem;
    border-left: 4px solid var(--pjp-blue);
    background: #f5f7f9;
}

/* Article footer */

.pjp-single__footer {
    /*max-width: 850px;*/
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid #ddd;
}

.pjp-single__categories {
    margin-bottom: 1.5rem;
    color: #666;
    font-size: 0.9rem;
}

.pjp-single__categories a {
    color: var(--pjp-blue);
    text-decoration: none;
}

.pjp-single__categories a:hover {
    text-decoration: underline;
}

.pjp-single__back {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

/* Mobile */

@media (max-width: 639px) {
    .pjp-single {
        padding: 2rem 1rem 3rem;
    }

    .pjp-breadcrumb {
        margin-bottom: 1.5rem;
    }

    .pjp-single__header {
        margin-bottom: 1.5rem;
    }

    .pjp-single__image {
        margin-bottom: 1.75rem;
    }

    .pjp-single__content {
        font-size: 0.95rem;
    }
}

/* ========================================
   PJP Products
======================================== */

.pjp-products {
    width: 100%;
    padding: 3rem 4rem 4rem;
    box-sizing: border-box;
}

.pjp-products__header {
    margin-bottom: 35px;
}

.pjp-products__header h1,
.pjp-product-detail__header h1 {
    margin: 0 0 20px;
    color: var(--pjp-blue, #00529B);
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
}

.pjp-products__intro {
    max-width: 900px;
    line-height: 1.7;
}

.pjp-products__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 30px;
}

.pjp-products__card {
    min-width: 0;
    height: 100%;
    background: #fff;
    border: 1px solid #e5e5e5;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.pjp-products__card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.10);
}

.pjp-products__card-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

.pjp-products__image {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    background: transparent;
    margin: 15px 15px 0px 15px;
}

.pjp-products__image img {
    display: block;
    width: auto;
    height: 100px;
    max-width: 100%;
    object-fit: contain;
    object-position: left center;
}

.pjp-products__card-content {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: flex-start;
    padding: 22px;
}

.pjp-products__title {
    margin: 0 0 15px;
    color: var(--pjp-blue, #00529B);
    font-size: 1.25rem;
    font-weight: 700;
	margin-bottom:0px;
	text-transform:uppercase;
}

.pjp-products__card-content p {
    line-height: 1.6;
}

.pjp-products__link {
    margin-top: auto;
    padding-top: 15px;
    color: var(--pjp-alt, #4497E2);
    font-weight: 700;
}

.pjp-products__card-link:hover .pjp-products__link {
    text-decoration: underline;
}

.pjp-products__card {
    position: relative;
}

.pjp-products__metric {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 2;
    padding: 8px 12px;
    background: var(--pjp-black);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1.2;
}

.pjp-products__metric span {
    font-size: 0.8rem;
    font-weight: 500;
}

/* Breadcrumbs */

.pjp-products .pjp-breadcrumb {
    margin-bottom: 25px;
    font-size: 0.9rem;
}

.pjp-products .pjp-breadcrumb a {
    color: var(--pjp-blue, #00529B);
    text-decoration: none;
}

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

.pjp-products .pjp-breadcrumb span {
    margin-right: 6px;
}

/* Single product */

.pjp-product-detail__article {
    /*max-width: 1000px;*/
    margin: 0 auto;
}

.pjp-product-detail__header {
    margin-bottom: 25px;
}

.pjp-product-detail__image {
    margin-bottom: 35px;
}

.pjp-product-detail__image img {
    display: block;
    width: 100%;
    max-height: 650px;
    object-fit: contain;
}

.pjp-product-detail__content {
    line-height: 1.8;
}

.pjp-product-detail__content img {
    max-width: 100%;
    height: auto;
}

.pjp-product-detail__back {
    margin-top: 40px;
}

@media (max-width: 1023px) {
    .pjp-products {
        padding: 2.5rem 1.5rem 3.5rem;
    }
}

@media (max-width: 991px) {
    .pjp-products__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 22px;
    }
}

@media (max-width: 575px) {
    .pjp-products {
        padding: 2rem 1rem 3rem;
    }

    .pjp-products__grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .pjp-products__card-content {
        padding: 18px;
    }
}


/* =========================================================
   Single product layout
========================================================= */

.pjp-product-detail__article {
    width: 100%;
    max-width: 100%;
    margin: 0;
    box-sizing: border-box;
}

.pjp-product-detail__layout {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    width: 100%;
    box-sizing: border-box;
}

.pjp-product-detail__image-column {
    min-width: 0;
    box-sizing: border-box;
}

.pjp-product-detail__main {
    flex: 1;
    min-width: 0;
    box-sizing: border-box;
}

.pjp-product-detail__image {
    margin: 0;
}

.pjp-product-detail__image img {
    display: block;
    width: 100%;
    max-height: 650px;
    object-fit: contain;
    object-position: center top;
}

.pjp-product-detail__header {
    margin-bottom: 1.5rem;
}

.pjp-product-detail__header h1 {
    margin: 0 0 1.25rem;
    color: var(--pjp-blue, #00529B);
    font-family: 'Raleway', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.15;
    text-transform: uppercase;
}

.pjp-product-detail__type {
    margin: 0 0 1rem;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.3;
    text-transform: uppercase;
}

.pjp-product-detail__metric {
    margin: 0 0 1.5rem;
    font-size: 1.5rem;
    line-height: 1.4;
    text-transform: uppercase;
}

.pjp-product-detail__description {
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.pjp-product-detail__description p:last-child {
    margin-bottom: 0;
}

.pjp-product-detail__section-title {
    margin: 0 0 1.5rem;
    color: var(--pjp-blue, #00529B);
    font-family: 'Raleway', sans-serif;
    font-size: 1.875rem;
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
}

.pjp-product-detail__specifications {
    margin-bottom: 2.5rem;
}

.pjp-specification-table {
    width: 100%;
}

.pjp-specification-row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.65rem 0;
    border-bottom: 1px solid #d1d5db;
}

.pjp-specification-name {
    flex: 1;
    font-weight: 700;
}

.pjp-specification-value {
    flex: 0 0 40%;
    text-align: right;
}

.pjp-product-detail__downloads {
    margin-bottom: 2.5rem;
}

.pjp-spec-sheet-link {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1rem;
    border: 2px solid var(--pjp-blue, #00529B);
    border-radius: 0.75rem;
    color: var(--pjp-blue, #00529B);
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.pjp-spec-sheet-link:hover {
    background: #f3f4f6;
}

.pjp-spec-sheet-icon {
    display: flex;
    flex: 0 0 64px;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    padding: 0.9rem;
    border-radius: 50%;
    background: var(--pjp-blue, #00529B);
}

.pjp-spec-sheet-icon svg {
    width: 100%;
    height: 100%;
    fill: #fff;
}

.pjp-spec-sheet-title {
    font-family: 'Raleway', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.25;
    text-transform: uppercase;
}

.pjp-product-detail__attachments {
    width: 100%;
    margin-bottom: 2.5rem;
    box-sizing: border-box;
}

.pjp-product-detail__attachments ul {
    padding-left: 1.25rem;
    list-style: disc;
}

.pjp-product-detail__attachments li {
    margin-bottom: 0.5rem;
}

.pjp-product-detail__attachments a,
.pjp-product-detail__back a {
    color: var(--pjp-blue, #00529B);
    text-decoration: none;
}

.pjp-product-detail__related {
    width: 100%;
    margin-top: 3rem;
    box-sizing: border-box;
}

.pjp-product-detail__back {
    margin-top: 3rem;
}

.pjp-product-detail .pjp-breadcrumb {
    margin-bottom: 2rem;
    font-size: 0.9rem;
}

.pjp-product-detail .pjp-breadcrumb a {
    color: var(--pjp-blue, #00529B);
    text-decoration: none;
}

.pjp-product-detail .pjp-breadcrumb a:hover {
    text-decoration: underline;
}

.pjp-product-detail .pjp-breadcrumb span {
    margin-right: 6px;
}


/* =========================================================
   Desktop layout
========================================================= */

@media (min-width: 1024px) {

    .pjp-product-detail__layout {
        flex-direction: row-reverse;
        align-items: flex-start;
        gap: 2rem;
    }

    /* Image: 25% */
    .pjp-product-detail__image-column {
        flex: 0 0 calc(25% - 1.5rem);
        max-width: calc(25% - 1.5rem);
        padding: 0;
    }

    /* Product information: 75% */
    .pjp-product-detail__main {
        flex: 0 0 calc(75% - 0.5rem);
        max-width: calc(75% - 0.5rem);
        padding: 0;
    }

    .pjp-product-detail__header h1 {
        font-size: 3rem;
    }

    .pjp-product-detail__description {
        margin-bottom: 2.5rem;
    }

    .pjp-specification-table {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 0;
}

    .pjp-specification-row {
        display: contents;
    }

    .pjp-specification-name,
    .pjp-specification-value {
        min-width: 0;
        padding: 0.55rem 0;
        border-bottom: 1px solid #d1d5db;
        text-align: left;
    }

    .pjp-specification-name {
        grid-column: 1;
    }

    .pjp-specification-value {
        grid-column: 2;
    }

    .pjp-spec-sheet-link {
        padding: 0.75rem;
    }
}


/* =========================================================
   Mobile and tablet
========================================================= */

@media (max-width: 1023px) {

    .pjp-product-detail__layout {
        flex-direction: column;
    }

    .pjp-product-detail__main,
    .pjp-product-detail__image-column {
        flex: 0 0 100%;
        width: 100%;
        max-width: 100%;
    }
}

@media (max-width: 767px) {

    .pjp-product-detail__header h1 {
        font-size: 1.875rem;
    }

    .pjp-product-detail__type,
    .pjp-product-detail__metric {
        font-size: 1.25rem;
    }

    .pjp-product-detail__section-title {
        font-size: 1.5rem;
    }

    .pjp-spec-sheet-icon {
        flex-basis: 52px;
        width: 52px;
        height: 52px;
    }

    .pjp-spec-sheet-title {
        font-size: 1rem;
    }
}


/* =========================================================
   Shared pagination
   ========================================================= */

.pjp-pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    margin: 3rem 0 0;
    padding: 0;
    border: 0;
}

.pjp-pagination ul,
.pjp-pagination ul.page-numbers {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    list-style: none;
}

.pjp-pagination li {
    margin: 0;
    padding: 0;
}

.pjp-pagination a,
.pjp-pagination span,
.pjp-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.75rem;
    min-height: 2.75rem;
    padding: 0 0.75rem;
    border: 2px solid var(--pjp-blue);
    border-radius: 50%;
    background: #fff;
    color: var(--pjp-blue);
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    box-sizing: border-box;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.pjp-pagination a:hover,
.pjp-pagination a.page-numbers:hover,
.pjp-pagination .page-numbers.current,
.pjp-pagination .current {
    border-color: var(--pjp-blue);
    background: var(--pjp-blue);
    color: #fff;
}

.pjp-pagination a:hover {
    transform: translateY(-2px);
}

.pjp-pagination .page-numbers.prev,
.pjp-pagination .page-numbers.next {
    min-width: 2.75rem;
    padding: 0 0.9rem;
    border-radius: 2rem;
}

.pjp-pagination .page-numbers.dots {
    min-width: auto;
    padding: 0 0.25rem;
    border-color: transparent;
    background: transparent;
    color: var(--pjp-blue);
    cursor: default;
}

@media (max-width: 639px) {
    .pjp-pagination {
        gap: 0.35rem;
        margin-top: 2rem;
    }

    .pjp-pagination ul,
    .pjp-pagination ul.page-numbers {
        gap: 0.35rem;
    }

    .pjp-pagination a,
    .pjp-pagination span,
    .pjp-pagination .page-numbers {
        min-width: 2.4rem;
        min-height: 2.4rem;
        padding: 0 0.5rem;
        font-size: 0.875rem;
    }
}



/* =========================================================
   Contact page
========================================================= */

.pjp-contact__layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    align-items: stretch;
}

/* Google map */

.pjp-contact__map {
    display: flex;
    min-width: 0;
    min-height: 100%;
}

.pjp-contact__map iframe {
    display: block;
    flex: 1;
    width: 100%;
    height: 100%;
    min-height: 100%;
    border: 0;
}

/* Contact details */

.pjp-contact__details {
    min-width: 0;
    padding: 0 1rem;
}

.pjp-contact__item {
    margin-bottom: 2rem;
}

.pjp-contact__item:last-child {
    margin-bottom: 0;
}

/* Contact headings */

.pjp-contact__heading {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

/* Circular icons */

.pjp-contact__icon {
    display: flex;
    flex: 0 0 4rem;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    padding: 1rem;
    border-radius: 50%;
    background-color: #00529B;
}

.pjp-contact__icon svg {
    display: block;
    width: 2rem;
    height: 2rem;
    fill: #fff;
}

/* Telephone, email and opening hours icons */

.pjp-contact__item:nth-child(2) .pjp-contact__icon svg,
.pjp-contact__item:nth-child(3) .pjp-contact__icon svg,
.pjp-contact__item:nth-child(4) .pjp-contact__icon svg {
    width: 2.25rem;
    height: 2.25rem;
}

/* Heading text */

.pjp-contact__heading h2 {
    margin: 0;
    color: #00529B;
    font-family: 'Raleway', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
}

/* Address and opening hours */

.pjp-contact__item p,
.pjp-contact__item address {
    margin: 0 0 0.75rem;
    font-family: 'Raleway', sans-serif;
    font-size: 1rem;
    font-style: normal;
    line-height: 1.6;
}

/* Contact links */

.pjp-contact__link {
    color: #00529B;
    font-family: 'Raleway', sans-serif;
    font-size: 1rem;
    text-decoration: underline;
    text-underline-offset: 0.2em;
    transition: color 0.2s ease;
}

.pjp-contact__link:hover,
.pjp-contact__link:focus {
    color: #003866;
}

/* =========================================================
   Tablet
========================================================= */

@media (max-width: 991px) {

    .pjp-contact__layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .pjp-contact__map {
        height: 24rem;
        min-height: 0;
    }

    .pjp-contact__map iframe {
        height: 100%;
        min-height: 0;
    }

    .pjp-contact__details {
        padding: 0;
    }

}

/* =========================================================
   Mobile
========================================================= */

@media (max-width: 575px) {

    .pjp-contact__map {
        height: 18rem;
    }

    .pjp-contact__layout {
        gap: 1.5rem;
    }

    .pjp-contact__item {
        margin-bottom: 1.5rem;
    }

    .pjp-contact__heading {
        gap: 0.625rem;
    }

    .pjp-contact__icon {
        flex-basis: 3.5rem;
        width: 3.5rem;
        height: 3.5rem;
        padding: 0.875rem;
    }

    .pjp-contact__heading h2 {
        font-size: 1.125rem;
    }

}

/* =========================================================
   Team page
========================================================= */

.pjp-team__list {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    width: 100%;
    max-width: none;
}

.pjp-team__member {
    display: grid;
    grid-template-columns: 10rem minmax(0, 1fr);
    column-gap: 2rem;
    row-gap: 1.5rem;
    align-items: start;
    padding-bottom: 3rem;
    border-bottom: 1px solid #e2e6ea;
}

.pjp-team__member:last-child {
    padding-bottom: 0;
    border-bottom: none;
}


/* Team photos - circular */

.pjp-team__photo {
    grid-column: 1;
    grid-row: 1;
    width: 10rem;
    height: 10rem;
    border-radius: 50%;
    overflow: hidden;
}

.pjp-team__photo img {
    display: block;
    width: 100%;
    height: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: center;
    border-radius: 50%;
}

/* Mobile */

@media (max-width: 600px) {
    .pjp-team__photo {
        width: 7rem;
        height: 7rem;
    }
}


/* Name and job title */

.pjp-team__info {
    grid-column: 2;
    grid-row: 1;
    align-self: center;
    min-width: 0;
}

.pjp-team__name {
    margin: 0!important;
    color: var(--pjp-blue);
    font-size: 1.5rem;
    line-height: 1.3;
    font-weight: 700;
}

.pjp-team__title {
    margin: 0!important;
    font-size: 1rem;
    line-height: 1.5;
    font-weight: 500;
	color:#000!important;
}

/* Biography underneath the photo and details */

.pjp-team__bio {
    grid-column: 1 / -1;
    min-width: 0;
    line-height: 1.7;
}

.pjp-team__bio p {
    margin: 0 0 1rem;
}

.pjp-team__bio p:last-child {
    margin-bottom: 0;
}

/* Members without a photo */

.pjp-team__member--no-photo .pjp-team__info {
    grid-column: 1 / -1;
}

/* Mobile layout */

@media (max-width: 600px) {
    .pjp-team__member {
        grid-template-columns: 7rem minmax(0, 1fr);
        column-gap: 1.25rem;
        row-gap: 1.25rem;
        padding-bottom: 2rem;
    }

    .pjp-team__name {
        font-size: 1.2rem;
    }

    .pjp-team__title {
        font-size: 0.95rem;
    }

    .pjp-team__list {
        gap: 2rem;
    }
}


/* Product detail header */

.pjp-product-detail__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.pjp-product-detail__heading {
    flex: 1;
    min-width: 0;
}

.pjp-product-detail__header h1 {
    margin-top: 0;
    margin-bottom: 0.5rem;
}

.pjp-product-detail__type {
    margin: 0;
}

/* Metric box */

.pjp-product-detail__metric-box {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    background-color:var(--pjp-black);
    text-align: center;
}

.pjp-product-detail__metric {
    margin: 0;
    color: #FFF;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.2;
}

/* Mobile */

@media (max-width: 600px) {
    .pjp-product-detail__header {
        align-items: flex-start;
        gap: 1rem;
    }

    .pjp-product-detail__metric-box {
        min-width: 0;
        padding: 0.75rem 1rem;
    }

    .pjp-product-detail__metric {
        font-size: 1.2rem;
    }
}


/* =========================================================
   Consistent main page title styling
   ========================================================= */
.pjp-page__title,
.pjp-news__heading h1,
.pjp-downloads__title,
.pjp-blog .pjp-news__heading h1,
.pjp-single__title,
.pjp-products__header h1,
.pjp-product-detail__header h1 {
    color: var(--pjp-blue);
    font-family: "Raleway", sans-serif;
    font-size: 2.4rem;
    font-weight: 700;
    line-height: 1.15;
    text-transform: uppercase;
}

@media (max-width: 639px) {
    .pjp-page__title,
    .pjp-news__heading h1,
    .pjp-downloads__title,
    .pjp-blog .pjp-news__heading h1,
    .pjp-single__title,
    .pjp-products__header h1,
    .pjp-product-detail__header h1 {
        font-size: 1.875rem;
    }
}

/* Mobile contact icons */
.pjp-mobile-contact {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.pjp-mobile-contact a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background-color: #fff;
    border-radius: 50%;
    color: var(--pjp-blue);
    text-decoration: none;
}

.pjp-mobile-contact svg {
    width: 40px;
    height: 40px;
    fill: currentColor;
    display: block;
}