/* alinkrita.com — Notebook & blog posts */
@media (max-width: 900px) { .nav-links { display: none !important; } }
@media (max-width: 560px) { .wrap { padding-left: 20px !important; padding-right: 20px !important; } }

/* post cards */
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 28px; }
.post-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.post-card { text-decoration: none; color: var(--fg-1e1a18, #1E1A18); display: flex; flex-direction: column; gap: 12px; }
.post-card-img { display: block; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 999px 999px 18px 18px; background: var(--bg-eaddd4, #EADDD4); }
.post-card:nth-child(3n+2) .post-card-img { border-radius: 18px; }
.post-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .9s ease, clip-path 1.4s cubic-bezier(.77,0,.18,1); }
.post-card:hover .post-card-img img { transform: scale(1.05); }
.post-card-meta { font-size: 11px; font-weight: 500; letter-spacing: .26em; text-transform: uppercase; color: var(--fg-8c5b55, #8C5B55); margin-top: 8px; }
.post-card-title { font-family: 'Cormorant Garamond', serif; font-weight: 300; font-size: 34px; line-height: 1.05; }
.post-card-dek { font-size: 15px; font-weight: 300; line-height: 1.6; }
.post-card-more { font-size: 12px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; }
.post-card-more, .post-card-title { transition: color .3s ease; }
.post-card:hover .post-card-title { color: var(--fg-8c5b55, #8C5B55); }
@media (max-width: 900px) { .post-grid, .post-grid.three { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .post-grid, .post-grid.three { grid-template-columns: 1fr; } }

/* notebook featured */
.feature { display: flex; gap: 56px; align-items: center; text-decoration: none; color: var(--fg-f4ede5, #F4EDE5); background: var(--bg-1e1a18, #1E1A18); border-radius: 28px; overflow: hidden; }
.feature-img { flex: 0 0 46%; align-self: stretch; min-height: 480px; position: relative; overflow: hidden; }
.feature-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .9s ease, clip-path 1.4s cubic-bezier(.77,0,.18,1); }
.feature:hover .feature-img img { transform: scale(1.04); }
.feature-text { flex: 1 1 0; padding: 56px 56px 56px 0; display: flex; flex-direction: column; gap: 18px; }
.feature .post-card-meta { color: var(--fg-e3c6c0, #E3C6C0); }
.feature-title { font-family: 'Cormorant Garamond', serif; font-weight: 300; font-size: clamp(42px, 4.6vw, 72px); line-height: 1; }
.feature-short { font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 26px; color: var(--fg-e3c6c0, #E3C6C0); }
@media (max-width: 900px) { .feature { flex-direction: column; } .feature-img { flex-basis: auto; width: 100%; min-height: 320px; } .feature-text { padding: 32px; } }

/* post hero */
.post-hero { background: var(--bg-eaddd4, #EADDD4); }
.post-hero-inner { display: flex; gap: 64px; align-items: flex-end; }
.post-hero-text { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.back { font-size: 12px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--fg-1e1a18, #1E1A18); text-decoration: none; margin-bottom: 24px; }
.back:hover { color: var(--fg-8c5b55, #8C5B55); }
.post-kicker { margin: 0; font-size: 12px; font-weight: 500; letter-spacing: .32em; text-transform: uppercase; color: var(--fg-8c5b55, #8C5B55); }
.post-title { margin: 0; font-family: 'Cormorant Garamond', serif; font-weight: 300; font-size: clamp(52px, 7vw, 110px); line-height: .92; letter-spacing: -.01em; }
.post-dek { margin: 8px 0 0; font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: clamp(22px, 2.2vw, 30px); line-height: 1.35; max-width: 640px; }
.post-byline { margin: 8px 0 0; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; }
.post-hero-img { flex: 0 0 380px; height: 480px; border-radius: 999px 999px 20px 20px; overflow: hidden; box-shadow: 0 40px 80px rgba(30,26,24,.14); }
.post-hero-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 900px) { .post-hero-inner { flex-direction: column; align-items: stretch; } .post-hero-img { flex-basis: auto; height: 360px; } }

/* short answer */
.short-answer { max-width: 760px; margin: -48px auto 0; position: relative; background: var(--bg-8c5b55, #8C5B55); color: var(--fg-f4ede5, #F4EDE5); border-radius: 0 120px 0 0; padding: 36px 44px; box-shadow: 0 24px 50px rgba(30,26,24,.16); }
.short-answer span { font-size: 11px; font-weight: 500; letter-spacing: .3em; text-transform: uppercase; color: var(--fg-f2dad4, #F2DAD4); }
.short-answer p { margin: 10px 0 0; font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: clamp(26px, 2.8vw, 36px); line-height: 1.2; }

/* article body */
.post-body { max-width: 720px; margin: 64px auto 0; font-size: 19px; font-weight: 300; line-height: 1.85; }
.post-body p { margin: 0 0 1.2em; }
.post-body h2 { font-family: 'Cormorant Garamond', serif; font-weight: 400; font-size: clamp(32px, 3.4vw, 44px); line-height: 1.1; margin: 2em 0 .6em; }
.post-body strong { font-weight: 500; }
.post-body em { font-style: italic; }
.post-body ul { margin: 0 0 1.4em; padding: 0; list-style: none; }
.post-body li { position: relative; padding-left: 28px; margin-bottom: .6em; }
.post-body li::before { content: "✦"; position: absolute; left: 0; top: .1em; color: var(--fg-8c5b55, #8C5B55); font-size: .8em; }
.post-body .stat { font-family: 'Cormorant Garamond', serif; font-weight: 300; font-size: clamp(64px, 9vw, 120px); line-height: 1; color: var(--fg-8c5b55, #8C5B55); margin: .4em 0 .1em; }
.post-body .caption { font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 20px; color: var(--fg-6e625b, #6E625B); border-left: 1px solid var(--bd-cdaea8, #CDAEA8); padding-left: 16px; }
.story-note { margin: 0 0 1.4em; border: 1px dashed var(--bd-8c5b55, #8C5B55); border-radius: 16px; padding: 20px 24px; background: var(--bg-fbf8f3, #FBF8F3); }
.story-note span { font-size: 11px; font-weight: 500; letter-spacing: .26em; text-transform: uppercase; color: var(--fg-8c5b55, #8C5B55); }
.story-note p { margin: 6px 0 0 !important; font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 21px; line-height: 1.4; }
.sign { margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--bd-dcc9c1, #DCC9C1); font-family: 'Cormorant Garamond', serif; font-size: 22px; }
.sign p { margin: 0; }

/* prev / next */
.post-pn { max-width: 960px; margin: 72px auto 0; display: flex; justify-content: space-between; gap: 24px; border-top: 1px solid var(--bd-1e1a18, #1E1A18); padding-top: 28px; }
.pn { display: flex; flex-direction: column; gap: 6px; text-decoration: none; color: var(--fg-1e1a18, #1E1A18); font-family: 'Cormorant Garamond', serif; font-size: 26px; line-height: 1.15; max-width: 44%; }
.pn span { font-family: 'Jost', sans-serif; font-size: 11px; font-weight: 500; letter-spacing: .26em; text-transform: uppercase; color: var(--fg-8c5b55, #8C5B55); }
.pn.next { text-align: right; margin-left: auto; }
.pn:hover { color: var(--fg-8c5b55, #8C5B55); }

/* more posts */
.more-posts { background: var(--bg-fbf8f3, #FBF8F3); border-top: 1px solid var(--bd-dcc9c1, #DCC9C1); margin-top: 100px; }
.more-title { margin: 0 0 40px; font-family: 'Cormorant Garamond', serif; font-weight: 300; font-size: clamp(42px, 5vw, 72px); line-height: 1; }
.more-title em { color: var(--fg-8c5b55, #8C5B55); }

/* blog tools */
.blog-tools { display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; justify-content: space-between; margin-bottom: 40px; }
.blog-tools .filters { margin: 0; }
.search { display: flex; align-items: center; gap: 10px; min-height: 50px; padding: 0 20px; border: 1px solid var(--bd-1e1a18, #1E1A18); border-radius: 999px; flex: 0 1 380px; }
.search input { border: 0; background: transparent; font: inherit; font-size: 16px; width: 100%; outline: none; color: var(--fg-1e1a18, #1E1A18); }
.post-card.hide { display: none; }
.blog-empty { font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 26px; color: var(--fg-8c5b55, #8C5B55); }

/* share + feedback on posts */
.share { max-width: 720px; margin: 56px auto 0; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.share-k { font-size: 11px; font-weight: 500; letter-spacing: .28em; text-transform: uppercase; color: var(--fg-8c5b55, #8C5B55); margin-right: 8px; }
.share-btn { display: inline-flex; align-items: center; min-height: 42px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--bd-1e1a18, #1E1A18); background: transparent; color: var(--fg-1e1a18, #1E1A18); font: inherit; font-size: 13px; text-decoration: none; cursor: pointer; transition: background .25s ease, color .25s ease; }
.share-btn:hover { background: var(--bg-1e1a18, #1E1A18); color: var(--fg-f4ede5, #F4EDE5); }
.feedback { max-width: 720px; margin: 56px auto 0; padding: 40px; border-radius: 0 120px 24px 24px; background: var(--bg-eaddd4, #EADDD4); }
.feedback h2 { margin: 0 0 20px; font-family: 'Cormorant Garamond', serif; font-weight: 300; font-size: 44px; line-height: 1; }
.feedback h2 em { color: var(--fg-8c5b55, #8C5B55); }
.reactions { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }
.react { min-height: 44px; padding: 0 20px; border-radius: 999px; border: 1px solid var(--bd-1e1a18, #1E1A18); background: transparent; font: inherit; font-size: 14px; cursor: pointer; transition: background .25s ease, color .25s ease, transform .2s ease; }
.react[aria-pressed="true"] { background: var(--bg-8c5b55, #8C5B55); border-color: var(--bd-8c5b55, #8C5B55); color: var(--fg-f4ede5, #F4EDE5); transform: scale(1.04); }
.fb-form { display: flex; flex-direction: column; gap: 12px; }
.fb-form label { font-size: 11px; font-weight: 500; letter-spacing: .28em; text-transform: uppercase; }
.fb-form textarea { border: 1px solid var(--bd-1e1a18, #1E1A18); border-radius: 16px; background: var(--bg-fbf8f3, #FBF8F3); padding: 14px 16px; font: inherit; font-size: 16px; resize: vertical; color: var(--fg-1e1a18, #1E1A18); }
.fb-form button { align-self: flex-start; min-height: 48px; padding: 0 28px; border-radius: 999px; border: 0; background: var(--bg-1e1a18, #1E1A18); color: var(--fg-f4ede5, #F4EDE5); font: inherit; font-size: 12px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; cursor: pointer; }

/* v3: calmer sizes */
.post-card-img { aspect-ratio: 4 / 3.8; }
.post-card:nth-child(3n+2) .post-card-img { aspect-ratio: 4 / 3.4; }
.post-card-title { font-size: 30px; }
.feature-img { flex-basis: 42%; min-height: 400px; }
.post-hero-img { flex: 0 0 320px; height: 400px; }
@media (max-width: 900px) { .post-hero-img { height: 300px; } .feature-img { min-height: 280px; } }
.post-hero-inner { padding-bottom: 80px !important; }
