/* Container */
.pm-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Archive */
.pm-archive {
    padding-bottom: 60px;
}

/* Full-width breakout — ignores any constrained parent (theme content wrapper). */
.pm-archive--fullwidth {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    max-width: none;
}

.pm-archive__hero {
    position: relative;
    background-color: #1a1a1a;
    background-image:
        linear-gradient(rgba(0, 0, 0, 0.32), rgba(0, 0, 0, 0.32)),
        url('https://yaftamap.com/wp-content/uploads/2026/05/homepage-slider-المغرب.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #fff;
    padding: 70px 20px;
    text-align: center;
    width: 100%;
    overflow: hidden;
}

.pm-archive__title {
    position: relative;
    color: #fff;
    margin: 0;
    font-size: 48px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.pm-archive__inner {
    padding: 50px 0;
    max-width: 1680px;
    box-sizing: border-box;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .pm-archive__inner {
        padding: 50px 20px;
    }
}

/* Grid */
.pm-grid {
    display: grid;
    gap: 28px;
}

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

.pm-grid--cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 1100px) {
    .pm-grid--cols-3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {

    .pm-grid--cols-2,
    .pm-grid--cols-3 {
        grid-template-columns: 1fr;
    }
}

/* Card */
.pm-card {
    background: #fff;
    border-radius: 6px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform .2s ease;
}



.pm-card__media {
    position: relative;
    display: block;
    aspect-ratio: 16 / 9;
    background: #f4f4f4;
    overflow: hidden;
}

.pm-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-bottom: 10px solid;
    border-radius: 6px;
}

.pm-card__placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #eee, #d8d8d8);

}

.pm-card__body {
    position: relative;
    padding: 18px 70px 20px 18px;
}

.pm-card__title {
    margin: 0 0 6px;
    font-size: 18px;
    font-weight: 700;
    color: #111;
}

.pm-card__title a {
    color: inherit;
    text-decoration: none;
}

.pm-card__excerpt {
    margin: 0;
    color: #555;
    font-size: 14px;
    line-height: 1.5;
}

.pm-card__cta {
    position: absolute;
    right: 16px;
    bottom: 16px;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: #ee2d2d;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 8px 18px rgba(238, 45, 45, 0.35);
    transition: background .2s, transform .2s, box-shadow .2s;
}

.pm-card__cta:hover {
    background: #c82323;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 12px 22px rgba(238, 45, 45, 0.45);
}

.pm-card__cta-icon {
    width: 20px;
    height: 20px;
    display: block;
}

/* Pagination */
.pm-pagination {
    margin-top: 32px;
    text-align: center;
}

.pm-pagination .page-numbers {
    display: inline-block;
    padding: 6px 12px;
    margin: 0 2px;
    background: #f1f1f1;
    color: #333;
    text-decoration: none;
    border-radius: 4px;
}

.pm-pagination .page-numbers.current {
    background: #ee2d2d;
    color: #fff;
}

/* Single project */
.pm-single {
    padding: 50px 0 80px;
    background: #fff;
}

/* Full-width breakout — matches archive behavior. */
.pm-single--fullwidth {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    max-width: none;
}

.pm-single__inner {
    width: 100%;
    max-width: 1680px;
    margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 40px);
    box-sizing: border-box;
}

/* Roboto on plugin templates */
.pm-archive,
.pm-archive *,
.pm-single,
.pm-single * {
    font-family: 'Roboto', system-ui, -apple-system, Segoe UI, Helvetica, Arial, sans-serif;
}

