@import url('../_turqcms-modern.css');

/*
Tema Adi: Turqode Aurora
Versiyon: 1.0
Aciklama: Premium, modern, hizli ve SEO odakli aurora efektli blog/dergi temasi. Cam efekti, guclu tipografi, buyuk kapak kartlari ve mobil odakli deneyim sunar.
Yazar: Turqode
*/

:root {
  --tm-bg: #07111f;
  --tm-surface: rgba(255,255,255,.08);
  --tm-surface-2: rgba(255,255,255,.13);
  --tm-ink: #f7fbff;
  --tm-ink-soft: #c6d5e6;
  --tm-ink-faint: #8294aa;
  --tm-border: rgba(255,255,255,.14);
  --tm-teal: #5eead4;
  --tm-teal-light: #a78bfa;
  --tm-teal-tint: rgba(94,234,212,.13);
  --tm-pink: #f472b6;
  --tm-blue: #38bdf8;
  --tm-max: 760px;
  --tm-wide: 1180px;
  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --font-body: Inter, system-ui, sans-serif;
  --aurora-shadow: 0 28px 90px -50px rgba(0,0,0,.95);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--tm-ink);
  background:
    radial-gradient(circle at 12% -10%, rgba(94,234,212,.28), transparent 34%),
    radial-gradient(circle at 88% 6%, rgba(167,139,250,.24), transparent 36%),
    radial-gradient(circle at 50% 115%, rgba(244,114,182,.18), transparent 36%),
    linear-gradient(180deg, #07111f 0%, #0a1324 45%, #09111e 100%);
  line-height: 1.68;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.8), transparent 78%);
  z-index: -1;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--tm-teal); text-decoration: none; }
a:hover { color: #fff; }

.tm-container { max-width: var(--tm-wide); margin: 0 auto; padding: 0 24px; }
.tm-narrow { max-width: var(--tm-max); margin: 0 auto; padding: 0 24px; }

.tm-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--tm-border);
  background: rgba(7,17,31,.72);
  backdrop-filter: blur(20px);
  box-shadow: 0 20px 70px -55px #000;
}
.tm-header-inner {
  max-width: var(--tm-wide);
  margin: 0 auto;
  padding: 16px 24px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
}
.tm-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -.03em;
  font-size: 20px;
}
.tm-logo img { height: 34px; width: auto; }
.tm-logo-mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  color: #06111b;
  font-weight: 900;
  background: linear-gradient(135deg, var(--tm-teal), var(--tm-teal-light), var(--tm-pink));
  box-shadow: 0 0 34px rgba(94,234,212,.38);
}
.tm-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 7px;
  max-width: 100%;
  overflow-x: auto;
}
.tm-nav a {
  color: var(--tm-ink-soft);
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 700;
  white-space: nowrap;
}
.tm-nav a:hover {
  color: #fff;
  background: rgba(255,255,255,.09);
}
.tm-search-btn input {
  width: 150px !important;
  color: #fff;
  background: rgba(255,255,255,.08) !important;
  border-color: var(--tm-border) !important;
}
.tm-search-btn input::placeholder { color: var(--tm-ink-faint); }
.tm-menu-toggle { display: none; color: #fff; background: none; border: 0; font-size: 24px; }

.tm-hero {
  position: relative;
  padding: 92px 24px 58px;
  text-align: center;
}
.tm-hero::before {
  content: 'Premium CMS';
  display: inline-flex;
  margin-bottom: 18px;
  padding: 7px 13px;
  border: 1px solid var(--tm-border);
  border-radius: 999px;
  color: var(--tm-teal);
  background: rgba(255,255,255,.06);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.tm-hero h1 {
  margin: 0 auto 16px;
  max-width: 860px;
  font-family: var(--font-display);
  font-size: clamp(42px, 8vw, 78px);
  line-height: .92;
  letter-spacing: -.07em;
  color: #fff;
}
.tm-hero p {
  max-width: 660px;
  margin: 0 auto;
  color: var(--tm-ink-soft);
  font-size: 18px;
}

.tm-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  padding: 18px 0 76px;
}
.tm-card {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--tm-border);
  border-radius: 28px;
  padding: 14px;
  background: linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,.055));
  box-shadow: var(--aurora-shadow);
  backdrop-filter: blur(16px);
}
.tm-card:first-child {
  grid-column: span 2;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, .9fr);
  gap: 18px;
  align-items: stretch;
}
.tm-card-img {
  position: relative;
  display: block;
  aspect-ratio: 16/10;
  overflow: hidden;
  border-radius: 22px;
  background:
    radial-gradient(circle at 20% 20%, rgba(94,234,212,.28), transparent 36%),
    linear-gradient(135deg, rgba(56,189,248,.18), rgba(167,139,250,.18));
}
.tm-card:first-child .tm-card-img { aspect-ratio: auto; min-height: 320px; }
.tm-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .55s ease, filter .55s ease;
}
.tm-card:hover .tm-card-img img {
  transform: scale(1.055);
  filter: saturate(1.12) contrast(1.03);
}
.tm-card-cat {
  width: fit-content;
  margin: 16px 0 10px;
  padding: 6px 10px;
  border-radius: 999px;
  color: #06111b;
  background: linear-gradient(135deg, var(--tm-teal), var(--tm-blue));
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.tm-card h2 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: clamp(21px, 2.2vw, 30px);
  line-height: 1.04;
  letter-spacing: -.04em;
}
.tm-card h2 a { color: #fff; }
.tm-card h2 a:hover { color: var(--tm-teal); }
.tm-card p {
  margin: 0 0 14px;
  color: var(--tm-ink-soft);
  font-size: 14.5px;
}
.tm-card-meta {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--tm-ink-faint);
  font-size: 12.5px;
  font-weight: 600;
}
.tm-card-meta .dot::before { content: '•'; }

