/* Pawlus Mimarlık - Gerçek proje portföyü ve ortak iç sayfa hero düzeni */
.page-header .bg-img {
    background-position: calc(50% + 35px) calc(50% + 25px) !important;
    background-size: cover !important;
}
.page-header .overlay {
    background: rgba(0, 0, 0, .38);
}
.page-header-content {
    position: relative;
    z-index: 2;
}
.pawlus-project-cover {
    position: relative;
    overflow: hidden;
    width: min(100%, 1180px);
    border-radius: 20px;
    background: #ececec;
    margin: 44px auto 64px;
    aspect-ratio: 16 / 7;
}
.pawlus-project-cover img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}
.pawlus-project-intro {
    max-width: 1240px;
    margin-right: auto;
    margin-left: auto;
    text-align: center;
}
.project-details-wrap .pawlus-project-intro .details-title {
    max-width: 1180px;
    margin-right: auto;
    margin-bottom: 28px;
    margin-left: auto;
    line-height: 1.08;
}
.pawlus-project-intro p {
    max-width: 1180px;
    margin-right: auto;
    margin-left: auto;
    font-size: 18px;
    line-height: 1.85;
}
.portfolio-details {
    padding-top: 100px !important;
    padding-bottom: 100px !important;
}
.pawlus-project-highlights {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin: 45px 0 70px;
}
.pawlus-project-highlight {
    border: 1px solid rgba(25,25,25,.12);
    border-radius: 18px;
    padding: 28px;
    background: #fff;
}
.pawlus-project-highlight h3 {
    font-size: 18px;
    margin-bottom: 10px;
    line-height: 1.35;
}
.pawlus-project-highlight p {
    margin: 0;
    line-height: 1.65;
}
.pawlus-gallery-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 30px;
}
.pawlus-gallery-heading .details-title-2 {
    margin-bottom: 0;
}
.pawlus-gallery-count {
    color: #777;
    white-space: nowrap;
}
.pawlus-project-gallery {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 18px;
}
.pawlus-gallery-item {
    grid-column: span 4;
    border: 0;
    border-radius: 18px;
    overflow: hidden;
    padding: 0;
    background: #e9e9e9;
    cursor: zoom-in;
    aspect-ratio: 4 / 3;
    position: relative;
}
.pawlus-gallery-item:first-child,
.pawlus-gallery-item:nth-child(8n + 1) {
    grid-column: span 8;
    aspect-ratio: 16 / 9;
}
.pawlus-gallery-item img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform .55s ease;
}
.pawlus-gallery-item:hover img {
    transform: scale(1.035);
}
.pawlus-gallery-item.is-hidden {
    display: none;
}
.pawlus-gallery-more-wrap {
    text-align: center;
    margin-top: 35px;
}
.pawlus-gallery-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(25,25,25,.22);
    border-radius: 999px;
    padding: 14px 24px;
    font-weight: 600;
    background: #fff;
    transition: .3s ease;
}
.pawlus-gallery-more:hover {
    background: var(--tl-color-theme-primary);
    border-color: var(--tl-color-theme-primary);
    color: #fff;
}
.pawlus-lightbox {
    width: min(94vw, 1500px);
    height: min(92vh, 940px);
    max-width: none;
    max-height: none;
    padding: 0;
    border: 0;
    background: #0b0b0c;
    border-radius: 20px;
    overflow: hidden;
}
.pawlus-lightbox::backdrop {
    background: rgba(0,0,0,.88);
    backdrop-filter: blur(8px);
}
.pawlus-lightbox-inner {
    position: relative;
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    padding: 56px 70px 70px;
}
.pawlus-lightbox img {
    max-width: 100%;
    max-height: calc(100% - 40px);
    object-fit: contain;
}
.pawlus-lightbox-close,
.pawlus-lightbox-nav {
    position: absolute;
    z-index: 3;
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    color: #fff;
    background: rgba(255,255,255,.13);
    font-size: 26px;
}
.pawlus-lightbox-close {
    top: 18px;
    right: 18px;
}
.pawlus-lightbox-prev {
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
}
.pawlus-lightbox-next {
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
}
.pawlus-lightbox-caption {
    position: absolute;
    left: 70px;
    right: 70px;
    bottom: 20px;
    text-align: center;
    color: rgba(255,255,255,.78);
}
.pawlus-project-note {
    margin-top: 35px;
    padding: 18px 22px;
    border-left: 3px solid var(--tl-color-theme-primary);
    background: rgba(58, 74, 55,.08);
    border-radius: 0 12px 12px 0;
}
@media (max-width: 991px) {
    .pawlus-project-highlights {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .pawlus-gallery-item,
    .pawlus-gallery-item:first-child,
    .pawlus-gallery-item:nth-child(8n + 1) {
        grid-column: span 6;
        aspect-ratio: 4 / 3;
    }
}
@media (max-width: 767px) {
    .pawlus-project-cover {
        width: 100%;
        border-radius: 14px;
        margin: 30px auto 44px;
        aspect-ratio: 4 / 3;
    }
    .pawlus-project-highlights {
        grid-template-columns: 1fr;
    }
    .pawlus-project-gallery {
        gap: 12px;
    }
    .pawlus-gallery-item,
    .pawlus-gallery-item:first-child,
    .pawlus-gallery-item:nth-child(8n + 1) {
        grid-column: span 12;
        border-radius: 14px;
    }
    .pawlus-gallery-heading {
        align-items: flex-start;
        flex-direction: column;
    }
    .pawlus-lightbox {
        width: 100vw;
        height: 100dvh;
        border-radius: 0;
    }
    .pawlus-lightbox-inner {
        padding: 60px 15px 70px;
    }
    .pawlus-lightbox-caption {
        left: 20px;
        right: 20px;
    }
}

/* Teslimat finali — genişletilmiş proje detay mimarisi */
.pawlus-project-section {
    margin-top: 88px;
}
.pawlus-section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    color: var(--tl-color-theme-primary);
    font-family: var(--tl-ff-heading);
    font-size: 12px;
    letter-spacing: 1.4px;
    text-transform: uppercase;
}
.pawlus-section-kicker::before {
    content: '';
    width: 28px;
    height: 1px;
    background: currentColor;
}
.pawlus-project-section .details-title-2 {
    max-width: 1050px;
    margin-bottom: 24px;
    font-size: clamp(30px, 3.4vw, 52px);
    line-height: 1.12;
}
.pawlus-project-narrative {
    max-width: 1260px;
}
.pawlus-section-heading-row {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 40px;
    margin-bottom: 28px;
}
.pawlus-section-heading-row .details-title-2 {
    margin-bottom: 0;
}
.pawlus-section-heading-row > p {
    max-width: 470px;
    margin: 0 0 8px;
    font-size: 17px;
    line-height: 1.7;
}
.pawlus-project-heading-actions {
    display: flex;
    min-width: 0;
    align-items: flex-end;
    justify-content: flex-end;
    gap: 24px;
}
.pawlus-project-heading-actions > p {
    flex: 1 1 390px;
    max-width: 470px;
    margin: 0;
    font-size: 17px;
    line-height: 1.7;
}
.pawlus-project-card-slider-wrap {
    position: relative;
}
.pawlus-project-card-slider {
    width: 100%;
    overflow: hidden;
}
.pawlus-project-card-slider .swiper-wrapper {
    display: flex;
}
.pawlus-project-card-slider .swiper-slide {
    height: auto;
}
.pawlus-project-card {
    min-height: 260px;
    height: 100%;
    padding: 30px 26px;
    border-radius: 20px;
    border: 1px solid transparent;
    transition: background-color .3s ease, border-color .3s ease, color .3s ease, transform .3s ease, box-shadow .3s ease;
    cursor: pointer;
    user-select: none;
}
.pawlus-project-goal {
    background: #171719;
    color: #fff;
}
.pawlus-project-highlight {
    background: #fff;
    border-color: rgba(25,25,25,.12);
    color: #171719;
}
.pawlus-project-card > span {
    display: inline-flex;
    margin-bottom: 52px;
    color: #819779;
    font-family: var(--tl-ff-heading);
    font-size: 14px;
    transition: color .3s ease;
}
.pawlus-project-card h3 {
    font-size: 19px;
    line-height: 1.35;
    margin-bottom: 12px;
    transition: color .3s ease;
}
.pawlus-project-card p {
    margin: 0;
    line-height: 1.7;
    transition: color .3s ease;
}
.pawlus-project-goal h3 {
    color: #fff;
}
.pawlus-project-goal p {
    color: rgba(255,255,255,.68);
}
.pawlus-project-highlight h3 {
    color: #171719;
}
.pawlus-project-highlight p {
    color: #5d5d62;
}
.pawlus-project-goal:hover,
.pawlus-project-goal:focus-visible,
.pawlus-project-goal.is-toggled {
    background: #fff;
    border-color: rgba(25,25,25,.12);
    color: #171719;
    transform: translateY(-4px);
    box-shadow: 0 18px 44px rgba(20,20,20,.1);
}
.pawlus-project-goal:hover h3,
.pawlus-project-goal:focus-visible h3,
.pawlus-project-goal.is-toggled h3 {
    color: #171719;
}
.pawlus-project-goal:hover p,
.pawlus-project-goal:focus-visible p,
.pawlus-project-goal.is-toggled p {
    color: #5d5d62;
}
.pawlus-project-highlight:hover,
.pawlus-project-highlight:focus-visible,
.pawlus-project-highlight.is-toggled {
    background: #171719;
    border-color: #171719;
    color: #fff;
    transform: translateY(-4px);
    box-shadow: 0 18px 44px rgba(20,20,20,.14);
}
.pawlus-project-highlight:hover h3,
.pawlus-project-highlight:focus-visible h3,
.pawlus-project-highlight.is-toggled h3 {
    color: #fff;
}
.pawlus-project-highlight:hover p,
.pawlus-project-highlight:focus-visible p,
.pawlus-project-highlight.is-toggled p {
    color: rgba(255,255,255,.67);
}
.pawlus-project-card:focus-visible {
    outline: 3px solid rgba(58,74,55,.32);
    outline-offset: 3px;
}
.pawlus-project-card-controls {
    display: flex;
    flex: 0 0 auto;
    justify-content: flex-end;
    gap: 10px;
    margin: 0 0 4px;
}
.pawlus-project-card-arrow {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid rgba(25,25,25,.18);
    border-radius: 50%;
    color: #171719;
    background: #fff;
    line-height: 1;
    transition: background-color .25s ease, border-color .25s ease, color .25s ease, opacity .25s ease;
}
.pawlus-project-card-arrow i {
    display: block;
    font-size: 14px;
    line-height: 1;
}
.pawlus-project-card-arrow:hover {
    border-color: var(--tl-color-theme-primary);
    background: var(--tl-color-theme-primary);
    color: #fff;
}
.pawlus-project-card-arrow.swiper-button-disabled {
    opacity: .28;
    pointer-events: none;
}
.pawlus-project-card-arrow.swiper-button-lock {
    display: none;
}
.pawlus-project-card-slider.is-native-scroll .swiper-wrapper {
    gap: 18px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    scrollbar-color: var(--tl-color-theme-primary) transparent;
}
.pawlus-project-card-slider.is-native-scroll .swiper-slide {
    flex: 0 0 calc(25% - 14px);
    scroll-snap-align: start;
}
.pawlus-gallery-section {
    overflow: hidden;
}
.pawlus-gallery-slider-wrap {
    position: relative;
    padding: 0 58px 45px;
}
.pawlus-project-gallery.swiper {
    display: block;
    overflow: hidden;
    width: 100%;
}
.pawlus-project-gallery .swiper-wrapper {
    display: flex;
    gap: 0;
}
.pawlus-project-gallery .swiper-slide {
    height: auto;
}
.pawlus-project-gallery .pawlus-gallery-item,
.pawlus-project-gallery .pawlus-gallery-item:first-child,
.pawlus-project-gallery .pawlus-gallery-item:nth-child(8n + 1) {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 300px;
    grid-column: auto;
    aspect-ratio: 4 / 3;
    border-radius: 18px;
}
.pawlus-gallery-arrow {
    position: absolute;
    top: calc(50% - 24px);
    z-index: 5;
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border-radius: 50%;
    background: #171719;
    color: #fff;
    line-height: 1;
    transition: .25s ease;
}
.pawlus-gallery-arrow i {
    display: block;
    font-size: 15px;
    line-height: 1;
}
.pawlus-gallery-arrow:hover {
    background: var(--tl-color-theme-primary);
}
.pawlus-gallery-prev { left: 0; }
.pawlus-gallery-next { right: 0; }
.pawlus-gallery-arrow.swiper-button-disabled {
    opacity: .25;
    pointer-events: none;
}
.pawlus-gallery-pagination {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    justify-content: center;
    gap: 8px;
}
.pawlus-gallery-pagination .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    margin: 0 !important;
    opacity: .28;
    background: #171719;
}
.pawlus-gallery-pagination .swiper-pagination-bullet-active {
    opacity: 1;
    background: var(--tl-color-theme-primary);
    transform: scale(1.3);
}
.pawlus-project-gallery.is-native-scroll .swiper-wrapper {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
}
.pawlus-project-gallery.is-native-scroll .swiper-slide {
    flex: 0 0 calc(33.333% - 15px);
    scroll-snap-align: start;
}
@media (max-width: 1199px) {
    .pawlus-project-card { min-height: 245px; }
}
@media (max-width: 991px) {
    .pawlus-project-section { margin-top: 65px; }
    .pawlus-section-heading-row { align-items: flex-start; flex-direction: column; gap: 10px; }
    .pawlus-project-heading-actions { width: 100%; align-items: flex-end; }
    .pawlus-project-card-slider.is-native-scroll .swiper-slide { flex-basis: calc(50% - 9px); }
    .pawlus-project-gallery.is-native-scroll .swiper-slide { flex-basis: calc(50% - 9px); }
}
@media (max-width: 767px) {
    .portfolio-details { padding-top: 68px !important; padding-bottom: 72px !important; }
    .project-details-wrap .pawlus-project-intro .details-title { margin-bottom: 20px; }
    .pawlus-project-section .details-title-2 { font-size: clamp(28px, 8.2vw, 38px); }
    .pawlus-project-card { min-height: 220px; padding: 26px 22px; border-radius: 16px; }
    .pawlus-project-card > span { margin-bottom: 38px; }
    .pawlus-project-heading-actions { align-items: flex-start; flex-direction: column; gap: 16px; }
    .pawlus-project-heading-actions > p { flex-basis: auto; }
    .pawlus-project-card-controls { align-self: flex-end; margin-bottom: 0; }
    .pawlus-project-card-slider.is-native-scroll .swiper-slide { flex-basis: 88%; }
    .pawlus-gallery-slider-wrap { padding: 0 0 42px; }
    .pawlus-gallery-arrow { display: none; }
    .pawlus-project-gallery .pawlus-gallery-item,
    .pawlus-project-gallery .pawlus-gallery-item:first-child,
    .pawlus-project-gallery .pawlus-gallery-item:nth-child(8n + 1) { min-height: 245px; }
    .pawlus-project-gallery.is-native-scroll .swiper-slide { flex-basis: 88%; }
}

