/* Rota Eğitim Danışmanlık — tema renk override (mavi) + içerik stilleri */
body.theme-rota {
    --theme-color: #1452ff;
    --theme-color2: #ff9f1c;
    --title-color: #0b1b3f;
}

body.theme-rota .text-theme { color: var(--theme-color) !important; }
body.theme-rota .bg-theme { background-color: var(--theme-color) !important; }

/* Hizmet kartı (course-card türevi) ikon alanı */
.service-icon-box {
    width: 64px;
    height: 64px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: color-mix(in srgb, var(--theme-color) 12%, #fff);
    color: var(--theme-color);
    font-size: 28px;
    margin-bottom: 18px;
}

/* ===== Blog içerik (Editor.js render) ===== */
.blog-content { font-size: 17px; line-height: 1.85; color: #303a53; }
.blog-content p { margin-bottom: 1.2rem; }
.blog-content .blog-heading { scroll-margin-top: 120px; margin: 2rem 0 1rem; font-weight: 700; color: var(--title-color); }
.blog-content img { max-width: 100%; height: auto; border-radius: 12px; }
.blog-content .blog-image { margin: 1.8rem 0; }
.blog-content .blog-image figcaption { text-align: center; font-size: 14px; color: #7a86a1; margin-top: .5rem; }
.blog-content .blog-quote { border-left: 4px solid var(--theme-color); background: #f4f7ff; padding: 1.2rem 1.4rem; border-radius: 8px; margin: 1.8rem 0; }
.blog-content .blog-quote blockquote { font-size: 19px; font-style: italic; margin: 0; }
.blog-content .blog-quote figcaption { margin-top: .6rem; font-weight: 600; color: var(--theme-color); }
.blog-content .blog-callout { display: flex; gap: 14px; background: #fff8ec; border: 1px solid #ffe2b3; border-radius: 12px; padding: 1.1rem 1.3rem; margin: 1.8rem 0; }
.blog-content .blog-callout-icon { color: var(--theme-color2); font-size: 22px; flex-shrink: 0; }
.blog-content .blog-callout-title { display: block; margin-bottom: .25rem; color: #92600c; }
.blog-content .blog-delimiter { width: 80px; height: 3px; background: var(--theme-color); border: 0; border-radius: 3px; margin: 2.5rem auto; opacity: 1; }
.blog-content .blog-table th { background: #f4f7ff; }
.blog-content .blog-code { background: #0b1b3f; color: #e6ecff; padding: 1rem 1.2rem; border-radius: 10px; overflow: auto; }
.blog-content ul, .blog-content ol { margin-bottom: 1.2rem; padding-left: 1.4rem; }
.blog-content li { margin-bottom: .4rem; }

/* İçindekiler (TOC) */
.blog-toc { background: #f6f8ff; border: 1px solid #e3e9ff; border-radius: 14px; padding: 1.2rem 1.4rem; }
.blog-toc h4 { font-size: 16px; text-transform: uppercase; letter-spacing: .04em; color: var(--theme-color); margin-bottom: .8rem; }
.blog-toc a { color: #455072; display: block; padding: .25rem 0; text-decoration: none; }
.blog-toc a:hover { color: var(--theme-color); }
.blog-toc .toc-level-3 { padding-left: 1rem; font-size: 14px; }
.blog-toc a {
    border-left: 2px solid transparent;
    padding-left: 12px;
    margin-left: -2px;
    transition: all .2s;
}
.blog-toc a.active {
    color: var(--theme-color);
    font-weight: 700;
    border-left-color: var(--theme-color);
}
/* Sidebar TOC widget */
.widget_toc .blog-toc { max-height: 72vh; overflow-y: auto; }
#blog-toc-pin .widget { margin-bottom: 24px; }
/* Sidebar CTA kutusu */
.widget_cta-rota {
    background: linear-gradient(135deg, var(--theme-color), #0b2bb3);
    border-radius: 22px;
    padding: 36px 28px;
    text-align: center;
    color: #fff;
}
.widget_cta-rota i { font-size: 40px; margin-bottom: 14px; display: inline-block; }
.widget_cta-rota h3 { color: #fff; margin-bottom: 8px; font-size: 22px; }
.widget_cta-rota p { color: rgba(255, 255, 255, .82); margin-bottom: 22px; }
.widget_cta-rota .th-btn { width: 100%; justify-content: center; }

/* Blog detay içerik tipografisi */
.blog-inner-content { font-size: 17px; line-height: 1.85; color: #303a53; }
.blog-inner-content p { margin-bottom: 1.2rem; }
.blog-radius-img img { border-radius: 14px; }
.blog-inner-content h2, .blog-inner-content h3, .blog-inner-content h4 { scroll-margin-top: 120px; margin: 2.2rem 0 1rem; font-weight: 700; color: var(--title-color); line-height: 1.3; }
.blog-inner-content h2 { font-size: 28px; }
.blog-inner-content h3 { font-size: 23px; }
.blog-inner-content h4 { font-size: 20px; }
.blog-inner-content ul, .blog-inner-content ol { margin: 0 0 1.4rem; padding-left: 1.4rem; }
.blog-inner-content li { margin-bottom: .5rem; }
.blog-inner-content ul li { list-style: disc; }
.blog-inner-content ol li { list-style: decimal; }
.blog-inner-content a { color: var(--theme-color); text-decoration: underline; }
.blog-inner-content blockquote { margin: 1.8rem 0; padding: 1.1rem 1.5rem; border-left: 4px solid var(--theme-color); background: #f6f8ff; border-radius: 0 12px 12px 0; font-style: italic; color: #2a3450; }
.blog-inner-content img, .blog-content-img { border-radius: 14px; margin: 1.2rem 0; max-width: 100%; height: auto; }

/* SSS akordeon ufak rötuş */
.faq-accordion .accordion-button:not(.collapsed) { color: var(--theme-color); }

/* Dil değiştirici */
.lang-switch a { font-weight: 600; padding: 0 4px; color: inherit; }
.lang-switch a.active { color: var(--theme-color); }

/* Animasyon güvenlik ağı: JS gecikse/başarısız olsa da içerik görünür kalsın */
.th_fade_anim, .wow { opacity: 1 !important; visibility: visible !important; }

/* ============================================================
   MOBİL UYUMLULUK (responsive) — UX öncelikli
   ============================================================ */
html, body { overflow-x: hidden; max-width: 100%; }
img { max-width: 100%; height: auto; }

@media (max-width: 1199.98px) {
    .home-counter { padding-bottom: 40px; }
}

@media (max-width: 991.98px) {
    /* Hero'daki yüzen kartları ve sağ oku telefonda gizle (içeriği örtmesin) */
    .hero-8 .hero-bg-shape8-1,
    .hero-8 .hero-bg-shape8-2,
    .hero-8 .hero-bg-shape8-3 { display: none !important; }
    .hero-8 .hero-style8 { padding-top: 140px; }
    .hero-8 .hero-thumb8-1 img { max-width: 260px; }
    /* Sayaçlar mobilde alt alta, çakışma yok */
    .counter-wrap6, .counter-wrap4 { flex-wrap: wrap; gap: 8px; }
    .home-counter { padding-bottom: 24px; }
    /* CTA bloğu mobilde kenar boşluksuz, ortalı */
    .cta-bg-shape8-1.cta-rota-bg { border-radius: 24px; }
    .cta-wrap8 .cta-thumb-wrap8-1, .cta-wrap8 .cta-thumb-wrap8-2 { display: none !important; }
    /* Sticky TOC mobilde gizli (içerik üstünde inline TOC var) */
    #blog-toc-pin { position: static !important; }
}

@media (max-width: 767.98px) {
    .sec-title { font-size: 28px !important; line-height: 1.25; }
    .hero-8 .hero-title { font-size: clamp(2rem, 9vw, 2.6rem) !important; }
    .hero-info-card { min-width: 0; padding: 12px 16px; }
    .hero-info-card .hero-info-num { font-size: 22px; }
    .hero-info-card .hero-info-icon { width: 46px; height: 46px; font-size: 20px; }
    .service-cover { height: 180px !important; }
    .blog-toc { padding: 1rem 1.1rem; }
    .blog-inner-content, .blog-content { font-size: 16px; }
    /* Form ve kart içleri taşmasın */
    .th-blog .blog-content { padding: 22px; }
    .widget_cta-rota { padding: 28px 22px; }
    /* Breadcrumb mobilde daha kompakt */
    .breadcumb-wrapper { padding-top: 60px !important; padding-bottom: 60px !important; }
    .breadcumb-title { font-size: 30px !important; }
    .error-404 { font-size: 6rem !important; }
}

@media (max-width: 575.98px) {
    .space, .space-top { padding-top: 60px; }
    .space, .space-bottom { padding-bottom: 60px; }
    .th-social a { width: 36px; height: 36px; }
    .testi-card2 { padding: 24px; }
}
/* Hero: içeriği (başlık + kitap görseli) arka plan fotoğrafının ÜSTÜNE al */
.hero-8 .hero-inner .container { position: relative; z-index: 3; }
.hero-8 .hero-thumb8-1 { position: relative; z-index: 3; }
.hero-8 .hero-thumb8-1 img { max-width: 360px; height: auto; display: inline-block; }
.hero-8 .hero-bg-shape8-1, .hero-8 .hero-bg-shape8-4 { z-index: 2; }
/* Yüzen bilgi kartları ve ok da görünür kalsın */
.hero-8 .hero-bg-shape8-2, .hero-8 .hero-bg-shape8-3 { z-index: 4; }

/* Hero ikon+yazı bilgi kartı (gömülü görsel yerine) */
.hero-info-card {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #fff;
    border-radius: 18px;
    padding: 14px 22px 14px 16px;
    box-shadow: 0 18px 45px rgba(20, 82, 255, .15);
    min-width: 230px;
}
.hero-info-card .hero-info-icon {
    width: 54px;
    height: 54px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: linear-gradient(135deg, #1452ff, #4f7bff);
    color: #fff;
    font-size: 24px;
}
.hero-info-card .hero-info-icon-2 { background: linear-gradient(135deg, #6d28d9, #1452ff); }
.hero-info-card .hero-info-num {
    margin: 0;
    font-size: 26px;
    font-weight: 800;
    color: #0b1b3f;
    line-height: 1.05;
}
.hero-info-card .hero-info-label { font-size: 14px; color: #6b7280; }

/* Sayaç bölümü ile altındaki Referanslar bölümünün çakışmasını önle */
.home-counter {
    position: relative;
    z-index: 5;
    padding-bottom: 90px;
    background: #fff;
}
.home-counter + section { padding-top: 30px; }

/* Referanslar sol görseli: negatif üst marjı kafasını kesiyordu, sıfırla */
.testi-img-box3 { margin-top: 0 !important; }
.testi-img-box3.style2 .thumb img { width: 100%; height: auto; object-fit: cover; object-position: top center; }

/* Hero başlığı: her satır ayrı blok (2 kelime/satır gibi kontrollü kırılma) */
.hero-8 .hero-title .hero-line { display: block; }

/* Hizmet kartı kapağı (görsel yoksa gradient + ikon — gri placeholder kutusu yerine) */
.course-card .box-img { overflow: hidden; }
.course-card .box-img .service-cover {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 220px;
    font-size: 58px;
    color: #fff;
}
.service-cover-1 { background: linear-gradient(135deg, #1452ff, #3b6bff); }
.service-cover-2 { background: linear-gradient(135deg, #0b2bb3, #1452ff); }
.service-cover-3 { background: linear-gradient(135deg, #2563eb, #60a5fa); }
.service-cover-4 { background: linear-gradient(135deg, #1e3a8a, #2563eb); }

/* CTA arka planı: placeholder bg yerine mavi gradient (mask ile bubble şekli korunur) */
.cta-bg-shape8-1.cta-rota-bg {
    background-color: #0b1b3f !important;
    background-image: linear-gradient(120deg, #1452ff 0%, #0b2bb3 100%) !important;
    background-size: cover !important;
}

/* ===== Anlaşmalı üniversite logoları — eşit kutu, dengeli boyut ===== */
.brand-area-1 .brand-box {
    min-height: 96px;
    padding: 8px 14px;
}
.brand-area-1 .brand-box img {
    width: 100%;
    height: 66px;
    object-fit: contain;
    margin: 0;
}
@media (max-width: 991.98px) {
    .brand-area-1 .brand-box img { height: 56px; }
}
@media (max-width: 575.98px) {
    .brand-area-1 .brand-box { min-height: 78px; }
    .brand-area-1 .brand-box img { height: 48px; }
}

/* ============================================================
   OLANAKLAR (Facilities) — canlı, çekici kart tasarımı
   ============================================================ */
.facilities-rota {
    background:
        radial-gradient(1100px 420px at 85% -8%, rgba(124, 58, 237, .07), transparent 60%),
        radial-gradient(950px 380px at -5% 0%, rgba(20, 82, 255, .07), transparent 55%),
        #ffffff;
}
.facilities-rota .facilities-intro {
    max-width: 720px;
    margin: 20px auto 0;
    color: #5a6b8c;
    font-size: 17px;
    line-height: 1.85;
}
.facilities-rota .category-card6 {
    background: #fff;
    border: 1px solid #eef1f8;
    border-radius: 22px;
    padding: 0;
    box-shadow: 0 10px 30px rgba(16, 40, 90, .05);
    position: relative;
    overflow: hidden;
    transition: transform .35s cubic-bezier(.2, .7, .3, 1), box-shadow .35s, border-color .35s;
}
.facilities-rota .category-card6:hover {
    background: #fff;
    transform: translateY(-10px);
    box-shadow: 0 26px 55px color-mix(in srgb, var(--fc) 22%, transparent);
    border-color: transparent;
}

/* Kapak fotoğrafı */
.facilities-rota .facility-cover {
    position: relative;
    height: 150px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--fc), var(--fc2));
}
.facilities-rota .facility-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .6s cubic-bezier(.2, .7, .3, 1);
}
.facilities-rota .category-card6:hover .facility-cover img { transform: scale(1.07); }
.facilities-rota .facility-cover::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(165deg, color-mix(in srgb, var(--fc) 60%, transparent) 0%, transparent 55%);
    mix-blend-mode: multiply;
}

/* Gövde */
.facilities-rota .facility-body { padding: 0 26px 26px; }

.facilities-rota .category-card6 .box-icon {
    width: 60px;
    height: 60px;
    margin-top: -32px;
    margin-bottom: 16px;
    position: relative;
    z-index: 2;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    box-shadow: 0 10px 22px rgba(16, 40, 90, .14), inset 0 0 0 1px color-mix(in srgb, var(--fc) 14%, transparent);
    transition: .4s;
}
.facilities-rota .category-card6 .box-icon i {
    font-size: 30px !important;
    color: var(--fc) !important;
    background: linear-gradient(135deg, var(--fc), var(--fc2));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: .4s;
}
.facilities-rota .category-card6:hover .box-icon {
    transform: none;
    background: linear-gradient(135deg, var(--fc), var(--fc2));
    box-shadow: 0 12px 24px color-mix(in srgb, var(--fc) 35%, transparent);
}
.facilities-rota .category-card6:hover .box-icon i {
    -webkit-text-fill-color: #fff;
    color: #fff !important;
}
.facilities-rota .category-card6 .box-title { font-size: 20px; margin-bottom: 8px; }
.facilities-rota .category-card6 .box-title a { color: #0b1b3f; }
.facilities-rota .category-card6:hover .box-title { color: #0b1b3f; }
.facilities-rota .category-card6 .box-title a:hover { color: var(--fc); }
.facilities-rota .category-card6 .box-text { color: #6b7a99; font-size: 14.5px; line-height: 1.7; margin-bottom: 14px; }
.facilities-rota .category-card6:hover .box-text { color: #6b7a99; }
.facilities-rota .facility-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-weight: 600;
    font-size: 14px;
    color: var(--fc);
    opacity: 0;
    transform: translateY(6px);
    transition: .35s;
}
.facilities-rota .facility-link i { font-size: 12px; transition: .3s; }
.facilities-rota .category-card6:hover .facility-link { opacity: 1; transform: none; }
.facilities-rota .category-card6:hover .facility-link i { transform: translateX(4px); }

/* 5 canlı renk paleti (kartlara sırayla dağılır) */
.facilities-rota .category-card-wrap6:nth-child(5n+1) .category-card6 { --fc: #1452ff; --fc2: #4f7bff; --fc-bg: #e7eeff; }
.facilities-rota .category-card-wrap6:nth-child(5n+2) .category-card6 { --fc: #7c3aed; --fc2: #a855f7; --fc-bg: #f1e9ff; }
.facilities-rota .category-card-wrap6:nth-child(5n+3) .category-card6 { --fc: #0ea5a4; --fc2: #22c1c0; --fc-bg: #d9faf7; }
.facilities-rota .category-card-wrap6:nth-child(5n+4) .category-card6 { --fc: #f59e0b; --fc2: #fbbf24; --fc-bg: #fff2d6; }
.facilities-rota .category-card-wrap6:nth-child(5n+5) .category-card6 { --fc: #ec4899; --fc2: #f472b6; --fc-bg: #ffe4f1; }

@media (max-width: 575.98px) {
    .facilities-rota .category-card6 { padding: 26px 22px 22px; }
    .facilities-rota .facilities-intro { font-size: 15.5px; }
}

/* ============================================================
   HİZMETLER (Services) — görselli, canlı kart tasarımı
   ============================================================ */
.services-rota {
    background:
        radial-gradient(1100px 420px at 12% -8%, rgba(20, 82, 255, .06), transparent 58%),
        radial-gradient(950px 380px at 100% 4%, rgba(124, 58, 237, .06), transparent 55%),
        #ffffff;
}
.services-rota .th-course-single { display: flex; }
.services-rota .course-card {
    background: #fff;
    border: 1px solid #eef1f8;
    border-radius: 22px;
    overflow: hidden;
    width: 100%;
    box-shadow: 0 10px 30px rgba(16, 40, 90, .05);
    transition: transform .35s cubic-bezier(.2, .7, .3, 1), box-shadow .35s, border-color .35s;
}
.services-rota .course-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 26px 55px color-mix(in srgb, var(--sc) 22%, transparent);
    border-color: transparent;
}
.services-rota .course-card .box-img {
    height: 188px;
    margin: 0;
    border-radius: 0;
    overflow: hidden;
    position: relative;
}
.services-rota .course-card .box-img a { display: block; height: 100%; }
.services-rota .course-card .box-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s cubic-bezier(.2, .7, .3, 1);
}
.services-rota .course-card:hover .box-img img { transform: scale(1.07); }
.services-rota .course-card .box-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(165deg, color-mix(in srgb, var(--sc) 55%, transparent) 0%, transparent 58%);
    mix-blend-mode: multiply;
    pointer-events: none;
}
.services-rota .service-body { padding: 0 26px 26px; position: relative; }
.services-rota .service-icon-badge {
    width: 58px;
    height: 58px;
    margin-top: -30px;
    margin-bottom: 14px;
    position: relative;
    z-index: 2;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    box-shadow: 0 10px 22px rgba(16, 40, 90, .14), inset 0 0 0 1px color-mix(in srgb, var(--sc) 14%, transparent);
    transition: .4s;
}
.services-rota .service-icon-badge i {
    font-size: 26px;
    color: var(--sc);
    background: linear-gradient(135deg, var(--sc), var(--sc2));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: .4s;
}
.services-rota .course-card:hover .service-icon-badge {
    background: linear-gradient(135deg, var(--sc), var(--sc2));
    box-shadow: 0 12px 24px color-mix(in srgb, var(--sc) 35%, transparent);
}
.services-rota .course-card:hover .service-icon-badge i { -webkit-text-fill-color: #fff; color: #fff; }
.services-rota .course-card .box-title { font-size: 20px; margin-bottom: 8px; line-height: 1.35; }
.services-rota .course-card .box-title a { color: #0b1b3f; }
.services-rota .course-card .box-title a:hover { color: var(--sc); }
.services-rota .course-card .box-text { color: #6b7a99; font-size: 14.5px; line-height: 1.7; margin-bottom: 14px; }
.services-rota .service-detail-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-weight: 600;
    font-size: 14px;
    color: var(--sc);
}
.services-rota .service-detail-link i { font-size: 12px; transition: .3s; }
.services-rota .course-card:hover .service-detail-link i { transform: translateX(4px); }

/* 6 canlı renk paleti */
.services-rota .th-course-single:nth-child(6n+1) .course-card { --sc: #1452ff; --sc2: #4f7bff; }
.services-rota .th-course-single:nth-child(6n+2) .course-card { --sc: #7c3aed; --sc2: #a855f7; }
.services-rota .th-course-single:nth-child(6n+3) .course-card { --sc: #0ea5a4; --sc2: #22c1c0; }
.services-rota .th-course-single:nth-child(6n+4) .course-card { --sc: #f59e0b; --sc2: #fbbf24; }
.services-rota .th-course-single:nth-child(6n+5) .course-card { --sc: #ec4899; --sc2: #f472b6; }
.services-rota .th-course-single:nth-child(6n+6) .course-card { --sc: #ef4444; --sc2: #f87171; }

/* ============================================================
   WhatsApp Pop-up Widget
   ============================================================ */
.rota-wa { position: fixed; right: 22px; bottom: 22px; z-index: 9990; display: flex; flex-direction: column; align-items: flex-end; gap: 14px; }
.rota-wa-toggle {
    width: 60px; height: 60px; border-radius: 50%; border: 0; cursor: pointer;
    background: #25d366; color: #fff; font-size: 32px; line-height: 1;
    display: flex; align-items: center; justify-content: center; position: relative;
    box-shadow: 0 10px 30px rgba(37, 211, 102, .45); transition: transform .25s;
    animation: rotaWaPulse 2.4s infinite;
}
.rota-wa-toggle:hover { transform: scale(1.07); }
@keyframes rotaWaPulse { 0% { box-shadow: 0 10px 30px rgba(37,211,102,.45), 0 0 0 0 rgba(37,211,102,.5); } 70% { box-shadow: 0 10px 30px rgba(37,211,102,.45), 0 0 0 16px rgba(37,211,102,0); } 100% { box-shadow: 0 10px 30px rgba(37,211,102,.45), 0 0 0 0 rgba(37,211,102,0); } }
.rota-wa-pill { position: absolute; top: -4px; right: -2px; background: #ef4444; color: #fff; font-size: 11px; font-weight: 700; min-width: 20px; height: 20px; border-radius: 10px; display: flex; align-items: center; justify-content: center; padding: 0 5px; border: 2px solid #fff; }

.rota-wa-box {
    width: 330px; max-width: calc(100vw - 32px); background: #fff; border-radius: 18px; overflow: hidden;
    box-shadow: 0 24px 60px rgba(0, 0, 0, .22);
    opacity: 0; visibility: hidden; transform: translateY(16px) scale(.96); transform-origin: bottom right;
    transition: opacity .28s ease, transform .28s cubic-bezier(.2,.7,.3,1), visibility .28s;
    pointer-events: none;
}
.rota-wa.is-open .rota-wa-box { opacity: 1; visibility: visible; transform: none; pointer-events: auto; }
.rota-wa.is-open .rota-wa-toggle { animation: none; }

.rota-wa-head { background: linear-gradient(135deg, #075e54, #128c7e); color: #fff; padding: 16px 16px 16px 18px; display: flex; align-items: center; gap: 12px; }
.rota-wa-avatar { position: relative; flex-shrink: 0; width: 46px; height: 46px; border-radius: 50%; background: #fff; padding: 4px; }
.rota-wa-avatar img { width: 100%; height: 100%; object-fit: contain; border-radius: 50%; }
.rota-wa-dot { position: absolute; right: 0; bottom: 2px; width: 12px; height: 12px; background: #4ade80; border: 2px solid #075e54; border-radius: 50%; }
.rota-wa-head-info { flex-grow: 1; line-height: 1.3; }
.rota-wa-head-info strong { display: block; font-size: 15px; }
.rota-wa-head-info span { font-size: 12px; opacity: .85; }
.rota-wa-close { background: transparent; border: 0; color: #fff; opacity: .8; font-size: 18px; cursor: pointer; align-self: flex-start; }
.rota-wa-close:hover { opacity: 1; }

.rota-wa-body { padding: 20px 16px; background: #e5ddd5; background-image: radial-gradient(rgba(0,0,0,.04) 1px, transparent 1px); background-size: 18px 18px; }
.rota-wa-bubble { position: relative; background: #fff; border-radius: 0 12px 12px 12px; padding: 10px 14px 18px; max-width: 90%; box-shadow: 0 2px 6px rgba(0,0,0,.08); }
.rota-wa-bubble::before { content: ''; position: absolute; left: -7px; top: 0; border: 7px solid transparent; border-top-color: #fff; border-right-color: #fff; }
.rota-wa-bname { font-size: 12px; font-weight: 700; color: #128c7e; display: block; margin-bottom: 3px; }
.rota-wa-bubble p { margin: 0; font-size: 14px; line-height: 1.55; color: #303030; }
.rota-wa-time { position: absolute; right: 10px; bottom: 5px; font-size: 10px; color: #9aa0a6; }

.rota-wa-foot { padding: 14px 16px 16px; text-align: center; background: #fff; }
.rota-wa-cta { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; background: #25d366; color: #fff; font-weight: 700; font-size: 15px; padding: 12px; border-radius: 12px; text-decoration: none; transition: background .2s; }
.rota-wa-cta:hover { background: #1ebe5b; color: #fff; }
.rota-wa-cta i { font-size: 20px; }
.rota-wa-reply { display: block; margin-top: 9px; font-size: 11.5px; color: #8a93a2; }
.rota-wa-reply .fa-circle { font-size: 7px; vertical-align: middle; margin-right: 3px; }

@media (max-width: 575.98px) {
    .rota-wa { right: 16px; bottom: 16px; }
    .rota-wa-toggle { width: 54px; height: 54px; font-size: 28px; }
}

/* "Yukarı çık" butonu WhatsApp butonunun ÜSTÜNDE dursun (çakışmayı önle) */
.scroll-top { right: 27px; bottom: 96px; }
.rota-wa { z-index: 10001; }
@media (max-width: 575.98px) {
    .scroll-top { right: 18px; bottom: 82px; }
}

