:root {
  --primary: #14532d;
  --primary-dark: #052e16;
  --primary-soft: #166534;
  --pink: #14532d;
  --yellow: #d1fae5;
  --ink: #333333;
  --muted: #666666;
  --line: #e5e5e5;
  --paper: #ffffff;
  --soft: #fafafa;
}

* {
  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.75;
}

body:not(.clone-page) {
  background:
    radial-gradient(circle at 12% 0, rgba(21, 128, 61, .08), transparent 280px),
    linear-gradient(180deg, #f8fafc 0, #ffffff 320px),
    #ffffff;
  color: #1e293b;
  font-family: "Segoe UI", Arial, Helvetica, sans-serif;
}

a {
  color: #14532d;
  font-weight: 700;
  text-decoration: none;
}

a:hover {
  color: #111111;
  text-decoration: underline;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 74px;
  background: #ffffff;
  border-top: 0;
  border-bottom: 1px solid rgba(148, 163, 184, .32);
  box-shadow: 0 10px 26px rgba(30, 41, 59, .08);
}

.header-inner {
  max-width: 1290px;
  margin: 0 auto;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0;
  min-width: 0;
  color: #1e293b;
  text-decoration: none;
}

.brand:hover {
  color: #1e293b;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(180deg, #166534, #14532d);
  box-shadow: 0 8px 18px rgba(20, 83, 45, .18);
  color: #ffffff;
  font-size: 26px;
  font-weight: 800;
  line-height: 1;
}

.brand-copy {
  display: grid;
  gap: 3px;
  line-height: 1;
}

.site-logo-image {
  display: block;
  width: clamp(180px, 22vw, 260px);
  height: auto;
}

.site-logo-label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.brand-copy strong {
  color: #102a1a;
  font-size: 24px;
  font-weight: 900;
  letter-spacing: 0;
}

.brand-copy strong span {
  color: #166534;
}

.brand-copy small {
  color: #64748b;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.menu-toggle {
  display: none;
}

.menu-button {
  display: none;
  margin-left: auto;
  padding: 8px 10px;
  border-radius: 4px;
  background: var(--primary);
  color: #ffffff;
  font-weight: 700;
  cursor: pointer;
}

.main-nav {
  display: flex;
  align-items: stretch;
  gap: 0;
  margin-left: auto;
}

.main-nav > a {
  display: flex;
  align-items: center;
  padding: 16px 8px;
  color: var(--ink);
  font-size: 15px;
}

.main-nav > a:hover {
  background: var(--primary);
  color: #ffffff;
  text-decoration: none;
}

.search {
  display: flex;
  align-items: center;
  margin-right: 8px;
}

.search input {
  width: 190px;
  height: 40px;
  border: 4px solid var(--primary);
  border-right: 0;
  border-radius: 8px 0 0 8px;
  padding: 0 10px;
  font: inherit;
  outline: 0;
}

.search button {
  height: 40px;
  border: 4px solid var(--primary);
  border-left: 0;
  border-radius: 0 8px 8px 0;
  background: var(--yellow);
  color: #000000;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.site-shell {
  max-width: 1290px;
  margin: 0 auto;
  padding: 16px;
  display: grid;
  grid-template-columns: minmax(0, 970px) minmax(190px, 300px);
  gap: 20px;
}

.main-content {
  min-width: 0;
}

.intro h1,
.content-card h1 {
  margin: 0 0 12px;
  color: var(--pink);
  font-size: 30px;
  line-height: 1.2;
}

.content-card h1::after {
  content: "";
  display: block;
  width: 96px;
  height: 5px;
  margin-top: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, #14532d, #bbf7d0);
}

.intro p,
.content-card p {
  margin: 0 0 24px;
  color: #555555;
  text-align: justify;
}

.updates h2,
.follow-box h2,
.categories h2,
.sidebar h2,
.content-card h2 {
  margin: 24px 0 14px;
  border-radius: 8px;
  background: #14532d;
  color: #ffffff;
  padding: 8px 12px;
  text-align: center;
  font-size: 20px;
  line-height: 1.25;
}

.timeline-item {
  position: relative;
  margin-left: 22px;
  padding: 50px 16px 2px 34px;
  border-left: 2px solid #14532d;
  text-align: justify;
}

.timeline-item::before {
  content: attr(data-date);
  position: absolute;
  top: 16px;
  left: 34px;
  font-weight: 800;
}

.timeline-item::after {
  content: "";
  position: absolute;
  top: 23px;
  left: -8px;
  width: 10px;
  height: 10px;
  border: 2px solid #14532d;
  border-radius: 999px;
  background: #ffffff;
}

.timeline-item p {
  margin: 0 0 12px;
}

.timeline-item:last-child {
  border-image: linear-gradient(to bottom, #14532d 65%, transparent) 1 100%;
}

.follow-box {
  margin: 28px 0 18px;
  text-align: center;
}

.socials {
  display: flex;
  justify-content: center;
  gap: 14px;
}

.socials a {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--primary);
  color: #ffffff;
  font-size: 22px;
  text-transform: uppercase;
}

.suggestion {
  display: block;
  margin: 22px 0;
  border-radius: 8px;
  background: #14532d;
  color: #ffffff;
  padding: 16px;
  text-align: center;
}

.suggestion:hover {
  background: var(--primary-dark);
  color: #ffffff;
  text-decoration: none;
}

.suggestion strong {
  display: block;
  color: var(--yellow);
  font-size: 24px;
}

.suggestion span {
  display: block;
  margin-top: 5px;
  font-weight: 400;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.category-card {
  border: 1px solid var(--primary-soft);
  border-radius: 8px;
  overflow: hidden;
  background: #ffffff;
}

.category-card h3 {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  background: var(--primary);
  color: #ffffff;
  padding: 10px 12px;
  font-size: 17px;
  line-height: 1.25;
}

.category-card h3 span {
  color: var(--yellow);
  font-size: 14px;
}

.link-list {
  display: grid;
}

.link-list a,
.side-links a {
  display: block;
  padding: 7px 10px;
  border-bottom: 1px solid #dddddd;
  border-left: 4px solid #eeeeee;
  color: #14532d;
  font-size: 15px;
  line-height: 1.35;
}

.link-list a:last-child,
.side-links a:last-child {
  border-bottom: 0;
}

.link-list a:hover,
.side-links a:hover {
  border-left-color: var(--primary);
  background: #eeeeee;
  color: #111111;
  text-decoration: none;
}

.sidebar {
  align-self: start;
  position: sticky;
  top: 96px;
}

.side-links {
  border: 1px solid var(--primary-soft);
  border-radius: 0 0 8px 8px;
  overflow: hidden;
}

.page {
  max-width: 970px;
  margin: 0 auto;
  padding: 24px 16px;
}

.content-card {
  border: 1px solid rgba(148, 163, 184, .36);
  border-radius: 10px;
  background: #ffffff;
  box-shadow: 0 18px 42px rgba(30, 41, 59, .07);
}

.top-nav {
  margin-left: auto;
  display: flex;
  gap: 16px;
}

.footer {
  margin-top: 40px;
  border-top: 0;
  background: #1e293b;
  color: #cbd5e1;
  padding: 24px 16px;
  text-align: center;
}

.footer q {
  display: block;
  color: #ffffff;
  font-size: 28px;
  font-weight: 800;
  quotes: none;
}

.footer nav {
  margin: 10px 0;
}

.footer nav a,
.footer > a {
  display: inline-block;
  margin: 4px 10px;
}

.footer p {
  margin: 8px 0 0;
}

.footer a {
  color: #d1fae5;
}

[hidden] {
  display: none !important;
}

@media (max-width: 1050px) {
  .site-shell {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
  }
}

@media (max-width: 860px) {
  .header-inner {
    flex-wrap: wrap;
  }

  .menu-button {
    display: inline-block;
  }

  .main-nav {
    display: none;
    width: 100%;
    margin-left: 0;
    background: var(--primary);
  }

  .menu-toggle:checked + .main-nav {
    display: grid;
  }

  .main-nav > a {
    color: #ffffff;
    padding: 10px 14px;
    border-top: 1px dotted var(--primary-dark);
  }

  .main-nav > a:hover {
    background: var(--primary-soft);
  }

  .search {
    margin: 10px;
  }

  .search input {
    width: 100%;
  }

  .category-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 15px;
  }

  .site-header {
    min-height: 68px;
  }

  .header-inner {
    padding: 8px 10px;
  }

  .brand {
    min-width: 0;
  }

  .site-logo-image {
    width: clamp(150px, 44vw, 220px);
  }

  .brand-mark {
    width: 36px;
    height: 36px;
    font-size: 24px;
  }

  .brand-copy strong {
    font-size: 18px;
  }

  .brand-copy small {
    font-size: 11px;
  }

  .site-shell,
  .page {
    padding: 14px 10px;
  }

  .intro h1,
  .content-card h1 {
    font-size: 26px;
  }

  .timeline-item {
    margin-left: 10px;
    padding-left: 24px;
  }

  .timeline-item::before {
    left: 24px;
  }

  .footer q {
    font-size: 22px;
  }
}

/* Sonucbul.com yerleşimi */
.clone-page {
  margin-top: 0;
  background:
    radial-gradient(circle at 12% 0, rgba(21, 128, 61, .12), transparent 280px),
    radial-gradient(circle at 88% 20px, rgba(21, 128, 61, .1), transparent 300px),
    linear-gradient(180deg, #f8fafc 0, #ffffff 320px),
    #ffffff;
  color: #1e293b;
  font-family: "Segoe UI", Arial, Helvetica, sans-serif;
  letter-spacing: 0;
}

.clone-page .hn-header {
  position: relative;
  min-height: 74px;
  padding: 12px;
  border-top: 0;
  border-bottom: 1px solid rgba(148, 163, 184, .32);
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 10px 26px rgba(30, 41, 59, .08);
  backdrop-filter: blur(14px);
  z-index: 9998;
}

.clone-page .hn-logo {
  display: inline-flex;
  align-items: center;
  gap: 0;
  color: #1e293b;
  text-decoration: none;
}

.clone-page .hn-logo:hover {
  color: #1e293b;
  text-decoration: none;
}

.clone-page .hn-logo-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(180deg, #166534, #14532d);
  color: #ffffff;
  font-size: 26px;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 8px 18px rgba(20, 83, 45, .18);
}

.clone-page .hn-logo-copy {
  display: grid;
  gap: 3px;
  line-height: 1;
}

.clone-page .hn-logo-text {
  color: #102a1a;
  font-size: 24px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
}

.clone-page .hn-logo-text span {
  color: #166534;
}

.clone-page .hn-logo-copy small {
  color: #64748b;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.clone-page .hn-nav-toggle,
.clone-page .hn-search-toggle,
.clone-page .ncb {
  display: none;
}

.clone-page #ntum {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 10000;
  display: block;
  padding: 8px 9px;
  border-radius: 6px;
  background: #14532d;
  color: #ffffff;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}

.clone-page #ntum::after,
.clone-page .nlb::after {
  content: "";
  display: inline-block;
  width: 13px;
  height: 13px;
  margin-left: 8px;
  background:
    linear-gradient(45deg, transparent 45%, #ffffff 45% 56%, transparent 56%) 0 0 / 100% 100%,
    linear-gradient(-45deg, transparent 45%, #ffffff 45% 56%, transparent 56%) 0 0 / 100% 100%;
  transform: rotate(45deg);
}

.clone-page .hn-nav {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 9999;
}

.clone-page #nkok {
  display: none;
  position: relative;
  top: 74px;
  width: 100vw;
  max-width: 440px;
  height: calc(100vh - 74px);
  margin: 0;
  padding: 0;
  overflow-y: auto;
  list-style: none;
  background: #14532d;
}

.clone-page #nav-toggle:checked ~ .hn-nav #nkok {
  display: block;
}

.clone-page #nkok > li {
  display: block;
  width: 100%;
}

.clone-page #nkok > li > a {
  display: none;
}

.clone-page .nlb {
  display: block;
  padding: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, .14);
  color: #ffffff;
  font-weight: 700;
  cursor: pointer;
}