.tm-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 42px;
  align-items: start;
  padding: 24px 0 70px;
}
.tm-widget {
  margin-bottom: 18px;
  padding: 22px;
  border: 1px solid var(--tm-border);
  border-radius: 24px;
  background: rgba(255,255,255,.075);
  backdrop-filter: blur(15px);
}
.tm-widget h3 {
  margin: 0 0 16px;
  color: #fff;
  font-family: var(--font-display);
  font-size: 15px;
  letter-spacing: -.02em;
}
.tm-widget ul { list-style: none; padding: 0; margin: 0; }
.tm-widget li { padding: 10px 0; border-bottom: 1px solid var(--tm-border); font-size: 14px; }
.tm-widget li:last-child { border-bottom: 0; }
.tm-widget a { color: var(--tm-ink-soft); }
.tm-widget a:hover { color: var(--tm-teal); }
.tm-widget-tagcloud { display: flex; flex-wrap: wrap; gap: 8px; }
.tm-widget-tagcloud a,
.tm-tag {
  display: inline-flex;
  padding: 7px 11px;
  border: 1px solid var(--tm-border);
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  color: var(--tm-ink-soft);
  font-size: 12.5px;
  font-weight: 700;
}
.tm-search-form { display: flex; gap: 8px; }
.tm-search-form input,
.tm-comment-form textarea,
.tm-comment-form input {
  width: 100%;
  padding: 12px 13px;
  border: 1px solid var(--tm-border);
  border-radius: 14px;
  background: rgba(255,255,255,.08);
  color: #fff;
  font: inherit;
}
.tm-search-form button,
.tm-comment-form button,
.tm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  padding: 12px 18px;
  color: #06111b;
  font-weight: 900;
  cursor: pointer;
  background: linear-gradient(135deg, var(--tm-teal), var(--tm-blue));
  box-shadow: 0 16px 44px -24px var(--tm-teal);
}

