/* ==========================================================================
   MekanRadar Blog Strip - Lite White / Readable Overlay
   public/css/mr-place-blog-strip.css
   ========================================================================== */

.mrpb-section {
    position: relative;
    overflow: hidden;
}

.mrpb-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 18px;
    align-items: end;
    margin-bottom: 16px;
}

.mrpb-nav {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.mrpb-nav-btn {
    width: 42px;
    height: 42px;
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 1px solid rgba(34, 197, 94, .22);
    background: rgba(255, 255, 255, .055);
    color: var(--mr-title, #ffffff);
    font-size: 28px;
    line-height: 1;
    font-weight: 800;
    cursor: pointer;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.05), 0 8px 18px rgba(0,0,0,.10);
    transition: transform .16s ease, border-color .16s ease, background .16s ease;
}

.mrpb-nav-btn:hover {
    transform: translateY(-1px);
    border-color: rgba(34, 197, 94, .42);
    background: rgba(34, 197, 94, .10);
}

.mrpb-slider {
    min-width: 0;
}

.mrpb-track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(290px, 31.5%);
    gap: 16px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x proximity;
    scroll-behavior: auto;
    padding: 2px 2px 8px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.mrpb-track::-webkit-scrollbar {
    display: none;
}

.mrpb-card {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    height: 268px;
    border-radius: 26px;
    border: 1px solid rgba(34, 197, 94, .18);
    background: rgba(255,255,255,.045);
    color: #ffffff;
    text-decoration: none;
    scroll-snap-align: start;
    box-shadow: 0 12px 28px rgba(0,0,0,.14), inset 0 1px 0 rgba(255,255,255,.045);
    transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}

.mrpb-card:hover {
    transform: translateY(-1px);
    border-color: rgba(34, 197, 94, .32);
    box-shadow: 0 16px 34px rgba(0,0,0,.18), inset 0 1px 0 rgba(255,255,255,.06);
}

.mrpb-media,
.mrpb-media img,
.mrpb-fallback {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.mrpb-media {
    z-index: 0;
    background: linear-gradient(135deg, #061d24, #031017);
}

.mrpb-media picture {
    display: block;
    width: 100%;
    height: 100%;
}

.mrpb-media img {
    object-fit: cover;
    display: block;
    transform: none;
    transition: none;
}

.mrpb-card:hover .mrpb-media img {
    transform: none;
}

.mrpb-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0f172a, #111827);
}

.mrpb-fallback span {
    width: 72px;
    height: 72px;
    border-radius: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #22c55e, #2dd4bf);
    color: #052214;
    font-size: 24px;
    font-weight: 950;
    letter-spacing: -.06em;
    box-shadow: 0 14px 30px rgba(34, 197, 94, .18);
}

/* Kritik okunurluk katmanÄ±: resim Ã¼stÃ¼nde tÃ¼m metinler beyaz kalÄ±r. */
.mrpb-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(180deg, rgba(15, 23, 42, .06) 0%, rgba(15, 23, 42, .42) 46%, rgba(15, 23, 42, .90) 100%),
        linear-gradient(90deg, rgba(15, 23, 42, .40) 0%, rgba(15, 23, 42, .16) 58%, rgba(15, 23, 42, .34) 100%);
    pointer-events: none;
}

.mrpb-content {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 18px;
    z-index: 2;
    display: grid;
    gap: 9px;
    color: #ffffff !important;
}

.mrpb-badge {
    width: fit-content;
    max-width: 100%;
    min-height: 30px;
    display: inline-flex;
    align-items: center;
    padding: 0 11px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.28);
    background: rgba(15, 23, 42, .42);
    color: #ffffff !important;
    font-size: 11px;
    line-height: 1;
    font-weight: 950;
    letter-spacing: .12em;
    text-transform: uppercase;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    text-shadow: 0 2px 10px rgba(0,0,0,.34);
}

.mrpb-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: #ffffff !important;
    font-size: 20px;
    line-height: 1.08;
    font-weight: 950;
    letter-spacing: -.04em;
    text-shadow: 0 3px 18px rgba(0,0,0,.58), 0 1px 2px rgba(0,0,0,.70);
}

.mrpb-excerpt {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: rgba(255,255,255,.84) !important;
    font-size: 12.5px;
    line-height: 1.45;
    font-weight: 700;
    text-shadow: 0 2px 12px rgba(0,0,0,.50);
}

.mrpb-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: #ffffff !important;
    font-size: 12px;
    line-height: 1;
    font-weight: 900;
    text-shadow: 0 2px 10px rgba(0,0,0,.46);
}

.mrpb-meta span {
    color: #ffffff !important;
}

.mrpb-meta span:last-child {
    color: #fed7aa !important;
}

/* ==========================================================================
   Light Theme - White surface + orange accent, text on images stays white
   ========================================================================== */

html[data-mr-theme="light"] .place-show-premium .mrpb-section,
html[data-mr-theme="light"] .mrpd-page .mrpb-section {
    border-color: rgba(15, 23, 42, .085) !important;
    background: #ffffff !important;
    box-shadow: 0 8px 22px rgba(15, 23, 42, .045) !important;
    color: #172033 !important;
}

html[data-mr-theme="light"] .place-show-premium .mrpb-head h2,
html[data-mr-theme="light"] .place-show-premium .mrpd-card-title,
html[data-mr-theme="light"] .mrpd-page .mrpb-head h2 {
    color: #172033 !important;
}

html[data-mr-theme="light"] .place-show-premium .mrpb-head p,
html[data-mr-theme="light"] .place-show-premium .mrpd-card-lead,
html[data-mr-theme="light"] .mrpd-page .mrpb-head p {
    color: rgba(71, 85, 105, .78) !important;
}

