/* Writing has its own editorial layout; shared pages retain their styles. */
.writing-redesign .writing-hero{background:var(--navy);color:white}
.writing-redesign .writing-opening{padding-top:30px;padding-bottom:44px}
.writing-page-intro{display:flex;align-items:center;justify-content:space-between;gap:40px;margin-bottom:0}
.writing-redesign .writing-page-intro h1{font-size:96px;line-height:1;margin:0}
.writing-page-intro>p{max-width:360px;color:#dce7ef;font-size:20px;line-height:1.5;margin:0}
.writing-book-feature{display:grid;grid-template-columns:.85fr 1.15fr;grid-template-rows:auto auto;background:transparent;color:var(--navy);border-radius:0;overflow:visible;min-width:0}
.writing-book-visual{grid-row:1/span 2;display:flex;align-items:center;justify-content:center;height:460px;min-height:0;min-width:0;background:transparent;overflow:hidden}
/* Only the empty side margins of the publisher image are outside the frame. The entire cover remains visible. */
.writing-book-visual img{width:540px;height:540px;max-width:none;flex-shrink:0;object-fit:contain;mix-blend-mode:multiply}
.writing-book-details{align-self:end;padding:38px 42px 0;min-width:0}
.writing-redesign .writing-book-details h2{font-size:56px;line-height:1.03;margin:0 0 16px}
.writing-book-subtitle{color:var(--blue);font-size:21px;line-height:1.4;margin:0 0 17px}
.writing-book-publisher{color:var(--muted);font-size:11px;margin:0}
.writing-book-summary{align-self:start;padding:20px 42px 38px}
.writing-book-summary>p{font-size:15px;line-height:1.75;max-width:465px;margin:0 0 25px;color:var(--muted)}
.writing-book-summary .button{min-height:48px}
.writing-redesign .pub-substack{background:#f6f0df;color:var(--navy)}
.writing-redesign .pub-substack-grid{grid-template-columns:.8fr 1.2fr;gap:65px;padding-top:62px;padding-bottom:62px}
.writing-substack-copy{min-width:0}
.writing-substack-mark{width:110px;height:28px;object-fit:contain;object-position:left center;margin-bottom:22px}
.writing-redesign .writing-substack-copy h2{font-size:52px;margin:0 0 22px}
.writing-redesign .pub-substack p{color:var(--muted);font-size:15px;line-height:1.75;margin:0 0 25px;max-width:375px}
.writing-redesign .substack-homepage-preview{border:5px solid white;border-radius:16px;box-shadow:0 12px 30px #18224112;transform:none}
.writing-redesign .pub-outlets{padding-top:38px;padding-bottom:36px}
.writing-redesign .pub-outlets .eyebrow{font-size:9px;color:var(--muted);margin:0 0 20px}
.writing-redesign .pub-outlets .all-outlets{grid-template-columns:repeat(8,minmax(0,1fr));gap:14px}
.writing-redesign .all-outlets .outlet-tile{border:0;height:72px;padding:12px;border-radius:10px}
.writing-redesign .all-outlets .outlet-tile img{width:100%;height:100%;max-width:100%;min-width:0;max-height:46px}
.writing-redesign .article-band{background:white}
.writing-redesign .article-band>.section{padding-top:24px;padding-bottom:70px}
.writing-redesign .pub-section-heading{padding-top:32px;border-top:1px solid #dce7ef;margin-bottom:26px;align-items:center}
.writing-redesign .pub-section-heading h2{font-size:52px;margin:0}
.writing-redesign .pub-section-heading>p{font-size:15px}
.writing-redesign .article-filters{gap:9px;margin-bottom:35px}
.writing-redesign .article-filters button{border-radius:100px;font-size:12px;padding:10px 17px;min-height:42px}
.writing-redesign .article-grid{grid-template-columns:repeat(3,minmax(0,1fr));column-gap:28px;row-gap:45px}
.writing-redesign .article-card{background:transparent;border-radius:0;overflow:visible}
.writing-redesign .article-photo{aspect-ratio:3/2;border-radius:14px;overflow:hidden;background:#edf2f5}
.writing-redesign .article-photo img{height:100%;width:100%;object-fit:contain}
.writing-redesign .article-card-copy{padding:21px 0 0}
.writing-redesign .article-mark{margin-bottom:11px}
.writing-redesign .article-mark span{font-size:8px;letter-spacing:.12em;color:var(--blue)}
.writing-redesign .article-card h3{font-size:30px;line-height:1.1;margin-bottom:14px}
.writing-redesign .article-card p{font-size:13px;line-height:1.7;margin-bottom:19px}
.writing-redesign .article-card .text-link{font-size:11px;gap:18px}
@media(max-width:1000px) and (min-width:761px){
 .writing-book-details{padding-left:32px;padding-right:32px}
 .writing-book-summary{padding-left:32px;padding-right:32px}
 .writing-redesign .writing-book-details h2{font-size:48px}
 .writing-redesign .pub-substack-grid{gap:35px}
 .writing-redesign .article-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .writing-redesign .pub-outlets .all-outlets{grid-template-columns:repeat(4,minmax(0,1fr))}
}
@media(max-width:760px){
 .writing-redesign .writing-opening{padding:22px 25px 34px}
 .writing-page-intro{display:block;margin-bottom:0}
 .writing-redesign .writing-page-intro h1{font-size:64px}
 .writing-page-intro>p{font-size:16px;line-height:1.5;margin-top:14px;max-width:280px}
 .writing-book-feature{grid-template-columns:.42fr .58fr;border-radius:0}
 .writing-book-visual{grid-row:1;min-height:245px;height:245px}
 .writing-book-visual img{width:285px;height:285px}
 .writing-book-details{align-self:center;padding:22px 20px 22px 16px}
 .writing-redesign .writing-book-details h2{font-size:34px;margin-bottom:12px}
 .writing-book-subtitle{font-size:15px;line-height:1.4;margin-bottom:16px}
 .writing-book-publisher{font-size:9px;line-height:1.6}
 .writing-book-summary{grid-column:1/-1;padding:23px 0 0}
 .writing-book-summary>p{font-size:14px;line-height:1.65;margin-bottom:20px}
 .writing-book-summary .button{font-size:12px;padding:14px 20px}
 .writing-redesign .pub-substack-grid{grid-template-columns:1fr;gap:30px;padding:36px 25px}
 .writing-substack-mark{width:95px;height:24px;margin-bottom:18px}
 .writing-redesign .writing-substack-copy h2{font-size:42px;margin-bottom:17px}
 .writing-redesign .pub-substack p{font-size:14px;margin-bottom:22px}
 .writing-redesign .substack-homepage-preview{border-width:4px;border-radius:12px}
 .writing-redesign .pub-outlets{padding:32px 25px 25px}
 .writing-redesign .pub-outlets .all-outlets{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
 .writing-redesign .all-outlets .outlet-tile{height:58px;padding:8px;border-radius:7px}
 .writing-redesign .all-outlets .outlet-tile img{max-height:36px}
 .writing-redesign .article-band>.section{padding:5px 25px 48px}
 .writing-redesign .pub-section-heading{padding-top:28px;display:block;margin-bottom:22px}
 .writing-redesign .pub-section-heading h2{font-size:42px}
 .writing-redesign .pub-section-heading>p{font-size:14px;margin-top:12px}
 .writing-redesign .article-filters{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;gap:8px;padding:3px 0 6px;margin-bottom:27px}
 .writing-redesign .article-filters button{white-space:nowrap;flex-shrink:0;font-size:11px;padding:9px 13px}
 .writing-redesign .article-grid{grid-template-columns:1fr;gap:0}
 .writing-redesign .article-card{display:grid;grid-template-columns:.36fr .64fr;gap:18px;padding:22px 0;border-bottom:1px solid #dce7ef;align-items:start}
 .writing-redesign .article-card:first-child{padding-top:0}
 .writing-redesign .article-card:last-child{border-bottom:0}
 .writing-redesign .article-photo{border-radius:10px;margin-top:3px;aspect-ratio:auto;min-height:0}
 .writing-redesign .article-photo img{height:auto}
 .writing-redesign .article-card-copy{padding:0}
 .writing-redesign .article-mark{margin-bottom:9px}
 .writing-redesign .article-mark span{font-size:7px;letter-spacing:.08em}
 .writing-redesign .article-card h3{font-size:27px;margin-bottom:15px}
 .writing-redesign .article-card p{display:none}
 .writing-redesign .article-card .text-link{font-size:10px;padding-bottom:4px}
}
@media(max-width:360px){
 .writing-redesign .writing-opening,.writing-redesign .pub-outlets,.writing-redesign .pub-substack-grid,.writing-redesign .article-band>.section{padding-left:20px;padding-right:20px}
 .writing-book-details{padding-right:14px;padding-left:12px}
 .writing-redesign .writing-book-details h2{font-size:30px}
 .writing-book-subtitle{font-size:14px}
 .writing-book-visual img{width:255px;height:255px}
 .writing-redesign .article-card{gap:14px}
 .writing-redesign .article-card h3{font-size:25px}
}
.writing-redesign .article-card[hidden]{display:none}

/* A full-width book block keeps the cover and copy on one continuous background. */
.writing-redesign .writing-book-block{background:#dce7ef}
.writing-redesign .writing-book-feature{padding-top:50px;padding-bottom:55px}
.writing-redesign .writing-book-details{padding-top:0}
.writing-redesign .writing-book-summary{padding-bottom:0}
.writing-redesign .writing-connect>p{max-width:480px;margin:22px auto 28px;line-height:1.7}
@media(max-width:760px){
 .writing-redesign .writing-book-feature{padding:30px 25px 36px}
 .writing-redesign .writing-book-details{padding:16px 0 16px 20px}
 .writing-redesign .writing-book-summary{padding:24px 0 0}
 .writing-redesign .writing-connect{padding:55px 25px 60px}
 .writing-redesign .writing-connect h2{font-size:56px}
 .writing-redesign .writing-connect>p{font-size:14px;max-width:300px}
}
@media(max-width:360px){
 .writing-redesign .writing-book-feature{padding-left:20px;padding-right:20px}
 .writing-redesign .writing-book-details{padding-left:15px}
}
