/*
 * Vizyon Tesisat Ankara — Hizmet Bölgeleri Public Stylesheet
 * Sadece "sihhi_tesisat" 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 "st-hb-" prefix'i ile başlar.
 */

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

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

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

.st-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) {
    .st-hb-main { padding: 20px; }
}

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

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

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

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

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

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

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

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

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

.st-hb-article__body a {
    color: #163a6b;
    text-decoration: underline;
}

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

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

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

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

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

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

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

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

.st-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);
}

.st-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;
}

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

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

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

.st-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;
}

.st-hb-area-list li a:hover {
    background: #f1f5f9;
    color: #163a6b;
}

.st-hb-area-list li.is-current a {
    background: #163a6b;
    color: #ffffff;
    font-weight: 600;
}

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

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

.st-hb-whatsapp-cta {
    background: linear-gradient(135deg, #163a6b 0%, #1e60ab 100%);
    border-radius: 16px;
    padding: 22px 20px;
    color: #ffffff;
    box-shadow: 0 12px 30px -10px rgba(22, 58, 107, .45), 0 2px 6px rgba(0,0,0,.06);
    border: 1px solid rgba(250, 204, 21, 0.15);
    position: relative;
    overflow: hidden;
}
.st-hb-whatsapp-cta::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 140px;
    height: 140px;
    background: radial-gradient(circle, rgba(250, 204, 21, 0.18) 0%, transparent 70%);
    pointer-events: none;
}

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

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

.st-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;
}

.st-hb-whatsapp-cta__online-dot {
    position: absolute;
    right: 0;
    bottom: 2px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #facc15;
    border: 2px solid #163a6b;
    box-shadow: 0 0 0 0 rgba(250, 204, 21, .8);
    animation: st-hb-pulse 2s infinite;
}

@keyframes st-hb-pulse {
    0%   { box-shadow: 0 0 0 0 rgba(250, 204, 21, .8); }
    70%  { box-shadow: 0 0 0 10px rgba(250, 204, 21, 0); }
    100% { box-shadow: 0 0 0 0 rgba(250, 204, 21, 0); }
}

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

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

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

.st-hb-whatsapp-cta__online-label {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 8px;
    background: rgba(250, 204, 21, .25);
    border-radius: 10px;
    color: #fef9e2;
    font-weight: 600;
    font-size: 11px;
}

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

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

.st-hb-whatsapp-cta__button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    background: #facc15;
    color: #061533 !important;
    text-decoration: none !important;
    padding: 13px 18px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 700;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
    box-shadow: 0 6px 18px rgba(250, 204, 21, .42);
    box-sizing: border-box;
    letter-spacing: 0.01em;
}

.st-hb-whatsapp-cta__button:hover {
    background: #fde68a;
    transform: translateY(-2px);
    box-shadow: 0 10px 26px rgba(250, 204, 21, .55);
    color: #061533 !important;
    text-decoration: none !important;
}

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

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

.st-hb-call-cta {
    background: #ffffff;
    border-radius: 16px;
    padding: 22px 20px;
    color: #061533;
    box-shadow: 0 12px 30px -10px rgba(22, 58, 107, .18), 0 2px 6px rgba(0,0,0,.04);
    border: 1px solid rgba(22, 58, 107, 0.12);
    position: relative;
    overflow: hidden;
}
.st-hb-call-cta::before {
    content: '';
    position: absolute;
    top: -40px;
    right: -40px;
    width: 130px;
    height: 130px;
    background: radial-gradient(circle, rgba(250, 204, 21, 0.18) 0%, transparent 70%);
    pointer-events: none;
}

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