.tm-article-header {
  max-width: 920px;
  margin: 0 auto;
  padding: 72px 24px 34px;
  text-align: center;
}
.tm-article-header .tm-card-cat { margin-left: auto; margin-right: auto; }
.tm-article-header h1 {
  margin: 14px auto 18px;
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(38px, 7vw, 70px);
  line-height: .95;
  letter-spacing: -.07em;
}
.tm-article-meta {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--tm-ink-faint);
  font-size: 13.5px;
}
.tm-article-meta .dot::before { content: '•'; }
.tm-featured-img {
  max-width: var(--tm-wide);
  margin: 0 auto 46px;
  border: 1px solid var(--tm-border);
  border-radius: 32px;
  overflow: hidden;
  box-shadow: var(--aurora-shadow);
}
.tm-article-body {
  color: var(--tm-ink-soft);
  font-size: 18px;
}
.tm-article-body > p:first-of-type {
  color: #edf7ff;
  font-size: 20px;
}
.tm-article-body h2,
.tm-article-body h3 {
  color: #fff;
  font-family: var(--font-display);
  letter-spacing: -.04em;
  line-height: 1.08;
}
.tm-article-body h2 { margin: 46px 0 16px; font-size: 34px; }
.tm-article-body h3 { margin: 34px 0 14px; font-size: 25px; color: var(--tm-teal); }
.tm-article-body p { margin: 0 0 22px; }
.tm-article-body ul,
.tm-article-body ol { margin: 0 0 22px; padding-left: 26px; }
.tm-article-body li { margin-bottom: 8px; }
.tm-article-body blockquote {
  margin: 34px 0;
  padding: 22px 24px;
  border: 1px solid var(--tm-border);
  border-left: 4px solid var(--tm-teal);
  border-radius: 18px;
  background: rgba(255,255,255,.07);
  color: #fff;
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1.45;
}
.tm-article-body img {
  border-radius: 22px;
  margin: 28px 0;
  box-shadow: var(--aurora-shadow);
}
.tm-article-body a { color: var(--tm-teal); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.tm-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 42px 0; }

.tm-comments {
  max-width: var(--tm-max);
  margin: 0 auto;
  padding: 44px 24px;
  border-top: 1px solid var(--tm-border);
}
.tm-comment {
  padding: 18px 0;
  border-bottom: 1px solid var(--tm-border);
}
.tm-comment strong { color: #fff; }
.tm-comment .tm-comment-date { color: var(--tm-ink-faint); font-size: 12px; margin-left: 8px; }
.tm-comment p { color: var(--tm-ink-soft); }

.tq-pagination {
  display: flex;
  justify-content: center;
  gap: 7px;
  flex-wrap: wrap;
  padding: 0 0 60px;
}
.tq-page-link {
  padding: 9px 14px;
  border: 1px solid var(--tm-border);
  border-radius: 999px;
  color: var(--tm-ink-soft);
  background: rgba(255,255,255,.05);
}
.tq-page-link.active {
  color: #06111b;
  background: linear-gradient(135deg, var(--tm-teal), var(--tm-blue));
}

.tm-footer {
  border-top: 1px solid var(--tm-border);
  background: rgba(4,10,20,.62);
  padding: 42px 0;
}
.tm-footer-inner {
  max-width: var(--tm-wide);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
}
.tm-footer-links { display: flex; gap: 16px; flex-wrap: wrap; }
.tm-footer-links a { color: var(--tm-ink-soft); font-size: 13px; }
.tm-footer p { margin: 0; color: var(--tm-ink-faint); font-size: 13px; }
.tm-empty-state {
  text-align: center;
  padding: 90px 20px;
  color: var(--tm-ink-soft);
}
.tm-empty-state h1 {
  margin: 0;
  color: transparent;
  -webkit-text-stroke: 2px var(--tm-teal);
  font-size: 96px;
}

@media (max-width: 1040px) {
  .tm-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tm-card:first-child { grid-column: span 2; }
}
@media (max-width: 860px) {
  .tm-header-inner { grid-template-columns: 1fr auto; }
  .tm-nav {
    grid-column: 1 / -1;
    justify-self: start;
    width: 100%;
    padding-bottom: 2px;
  }
  .tm-search-btn { display: none !important; }
  .tm-layout { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .tm-hero { padding-top: 62px; }
  .tm-grid { grid-template-columns: 1fr; }
  .tm-card:first-child {
    grid-column: auto;
    display: flex;
  }
  .tm-card:first-child .tm-card-img {
    min-height: 0;
    aspect-ratio: 16/10;
  }
  .tm-card,
  .tm-widget,
  .tm-featured-img { border-radius: 22px; }
}