.clone-page .nlb:hover {
  background: #14532d;
}

.clone-page .nlb::after {
  float: right;
  width: 16px;
  height: 16px;
  margin-top: 4px;
}

.clone-page .nalt {
  display: none;
}

.clone-page .ncb:checked + .nalt {
  display: block;
}

.clone-page .nalt a {
  display: block;
  padding: 10px 8px 10px 32px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  background: #14532d;
  color: #ffffff;
  font-size: 15px;
}

.clone-page .nalt a:hover {
  background: #14532d;
  color: #ffffff;
  text-decoration: none;
}

.clone-page .nyeni::after {
  content: "yeni";
  display: inline-block;
  margin-left: 7px;
  padding: 0 4px;
  border-radius: 999px;
  background: #64748b;
  color: #ffffff;
  font-size: 70%;
  font-style: italic;
  line-height: 1.4;
  vertical-align: middle;
}

.clone-page .nav-search {
  padding: 10px;
}

.clone-page #nlara {
  display: none;
}

.clone-page #narama {
  display: flex;
}

.clone-page #ara {
  min-width: 0;
  flex: 1;
  height: 42px;
  padding: 0 12px;
  border: 2px solid #14532d;
  border-right: 0;
  border-radius: 8px 0 0 8px;
  background: #ffffff;
  color: #0f172a;
  caret-color: #14532d;
  font: inherit;
  line-height: 42px;
  outline: none;
  cursor: text;
}

