/* TurkeyPersonals - responsive classifieds layout */
:root {
  --ink: #20242b;
  --muted: #626b78;
  --line: #dce2e9;
  --blue: #245b9d;
  --blue-hover: #17477f;
  --blue-soft: #eef4fb;
  --blue-border: #cbd9e9;
  --red: #9e171b;
  --paper: #ffffff;
  --panel: #f7f9fb;
  --shadow: 0 8px 24px rgba(26, 45, 67, .06);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.55;
}
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-hover); text-decoration: underline; }
.site-header { border-bottom: 3px solid var(--blue); background: #fff; }
.header-inner {
  max-width: 1180px;
  min-height: 100px;
  margin: 0 auto;
  padding: 17px 28px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: inline-flex; flex-direction: column; line-height: 1.05; color: inherit; text-decoration: none; }
.brand:hover { text-decoration: none; }
.brand-name { display: block; white-space: nowrap; font-size: clamp(27px, 3.4vw, 39px); font-weight: 800; letter-spacing: -1.6px; }
.brand-turkey { color: var(--red); }
.brand-personals { color: #111318; }
.brand-url { margin: 5px 0 0 2px; color: #555d68; font-size: 17px; letter-spacing: .1px; }
.top-nav { display: flex; align-items: center; }
.nav-home {
  display: inline-block;
  padding: 10px 19px;
  border: 1px solid var(--blue-border);
  border-radius: 7px;
  background: var(--blue-soft);
  color: var(--blue);
  font-weight: 700;
}
.nav-home:hover { background: #e2edf8; text-decoration: none; }
.page-shell { max-width: 1180px; min-height: 55vh; margin: 0 auto; padding: 30px 28px 64px; }
.intro { padding: 0 0 28px; }
h1, h2, h3, p { margin-top: 0; }
.intro h1, .page-intro h1 { margin-bottom: 5px; font-size: clamp(29px, 4vw, 42px); line-height: 1.18; letter-spacing: -.8px; }
.intro p, .page-intro > p:not(.eyebrow) { max-width: 820px; margin-bottom: 0; color: #454d58; font-size: 18px; }
.listings-section { margin-top: 12px; }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 17px 0 14px; border-top: 1px solid var(--line); }
.section-heading h2 { margin: 0; font-size: 29px; letter-spacing: -.5px; }
.listing-list { display: flex; flex-direction: column; }
.listing-row {
  display: grid; grid-template-columns: 150px minmax(0, 1fr) auto; align-items: center;
  gap: 22px; padding: 22px 0; border-bottom: 1px solid var(--line);
}
.listing-thumb {
  width: 150px; height: 118px; display: flex; align-items: center; justify-content: center;
  overflow: hidden; border-radius: 7px; background: #f0f2f5; color: #727b87;
  font-size: 15px; text-align: center;
}
.listing-thumb img { width: 100%; height: 100%; object-fit: cover; }
.listing-copy h3 { margin: 0 0 2px; color: var(--blue); font-size: 21px; line-height: 1.3; }
.listing-category {
  display: inline-block; margin: 0 0 5px; padding: 3px 8px; border-radius: 4px;
  background: var(--blue-soft); color: #405773; font-size: 12px; font-weight: 700;
}
.listing-location { margin: 3px 0; color: #505966; font-size: 14px; }
.listing-description { margin: 4px 0 0; color: #303741; }
.view-button {
  display: inline-block; padding: 8px 14px; border: 1px solid #9bb6d4; border-radius: 6px;
  background: #f6f9fd; color: var(--blue); font-weight: 700; white-space: nowrap;
}
.view-button:hover { background: #e9f1fa; text-decoration: none; }
.empty-state {
  display: flex; align-items: center; gap: 17px; margin: 8px 0 0; padding: 24px;
  border: 1px solid var(--blue-border); border-radius: 8px; background: var(--blue-soft);
}
.empty-icon {
  flex: 0 0 42px; width: 42px; height: 42px; display: grid; place-items: center;
  border: 2px solid #64778c; border-radius: 50%; color: #52677e; font-size: 25px; font-weight: 700;
}
.empty-state h3 { margin: 0 0 3px; font-size: 19px; }
.empty-state p { margin: 0; color: #535e6c; }
.site-footer { border-top: 3px solid var(--blue); background: #fff; }
.footer-main {
  max-width: 1180px; margin: 0 auto; padding: 28px;
  display: grid; grid-template-columns: auto minmax(190px, 1fr); align-items: center; gap: 18px 30px;
}
.footer-brand { padding-right: 28px; border-right: 1px solid #cbd3dd; }
.footer-brand .brand-name { font-size: 31px; }
.footer-brand .brand-url { font-size: 15px; }
.footer-description { margin: 0; color: #596270; font-size: 15px; }
.footer-nav {
  grid-column: 1 / -1; display: flex; justify-content: center; flex-wrap: wrap; gap: 0;
  padding-top: 5px;
}
.footer-nav a { padding: 3px 22px; color: var(--blue); font-weight: 600; }
.footer-nav a + a { border-left: 1px solid #c8d0da; }
.copyright {
  max-width: 1130px; margin: 0 auto; padding: 17px 20px 20px;
  border-top: 1px solid var(--line); color: #69727e; text-align: center; font-size: 14px;
}
.copyright .publisher-note { margin: 0 0 8px; color: #596270; font-size: 14px; }
.narrow-shell { max-width: 900px; }
.page-intro { margin: 4px 0 24px; }
.eyebrow { margin-bottom: 7px; color: var(--blue); font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.form-panel { padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.shared-form { display: grid; gap: 17px; }
.shared-form h2 { margin: 0 0 1px; font-size: 23px; }
.form-field { display: grid; gap: 6px; }
.form-field label { font-weight: 700; }
.form-field input, .form-field textarea {
  width: 100%; padding: 11px 12px; border: 1px solid #bcc6d1; border-radius: 6px;
  background: #fff; color: var(--ink); font: inherit;
}
.form-field textarea { min-height: 125px; resize: vertical; }
.form-field input:focus, .form-field textarea:focus {
  outline: 2px solid #b8cde4; outline-offset: 1px; border-color: var(--blue);
}
.field-help { margin: -2px 0 0; color: #525b66; font-size: 13px; }
.captcha-line { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.captcha-question { padding: 8px 12px; border-radius: 5px; background: var(--blue-soft); color: #263c55; font-weight: 700; }
.captcha-prompt { font-weight: 400; }
.captcha-line input { width: 105px; }
.honeypot-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.primary-button {
  justify-self: start; padding: 11px 20px; border: 1px solid var(--blue); border-radius: 6px;
  background: var(--blue); color: white; font: inherit; font-weight: 700; cursor: pointer;
}
.primary-button:hover { background: var(--blue-hover); }
.form-status { display: none; padding: 12px 14px; border-radius: 6px; background: #fff7e7; color: #654b18; font-size: 14px; }
.form-status.visible { display: block; }
.form-status.success { border: 1px solid #a8d5b0; background: #e8f5eb; color: #1b5e2a; }
.publisher-note { margin: 19px 0 0; padding: 0; border: 0; background: transparent; color: #596270; font-size: 14px; }
.legal-content section { padding: 18px 0; border-bottom: 1px solid var(--line); }
.legal-content section h2 { margin-bottom: 7px; font-size: 21px; }
.legal-content section p { margin-bottom: 8px; color: #414a55; }
.legal-content section p:last-child { margin-bottom: 0; }
.page-breadcrumb { margin: 0 0 18px; color: var(--muted); font-size: 14px; }
.page-breadcrumb a { font-weight: 600; }
.listing-detail { padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.listing-detail h1 { margin-bottom: 8px; font-size: 30px; }
.listing-detail .detail-location { color: var(--muted); }
.listing-detail .detail-image { display: block; max-width: 100%; max-height: 420px; margin: 16px 0; border-radius: 7px; }
.compact-intro { margin-bottom: 16px; }
.compact-intro h2 { margin-bottom: 4px; font-size: 23px; }
.listing-contact-panel { margin-top: 25px; }
@media (max-width: 700px) {
  .header-inner { min-height: 86px; padding: 13px 17px; gap: 10px; }
  .brand-name { font-size: 29px; letter-spacing: -1.2px; }
  .brand-url { font-size: 14px; }
  .nav-home { padding: 8px 10px; font-size: 13px; }
  .page-shell { padding: 25px 17px 45px; }
  .intro { padding-bottom: 18px; }
  .intro p, .page-intro > p:not(.eyebrow) { font-size: 16px; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 9px; }
  .section-heading h2 { font-size: 25px; }
  .listing-row { grid-template-columns: 88px minmax(0, 1fr); gap: 12px; padding: 16px 0; }
  .listing-thumb { width: 88px; height: 88px; font-size: 12px; }
  .listing-copy h3 { font-size: 17px; }
  .listing-description { font-size: 14px; line-height: 1.45; }
  .view-button { grid-column: 2; justify-self: start; padding: 6px 11px; font-size: 13px; }
  .empty-state { align-items: flex-start; padding: 17px; }
  .empty-icon { flex-basis: 34px; width: 34px; height: 34px; font-size: 20px; }
  .empty-state h3 { font-size: 17px; }
  .empty-state p { font-size: 14px; }
  .footer-main { padding: 23px 17px; grid-template-columns: 1fr; gap: 13px; }
  .footer-brand { padding: 0 0 12px; border: 0; border-bottom: 1px solid var(--line); }
  .footer-brand .brand-name { font-size: 28px; }
  .footer-nav { justify-content: flex-start; gap: 8px 0; padding-top: 0; }
  .footer-nav a { padding: 3px 11px; font-size: 14px; }
  .footer-nav a:first-child { padding-left: 0; }
  .footer-nav a + a { border-left: 1px solid #c8d0da; }
  .captcha-line { align-items: stretch; }
}
@media (max-width: 390px) {
  .brand-name { font-size: 25px; }
  .nav-home { padding: 7px 8px; font-size: 12px; }
}
