/* Tüylüm Blog (24 Eki 2026): sitenin style.css'i üstüne. Telefon önce; koyu tema aşağıda. */

/* ---- Blog ana sayfası ve tür sayfaları (telefon önce) ---- */
.blog-hero { text-align: center; padding: 24px 18px 92px; border-radius: 24px; color: #fff;
  background: radial-gradient(120% 90% at 50% 0%, #86d6b9 0%, #3f9c84 55%, #2f8c74 100%); box-shadow: 0 14px 34px rgba(31, 107, 88, 0.2); }
.blog-hero h1 { color: #fff; font-size: clamp(26px, 7vw, 38px); margin: 0 0 6px; letter-spacing: -0.6px; }
.blog-hero p { margin: 0 auto; max-width: 480px; color: rgba(255, 255, 255, 0.92); font-size: 16px; line-height: 1.5; }
h2.bh { font-size: 20px; margin: 28px 0 12px; letter-spacing: -0.3px; }
.tag { display: inline-block; font-size: 11.5px; font-weight: 800; letter-spacing: 0.4px; color: var(--primary); background: var(--soft); padding: 3px 9px; border-radius: 999px; }
.tag.tur { color: var(--muted); background: var(--bg); border: 1px solid var(--line); }
.tag.vet { color: #8a5a00; background: #fdf1d8; }
.meta { color: var(--muted); font-size: 13.5px; line-height: 1.55; }

/* Tür kutuları: fotoğraf + altta ad */
.cats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
/* Telefonda tek kalan son kutu tam genişlikte */
@media (max-width: 639px) { .cats .cat:last-child:nth-child(odd) { grid-column: span 2; aspect-ratio: 8 / 3; } }
@media (min-width: 640px) { .cats { grid-template-columns: repeat(3, 1fr); gap: 12px; } }
@media (min-width: 900px) { .cats { grid-template-columns: repeat(4, 1fr); } }
.cat { position: relative; display: block; border-radius: 18px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--soft); text-decoration: none; }
.cat img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .25s; }
.cat:hover img { transform: scale(1.04); }
.cat span { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 12px 10px; background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.62)); color: #fff; }
.cat b { display: block; font-size: 17px; line-height: 1.2; letter-spacing: -0.2px; }
.cat i { font-style: normal; font-size: 12.5px; font-weight: 700; opacity: 0.9; }

/* Yazı kartları */
.posts { display: grid; gap: 12px; }
@media (min-width: 720px) { .posts { grid-template-columns: 1fr 1fr; } }
.postcard { display: block; background: var(--card); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; text-decoration: none; color: var(--text); transition: transform .15s, box-shadow .15s; }
.postcard:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(31, 107, 88, 0.14); }
.postcard img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; display: block; background: var(--soft); }
.postcard .pt { padding: 14px 16px 16px; display: grid; gap: 6px; }
.postcard .tags { display: flex; flex-wrap: wrap; gap: 6px; }
.postcard b { font-size: 19px; line-height: 1.28; letter-spacing: -0.3px; }
.postcard .go { font-weight: 800; color: var(--primary); }

/* Sıradaki yazılar: sade liste */
.upnext { list-style: none; padding: 0; margin: 0; background: var(--card); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.upnext li { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-top: 1px solid var(--line); }
.upnext li:first-child { border-top: 0; }
.upnext span { flex: 1; min-width: 0; font-weight: 700; font-size: 15px; line-height: 1.35; }
details.more { margin-top: 8px; }
details.more > summary { cursor: pointer; list-style: none; text-align: center; font-weight: 800; font-size: 14.5px; color: var(--primary); padding: 10px; border-radius: 999px; background: var(--soft); }
details.more > summary::-webkit-details-marker { display: none; }
details.more[open] > summary { margin-bottom: 8px; }
.upnext i { flex: none; font-style: normal; font-size: 12px; font-weight: 800; color: var(--muted); background: var(--bg); padding: 3px 9px; border-radius: 999px; }

/* Tür sayfası */
.cat-hero { position: relative; margin: 0; border-radius: 22px; overflow: hidden; background: var(--soft); }
.cat-hero img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; display: block; }
@media (min-width: 720px) { .cat-hero img { aspect-ratio: 21 / 9; } }
.cat-hero .ov { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; padding: 40px 18px 16px; background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.66)); color: #fff; }
.cat-hero .ov b { display: block; font-size: clamp(28px, 8vw, 40px); line-height: 1.1; letter-spacing: -0.6px; }
.cat-hero .ov span { display: block; font-size: 15px; line-height: 1.45; opacity: 0.95; margin-top: 4px; }
.credit { font-size: 12px; color: var(--muted); margin: 6px 2px 0; } .credit a { color: var(--muted); }
.empty { background: var(--card); border: 1px dashed var(--line); border-radius: 18px; padding: 16px; display: grid; gap: 2px; }
.empty span { color: var(--muted); font-size: 15px; }
.others { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.others::-webkit-scrollbar { display: none; }
.others a { flex: none; width: 76px; text-align: center; text-decoration: none; color: var(--text); font-size: 12.5px; font-weight: 700; line-height: 1.25; }
.others img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; display: block; margin: 0 auto 6px; border: 2px solid var(--line); }
.credits summary { font-size: 14px !important; }
.credits ul { font-size: 12.5px; color: var(--muted); margin: 10px 16px 14px; padding-left: 18px; } .credits a { color: var(--muted); }
.note { margin-top: 22px; text-align: center; color: var(--muted); font-size: 13px; }