.clone-page #ara::placeholder {
  color: #64748b;
  opacity: 1;
}

.clone-page #narama:focus-within #ara,
.clone-page #narama:focus-within #git {
  border-color: #166534;
  box-shadow: 0 0 0 3px rgba(22, 101, 52, .14);
}

.clone-page #git {
  height: 42px;
  padding: 0 18px;
  border: 2px solid #14532d;
  border-left: 0;
  border-radius: 0 8px 8px 0;
  background: #14532d;
  color: #ffffff;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.clone-page #git:hover {
  background: #166534;
}

.clone-page #container {
  display: block;
  max-width: none;
  margin: 0;
  padding: 18px 10px;
}

.clone-page main {
  min-width: 0;
  border: 1px solid rgba(148, 163, 184, .36);
  border-radius: 10px;
  background: rgba(255, 255, 255, .96);
  padding: 20px;
  box-shadow: 0 18px 42px rgba(30, 41, 59, .07);
}

.clone-page h1 {
  margin: 0 0 12px;
  color: #1e293b;
  font-size: 25px;
  font-weight: 800;
  line-height: 1.25;
}

.clone-page h1::after {
  content: "";
  display: block;
  width: 96px;
  height: 5px;
  margin-top: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, #14532d, #bbf7d0);
}

.clone-page h1 + p {
  margin: 0 0 20px;
  color: #475569;
  font-size: 16px;
  line-height: 1.8;
  text-align: left;
}

