/* ==========================================================
   DrTHair LP Sections — overrides + integration
   ========================================================== */

.dwa-lps { padding: 80px 0; }

/* ====== VIDEOTAB ====== */
.dwa-lps.videotab .appointment-fourteen-bg {
    position: relative;
    min-height: 360px;
    padding: 60px;
    border-radius: 24px;
    background-size: cover;
    background-position: center;
    background-color: #031B4E;
    overflow: hidden;
    cursor: pointer;
    display: flex;
    align-items: center;
}
.dwa-lps.videotab .appointment-fourteen-bg::before {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(3,27,78,0.7) 0%, rgba(3,27,78,0.45) 100%);
    z-index: 1;
}
.dwa-lps.videotab .row { position: relative; z-index: 2; width: 100%; }
.dwa-lps.videotab .pbmit-title {
    color: #fff;
    font-size: 34px;
    line-height: 1.25;
    font-weight: 600;
    margin: 0;
}

/* Play button */
.dwa-lps.videotab .play-button {
    position: absolute;
    right: 60px;
    top: 50%;
    transform: translateY(-50%);
    width: 90px; height: 90px;
    background: #fff;
    border-radius: 50%;
    z-index: 3;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.5);
    animation: dwaPulse 2s ease-in-out infinite;
}
.dwa-lps.videotab .play-button::before {
    content: "";
    position: absolute;
    left: 55%; top: 50%;
    transform: translate(-50%, -50%);
    border-style: solid;
    border-width: 14px 0 14px 22px;
    border-color: transparent transparent transparent var(--themeht-primary-color, #1344FE);
}
.dwa-lps.videotab .video-link:hover .play-button {
    transform: translateY(-50%) scale(1.1);
}

@keyframes dwaPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255,255,255,0.5); }
    50%      { box-shadow: 0 0 0 18px rgba(255,255,255,0); }
}

/* ====== BEFORE/AFTER PORTFOLIO ====== */
.dwa-lps.portfolio-sec-fifteen .swiper { overflow: hidden; }
.dwa-lps .pbmit-portfolio-style-3 {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.dwa-lps .pbmit-portfolio-style-3:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}
.dwa-lps .pbmit-portfolio-style-3 .pbmit-featured-img-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}
.dwa-lps .pbmit-portfolio-style-3:hover .pbmit-featured-img-wrapper img {
    transform: scale(1.05);
}
.dwa-lps .pbmit-portfolio-style-3 .pbminfotech-box-content {
    position: absolute;
    left: 20px; right: 20px; bottom: 20px;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(8px);
    padding: 16px 20px;
    border-radius: 14px;
    transform: translateY(12px);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}