/* Keep project detail heroes aligned with the shared inner-page hero cleanup. */
.page-header .bg-img {
    background-position: var(--pawlus-inner-hero-bg-x, calc(50% + 42px)) var(--pawlus-inner-hero-bg-y, calc(50% - 92px)) !important;
}


/* 2026-07-27 — Project detail responsive hardening */
.project-details-wrap,
.project-details-wrap * {
    min-width: 0;
}
.project-details-wrap .project-details-meta {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 24px 28px;
    align-items: start;
}
.project-details-wrap .project-details-meta .details-meta h5,
.project-details-wrap .project-details-meta .details-meta a {
    overflow-wrap: anywhere;
    word-break: normal;
}
.project-cta-wrap .tl-primary-btn {
    white-space: nowrap;
}
@media (max-width: 1199px) {
    .project-details-wrap .project-details-meta {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}
@media (max-width: 767px) {
    .portfolio-details .container-2 {
        width: 100%;
        padding-right: 18px;
        padding-left: 18px;
    }
    .pawlus-project-intro {
        text-align: left;
    }
    .project-details-wrap .pawlus-project-intro .details-title {
        max-width: 100%;
        font-size: clamp(34px, 11vw, 50px);
        line-height: 1.08;
        text-align: left;
        overflow-wrap: anywhere;
    }
    .pawlus-project-intro > p {
        max-width: 100%;
        margin-bottom: 30px;
        font-size: 16px;
        line-height: 1.7;
        text-align: left;
    }
    .project-details-wrap .project-details-meta {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 22px 18px;
        margin-bottom: 30px;
        padding-bottom: 28px;
    }
    .project-details-wrap .project-details-meta .details-meta {
        width: auto;
    }
    .project-details-wrap .project-details-meta .details-meta span {
        margin-bottom: 7px;
        font-size: 13px;
        line-height: 1.35;
    }
    .project-details-wrap .project-details-meta .details-meta h5 {
        font-size: 15px;
        line-height: 1.4;
    }
    .project-cta-wrap .row {
        row-gap: 24px;
    }
    .project-cta-wrap .details-title-2 {
        font-size: clamp(28px, 8.5vw, 38px) !important;
        line-height: 1.12;
    }
    .project-cta-wrap .tl-primary-btn {
        width: 100%;
        justify-content: center;
        text-align: center;
        white-space: normal;
    }
}
@media (max-width: 389px) {
    .project-details-wrap .project-details-meta {
        grid-template-columns: 1fr;
    }
}