.clone-page h4 {
  margin: 20px 0 0;
  border-radius: 8px;
  background: #14532d;
  color: #ffffff;
  padding: 9px 14px;
  text-align: left;
  font-size: 20px;
  line-height: 1.25;
}

.clone-page .mad {
  display: flex;
  min-height: 270px;
  margin: 26px 0;
  align-items: center;
  justify-content: center;
  border: 1px dashed #94a3b8;
  border-radius: 10px;
  background:
    linear-gradient(135deg, rgba(21, 128, 61, .08), rgba(21, 128, 61, .05)),
    #f8fbf8;
  color: #64748b;
  text-align: center;
}

.clone-page .zciz {
  position: relative;
  margin: 12px 0 0;
  padding: 48px 16px 14px 48px;
  border: 1px solid rgba(148, 163, 184, .24);
  border-left: 5px solid #14532d;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 10px 26px rgba(30, 41, 59, .05);
  text-align: justify;
}

.clone-page .zciz::before {
  content: attr(data-date);
  position: absolute;
  top: 16px;
  left: 48px;
  color: #1e293b;
  font-weight: 800;
}

.clone-page .zciz::after {
  content: "";
  position: absolute;
  top: 20px;
  left: 18px;
  width: 14px;
  height: 14px;
  border: 3px solid rgba(21, 128, 61, .22);
  border-radius: 50%;
  background: #14532d;
}

.clone-page .zciz:last-of-type {
  border-image: none;
}