/* ---- Yazı sayfası ---- */
.crumb { font-size: 14px; color: var(--muted); margin: 4px 0 10px; }
.crumb a { text-decoration: none; font-weight: 700; }
article.post { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 24px 22px 26px; }
@media (max-width: 640px) { article.post { padding: 20px 17px 22px; border-radius: 18px; } }
article.post h1 { font-size: clamp(26px, 6.4vw, 34px); line-height: 1.18; margin: 8px 0 8px; }
article.post h2 { font-size: 22px; margin: 34px 0 10px; letter-spacing: -0.3px; scroll-margin-top: 130px; }
article.post p { font-size: 16.5px; line-height: 1.7; }
.post .cover { margin: 16px 0 4px; }
.post .cover img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 16px; display: block; background: var(--soft); }
.post .lead { font-size: 18px; line-height: 1.65; }
.tldr { background: var(--soft); border-radius: 16px; padding: 14px 16px 6px; margin: 18px 0; }
.tldr > b { display: block; color: var(--primary); font-size: 13px; letter-spacing: 0.6px; margin-bottom: 4px; }
.tldr ul { margin: 0; padding-left: 20px; } .tldr li { margin: 0 0 8px; }
.toc { border: 1px solid var(--line); border-radius: 16px; padding: 12px 16px; margin: 18px 0; }
.toc b { font-size: 14px; } .toc ol { margin: 6px 0 2px; padding-left: 22px; } .toc li { margin: 3px 0; font-size: 15px; } .toc a { text-decoration: none; }
.alert { border-radius: 16px; padding: 14px 16px; margin: 18px 0; background: #fde8e1; border-left: 5px solid #d9534f; }
.alert > b { display: block; font-size: 16px; margin-bottom: 4px; color: #a5302b; }
.alert p { margin: 0 0 8px; color: #3a2420; } .alert p:last-child { margin: 0; }
.alert ul, .note-box ul { margin: 6px 0 0; padding-left: 20px; } .alert li, .note-box li { margin: 6px 0; } .alert li { color: #3a2420; }
.plant { border-top: 1px solid var(--line); padding: 18px 0 6px; }
.plant .hd { display: flex; align-items: center; gap: 12px; }
.plant .n { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--primary); color: #fff; font-weight: 800; display: grid; place-items: center; font-size: 15px; }
.plant h3 { margin: 0; font-size: 18px; line-height: 1.3; } .plant h3 i { font-weight: 600; color: var(--muted); font-size: 14px; }
.plant figure { margin: 12px 0 8px; }
.plant figure img, .safe-ph figure img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 14px; display: block; background: var(--soft); }
.post figure.ph { margin: 16px 0; }
.post figure.ph img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 14px; display: block; background: var(--soft); }
.post h3 { font-size: 17.5px; margin: 22px 0 6px; }
.post ul, .post ol { padding-left: 22px; } .post li { margin: 5px 0; font-size: 16px; line-height: 1.6; }
.post ol.steps3, .post ul.tips { padding-left: 0; }
.post .tbl table { min-width: 0; font-size: 14.5px; }
figcaption { font-size: 12px; color: var(--muted); margin-top: 5px; line-height: 1.5; }
figcaption a { color: var(--muted); }
.plant p { margin: 6px 0 0; }
.plant .s { color: var(--muted); font-size: 15px; }
.plant .w { font-size: 15px; }
.lvl { display: inline-block; font-size: 12px; font-weight: 800; padding: 2px 9px; border-radius: 999px; margin-top: 4px; }
.lvl.r { background: #fde8e1; color: #a5302b; } .lvl.y { background: #fdf1d8; color: #8a5a00; }
.steps3 { counter-reset: s; list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 10px; }
.steps3 li { counter-increment: s; position: relative; padding-left: 40px; }
.steps3 li::before { content: counter(s); position: absolute; left: 0; top: 1px; width: 28px; height: 28px; border-radius: 50%; background: var(--primary); color: #fff; font-weight: 800; font-size: 14px; display: grid; place-items: center; }
.tips { list-style: none; padding: 0; margin: 10px 0; display: grid; gap: 10px; }
.tips li { background: var(--bg); border-radius: 14px; padding: 12px 14px; }
.tips li b { display: block; }
.chipset { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0; }
.chipset span { background: var(--soft); color: var(--primary); font-weight: 700; font-size: 14px; padding: 6px 12px; border-radius: 999px; }
.chipset.warn span { background: #fdf1d8; color: #8a5a00; }
.safe-ph { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 12px 0; }
.safe-ph figure { margin: 0; }
.safe-ph b { display: block; font-size: 15px; margin-top: 6px; }
.note-box { background: var(--soft); border-radius: 16px; padding: 14px 16px; margin: 18px 0; }
.note-box > b { display: block; margin-bottom: 4px; }
.note-box p { margin: 6px 0 0; }
details.faq p { font-size: 15.5px; }
.app { display: flex; gap: 14px; align-items: center; margin: 24px 0 8px; padding: 14px 16px; border-radius: 18px; background: linear-gradient(135deg, #2f8c74, #3f9c84); color: #fff; }
.app img { width: 52px; height: 52px; border-radius: 14px; flex: none; }
.app p { margin: 0; color: #fff; font-size: 15px; line-height: 1.5; } .app b { display: block; font-size: 16px; }
.disc { font-size: 14px; color: var(--muted); background: var(--bg); border-radius: 14px; padding: 12px 14px; margin-top: 18px; }
.src { font-size: 14px; } .src li { margin: 5px 0; }
.en-note { background: var(--soft); border-radius: 14px; padding: 10px 14px; margin: 14px 0 0; font-size: 14px; }

@media (prefers-color-scheme: dark) {
  .alert { background: #3a2420; border-left-color: #e0645f; } .alert > b { color: #ff9a92; } .alert p { color: var(--text); } .alert li { color: var(--text); }
  .lvl.r { background: #3a2420; color: #ff9a92; } .lvl.y, .tag.vet, .chipset.warn span { background: #3a301c; color: #f0c96b; }
  .postcard:hover { box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35); }
}

/* ---- Geniş ekran (bilgisayar, 25 Eki 2026): blog da ana sayfa gibi 1160 px'e genişler. Telefon görünümü aynen kalır. ----
   Yazı sayfasında yazı kartı rahat okunsun diye ortada 880 px (metin ~760 px); üst çubuk ve "sıradaki yazılar" geniş. */
@media (min-width: 1024px) {
  .wrap { max-width: 1160px; padding: 0 32px 72px; }
  header { margin: 0 -32px 26px; padding: 18px 32px 14px; }
  .blog-hero { padding: 48px 56px 128px; border-radius: 32px; }
  .blog-hero h1 { font-size: 52px; margin-bottom: 10px; }
  .blog-hero p { max-width: 560px; font-size: 19px; }
  h2.bh { font-size: 26px; margin: 44px 0 16px; }
  .cats { gap: 16px; }
  .cat b { font-size: 20px; }
  .posts { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .cat-hero { border-radius: 32px; }
  .cat-hero .ov { padding: 60px 40px 28px; }
  .cat-hero .ov span { font-size: 17px; max-width: 640px; }
  .others { flex-wrap: wrap; overflow: visible; }
  article.post { max-width: 880px; margin: 0 auto; padding: 40px 60px 44px; border-radius: 28px; }
  article.post h1 { font-size: 40px; }
  /* Sadece yazı sayfasında: yol ve dil notu yazı kartıyla hizalı (tür sayfasında geniş fotoğrafla hizalı kalır) */
  .crumb:has(~ article.post), .en-note:has(~ article.post) { max-width: 880px; margin-left: auto; margin-right: auto; }
}

/* 3 Kas 2026: tür sayfasından ırk rehberine bant (renkler site/irk/irk.css'teki türlerle aynı) */
.irk-bant { display: flex; align-items: center; gap: 12px; margin: 16px 0 4px; padding: 14px 16px; border-radius: 18px; color: #fff; text-decoration: none; background: linear-gradient(135deg, #4f3f8f, #7b62c4); box-shadow: 0 8px 22px rgba(30, 20, 60, 0.14); }
.irk-bant b { display: block; font-size: 17px; line-height: 1.25; }
.irk-bant span { font-size: 14px; line-height: 1.4; opacity: 0.95; }
.irk-bant i { margin-left: auto; font-style: normal; font-weight: 900; font-size: 22px; }
.irk-bant:hover { filter: brightness(1.05); }
.irk-bant.g-kopek { background: linear-gradient(135deg, #8a4a1c, #c0702f); }
.irk-bant.g-kus { background: linear-gradient(135deg, #1d5c8c, #3d8cc4); }
.irk-bant.g-balik { background: linear-gradient(135deg, #0f4c64, #1f7f98); }
.irk-bant.g-kemirgen { background: linear-gradient(135deg, #7a5512, #b3842a); }
.irk-bant.g-tavsan { background: linear-gradient(135deg, #8c3a5b, #c0628a); }
.irk-bant.g-surungen { background: linear-gradient(135deg, #3b5a26, #658d3c); }
.irk-bant.g-diger { background: linear-gradient(135deg, #3d4a6b, #5f6f9a); }
