/*
Theme Name: LFGdating v5
Theme URI: https://www.lfgdating.com/gamer-dating-blog/
Author: LFGdating
Description: The LFGdating gamer dating blog in the v5 exterior design. Shares the main site's header, footer, fonts and base styles (css/exterior-v5.css, inlined by functions.php); this file adds the blog layout. One column of stories, with desktop side rails that lead to the app and the main site.
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: lfgdating-v5
*/

/* Tokens (--plum, --ink, --lilac, --peri-ink, --head, --text, …) come from
   css/exterior-v5.css. Breakpoints: three columns ≥ 1200px; center + right
   rail 1024–1199px; one column (mobile layout) below 1024px. */

:root{--soft:#A99BA6;--line:rgba(100,88,98,.12)}

.skip-link{position:absolute;left:12px;top:-60px;z-index:100;background:var(--plum);color:#fff;padding:12px 16px;border-radius:12px;font:700 14px/1 var(--head);text-decoration:none}
.skip-link:focus{top:12px}

/* ---- Layout -------------------------------------------------------------- */
.blog-wrap{flex:1;padding:26px 16px 36px}
.blog-grid{max-width:1360px;margin:0 auto;display:flex;align-items:flex-start;gap:32px}
.blog-main{flex:1 1 0;min-width:0;max-width:700px;margin:0 auto;display:flex;flex-direction:column;gap:20px}
.is-post .blog-main{max-width:760px}
.rail{display:none}
@media (min-width:1024px){
  .blog-wrap{padding:40px 28px 56px}
  .blog-main{gap:26px}
  .is-post .blog-main{gap:28px}
  .rail-r{display:flex;flex:0 0 300px;position:sticky;top:24px;flex-direction:column;gap:14px}
}
@media (min-width:1200px){
  .rail-l{display:flex;flex:0 0 236px;position:sticky;top:24px;flex-direction:column;gap:18px}
}

/* ---- Feed header --------------------------------------------------------- */
.feed-head{display:flex;flex-direction:column;gap:14px}
.pill{align-self:flex-start;background:var(--white);color:var(--plum);border-radius:999px;padding:9px 14px;font:800 11.5px/1 var(--head);letter-spacing:.12em}
.feed-head h1{font:800 36px/1.04 var(--head);letter-spacing:-.045em;overflow-wrap:break-word}
.feed-head h1>span:not(.h1-page){color:var(--plum)}
.h1-page{font-size:.5em;letter-spacing:-.02em;color:var(--muted);white-space:nowrap}
.lede{font:400 16.5px/1.55 var(--text);color:var(--plum-deep)}
.lede p{margin:0}.lede p+p{margin-top:.6em}
@media (min-width:1024px){
  .feed-head h1{font-size:50px}
  .lede{font-size:18px}
}

/* Topic chips: mobile + 1024–1199px (replace the left rail) */
.chips{display:flex;gap:8px;overflow-x:auto;margin:0 -16px;padding:0 16px 2px}
.chips a{flex:none;white-space:nowrap;border-radius:999px;padding:11px 14px;text-decoration:none;font:700 13.5px/1 var(--head);background:var(--white);color:var(--plum-deep);min-height:44px;display:flex;align-items:center}
.chips a[aria-current]{background:var(--plum);color:var(--white)}
@media (min-width:1024px){.chips{margin:0;padding:0 0 2px}}
@media (min-width:1200px){.chips{display:none}}

/* Breadcrumb */
.bc{display:flex;flex-wrap:wrap;gap:8px;align-items:center;font:600 13.5px/1.3 var(--head);color:var(--muted)}
.bc a{color:var(--plum);text-decoration:none;font-weight:700}
.bc a:hover{text-decoration:underline}
.bc-sep{color:var(--soft)}

/* ---- Cards --------------------------------------------------------------- */
.cards{display:flex;flex-direction:column;gap:16px}
@media (min-width:1024px){.cards{gap:22px}}
.card{background:var(--white);border-radius:22px;overflow:hidden;display:flex;flex-direction:column;box-shadow:0 2px 10px rgba(36,31,38,.04)}
.card-img{display:block;line-height:0;background:var(--lilac-pale)}
.card-img img{width:100%;height:auto;aspect-ratio:1.9/1;object-fit:cover;display:block}
.card-body{padding:18px 18px 20px;display:flex;flex-direction:column;gap:10px}
.card-meta{display:flex;flex-wrap:wrap;align-items:center;gap:10px;font:600 13.5px/1.3 var(--text);color:var(--muted)}
.chip-cat{background:rgba(95,127,191,.14);color:var(--peri-ink);border-radius:8px;padding:6px 8px;text-decoration:none;font:800 11px/1 var(--head);letter-spacing:.08em;text-transform:uppercase}
.chip-cat:hover{background:rgba(95,127,191,.24);color:var(--peri-ink)}
.card-title{font:800 21px/1.2 var(--head);letter-spacing:-.025em}
.card-title a{color:var(--ink);text-decoration:none}
.card-title a:hover{color:var(--plum)}
.card-excerpt{font:400 15.5px/1.6 var(--text);color:var(--plum-deep)}
.card-excerpt p{margin:0}
.card-more{align-self:flex-start;margin-top:2px;font:700 14.5px/1 var(--head);color:var(--peri-ink);text-decoration:none;padding:6px 0}
.card-more:hover{text-decoration:underline}
@media (min-width:1024px){
  .card{border-radius:26px}
  .card-body{padding:22px 26px 24px}
  .card-title{font-size:25px;line-height:1.18}
  .card-excerpt{font-size:16.5px}
  .card-lead .card-body{padding:26px 30px 28px}
  .card-lead .card-title{font-size:31px}
}
@media (max-width:1023px){.card-lead .card-title{font-size:24px}}

/* ---- Member faces -------------------------------------------------------- */
.faces{display:flex}
.faces img{width:34px;height:34px;border-radius:999px;object-fit:cover;background:var(--lilac-pale);border:3px solid var(--plum)}
.faces img+img{margin-left:-11px}
.faces.on-lilac img{width:32px;height:32px;border-color:var(--lilac)}
.rail-app .faces img{width:36px;height:36px}

/* Store badges */
.badges{display:flex;flex-wrap:wrap;gap:8px}
.badges img{height:40px;width:auto}

/* ---- App card (plum) ----------------------------------------------------- */
.app-card{position:relative;overflow:hidden;background:var(--plum);border-radius:22px;padding:22px;display:flex;flex-direction:column;gap:14px;color:var(--white)}
.app-card>*{position:relative}
.glow{position:absolute!important;top:-110px;right:-110px;width:300px;height:300px;border-radius:999px;background:radial-gradient(rgba(168,188,228,.32),rgba(168,188,228,0) 68%);pointer-events:none}
.app-card-top{display:flex;align-items:center;gap:12px}
.app-card-eyebrow{font:800 11.5px/1.3 var(--head);letter-spacing:.1em;color:var(--lilac-pale)}
.app-card h2{font:800 24px/1.15 var(--head);letter-spacing:-.03em}
.app-card p{font:400 16px/1.55 var(--text);color:var(--lilac-pale)}
.app-card-ctas{display:flex;flex-wrap:wrap;align-items:center;gap:14px}
.app-card-web{font:700 14.5px/1 var(--head);color:var(--white);padding:8px 0}
.app-card-web:hover{color:var(--lilac-pale)}
@media (min-width:1024px){
  .app-card{border-radius:26px;padding:28px 30px}
  .app-card h2{font-size:28px}
}

/* ---- Join card ----------------------------------------------------------- */
.join-card{background:var(--white);border-radius:24px;padding:22px;display:flex;flex-direction:column;gap:12px}
.join-card h2{font:800 19px/1.2 var(--head);letter-spacing:-.02em}
.join-card p{font:400 15px/1.5 var(--text);color:var(--plum-deep)}
.btn-plum{display:block;background:var(--plum);color:var(--white);border:0;border-radius:14px;padding:15px 18px;text-align:center;text-decoration:none;font:700 15px/1 var(--head);cursor:pointer}
.btn-plum:hover{background:var(--plum-deep);color:var(--white)}
.join-card-login{text-align:center;font:500 14px/1.3 var(--text);color:var(--muted)}
/* The feed's join card shows only in the one-column layout (the right rail has its own). */
@media (min-width:1024px){.m-blog-only{display:none!important}}

/* ---- Pagination ---------------------------------------------------------- */
.pager{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;padding-top:6px}
.pager-nums{display:flex;flex-wrap:wrap;align-items:center;gap:6px}
.pager .page-numbers{min-width:44px;height:44px;padding:0 8px;border-radius:13px;background:var(--white);color:var(--plum);display:flex;align-items:center;justify-content:center;text-decoration:none;font:800 15px/1 var(--head)}
.pager a.page-numbers:hover{background:var(--lilac-pale)}
.pager .page-numbers.current{background:var(--plum);color:var(--white)}
.pager .page-numbers.dots{min-width:28px;padding:0;background:none;color:var(--soft);font-size:14px}
.pager-older,.pager-newer{background:var(--white);color:var(--plum);border-radius:13px;padding:15px 18px;text-decoration:none;font:700 15px/1 var(--head);min-height:44px}
.pager-newer{padding:15px 14px}
.pager-older:hover,.pager-newer:hover{background:var(--lilac-pale);color:var(--plum)}
@media (max-width:1023px){.pager-newer{display:none}}

/* ---- Empty state --------------------------------------------------------- */
.empty{background:var(--white);border-radius:26px;padding:26px;display:flex;flex-direction:column;gap:12px}
.empty h2{font:800 22px/1.2 var(--head);letter-spacing:-.02em}
.empty p{font:400 16px/1.55 var(--text);color:var(--plum-deep)}
.empty-topics{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:8px}
.empty-topics a{display:flex;align-items:center;min-height:44px;background:var(--lilac);color:var(--plum-deep);border-radius:999px;padding:0 14px;text-decoration:none;font:700 13.5px/1 var(--head)}
.empty-topics a:hover{background:var(--lilac-pale)}
.search-again .blog-search{max-width:460px}

/* ---- Search field -------------------------------------------------------- */
.blog-search{display:flex;align-items:center;gap:8px;background:var(--white);border-radius:14px;padding:0 12px;border:1.5px solid rgba(100,88,98,.14);color:var(--muted)}
.blog-search:focus-within{border-color:var(--peri)}
.blog-search svg{flex:none}
.blog-search input[type=search]{flex:1;min-width:0;border:0;outline:none;background:transparent;padding:13px 0;font:500 15px/1 var(--text);color:var(--ink);-webkit-appearance:none;appearance:none}
.blog-search input::placeholder{color:var(--muted)}

/* ---- Left rail ----------------------------------------------------------- */
.rail-h{padding:0 10px 8px;font:800 11px/1 var(--head);letter-spacing:.12em;color:var(--muted)}
.rail-l ul,.rail-l ol,.rail-r ol{margin:0;padding:0;list-style:none}
.rail-topics ul{display:flex;flex-direction:column;gap:1px}
.rail-topics a{display:flex;justify-content:space-between;gap:8px;padding:9px 10px;border-radius:10px;text-decoration:none;font:600 14px/1.2 var(--head);color:var(--plum-deep)}
.rail-topics a:hover{background:rgba(255,255,255,.6);color:var(--ink)}
.rail-topics a[aria-current]{background:var(--white);color:var(--ink);font-weight:800;box-shadow:0 1px 3px rgba(36,31,38,.08)}
.rail-topics .n{color:var(--soft);font-weight:700}
.rail-site{background:rgba(100,88,98,.06);border-radius:20px;padding:16px 12px 12px}
.rail-site .rail-h{padding:0 8px 8px}
.rail-site a{display:block;padding:8px;border-radius:10px;text-decoration:none;font:600 14px/1.2 var(--head);color:var(--plum-deep)}
.rail-site a:hover{background:rgba(255,255,255,.7);color:var(--ink)}
.rail-back{display:flex;align-items:center;gap:6px;padding:4px 10px;text-decoration:none;font:700 14px/1 var(--head);color:var(--plum)}
.rail-back:hover{color:var(--ink)}
.rail-toc{background:var(--white);border-radius:20px;padding:16px 10px 12px;max-height:calc(100vh - 340px);overflow-y:auto}
.rail-toc ol{display:flex;flex-direction:column;gap:1px}
.rail-toc a{display:block;padding:8px 10px;border-radius:10px;text-decoration:none;font:600 13.5px/1.3 var(--head);color:var(--plum-deep)}
.rail-toc a:hover{background:var(--lilac);color:var(--ink)}
.rail-toc a.is-active{background:var(--lilac);color:var(--ink);font-weight:800}

/* ---- Right rail ---------------------------------------------------------- */
.rail-app{position:relative;overflow:hidden;background:var(--plum);border-radius:24px;padding:22px;display:flex;flex-direction:column;gap:14px;color:var(--white)}
.rail-app>*{position:relative}
.rail-app-top{display:flex;align-items:center;gap:10px}
.rail-app-top img{border-radius:11px}
.rail-app-top>span{display:flex;flex-direction:column;gap:4px}
.rail-app-top>span>span:first-child{font:800 15px/1 var(--head)}
.rail-app-top>span>span:last-child{font:600 12.5px/1 var(--text);color:var(--lilac-pale)}
.rail-app h2{font:800 21px/1.2 var(--head);letter-spacing:-.02em}
.rail-app .badges img,.inline-cta .badges img{height:38px}
.rail-box{background:var(--white);border-radius:24px;padding:18px 20px}
.rail-box .rail-h{padding:0 0 4px}
.rail-pop a{display:flex;gap:12px;align-items:center;text-decoration:none;color:var(--ink);padding:8px 0}
.rail-pop a:hover .pop-title{color:var(--plum)}
.rail-pop img,.pop-ph{width:72px;height:48px;flex:none;object-fit:cover;border-radius:10px;background:var(--lilac-pale)}
.rail-pop a>span{display:flex;flex-direction:column;gap:4px;min-width:0}
.pop-title{font:700 14px/1.3 var(--head)}
.pop-cat{font:600 12px/1 var(--text);color:var(--muted)}
.rail-follow{display:flex;flex-direction:column;gap:12px}
.rail-follow .rail-h{padding:0}
.follow-icons{display:flex;flex-wrap:wrap;gap:6px}
.follow-icons a{width:38px;height:38px;border-radius:12px;background:var(--lilac);color:var(--plum);display:flex;align-items:center;justify-content:center}
.follow-icons a:hover{background:var(--lilac-pale);color:var(--ink)}
.follow-icons svg{width:18px;height:18px;fill:currentColor}
.rss{font:700 13.5px/1 var(--head);align-self:flex-start;padding:4px 0}
.rail-ad{display:flex;flex-direction:column;gap:6px;min-height:250px}
.rail-ad-label{font:700 10.5px/1 var(--head);letter-spacing:.1em;text-transform:uppercase;color:var(--soft);text-align:center}

/* ---- Mobile app banner (< 768px) ---------------------------------------- */
.app-banner{display:flex;align-items:center;gap:11px;background:var(--white);border-bottom:1px solid rgba(100,88,98,.1);padding:10px 16px}
.app-banner[hidden]{display:none}
.app-banner img{border-radius:10px;flex:none}
.app-banner-txt{flex:1;min-width:0;display:flex;flex-direction:column;gap:3px}
.app-banner-txt>span:first-child{font:800 14px/1.1 var(--head)}
.app-banner-txt>span:last-child{font:500 12.5px/1.2 var(--text);color:var(--muted)}
.app-banner-get{background:var(--plum);color:var(--white);border-radius:999px;padding:13px 18px;text-decoration:none;font:800 13px/1 var(--head)}
.app-banner-get:hover{background:var(--plum-deep);color:var(--white)}
.app-banner-x{width:44px;height:44px;margin-right:-10px;border:0;border-radius:10px;background:none;color:var(--muted);display:flex;align-items:center;justify-content:center;cursor:pointer}
@media (min-width:768px){.app-banner{display:none}}

/* ---- Single post --------------------------------------------------------- */
.entry{background:var(--white);display:flex;flex-direction:column;gap:18px;margin:-26px -16px 0;padding:24px 16px 28px}
.entry h1{font:800 31px/1.08 var(--head);letter-spacing:-.04em;overflow-wrap:break-word}
.dek{font:400 17px/1.55 var(--text);color:var(--plum-deep)}
.post-meta{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;padding:4px 0 2px}
.byline{display:flex;align-items:center;gap:10px}
.byline-av{width:40px;height:40px;border-radius:12px;flex:none}
.byline>span{display:flex;flex-direction:column;gap:4px}
.byline-name{font:800 14.5px/1 var(--head)}
.byline-meta{font:600 13px/1 var(--text);color:var(--muted)}
.share{display:flex;gap:6px}
.share-btn{position:relative;width:44px;height:44px;border:0;border-radius:12px;background:var(--lilac);color:var(--plum);display:flex;align-items:center;justify-content:center;text-decoration:none;cursor:pointer;padding:0}
.share-btn:hover{background:var(--lilac-pale);color:var(--ink)}
.share-btn svg{width:17px;height:17px;fill:currentColor}
.share-btn[data-copy] svg{fill:none}
.share-done{position:absolute;bottom:calc(100% + 6px);left:50%;transform:translateX(-50%);background:var(--ink);color:var(--white);border-radius:8px;padding:6px 8px;font:700 12px/1 var(--head);white-space:nowrap;pointer-events:none}
.share-done:empty{display:none}
.post-hero{margin:0}
.post-hero img{width:100%;height:auto;aspect-ratio:1.9/1;object-fit:cover;border-radius:20px;display:block}
@media (min-width:1024px){
  .entry{margin:0;border-radius:30px;padding:40px 48px}
  .entry h1{font-size:44px}
  .dek{font-size:19px}
  .share-btn{width:38px;height:38px}
}

/* Mobile: Keep reading comes before the app card; desktop: app card first. */
@media (max-width:1023px){
  .is-post .blog-main>.keep{order:1}
  .is-post .blog-main>.after-post{order:2}
  .is-post .blog-main>.comments{order:3}
}

/* ---- Post body ----------------------------------------------------------- */
.post-body{display:flex;flex-direction:column;gap:18px;padding-top:6px;font:400 17px/1.75 var(--text);color:var(--body);overflow-wrap:break-word}
.post-body>*{margin-top:0;margin-bottom:0}
.post-body p{margin:0}
.post-body a{color:var(--peri-ink);text-underline-offset:2px}
.post-body a:hover{color:var(--ink)}
.post-body h2{margin:14px 0 0;scroll-margin-top:24px;font:800 22px/1.2 var(--head);letter-spacing:-.025em;color:var(--ink)}
.post-body h3{margin:8px 0 0;scroll-margin-top:24px;font:800 19px/1.25 var(--head);letter-spacing:-.02em;color:var(--ink)}
.post-body h4,.post-body h5,.post-body h6{margin:6px 0 0;font:800 17px/1.3 var(--head);color:var(--ink)}
.post-body ul,.post-body ol{margin:0;padding-left:22px;display:flex;flex-direction:column;gap:8px}
.post-body li>ul,.post-body li>ol{margin-top:8px}
.post-body strong,.post-body b{color:var(--ink)}
.post-body img{max-width:100%;height:auto;border-radius:20px}
.post-body figure{margin:4px 0;display:flex;flex-direction:column;gap:10px;max-width:100%}
.post-body figcaption,.post-body .wp-caption-text,.post-body .wp-element-caption{font:500 14px/1.45 var(--text);color:var(--muted);text-align:left;margin:0}
.post-body .wp-caption{max-width:100%!important;width:auto!important;display:flex;flex-direction:column;gap:10px}
.post-body .aligncenter{margin-left:auto;margin-right:auto}
.post-body .alignleft,.post-body .alignright{max-width:100%}
@media (min-width:600px){
  .post-body .alignleft{float:left;max-width:45%;margin:4px 22px 8px 0!important}
  .post-body .alignright{float:right;max-width:45%;margin:4px 0 8px 22px!important}
  .post-body{display:block}
  .post-body>*+*{margin-top:18px!important}
  .post-body>h2{margin-top:32px!important}
  .post-body>h3{margin-top:26px!important}
  .post-body::after{content:"";display:table;clear:both}
}
.post-body blockquote,.post-body .wp-block-quote{margin:4px 0;padding:4px 0 4px 20px;border-left:4px solid var(--peri);font:700 19px/1.45 var(--head);letter-spacing:-.01em;color:var(--ink)}
.post-body blockquote p+p{margin-top:10px}
.post-body blockquote cite{display:block;margin-top:8px;font:600 14px/1.4 var(--text);font-style:normal;color:var(--muted)}
.post-body .wp-block-pullquote{border:0;padding:0;margin:4px 0;text-align:left}
.post-body .wp-block-pullquote blockquote{margin:0}
.post-body hr,.post-body .wp-block-separator{border:0;border-top:1px solid var(--line);margin:10px 0;width:100%}
.post-body .wp-block-separator.is-style-dots{border:0;text-align:center}
.post-body .wp-block-separator.is-style-dots::before{content:"···";color:var(--soft);font-size:24px;letter-spacing:1em}
.post-body table{width:100%;border-collapse:collapse;font-size:15.5px;line-height:1.5}
.post-body .wp-block-table{overflow-x:auto;margin:4px 0}
.post-body th,.post-body td{padding:10px 12px;border-bottom:1px solid var(--line);text-align:left;vertical-align:top}
.post-body th,.post-body thead td{font:800 13px/1.3 var(--head);letter-spacing:.04em;text-transform:uppercase;color:var(--muted);background:var(--lilac)}
.post-body .wp-block-table.is-style-stripes tbody tr:nth-child(odd){background:rgba(241,238,242,.6)}
.post-body .wp-block-gallery{display:flex;flex-wrap:wrap;gap:10px}
.post-body .wp-block-gallery figure.wp-block-image{margin:0}
.post-body .wp-block-gallery img{border-radius:14px}
.post-body .gallery{display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:10px}
.post-body .gallery-item{margin:0}
.post-body .gallery br{display:none}
.post-body iframe,.post-body video,.post-body embed,.post-body object{max-width:100%;border-radius:16px}
.post-body .wp-block-embed__wrapper,.post-body .fve-video-wrapper{border-radius:16px;overflow:hidden}
.post-body .wp-block-embed.is-type-video .wp-block-embed__wrapper{position:relative;aspect-ratio:16/9}
.post-body .wp-block-embed.is-type-video iframe{position:absolute;inset:0;width:100%;height:100%}
.post-body .wp-block-button__link,.post-body .button{display:inline-block;background:var(--plum);color:var(--white);border-radius:14px;padding:15px 20px;text-decoration:none;font:700 15px/1 var(--head)}
.post-body .wp-block-button__link:hover{background:var(--plum-deep);color:var(--white)}
.post-body code{font-size:.9em;background:var(--lilac);border-radius:6px;padding:2px 5px}
.post-body pre{background:var(--lilac);border-radius:14px;padding:16px;overflow-x:auto;font-size:14px;line-height:1.5}
.post-body pre code{background:none;padding:0}
.post-body .has-text-align-center{text-align:center}
.post-body .has-text-align-right{text-align:right}
.post-body .screen-reader-text{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
@media (min-width:1024px){
  .post-body{font-size:18px;line-height:1.78}
  .post-body h2{font-size:26px}
  .post-body h3{font-size:21px}
  .post-body blockquote,.post-body .wp-block-quote{font-size:22px}
}

/* Inline CTA (inserted mid-article) */
.post-body .inline-cta{clear:both;background:var(--lilac);border-radius:22px;padding:18px;display:flex;flex-direction:column;gap:12px;margin:4px 0}
.post-body>.inline-cta{margin-top:22px}
.inline-cta-top{display:flex;align-items:center;gap:12px}
.inline-cta-top>span:last-child{font:800 11.5px/1.3 var(--head);letter-spacing:.1em;color:var(--plum)}
.post-body .inline-cta-copy{font:700 17px/1.4 var(--head);color:var(--ink)}
.inline-cta-ctas{display:flex;flex-wrap:wrap;align-items:center;gap:12px}
.post-body .inline-cta-ctas>a{font:700 14.5px/1 var(--head);padding:8px 0}
.post-body .inline-cta img{border-radius:999px}
.post-body .inline-cta .badges img{border-radius:0}
@media (min-width:1024px){
  .post-body .inline-cta{padding:22px 24px}
  .post-body .inline-cta-copy{font-size:18.5px}
}

/* Tags + author box */
.post-tags{display:flex;flex-wrap:wrap;gap:8px;padding-top:10px}
.post-tags a{background:var(--lilac);color:var(--plum-deep);border-radius:10px;padding:13px 12px;text-decoration:none;font:700 13px/1 var(--head)}
.post-tags a:hover{background:var(--lilac-pale);color:var(--ink)}
.author-box{display:flex;gap:14px;align-items:flex-start;border-top:1px solid var(--line);padding-top:20px}
.author-av{width:52px;height:52px;border-radius:15px;flex:none}
.author-box>span{display:flex;flex-direction:column;gap:6px}
.author-name{font:800 16px/1.2 var(--head)}
.author-bio{font:400 14.5px/1.5 var(--text);color:var(--plum-deep)}
.post-pages{display:flex;gap:8px;font:700 14px/1 var(--head)}

/* Keep reading */
.keep{display:flex;flex-direction:column;gap:14px}
.keep-head{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:12px}
.keep-head h2{font:800 22px/1.2 var(--head);letter-spacing:-.02em}
.keep-head a{font:700 14px/1 var(--head);padding:6px 0}
.keep-grid{display:flex;flex-wrap:wrap;gap:14px}
.keep-card{flex:1 1 220px;min-width:0;background:var(--white);border-radius:20px;overflow:hidden;text-decoration:none;color:var(--ink);display:flex;flex-direction:column}
.keep-card img{width:100%;height:auto;aspect-ratio:1.9/1;object-fit:cover;display:block}
.keep-card:hover .keep-title{color:var(--plum)}
.keep-body{padding:14px 16px 16px;display:flex;flex-direction:column;gap:6px}
.keep-cat{font:800 11px/1 var(--head);letter-spacing:.08em;text-transform:uppercase;color:var(--peri-ink)}
.keep-title{font:800 16.5px/1.25 var(--head)}

/* ---- Comments ------------------------------------------------------------ */
.comments{background:var(--white);border-radius:26px;padding:24px 18px;display:flex;flex-direction:column;gap:16px}
.comments h2,.comment-reply-title{font:800 22px/1.2 var(--head);letter-spacing:-.02em}
.comment-reply-title small{font-size:14px;margin-left:8px}
.comment-list,.comment-list .children{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:16px}
.comment-list .children{padding-left:22px;margin-top:16px;border-left:2px solid var(--lilac)}
.comment-body{display:flex;flex-direction:column;gap:8px;font:400 16px/1.6 var(--text);color:var(--body)}
.comment-body p{margin:0}
.comment-author{display:flex;align-items:center;gap:10px;font:800 14.5px/1.2 var(--head);color:var(--ink)}
.comment-author .avatar{border-radius:12px}
.comment-author .says{display:none}
.comment-metadata{font:600 13px/1 var(--text)}
.comment-metadata a{color:var(--muted);text-decoration:none}
.reply a{font:700 13.5px/1 var(--head)}
.comment-form{display:flex;flex-direction:column;gap:12px}
.comment-form label{display:block;margin-bottom:6px;font:700 13.5px/1.2 var(--head);color:var(--ink)}
.comment-form input[type=text],.comment-form input[type=email],.comment-form input[type=url],.comment-form textarea{width:100%;background:var(--lilac);border:1.5px solid transparent;border-radius:14px;padding:13px 14px;font:500 16px/1.4 var(--text);color:var(--ink)}
.comment-form input:focus,.comment-form textarea:focus{outline:none;border-color:var(--peri);background:var(--white)}
.comment-form .comment-notes,.comment-form .logged-in-as{font:400 14px/1.5 var(--text);color:var(--muted);margin:0}
.comment-form-cookies-consent{display:flex;gap:8px;align-items:flex-start;font:400 14px/1.4 var(--text)}
.comment-form-cookies-consent label{font-weight:500;margin:0}
.comment-form .form-submit{margin:0}
.comment-form .btn-plum{width:auto;padding:15px 22px}
@media (min-width:1024px){.comments{padding:32px 40px}}
