/*
 * Elektrikçi Burada — Hizmet Bölgeleri Public Stylesheet
 * Sadece "hizmet_bolgesi" tek sayfa/şablon ve [eb_whatsapp_cta] shortcode'unda yüklenir.
 * Mevcut tema CSS'i ile çakışmaması için tüm sınıflar "eb-hb-" prefix'i ile başlar.
 */

.eb-hb-page-wrap {
    width: 100%;
    padding: 32px 16px;
    background: #f7f9fc;
    position: relative;
    z-index: 1;
}

.eb-hb-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 32px;
    align-items: start;
}

@media (max-width: 960px) {
    .eb-hb-container {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

.eb-hb-main {
    background: #ffffff;
    border-radius: 12px;
    padding: 32px;
    box-shadow: 0 1px 3px rgba(15, 23, 42, .06), 0 1px 2px rgba(15, 23, 42, .04);
}

@media (max-width: 600px) {
    .eb-hb-main { padding: 20px; }
}

.eb-hb-article__header {
    border-bottom: 1px solid #eef2f7;
    padding-bottom: 16px;
    margin-bottom: 24px;
}

.eb-hb-article__title {
    margin: 0 0 8px;
    color: #0f172a;
    font-size: 32px;
    line-height: 1.2;
    font-weight: 700;
}

@media (max-width: 600px) {
    .eb-hb-article__title { font-size: 24px; }
}

.eb-hb-article__meta {
    color: #64748b;
    font-size: 14px;
}

.eb-hb-article__location {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.eb-hb-article__body {
    color: #1f2937;
    font-size: 16px;
    line-height: 1.75;
}

.eb-hb-article__body h2 {
    color: #0f172a;
    font-size: 22px;
    margin: 32px 0 12px;
    font-weight: 700;
    line-height: 1.3;
}

.eb-hb-article__body h3 {
    color: #0f172a;
    font-size: 18px;
    margin: 18px 0 6px;
    font-weight: 600;
}

.eb-hb-article__body p {
    margin: 0 0 14px;
}

.eb-hb-article__body a {
    color: #0b6efd;
    text-decoration: underline;
}

.eb-hb-article__body a:hover {
    text-decoration: none;
}

.eb-hb-faq {
    margin-top: 8px;
}

.eb-hb-faq-item {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 16px 20px;
    background: #fafbfd;
    margin-bottom: 12px;
}

.eb-hb-faq-q {
    font-size: 16px !important;
    font-weight: 600;
    margin: 0 0 8px !important;
    color: #0f172a;
}

.eb-hb-faq-a {
    color: #374151;
    font-size: 15px;
    line-height: 1.7;
}

/* ----------------------------- Sidebar ----------------------------- */

.eb-hb-sidebar {
    position: sticky;
    top: 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

@media (max-width: 960px) {
    .eb-hb-sidebar { position: static; }
}

.eb-hb-widget {
    background: #ffffff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 1px 3px rgba(15, 23, 42, .06), 0 1px 2px rgba(15, 23, 42, .04);
}

.eb-hb-widget__title {
    font-size: 16px;
    color: #0f172a;
    margin: 0 0 12px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f1f5f9;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .03em;
}

.eb-hb-area-list {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 420px;
    overflow-y: auto;
}

.eb-hb-area-list li {
    margin: 0;
    border-bottom: 1px solid #f1f5f9;
}

.eb-hb-area-list li:last-child {
    border-bottom: none;
}

.eb-hb-area-list li a {
    display: block;
    padding: 9px 8px;
    color: #334155;
    text-decoration: none;
    font-size: 14px;
    border-radius: 4px;
    transition: background .15s ease, color .15s ease;
}

.eb-hb-area-list li a:hover {
    background: #f1f5f9;
    color: #0b6efd;
}

.eb-hb-area-list li.is-current a {
    background: #0b6efd;
    color: #ffffff;
    font-weight: 600;
}

.eb-hb-area-list::-webkit-scrollbar { width: 6px; }
.eb-hb-area-list::-webkit-scrollbar-track { background: #f8fafc; }
.eb-hb-area-list::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 3px; }

/* ----------------------------- WhatsApp CTA ----------------------------- */

.eb-hb-whatsapp-cta {
    background: linear-gradient(135deg, #075E54 0%, #128C7E 100%);
    border-radius: 14px;
    padding: 18px;
    color: #ffffff;
    box-shadow: 0 8px 24px rgba(7, 94, 84, .22);
}

.eb-hb-whatsapp-cta__head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.eb-hb-whatsapp-cta__avatar-wrap {
    position: relative;
    flex-shrink: 0;
}

.eb-hb-whatsapp-cta__avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255, 255, 255, .25);
    background: #ffffff;
    display: block;
}

.eb-hb-whatsapp-cta__online-dot {
    position: absolute;
    right: 0;
    bottom: 2px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #25D366;
    border: 2px solid #075E54;
    box-shadow: 0 0 0 0 rgba(37, 211, 102, .7);
    animation: eb-hb-pulse 2s infinite;
}

@keyframes eb-hb-pulse {
    0%   { box-shadow: 0 0 0 0 rgba(37, 211, 102, .7); }
    70%  { box-shadow: 0 0 0 10px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.eb-hb-whatsapp-cta__meta {
    line-height: 1.3;
    min-width: 0;
}

.eb-hb-whatsapp-cta__name {
    font-weight: 700;
    font-size: 15px;
    color: #ffffff;
    margin-bottom: 4px;
}

.eb-hb-whatsapp-cta__status {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: rgba(255, 255, 255, .85);
}

.eb-hb-whatsapp-cta__online-label {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 8px;
    background: rgba(37, 211, 102, .25);
    border-radius: 10px;
    color: #cdf8de;
    font-weight: 600;
    font-size: 11px;
}

.eb-hb-whatsapp-cta__online-label::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #25D366;
}

.eb-hb-whatsapp-cta__subtitle {
    font-size: 12px;
    color: rgba(255, 255, 255, .75);
}

.eb-hb-whatsapp-cta__button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    background: #25D366;
    color: #ffffff !important;
    text-decoration: none !important;
    padding: 12px 16px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 700;
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
    box-shadow: 0 6px 16px rgba(37, 211, 102, .35);
    box-sizing: border-box;
}

.eb-hb-whatsapp-cta__button:hover {
    background: #20bd5a;
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(37, 211, 102, .45);
    color: #ffffff !important;
    text-decoration: none !important;
}

.eb-hb-whatsapp-cta__icon {
    flex-shrink: 0;
}

/* ============================================================ */
/* HEMEN ARA (Call) CTA                                          */
/* ============================================================ */

.eb-hb-call-cta {
    background: linear-gradient(135deg, #1e293b 0%, #0b6efd 100%);
    border-radius: 14px;
    padding: 18px;
    color: #ffffff;
    box-shadow: 0 8px 24px rgba(11, 110, 253, .22);
}

.eb-hb-call-cta__head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.eb-hb-call-cta__icon-wrap {
    position: relative;
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .15);
    border: 3px solid rgba(255, 255, 255, .25);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
}

.eb-hb-call-cta__pulse {
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, .35);
    animation: eb-hb-ring-pulse 2.2s infinite;
    pointer-events: none;
}

@keyframes eb-hb-ring-pulse {
    0%   { transform: scale(0.95); opacity: 0.8; }
    50%  { transform: scale(1.15); opacity: 0; }
    100% { transform: scale(0.95); opacity: 0; }
}

.eb-hb-call-cta__meta {
    line-height: 1.3;
    min-width: 0;
}

.eb-hb-call-cta__name {
    font-weight: 700;
    font-size: 15px;
    color: #ffffff;
    margin-bottom: 4px;
}

.eb-hb-call-cta__subtitle {
    font-size: 12px;
    color: rgba(255, 255, 255, .75);
}

.eb-hb-call-cta__button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    background: #ffffff;
    color: #0b3b8c !important;
    text-decoration: none !important;
    padding: 12px 16px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 700;
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
    box-shadow: 0 6px 16px rgba(0, 0, 0, .15);
    box-sizing: border-box;
    flex-wrap: wrap;
}

.eb-hb-call-cta__button:hover {
    background: #FACC15;
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(250, 204, 21, .35);
    color: #0f172a !important;
    text-decoration: none !important;
}

.eb-hb-call-cta__phone {
    font-variant-numeric: tabular-nums;
    font-weight: 800;
    letter-spacing: .01em;
}

/* ============================================================ */
/* HIZMET BÖLGELERI BLOK (shortcode)                             */
/* ============================================================ */

.eb-hb-block-title {
    font-size: 24px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 18px;
    line-height: 1.2;
}

.eb-hb-block {
    margin: 16px 0 24px;
}

.eb-hb-empty {
    color: #64748b;
    font-style: italic;
}

/* --- GRID & CARDS --- */
.eb-hb-block--grid,
.eb-hb-block--cards {
    display: grid;
    gap: 16px;
    grid-template-columns: 1fr;
}

@media (min-width: 600px) {
    .eb-hb-cols-2.eb-hb-block--grid,
    .eb-hb-cols-2.eb-hb-block--cards { grid-template-columns: repeat(2, 1fr); }
    .eb-hb-cols-3.eb-hb-block--grid,
    .eb-hb-cols-3.eb-hb-block--cards { grid-template-columns: repeat(2, 1fr); }
    .eb-hb-cols-4.eb-hb-block--grid,
    .eb-hb-cols-4.eb-hb-block--cards { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 900px) {
    .eb-hb-cols-3.eb-hb-block--grid,
    .eb-hb-cols-3.eb-hb-block--cards { grid-template-columns: repeat(3, 1fr); }
    .eb-hb-cols-4.eb-hb-block--grid,
    .eb-hb-cols-4.eb-hb-block--cards { grid-template-columns: repeat(4, 1fr); }
}

.eb-hb-card-item {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 18px 18px 14px;
    transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease;
    display: flex;
    flex-direction: column;
}

.eb-hb-card-item:hover {
    border-color: #0b6efd;
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(15, 23, 42, .08);
}

.eb-hb-card-item.is-current {
    border-color: #0b6efd;
    background: #f0f7ff;
}

.eb-hb-card-item__head {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.eb-hb-card-item__icon {
    color: #0b6efd;
    flex-shrink: 0;
}

.eb-hb-card-item__title {
    font-size: 16px !important;
    margin: 0 !important;
    line-height: 1.3;
    font-weight: 700;
}

.eb-hb-card-item__title a {
    color: #0f172a;
    text-decoration: none;
}

.eb-hb-card-item__title a:hover {
    color: #0b6efd;
}

.eb-hb-card-item__excerpt {
    color: #475569;
    font-size: 13px;
    line-height: 1.55;
    margin: 0 0 12px;
    flex-grow: 1;
}

.eb-hb-card-item__btn {
    color: #0b6efd;
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: auto;
}

.eb-hb-card-item__btn:hover {
    color: #075cdc;
    gap: 8px;
}

/* --- LIST style --- */
.eb-hb-block--list {
    display: flex;
    flex-direction: column;
    gap: 0;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    overflow: hidden;
}

.eb-hb-list-item {
    padding: 12px 16px;
    border-bottom: 1px solid #e5e7eb;
    color: #1f2937;
    text-decoration: none;
    background: #ffffff;
    transition: background .15s ease, color .15s ease;
    font-size: 14px;
}

.eb-hb-list-item:last-child { border-bottom: none; }
.eb-hb-list-item:hover { background: #f1f5f9; color: #0b6efd; }
.eb-hb-list-item.is-current { background: #0b6efd; color: #ffffff; font-weight: 600; }

/* --- COMPACT style (chip-style) --- */
.eb-hb-block--compact {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.eb-hb-compact-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border: 1px solid #e5e7eb;
    background: #ffffff;
    color: #1f2937;
    border-radius: 999px;
    text-decoration: none;
    font-size: 13px;
    transition: all .15s ease;
}

.eb-hb-compact-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #0b6efd;
}

.eb-hb-compact-item:hover {
    background: #0b6efd;
    color: #ffffff;
    border-color: #0b6efd;
}

.eb-hb-compact-item:hover .eb-hb-compact-dot {
    background: #ffffff;
}

.eb-hb-compact-item.is-current {
    background: #0b6efd;
    color: #ffffff;
    border-color: #0b6efd;
}

/* ============================================================ */
/* ARŞİV SAYFASI                                                 */
/* ============================================================ */

.eb-hb-archive-wrap {
    max-width: 1200px;
    margin: 0 auto;
}

.eb-hb-archive__header {
    text-align: center;
    margin-bottom: 24px;
}

.eb-hb-archive__title {
    font-size: 36px;
    line-height: 1.2;
    color: #0f172a;
    margin: 0 0 8px;
    font-weight: 800;
}

@media (max-width: 600px) {
    .eb-hb-archive__title { font-size: 28px; }
}

.eb-hb-archive__lead {
    color: #475569;
    max-width: 720px;
    margin: 0 auto;
    font-size: 16px;
    line-height: 1.6;
}

.eb-hb-archive__filter {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 24px 0 28px;
    flex-wrap: wrap;
}

.eb-hb-archive__filter a {
    padding: 8px 18px;
    border-radius: 999px;
    color: #475569;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    transition: all .15s ease;
}

.eb-hb-archive__filter a:hover { color: #0b6efd; border-color: #0b6efd; }
.eb-hb-archive__filter a.is-active { background: #0b6efd; color: #ffffff; border-color: #0b6efd; }

.eb-hb-archive__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

@media (min-width: 600px) { .eb-hb-archive__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .eb-hb-archive__grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1200px) { .eb-hb-archive__grid { grid-template-columns: repeat(4, 1fr); } }

.eb-hb-archive__cta-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 32px;
}

@media (min-width: 720px) {
    .eb-hb-archive__cta-row { grid-template-columns: 1fr 1fr; }
}

/* ============================================================ */
/* HERO (Page Header) - Single CPT                              */
/* ============================================================ */

.eb-hb-hero {
    position: relative;
    background:
        radial-gradient(circle at 20% 30%, rgba(11, 110, 253, .35), transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(37, 211, 102, .18), transparent 50%),
        linear-gradient(135deg, #0b1e3f 0%, #0f172a 100%);
    color: #ffffff;
    overflow: hidden;
    min-height: 380px;
    display: flex;
    align-items: center;
    padding: 140px 16px 64px;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .eb-hb-hero {
        min-height: 320px;
        padding: 110px 16px 48px;
    }
}

.eb-hb-hero__pattern {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: .12;
    background-image:
        linear-gradient(rgba(255, 255, 255, .12) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .12) 1px, transparent 1px);
    background-size: 48px 48px;
    background-position: -1px -1px;
    mask-image: radial-gradient(ellipse at center, #000 35%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse at center, #000 35%, transparent 80%);
}

.eb-hb-hero__pattern::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        repeating-linear-gradient(45deg, transparent 0, transparent 38px, rgba(250, 204, 21, .25) 38px, rgba(250, 204, 21, .25) 40px);
    opacity: .25;
    mask-image: radial-gradient(circle at 80% 20%, #000, transparent 50%);
    -webkit-mask-image: radial-gradient(circle at 80% 20%, #000, transparent 50%);
}

.eb-hb-hero__inner {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    text-align: center;
}

.eb-hb-hero__title {
    color: #ffffff !important;
    font-size: clamp(28px, 5vw, 44px);
    line-height: 1.15;
    margin: 12px 0 10px;
    font-weight: 800;
    letter-spacing: -0.01em;
    text-shadow: 0 4px 18px rgba(0, 0, 0, .35);
}

.eb-hb-hero__subtitle {
    color: rgba(255, 255, 255, .82);
    margin: 0;
    font-size: 15px;
    letter-spacing: .02em;
}

.eb-hb-breadcrumb {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    font-size: 13px;
    color: rgba(255, 255, 255, .75);
    background: rgba(0, 0, 0, .25);
    padding: 6px 14px;
    border-radius: 999px;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, .08);
}

.eb-hb-breadcrumb a {
    color: rgba(255, 255, 255, .85) !important;
    text-decoration: none;
    transition: color .15s ease;
}

.eb-hb-breadcrumb a:hover { color: #FACC15 !important; }

.eb-hb-breadcrumb__sep { color: rgba(255, 255, 255, .4); }

.eb-hb-breadcrumb__current {
    color: #FACC15;
    font-weight: 600;
    max-width: 280px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Single article body içindeki H2'ler hero'dan ayrı kalsın */
.eb-hb-article__body > p:first-child {
    margin-top: 0;
}

/* Tema header'ı şeffafsa sidebar üzerine binebiliyordu — sidebar'a margin-top vererek
   sayfanın yarısından sonra başlamasını sağlıyoruz (hero'nun altından sonra). */
.eb-hb-sidebar {
    margin-top: 0;
}

/* ============================================================ */
/* HİZMET BÖLGELERİ TAM SAYFA (Shortcode)                       */
/* ============================================================ */

.eb-hb-page-listing {
    max-width: 1240px;
    margin: 0 auto;
    width: 100%;
}

.eb-hb-page-listing__intro {
    text-align: center;
    margin-bottom: 24px;
}

.eb-hb-page-listing__intro p {
    color: #475569;
    max-width: 760px;
    margin: 0 auto 16px;
    font-size: 16px;
    line-height: 1.7;
}

.eb-hb-stats-bar {
    display: inline-flex;
    align-items: center;
    gap: 28px;
    padding: 12px 28px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 999px;
    box-shadow: 0 4px 16px rgba(15, 23, 42, .05);
    flex-wrap: wrap;
    justify-content: center;
    margin: 8px auto 0;
}

.eb-hb-stats-bar span {
    color: #475569;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.eb-hb-stats-bar strong {
    color: #0b6efd;
    font-weight: 800;
    font-size: 22px;
    line-height: 1;
}

.eb-hb-page-listing__filter {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 28px 0 16px;
    flex-wrap: wrap;
}

.eb-hb-filter-btn {
    appearance: none;
    -webkit-appearance: none;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    color: #475569;
    padding: 9px 18px;
    border-radius: 999px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    font-family: inherit;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all .15s ease;
}

.eb-hb-filter-btn:hover {
    color: #0b6efd;
    border-color: #0b6efd;
}

.eb-hb-filter-btn.is-active {
    background: #0b6efd;
    border-color: #0b6efd;
    color: #ffffff;
}

.eb-hb-filter-count {
    background: rgba(15, 23, 42, .08);
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
}

.eb-hb-filter-btn.is-active .eb-hb-filter-count {
    background: rgba(255, 255, 255, .25);
    color: #ffffff;
}

.eb-hb-page-listing__search {
    max-width: 480px;
    margin: 0 auto 32px;
    position: relative;
    display: block;
}

.eb-hb-page-listing__search svg {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    pointer-events: none;
    z-index: 2;
    width: 18px;
    height: 18px;
}

.eb-hb-search-input,
.eb-hb-page-listing input.eb-hb-search-input {
    display: block !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 14px 18px 14px 50px !important;
    padding-left: 50px !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 999px !important;
    background: #ffffff !important;
    color: #1f2937 !important;
    font-size: 14px !important;
    font-family: inherit !important;
    outline: none !important;
    transition: border-color .15s ease, box-shadow .15s ease;
    line-height: 1.4 !important;
    height: auto !important;
    margin: 0 !important;
}

.eb-hb-search-input:focus,
.eb-hb-page-listing input.eb-hb-search-input:focus {
    border-color: #0b6efd !important;
    box-shadow: 0 0 0 4px rgba(11, 110, 253, .12) !important;
}

.eb-hb-search-input::placeholder {
    color: #94a3b8;
    opacity: 1;
}

.eb-hb-page-listing__grid {
    display: grid;
    gap: 16px;
    grid-template-columns: 1fr;
}

@media (min-width: 600px) {
    .eb-hb-page-listing__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
    .eb-hb-cols-3 .eb-hb-page-listing__grid { grid-template-columns: repeat(3, 1fr); }
    .eb-hb-cols-4 .eb-hb-page-listing__grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1100px) {
    .eb-hb-cols-4 .eb-hb-page-listing__grid { grid-template-columns: repeat(4, 1fr); }
}

.eb-hb-listing-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 22px 22px 18px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
    position: relative;
    overflow: hidden;
}

.eb-hb-listing-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 60%, rgba(11, 110, 253, .04) 100%);
    pointer-events: none;
    opacity: 0;
    transition: opacity .18s ease;
}

.eb-hb-listing-card:hover {
    border-color: #0b6efd;
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(15, 23, 42, .08);
}

.eb-hb-listing-card:hover::before { opacity: 1; }

.eb-hb-listing-card__icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, #0b6efd 0%, #064abf 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    box-shadow: 0 6px 14px rgba(11, 110, 253, .25);
}

.eb-hb-listing-card[data-type="service"] .eb-hb-listing-card__icon {
    background: linear-gradient(135deg, #FACC15 0%, #F59E0B 100%);
    color: #0f172a;
    box-shadow: 0 6px 14px rgba(250, 204, 21, .25);
}

.eb-hb-listing-card__title {
    font-size: 17px !important;
    font-weight: 700;
    margin: 0 0 8px !important;
    line-height: 1.3;
}

.eb-hb-listing-card__title a {
    color: #0f172a !important;
    text-decoration: none !important;
    transition: color .15s ease;
}

.eb-hb-listing-card__title a:hover { color: #0b6efd !important; }

.eb-hb-listing-card__excerpt {
    color: #475569;
    font-size: 13px;
    line-height: 1.55;
    margin: 0 0 16px;
    flex-grow: 1;
}

.eb-hb-listing-card__btn {
    color: #0b6efd !important;
    text-decoration: none !important;
    font-weight: 700;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
    padding-top: 4px;
    border-top: 1px dashed transparent;
    transition: gap .18s ease, color .15s ease;
}

.eb-hb-listing-card__btn:hover {
    color: #075cdc !important;
    gap: 10px;
}

.eb-hb-no-results {
    text-align: center;
    color: #64748b;
    padding: 40px 20px;
    background: #ffffff;
    border: 1px dashed #e5e7eb;
    border-radius: 12px;
    margin-top: 12px;
}

.eb-hb-page-listing__cta-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 40px;
}

@media (min-width: 720px) {
    .eb-hb-page-listing__cta-row { grid-template-columns: 1fr 1fr; }
}

/* ============================================================ */
/* Listing sayfası hero — temanın content container'ından çık   */
/* ============================================================ */

.eb-hb-hero--listing {
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    width: 100vw;
    margin-top: -1px;
    margin-bottom: 32px;
    min-height: 340px;
}

@media (max-width: 768px) {
    .eb-hb-hero--listing { margin-bottom: 20px; min-height: 280px; }
}

/* Listing sayfası açıklama metni ortalı kalsın */
.eb-hb-page-listing__intro p {
    text-align: center;
}

/* Tema page title'larını gizlemek için utility class
   (body sınıfı page-id-XX olduğunda site sahibi child tema CSS'e ekleyebilir;
   ayrıca aşağıda otomatik gizleme tutulur) */
body.eb-hb-listing-page .entry-header,
body.eb-hb-listing-page .page-header,
body.eb-hb-listing-page .page-title,
body.eb-hb-listing-page .elementor-page-title,
body.eb-hb-listing-page .post-page-title,
body.eb-hb-listing-page header.entry-header,
body.eb-hb-listing-page .single-page-title,
body.eb-hb-listing-page .post-thumbnail {
    display: none !important;
}

/* ==================================================
   Anasayfa Hizmetler Bloğu — [eb_anasayfa_hizmetler]
   ================================================== */
.eb-hb-home-services {
    margin: 48px auto;
    max-width: 1200px;
    padding: 0 16px;
    box-sizing: border-box;
}
.eb-hb-home-services *,
.eb-hb-home-services *::before,
.eb-hb-home-services *::after {
    box-sizing: border-box;
}
.eb-hb-home-services__head {
    text-align: center;
    margin-bottom: 32px;
}
.eb-hb-home-services__title {
    font-size: clamp(1.75rem, 3vw, 2.5rem) !important;
    line-height: 1.15 !important;
    margin: 0 0 8px !important;
    color: #0f172a !important;
    font-weight: 800 !important;
    letter-spacing: -0.02em !important;
    text-align: center !important;
    font-family: inherit;
}
.eb-hb-home-services__subtitle {
    font-size: 1rem !important;
    color: #475569 !important;
    margin: 0 auto !important;
    max-width: 640px !important;
    line-height: 1.55 !important;
    text-align: center !important;
    font-weight: 400 !important;
}
/* Listing wrapper kendi default margin'lerini sıfırla */
.eb-hb-home-services__listing {
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
}
/* Grid - kendi başına 3x2 olacak şekilde tüm breakpoint'lerde garanti */
.eb-hb-home-services__grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 18px !important;
    margin: 0 !important;
}
@media (min-width: 600px) {
    .eb-hb-cols-2 .eb-hb-home-services__grid,
    .eb-hb-cols-3 .eb-hb-home-services__grid,
    .eb-hb-cols-4 .eb-hb-home-services__grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}
@media (min-width: 900px) {
    .eb-hb-cols-3 .eb-hb-home-services__grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }
    .eb-hb-cols-4 .eb-hb-home-services__grid {
        grid-template-columns: repeat(4, 1fr) !important;
    }
}
.eb-hb-home-services__cta {
    text-align: center;
    margin-top: 36px;
}
.eb-hb-home-services__btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: linear-gradient(135deg, #FACC15 0%, #f59e0b 100%);
    color: #1a1a1a !important;
    font-weight: 700;
    font-size: 1rem;
    border-radius: 999px;
    text-decoration: none !important;
    box-shadow: 0 6px 20px -6px rgba(250, 204, 21, 0.55), 0 2px 6px rgba(0,0,0,0.06);
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.eb-hb-home-services__btn:hover,
.eb-hb-home-services__btn:focus {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px -8px rgba(250, 204, 21, 0.7), 0 4px 10px rgba(0,0,0,0.08);
}
.eb-hb-home-services__btn svg {
    transition: transform .18s ease;
}
.eb-hb-home-services__btn:hover svg {
    transform: translateX(3px);
}
@media (max-width: 640px) {
    .eb-hb-home-services { margin: 32px auto; }
    .eb-hb-home-services__head { margin-bottom: 22px; }
    .eb-hb-home-services__btn { padding: 12px 22px; font-size: 0.95rem; }
}