html[data-mr-theme="light"] .place-show-premium .mrpb-section .mrpd-kicker,
html[data-mr-theme="light"] .mrpd-page .mrpb-section .mrpd-kicker {
    color: #ff5a1f !important;
    background: rgba(255, 90, 31, .075) !important;
    border-color: rgba(255, 90, 31, .18) !important;
    box-shadow: none !important;
}

html[data-mr-theme="light"] .place-show-premium .mrpb-card,
html[data-mr-theme="light"] .mrpd-page .mrpb-card {
    border-color: rgba(15, 23, 42, .080) !important;
    background: #ffffff !important;
    box-shadow: 0 8px 22px rgba(15, 23, 42, .050) !important;
}

html[data-mr-theme="light"] .place-show-premium .mrpb-card:hover,
html[data-mr-theme="light"] .mrpd-page .mrpb-card:hover {
    transform: translateY(-1px);
    border-color: rgba(255, 90, 31, .22) !important;
    box-shadow: 0 12px 28px rgba(15, 23, 42, .065) !important;
}

html[data-mr-theme="light"] .place-show-premium .mrpb-media,
html[data-mr-theme="light"] .mrpd-page .mrpb-media {
    background: #f8fafc !important;
}

html[data-mr-theme="light"] .place-show-premium .mrpb-media img,
html[data-mr-theme="light"] .mrpd-page .mrpb-media img {
    filter: saturate(1.04) contrast(1.02);
}

html[data-mr-theme="light"] .place-show-premium .mrpb-overlay,
html[data-mr-theme="light"] .mrpd-page .mrpb-overlay {
    background:
        linear-gradient(180deg, rgba(15, 23, 42, .08) 0%, rgba(15, 23, 42, .46) 46%, rgba(15, 23, 42, .92) 100%),
        linear-gradient(90deg, rgba(15, 23, 42, .44) 0%, rgba(15, 23, 42, .20) 58%, rgba(15, 23, 42, .38) 100%) !important;
}

html[data-mr-theme="light"] .place-show-premium .mrpb-content,
html[data-mr-theme="light"] .mrpd-page .mrpb-content,
html[data-mr-theme="light"] .place-show-premium .mrpb-title,
html[data-mr-theme="light"] .mrpd-page .mrpb-title,
html[data-mr-theme="light"] .place-show-premium .mrpb-meta,
html[data-mr-theme="light"] .mrpd-page .mrpb-meta,
html[data-mr-theme="light"] .place-show-premium .mrpb-meta span,
html[data-mr-theme="light"] .mrpd-page .mrpb-meta span {
    color: #ffffff !important;
}

html[data-mr-theme="light"] .place-show-premium .mrpb-title,
html[data-mr-theme="light"] .mrpd-page .mrpb-title {
    text-shadow: 0 3px 18px rgba(0,0,0,.62), 0 1px 2px rgba(0,0,0,.72) !important;
}

html[data-mr-theme="light"] .place-show-premium .mrpb-badge,
html[data-mr-theme="light"] .mrpd-page .mrpb-badge {
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, .30) !important;
    background: rgba(255, 90, 31, .88) !important;
    box-shadow: 0 8px 18px rgba(15, 23, 42, .16) !important;
}

html[data-mr-theme="light"] .place-show-premium .mrpb-meta span:last-child,
html[data-mr-theme="light"] .mrpd-page .mrpb-meta span:last-child {
    color: #fed7aa !important;
}

html[data-mr-theme="light"] .place-show-premium .mrpb-fallback,
html[data-mr-theme="light"] .mrpd-page .mrpb-fallback {
    background: linear-gradient(135deg, #ff5a1f 0%, #fb4d2d 100%) !important;
    color: #ffffff !important;
}

html[data-mr-theme="light"] .place-show-premium .mrpb-nav-btn,
html[data-mr-theme="light"] .mrpd-page .mrpb-nav-btn {
    color: #172033 !important;
    background: #ffffff !important;
    border-color: rgba(15, 23, 42, .10) !important;
    box-shadow: 0 8px 18px rgba(15, 23, 42, .045) !important;
}

html[data-mr-theme="light"] .place-show-premium .mrpb-nav-btn:hover,
html[data-mr-theme="light"] .mrpd-page .mrpb-nav-btn:hover {
    color: #ffffff !important;
    background: #ff5a1f !important;
    border-color: rgba(255, 90, 31, .28) !important;
}

/* Mobile */
@media (max-width: 860px) {
    .mrpb-head {
        grid-template-columns: 1fr;
        align-items: start;
        gap: 12px;
    }

    .mrpb-nav {
        display: none;
    }

    .mrpb-track {
        grid-auto-columns: minmax(78%, 1fr);
        gap: 12px;
        padding-bottom: 4px;
    }

    .mrpb-card {
        height: 230px;
        border-radius: 22px;
    }

    .mrpb-content {
        left: 14px;
        right: 14px;
        bottom: 14px;
        gap: 8px;
    }

    .mrpb-title {
        font-size: 18px;
    }

    .mrpb-excerpt {
        font-size: 12px;
        -webkit-line-clamp: 2;
    }
}

@media (max-width: 460px) {
    .mrpb-track {
        grid-auto-columns: minmax(86%, 1fr);
    }

    .mrpb-card {
        height: 218px;
    }

    .mrpb-title {
        font-size: 17px;
    }

    .mrpb-badge {
        min-height: 28px;
        font-size: 10.5px;
    }
}