/* Listmonk public sayfaları için dedicode görünümü. Stok style.css'ten sonra yüklenir. */
:root {
  --ink: #1c1917;
  --muted: #6b645d;
  --line: #ece7e1;
  --accent: #0E605A;
  --accent-dark: #0A4A45;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: #fff;
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
}

a {
  color: var(--accent);
  text-decoration-color: color-mix(in srgb, var(--accent) 35%, transparent);
}

a:hover {
  color: var(--accent-dark);
}

h1,
h2,
h3 {
  font-weight: 750;
  letter-spacing: -0.015em;
  line-height: 1.2;
}

h1 {
  margin: 0 0 8px;
  font-size: 36px;
}

h2 {
  font-size: 26px;
}

.dc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1080px;
  width: 100%;
  margin: 0 auto;
  padding: 20px 24px;
}

.dc-brand {
  display: inline-flex;
  align-items: center;
}

.dc-brand img {
  display: block;
  width: auto;
  height: 28px;
}

.container {
  flex: 1;
  width: 100%;
  max-width: 640px;
  margin: 40px auto;
  padding: 0 24px;
}

.wrap {
  background: transparent;
  border: 0;
  box-shadow: none;
}

.header {
  display: none;
}

.button {
  min-width: 0;
  padding: 12px 22px;
  border-radius: 12px;
  background: var(--accent);
  font-size: 1em;
  font-weight: 650;
}

.button:hover {
  background: var(--accent-dark);
}

.button.button-outline {
  border-color: var(--line);
  background: #fff;
  color: var(--ink);
}

.button.button-outline:hover {
  border-color: var(--ink);
  background: #fff;
  color: var(--ink);
}

input[type="text"],
input[type="email"] {
  border-color: var(--line);
  border-radius: 10px;
  box-shadow: none;
}

input:focus {
  border-color: var(--accent);
}

label {
  color: var(--ink);
}

.data-form {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

/* Yayınlar: kart ızgarası */
.dc-yayinlar h1 {
  margin-bottom: 32px;
  text-align: center;
}

.container:has(.dc-yayinlar) {
  max-width: 1080px;
}

.yayin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.yayin-grid li {
  margin: 0;
}

.yayin-kart {
  display: flex;
  flex-direction: column;
  gap: 10px;
  height: 100%;
  min-height: 168px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  color: var(--ink);
  text-decoration: none;
  transition:
    transform 0.25s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.yayin-kart:hover {
  border-color: color-mix(in srgb, var(--accent) 35%, var(--line));
  box-shadow: 0 14px 30px rgb(28 25 23 / 8%);
  color: var(--ink);
  transform: translateY(-3px);
}

.yayin-kart:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--accent) 45%, transparent);
  outline-offset: 2px;
}

.yayin-tarih {
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.yayin-baslik {
  font-size: 19px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.yayin-oku {
  margin-top: auto;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  transition:
    color 0.2s ease,
    transform 0.2s ease;
}

.yayin-kart:hover .yayin-oku {
  color: var(--accent);
  transform: translateX(3px);
}

@media (prefers-reduced-motion: reduce) {
  .yayin-kart,
  .yayin-oku {
    transition: none;
  }

  .yayin-kart:hover,
  .yayin-kart:hover .yayin-oku {
    transform: none;
  }
}

.dc-empty {
  padding: 24px;
  text-align: center;
  border: 1px dashed var(--line);
  border-radius: 12px;
  color: var(--muted);
}

.pg-page {
  color: var(--muted);
}

/* Alt bilgi: sitenin (src/styles/global.css .site-footer) ve yayın sayfasının alt bilgisiyle aynı. */
.dc-footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.dc-footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  max-width: 1080px;
  margin: 0 auto;
  padding: 24px;
}

.dc-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}

.dc-footer a {
  color: var(--muted);
  text-decoration: none;
}

.dc-footer a:hover {
  color: var(--ink);
}