.dwa-lps .pbmit-portfolio-style-3:hover .pbminfotech-box-content {
    transform: translateY(0);
    opacity: 1;
}
.dwa-lps .pbmit-cat a {
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--themeht-primary-color, #1344FE);
    text-decoration: none;
    font-weight: 600;
}
.dwa-lps .pbmit-portfolio-style-3 .pbmit-title {
    font-size: 18px;
    margin: 4px 0 0;
    color: var(--themeht-text-color, #031B4E);
}
.dwa-lps .pbmit-portfolio-style-3 .pbmit-title a {
    color: inherit;
    text-decoration: none;
}
.dwa-lps .pbmit-portfolio-style-3 .pbmit-link {
    position: absolute; inset: 0; z-index: 5;
}

/* ====== PRESS REVIEWS ====== */
.dwa-press .pbmit-heading-subheading {
    margin-bottom: 40px;
}
.dwa-press .pbmit-title {
    font-size: 38px;
    line-height: 1.15;
    font-weight: 600;
    margin: 0;
    color: var(--themeht-text-color, #031B4E);
}
/* Wrapper temizliği — tüm iç div'ler tam genişlik + yükseklik */
.dwa-press .pbmit-team-style-5,
.dwa-press .pbmit-team-style-5 .pbminfotech-post-item,
.dwa-press .pbmit-team-style-5 .pbmit-featured-wrap,
.dwa-press .pbmit-team-style-5 .pbmit-featured-inner,
.dwa-press .pbmit-team-style-5 .pbmit-featured-img-wrapper,
.dwa-press .pbmit-team-style-5 .pbmit-featured-wrapper {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    display: block;
}

.dwa-press .pbmit-team-style-5 {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    min-height: 220px;
    padding: 20px;
    border: 1px solid rgba(3, 27, 78, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    position: relative;
    box-sizing: border-box;
    display: flex !important;
    align-items: center;
    justify-content: center;
}

.dwa-press .pbmit-team-style-5 .pbminfotech-post-item {
    display: flex !important;
    align-items: center;
    justify-content: center;
}

.dwa-press .pbmit-team-style-5 .pbmit-featured-wrapper {
    display: flex !important;
    align-items: center;
    justify-content: center;
    padding: 0;
}
.dwa-press .pbmit-team-style-5 .pbmit-featured-wrapper > a {
    display: flex !important;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.dwa-press .pbmit-team-style-5:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 34px rgba(3, 27, 78, 0.1);
    border-color: rgba(19, 68, 254, 0.25);
}

.dwa-press .pbmit-team-style-5 img {
    max-width: 100% !important;
    max-height: 180px !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain;
    display: block;
    margin: 0 auto;
    filter: grayscale(100%);
    opacity: 0.8;
    transition: filter 0.3s ease, opacity 0.3s ease, transform 0.3s ease;
}
.dwa-press .pbmit-team-style-5:hover img {
    filter: none;
    opacity: 1;
    transform: scale(1.05);
}
.dwa-press .pbmit-link {
    position: absolute; inset: 0; z-index: 5;
}

/* Navigation arrows */
.dwa-lps .dwa-nav {
    position: absolute;
    right: 0; top: 50%;
    transform: translateY(-50%);
    display: flex; gap: 8px;
    flex-direction: row-reverse;
}
.dwa-lps .dwa-nav .swiper-button-prev,
.dwa-lps .dwa-nav .swiper-button-next {
    position: static;
    width: 48px; height: 48px;
    margin: 0;
    background: transparent;
    border: 1px solid rgba(3, 27, 78, 0.15);
    border-radius: 50%;
    color: var(--themeht-primary-color, #1344FE);
    transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.dwa-lps .dwa-nav .swiper-button-prev::after,
.dwa-lps .dwa-nav .swiper-button-next::after {
    font-size: 14px; font-weight: 700;
}
.dwa-lps .dwa-nav .swiper-button-prev:hover,
.dwa-lps .dwa-nav .swiper-button-next:hover {
    background: var(--themeht-primary-color, #1344FE);
    border-color: var(--themeht-primary-color, #1344FE);
    color: #fff;
}

.dwa-lps .swiper-slide { height: auto; }

/* ====== Video modal ====== */
.dwa-video-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    z-index: 999999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.25s ease;
}
.dwa-video-modal.is-open {
    display: flex;
    opacity: 1;
}
.dwa-video-modal__inner {
    position: relative;
    width: 100%;
    max-width: 960px;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
}
/* Aspect ratio — modern */
.dwa-video-modal__inner {
    aspect-ratio: 16 / 9;
}
/* Fallback eski tarayıcılar için (iframe container mutlaka 16:9) */
@supports not (aspect-ratio: 1) {
    .dwa-video-modal__inner {
        padding-top: 56.25%;
        height: 0;
    }
    .dwa-video-modal__inner > .dwa-video-modal__close,
    .dwa-video-modal__inner > .dwa-video-modal__player { position: absolute; inset: 0; }
}
.dwa-video-modal__player { width: 100%; height: 100%; }

/* Dikey (Shorts) modu — max-width dar, 9:16 */
.dwa-video-modal.is-portrait .dwa-video-modal__inner {
    max-width: min(420px, calc((100vh - 80px) * 9 / 16));
    aspect-ratio: 9 / 16;
}
@supports not (aspect-ratio: 1) {
    .dwa-video-modal.is-portrait .dwa-video-modal__inner {
        padding-top: 177.77%; /* 16/9 = 1.7777 */
    }
}
.dwa-video-modal iframe {
    width: 100%;
    height: 100%;
    border: 0;
}
.dwa-video-modal__close {
    position: absolute;
    top: -40px;
    right: 0;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 28px;
    cursor: pointer;
    padding: 4px 10px;
    line-height: 1;
}
.dwa-video-modal__close:hover { opacity: 0.7; }

/* Mobile */
@media (max-width: 767px) {
    .dwa-lps { padding: 50px 0; }
    .dwa-lps.videotab .appointment-fourteen-bg { padding: 30px; min-height: 260px; }
    .dwa-lps.videotab .pbmit-title { font-size: 22px; }
    .dwa-lps.videotab .play-button { width: 64px; height: 64px; right: 20px; }
    .dwa-press .pbmit-title { font-size: 28px; }
    .dwa-lps .pbmit-portfolio-style-3 .pbminfotech-box-content { opacity: 1; transform: none; }
    .dwa-lps .dwa-nav { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    .dwa-lps.videotab .play-button { animation: none; }
}
