/* Sevgiliye Oyun — blog pages (same look as the landing page, tuned for long reading) */
@font-face { font-family: Fraunces; font-style: normal; font-weight: 500 800; font-display: swap; src: url(/assets/fonts/fraunces-normal-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: Fraunces; font-style: normal; font-weight: 500 800; font-display: swap; src: url(/assets/fonts/fraunces-normal-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: Fraunces; font-style: italic; font-weight: 500 800; font-display: swap; src: url(/assets/fonts/fraunces-italic-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: Fraunces; font-style: italic; font-weight: 500 800; font-display: swap; src: url(/assets/fonts/fraunces-italic-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: Caveat; font-weight: 600 700; font-display: swap; src: url(/assets/fonts/caveat-normal-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: Caveat; font-weight: 600 700; font-display: swap; src: url(/assets/fonts/caveat-normal-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: Fredoka; font-weight: 300 700; font-display: swap; src: url(/assets/fonts/fredoka.woff2?v=2) format("woff2"); }

:root {
  --paper: #fff4ec; --paper-2: #fde6dc; --card: #fffaf6;
  --ink: #2b1424; --ink-2: #6b4a5e; --line: #ecd3cb;
  --rose: #e2335f; --rose-2: #c11f4d; --blush: #ffc2d4; --butter: #ffd56b; --lilac: #c6b0ff;
  --wa: #1faa59; --wa-2: #178a48;
  --pad: clamp(16px, 4vw, 28px);
  --display: Fraunces, "Iowan Old Style", Georgia, serif;
  --hand: Caveat, "Segoe Print", cursive;
  --sans: Fredoka, ui-rounded, system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: hidden; overflow-x: clip; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.6; overflow-x: hidden; overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
::selection { background: var(--blush); }
.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 var(--pad); }
.ico { width: 1.2em; height: 1.2em; flex: none; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; letter-spacing: -.012em; word-spacing: .06em; line-height: 1.12; margin: 0; }

/* buttons (same as the landing page) */
.btn { --bg: var(--ink); --fg: #fff; display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 48px; padding: 0 20px;
  border-radius: 999px; border: 2px solid var(--ink); background: var(--bg); color: var(--fg); font: 600 1rem/1 var(--sans); text-decoration: none;
  box-shadow: 4px 4px 0 var(--ink); transition: transform .18s, box-shadow .18s, background .2s; }
.btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.btn:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--ink); }
.btn .ico { width: 1.3em; height: 1.3em; }
.btn-wa { --bg: var(--wa); }
.btn-wa:hover { --bg: var(--wa-2); }
.btn-buy { --bg: var(--rose); }
.btn-buy:hover { --bg: var(--rose-2); }
.btn-ghost { --bg: var(--card); --fg: var(--ink); }
.btn-sm { min-height: 42px; padding: 0 15px; font-size: .93rem; box-shadow: 3px 3px 0 var(--ink); }

/* header */
.top { position: sticky; top: 0; z-index: 50; transition: background .3s, box-shadow .3s; }
.top.scrolled { background: rgba(255, 244, 236, .9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--line); }
.top .wrap { display: flex; align-items: center; gap: 16px; height: 64px; }
.logo { display: flex; align-items: center; gap: 8px; text-decoration: none; font: 700 1.2rem/1 var(--sans); }
.logo .ico { color: var(--rose); width: 1.3em; height: 1.3em; }
.logo small { display: block; font: 600 .72rem/1 var(--sans); color: var(--ink-2); margin-top: 3px; }
.nav { display: none; gap: 24px; margin-left: auto; font-weight: 500; }
.nav a { text-decoration: none; }
.nav a[aria-current] { color: var(--rose); }
.top .btn { margin-left: auto; }
@media (min-width: 760px) { .nav { display: flex; } .top .btn { margin-left: 6px; } }

/* reading progress */
.readbar { position: fixed; left: 0; right: 0; top: 0; height: 3px; background: var(--rose); transform: scaleX(0); transform-origin: 0 50%; z-index: 60; }

/* breadcrumb */
.crumbs { font-size: .88rem; color: var(--ink-2); margin: 18px 0 14px; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--rose); }
.crumbs span[aria-hidden] { opacity: .5; }

/* blog index */
.blog-head { padding: 10px 0 30px; max-width: 760px; }
.blog-head .k, .post-head .k { font-family: var(--hand); font-weight: 700; font-size: 1.5rem; color: var(--rose); display: inline-block; transform: rotate(-2deg); margin-bottom: 6px; }
.blog-head h1 { font-size: clamp(2.1rem, 7vw, 3.4rem); }
.blog-head p { color: var(--ink-2); font-size: 1.08rem; margin-top: 12px; }
.cards { display: grid; gap: 18px; grid-template-columns: 1fr; padding-bottom: 60px; }
@media (min-width: 680px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .cards { grid-template-columns: repeat(3, 1fr); } }
.card { display: flex; flex-direction: column; border-radius: 22px; overflow: hidden; background: var(--card); border: 1.5px solid var(--line); text-decoration: none; transition: transform .25s, border-color .25s, box-shadow .25s; }
.card:hover { transform: translateY(-4px); border-color: var(--ink); box-shadow: 5px 5px 0 var(--ink); }
.card img { aspect-ratio: 1200 / 630; width: 100%; object-fit: cover; border-bottom: 1.5px solid var(--line); }
.card div { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card .tag { align-self: flex-start; font: 600 .78rem/1 var(--sans); padding: 6px 10px; border-radius: 99px; background: var(--blush); color: var(--rose-2); }
.card h2, .card h3 { font-size: 1.28rem; line-height: 1.2; font-variation-settings: "opsz" 40; }
.card p { color: var(--ink-2); font-size: .95rem; line-height: 1.45; }
.card small { margin-top: auto; color: var(--ink-2); font-size: .82rem; }
.card.first { grid-column: 1 / -1; }
@media (min-width: 1000px) { .card.first { flex-direction: row; } .card.first img { width: 58%; border-bottom: 0; border-right: 1.5px solid var(--line); } .card.first div { justify-content: center; padding: 30px; } .card.first h2 { font-size: 2rem; } }

/* post */
.post { max-width: 720px; margin: 0 auto; padding-bottom: 40px; }
.post-head h1 { font-size: clamp(1.9rem, 6.4vw, 3rem); }
.post-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 14px; color: var(--ink-2); font-size: .9rem; }
.post-meta b { color: var(--ink); font-weight: 600; }
.post-hero { margin: 24px 0 8px; border-radius: 22px; overflow: hidden; border: 2px solid var(--ink); box-shadow: 6px 6px 0 var(--blush); }
.toc { margin: 26px 0 8px; padding: 16px 18px; border-radius: 18px; background: var(--card); border: 1.5px solid var(--line); }
.toc b { font: 700 .82rem/1 var(--sans); letter-spacing: .06em; text-transform: uppercase; color: var(--rose); }
.toc ol { margin: 10px 0 0; padding-left: 20px; display: grid; gap: 4px; font-size: .96rem; }
.toc a { text-decoration: none; }
.toc a:hover { color: var(--rose); text-decoration: underline; }
.prose { font-size: 1.07rem; line-height: 1.75; }
.prose > * { margin-top: 0; margin-bottom: 0; }
.prose > * + * { margin-top: 1.05em; }
.prose h2 { font-size: clamp(1.5rem, 4.6vw, 2rem); margin-top: 1.9em; scroll-margin-top: 80px; }
.prose h3 { font-size: 1.25rem; margin-top: 1.5em; font-variation-settings: "opsz" 40; }
.prose h2 + *, .prose h3 + * { margin-top: .6em; }
.prose ul, .prose ol { padding-left: 1.3em; margin-bottom: 0; }
.prose li + li { margin-top: .45em; }
.prose li::marker { color: var(--rose); }
.prose strong { font-weight: 600; }
.prose a { color: var(--rose-2); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.prose a.btn, .cta a.btn { color: var(--fg); text-decoration: none; }
.prose blockquote { margin-left: 0; margin-right: 0; padding: 18px 20px; border-radius: 18px; background: var(--card); border-left: 4px solid var(--rose); font-family: var(--display); font-style: italic; font-size: 1.08rem; }
.prose blockquote p + p { margin-top: .7em; }
.prose em { font-style: italic; }

/* order box inside / after posts */
.prose .cta { margin-top: 2em; margin-bottom: 2em; }
.cta { display: grid; grid-template-columns: 92px 1fr; gap: 16px; align-items: center; margin: 2em 0; padding: 18px; border-radius: 22px; border: 2px solid var(--ink); background: var(--card); box-shadow: 6px 6px 0 var(--ink); font-size: .97rem; line-height: 1.5; }
.cta-phone { border-radius: 16px; padding: 4px; background: var(--ink); transform: rotate(-4deg); align-self: start; }
.cta-phone img { border-radius: 12px; }
.cta-k { font-family: var(--hand); font-weight: 700; font-size: 1.3rem; color: var(--rose); line-height: 1; margin: 0; }
.cta-t { font: 700 1.2rem/1.2 var(--display); margin: 4px 0 6px; }
.cta p { margin: 0; color: var(--ink-2); }
.cta .cta-t { color: var(--ink); }
.cta-b { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px !important; }
.cta-end { background: var(--paper-2); }
@media (min-width: 680px) { .cta { grid-template-columns: 120px 1fr; padding: 22px 24px; } }

/* related */
.related { padding-top: 20px; padding-bottom: 70px; }
.related h2 { font-size: 1.7rem; margin-bottom: 18px; }

/* footer + floating WhatsApp */
footer { background: var(--ink); color: #d9c3d1; padding: 30px 0 calc(30px + env(safe-area-inset-bottom)); font-size: .95rem; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 14px 26px; align-items: center; justify-content: space-between; }
footer b { color: #fff; }
footer nav { display: flex; gap: 18px; flex-wrap: wrap; }
footer a { text-decoration: none; }
footer a:hover { color: #fff; }
.fab { position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 60; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  background: var(--wa); color: #fff; border: 2px solid var(--ink); box-shadow: 3px 3px 0 var(--ink); transform: scale(0); transition: transform .35s cubic-bezier(.3, 1.6, .5, 1); }
.fab.show { transform: scale(1); }
.fab .ico { width: 30px; height: 30px; }

/* reveal on scroll */
.js [data-r] { opacity: 0; transform: translateY(24px); transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1); transition-delay: calc(var(--d, 0) * 80ms); }
.js [data-r].in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-r] { opacity: 1; transform: none; }
}
