.mebkit-detail-page .mebkit-detail-title,
.mebkit-detail-page .mebkit-detail-title span {
    font-size: clamp(30px, 3.2vw, 42px);
    line-height: 1.18;
    font-weight: 700;
    color: var(--black) !important;
}

.mebkit-detail-page .mebkit-content-body,
.mebkit-detail-page .mebkit-content-body * {
    font-family: "Poppins", sans-serif !important;
    box-sizing: border-box;
}

/*
 * Summernote may receive complete page sections when content is copied from
 * another page. Keep fixed-width Bootstrap/page markup inside the Mebkit
 * content area so it cannot overflow the page.
 */
.mebkit-detail-page .mebkit-content-body {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    color: var(--pra, #53545a);
    font-size: 15px;
    line-height: 1.7;
    overflow-wrap: anywhere;
    text-align: justify;
}

.mebkit-detail-page .mebkit-content-body :is(
    .container,
    .container-fluid,
    .article-body,
    .article-layout,
    .article-detay,
    .title
) {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.mebkit-detail-page .mebkit-content-body .row {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.mebkit-detail-page .mebkit-content-body [class*="col-"] {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    flex: 0 0 100% !important;
}

.mebkit-detail-page .mebkit-content-body [style*="width"] {
    max-width: 100% !important;
}

/* Summernote'a yapıştırılan satır içi tipografi stillerini standartlaştırır. */
.mebkit-detail-page .mebkit-content-body :is(p, div, span, li, a, strong, b, em, i, u) {
    font-size: 15px !important;
    line-height: 1.7 !important;
    letter-spacing: normal !important;
}

.mebkit-detail-page .mebkit-content-body :is(p, div, span, li) {
    text-align: inherit !important;
}

.mebkit-detail-page .mebkit-content-body p {
    margin: 0 0 1rem !important;
    padding: 0 !important;
}

.mebkit-detail-page .mebkit-content-body p:last-child {
    margin-bottom: 0 !important;
}

.mebkit-detail-page .mebkit-content-body p:empty,
.mebkit-detail-page .mebkit-content-body p:has(> br:only-child) {
    display: none;
}

.mebkit-detail-page .mebkit-content-body :is(ul, ol) {
    margin: 0 0 1rem !important;
    padding: 0 0 0 1.5rem !important;
}

.mebkit-detail-page .mebkit-content-body ul {
    list-style: disc outside !important;
}

.mebkit-detail-page .mebkit-content-body ol {
    list-style: decimal outside !important;
}

.mebkit-detail-page .mebkit-content-body li {
    margin: 0 0 0.4rem !important;
    padding: 0 !important;
    text-align: left !important;
}

.mebkit-detail-page .mebkit-content-body li:last-child {
    margin-bottom: 0 !important;
}

.mebkit-detail-page .mebkit-content-body li::marker {
    color: var(--p1-clr, #1675bb);
}

.mebkit-detail-page .mebkit-content-body :is(strong, b) {
    font-weight: 700 !important;
}

.mebkit-detail-page .mebkit-content-body :is(em, i) {
    font-style: italic !important;
}

.mebkit-detail-page .mebkit-content-body a {
    color: var(--p1-clr, #1675bb) !important;
    text-decoration: underline;
    text-underline-offset: 0.18em;
}

.mebkit-detail-page .mebkit-content-body :is(h2, h3, h4, h5, h6) {
    color: var(--black, #031740);
    font-weight: 700;
    line-height: 1.3 !important;
    margin: 1.5rem 0 0.75rem !important;
}

.mebkit-detail-page .mebkit-content-body h2 { font-size: 24px !important; }
.mebkit-detail-page .mebkit-content-body h3 { font-size: 21px !important; }
.mebkit-detail-page .mebkit-content-body h4 { font-size: 19px !important; }
.mebkit-detail-page .mebkit-content-body :is(h5, h6) { font-size: 17px !important; }

.mebkit-detail-page .mebkit-content-body blockquote {
    margin: 1.25rem 0 !important;
    padding: 0.85rem 1rem !important;
    border-left: 4px solid var(--p1-clr, #1675bb);
    background: #f7f9fc;
}

.mebkit-detail-page .mebkit-content-body :is(img, video, iframe) {
    display: block;
    max-width: 100% !important;
    height: auto !important;
    margin: 1.25rem auto;
}

.mebkit-detail-page .mebkit-content-body table {
    display: block;
    width: 100% !important;
    max-width: 100%;
    margin: 1.25rem 0;
    border-collapse: collapse;
    overflow-x: auto;
}

.mebkit-detail-page .mebkit-content-body :is(th, td) {
    min-width: 120px;
    padding: 0.65rem 0.75rem !important;
    border: 1px solid #dfe4ec;
    font-size: 14px !important;
    line-height: 1.5 !important;
    text-align: left;
}

.mebkit-platform-action {
    clear: both;
    display: flex;
    justify-content: flex-start;
    margin: 56px 0 64px;
    text-align: left;
    width: 100%;
}

.mebkit-featured-thumb {
    width: 66.666%;
    height: 280px;
    overflow: hidden;
    margin-left: auto;
    margin-right: auto;
}

.mebkit-platform-btn {
    padding: 18px 34px 20px;
    font-size: 17px;
    font-weight: 700;
    box-shadow: 0 16px 34px rgba(0, 47, 135, 0.24);
    border: 1px solid rgba(255, 255, 255, 0.38);
}

.mebkit-platform-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 42px rgba(0, 47, 135, 0.3);
}

.gallery-thumb:hover img { transform: scale(1.05); }
.gallery-thumb:hover .gallery-overlay { opacity: 1 !important; }

.mebkit-lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0; top: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.92);
    align-items: center;
    justify-content: center;
}
.mebkit-lightbox.active { display: flex; }
.lightbox-content img {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 8px;
}
.lightbox-close {
    position: absolute;
    top: 20px; right: 30px;
    background: none; border: none;
    color: #fff; font-size: 28px;
    cursor: pointer; z-index: 10;
    width: 44px; height: 44px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    transition: background 0.2s;
}
.lightbox-close:hover { background: rgba(255,255,255,0.15); }
.lightbox-nav {
    position: absolute;
    top: 50%; transform: translateY(-50%);
    background: rgba(255,255,255,0.15);
    border: none; color: #fff;
    width: 50px; height: 50px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    z-index: 10;
    display: flex; align-items: center; justify-content: center;
    transition: background 0.2s;
}
.lightbox-nav:hover { background: rgba(255,255,255,0.3); }
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

.mebkit-content-body img,
.mebkit-content-body iframe,
.mebkit-content-body video,
.mebkit-content-body table {
    max-width: 100%;
    height: auto;
}
.mebkit-content-body iframe,
.mebkit-content-body video {
    aspect-ratio: 16 / 9;
}

@media (max-width: 767px) {
    .mebkit-featured-thumb {
        width: 100%;
        height: 220px;
    }

    .mebkit-detail-page .mebkit-detail-title,
    .mebkit-detail-page .mebkit-detail-title span {
        font-size: 28px;
        line-height: 1.22;
    }

    .mebkit-detail-page .mebkit-content-body,
    .mebkit-detail-page .mebkit-content-body :is(p, div, span, li, a, strong, b, em, i, u) {
        font-size: 14px !important;
    }

    .mebkit-detail-page .mebkit-content-body {
        text-align: left;
    }

}
