:root {
  --bg: #edf3fb;
  --bg-2: #dfe9f8;
  --card: #ffffff;
  --text: #0f1f3a;
  --muted: #5f708a;
  --primary: #1f3c88;
  --primary-2: #2f59b8;
  --accent: #ffb020;
  --danger: #d92d39;
  --border: #d8e2f1;
}

* { box-sizing: border-box; }

body.esnaf-site {
  margin: 0;
  font-family: "Ubuntu", "Segoe UI", sans-serif;
  color: var(--text);
  line-height: 1.45;
  background:
    radial-gradient(circle at 10% -10%, rgba(47, 89, 184, 0.12), transparent 35%),
    radial-gradient(circle at 95% 5%, rgba(255, 176, 32, 0.16), transparent 28%),
    linear-gradient(180deg, var(--bg), var(--bg-2));
}

a { color: inherit; text-decoration: none; }
.container { max-width: 1680px; margin: 0 auto; padding: 0 18px; }





.highlight-card {
  background: linear-gradient(180deg, #ffffff, #fbfdff);
  border: 1px solid #d9e3f3;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(16, 37, 74, 0.06);
}

.highlight-head {
  background: linear-gradient(90deg, #1f3f8f, #4068c6);
  color: #fff;
  font-weight: 700;
  padding: 10px 12px;
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 13px;
}

.highlight-body { display: block; padding: 12px; }
.highlight-body img {
  width: 100%;
  height: 138px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 9px;
}
.highlight-body strong { display: block; font-size: 16px; color: #142a57; margin-bottom: 4px; line-height: 1.18; }
.highlight-body span { font-size: 12px; color: #60728f; }

.panel {
  background: #fff;
  border: 1px solid #dbe4f2;
  border-radius: 14px;
  margin-bottom: 16px;
  overflow: hidden;
  box-shadow: 0 8px 18px rgba(16, 37, 74, 0.05);
}
.panel-header { margin: 0; font-size: 14px; font-weight: 700; background: #c8d3e6; padding: 12px 14px; }
.panel-header i { margin-right: 7px; }
.panel-header-indigo { background: linear-gradient(90deg, #3f37bf, #6054e8); color: #fff; }
.panel-header-amber { background: linear-gradient(90deg, #f8cc4d, #f0b816); color: #6b2f00; }
.panel-content { padding: 14px; font-size: 14px; }
.home-grid > .col-left .panel,
.home-grid > .col-center .panel,
.home-grid > .col-right .panel {
  height: 100%;
}

.list { list-style: none; margin: 0; padding: 0; }
.list li { border-top: 1px solid #edf2fa; }
.list li:first-child { border-top: 0; }
.list a { display: block; padding: 10px 12px; color: #334155; font-size: 14px; }
.list a i { margin-right: 6px; color: #6a7fa5; }
.list a:hover { background: #f3f8ff; color: #2f59b8; }
.list-chevron { color: #8ea3c7; font-weight: 700; }

.news-lead a { display: block; border-radius: 10px; overflow: hidden; position: relative; }
.news-lead img { width: 100%; height: 250px; object-fit: cover; display: block; }
.news-overlay { position: absolute; inset: auto 0 0 0; padding: 28px 18px 14px; background: linear-gradient(to top, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0)); }
.news-overlay h3 { margin: 0; font-size: 21px; color: #fff; }
.news-thumb-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.news-thumb { display: block; height: 78px; overflow: hidden; border-radius: 8px; }
.news-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

.banner-placeholder {
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #496287;
  font-weight: 700;
  background: linear-gradient(135deg, #d9e8ff, #edf4ff);
}

.hero {
  background: linear-gradient(120deg, #1e3a8a, #3730a3);
  color: #fff;
  padding: 48px 0;
  margin-bottom: 24px;
}
.hero h1 { margin: 0 0 8px; font-size: 44px; }

.archive-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.meta-row { font-size: 14px; color: #64748b; }



.pill {
  display: inline-block;
  background: linear-gradient(90deg, #ffcc4d, #ffb21c);
  color: #332300;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 9px;
}

.notice {
  background: #fffbeb;
  border: 1px solid #fcd34d;
  padding: 12px;
  border-radius: 10px;
}
.mb-16 { margin-bottom: 16px; }

.form-card {
  max-width: 520px;
  margin: 40px auto;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 18px 30px rgba(16, 37, 74, 0.12);
}
.wide-card { max-width: 760px; }
.modern-card { border-color: #d7e4f6; }
.form-card-head {
  background: linear-gradient(130deg, #1e2b58, #2f59b8);
  color: #fff;
  padding: 22px;
}
.form-card-head h1 { margin: 0 0 8px; display: flex; align-items: center; gap: 10px; }
.form-card-head p { margin: 0; color: rgba(255,255,255,.88); }
.form-card-body { padding: 20px; }
.ad-step-switcher {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}
.ad-flow-card {
  border: 1px solid #d7e4f6;
  background: #f7fbff;
  border-radius: 12px;
  padding: 14px;
  text-align: left;
  cursor: pointer;
  color: #1f2e53;
  display: grid;
  gap: 3px;
}
.ad-flow-card i { font-size: 20px; color: #2f59b8; }
.ad-flow-card strong { font-size: 16px; }
.ad-flow-card span { font-size: 13px; color: #60728f; }
.ad-flow-card.is-active {
  border-color: #3d62c8;
  background: linear-gradient(135deg, #1f3c88, #355ebe);
  color: #fff;
  box-shadow: 0 12px 24px rgba(22, 50, 106, 0.25);
}
.ad-flow-card.is-active i,
.ad-flow-card.is-active span { color: rgba(255, 255, 255, 0.94); }
.ad-type-fields { margin-top: 6px; }
.repeater-block { border: 1px solid #d7e4f6; border-radius: 10px; padding: 12px; background: #f9fcff; }
.repeater-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 10px; }
.repeater-list { display: grid; gap: 8px; }
.repeater-row { display: grid; grid-template-columns: 1fr auto; gap: 8px; align-items: center; }
.repeater-storage { display: none; }

input[type="text"], input[type="email"], input[type="password"], input[type="url"], textarea, select {
  width: 100%;
  border: 1px solid #cbd9ef;
  border-radius: 9px;
  padding: 10px;
  background: #fff;
  font-family: inherit;
}
input:focus, textarea:focus, select:focus { outline: none; border-color: #4a74d2; box-shadow: 0 0 0 3px rgba(74,116,210,.15); }
.mt-16 { margin-top: 16px; }

.dash-hero {
  margin-bottom: 18px;
  padding: 20px;
  background: linear-gradient(130deg, #1f3c88, #345fc3);
  color: #fff;
  border-radius: 14px;
}
.dash-hero h1 { margin: 0 0 6px; display: flex; align-items: center; gap: 10px; }
.dash-hero p { margin: 0; color: rgba(255,255,255,.9); }
.dash-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.dash-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 8px 18px rgba(16, 37, 74, 0.08);
}
.dash-card h3 { margin: 0 0 10px; display: flex; align-items: center; gap: 8px; }

.category-archive-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 14px;
}

.category-archive-card {
  border: 1px solid #d9e3f3;
  border-radius: 12px;
  background: #fff;
  padding: 14px;
  box-shadow: 0 8px 20px rgba(16, 37, 74, 0.06);
}

.category-archive-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.category-archive-head h3 {
  margin: 0;
  color: #1d356d;
  font-size: 20px;
}

.category-archive-head span {
  font-size: 12px;
  font-weight: 700;
  color: #2f59b8;
  background: #eaf2ff;
  border: 1px solid #cfe0ff;
  border-radius: 999px;
  padding: 4px 8px;
}

.author-cv {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 16px;
}
.author-cv-side,
.author-cv-main { display: grid; gap: 16px; align-content: start; }
.author-card {
  background: #fff;
  border: 1px solid #d9e3f3;
  border-radius: 12px;
  padding: 14px;
  box-shadow: 0 8px 20px rgba(16, 37, 74, 0.06);
}
.author-avatar { margin-bottom: 10px; }
.author-avatar img {
  border-radius: 50%;
  border: 4px solid #e7effd;
}
.author-card h1 { margin: 0 0 4px; font-size: 30px; color: #172f62; }
.author-card h2 { margin: 0 0 10px; font-size: 21px; color: #1e3c88; }
.author-role { margin: 0 0 10px; color: #52688f; font-weight: 600; }
.author-meta { margin: 0 0 6px; color: #415270; display: flex; align-items: center; gap: 7px; }
.author-social { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.author-social a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border: 1px solid #d7e4f6;
  border-radius: 8px;
  color: #224180;
  background: #f8fbff;
}
.author-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.author-stat {
  background: #fff;
  border: 1px solid #d9e3f3;
  border-radius: 10px;
  padding: 12px;
  text-align: center;
}
.author-stat strong { display: block; font-size: 30px; color: #1f3c88; }
.author-stat span { color: #60728f; font-size: 13px; }
.author-timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.author-timeline li {
  border: 1px solid #e2eaf6;
  border-radius: 8px;
  padding: 10px;
  background: #fbfdff;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.author-timeline a { color: #1e3c88; font-weight: 700; }
.author-timeline span { color: #64748b; font-size: 13px; white-space: nowrap; }

@media (max-width: 1080px) {
  .home-shell { grid-template-columns: 1fr; }
  .home-side { position: static; }
  .home-editorial-hero { grid-template-columns: 1fr; }
  .hero-stat-band { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vitrin-list { grid-template-columns: repeat(3, minmax(170px, 1fr)); }
  .dash-grid { grid-template-columns: 1fr; }
  .home-highlights { grid-template-columns: 1fr; }
  .home-live-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .header-search input { min-width: 180px; }
  .vitrin-list { grid-template-columns: repeat(2, minmax(140px, 1fr)); }
  .logo-mark { font-size: 34px; }
  .header-main { padding-top: 14px; }
  .ad-step-switcher { grid-template-columns: 1fr; }
  .home-editorial-hero { padding: 18px; }
  .hero-stat-band { grid-template-columns: 1fr; }
  .home-mini-split { grid-template-columns: 1fr; }
}

.detail-back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #6b7f9f;
  font-weight: 500;
  margin-bottom: 10px;
}

.detail-layout-react {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 24px;
  align-items: start;
}

.detail-sidebar-react { display: grid; gap: 16px; }

.detail-logo-card {
  background: #fff;
  border: 1px solid #dbe5f4;
  border-radius: 10px;
  overflow: hidden;
  padding: 14px;
}

.detail-logo-image-wrap {
  height: 170px;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  border: 1px solid #dde6f3;
  background: #eef3fb;
}

.detail-logo-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-type-ribbon {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 11px;
  font-weight: 700;
  background: #f6b51f;
  color: #fff;
  padding: 4px 8px;
  border-radius: 6px;
}

.detail-logo-card h1 {
  margin: 12px 0 0;
  font-size: 26px;
  line-height: 1.2;
  color: #12254f;
}

.detail-contact-card {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #f2d28f;
  background: #fff7e4;
}

.detail-contact-row { padding: 14px; border-bottom: 1px solid #f1d59d; }
.detail-contact-row:last-child { border-bottom: 0; }
.detail-contact-row.alt { background: #ffedc8; }
.detail-contact-row h4 {
  margin: 0 0 6px;
  font-size: 14px;
  color: #8b5a05;
  display: flex;
  align-items: center;
  gap: 8px;
}
.detail-contact-row p { margin: 0; color: #24344f; padding-left: 24px; word-break: break-word; }
.detail-contact-row a { color: #2f59b8; }

.detail-main-react { display: grid; gap: 16px; }

.detail-main-title {
  background: #3147a8;
  color: #fff;
  border-radius: 8px;
  border-bottom: 4px solid #202f76;
  padding: 14px 16px;
}
.detail-main-title h2 { margin: 0; font-size: 28px; }

.detail-tabs-bar {
  background: #f2a719;
  border-radius: 8px;
  border-bottom: 4px solid #cc8200;
  overflow: hidden;
  display: flex;
  flex-wrap: wrap;
}
.detail-tabs-bar button {
  border: 0;
  border-right: 1px solid #cc8200;
  padding: 11px 14px;
  font-weight: 700;
  color: #623a00;
  background: transparent;
}
.detail-tabs-bar button.active {
  background: #fff4d9;
  color: #6a3f00;
}

.detail-content-box {
  background: #fff;
  border: 1px solid #dbe5f4;
  border-radius: 10px;
  padding: 18px;
  line-height: 1.7;
}

.tab-panel { display: none; }
.tab-panel.is-active { display: block; }

.detail-mini-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 12px;
}

.detail-mini-card {
  border: 1px solid #dde6f4;
  border-radius: 8px;
  overflow: hidden;
  background: #f8fbff;
  display: block;
}

.detail-mini-card img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  display: block;
}

.detail-mini-card span {
  display: block;
  padding: 8px 10px;
  font-size: 13px;
  color: #223150;
  font-weight: 600;
}

.detail-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.detail-list li {
  border-top: 1px solid #edf2fa;
  padding: 10px 4px;
}

.detail-list li:first-child { border-top: 0; }

.detail-list a {
  color: #2e4ea8;
  font-weight: 500;
}

.detail-meta-box {
  background: #fff8e9;
  border: 1px solid #f1d9a7;
  color: #744d12;
  border-radius: 10px;
  padding: 14px;
}

.detail-map-box {
  background: #fff;
  border: 1px solid #dbe5f4;
  border-radius: 10px;
  overflow: hidden;
}

.detail-map-head {
  background: #eff3f9;
  border-bottom: 1px solid #dbe5f4;
  padding: 10px 12px;
  font-weight: 700;
  color: #415270;
  display: flex;
  align-items: center;
  gap: 8px;
}

.detail-map-body { min-height: 260px; position: relative; background: #eef2f8; }
.detail-map-body img { width: 100%; height: 320px; object-fit: cover; opacity: .9; display: block; }
.detail-map-body span {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: rgba(10, 20, 38, .68);
  color: #fff;
  padding: 10px 14px;
  border-radius: 8px;
}

.business-type-strip {
  background: #ffffff;
  border: 1px solid #dbe5f4;
  border-radius: 10px;
  padding: 12px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.business-type-strip.type-cilingir,
.business-type-strip.type-cekici,
.business-type-strip.type-teknik {
  background: linear-gradient(135deg, #fff1f1, #ffe6e7);
  border-color: #ffc9ce;
}

.type-badges { display: flex; gap: 8px; flex-wrap: wrap; }
.type-badges span {
  background: #eaf2ff;
  color: #284b96;
  border: 1px solid #cfe0ff;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.type-urgent-actions { display: flex; gap: 8px; flex-wrap: wrap; }

.type-kpi-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.type-kpi-card {
  background: #fff;
  border: 1px solid #dbe5f4;
  border-radius: 10px;
  padding: 12px;
  text-align: center;
}

.type-kpi-card h4 {
  margin: 0;
  color: #1f3c88;
  font-size: 24px;
}

.type-kpi-card p {
  margin: 4px 0 0;
  color: #60728f;
  font-size: 13px;
}

.type-service-block,
.type-work-block {
  background: #fff;
  border: 1px solid #dbe5f4;
  border-radius: 10px;
  padding: 14px;
}

.type-service-block h3,
.type-work-block h3 {
  margin: 0 0 10px;
  color: #1b2d5e;
  font-size: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.type-service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.type-service-tags span {
  background: #f7f9ff;
  border: 1px solid #dbe5f4;
  border-radius: 8px;
  padding: 7px 10px;
  font-size: 13px;
  font-weight: 600;
  color: #2a416e;
}

.type-work-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.type-work-card {
  background: #f8fbff;
  border: 1px solid #dce7f8;
  border-radius: 10px;
  padding: 10px;
}

.type-work-card h4 {
  margin: 0 0 4px;
  font-size: 14px;
  color: #17356f;
}

.type-work-card p {
  margin: 0 0 8px;
  color: #60728f;
  font-size: 12px;
}

.type-work-card span {
  display: inline-block;
  background: #e6f7eb;
  color: #1f7a3f;
  border-radius: 999px;
  padding: 4px 8px;
  font-size: 11px;
  font-weight: 700;
}

@media (max-width: 980px) {
  .detail-layout-react { grid-template-columns: 1fr; }
  .type-kpi-grid,
  .type-work-grid { grid-template-columns: 1fr; }
  .author-cv { grid-template-columns: 1fr; }
  .author-stats { grid-template-columns: 1fr; }
}

.category-hero {
  color: #fff;
  padding: 46px 0;
}
.category-hero.theme-indigo { background: linear-gradient(90deg, #1e3a8a, #4338ca); }
.category-hero.theme-orange { background: linear-gradient(90deg, #c2410c, #f59e0b); }
.category-hero.theme-red { background: linear-gradient(90deg, #991b1b, #e11d48); }
.category-hero.theme-amber { background: linear-gradient(90deg, #92400e, #f59e0b); }
.category-hero.theme-yellow { background: linear-gradient(90deg, #a16207, #f59e0b); }
.category-hero.theme-blue { background: linear-gradient(90deg, #1d4ed8, #0891b2); }
.category-hero.theme-gold { background: linear-gradient(90deg, #b45309, #f59e0b); }

.category-hero-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.category-hero-left { max-width: 760px; }
.category-back {
  display: inline-block;
  background: rgba(0, 0, 0, 0.2);
  color: #fff;
  padding: 7px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
  font-size: 14px;
}
.category-hero h1 { margin: 0 0 8px; font-size: 46px; line-height: 1.08; }
.category-hero p { margin: 0 0 18px; font-size: 19px; color: rgba(255, 255, 255, 0.92); }
.category-feature-box {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.27);
  border-radius: 18px;
  padding: 18px 20px;
  min-width: 280px;
}
.category-feature-box h3 { margin: 0 0 10px; font-size: 20px; }
.category-feature-box ul { margin: 0; padding-left: 18px; }

.category-main { padding-top: 24px; }
.category-urgent-actions { display: flex; gap: 10px; flex-wrap: wrap; margin: 0 0 14px; }
.category-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 16px;
}
.category-stat-card {
  background: #fff;
  border: 1px solid #d7e0ea;
  border-radius: 12px;
  padding: 14px;
}
.category-stat-card h4 { margin: 0 0 5px; font-size: 24px; color: #1f3c88; }
.category-stat-card p { margin: 0; font-size: 13px; color: #64748b; }
.category-list-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  border-bottom: 1px solid #d7e0ea;
  padding-bottom: 10px;
  margin-bottom: 14px;
}
.category-list-head h2 { margin: 0; font-size: 28px; }
.category-list-head span { font-size: 13px; color: #64748b; }
.category-card-meta { display: grid; gap: 6px; font-size: 13px; color: #334155; }
.category-card-foot {
  background: #f8fafc;
  border-top: 1px solid #e6edf4;
  padding: 11px 14px;
  font-weight: 700;
  color: #4338ca;
}

@media (max-width: 980px) {
  .category-hero-inner { flex-direction: column; align-items: flex-start; }
  .category-stats-grid { grid-template-columns: 1fr; }
}