/* Breadcrumbs */
.pm-breadcrumbs {
    font-size: 14px;
    color: #666;
    margin-bottom: 22px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.pm-breadcrumbs a {
    color: #666;
    text-decoration: none;
    transition: color .15s;
}

.pm-breadcrumbs a:hover {
    color: #ee2d2d;
}

.pm-breadcrumbs__sep {
    color: #b5b5b5;
    font-size: 14px;
    line-height: 1;
}

.pm-breadcrumbs__current {
    color: #111;
    font-weight: 600;
}

.pm-single__logo {
    margin-bottom: 24px;
}

.pm-single__logo img {
    max-height: 70px;
    width: auto;
    display: block;
}

.pm-single__top {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 60px;
    align-items: start;
    margin-bottom: 60px;
}

@media (max-width: 900px) {
    .pm-single__top {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

.pm-single__title {
    margin: 0 0 18px;
    font-size: 44px;
    font-weight: 800;
    color: #111;
    line-height: 1.15;
    letter-spacing: -0.5px;
}

.pm-single__description {
    color: #555;
    font-size: 15px;
    line-height: 1.7;
    max-width: 560px;
}

.pm-single__description p {
    margin: 0 0 12px;
}

/* Meta rows on the right (no card, just rows with dotted leader feel) */
.pm-single__meta {
    padding-top: 8px;
}

.pm-meta__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.pm-meta__list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid #ececec;
    font-size: 15px;
}

.pm-meta__list li:last-child {
    border-bottom: 0;
}

.pm-meta__label {
    color: #888;
    font-weight: 500;
}

.pm-meta__value {
    color: #111;
    font-weight: 600;
    text-align: right;
}

/* Section title */
.pm-section-title {
    margin: 50px 0 24px;
    font-size: 28px;
    font-weight: 800;
    text-align: center;
    color: #111;
    position: relative;
    letter-spacing: -0.3px;
}

.pm-section-title--left {
    text-align: left;
}


/* Gallery / Swiper */
.pm-gallery {
    margin-top: 10px;
    position: relative;
}

.pm-gallery-swiper {
    padding: 6px 6px 60px;
    position: relative;
    overflow: hidden;
}

.pm-gallery-swiper .swiper-wrapper {
    align-items: stretch;
}

.pm-gallery-swiper .swiper-slide {
    height: auto;
}

.pm-slide {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.pm-slide__media {
    position: relative;
    aspect-ratio: 16 / 10;
    background: #f4f4f4;
    overflow: hidden;
}

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

.pm-slide__placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #eee, #d8d8d8);
}

.pm-slide__logo {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 6px;
    padding: 6px 10px;
    max-width: 140px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.pm-slide__logo img {
    max-width: 100%;
    height: auto;
    display: block;
    max-height: 38px;
    width: auto;
}

.pm-slide__body {
    padding: 16px 22px 18px;
}

.pm-slide__title {
    margin: 0 0 10px;
    padding-bottom: 12px;
    border-bottom: 1px solid #ececec;
    font-size: 17px;
    font-weight: 800;
    color: #111;
    letter-spacing: 0.2px;
}

.pm-slide__meta {
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 14px;
    color: #444;
}

.pm-slide__meta li {
    padding: 2px 0;
    display: flex;
    gap: 12px;
}

.pm-slide__meta-label {
    color: #888;
    min-width: 76px;
    flex-shrink: 0;
}

.pm-slide__meta-value {
    color: #222;
    font-weight: 500;
}

/* Round white nav buttons (positioned over edges) */
.pm-gallery-swiper .swiper-button-prev,
.pm-gallery-swiper .swiper-button-next {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    color: #333;
    margin-top: -22px;
    top: 40%;
    transition: background .2s, color .2s, transform .2s;
}

.pm-gallery-swiper .swiper-button-prev {
    left: 14px;
}

.pm-gallery-swiper .swiper-button-next {
    right: 14px;
}

.pm-gallery-swiper .swiper-button-prev::after,
.pm-gallery-swiper .swiper-button-next::after {
    font-size: 16px;
    font-weight: 700;
}

.pm-gallery-swiper .swiper-button-prev:hover,
.pm-gallery-swiper .swiper-button-next:hover {
    background: #ee2d2d;
    color: #fff;
}

/* Pagination dots */
.pm-gallery-swiper .swiper-pagination {
    bottom: 0;
}

.pm-gallery-swiper .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: #d4d4d4;
    opacity: 1;
    margin: 0 4px;
    transition: width .2s, background .2s;
}

.pm-gallery-swiper .swiper-pagination-bullet-active {
    background: #ee2d2d;
    width: 24px;
    border-radius: 4px;
}

.pm-gallery-swiper .swiper-pagination-bullet-active {
    background: #ee2d2d;
}

/* Red border color fix for standard project cards */
.pm-card__media img {
    border-bottom-color: #FB1701;
}

/* RTL Support for standard cards */
body.rtl .pm-card__body {
    padding: 18px 18px 20px 70px;
}

body.rtl .pm-card__cta {
    right: auto;
    left: 16px;
}

/* ==========================================================================
   Featured Campaign Carousel Styles
   ========================================================================== */
.pm-carousel {
    position: relative;
    padding: 0 60px;
    margin: 40px auto;
    max-width: 1680px;
    box-sizing: border-box;
}

.pm-carousel-swiper {
    padding: 15px 15px 60px 15px;
    margin: -15px;
    position: relative;
    overflow: hidden;
}

.pm-carousel-swiper .swiper-wrapper {
    align-items: stretch;
}

.pm-carousel-swiper .swiper-slide {
    height: auto;
}

/* Premium Card Design for Carousel */
.pm-carousel-swiper .pm-card {
    box-shadow: none;
    transition: transform 0.3s ease, filter 0.3s ease;
    height: 100%;
    background: white;
    border-radius: 10px;
    overflow: hidden;
}



.pm-carousel-swiper .pm-card__media {
    aspect-ratio: 16 / 9;
    border-radius: 10px 10px 0 0;
    overflow: hidden;

}

.pm-carousel-swiper .pm-card__media img {
    border-bottom: 10px solid #FB1701;
}

.pm-carousel-swiper .pm-card__body {
    border-radius: 0px 0px 10px 10px;
    padding: 18px 75px 20px 18px;
    position: relative;
    flex-grow: 1;
}

.pm-carousel-swiper .pm-card__title {
    font-family: 'Roboto', sans-serif;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.3;
    color: #000000;
    margin: 0 0 12px 0;
}

.pm-carousel-swiper .pm-card__title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}

.pm-carousel-swiper .pm-card__title a:hover {
    color: #EC1D26;
}

.pm-carousel-swiper .pm-card__excerpt {
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    line-height: 23px;
    color: #6C7179;
    margin: 0;
}

.pm-carousel-swiper .pm-card__cta {
    position: absolute;
    right: 24px;
    bottom: 24px;
    width: 46px;
    height: 46px;
    border-radius: 10px;
    background: linear-gradient(92.87deg, #EC1D26 0%, #C1121D 100%);
    box-shadow: 0px 10px 25px rgba(235, 29, 38, 0.25);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}

.pm-carousel-swiper .pm-card__cta:hover {
    background: linear-gradient(92.87deg, #EC1D26 0%, #A00F17 100%);
    box-shadow: 0px 12px 28px rgba(235, 29, 38, 0.35);
    transform: translateY(-2px);
}

.pm-carousel-swiper .pm-card__cta-icon {
    width: 17px;
    height: 17px;
}

/* Carousel Navigation & Pagination */
.pm-carousel .pm-carousel-prev,
.pm-carousel .pm-carousel-next {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    color: #333;
    position: absolute;
    top: calc(50% - 30px);
    transition: background .2s, color .2s, transform .2s, opacity .2s;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    margin: 0;
}

.pm-carousel .pm-carousel-prev {
    left: 0;
}

.pm-carousel .pm-carousel-next {
    right: 0;
}

.pm-carousel .pm-carousel-prev::after,
.pm-carousel .pm-carousel-next::after {
    font-family: swiper-icons;
    font-size: 16px;
    font-weight: 700;
    text-transform: none;
    letter-spacing: 0;
    font-variant: normal;
    line-height: 1;
}

.pm-carousel .pm-carousel-prev::after {
    content: 'prev';
}

.pm-carousel .pm-carousel-next::after {
    content: 'next';
}

.pm-carousel .pm-carousel-prev:hover,
.pm-carousel .pm-carousel-next:hover {
    background: #EC1D26;
    color: #fff;
}

.pm-carousel-swiper .swiper-pagination {
    bottom: 10px;
}

.pm-carousel-swiper .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: #d4d4d4;
    opacity: 1;
    margin: 0 4px;
    transition: width .2s, background .2s, border-radius .2s;
}

.pm-carousel-swiper .swiper-pagination-bullet-active {
    background: #EC1D26;
    width: 24px;
    border-radius: 4px;
}

/* Carousel RTL Overrides */
body.rtl .pm-carousel-swiper .pm-card__body {
    padding: 24px 24px 24px 80px;
}

body.rtl .pm-carousel-swiper .pm-card__cta {
    right: auto;
    left: 24px;
}

body.rtl .pm-carousel .pm-carousel-prev {
    left: 0;
    right: auto;
}

body.rtl .pm-carousel .pm-carousel-next {
    left: auto;
    right: 0;
}

/* Responsiveness overrides */
@media (max-width: 768px) {
    .pm-carousel {
        padding: 0 15px;
    }

    .pm-carousel .pm-carousel-prev,
    .pm-carousel .pm-carousel-next {
        display: none;
        /* Hide navigation buttons on mobile to rely on swipe gestures */
    }

    .pm-carousel-swiper {
        padding: 10px 10px 50px 10px;
    }
}

/* ==========================================================================
   Featured Blogs Carousel Styles
   ========================================================================== */
.pm-blog-carousel {
    position: relative;
    padding: 0 60px;
    margin: 40px auto;
    max-width: 1680px;
    box-sizing: border-box;
}

.pm-blog-carousel-swiper {
    padding: 15px 15px 60px 15px;
    margin: -15px;
    position: relative;
    overflow: hidden;
}

.pm-blog-carousel-swiper .swiper-wrapper {
    align-items: stretch;
}

.pm-blog-carousel-swiper .swiper-slide {
    height: auto;
}

/* Blog Card Design */
.pm-blog-card {
    background: #ffffff;
    border-radius: 10px;
    box-shadow: none;
    transition: transform 0.3s ease, filter 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}



.pm-blog-card__media {
    position: relative;
    display: block;
    aspect-ratio: 16 / 9;
    background: #e4e4e4;
    overflow: hidden;
    border-radius: 10px 10px 0 0;
}

.pm-blog-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.pm-blog-card__placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #eee, #d8d8d8);
}

.pm-blog-card__body {
    padding: 18px 24px 20px 24px;
    background: #ffffff;
    border-radius: 0px 0px 10px 10px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.pm-blog-card__title {
    font-family: 'Roboto', sans-serif;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.3;
    color: #000000;
    margin: 0 0 8px 0;
}

.pm-blog-card__title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}

.pm-blog-card__title a:hover {
    color: #ee2d2d;
}

.pm-blog-card__date {
    font-family: 'Roboto', sans-serif;
    font-size: 13px;
    color: #9c9c9c;
    margin-bottom: 12px;
}

.pm-blog-card__excerpt {
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: #6C7179;
    margin: 0;
}

/* Navigation & Pagination */
.pm-blog-carousel .pm-blog-carousel-prev,
.pm-blog-carousel .pm-blog-carousel-next {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    color: #333;
    position: absolute;
    top: calc(50% - 30px);
    transition: background .2s, color .2s, transform .2s;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    margin: 0;
}

.pm-blog-carousel .pm-blog-carousel-prev {
    left: 0;
}

.pm-blog-carousel .pm-blog-carousel-next {
    right: 0;
}

.pm-blog-carousel .pm-blog-carousel-prev::after,
.pm-blog-carousel .pm-blog-carousel-next::after {
    font-family: swiper-icons;
    font-size: 16px;
    font-weight: 700;
    text-transform: none;
    letter-spacing: 0;
    font-variant: normal;
    line-height: 1;
}

.pm-blog-carousel .pm-blog-carousel-prev::after {
    content: 'prev';
}

.pm-blog-carousel .pm-blog-carousel-next::after {
    content: 'next';
}

.pm-blog-carousel .pm-blog-carousel-prev:hover,
.pm-blog-carousel .pm-blog-carousel-next:hover {
    background: #ee2d2d;
    color: #fff;
}

.pm-blog-carousel-swiper .swiper-pagination {
    bottom: 10px;
}

.pm-blog-carousel-swiper .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: #d4d4d4;
    opacity: 1;
    margin: 0 4px;
    transition: width .2s, background .2s, border-radius .2s;
}

