/* ===== Temkuri CMS helper styles ===== */
:root {
    --cms-accent: #14B1BB;
    --cms-accent2: #00247E;
    --cms-dark: #00247E;
    --cms-grad: linear-gradient(90deg, rgba(20, 177, 187, 1) 0%, rgba(0, 36, 126, 1) 100%);
}

.witr_mb_30 { margin-bottom: 30px; }

/* Language switcher (top bar) */
.cms-lang-switch { display: flex; align-items: center; gap: 0; list-style: none; margin: 0; }
.cms-lang-switch li { margin: 0 6px 0 0; }
.cms-lang-switch .cms-lang-link {
    display: inline-block;
    padding: 2px 8px;
    border: 1px solid rgba(255,255,255,.5);
    border-radius: 3px;
    color: #fff;
    text-transform: uppercase;
    font-size: 12px;
    line-height: 1.6;
    transition: all .3s ease;
}
.cms-lang-switch .cms-lang-link:hover { background: #fff; color: var(--cms-accent); text-decoration: none; }
.cms-lang-switch .cms-lang-active {
    display: inline-block;
    padding: 2px 8px;
    border: 1px solid var(--cms-accent);
    border-radius: 3px;
    background: var(--cms-accent);
    color: #fff;
    text-transform: uppercase;
    font-size: 12px;
    line-height: 1.6;
}

/* Page / list / detail layout */
.cms-page-area { padding: 80px 0; }
.cms-list-page { padding: 80px 0 60px; }
.cms-detail-page { padding: 80px 0; }
.cms-single-post { padding: 80px 0; }

.cms-page-content { color: #444; line-height: 1.9; }
.cms-page-content h1, .cms-page-content h2, .cms-page-content h3, .cms-page-content h4 {
    color: #0b1440; margin: 1.4em 0 .6em; font-weight: 700;
}
.cms-page-content h2 { font-size: 28px; }
.cms-page-content h3 { font-size: 22px; }
.cms-page-content p { margin: 0 0 1.2em; }
.cms-page-content ul, .cms-page-content ol { margin: 0 0 1.2em 20px; }
.cms-page-content img { max-width: 100%; height: auto; }
.cms-page-content a { color: var(--cms-accent2); }
.cms-page-content--intro { margin-bottom: 40px; }

.cms-detail-img img { width: 100%; height: auto; border-radius: 6px; box-shadow: 0 12px 40px rgba(11,20,64,.12); }
.cms-detail-copy { padding-top: 10px; }
.cms-detail-summary { font-size: 17px; color: #333; margin-bottom: 20px; line-height: 1.8; }
.cms-related-title { color: #0b1440; margin: 50px 0 30px; font-size: 24px; font-weight: 700; }

.cms-project-meta { list-style: none; margin: 0 0 25px; padding: 0; }
.cms-project-meta li {
    padding: 10px 16px;
    background: #f6f4ff;
    border-left: 3px solid var(--cms-accent);
    margin-bottom: 8px;
    color: #444;
    font-size: 15px;
}
.cms-project-meta strong { color: #0b1440; }

/* Single post */
.cms-single-post-content { padding: 30px 40px 40px; }
.cms-single-post-content h2 { color: #0b1440; margin: 0 0 10px; font-size: 30px; font-weight: 800; }
.cms-single-post-meta { margin: 0 0 20px; font-size: 14px; color: #667; }
.cms-single-post-meta span { margin-right: 20px; }
.cms-single-post-meta i { margin-right: 6px; color: var(--cms-accent); }

.single_blog { border: 0; box-shadow: 0 12px 40px rgba(11,20,64,.08); margin-bottom: 0; }
.temkuri_sidebar aside.widgts {
    border: 1px solid #eee;
    border-radius: 6px;
    padding: 24px 22px;
    margin-bottom: 30px;
    background: #fff;
}
.temkuri_sidebar .widget-title { color: #0b1440; font-size: 20px; margin-bottom: 18px; }
.temkuri_sidebar ul.menu { list-style: none; margin: 0; padding: 0; }
.temkuri_sidebar ul.menu li { border-bottom: 1px dashed #eee; padding: 9px 0; }
.temkuri_sidebar ul.menu li:last-child { border-bottom: 0; }
.temkuri_sidebar ul.menu a { color: #444; transition: all .3s ease; }
.temkuri_sidebar ul.menu a:hover { color: var(--cms-accent); padding-left: 6px; }

/* Image placeholder */
.no-img-bg {
    background: linear-gradient(135deg, #f6f4ff 0%, #e9e2ff 100%);
    min-height: 260px;
    display: block;
    position: relative;
}
.no-img-bg::after {
    content: "🖼";
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    font-size: 42px;
    opacity: .35;
}

/* Document icon thumb */
.cms-doc-icon {
    background: var(--cms-grad);
    min-height: 260px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.cms-doc-icon i { color: #fff; font-size: 56px; }

/* Search */
.cms-search-form { display: flex; margin-bottom: 40px; }
.cms-search-form input[type=search] {
    flex: 1;
    border: 1px solid #ddd;
    border-right: 0;
    padding: 14px 20px;
    font-size: 16px;
    border-radius: 6px 0 0 6px;
    outline: none;
}
.cms-search-form button {
    border: 0;
    padding: 14px 32px;
    font-size: 16px;
    border-radius: 0 6px 6px 0;
    text-transform: uppercase;
}
.search-count { color: #0b1440; font-weight: 700; margin-bottom: 20px; }
.search-results { display: flex; flex-direction: column; gap: 16px; }
.search-row {
    display: flex;
    align-items: center;
    gap: 18px;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 16px 18px;
    background: #fff;
    transition: all .3s ease;
    text-decoration: none;
}
.search-row:hover { border-color: var(--cms-accent); transform: translateX(4px); text-decoration: none; }
.search-row-img { width: 90px; height: 70px; overflow: hidden; border-radius: 6px; flex-shrink: 0; }
.search-row-img img { width: 100%; height: 100%; object-fit: cover; }
.search-row-body { display: flex; flex-direction: column; }
.search-row-type { font-size: 12px; text-transform: uppercase; letter-spacing: .5px; color: var(--cms-accent); font-weight: 700; }
.search-row-title { font-size: 17px; font-weight: 700; color: #0b1440; margin: 3px 0; }
.search-row-snippet { font-size: 14px; color: #667; line-height: 1.6; }
.cms-page-area .empty { color: #667; }

/* CTA band */
.cms-cta-band { background: var(--cms-grad); padding: 60px 0; }
.cms-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cms-cta-inner h2 { color: #fff; font-size: 30px; font-weight: 800; margin: 0 0 8px; }
.cms-cta-inner p { color: rgba(255,255,255,.85); font-size: 16px; margin: 0; }
.cms-cta-btn {
    display: inline-block;
    background: #fff;
    color: var(--cms-accent);
    padding: 14px 34px;
    border-radius: 40px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 14px;
    transition: all .3s ease;
    text-decoration: none;
}
.cms-cta-btn:hover { background: #0b1440; color: #fff; text-decoration: none; transform: translateY(-2px); }

/* Turkish-safe uppercase for template buttons (CSS text-transform handles ğ/İ/ı/ş/ü correctly) */
.witr_btn, .witr_btn_all_color, .learn_btn, .witr_sinner_btn, .dtbtn, .witr_btn_sinner .witr_btn {
    text-transform: uppercase;
}

/* Hero slider content guidance */
.main_slider_active .swiper-button-next,
.main_slider_active .swiper-button-prev { z-index: 30; }

/* Footer description logo */
.temkuri-description-area img { max-height: 60px; width: auto; margin-bottom: 18px; }

/* Footer menus */
.footer-middle ul.menu { list-style: none; margin: 0; padding: 0; }
.footer-middle ul.menu li { padding: 5px 0; }
.footer-middle ul.menu li::before { content: "\f0da"; font-family: "Font Awesome 6 Free"; font-weight: 900; margin-right: 8px; color: rgba(255,255,255,.7); font-size: 12px; }
.footer-middle ul.menu a { color: rgba(255,255,255,.85); transition: all .3s ease; }
.footer-middle ul.menu a:hover { color: #fff; padding-left: 5px; text-decoration: none; }

@media (max-width: 767px) {
    .cms-page-area, .cms-list-page, .cms-detail-page, .cms-single-post { padding: 50px 0; }
    .cms-single-post-content { padding: 25px 20px 30px; }
    .cms-cta-inner { justify-content: center; text-align: center; }
}