.st-hb-call-cta__icon-wrap {
    position: relative;
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, #163a6b 0%, #facc15 100%);
    border: 3px solid rgba(22, 58, 107, .12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(22, 58, 107, .25);
}

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

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

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

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

.st-hb-call-cta__subtitle {
    font-size: 12px;
    color: #475569;
}

.st-hb-call-cta__button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    background: linear-gradient(135deg, #163a6b 0%, #0e2c52 100%);
    color: #ffffff !important;
    text-decoration: none !important;
    padding: 13px 18px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 700;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
    box-shadow: 0 6px 18px rgba(22, 58, 107, .28);
    box-sizing: border-box;
    flex-wrap: wrap;
    letter-spacing: 0.01em;
}

.st-hb-call-cta__button:hover {
    background: linear-gradient(135deg, #0e2c52 0%, #0a2245 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 26px rgba(22, 58, 107, .4);
    color: #ffffff !important;
    text-decoration: none !important;
}

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

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

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

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

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

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

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

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

.st-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;
}

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

.st-hb-card-item.is-current {
    border-color: #163a6b;
    background: #f0f7ff;
}

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

.st-hb-card-item__icon {
    color: #163a6b;
    flex-shrink: 0;
}

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

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

.st-hb-card-item__title a:hover {
    color: #163a6b;
}

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

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

.st-hb-card-item__btn:hover {
    color: #0e2c52;
    gap: 8px;
}

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

.st-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;
}

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

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

.st-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;
}

.st-hb-compact-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #163a6b;
}

.st-hb-compact-item:hover {
    background: #163a6b;
    color: #ffffff;
    border-color: #163a6b;
}

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

.st-hb-compact-item.is-current {
    background: #163a6b;
    color: #ffffff;
    border-color: #163a6b;
}

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

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

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

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

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

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

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

.st-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;
}

.st-hb-archive__filter a:hover { color: #163a6b; border-color: #163a6b; }
.st-hb-archive__filter a.is-active { background: #163a6b; color: #ffffff; border-color: #163a6b; }

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

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

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

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

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

.st-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) {
    .st-hb-hero {
        min-height: 320px;
        padding: 110px 16px 48px;
    }
}

.st-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%);
}

.st-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%);
}

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

.st-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);
}

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

.st-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);
}

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

.st-hb-breadcrumb a:hover { color: #facc15 !important; }

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

.st-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 */
.st-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). */
.st-hb-sidebar {
    margin-top: 0;
}

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

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

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

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

.st-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;
}

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

.st-hb-stats-bar strong {
    color: #163a6b;
    font-weight: 800;
    font-size: 22px;
    line-height: 1;
}

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

.st-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;
}

.st-hb-filter-btn:hover {
    color: #163a6b;
    border-color: #163a6b;
}

.st-hb-filter-btn.is-active {
    background: #163a6b;
    border-color: #163a6b;
    color: #ffffff;
}

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

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

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

.st-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;
}

.st-hb-search-input,
.st-hb-page-listing input.st-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;
}

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

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

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

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

.st-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;
}

.st-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;
}

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

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

.st-hb-listing-card__icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, #163a6b 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);
}

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

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

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

.st-hb-listing-card__title a:hover { color: #163a6b !important; }

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

.st-hb-listing-card__btn {
    color: #163a6b !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;
    white-space: nowrap;       /* yazı ve ok aynı satırda kalsın */
    flex-wrap: nowrap;
    width: fit-content;        /* container genişliğini doldurma */
    max-width: 100%;
}

.st-hb-listing-card__btn svg {
    flex-shrink: 0;            /* ok kesinlikle küçülmesin/atlamasın */
    display: inline-block;
    vertical-align: middle;
}

.st-hb-listing-card__btn:hover {
    color: #0e2c52 !important;
    gap: 10px;
}

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

.st-hb-page-listing__cta-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 48px;
    margin-bottom: 72px;
}

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

@media (min-width: 1024px) {
    .st-hb-page-listing__cta-row { margin-bottom: 96px; }
}

/* ============================================================ */
/* Daha Fazla Yükle butonu                                       */
/* ============================================================ */

.st-hb-load-more-wrap {
    display: flex;
    justify-content: center;
    margin: 32px 0 8px;
}

.st-hb-load-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border: 1.5px solid #163a6b;
    background: #ffffff;
    color: #163a6b;
    font-size: 15px;
    font-weight: 600;
    border-radius: 999px;
    cursor: pointer;
    transition: background-color .2s ease, color .2s ease, transform .15s ease, box-shadow .2s ease;
    box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}

.st-hb-load-more-btn:hover {
    background: #163a6b;
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(22, 58, 107, 0.22);
}

.st-hb-load-more-btn:active {
    transform: translateY(0);
}

.st-hb-load-more-btn__count {
    opacity: 0.72;
    font-weight: 500;
    font-size: 13px;
}
.st-hb-load-more-btn:hover .st-hb-load-more-btn__count { opacity: 0.92; }

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