.pm-blog-carousel-swiper .swiper-pagination-bullet-active {
    background: #ee2d2d;
    width: 24px;
    border-radius: 4px;
}

/* RTL Support */
body.rtl .pm-blog-card__body {
    text-align: right;
}

body.rtl .pm-blog-carousel .pm-blog-carousel-prev {
    left: 0;
    right: auto;
}

body.rtl .pm-blog-carousel .pm-blog-carousel-next {
    left: auto;
    right: 0;
}

/* Responsiveness overrides */
@media (max-width: 768px) {
    .pm-blog-carousel {
        padding: 0 15px;
    }

    .pm-blog-carousel .pm-blog-carousel-prev,
    .pm-blog-carousel .pm-blog-carousel-next {
        display: none;
    }

    .pm-blog-carousel-swiper {
        padding: 10px 10px 50px 10px;
    }
}

/* ==========================================================================
   Client Logos Honeycomb Styles
   ========================================================================== */
.pm-client-logos-wrapper {
    width: 100%;
    overflow-x: auto;
    padding: 60px 0;
    -webkit-overflow-scrolling: touch;
}

.pm-client-logos-wrapper::-webkit-scrollbar {
    height: 6px;
}

.pm-client-logos-wrapper::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.pm-client-logos-wrapper::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 3px;
}

