/*
Theme Name: Time to Flow
Description: 流动时光文学杂志风格主题。真实文章、独立阅读页与可配置图片集。
Version: 1.0.3
Requires at least: 5.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: time-to-flow
*/
:root{--paper:#faf9f6;--ink:#282725;--gray:#807b75;--line:#dedbd5;--red:#843c35;--serif:'Noto Serif SC','Songti SC',SimSun,serif;--latin:'Cormorant Garamond',Georgia,serif;--sans:-apple-system,BlinkMacSystemFont,'PingFang SC','Microsoft YaHei',sans-serif}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font-family:var(--serif);-webkit-font-smoothing:antialiased}a{color:inherit;text-decoration:none}a:hover{color:var(--red)}a:focus-visible,button:focus-visible{outline:2px solid var(--red);outline-offset:5px}button{font:inherit}img{display:block;width:100%;object-fit:cover;background:#e7e3dc}p{line-height:1.9}.preview{font:10px/1.5 var(--sans);letter-spacing:.15em;text-align:center;background:#efede8;color:#706b65;padding:8px 20px}.preview span{letter-spacing:.04em;margin-left:18px}.skip{position:fixed;left:20px;top:-90px;z-index:20;background:var(--paper);padding:10px}.skip:focus{top:12px}.masthead{max-width:1120px;margin:auto;text-align:center;padding:41px 35px 0}.wordmark{font:500 clamp(52px,6.4vw,78px)/1.1 var(--latin);letter-spacing:-.035em;display:inline-block}.wordmark span{display:block;font:500 17px/1.8 var(--serif);letter-spacing:.25em;margin:15px 0 0}.tagline{font:11px var(--sans);color:var(--gray);letter-spacing:.24em;margin:13px 0 34px}.masthead nav{display:flex;justify-content:center;gap:55px;border-top:1px solid var(--line);border-bottom:1px solid var(--ink);padding:17px 0;font:12px var(--sans);letter-spacing:.16em}.masthead nav a{position:relative}.masthead nav a[aria-current=page]{color:var(--red)}.masthead nav a[aria-current=page]:after{content:'';position:absolute;width:4px;height:4px;border-radius:50%;background:var(--red);left:calc(50% - 2px);bottom:-10px}main{max-width:1050px;margin:auto;min-height:40vh;outline:none}.section-label{display:flex;align-items:center;gap:12px;color:var(--red);font:11px var(--sans);letter-spacing:.12em}.section-label:before{content:'';height:1px;width:23px;background:var(--red)}.feature-label{margin:38px 0 18px;justify-content:space-between}.feature-label span:last-child{color:var(--gray);font:italic 16px var(--latin);margin-left:auto;letter-spacing:.02em}.feature{display:grid;grid-template-columns:1.15fr 1fr;min-height:370px;border-bottom:1px solid var(--line);padding-bottom:41px;gap:56px;align-items:center}.feature-image{position:relative;display:block}.feature img{aspect-ratio:1.36;filter:saturate(.55)}.image-credit{position:absolute;bottom:10px;left:12px;font:10px var(--sans);color:white;background:#28272588;padding:4px 7px}.meta{font:10px/1.7 var(--sans);color:var(--gray);letter-spacing:.06em}.category{color:var(--red);margin-right:14px}.feature h1{font:500 37px/1.55 var(--serif);margin:18px 0}.feature p{font-size:14px;color:#746e66;margin:0 0 25px}.read{font:11px var(--sans);letter-spacing:.1em;border-bottom:1px solid #b7a79c;padding-bottom:7px}.read span{margin-left:25px}.section-head{display:flex;justify-content:space-between;align-items:baseline;margin:39px 0 12px}.section-head h2{font:500 23px var(--serif);margin:0}.section-head h2 span{font:italic 19px var(--latin);color:var(--gray);margin-left:16px}.section-head>a{font:11px var(--sans);color:var(--gray)}.article-grid{display:grid;grid-template-columns:repeat(3,1fr);column-gap:34px}.article-card{padding:24px 0 26px;border-bottom:1px solid var(--line)}.article-card h3{font:500 21px/1.7 var(--serif);margin:11px 0 10px}.article-card p{font-size:13px;color:#78716a;margin:0 0 15px}.article-card .read{font-size:10px;border:0}.sample{font:9px var(--sans);color:#8b8177;border:1px solid #d9d0c6;padding:2px 5px;margin-left:7px;white-space:nowrap}.gallery{display:grid;grid-template-columns:repeat(4,1fr);gap:17px;margin:25px 0 0}.gallery a{display:block}.gallery img{aspect-ratio:4/5;filter:saturate(.55);transition:filter .25s}.gallery a:hover img{filter:saturate(.9)}.gallery figure{margin:0}.gallery figcaption{font:11px var(--sans);margin-top:12px;color:var(--gray);display:flex;justify-content:space-between}.gallery-note{font:10px var(--sans);color:var(--gray);margin-top:18px}.editor-note{border-top:1px solid var(--line);margin-top:44px;padding:32px 0;text-align:center;font-size:14px;color:#777068}.editor-note b{display:block;font:italic 29px var(--latin);color:#514a43;margin-bottom:9px;font-weight:400}footer{max-width:1050px;margin:23px auto 0;padding:29px 0 24px;border-top:1px solid var(--ink);text-align:center}.footer-name{font:500 31px var(--latin)}footer>p{font-size:11px;color:var(--gray);margin:9px 0 29px}.footer-bottom{border-top:1px solid var(--line);padding-top:16px;display:flex;justify-content:space-between;gap:15px;font:10px/1.8 var(--sans);color:var(--gray)}.page-heading{text-align:center;padding:49px 0 30px}.page-heading .english{font:italic 22px var(--latin);color:var(--gray)}.page-heading h1{font-size:34px;font-weight:500;margin:10px 0}.page-heading p{font:12px/1.9 var(--sans);color:var(--gray)}.article-page{max-width:700px;margin:0 auto;padding:20px 0 60px}.back{font:11px var(--sans);color:var(--gray)}.article-page header{text-align:center;margin:43px 0 34px;padding-bottom:29px;border-bottom:1px solid var(--line)}.article-page h1{font:500 38px/1.6 var(--serif);margin:18px 0}.article-body{font-size:18px;line-height:1.8}.article-body p{line-height:1.8;margin:0 0 1.7em}.article-end{text-align:center;color:var(--red);margin:45px 0;letter-spacing:12px}.article-pagination{border-top:1px solid var(--line);padding:25px 0;font:12px var(--sans);display:flex;justify-content:space-between;gap:20px}.about-body{max-width:650px;margin:0 auto 70px;font-size:17px}.about-body blockquote{border-left:2px solid var(--red);margin:30px 0;padding:4px 0 4px 24px;font-size:22px}.photo-page .gallery{margin-bottom:50px}.lightbox{position:fixed;inset:0;background:#1e1c19f5;z-index:40;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:60px 35px;color:#eee}.lightbox img{max-width:1100px;max-height:75vh;width:auto;max-width:100%;object-fit:contain;background:transparent}.lightbox p{font:12px var(--sans)}.lightbox button{position:absolute;top:20px;right:25px;color:white;background:none;border:1px solid #777;padding:8px 15px;cursor:pointer}.notice{background:#efede8;padding:15px 20px;font:12px/1.9 var(--sans);color:#776d62;margin-bottom:30px}@media(min-width:1450px){.masthead{padding-top:50px}}@media(max-width:1150px){main,footer{margin-left:35px;margin-right:35px}}@media(max-width:720px){.preview{font-size:9px}.preview span{margin-left:8px}.masthead{padding:30px 22px 0}.wordmark{font-size:57px}.wordmark span{font-size:15px}.tagline{margin-bottom:25px}.masthead nav{gap:38px;padding:16px 0}main,footer{margin-left:22px;margin-right:22px}.feature-label{margin-top:27px}.feature{grid-template-columns:1fr;gap:25px;padding-bottom:30px}.feature img{aspect-ratio:1.45}.feature h1{font-size:30px;margin:13px 0}.feature p{font-size:14px}.article-grid{grid-template-columns:repeat(2,1fr);column-gap:22px}.article-card h3{font-size:19px}.article-card p{font-size:12px}.section-head{margin-top:30px}.section-head h2{font-size:21px}.section-head h2 span{font-size:17px;margin-left:9px}.gallery{grid-template-columns:repeat(2,1fr);row-gap:25px;gap:18px}.gallery img{aspect-ratio:1}.footer-bottom{flex-wrap:wrap;justify-content:center;column-gap:22px}.footer-bottom span:last-child{width:100%}.article-page h1{font-size:30px}.article-page header{margin-top:30px}.article-body{font-size:18px}.article-body p{line-height:1.8}.page-heading{padding-top:35px}.about-body{font-size:16px}}@media(max-width:380px){.article-grid{grid-template-columns:1fr}.preview span{display:block}.wordmark{font-size:49px}}@media(prefers-reduced-motion:reduce){*{transition:none!important}}

/* WordPress content and menu integration. */
.masthead nav li{list-style:none;margin:0;padding:0}.masthead nav .current-menu-item>a{color:var(--red)}
.cover-placeholder{aspect-ratio:1.36;background:#eae6de;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#746a61;border:1px solid var(--line)}.cover-placeholder span{font:italic 45px var(--latin)}.cover-placeholder small{font:12px var(--serif);margin-top:16px;letter-spacing:.2em}
.empty-state{padding:35px 0;color:var(--gray);font-size:14px}.pagination{margin:30px 0;display:flex;justify-content:center;gap:20px;font:13px var(--sans)}.pagination .current{color:var(--red)}
.article-body img{height:auto;max-width:100%}.article-body figure{max-width:100%;margin-left:0;margin-right:0}.article-body figcaption{font:12px var(--sans);color:var(--gray)}.article-body a{color:var(--red);text-decoration:underline;text-underline-offset:3px}.article-body pre{overflow:auto;padding:20px;background:#efede8}.article-body blockquote{border-left:2px solid var(--red);padding-left:22px;margin-left:0}.article-body iframe,.article-body video{max-width:100%}.article-body table{display:block;overflow-x:auto;max-width:100%}.aligncenter{margin-left:auto;margin-right:auto}.alignright{float:right;margin:0 0 15px 20px}.alignleft{float:left;margin:0 20px 15px 0}.wp-caption{max-width:100%}.wp-caption-text,.gallery-caption{font-size:12px;color:var(--gray)}.sticky{position:relative}.bypostauthor{border-left:1px solid var(--red)}.screen-reader-text{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(1px,1px,1px,1px)}.comments-area{font-size:14px;margin-top:40px}.comments-area textarea,.comments-area input:not([type=checkbox]){max-width:100%;border:1px solid var(--line);background:transparent;padding:10px}.comments-area textarea{width:100%}.comment-list{padding-left:20px}.comment-list .avatar{width:32px;height:32px;display:inline-block}.form-submit input{cursor:pointer}.article-body:after{content:'';display:block;clear:both} @media(max-width:720px){.cover-placeholder{aspect-ratio:1.45}.masthead nav{gap:30px}}

footer>.footer-motto{font:500 20px/1.8 var(--serif);color:var(--ink);letter-spacing:.12em;margin:8px 0 32px}

/* 1.0.2: clearer reading controls and a single footer divider. */
.meta{font-size:14px;line-height:1.8;color:#68625c;letter-spacing:.03em}
.meta .category{display:inline-flex;align-items:center;min-height:32px}
.read,.article-card .read,.back,.section-head>a{font-size:14px;line-height:1.6;min-height:44px;display:inline-flex;align-items:center;padding:8px 0;gap:20px}
.read span{margin-left:0}.back,.section-head>a{color:#68625c}
.article-card{border-bottom:0;padding-bottom:22px}.article-grid{row-gap:12px}
footer{border-top:1px solid var(--line);margin-top:48px;padding-top:28px}
.footer-bottom{border-top:0;padding-top:5px}
.pagination,nav.pagination{border:0;padding:12px 0;letter-spacing:normal}
.pagination:empty{display:none}.pagination a,.pagination .current{min-height:44px;min-width:36px;display:inline-flex;align-items:center;justify-content:center;font-size:14px}
@media(max-width:720px){.meta{font-size:14px}.read,.article-card .read,.back,.section-head>a{font-size:14px}.article-grid{row-gap:6px}.article-card{padding-top:21px}footer{margin-top:36px}}

/* The feature starts directly below navigation, without a label row. */
main>.feature{margin-top:36px}
@media(max-width:720px){main>.feature{margin-top:26px}}