.st-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) {
    .st-hb-hero--listing { margin-bottom: 20px; min-height: 280px; }
}

/* Listing sayfası açıklama metni ortalı kalsın */
.st-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.st-hb-listing-page .entry-header,
body.st-hb-listing-page .page-header,
body.st-hb-listing-page .page-title,
body.st-hb-listing-page .elementor-page-title,
body.st-hb-listing-page .post-page-title,
body.st-hb-listing-page header.entry-header,
body.st-hb-listing-page .single-page-title,
body.st-hb-listing-page .post-thumbnail {
    display: none !important;
}

/* ==================================================
   Anasayfa Hizmetler Bloğu — [eb_anasayfa_hizmetler]
   ================================================== */
.st-hb-home-services {
    margin: 48px auto;
    max-width: 1200px;
    padding: 0 16px;
    box-sizing: border-box;
}
.st-hb-home-services *,
.st-hb-home-services *::before,
.st-hb-home-services *::after {
    box-sizing: border-box;
}
.st-hb-home-services__head {
    text-align: center;
    margin-bottom: 32px;
}
.st-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;
}
.st-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 */
.st-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 */
.st-hb-home-services__grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 18px !important;
    margin: 0 !important;
}
@media (min-width: 600px) {
    .st-hb-cols-2 .st-hb-home-services__grid,
    .st-hb-cols-3 .st-hb-home-services__grid,
    .st-hb-cols-4 .st-hb-home-services__grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}
@media (min-width: 900px) {
    .st-hb-cols-3 .st-hb-home-services__grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }
    .st-hb-cols-4 .st-hb-home-services__grid {
        grid-template-columns: repeat(4, 1fr) !important;
    }
}
.st-hb-home-services__cta {
    text-align: center;
    margin-top: 36px;
}
.st-hb-home-services__btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: linear-gradient(135deg, #facc15 0%, #163a6b 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;
}
.st-hb-home-services__btn:hover,
.st-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);
}
.st-hb-home-services__btn svg {
    transition: transform .18s ease;
}
.st-hb-home-services__btn:hover svg {
    transform: translateX(3px);
}
@media (max-width: 640px) {
    .st-hb-home-services { margin: 32px auto; }
    .st-hb-home-services__head { margin-bottom: 22px; }
    .st-hb-home-services__btn { padding: 12px 22px; font-size: 0.95rem; }
}

/* ============================================================ */
/* Sıkça Sorulan Sorular (SSS) akordeon                          */
/* ============================================================ */

.st-hb-faq {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
}
.st-hb-faq__title {
    font-size: 26px;
    font-weight: 700;
    color: #0e2c52;
    margin: 0 0 24px;
    letter-spacing: -0.01em;
}
.st-hb-faq__list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.st-hb-faq__item {
    background: #ffffff;
    border: 1px solid rgba(22, 58, 107, 0.18);
    border-radius: 12px;
    overflow: hidden;
    transition: box-shadow .2s ease, border-color .2s ease;
}
.st-hb-faq__item:hover {
    border-color: rgba(22, 58, 107, 0.36);
    box-shadow: 0 4px 14px rgba(22, 58, 107, 0.08);
}
.st-hb-faq__item[open] {
    border-color: #163a6b;
    box-shadow: 0 6px 18px rgba(22, 58, 107, 0.12);
}
.st-hb-faq__q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 22px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    color: #0e2c52;
    list-style: none;
    transition: background-color .15s ease;
}
.st-hb-faq__q::-webkit-details-marker { display: none; }
.st-hb-faq__q:hover { background-color: #fef9e2; }
.st-hb-faq__q span { flex: 1; }
.st-hb-faq__chevron {
    color: #163a6b;
    transition: transform .25s ease;
    flex-shrink: 0;
}
.st-hb-faq__item[open] .st-hb-faq__chevron {
    transform: rotate(180deg);
    color: #facc15;
}
.st-hb-faq__a {
    padding: 4px 22px 20px;
    color: #334155;
    line-height: 1.65;
    font-size: 15px;
    border-top: 1px solid rgba(15, 23, 42, 0.06);
    margin-top: -1px;
    padding-top: 16px;
}
.st-hb-faq__a p { margin: 0 0 10px; }
.st-hb-faq__a p:last-child { margin-bottom: 0; }
