/* 19.10.2026 (FORM-43; operator: React Bits "Blog 6", filterable newsroom grid): the blog of emonseform.com in the shop's
   colours. A small line above a large one, the topics as tabs with a line under the chosen one, the posts as cards with
   the picture, its topic, an arrow, the date and the title; changing the topic slides the new cards in one after the
   other. Content at most 1080px, four columns on a wide screen, one on the phone. */
.blog {
  max-width: calc(1080px + 2 * var(--gutter));
  margin: 0 auto;
  padding: 64px var(--gutter) 96px;
}
.blog-bas {
  text-align: center;
  margin: 0 auto 44px;
  max-width: 980px;
}
.blog-ust {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}
.blog-bas h1 {
  margin: 0 0 16px;
  font: 400 clamp(40px, 6.4vw, 76px) / 1.02 var(--display);
  letter-spacing: -0.055em;
}
.blog-alt {
  max-width: 640px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
}

/* The tabs: real links, one line on every screen; the phone scrolls them sideways. */
.blog-sekmeler {
  position: relative;
  display: flex;
  justify-content: center;
  gap: 4px 34px;
  margin: 0 0 40px;
  padding: 0 4px;
  border-bottom: 1px solid var(--line);
  overflow-x: auto;
  scrollbar-width: none;
}
.blog-sekmeler::-webkit-scrollbar {
  display: none;
}
.blog-sekmeler a {
  flex: none;
  padding: 14px 2px 16px;
  color: var(--muted);
  font-size: 15px;
  transition: color 0.25s var(--ease);
}
.blog-sekmeler a[aria-current='page'] {
  color: var(--ink);
  font-weight: 650;
}
@media (hover: hover) {
  .blog-sekmeler a:hover {
    color: var(--ink);
  }
}
/* Drawn under the chosen tab by blog.js; without script the chosen tab carries its own line. */
.blog-cizgi {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 0;
  height: 2px;
  /* A nav span elsewhere carries a margin (measured 12px on the PC, 3px on the phone); the line stands at its tab. */
  margin: 0;
  background: var(--ink);
  transition:
    transform 0.45s var(--ease),
    width 0.45s var(--ease);
}
.blog-sekmeler:not(.is-cizili) a[aria-current='page'] {
  box-shadow: inset 0 -2px var(--ink);
}

.blog-izgara {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px 26px;
}
.blog-kart {
  min-width: 0;
  animation: blog-gir 0.6s var(--ease) both;
}
.blog-kart:nth-child(2) {
  animation-delay: 60ms;
}
.blog-kart:nth-child(3) {
  animation-delay: 120ms;
}
.blog-kart:nth-child(4) {
  animation-delay: 180ms;
}
.blog-kart:nth-child(n + 5) {
  animation-delay: 240ms;
}
.blog-kart a {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--light);
  white-space: normal;
  transition:
    border-color 0.3s var(--ease),
    transform 0.35s var(--ease);
}
.blog-kart-gorsel {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--line);
}
.blog-kart-gorsel img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.blog-etiket {
  display: inline-flex;
  align-items: center;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgb(34 38 65 / 0.78);
  color: var(--light);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.blog-kart-gorsel .blog-etiket {
  position: absolute;
  top: 12px;
  left: 12px;
  backdrop-filter: blur(6px);
}
.blog-ok {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--light);
  color: var(--ink);
  transition: transform 0.35s var(--ease);
}
.blog-ok svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.blog-kart-metin {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px 18px 22px;
}
.blog-kart-ust {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 0;
}
.blog-kart time {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.blog-kart h2 {
  margin: 0;
  font-size: 17px;
  font-weight: 650;
  line-height: 1.32;
  letter-spacing: -0.01em;
}
@media (hover: hover) {
  .blog-kart a:hover {
    border-color: var(--ink);
    transform: translateY(-3px);
  }
  .blog-kart a:hover img {
    transform: scale(1.045);
  }
  .blog-kart a:hover .blog-ok {
    transform: rotate(45deg);
  }
}
@keyframes blog-gir {
  from {
    opacity: 0;
    transform: translateX(28px);
  }
}
/* Leaving cards fade out before the new topic's cards slide in (blog.js). */
.blog-izgara.is-cikiyor .blog-kart {
  opacity: 0;
  transition: opacity 0.18s ease;
}
.blog-bos {
  margin: 64px 0;
  color: var(--muted);
  text-align: center;
  font-size: 17px;
}
.blog-alt-bolum {
  display: flex;
  justify-content: center;
  margin: 48px 0 0;
}
.blog-daha {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 0 26px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  transition:
    background 0.25s var(--ease),
    color 0.25s var(--ease);
}
@media (hover: hover) {
  .blog-daha:hover {
    background: var(--ink);
    color: var(--light);
  }
}
.blog-daha[aria-busy='true'] {
  opacity: 0.5;
  pointer-events: none;
}

/* One post. */
.blog-yazi {
  max-width: 760px;
  margin: 0 auto;
}
.blog-yol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 32px;
  color: var(--muted);
  font-size: 13px;
}
.blog-yol a {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}
.blog-yazi-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 13px;
}
.blog-yazi h1 {
  margin: 0 0 18px;
  font: 400 clamp(34px, 5vw, 56px) / 1.06 var(--display);
  letter-spacing: -0.045em;
}
.blog-yazi-ozet {
  margin: 0 0 36px;
  font-size: 19px;
  line-height: 1.55;
}
.blog-yazi-gorsel {
  margin: 0 0 40px;
}
.blog-yazi-gorsel img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 14px;
  background: var(--line);
}
.blog-yazi-gorsel figcaption {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 12px;
}
.blog-yazi-govde {
  font-size: 17px;
  line-height: 1.75;
}
.blog-yazi-govde h2 {
  margin: 44px 0 12px;
  font: 400 clamp(24px, 2.6vw, 32px) / 1.2 var(--display);
  letter-spacing: -0.03em;
}
.blog-yazi-govde p {
  margin: 0 0 18px;
}
.blog-guvenlik {
  margin: 40px 0 0;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: 10px;
  background: var(--light);
  font-size: 15px;
  line-height: 1.6;
}
.blog-guvenlik p {
  margin: 6px 0 0;
}
.blog-kaynaklar {
  margin: 44px 0 0;
  padding: 28px 0 0;
  border-top: 1px solid var(--line);
}
.blog-kaynaklar h2 {
  margin-top: 0;
}
.blog-kaynaklar ol {
  margin: 0;
  padding-left: 1.2em;
  font-size: 15px;
}
.blog-kaynaklar li {
  margin: 0 0 10px;
}
.blog-kaynaklar a {
  text-decoration: underline;
  text-underline-offset: 0.2em;
  overflow-wrap: anywhere;
}
.blog-kaynaklar small {
  display: block;
  color: var(--muted);
  font-size: 13px;
}
.blog-yayinci {
  margin: 36px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}
