/*
Theme Name: 大咪说医药 · Journal
Theme URI: https://damishuo.com/
Author: 大咪
Description: 为大咪说医药设计的个人杂志主题，包含快讯、观点与演讲。
Version: 1.0.0
Requires at least: 6.6
Requires PHP: 7.4
Text Domain: damishuo-journal
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Tags: blog, news, portfolio, full-site-editing, custom-colors, custom-logo, editor-style, featured-images, wide-blocks
*/
:root{--ds-green:#08bd61;--ds-dark:#073f2c;--ds-ink:#172b23;--ds-muted:#728078;--ds-line:#e0e8e2;--ds-pale:#eff5f0;--ds-lime:#d3f3a6}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#fcfdfb;color:var(--ds-ink);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;-webkit-font-smoothing:antialiased}img{max-width:100%;height:auto}a{transition:color .15s ease}a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid var(--ds-green);outline-offset:4px}.wp-site-blocks{padding:0!important}.wp-site-blocks>*,.wp-block-template-part{margin-block-start:0!important}.ds-wrap{width:min(1180px,calc(100% - 64px));margin-left:auto!important;margin-right:auto!important}.ds-wrap p,.ds-wrap h1,.ds-wrap h2,.ds-wrap h3,.ds-article h1{margin-top:0}.ds-header{background:#fff;border-bottom:1px solid var(--ds-line)}.ds-header-row{min-height:100px;display:flex;align-items:center;justify-content:space-between;gap:32px}.ds-brand{display:flex;align-items:center;gap:14px;flex-shrink:0}.ds-brand-logo{width:53px;height:53px;overflow:hidden;border-radius:12px;margin:0!important;flex:none}.ds-brand-logo img{display:block;width:53px;max-width:none}.ds-brand-name{font-size:23px;letter-spacing:3px;font-weight:700;line-height:1.4;margin:0!important}.ds-brand-name a{color:var(--ds-ink)}.ds-brand-tag{font-size:10px;letter-spacing:2px;color:var(--ds-muted);line-height:1.4;margin:5px 0 0!important}.ds-nav{margin-left:auto!important;font-size:15px;font-weight:600;line-height:1.5}.ds-nav .wp-block-navigation__container{gap:36px}.ds-nav .wp-block-navigation-item__content{padding:10px 0;display:block}.ds-nav .wp-block-navigation-item__content:after{display:block;font-size:11px;color:var(--ds-muted);font-weight:400;letter-spacing:.4px}.ds-nav .nav-briefings>a:after{content:'Briefings'}.ds-nav .nav-essays>a:after{content:'Essays'}.ds-nav .nav-talks>a:after{content:'Presentations'}.ds-nav .current-menu-item>a{color:#07894b}.ds-hero{display:grid;grid-template-columns:1.45fr .8fr;gap:60px;align-items:center;padding:58px 0 48px}.ds-hello{font-size:13px;color:#46725b;margin-bottom:18px!important}.ds-hello:before{content:'';display:inline-block;width:22px;height:2px;background:var(--ds-green);vertical-align:middle;margin-right:11px}.ds-hero h1{font-size:clamp(35px,3.6vw,46px);line-height:1.4;letter-spacing:-1px;margin:0 0 22px!important}.ds-hero h1 span{color:#07894b}.ds-hero-desc{font-size:15px;line-height:1.95;color:var(--ds-muted);margin:0!important}.ds-hero-note{font-family:Georgia,serif;font-size:14px;color:#8e9b91;font-style:italic;margin:22px 0 0!important}.ds-profile{display:flex;gap:27px;align-items:center;padding-left:38px;border-left:1px solid var(--ds-line)}.ds-profile-image{width:126px;flex-shrink:0;margin:0!important}.ds-profile-copy h2{font-size:19px;margin:0 0 9px}.ds-profile-copy p{font-size:13px;line-height:1.9;color:var(--ds-muted);margin:0 0 10px}.ds-profile-copy a{font-size:12px;border-bottom:1px solid #b8cbbd}.ds-index-strip{display:grid;grid-template-columns:repeat(3,1fr);border-block:1px solid var(--ds-line);margin-bottom:43px}.ds-index-strip p{font-size:13px;margin:0!important;padding:16px 22px 16px 0}.ds-index-strip p+p{border-left:1px solid var(--ds-line);padding-left:28px}.ds-index-strip a{display:flex;align-items:center;justify-content:space-between;gap:12px}.ds-index-strip span{color:var(--ds-muted);font-size:12px}.ds-section{margin-bottom:52px!important}.ds-section-title{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:0 0 22px}.ds-section-title h2{font-size:25px;letter-spacing:1px;margin:0;line-height:1.5}.ds-section-title em{font-family:Georgia,serif;font-size:17px;font-weight:400;color:#8b9b8f;letter-spacing:0;margin-left:8px}.ds-section-title p{font-size:12px;margin:0;color:var(--ds-muted)}.ds-section-title a{color:#6c7e70;border-bottom:1px solid var(--ds-line)}.ds-brief-grid{display:grid;grid-template-columns:1fr 1fr;gap:25px}.ds-brief-card{background:#fff;border:1px solid var(--ds-line);border-radius:5px;padding:25px 27px;min-width:0}.ds-brief-label{font-size:12px;font-weight:600;color:var(--ds-dark);margin:0 0 18px}.ds-brief-label span{font-size:11px;letter-spacing:.5px;color:#61806b;font-weight:400;margin-left:11px}.ds-international{background:#edf5ef}.ds-post-grid{list-style:none!important;padding:0!important;margin:0!important;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:30px 25px}.ds-post-grid>.wp-block-post{margin:0!important;min-width:0}.ds-brief-card .ds-post-grid{display:block!important}.ds-news-card h3{font-size:22px;line-height:1.5;margin:10px 0 12px}.ds-news-card .ds-meta{font-size:11px;color:#738779}.ds-news-card .wp-block-post-excerpt__excerpt{font-size:14px;line-height:1.9;color:#728078;margin:0}.wp-block-post-excerpt__more-text{font-size:12px;margin:16px 0 0!important}.wp-block-post-excerpt__more-link{display:inline-block;border-bottom:1px solid #c2d4c8}.ds-brief-history{font-size:11px;border-top:1px solid #dce7df;padding-top:14px;margin:18px 0 0!important}.ds-brief-history a{color:#65806e}.ds-essay-card{height:100%;display:flex;flex-direction:column}.ds-essay-art{min-height:175px;padding:23px;background:#e8f0e3;border-radius:4px;position:relative;overflow:hidden;isolation:isolate}.ds-essay-art:after{content:'';position:absolute;z-index:-1;width:145px;height:145px;border:23px solid #c5d9b6;border-radius:50%;right:-31px;bottom:-46px}.ds-essay-art h3{font-family:Georgia,'Songti SC','SimSun',serif;font-size:27px;line-height:1.45;letter-spacing:.5px;margin:22px 0 0!important;overflow-wrap:anywhere}.ds-essay-art a{color:var(--ds-ink)}.ds-eyebrow{font-size:10px!important;letter-spacing:1.7px;font-weight:600;color:#3b8060;line-height:1.6!important;margin:0!important}.ds-post-grid>.wp-block-post:nth-child(3n+2) .ds-essay-art{background:#e9eef0}.ds-post-grid>.wp-block-post:nth-child(3n+2) .ds-essay-art:after{border-color:#c4d2d7;border-radius:0;transform:rotate(-18deg)}.ds-post-grid>.wp-block-post:nth-child(3n) .ds-essay-art{background:#f4efe3}.ds-post-grid>.wp-block-post:nth-child(3n) .ds-essay-art:after{border-color:#ded2b8;border-radius:0 80px 0 0;transform:rotate(18deg)}.ds-card-copy{padding-top:15px}.ds-meta{font-size:11px;color:#8a968d}.ds-card-copy .wp-block-post-excerpt__excerpt{font-size:13px;line-height:1.9;color:#7b877e;margin:10px 0}.ds-talk-feature{background:var(--ds-dark);color:#fff;border-radius:5px;display:grid;grid-template-columns:1.03fr 1fr;overflow:hidden;min-height:338px;margin:0}.ds-talk-copy{padding:35px 37px}.ds-talk-copy .ds-eyebrow{color:#a8d0b8}.ds-talk-copy h2{font-size:29px;line-height:1.5;margin:16px 0 12px;letter-spacing:.3px;color:#fff}.ds-talk-copy>p:not(.ds-eyebrow){font-size:13px;line-height:1.9;color:#bed2c6;margin:0}.ds-talk-copy .ds-talk-tags{font-size:11px!important;margin:18px 0!important;color:#d4e4da!important}.ds-button-light .wp-block-button__link{background:#e3f7ce;color:var(--ds-dark);border:1px solid transparent}.ds-button-outline .wp-block-button__link{border:1px solid var(--ds-line);background:transparent;color:var(--ds-dark)}.wp-block-button__link:hover{filter:brightness(.94)}.ds-talk-art{position:relative;background:#0c603e;display:flex;flex-direction:column;justify-content:center;align-items:center;isolation:isolate;overflow:hidden;min-height:338px}.ds-talk-art:before,.ds-talk-art:after{content:'';position:absolute;width:315px;height:315px;border:1px solid #8ab39c55;border-radius:50%;z-index:-1}.ds-talk-art:after{width:250px;height:250px;border-color:#9bceb080}.ds-talk-art p{margin:0}.ds-ai-type{font-size:132px;letter-spacing:-9px;font-weight:550;line-height:1.05;color:var(--ds-lime);font-family:Georgia,serif}.ds-art-caption{font-size:14px;letter-spacing:5px;color:#d4e7d9;margin-top:10px!important}.ds-art-top{position:absolute;top:25px;left:28px;font-size:9px;letter-spacing:2px;color:#a1c3ad}.ds-art-bottom{position:absolute;bottom:24px;font-size:10px;letter-spacing:1px;color:#9cc6ae}.ds-talk-extras{display:grid;grid-template-columns:1fr 1fr;gap:25px;margin-top:18px!important}.ds-talk-small{border:1px solid var(--ds-line);border-radius:4px;padding:21px 24px;background:#fff}.ds-talk-small h3{font-size:17px;margin:7px 0}.ds-talk-small h3 span{float:right;color:#6a9479}.ds-talk-small>p:not(.ds-eyebrow){font-size:12px;color:var(--ds-muted);margin:0}.ds-end-line{padding:28px 0 35px;border-top:1px solid var(--ds-line);display:flex;align-items:center;justify-content:space-between;gap:20px}.ds-end-line h2{font-size:18px;margin:0 0 4px}.ds-end-line p{font-size:12px;color:var(--ds-muted);margin:0}.ds-footer{border-top:1px solid var(--ds-line);padding:24px 0;background:#f1f5ef;color:#819287}.ds-footer-row{display:flex;justify-content:space-between;align-items:center;gap:20px}.ds-footer-row p{font-size:11px;margin:0}.ds-footer a{color:#6e8879}.ds-pagehead{padding:38px 0 30px;border-bottom:1px solid var(--ds-line);margin-bottom:30px}.ds-crumb{font-size:12px;color:#89978d;margin:0 0 25px!important}.ds-crumb a{color:#63806d}.ds-pagehead h1,.ds-pagehead .wp-block-query-title{font-size:40px;line-height:1.4;margin:8px 0 14px}.ds-lead{font-size:15px;color:var(--ds-muted);max-width:780px;margin:0}.ds-archive{min-height:65vh;padding-bottom:50px}.ds-archive-tools{display:flex;justify-content:space-between;align-items:center;gap:24px;margin:0 0 30px;border-bottom:1px solid var(--ds-line);padding-bottom:18px}.ds-filter-tabs p{display:flex;gap:23px;flex-wrap:wrap;margin:0;font-size:13px}.ds-filter-tabs a{color:#597561}.ds-filter-tabs a:hover{color:#07894b;text-decoration:underline;text-underline-offset:5px}.ds-search{max-width:310px;margin:0}.ds-search .wp-block-search__input{font-size:13px;min-width:0;border:1px solid var(--ds-line);border-radius:3px;background:#fff;padding:8px 10px;color:var(--ds-ink)}.ds-search .wp-block-search__button{font-size:12px;padding:8px 14px;border:0;border-radius:3px;margin-left:8px}.ds-list-news{grid-template-columns:repeat(2,minmax(0,1fr))}.ds-list-news .ds-news-card{border:1px solid var(--ds-line);padding:24px;border-radius:5px;background:#fff;height:100%}.ds-brief-card .ds-list-news .ds-news-card{border:0;padding:0;background:transparent}.ds-pagination{margin:36px 0 0!important;font-size:13px;display:flex;gap:10px!important;flex-wrap:wrap}.ds-pagination .page-numbers,.ds-pagination>a{display:inline-block;padding:5px 12px;border:1px solid var(--ds-line);border-radius:3px;margin:0 4px}.ds-pagination .current{background:var(--ds-dark);color:#fff}.ds-empty{font-size:14px;color:var(--ds-muted);padding:30px 0}.ds-article{width:min(780px,calc(100% - 48px));margin:0 auto!important;padding:38px 0 55px}.ds-article-head h1{font-size:38px;line-height:1.45;margin:15px 0 20px;overflow-wrap:anywhere}.ds-post-categories{font-size:12px;color:#49745b}.ds-post-categories a{background:var(--ds-pale);padding:3px 8px;display:inline-block;border-radius:3px}.ds-byline{display:flex;gap:18px;align-items:center;border-block:1px solid var(--ds-line);padding:14px 0;margin:25px 0 30px;font-size:12px;color:var(--ds-muted)}.ds-byline p{margin:0}.ds-article-body{font-size:17px;line-height:2.05;overflow-wrap:anywhere}.ds-article-body p{margin-top:0;margin-bottom:22px}.ds-article-body h2{font-size:24px;line-height:1.55;margin:34px 0 14px}.ds-article-body h3{font-size:21px;line-height:1.6;margin:28px 0 12px}.ds-article-body a{color:#087448;text-decoration:underline;text-underline-offset:4px}.ds-article-body figure{max-width:100%;margin:22px 0}.ds-article-body img{max-width:100%;height:auto}.ds-article-body .wp-block-table{overflow-x:auto}.ds-article-body table{border-collapse:collapse;font-size:14px}.ds-article-body td,.ds-article-body th{border:1px solid var(--ds-line);padding:10px}.ds-article-body blockquote{background:var(--ds-pale);border-left:3px solid var(--ds-green);padding:20px;margin:22px 0}.ds-article-body code{font-family:inherit}.ds-article-body ul,.ds-article-body ol{padding-left:1.7em}.ds-post-navigation{display:grid;grid-template-columns:1fr 1fr;gap:25px;border-top:1px solid var(--ds-line);margin:35px 0;padding-top:25px;font-size:13px}.ds-post-navigation .post-navigation-link-next{text-align:right}.ds-comments{font-size:14px;border-top:1px solid var(--ds-line);margin-top:35px;padding-top:25px}.ds-comments h2,.ds-comments h3{font-size:22px}.ds-comments input:not([type=checkbox]):not([type=submit]),.ds-comments textarea{max-width:100%;padding:10px;border:1px solid var(--ds-line);border-radius:3px}.ds-comments input[type=submit]{background:var(--ds-dark);color:#fff;border:0;padding:10px 20px;cursor:pointer}.ds-comment{padding:18px 0;border-bottom:1px solid var(--ds-line)}.ds-sharing{padding-top:45px}.ds-sharing>h2{font-size:25px;margin:0 0 20px}.ds-format-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:25px}.ds-format-card{border-top:2px solid #9bb6a2;padding:20px 0}.ds-format-card h3{font-size:18px;margin:0 0 10px}.ds-format-card p{font-size:14px;color:var(--ds-muted);margin:0}.ds-talk-detail{display:grid;grid-template-columns:1.4fr .7fr;gap:65px;margin:34px 0 45px}.ds-talk-body h2{font-size:23px;margin:0 0 14px}.ds-talk-body p,.ds-talk-body li{font-size:16px;line-height:1.95;color:#718175}.ds-talk-body p,.ds-talk-body ul{margin-bottom:30px}.ds-talk-body ul{padding-left:22px}.ds-talk-body li{margin-bottom:10px}.ds-talk-facts{background:#eff5ef;border:1px solid var(--ds-line);border-radius:4px;padding:24px;height:fit-content}.ds-talk-facts h3{font-size:18px;margin:15px 0}.ds-talk-facts p:not(.ds-eyebrow){font-size:14px;color:var(--ds-muted);margin-bottom:20px}.ds-back-link{font-size:13px;margin:0 0 50px}.ds-page-body .wp-block-list{margin-left:0}.ds-page-body>.ds-pagehead:first-child{margin-top:0}.ds-archive>.ds-search{margin-bottom:30px}
@media(min-width:1500px){.ds-wrap{width:min(1260px,calc(100% - 84px))}.ds-hero{gap:85px}.ds-hero h1{font-size:49px}.ds-essay-art{min-height:190px}}
@media(max-width:1000px){.ds-profile{padding-left:22px;gap:18px}.ds-profile-image{width:90px}.ds-profile-copy h2{font-size:17px}.ds-hero{gap:35px}.ds-hero h1{font-size:36px}.ds-essay-art{padding:20px}.ds-essay-art h3{font-size:25px}.ds-talk-copy{padding:30px}.ds-talk-copy h2{font-size:26px}.ds-talk-detail{gap:35px}}
@media(max-width:760px){.ds-wrap{width:calc(100% - 40px)}.ds-header-row{min-height:86px;gap:18px}.ds-brand-name{font-size:20px;letter-spacing:2px}.ds-brand-tag{font-size:8px;letter-spacing:1.2px}.ds-brand-logo{width:45px;height:45px}.ds-brand-logo img{width:45px}.ds-nav .wp-block-navigation__container{gap:20px}.ds-nav .wp-block-navigation-item__content:after{font-size:10px}.ds-hero{grid-template-columns:1fr;gap:26px;padding:35px 0}.ds-hero h1{font-size:36px}.ds-profile{padding:22px 0 0;border-left:0;border-top:1px solid var(--ds-line)}.ds-profile-image{width:73px}.ds-profile-copy h2{font-size:17px}.ds-profile-copy p{font-size:12px;margin-bottom:5px}.ds-profile-copy br{display:none}.ds-index-strip{display:none}.ds-section{margin-bottom:38px!important}.ds-section-title{margin-bottom:18px}.ds-brief-grid{gap:16px}.ds-brief-card{padding:21px}.ds-news-card h3{font-size:21px}.ds-brief-label span{font-size:9px;margin-left:7px}.ds-post-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:25px 18px}.ds-essay-art{min-height:160px}.ds-essay-art h3{font-size:25px}.ds-talk-feature{grid-template-columns:1fr 1fr}.ds-talk-copy{padding:25px}.ds-talk-copy h2{font-size:23px}.ds-talk-art{min-height:320px}.ds-ai-type{font-size:108px}.ds-art-top{font-size:8px;left:18px}.ds-art-caption{font-size:12px;letter-spacing:3px}.ds-talk-extras{gap:16px}.ds-talk-small{padding:20px}.ds-talk-small h3{font-size:16px}.ds-end-line h2{font-size:17px}.ds-footer-row{gap:10px;flex-wrap:wrap}.ds-pagehead h1,.ds-pagehead .wp-block-query-title{font-size:32px}.ds-archive-tools{align-items:flex-start;flex-direction:column;gap:18px}.ds-search{width:100%;max-width:100%}.ds-talk-detail{grid-template-columns:1fr}.ds-format-grid{gap:18px}.ds-article-head h1{font-size:32px}.ds-article-body{font-size:16px}.ds-article-body h2{font-size:22px}}
@media(max-width:599px){.ds-wrap{width:calc(100% - 36px)}.ds-header-row{min-height:79px}.ds-brand-name{font-size:19px}.ds-brand-tag{font-size:8px}.ds-nav .wp-block-navigation__responsive-container.is-menu-open{padding:28px 24px;background:#fcfdfb;color:var(--ds-ink)}.ds-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container{align-items:flex-start;gap:22px;width:100%}.ds-nav .is-menu-open .wp-block-navigation-item__content{font-size:23px}.ds-nav .is-menu-open .wp-block-navigation-item__content:after{font-size:13px}.ds-hero h1{font-size:33px;line-height:1.5}.ds-hero-desc{font-size:14px}.ds-hero-note{font-size:12px}.ds-section-title h2{font-size:23px}.ds-section-title em{font-size:16px}.ds-section-title p{font-size:11px}.ds-brief-grid{grid-template-columns:1fr}.ds-brief-card{padding:22px}.ds-brief-label span{font-size:10px}.ds-news-card h3{font-size:22px}.ds-post-grid,.ds-list-news{grid-template-columns:1fr!important}.ds-essay-art{min-height:167px}.ds-essay-art h3{font-size:28px;max-width:90%}.ds-card-copy .wp-block-post-excerpt__excerpt{font-size:14px}.ds-talk-feature{grid-template-columns:1fr}.ds-talk-copy{padding:27px}.ds-talk-copy h2{font-size:25px}.ds-talk-art{min-height:255px}.ds-talk-art:before{width:265px;height:265px}.ds-talk-art:after{width:205px;height:205px}.ds-ai-type{font-size:113px}.ds-talk-extras{grid-template-columns:1fr}.ds-end-line{align-items:flex-start;flex-direction:column}.ds-footer-row{flex-direction:column;align-items:flex-start;gap:8px}.ds-pagehead{padding-top:28px}.ds-pagehead h1,.ds-pagehead .wp-block-query-title{font-size:30px}.ds-lead{font-size:14px}.ds-filter-tabs p{gap:18px;font-size:12px}.ds-list-news .ds-news-card{padding:22px}.ds-article{width:calc(100% - 36px);padding-top:28px}.ds-article-head h1{font-size:29px}.ds-article-body h2{font-size:22px}.ds-post-navigation{grid-template-columns:1fr;gap:15px}.ds-post-navigation .post-navigation-link-next{text-align:left}.ds-format-grid{grid-template-columns:1fr}.ds-format-card{padding:17px 0}.ds-sharing{padding-top:32px}.ds-talk-detail{gap:15px}.ds-article-body figure.wp-block-image.alignleft,.ds-article-body figure.wp-block-image.alignright{float:none;margin:18px 0;max-width:100%}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}