.clone-page .popular-tools {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.clone-page .popular-card {
  display: block;
  min-height: 132px;
  border: 1px solid rgba(148, 163, 184, .34);
  border-left: 5px solid #14532d;
  border-radius: 8px;
  background: #ffffff;
  padding: 14px 15px;
  color: #475569;
  box-shadow: 0 8px 20px rgba(30, 41, 59, .045);
}

.clone-page .popular-card:hover {
  border-color: rgba(21, 128, 61, .42);
  border-left-color: #14532d;
  background: #f8fbf8;
  color: #475569;
  text-decoration: none;
}

.clone-page .popular-card strong {
  display: block;
  margin-bottom: 8px;
  color: #1e293b;
  font-size: 18px;
  line-height: 1.25;
}

.clone-page .popular-card span {
  display: block;
  font-weight: 400;
  line-height: 1.55;
}

.clone-page .takip,
.clone-page .sosyal {
  margin-top: 10px;
  text-align: center;
}

.clone-page .takip a,
.clone-page .sosyal a {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin: 6px;
  border-radius: 8px;
  background: #14532d;
  color: #ffffff;
  font-size: 22px;
  text-transform: uppercase;
}

.clone-page aside {
  display: none;
}

.clone-page .side-ad {
  display: flex;
  min-height: 600px;
  margin-top: 20px;
  align-items: center;
  justify-content: center;
  border: 1px dashed #94a3b8;
  border-radius: 10px;
  background: #f8fbf8;
  color: #64748b;
}

.clone-page h5 {
  margin: 18px 0 0;
  border-left: 5px solid #bbf7d0;
  border-radius: 8px 8px 0 0;
  background: #14532d;
  color: #ffffff;
  padding: 6px 8px;
  font-size: 17px;
}

.clone-page .ilgi {
  border: 1px solid rgba(148, 163, 184, .32);
  border-top: 0;
  border-radius: 0 0 8px 8px;
  overflow: hidden;
}

.clone-page .ilgi a {
  display: block;
  border-bottom: 1px solid #dddddd;
  border-left: 4px solid #e2e8f0;
  color: #14532d;
  padding: 6px 8px;
  font-size: 15px;
}

.clone-page .ilgi a:hover {
  border-left-color: #14532d;
  background: #f3faf5;
  text-decoration: none;
}

.clone-page footer {
  margin-top: 20px;
  border-top: 0;
  background: #1e293b;
  color: #cbd5e1;
  padding: 24px 10px;
  text-align: center;
}

.clone-page footer q {
  display: block;
  color: #ffffff;
  font-size: 24px;
  font-weight: 800;
  quotes: none;
}

.clone-page footer div {
  margin-top: 8px;
}

.clone-page footer div a {
  display: inline-block;
  margin: 4px 10px;
}

.clone-page footer a {
  color: #d1fae5;
}

@media (min-width: 500px) {
  .clone-page h1 {
    font-size: 28px;
  }
}

@media (max-width: 700px) {
  .clone-page .popular-tools {
    grid-template-columns: 1fr;
  }

  .clone-page .popular-card {
    min-height: 0;
  }
}

@media (min-width: 1200px) {
  .clone-page {
    margin-top: 74px;
  }

  .clone-page .hn-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
  }

  .clone-page .hn-logo {
    margin-left: 7px;
  }

  .clone-page .site-logo-image {
    width: clamp(160px, 18vw, 230px);
  }

  .clone-page #ntum,
  .clone-page .nlb {
    display: none;
  }

  .clone-page .hn-nav {
    position: fixed;
    top: 0;
    right: 0;
  }

  .clone-page #nkok,
  .clone-page #nav-toggle:checked ~ .hn-nav #nkok {
    display: flex;
    top: 5px;
    width: auto;
    max-width: none;
    height: 69px;
    overflow: visible;
    background: transparent;
  }

  .clone-page #nkok > li {
    position: relative;
    width: auto;
  }

  .clone-page #nkok > li > a {
    display: block;
    padding: 19px 5px 18px;
    color: #1e293b;
    border-radius: 999px;
    margin: 12px 1px 0;
    padding: 8px 8px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
  }

  .clone-page #nkok > li:hover > a {
    background: #14532d;
    color: #ffffff;
    text-decoration: none;
  }

  .clone-page .nalt {
    position: absolute;
    top: 56px;
    left: -50px;
    display: none;
    width: max-content;
    min-width: 230px;
    max-height: calc(100vh - 80px);
    padding: 0 0 50px 50px;
    overflow-y: auto;
    border-right: 50px outset transparent;
  }

  .clone-page #nkok > li:hover > .nalt {
    display: block;
  }

  .clone-page #nkok > li:nth-last-child(-n+4) .nalt {
    right: 0;
    left: auto;
  }

  .clone-page .nalt a {
    padding: 2px 10px;
    border: 0;
    background: #14532d;
    font-size: 14px;
    line-height: 1.9;
    white-space: nowrap;
  }

  .clone-page .nav-search {
    order: 99;
    padding: 0;
  }

  .clone-page #nlara {
    position: relative;
    display: block;
    width: 58px;
    height: 69px;
    cursor: pointer;
    background: transparent;
  }

  .clone-page #nlara::before,
  .clone-page #nlara::after {
    content: "";
    position: absolute;
    display: block;
  }

  .clone-page #nlara::before {
    top: 22px;
    left: 17px;
    width: 18px;
    height: 18px;
    border: 3px solid #14532d;
    border-radius: 50%;
  }

  .clone-page #nlara::after {
    top: 40px;
    left: 35px;
    width: 13px;
    height: 3px;
    border-radius: 999px;
    background: #14532d;
    transform: rotate(45deg);
    transform-origin: left center;
  }

  .clone-page #search-toggle:checked + #nlara::before {
    border-color: #166534;
  }

  .clone-page #search-toggle:checked + #nlara::after {
    background: #166534;
  }

  .clone-page #narama {
    display: none;
  }

  .clone-page #search-toggle:checked + #nlara + #narama {
    position: absolute;
    top: 0;
    right: 58px;
    display: flex;
    width: calc(100vw - 250px);
    max-width: 980px;
  }

  .clone-page #ara,
  .clone-page #git {
    height: 58px;
  }

  .clone-page #container {
    max-width: 1290px;
    margin: 0 auto;
    padding: 20px 55px 0 4px;
    display: grid;
    grid-template-columns: 970px minmax(160px, 300px);
    gap: 15px;
  }

  .clone-page aside {
    display: block;
    min-width: 0;
  }

  .clone-page h1 {
    font-size: 30px;
  }

  .clone-page h1 + p {
    font-size: 16px;
  }

  .clone-page .mad {
    min-height: 310px;
    margin: 20px 0;
  }

  .clone-page footer {
    margin-top: 28px;
  }
}

