/* Sektörler sayfası (scripts/build-pages.py sector_list_html): beyaz zemin, düz başlık, her sektör kendi fotoğrafıyla.
   Kartlar kutu değil: fotoğraf, ad ve tek satırlık açıklama. Sipariş ve randevu alan işletmeler iki grup. */
.sx-hero { padding: 36px 0 8px; background: #fff }
.sx-hero h1 { max-width: 880px; margin: 26px 0 0; font: 800 clamp(36px, 5.2vw, 66px)/1.02 var(--display); letter-spacing: -.045em; color: var(--ink) }
.sx-hero h1 em { font-style: normal }
.sx-hero .lead { max-width: 620px; margin: 18px 0 0; font-size: 18px; line-height: 1.55; color: #475569 }
.sx-hero .sector-search { margin-top: 28px; max-width: 620px }
.sx-hero .ss-box { height: 60px; border-radius: 14px; border-color: #cbd5e1; box-shadow: 0 1px 2px rgba(15,23,42,.05) }
.sx-hero .ss-hint { margin: 10px 0 0 4px; font-size: 13.5px; color: var(--muted) }
main:has(.sx-hero) { background: #fff }
.hub-sec:has(.sx-list) { background: #fff }

.sx-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 6px 24px; margin: 56px 0 22px; padding-top: 22px; border-top: 1px solid var(--line) }
.sx-list > .sx-head:first-child { margin-top: 24px }
.sx-group { margin: 0; font: 800 clamp(22px, 2.2vw, 28px)/1.15 var(--display); letter-spacing: -.03em; color: var(--ink) }
.sx-head p { grid-column: 1; margin: 0; max-width: 640px; font-size: 15.5px; color: #475569 }
.sx-head span { grid-column: 2; grid-row: 1 / span 2; align-self: end; font: 600 13.5px Inter, sans-serif; color: var(--muted) }

.sx-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 30px 22px }
.sx-card { display: flex; flex-direction: column; min-width: 0; color: inherit; text-decoration: none }
.sx-card img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 14px; background: #eef2f7; transition: filter .25s }
.sx-card h3 { margin: 14px 0 4px; font: 700 18px/1.25 var(--display); letter-spacing: -.02em; color: var(--ink) }
.sx-card p { margin: 0; font-size: 14.5px; line-height: 1.5; color: #55647c; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden }
.sx-more { align-self: flex-start; display: inline-flex; align-items: center; height: 38px; margin-top: auto; padding: 0 16px; border-radius: 10px; background: #fff; box-shadow: inset 0 0 0 1px #cbd5e1; font: 600 14px Inter, sans-serif; color: var(--ink); transition: background .2s, box-shadow .2s }
.sx-card p { margin-bottom: 14px }
.sx-card:hover .sx-more { background: var(--ink); color: #fff; box-shadow: none }
.sx-card:hover img { filter: brightness(.94) }
.sx-card:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; border-radius: 14px }
.sx-card .ss-why { margin-bottom: 12px; margin-top: 6px; font-size: 13.5px; color: var(--blue); -webkit-line-clamp: unset }

.sx-demo { display: flex; flex-direction: column; justify-content: center; gap: 8px; min-height: 100%; padding: 26px; border-radius: 14px; border: 1.5px dashed #cbd5e1; color: inherit; text-decoration: none; aspect-ratio: auto }
.sx-demo h3 { margin: 0; font: 700 18px/1.25 var(--display); color: var(--ink) }
.sx-demo p { margin: 0; font-size: 14.5px; line-height: 1.5; color: #55647c }
.sx-demo span { margin-top: 6px; font: 600 15px Inter, sans-serif; color: var(--blue) }
.sx-demo:hover { border-color: var(--blue) }

.ss-results:not([hidden]) { padding-top: 8px; background: #fff }
.ss-results .sx-group { margin: 8px 0 20px }
.ss-results.is-loading .sx-grid { opacity: .5 }

@media (max-width: 640px) {
  .sx-hero { padding-top: 20px }
  .sx-hero .lead { font-size: 16px }
  .sx-head { grid-template-columns: minmax(0, 1fr); margin-top: 40px }
  .sx-head span { grid-column: 1; grid-row: auto }
  .sx-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 12px }
  .sx-card h3 { margin-top: 10px; font-size: 15.5px }
  .sx-card p { font-size: 13px }
  .sx-more { height: 34px; padding: 0 12px; font-size: 13px }
  .sx-card img { border-radius: 10px }
}

/* Özellikler sayfası (feature_list_html): aynı kart, fotoğraf yerine plakasız siyah çizgi ikon */
.fx-grid { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px }
/* Özellik kartları çerçeveli: fotoğraf olmadığı için metin kutuyla ayrılır, okunur */
.fx-card { padding: 22px 22px 20px; border-radius: 16px; background: #fff; box-shadow: inset 0 0 0 1px var(--line), 0 1px 2px rgba(15,23,42,.04); transition: box-shadow .2s }
.fx-card:hover { box-shadow: inset 0 0 0 1px #94a3b8, 0 10px 24px -16px rgba(15,23,42,.35) }
.fx-ic { display: block; width: 30px; height: 30px; color: var(--ink) }
.fx-ic svg { display: block; width: 28px; height: 28px; stroke-width: 1.8 }
img.fx-ic { width: 32px; height: 32px; border-radius: 8px }
.fx-card h3 { margin-top: 14px }

/* Listenin altında diğer liste sayfasına geçiş: düz satır, kutu ve etiket yok */
.sx-cross { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 64px; padding: 28px 0 8px; border-top: 1px solid var(--line) }
.sx-cross h2 { margin: 0; font: 800 clamp(20px, 2vw, 26px)/1.2 var(--display); letter-spacing: -.03em; color: var(--ink) }
.sx-cross p { margin: 6px 0 0; max-width: 620px; font-size: 15.5px; color: #475569 }
.sx-cross .btn { flex: none }
@media (max-width: 640px) {
  .fx-grid { grid-template-columns: minmax(0, 1fr); gap: 12px }
  .fx-card { padding: 18px }
  .sx-cross { flex-direction: column; align-items: flex-start }
}

/* Santi Restoran ve Santi Kuaför özellikler sayfası: başlıkta fiyat ve deneme düğmeleri; ikon çizgileri kalemle */
.sx-hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px }
.sx-hero .actions .btn { height: 52px; padding: 0 24px; font-size: 16px }
.fx-ic svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round }
div.fx-card { padding-bottom: 22px }
