/*==================================================
    Shared: Breadcrumbs
==================================================*/
.acr-breadcrumbs {
    max-width: 1200px;
    margin: 20px auto 0;
    padding: 0 20px;
    font-size: 14px;
    color: #6b7280;
}

.acr-breadcrumbs a {
    color: #2563eb;
    text-decoration: none;
}

.acr-breadcrumbs a:hover {
    text-decoration: underline;
}

.acr-breadcrumbs .sep {
    margin: 0 8px;
    color: #9ca3af;
}

.acr-breadcrumbs .current {
    color: #111827;
    font-weight: 600;
}

/* Reset the standalone spacing when breadcrumbs live inside the single-portfolio main wrapper */
main.single-portfolio-full .acr-breadcrumbs {
    max-width: none;
    margin: 0;
    padding: 24px 0 0;
}

/*==================================================
    Shared: Category Badge (overlay on images)
==================================================*/
.acr-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 2;
    background: rgba(17, 24, 39, .85);
    color: #fff;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
}

/*==================================================
    Shared: CTA Banner
==================================================*/
.acr-cta-banner {
    display: flex;
    align-items: center;
    gap: 20px;
    background: #eff4ff;
    border-radius: 16px;
    padding: 28px 32px;
    margin: 40px 0;
}

.acr-cta-icon {
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #dbe7ff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.acr-cta-icon .dashicons {
    color: #2563eb;
}

.acr-cta-text {
    flex: 1;
}

.acr-cta-text h4 {
    margin: 0 0 4px;
    font-size: 18px;
    color: #111827;
}

.acr-cta-text p {
    margin: 0;
    color: #6b7280;
}

.acr-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #2563eb;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    padding: 12px 22px;
    border-radius: 8px;
    white-space: nowrap;
    transition: background .3s;
}

.acr-cta-btn:hover {
    background: #1d4ed8;
    color: #fff;
}

@media (max-width: 640px) {
    .acr-cta-banner { flex-wrap: wrap; text-align: center; }
    .acr-cta-icon { margin: 0 auto; }
}

/*==================================================
    Archive Page
==================================================*/
.acr-portfolio-archive {
    padding-bottom: 40px;
}

.acr-archive-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 20px;
}

.portfolio-archive-heading {
    text-align: left;
    font-size: 40px;
    margin: 10px 0 10px;
}

.acr-archive-heading-text {
    max-width: 560px;
}

.acr-archive-subtitle {
    color: #6b7280;
    line-height: 1.6;
    margin: 0;
}

.acr-stats {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.acr-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-width: 90px;
}

.acr-stat .dashicons {
    color: #2563eb;
    font-size: 26px;
    width: 26px;
    height: 26px;
    margin-bottom: 6px;
}

.acr-stat strong {
    font-size: 26px;
    color: #111827;
    line-height: 1.2;
}

.acr-stat span:last-child {
    font-size: 13px;
    color: #6b7280;
}

@media (max-width: 900px) {
    .acr-archive-header { flex-direction: column; align-items: flex-start; }
}

/* Pagination */
.acr-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 30px 0 10px;
}

.acr-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 10px;
    border-radius: 8px;
    background: #fff;
    color: #444;
    text-decoration: none;
    border: 1px solid #e5e7eb;
    font-weight: 600;
}

.acr-pagination .page-numbers.current {
    background: #2563eb;
    color: #fff;
    border-color: #2563eb;
}

.acr-pagination .page-numbers:hover:not(.current) {
    background: #eff4ff;
}

.acr-no-results {
    text-align: center;
    color: #6b7280;
    padding: 40px 0;
}

/*==================================================
    Single Portfolio
==================================================*/
main.single-portfolio-full {
    background: #fff;
    padding: 0 30px 30px;
    margin: 30px auto;
    max-width: 1200px;
    border-radius: 16px;
}

.image-with-all-meta {
    display: flex;
    margin-top: 0;
    padding-top: 30px;
    gap: 30px;
}

.portfolio-featured-image {
    position: relative;
    flex: 0 0 auto;
}