/* Araç sayfaları */
.tool-header .brand-mark {
  background: linear-gradient(180deg, #166534, #14532d);
}

.tool-header .brand-copy,
.tool-header .brand strong,
.tool-header .brand strong span {
  color: inherit;
}

.tool-page {
  max-width: 980px;
}

.tool-card {
  border: 1px solid rgba(148, 163, 184, .36);
  border-radius: 10px;
  padding: 22px;
  background: #ffffff;
  box-shadow: 0 18px 42px rgba(30, 41, 59, .07);
}

.calculator-root {
  margin: 22px 0;
  border: 1px solid rgba(148, 163, 184, .36);
  border-radius: 10px;
  overflow: hidden;
  background: #f8fbf8;
}

.calc-form {
  padding: 18px;
  background: #ffffff;
}

.calc-form-compact {
  padding: 14px;
}

.calc-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.calc-form-compact .calc-grid {
  gap: 10px;
}

.calc-form-exam .calc-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.calc-form-education-long .calc-grid {
  gap: 10px;
}

.calc-field {
  display: grid;
  gap: 6px;
  color: #334155;
  font-weight: 700;
}

.calc-form-exam .calc-field {
  grid-column: 1 / -1;
}

.calc-form-exam .calc-field.calc-exam-field {
  grid-column: auto;
  min-width: 0;
}

.calc-exam-heading {
  color: #14532d;
  font-weight: 800;
  padding-top: 4px;
}

.calc-form-exam .calc-field.calc-exam-field > span {
  font-size: 13px;
  line-height: 1.2;
}

.calc-form-education-long .calc-field > span {
  font-size: 13px;
  line-height: 1.25;
}

.calc-wide {
  grid-column: 1 / -1;
}

.calc-field input,
.calc-field select,
.calc-field textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 9px 11px;
  background: #ffffff;
  color: #1e293b;
  font: inherit;
  box-shadow: none;
}

.calc-form-compact .calc-field {
  gap: 4px;
}

.calc-form-compact .calc-field input,
.calc-form-compact .calc-field select,
.calc-form-compact .calc-field textarea {
  min-height: 40px;
  padding: 7px 10px;
}

.calc-form-exam .calc-field.calc-exam-field input {
  min-height: 40px;
  padding: 7px 10px;
}

.calc-field input::placeholder,
.calc-field textarea::placeholder {
  color: #94a3b8;
  opacity: 1;
}