.pm-client-logos {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 43px 43px 107px 43px;
    width: 1674px;
    margin: 0 auto;
    box-sizing: border-box;
}

.pm-client-row {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    padding: 0;
    gap: 72px;
    width: 100%;
    height: 140px;
    position: relative;
}

.pm-client-row--2 {
    padding-left: 106px;
    margin-top: -34px;
    z-index: 2;
}

.pm-client-row--3 {
    margin-top: -34px;
    z-index: 1;
}

/* Diamond Card */
.pm-diamond-card {
    position: relative;
    width: 140px;
    height: 140px;
    flex-shrink: 0;
}

.pm-diamond-shape {
    box-sizing: border-box;
    position: absolute;
    width: 140px;
    height: 140px;
    left: 0;
    top: 0;
    background: #FFFFFF;
    border: 0.8px solid #F1F5F9;
    box-shadow: 0px 2px 18px rgba(0, 0, 0, 0.055), 0px 1px 4px rgba(0, 0, 0, 0.03);
    border-radius: 16px;
    transform: rotate(45deg);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.pm-diamond-card:hover .pm-diamond-shape {
    transform: rotate(45deg) scale(1.05);
    border-color: #ee2d2d;
    box-shadow: 0px 8px 24px rgba(238, 45, 45, 0.15);
}

.pm-diamond-content {
    position: absolute;
    width: 140px;
    height: 140px;
    left: 0;
    top: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 3;
}

.pm-diamond-content img {
    max-width: 85px;
    max-height: 85px;
    object-fit: contain;
    display: block;
    transition: transform 0.3s ease;
}

.pm-diamond-card:hover .pm-diamond-content img {
    transform: scale(1.05);
}

.pm-diamond-content text,
.pm-diamond-content span {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    font-weight: 500;
    font-size: 18px;
    text-align: center;
}

/* RTL support for honeycomb */
body.rtl .pm-client-logos {
    align-items: flex-end;
}

body.rtl .pm-client-row {
    flex-direction: row-reverse;
}

body.rtl .pm-client-row--2 {
    padding-left: 0;
    padding-right: 106px;
}

/* Mobile: no scroll, drop the honeycomb stagger and flow all logos into one
   even grid (rows collapse via display:contents so there are no orphan items) */
@media (max-width: 700px) {
    .pm-client-logos-wrapper {
        overflow-x: hidden;
        padding: 30px 0;
    }

    .pm-client-logos {
        display: grid;
        grid-template-columns: repeat(3, auto);
        justify-content: center;
        align-items: center;
        gap: 0px 29px;
        width: 100%;
        max-width: 100%;
        padding: 0;
        /* Pull the grid left by half the even-row shift so the staggered
           block stays centered instead of leaning right */
        transform: translateX(-26px);
    }

    body.rtl .pm-client-logos {
        transform: translateX(26px);
    }

    .pm-client-row,
    body.rtl .pm-client-row {
        display: contents;
    }

    .pm-diamond-card {
        width: 75px;
        height: 75px;
    }

    .pm-diamond-shape {
        width: 75px;
        height: 75px;
        border-radius: 9px;
    }

    .pm-diamond-content {
        width: 75px;
        height: 75px;
    }

    .pm-diamond-content img {
        max-width: 46px;
        max-height: 46px;
    }

    /* Honeycomb brick: shift every even row half a column across */
    .pm-diamond-card.pm-shift-mobile {
        transform: translateX(52px);
    }

    body.rtl .pm-diamond-card.pm-shift-mobile {
        transform: translateX(-52px);
    }
}