.portfolio-featured-image img {
    width: 600px;
    height: 400px;
    object-fit: cover;
    border-radius: 25px;
    border: 2px solid transparent;
    background-image:
        linear-gradient(#fff, #fff),
        linear-gradient(to right, #2ba62f, #feb47b);
    background-origin: border-box;
    background-clip: padding-box, border-box;
}

.all-meta {
    flex: 1;
}

.all-meta h1 {
    font-size: 36px;
    margin: 0 0 14px;
}

.acr-intro {
    color: #6b7280;
    line-height: 1.7;
    margin: 0 0 20px;
}

.portfolio-meta {
    background: #fff;
    padding: 10px 20px;
    border-radius: 16px;
    box-shadow: 0 0 6px -3px #888888;
}

.portfolio-meta p {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 0;
    margin: 0;
    border-bottom: 1px solid #f1f1f1;
}

.portfolio-meta p:last-child {
    border-bottom: none;
}

.portfolio-meta .dashicons {
    color: #2563eb;
    flex: 0 0 20px;
}

.portfolio-meta strong {
    flex: 0 0 120px;
    color: #6b7280;
    font-weight: 600;
}

.acr-meta-value {
    color: #111827;
    font-weight: 600;
    text-align: right;
    margin-left: auto;
}

.acr-meta-value a {
    color: #2563eb;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.acr-meta-value a .dashicons {
    font-size: 14px;
    width: 14px;
    height: 14px;
}

.acr-visit-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 20px;
    background: #2563eb;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    padding: 12px 26px;
    border-radius: 50px;
    transition: background .3s;
}

.acr-visit-btn:hover {
    background: #1d4ed8;
    color: #fff;
}

/* Overview + Specs */
.overview-specs {
    display: flex;
    gap: 30px;
    justify-content: start;
    margin-top: 50px;
    align-items: flex-start;
}

.portfolio-overview,
.portfolio-specs {
    flex: 1;
}

.overview-specs h3 {
    font-size: 22px;
    margin: 0 0 16px;
}

.portfolio-overview p {
    color: #4b5563;
    line-height: 1.8;
}

.acr-specs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.acr-spec-box {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: #f9fafb;
    border: 1px solid #eef0f3;
    border-radius: 12px;
    padding: 16px;
}

.acr-spec-box .dashicons {
    color: #2563eb;
    margin-top: 2px;
}

.acr-spec-text {
    display: flex;
    flex-direction: column;
}

.acr-spec-label {
    font-size: 13px;
    color: #6b7280;
}

.acr-spec-value {
    font-size: 16px;
    font-weight: 700;
    color: #111827;
}

/* Gallery */
main.single-portfolio-full h3 {
    margin-top: 50px;
    font-size: 22px;
}

.acr-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 200px;
    grid-auto-flow: dense;
    gap: 20px;
    margin-top: 20px;
}

.acr-gallery-item {
    display: block;
    border-radius: 16px;
    overflow: hidden;
}

.acr-gallery-item:first-child {
    grid-row: span 2;
}

.acr-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .4s ease;
}

.acr-gallery-item:hover img {
    transform: scale(1.06);
}

/* Prev / Next navigation */
.acr-post-nav {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #f1f1f1;
}

.acr-post-nav a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #111827;
}

.acr-post-nav .dashicons {
    color: #2563eb;
}

.acr-nav-text {
    display: flex;
    flex-direction: column;
}

.acr-nav-text small {
    color: #6b7280;
    font-size: 12px;
}

.acr-nav-text strong {
    font-size: 15px;
}

.acr-next {
    text-align: right;
}

.acr-next .acr-nav-text {
    align-items: flex-end;
}

/* Responsive */
@media (max-width: 767px) {
    .image-with-all-meta {
        flex-wrap: wrap;
        flex-direction: column;
    }

    .portfolio-featured-image img {
        width: 100%;
        height: 240px;
    }

    .overview-specs {
        flex-direction: column;
        flex-wrap: wrap;
    }

    .acr-specs-grid {
        grid-template-columns: 1fr;
    }

    .acr-gallery {
        grid-template-columns: repeat(2, 1fr);
    }

    .acr-gallery-item:first-child {
        grid-column: span 2;
        grid-row: span 1;
        height: 240px;
    }

    .acr-post-nav {
        flex-direction: column;
    }

    .acr-next {
        text-align: left;
    }

    .acr-next .acr-nav-text {
        align-items: flex-start;
    }
}

/*==================================================
    Request a Quote Modal
==================================================*/
.acr-visit-btn {
    border: none;
    cursor: pointer;
    font-size: 15px;
    font-family: inherit;
}

.acr-modal {
    border: none;
    border-radius: 16px;
    padding: 0;
    width: 90%;
    max-width: 760px;
    box-shadow: 0 20px 60px rgba(0,0,0,.25);
}

.acr-modal::backdrop {
    background: rgba(17, 24, 39, .6);
}

.acr-modal-inner {
    position: relative;
    padding: 32px;
}

.acr-modal .acr-modal-close {
    all: unset;
    box-sizing: border-box;
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f3f4f6;
    border-radius: 50%;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    color: #111827;
}

.acr-modal .acr-modal-close:hover {
    background: #e5e7eb;
}

.acr-modal-inner h2 {
    margin: 0 0 24px;
    font-size: 24px;
}

.acr-modal-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 30px;
}

.acr-modal-contact h4 {
    margin: 0 0 14px;
    font-size: 16px;
}

.acr-modal-contact p {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 12px;
    color: #4b5563;
}

.acr-modal-contact .dashicons {
    color: #2563eb;
}

.acr-whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    background: #25D366;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 50px;
}

.acr-whatsapp-btn:hover {
    background: #1ebe57;
    color: #fff;
}

@media (max-width: 640px) {
    .acr-modal-grid {
        grid-template-columns: 1fr;
    }

    .acr-modal-inner {
        padding: 24px;
    }
}