.calc-field select:invalid {
  color: #94a3b8;
}

.calc-field select option {
  color: #0f172a;
}

.calc-field textarea {
  min-height: 110px;
  resize: vertical;
}

.calc-check > span,
.calc-section-title {
  color: #14532d;
  font-weight: 800;
}

.check-line {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  min-height: 44px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 10px 11px;
  background: #ffffff;
  color: #334155;
  font-weight: 600;
}

.check-line input {
  width: auto;
  min-height: 0;
  margin-top: 3px;
}

.calc-section-title {
  border-bottom: 1px solid rgba(20, 83, 45, .22);
  padding: 6px 0 2px;
}

.calc-field input:focus,
.calc-field select:focus,
.calc-field textarea:focus {
  outline: 3px solid rgba(20, 83, 45, .16);
  border-color: #14532d;
}

.calc-actions {
  display: flex;
  gap: 10px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.calc-actions button {
  border: 0;
  border-radius: 8px;
  padding: 11px 18px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.calc-actions button[type="submit"] {
  background: #14532d;
  color: #ffffff;
}

.calc-actions button[type="reset"] {
  background: #e2e8f0;
  color: #1e293b;
}

.calc-result {
  border-top: 1px solid rgba(148, 163, 184, .36);
  padding: 18px;
  background: #f8fbf8;
}

.calc-result h3 {
  margin: 0 0 12px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #14532d;
  padding: 0;
  text-align: left;
  font-size: 21px;
}

.calc-result dl {
  margin: 0;
  display: grid;
  gap: 10px;
}

.calc-result dl div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  border-bottom: 1px solid rgba(148, 163, 184, .28);
  padding-bottom: 8px;
}

.calc-result dt {
  color: #475569;
  font-weight: 700;
}

.calc-result dd {
  margin: 0;
  color: #1e293b;
  font-weight: 800;
  text-align: right;
}

.calc-note {
  margin: 14px 0 0;
  color: #64748b;
  font-size: 14px;
}

.calc-table-wrap {
  margin-top: 18px;
  overflow-x: auto;
  border: 1px solid rgba(148, 163, 184, .4);
  border-radius: 8px;
  background: #ffffff;
}

.calc-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 860px;
  font-size: 14px;
}

.calc-table th,
.calc-table td {
  border-bottom: 1px solid rgba(148, 163, 184, .26);
  padding: 9px 10px;
  text-align: right;
  white-space: nowrap;
}

.calc-table th {
  background: #ecfdf3;
  color: #14532d;
  font-weight: 800;
}

.calc-table th:first-child,
.calc-table td:first-child,
.calc-table th:nth-child(2),
.calc-table td:nth-child(2) {
  text-align: left;
}

.calc-table tfoot td {
  background: #f3f8f3;
  color: #1e293b;
  font-weight: 800;
}

.tool-info h2 {
  text-align: left;
}

.related-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 10px;
}

.related-links a {
  display: block;
  padding: 11px 13px;
  border: 1px solid rgba(148, 163, 184, .35);
  border-left: 4px solid #14532d;
  border-radius: 8px;
  background: #f8fbf8;
  color: #14532d;
  font-weight: 700;
  text-decoration: none;
}

.related-links a:hover {
  border-color: rgba(21, 128, 61, .42);
  background: #f3faf5;
}

@media (max-width: 700px) {
  .tool-card {
    padding: 16px;
  }

  .related-links {
    grid-template-columns: 1fr;
  }

  .calc-grid {
    grid-template-columns: 1fr;
  }

  .calc-form-compact .calc-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .calc-form-education .calc-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .calc-form-health .calc-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .calc-form-math .calc-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .calc-form-time .calc-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .calc-form-tax .calc-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .calc-form-other .calc-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .calc-form-education-long .calc-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .calc-result dl div {
    display: grid;
  }

  .calc-result dd {
    text-align: left;
  }
}

@media (max-width: 340px) {
  .calc-form-compact .calc-grid {
    grid-template-columns: 1fr;
  }

  .calc-form-education .calc-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .calc-form-health .calc-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .calc-form-math .calc-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .calc-form-time .calc-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .calc-form-tax .calc-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .calc-form-other .calc-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .calc-form-education-long .calc-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .calc-form-exam .calc-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