.blog-geri {
  display: inline-block;
  margin: 28px 0 0;
  font-weight: 600;
}
/* Stage 2 (19.10.2026): stars and sharing under every post, two cards side by side, one column on the phone. */
.blog-tepki {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 18px;
  margin: 40px 0 0;
}
.blog-puan,
.blog-paylas {
  padding: 22px 22px 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--light);
}
.blog-yazi-govde .blog-tepki h2 {
  margin: 0 0 12px;
  font: 600 13px / 1.3 var(--body);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.blog-yildizlar {
  display: flex;
  gap: 4px;
}
.blog-yildizlar button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: none;
  color: var(--line);
  cursor: pointer;
  transition:
    color 0.2s var(--ease),
    transform 0.2s var(--ease);
}
.blog-yildizlar svg {
  width: 30px;
  height: 30px;
  fill: currentColor;
  stroke: none;
}
.blog-yildizlar button.is-dolu {
  color: var(--accent);
}
.blog-yildizlar button:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}
.blog-yildizlar button:disabled {
  cursor: progress;
}
/* The post's paragraph rule (.blog-yazi-govde p) would set these lines' spacing. */
.blog-yazi-govde .blog-tepki p {
  margin: 10px 0 0;
}
.blog-puan-ozet {
  font-size: 15px;
}
.blog-puan-not {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}
.blog-puan-not a {
  color: var(--ink);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}
.blog-puan-bilgi {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}
.blog-puan-bilgi a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}
.blog-puan-kaldir {
  margin: 10px 0 0;
  padding: 0;
  border: 0;
  background: none;
  color: var(--muted);
  font: inherit;
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 0.2em;
  cursor: pointer;
}
.blog-paylas-dugmeler {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.blog-paylas-dugme {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 16px 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  font: 500 14px / 1 var(--body);
  text-decoration: none;
  cursor: pointer;
  transition:
    border-color 0.2s var(--ease),
    background-color 0.2s var(--ease);
}
/* The rule above would show the copy and Instagram buttons before the script (Codex on the code). */
.blog-paylas-dugme[hidden] {
  display: none;
}
.blog-paylas-dugme svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.blog-paylas-dugme:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}
.blog-paylas-durum {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.blog-kart-puan {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--muted);
  font-size: 13px;
}
.blog-kart-puan svg {
  width: 13px;
  height: 13px;
  fill: var(--accent);
}
@media (hover: hover) {
  .blog-yildizlar:hover button {
    color: var(--accent);
  }
  .blog-yildizlar button:hover ~ button {
    color: var(--line);
  }
  .blog-yildizlar button:hover {
    transform: scale(1.08);
  }
  .blog-paylas-dugme:hover {
    border-color: var(--ink);
    background: var(--light);
  }
}
.blog-hata {
  text-align: center;
}
.blog-hata h1 {
  font: 400 clamp(32px, 5vw, 52px) / 1.1 var(--display);
  margin: 40px 0 28px;
}

@media (max-width: 999px) {
  .blog-izgara {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 759px) {
  .blog-izgara {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 18px;
  }
  .blog-sekmeler {
    justify-content: flex-start;
    gap: 4px 26px;
  }
}
@media (max-width: 559px) {
  .blog {
    padding-top: 40px;
  }
  .blog-izgara {
    grid-template-columns: minmax(0, 1fr);
  }
  .blog-alt {
    font-size: 16px;
  }
  .blog-yazi-ozet {
    font-size: 17px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .blog-kart,
  .blog-kart a,
  .blog-kart-gorsel img,
  .blog-ok,
  .blog-cizgi,
  .blog-yildizlar button,
  .blog-paylas-dugme {
    animation: none;
    transition: none;
  }
  .blog-yildizlar button:hover {
    transform: none;
  }
}
