/* CASE FILE INDEX — Edit colors here. No framework or JavaScript required. */
:root{
	--ink:#17232e;
	--paper:#e8e9e6;
	--red:#a62a2a;
	--bright-red:#ff2f2f;
	--muted:#64717c;
	--serif:Georgia,"Times New Roman",serif;
	--sans:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif
}
*{
	box-sizing:border-box
}
html{
	scroll-behavior:smooth
}
body{
	margin:0;
	background:var(--paper);
	color:var(--ink);
	font:16px/1.72 var(--sans);
	-webkit-font-smoothing:antialiased
}
a{
	color:inherit;
	text-decoration:none
}
a:focus-visible{
	outline:3px solid #d25858;
	outline-offset:4px
}
.container{
	width:min(1160px,calc(100% - 64px));
	margin:auto
}
.site-header{
	background:var(--ink);
	color:white;
	border-bottom:1px solid #35414c
}
.header-inner{
	min-height:86px;
	display:flex;
	align-items:center;
	justify-content:space-between;
	gap:28px
}
.wordmark{
	display:flex;
	align-items:center;
	gap:15px;
	font-size:13px;
	font-weight:800;
	letter-spacing:.105em;
	line-height:1.3
}
.monogram{
	display:grid;
	place-items:center;
	position:relative;
	width:38px;
	height:38px;
	border:1px solid #72808c;
	font:700 16px var(--serif);
	letter-spacing:-.12em
}
.monogram span{
	position:absolute;
	right:5px;
	bottom:2px;
	color:#d87272
}
nav{
	display:flex;
	align-items:center;
	gap:30px;
	flex-wrap:wrap;
	font-size:12px;
	font-weight:650;
	letter-spacing:.055em;
	color:#bcc6cf
}
nav a:hover,.footer-links a:hover{
	color:white
}
.hero{
	background:#F5F1E9;
	border-bottom:1px solid #c4c9ca
}
.hero-inner{
	display:flex;
	align-items:center;
	justify-content:space-between;
	gap:40px;
	padding:72px 0 76px
}
.eyebrow{
	margin:0 0 16px;
	color:var(--red);
	font-size:10px;
	font-weight:800;
	letter-spacing:.17em;
	text-transform:uppercase
}
.short-rule{
	display:inline-block;
	width:24px;
	height:2px;
	background:var(--red);
	vertical-align:middle;
	margin-right:10px
}
h1,h2,h3,h4,p{
	overflow-wrap:break-word
}
h1{
	font:400 clamp(48px,6vw,76px)/.98 var(--serif);
	letter-spacing:-.045em;
	margin:0
}
h1 em,.about h2 em{
	color:var(--red);
	font-weight:400
}
.hero-lead{
	font:400 clamp(23px,3vw,30px)/1.3 var(--serif);
	margin:24px 0 13px;
	color:#263540
}
.hero-detail{
	color:#65717a;
	max-width:580px;
	font-size:17px;
	line-height:1.8;
	margin:0
}
.archive-stamp{
	min-width:238px;
	border:1px solid #b6bfc2;
	padding:20px 23px;
	color:#73808a;
	display:flex;
	flex-direction:column;
	align-items:center;
	gap:7px;
	transform:rotate(-2deg)
}
.archive-stamp>span{
	font-size:9px;
	letter-spacing:.14em;
	font-weight:750
}
.archive-stamp strong{
	font:400 53px/1 var(--serif);
	color:#53616c;
	letter-spacing:-.05em
}
.archive-stamp strong span{
	color:var(--red)
}
.archive{
	padding:62px 0 80px;
}
.section-head{
	display:flex;
	justify-content:space-between;
	align-items:end;
	gap:20px;
	margin-bottom:26px
}
.section-head .eyebrow{
	margin-bottom:8px
}
.section-head h2{
	font:400 clamp(34px,4vw,52px)/1.08 var(--serif);
	letter-spacing:-.035em;
	font-weight:650;
	margin:0
}
.section-index{
	font-size:10px;
	letter-spacing:.13em;
	font-weight:750;
	color:#87919a;
	white-space:nowrap
}
.section-index span{
	color:#aeb6ba;
	margin:0 9px
}
.dossier-grid{
	display:grid;
	grid-template-columns:1fr;
	gap:22px
}
.dossier-card{
	background:#fff;
	border:1px solid #c6cbce;
	border-radius:3px;
	overflow:hidden;
	display:grid;
	grid-template-columns:minmax(0,42%) minmax(0,1fr);
	transition:border-color .2s,box-shadow .2s
}
.dossier-card:hover{
	border-color:#a9b1b7;
	box-shadow:0 7px 24px #17232e0e
}
.cover{
    width:100%;
    aspect-ratio:4 / 3;
    background:#253441;
    position:relative;
    overflow:hidden
}
.cover img{
	display:block;
	width:100%;
	height:100%;
	object-fit:cover;
	object-position:center
}

.cover-tag{
	position:absolute;
	left:18px;
	bottom:18px;
	background:#121d26ef;
	color:#fff;
	border:1px solid #ffffff40;
	padding:7px 10px;
	font-size:9px;
	font-weight:800;
	letter-spacing:.12em
}
.card-content{
	padding:30px 34px;
	display:flex;
	flex-direction:column;
	justify-content:space-between;
	gap:20px;
	min-width:0
}
.file-number{
	color:var(--red);
	font-size:10px;
	letter-spacing:.13em;
	font-weight:800;
	margin:0 0 14px
}
.file-number span{
	color:#b6bec3;
	margin:0 7px
}
.card-content h3{
	font:400 clamp(30px,3vw,38px)/1.14 var(--serif);
	letter-spacing:-.025em;
	margin:0 0 12px
}
.subtitle{
	font-size:18px;
	color:#34434e;
	font-weight:650;
	line-height:1.55;
	margin:0
}
.description{
	font-size:17px;
	line-height:1.8;
	color:#34434e;
	margin:18px 0 0
}
.metadata{
	display:flex;
	align-items:center;
	gap:15px;
	flex-wrap:wrap;
	color:#87929a;
	font-size:10px;
	margin-bottom:24px
}
.metadata span+span:before{
	content:"·";
	margin-right:15px;
	color:#b6bec3
}
.card-bottom{
	border-top:1px solid #e1e4e5;
	padding-top:20px;
	display:flex;
	align-items:center;
	justify-content:space-between;
	gap:20px
}
.price{
	display:flex;
	flex-direction:column;
	gap:3px
}
.price small{
	font-size:9px;
	font-weight:800;
	letter-spacing:.13em;
	color:#000000
}
.price strong{
	font-size:21px;
	line-height:1.35;
	letter-spacing:-.035em;
	font-weight:700
}
.buy-button,.status-button{
	display:inline-flex;
	align-items:center;
	justify-content:center;
	gap:22px;
	padding:13px 20px;
	min-height:46px;
	border-radius:3px;
	font-size:12px;
	font-weight:750;
	white-space:nowrap
}
.buy-button{
	color:white;
	background:var(--red);
	transition:background .2s,transform .2s
}
.buy-button:hover{
	background:#872020;
	transform:translateY(-1px)
}
.buy-button span{
	font-size:16px
}
.status-button{
	color:#87919a;
	background:#eef0f0;
	border:1px solid #e1e4e5;
	cursor:default
}
.placeholder-cover{
	background:#1e2b36;
	padding:30px
}
.placeholder-art{
	height:100%;
	width:100%;
	min-height:270px;
	border:1px solid #64717c;
	display:flex;
	flex-direction:column;
	align-items:flex-start;
	justify-content:space-between;
	padding:24px;
	color:#d9e0e5;
	background:linear-gradient(135deg,#2d3d49,#17232e)
}
.placeholder-art>span{
	font-size:9px;
	letter-spacing:.13em;
	font-weight:750
}
.placeholder-art strong{
	font:italic 65px var(--serif);
	color:#ffffff1c;
	line-height:1;
	margin-top:auto
}
.placeholder-art h4{
	font:400 28px/1.18 var(--serif);
	margin:10px 0 24px
}
.archive-note{
	display:flex;
	align-items:center;
	gap:13px;
	margin:26px 0 0;
	color:#7a858d;
	font-size:12px
}
.archive-note p{
	margin:0
}
.archive-note span{
	font-size:22px;
	color:#a2aab0
}
.about{
	background:var(--ink);
	color:white;
	padding:86px 0 94px;
	scroll-margin-top:30px
}
.about-grid{
	display:grid;
	grid-template-columns:1fr 1.35fr;
	gap:80px
}
.about .eyebrow{
	color:#d36a6a
}
.about h2{
	font:400 clamp(36px,4vw,51px)/1.15 var(--serif);
	letter-spacing:-.035em;
	margin:0
}
.about h2 em{
	color:#d07373
}
.about-rule{
	display:block;
	margin-top:30px;
	width:55px;
	height:2px;
	background:#aa3737
}
.about-copy{
	color:#b5c0c9;
	font-size:17px;
	line-height:1.9
}
.about-copy p{
	margin:0 0 18px
}
.about-lead{
	font:400 25px/1.45 var(--serif);
	color:#f0f2f3
}
.about-copy a:not(.about-link){
	color:#fff;
	text-decoration:underline;
	text-decoration-color:#6a7884;
	text-underline-offset:4px
}
.about-link{
	display:inline-flex;
	gap:32px;
	align-items:center;
	border-bottom:1px solid #677784;
	padding-bottom:10px;
	color:#fff;
	margin-top:12px;
	font-size:12px;
	font-weight:750
}
.about-link:hover{
	color:#e5a3a3
}
footer{
	background:#111a23;
	color:white;
	border-top:1px solid #34414b
}
.footer-inner{
	display:flex;
	justify-content:space-between;
	align-items:center;
	gap:30px;
	padding:28px 0
}
.footer-inner strong{
	font-size:10px;
	letter-spacing:.13em
}
.footer-inner p{
	margin:5px 0 0;
	font-size:11px;
	color:#82909c
}
.footer-links{
	display:flex;
	gap:26px;
	flex-wrap:wrap;
	font-size:11px;
	color:#aab6c0
}
@media(max-width:900px){
	.archive-stamp{
		display:none
}
	.hero-inner{
		padding:56px 0
}
	.dossier-card{
		grid-template-columns:38% minmax(0,1fr)
}

	.card-content{
		padding:25px
}
	.about-grid{
		gap:45px
}
}
@media(max-width:680px){
	.container{
		width:calc(100% - 36px)
}
	.header-inner{
		min-height:0;
		padding:19px 0;
		align-items:flex-start;
		flex-direction:column;
		gap:17px
}
	.wordmark{
		font-size:12px
}
	.monogram{
		width:34px;
		height:34px
}
	nav{
		gap:22px;
		font-size:11px
}
	.hero-inner{
		padding:43px 0 46px
}
	h1{
		font-size:40px
}
	.hero-lead{
		font-size:19px;
		margin-top:20px
}
	.hero-detail{
		font-size:13px
}
	.archive{
		padding:43px 0 55px
}
	.section-head{
		align-items:start;
		flex-direction:column;
		gap:7px;
		margin-bottom:20px
}
	.section-head h2{
		font-size:23px
}
	.section-index{
		font-size:9px
}
	.dossier-grid{
		gap:20px
}
	.dossier-card{
		grid-template-columns:1fr
}
	.cover{
		aspect-ratio:4/3
}
	.cover img{
		position:absolute;
		inset:0
}
	.cover-tag{
		bottom:12px;
		left:12px
}
	.card-content{
		padding:24px
}
	.card-content h3{
		font-size:29px
}
	.description{
		margin:15px 0 0
}
	.metadata{
		gap:9px;
		margin-bottom:20px
}
	.metadata span+span:before{
		margin-right:3px
}
	.card-bottom{
		gap:12px
}
	.price strong{
		font-size:19px
}
	.buy-button,.status-button{
		padding:12px 14px;
		gap:12px;
		font-size:11px
}
	.placeholder-art{
		position:absolute;
		inset:0;
		width:100%;
		height:100%;
		min-height:0;
		padding:22px
}
	.placeholder-art h4{
		font-size:26px
}
	.placeholder-art strong{
		font-size:50px
}
	.archive-note{
		align-items:flex-start;
		line-height:1.65
}
	.about{
		padding:56px 0 62px
}
	.about-grid{
		grid-template-columns:1fr;
		gap:32px
}
	.about h2{
		font-size:39px
}
	.about-rule{
		margin-top:23px
}
	.about-lead{
		font-size:20px
}
	.about-copy{
		font-size:13px
}
	.footer-inner{
		align-items:flex-start;
		flex-direction:column;
		gap:20px
}
	.footer-links{
		gap:20px
}
}
@media(max-width:360px){
	.container{
		width:calc(100% - 28px)
}
	.wordmark{
		font-size:11px
}
	nav{
		gap:16px
}
	h1{
		font-size:35px
}
	.card-content{
		padding:20px
}
	.card-content h3{
		font-size:26px
}
	.card-bottom{
		align-items:stretch;
		flex-direction:column
}
	.buy-button,.status-button{
		width:100%;
		justify-content:space-between
}
	.placeholder-art h4{
		font-size:22px
}
}
@media(prefers-reduced-motion:reduce){
	html{
		scroll-behavior:auto
}
	*,*:before,*:after{
		transition:none!important;
		animation:none!important
}
}

body .archive {
    background-color: #e4e1db !important;
}

/* Gumroad landing-page visual alignment */
.site-header{
    background:var(--ink);
    color:#fff;
    border-bottom:1px solid #35414c;
}
.header-inner{
    min-height:78px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:24px;
}
.wordmark{
    display:flex;
    align-items:center;
    padding:4px 0;
    flex:0 0 auto;
}
.wordmark img{
    display:block;
    width:190px;
    max-width:40vw;
    height:auto;
}
.site-header nav{
    display:flex;
    align-items:center;
    justify-content:flex-end;
    gap:18px;
    flex-wrap:wrap;
    color:var(--cream,#F5F1E9);
}
.site-header nav a{
    color:var(--cream,#F5F1E9);
}
.site-header nav .plain-nav-link,
.site-header nav .icon-link{
    display:inline-flex;
    align-items:center;
    gap:10px;
    font-size:13px;
    font-weight:750;
    line-height:1.25;
    letter-spacing:.02em;
}
.site-header nav a:hover{color:#fff}
.nav-icon{
    display:block;
    width:21px;
    height:21px;
    flex:0 0 21px;
}
.substack-icon{color:#f26f21}
.search-icon{color:var(--red)}

footer{
    background:#111a23;
    color:#9aa7b1;
    border-top:1px solid #34414b;
}
.footer-inner{
    padding:25px 0;
    display:flex;
    justify-content:space-between;
    gap:25px;
    align-items:center;
    font-size:11px;
}
.footer-brand strong{
    color:#fff;
    letter-spacing:.13em;
    font-size:10px;
}
.footer-brand p{
    margin:4px 0 0;
    color:#9aa7b1;
    font-size:11px;
}
.footer-links{
    display:flex;
    gap:28px;
    flex-wrap:wrap;
    align-items:center;
}
.footer-links a{
    display:inline-flex;
    align-items:center;
    gap:9px;
    font-size:14px;
    font-weight:700;
    color:var(--cream,#F5F1E9);
}
.footer-links a:hover{color:#fff}
.footer-links .nav-icon{
    width:19px;
    height:19px;
    flex-basis:19px;
}

@media(max-width:680px){
    .header-inner{
        min-height:0;
        padding:12px 0;
        align-items:flex-start;
        flex-direction:column;
        gap:12px;
    }
    .wordmark img{width:160px;max-width:58vw}
    .site-header nav{gap:12px 16px}
    .site-header nav .plain-nav-link,
    .site-header nav .icon-link{font-size:11px}
    .nav-icon{width:19px;height:19px;flex-basis:19px}
    .footer-inner{align-items:flex-start;flex-direction:column;gap:20px}
    .footer-links{gap:14px 20px}
    .footer-links a{font-size:13px}
    .hero-detail{font-size:16px}
    .subtitle{font-size:17px}
    .description{font-size:16px}
    .about-copy{font-size:16px}
}


/* --- Final visual refinements --- */

/* Match the About/Behind the Archive heading color to the Gumroad footer's off-white text. */
.about .eyebrow,
.about h2,
.about h2 em{
	color:#f5f1e9;
}

/* Bright red magnifying-glass icon for ResearchColumbine.com. */
.research-link .search-icon{
	color:var(--bright-red);
}

/* Archive image placeholder behind the 1999—2026 stamp text. */
.archive-image-stamp{
	position:relative;
	isolation:isolate;
	overflow:hidden;
	min-width:300px;
	min-height:220px;
	justify-content:center;
	background:
		linear-gradient(rgba(17,26,35,.60),rgba(17,26,35,.60)),
		url("assets/main-cover800.png") center/cover no-repeat;
	border:1px solid #596773;
	color:#f5f1e9;
	text-shadow:0 1px 8px rgba(0,0,0,.65);
	transform:rotate(-2deg);
}
.archive-image-stamp > span,
.archive-image-stamp strong,
.archive-image-stamp strong span{
	position:relative;
	z-index:1;
}
.archive-image-stamp > span{
	color:#f5f1e9;
}
.archive-image-stamp strong{
	color:#fff;
}
.archive-image-stamp strong span{
	color:var(--bright-red);
}

@media(max-width:900px){
	.archive-image-stamp{
		display:none;
	}
}


/* =========================================================
   GUMROAD-MATCHED MAIN HERO
   ========================================================= */

.hero{
	background:#F5F1E9;
	border-bottom:1px solid #c4c9ca;
}

.hero .hero-inner{
	display:grid;
	grid-template-columns:minmax(0,1.12fr) minmax(380px,.88fr);
	align-items:center;
	gap:66px;
	padding:72px 0 76px;
}

.hero-copy{
	min-width:0;
}

.hero .eyebrow{
	margin:0 0 18px;
	color:var(--red);
	font-size:10px;
	font-weight:800;
	letter-spacing:.17em;
	text-transform:uppercase;
}

.hero h1{
	font:400 clamp(48px,5.6vw,72px)/.98 var(--serif);
	letter-spacing:-.045em;
	margin:0;
	max-width:620px;
}

.hero h1 em{
	color:var(--red);
	font-weight:400;
}

.hero-lead{
	font:400 clamp(23px,2.8vw,30px)/1.32 var(--serif);
	margin:25px 0 16px;
	color:#263540;
	max-width:610px;
}

.hero-detail{
	color:#65717a;
	max-width:590px;
	font-size:17px;
	line-height:1.8;
	margin:0;
}

.hero-art{
	width:100%;
	display:flex;
	justify-content:flex-end;
	align-items:center;
}

.hero-image-wrap{
	position:relative;
	width:min(100%,480px);
	margin-left:auto;
}

.hero-main-cover{
	display:block;
	width:100%;
	aspect-ratio:4/3;
	object-fit:cover;
	object-position:center;
	border:0;
}

.hero-archive-stamp{
	position:absolute;
	top:-20px;
	right:-14px;
	width:166px;
	min-height:78px;
	padding:13px 15px 12px;
	display:flex;
	flex-direction:column;
	align-items:center;
	justify-content:center;
	gap:5px;
	background:#F5F1E9;
	border:1px solid #aeb8be;
	color:#73808a;
	text-align:center;
	transform:rotate(2deg);
	box-shadow:0 4px 12px rgba(23,35,46,.06);
}

.hero-archive-stamp > span{
	font-size:8px;
	letter-spacing:.16em;
	font-weight:800;
	line-height:1.25;
}

.hero-archive-stamp strong{
	font:400 28px/1 var(--serif);
	color:#53616c;
	letter-spacing:-.04em;
	white-space:nowrap;
}

.hero-archive-stamp strong span{
	color:var(--red);
}

/* Retire the previous large image-stamp treatment. */
.archive-image-stamp{
	display:none !important;
}

@media(max-width:980px){
	.hero .hero-inner{
		grid-template-columns:1fr;
		gap:42px;
	}
	.hero-art{
		justify-content:flex-start;
	}
	.hero-image-wrap{
		width:min(100%,680px);
		margin-left:0;
	}
	.hero-archive-stamp{
		right:12px;
	}
}

@media(max-width:680px){
	.hero .hero-inner{
		padding:44px 0 52px;
		gap:34px;
	}
	.hero h1{
		font-size:44px;
	}
	.hero-lead{
		font-size:21px;
	}
	.hero-detail{
		font-size:16px;
	}
	.hero-image-wrap{
		width:100%;
	}
	.hero-archive-stamp{
		top:-14px;
		right:8px;
		width:142px;
		min-height:68px;
		padding:10px 12px;
	}
	.hero-archive-stamp strong{
		font-size:24px;
	}
	.hero-archive-stamp > span{
		font-size:7px;
	}
}


/* FINAL HERO IMAGE ORIENTATION FIX
   Keep main-cover.webp in its original landscape 800x600 proportions. */
.hero-image-wrap{
    width:min(100%,480px);
    aspect-ratio:auto !important;
}

.hero-main-cover{
    display:block;
    width:100% !important;
    height:auto !important;
    max-width:800px;
    aspect-ratio:auto !important;
    object-fit:contain !important;
    object-position:center;
}

@media(max-width:980px){
    .hero-image-wrap{
        width:min(100%,680px);
    }
}

@media(max-width:680px){
    .hero-image-wrap{
        width:100%;
    }
}


/* =========================================================
   SERIES NAVIGATION + CENTERED HEADER
   ========================================================= */

.site-header .header-inner{
	justify-content:center;
}

.site-header nav{
	justify-content:center;
	width:100%;
}

.nav-dropdown{
	position:relative;
	display:inline-flex;
	align-items:center;
}

.nav-dropdown details{
	position:relative;
}

.nav-dropdown summary{
	list-style:none;
	cursor:pointer;
	color:var(--cream,#F5F1E9);
	display:inline-flex;
	align-items:center;
	gap:7px;
	font-size:13px;
	font-weight:750;
	line-height:1.25;
	letter-spacing:.02em;
}

.nav-dropdown summary::-webkit-details-marker{
	display:none;
}

.nav-dropdown summary::after{
	content:"▾";
	font-size:10px;
	color:#d8b1b1;
}

.nav-dropdown details[open] summary::after{
	content:"▴";
}

.series-dropdown-menu{
	position:absolute;
	top:calc(100% + 14px);
	left:50%;
	transform:translateX(-50%);
	z-index:100;
	width:min(390px,88vw);
	padding:7px;
	background:#111a23;
	border:1px solid #46535e;
	box-shadow:0 14px 34px rgba(0,0,0,.26);
}

.site-header .series-dropdown-menu a{
	display:block;
	padding:12px 13px;
	color:#fff;
	border-bottom:1px solid #2b3741;
}

.site-header .series-dropdown-menu a:last-child{
	border-bottom:0;
}

.site-header .series-dropdown-menu a:hover{
	background:#1b2731;
	text-decoration:none;
}

.series-dropdown-menu strong{
	display:block;
	font:700 15px/1.25 var(--serif);
	color:#fff;
}

.series-dropdown-menu span{
	display:block;
	margin-top:4px;
	color:#9faab3;
	font-size:11px;
	font-weight:500;
	line-height:1.45;
	letter-spacing:0;
}

.series-label{
	margin:6px 0 12px;
	color:#7c878f;
	font-size:11px;
	font-weight:750;
	letter-spacing:.055em;
	text-transform:uppercase;
}

.series-label a{
	color:var(--red);
	border-bottom:1px solid #caa6a6;
	padding-bottom:1px;
}

.series-label a:hover{
	color:#7d1e1e;
	border-bottom-color:#7d1e1e;
}

@media(max-width:680px){
	.site-header .header-inner{
		align-items:center;
	}
	.site-header nav{
		justify-content:center;
	}
	.nav-dropdown{
		width:auto;
	}
	.nav-dropdown summary{
		font-size:11px;
	}
	.series-dropdown-menu{
		position:absolute;
		left:50%;
		transform:translateX(-50%);
		width:min(340px,92vw);
	}
}

/* =========================================================
   SERIES INDEX + SERIES CATEGORY PAGES
   ========================================================= */

.series-hero{
	background:#F5F1E9;
	border-bottom:1px solid #c4c9ca;
}

.series-hero-inner{
	padding:58px 0 62px;
	max-width:830px;
}

.series-hero h1{
	font:400 clamp(42px,5vw,64px)/1 var(--serif);
	letter-spacing:-.04em;
	margin:0;
}

.series-hero p{
	max-width:760px;
	color:#5f6b73;
	font-size:17px;
	line-height:1.75;
	margin:18px 0 0;
}

.series-page{
	padding:52px 0 76px;
	background:#e4e1db;
	min-height:50vh;
}

.series-directory{
	display:grid;
	grid-template-columns:repeat(2,minmax(0,1fr));
	gap:18px;
}

.series-directory-card{
	display:block;
	background:#fff;
	border:1px solid #c6cbce;
	padding:25px 27px;
	transition:border-color .2s,box-shadow .2s,transform .2s;
}

.series-directory-card:hover{
	border-color:#9ea8ae;
	box-shadow:0 8px 24px rgba(23,35,46,.08);
	transform:translateY(-1px);
	text-decoration:none;
}

.series-directory-card .series-no{
	display:block;
	color:var(--red);
	font-size:9px;
	font-weight:800;
	letter-spacing:.14em;
	text-transform:uppercase;
	margin-bottom:9px;
}

.series-directory-card h2{
	margin:0 0 9px;
	font:600 27px/1.15 var(--serif);
	letter-spacing:-.02em;
}

.series-directory-card p{
	margin:0;
	color:#65717a;
	font-size:14px;
	line-height:1.65;
}

.series-dossier-list{
	margin-top:26px;
	background:#fff;
	border:1px solid #c6cbce;
}

.series-dossier-row{
	display:grid;
	grid-template-columns:minmax(0,1fr) auto;
	gap:20px;
	align-items:center;
	padding:19px 22px;
	border-top:1px solid #dde0e2;
}

.series-dossier-row:first-child{
	border-top:0;
}

.series-dossier-row h3{
	margin:0;
	font:600 23px/1.25 var(--serif);
}

.series-dossier-row p{
	margin:5px 0 0;
	color:#707b83;
	font-size:14px;
	line-height:1.55;
}

.series-status{
	font-size:10px;
	font-weight:800;
	letter-spacing:.1em;
	text-transform:uppercase;
	color:#8b949a;
	white-space:nowrap;
}

.empty-series{
	padding:28px 22px;
	color:#65717a;
	background:#fff;
	border:1px solid #c6cbce;
}

@media(max-width:760px){
	.series-directory{
		grid-template-columns:1fr;
	}
	.series-dossier-row{
		grid-template-columns:1fr;
		gap:6px;
	}
}




/* Section heading inside the Explore All Dossiers dropdown */
.dropdown-label{
	display:block;
	width:100%;
	padding:12px 13px;
	margin:0;
	color:#fff;
	background:#1b2731;
	border-bottom:1px solid #2b3741;
	text-align:center;
	font-size:11px;
	font-weight:800;
	letter-spacing:.10em;
	text-transform:uppercase;
	line-height:1.25;
}


/* Longer research statement in footer */
.footer-brand{
	max-width:720px;
}
.footer-brand p{
	margin:0 0 10px;
	color:#aab6c0;
	font-size:13px;
	line-height:1.7;
}
.footer-brand p:last-child{
	margin-bottom:0;
}
@media(max-width:680px){
	.footer-brand{
		max-width:none;
	}
	.footer-brand p{
		font-size:12px;
		line-height:1.65;
	}
}


/* Series pages now use the same dossier-card presentation as the home page. */
.series-card-archive{
	padding-top:54px;
	min-height:60vh;
}
.series-card-archive .section-head{
	margin-bottom:26px;
}
.series-card-archive .dossier-grid{
	grid-template-columns:1fr;
}
.series-card-archive .placeholder-cover{
	min-height:0;
}
.series-card-archive .placeholder-art{
	min-height:100%;
}


/* Keep mobile cards natural when they stack. */
@media(max-width:680px){
	.dossier-card > .cover{
		align-self:stretch;
	}
}


/* Keep every dossier cover vertically centered beside the text column. */
.dossier-card{
	align-items:center;
}

.dossier-card > .cover{
	align-self:center;
}

/* On mobile the card stacks, so the cover should return to normal full-width flow. */
@media(max-width:680px){
	.dossier-card{
		align-items:stretch;
	}
	.dossier-card > .cover{
		align-self:stretch;
	}
}


/* Center dossier covers horizontally within the left grid column with equal side spacing. */
.dossier-card > .cover{
	width:calc(100% - 40px);
	margin-left:auto;
	margin-right:auto;
}

/* Keep mobile covers full width when cards stack. */
@media(max-width:680px){
	.dossier-card > .cover{
		width:100%;
		margin-left:0;
		margin-right:0;
	}
}


/* =========================================================
   DOSSIER STOREFRONT LAYOUT
   ========================================================= */

.storefront-dossier-grid{
	display:grid;
	grid-template-columns:1fr;
	gap:14px;
}

.store-card{
	display:flex;
	align-items:center;
	gap:18px;
	background:#f7f7f5;
	border:1px solid #c8c7c2;
	border-radius:4px;
	padding:16px 14px;
	min-height:270px;
}

.store-card-cover-wrap{
	flex:0 0 128px;
	display:flex;
	align-items:center;
	justify-content:center;
}

.store-card-cover{
	width:128px;
	height:188px;
	background:#10161b;
	border:1px solid #8c8f95;
	box-shadow:0 1px 2px rgba(0,0,0,.08);
	overflow:hidden;
	display:flex;
	align-items:center;
	justify-content:center;
}

.store-card-cover img{
	width:100%;
	height:100%;
	object-fit:cover;
	display:block;
}

.store-card-cover.placeholder{
	background:linear-gradient(180deg,#203141 0%, #11181f 100%);
	padding:14px;
	text-align:center;
}

.placeholder-inner{
	display:flex;
	flex-direction:column;
	align-items:center;
	justify-content:center;
	gap:10px;
	height:100%;
	color:#fff;
}

.placeholder-kicker{
	font-size:8px;
	font-weight:700;
	letter-spacing:.14em;
	opacity:.85;
}

.placeholder-inner strong{
	font:700 19px/1.1 var(--serif);
}

.store-card-content{
	flex:1 1 auto;
	min-width:0;
	display:flex;
	flex-direction:column;
	justify-content:space-between;
	align-self:stretch;
}

.store-card-copy h3{
	margin:0 0 7px;
	font:600 clamp(22px,2vw,28px)/1.05 var(--serif);
	color:#1d2530;
	letter-spacing:-.025em;
}

.store-card-series{
	margin:0 0 10px;
	font-size:10px;
	font-weight:800;
	letter-spacing:.12em;
	text-transform:uppercase;
	color:#68717a;
}

.store-card-series a{
	color:#b02323;
	text-decoration:none;
}

.store-card-subtitle{
	margin:0 0 10px;
	font-size:15px;
	line-height:1.35;
	font-weight:700;
	color:#25303a;
}

.store-card-description{
	margin:0;
	font-size:14px;
	line-height:1.55;
	color:#4f5a64;
}

.store-card-footer{
	margin-top:16px;
	padding-top:12px;
	border-top:1px solid #dbdad5;
}

.store-card-meta{
	display:flex;
	flex-wrap:wrap;
	gap:8px 18px;
	font-size:12px;
	font-weight:700;
	color:#a32727;
	margin-bottom:10px;
}

.store-card-meta span+span{
	position:relative;
}

.store-card-meta span+span::before{
	content:"·";
	position:absolute;
	left:-11px;
	color:#a32727;
}

.store-card-actions{
	display:flex;
	align-items:center;
	justify-content:space-between;
	gap:12px;
}

.store-card-price{
	font:700 21px/1 var(--serif);
	color:#b02323;
	white-space:nowrap;
}

.store-card-button{
	display:inline-flex;
	align-items:center;
	justify-content:center;
	gap:8px;
	min-width:136px;
	padding:11px 16px;
	background:#b52a2a;
	color:#fff;
	font-weight:700;
	font-size:14px;
	border-radius:3px;
	text-decoration:none;
	white-space:nowrap;
}

.store-card-button:hover{
	background:#982020;
	text-decoration:none;
	color:#fff;
}

.series-storefront{
	padding:46px 0 72px;
	background:#efeee9;
}

.series-intro{
	text-align:center;
	margin:0 auto 24px;
	max-width:940px;
}

.series-intro h1{
	margin:0 0 8px;
	font:700 clamp(42px,5vw,72px)/1.02 var(--serif);
	letter-spacing:-.04em;
	color:#151d27;
}

.series-intro p{
	margin:0;
	font-size:18px;
	line-height:1.55;
	color:#66727b;
}

.bundle-section{
	margin:28px 0 28px;
	border:1px solid #c8c7c2;
	background:#f7f7f5;
	border-radius:4px;
	padding:14px 14px 12px;
}

.bundle-section-head{
	display:grid;
	grid-template-columns:320px minmax(0,1fr);
	align-items:center;
	gap:18px;
	padding:0 0 14px;
	border-bottom:1px solid #d8d7d2;
	margin-bottom:14px;
}

.bundle-title-block{
	border-right:1px solid #d8d7d2;
	padding-right:18px;
}

.bundle-title-block h2{
	margin:0;
	font:700 clamp(34px,4vw,52px)/1 var(--serif);
	letter-spacing:-.03em;
	color:#151d27;
}

.bundle-copy-kicker{
	margin:0 0 5px;
	font-size:11px;
	font-weight:800;
	letter-spacing:.18em;
	text-transform:uppercase;
	color:#c12626;
}

.bundle-copy-block p{
	margin:0;
	font-size:16px;
	line-height:1.45;
	color:#5e6973;
}

.bundle-list{
	display:grid;
	gap:10px;
}

.bundle-card{
	display:grid;
	grid-template-columns:210px minmax(0,1fr) 240px;
	align-items:center;
	gap:18px;
	background:#fbfbf9;
	border:1px solid #d8d7d2;
	border-radius:4px;
	padding:12px 14px;
}

.bundle-badge-wrap{
	display:flex;
	align-items:center;
	justify-content:center;
}

.bundle-badge{
	width:176px;
	height:146px;
	background:linear-gradient(180deg,#0f2230 0%, #11151b 100%);
	border:1px solid #59636d;
	display:flex;
	flex-direction:column;
	align-items:center;
	justify-content:center;
	text-align:center;
	color:#fff;
}

.bundle-mini-kicker{
	font-size:7px;
	font-weight:700;
	letter-spacing:.14em;
	opacity:.8;
	margin-bottom:6px;
}

.bundle-mini-label{
	font-size:15px;
	letter-spacing:.11em;
	margin-bottom:2px;
}

.bundle-badge strong{
	font:700 40px/1 var(--serif);
	color:#e12b2b;
	margin-bottom:6px;
}

.bundle-mini-copy{
	font-size:12px;
	letter-spacing:.08em;
}

.bundle-mini-save{
	font-size:12px;
	font-weight:800;
	color:#ff5a52;
	margin-top:4px;
	letter-spacing:.08em;
}

.bundle-main{
	padding-right:6px;
}

.bundle-main h3{
	margin:0 0 8px;
	font:700 19px/1.15 var(--serif);
	color:#1a2230;
	letter-spacing:-.01em;
	text-transform:uppercase;
}

.bundle-main ul{
	margin:0 0 10px 20px;
	padding:0;
	font-size:14px;
	line-height:1.45;
	color:#1f2832;
}

.bundle-main p{
	margin:0;
	font-size:14px;
	line-height:1.45;
	color:#616c76;
}

.bundle-side{
	border-left:1px solid #d8d7d2;
	padding-left:18px;
	display:flex;
	flex-direction:column;
	align-items:flex-start;
	justify-content:center;
	gap:10px;
}

.bundle-format{
	margin:0;
	font-size:11px;
	font-weight:800;
	letter-spacing:.14em;
	line-height:1.35;
	color:#5b6470;
	text-transform:uppercase;
}

.bundle-price{
	display:flex;
	align-items:flex-end;
	gap:12px;
}

.bundle-was{
	font:600 18px/1 var(--serif);
	color:#818991;
	text-decoration:line-through;
}

.bundle-price strong{
	font:700 34px/1 var(--serif);
	color:#c12626;
}

.individual-dossiers{
	margin-top:10px;
}

.mini-section-head{
	display:flex;
	align-items:center;
	gap:18px;
	margin:0 0 16px;
	padding-top:2px;
}

.mini-section-head h2{
	margin:0;
	font:700 clamp(30px,4vw,54px)/1 var(--serif);
	color:#151d27;
	letter-spacing:-.03em;
	white-space:nowrap;
}

.mini-section-head p{
	margin:0;
	padding-left:18px;
	border-left:1px solid #c9c8c4;
	font-size:13px;
	font-weight:800;
	letter-spacing:.18em;
	text-transform:uppercase;
	color:#6b7680;
}

.empty-series-state{
	background:#f7f7f5;
	border:1px solid #c8c7c2;
	padding:22px;
	font-size:16px;
	color:#59636d;
}

#dossiers .section-head{
	margin-bottom:18px;
}

#dossiers .section-head .eyebrow{
	margin-bottom:6px;
}

#dossiers .section-index{
	display:none;
}

/* Existing header/footer stay intact. This only changes the dossier listing layout. */
@media(max-width:1180px){
	.bundle-card{
		grid-template-columns:190px minmax(0,1fr) 220px;
	}
	.bundle-section-head{
		grid-template-columns:280px minmax(0,1fr);
	}
}

@media(max-width:860px){
	.storefront-dossier-grid{
		grid-template-columns:1fr;
	}
	.bundle-section-head{
		grid-template-columns:1fr;
		gap:12px;
	}
	.bundle-title-block{
		border-right:0;
		padding-right:0;
		border-bottom:1px solid #d8d7d2;
		padding-bottom:10px;
	}
	.bundle-card{
		grid-template-columns:1fr;
	}
	.bundle-badge-wrap{
		justify-content:flex-start;
	}
	.bundle-side{
		border-left:0;
		border-top:1px solid #d8d7d2;
		padding-left:0;
		padding-top:12px;
	}
	.mini-section-head{
		flex-direction:column;
		align-items:flex-start;
		gap:10px;
	}
	.mini-section-head p{
		border-left:0;
		padding-left:0;
	}
}

@media(max-width:580px){
	.store-card{
		flex-direction:column;
		align-items:stretch;
	}
	.store-card-cover-wrap{
		flex:0 0 auto;
	}
	.store-card-cover{
		margin:0 auto;
	}
	.store-card-actions{
		flex-direction:column;
		align-items:stretch;
	}
	.store-card-button{
		width:100%;
	}
}


/* FINAL DOSSIER LISTING LAYOUT
   Keep dossier cards in one vertical column on home and category pages. */
.storefront-dossier-grid{
	grid-template-columns:1fr !important;
}


/* HARD OVERRIDE: dossier listings must always be one vertical column. */
.storefront-dossier-grid{
	display:flex !important;
	flex-direction:column !important;
	flex-wrap:nowrap !important;
	width:100% !important;
	gap:14px !important;
}

.storefront-dossier-grid > .store-card{
	width:100% !important;
	max-width:none !important;
	flex:0 0 auto !important;
}

/* Keep the contents of each individual dossier card horizontal on desktop. */
.store-card{
	display:flex !important;
	flex-direction:row !important;
	align-items:center !important;
}

/* Mobile: only the contents of each card stack; the dossier LIST remains one column. */
@media(max-width:580px){
	.store-card{
		flex-direction:column !important;
	}
}


/* =========================================================
   FINAL INDIVIDUAL DOSSIER CARD LAYOUT
   Match the approved compact horizontal reference.
   ========================================================= */

.storefront-dossier-grid{
	display:flex !important;
	flex-direction:column !important;
	flex-wrap:nowrap !important;
	gap:12px !important;
	width:100% !important;
}

.store-card{
	display:grid !important;
	grid-template-columns:260px minmax(0,1fr) 150px !important;
	align-items:center !important;
	gap:18px !important;
	width:100% !important;
	min-height:210px !important;
	padding:12px 14px !important;
	background:#f7f7f5 !important;
	border:1px solid #c8c7c2 !important;
	border-radius:4px !important;
}

.store-card-cover-wrap{
	display:flex !important;
	align-items:center !important;
	justify-content:center !important;
	width:100% !important;
	height:100% !important;
}

.store-card-cover{
	width:230px !important;
	height:172px !important;
	margin:0 auto !important;
	display:flex !important;
	align-items:center !important;
	justify-content:center !important;
	overflow:hidden !important;
	background:#111820 !important;
	border:1px solid #8d9296 !important;
}

.store-card-cover img{
	display:block !important;
	width:100% !important;
	height:100% !important;
	object-fit:cover !important;
	object-position:center !important;
}

.store-card-content{
	display:contents !important;
}

.store-card-copy{
	align-self:center !important;
	min-width:0 !important;
}

.store-card-copy h3{
	margin:0 0 5px !important;
	font:600 25px/1.08 var(--serif) !important;
	letter-spacing:-.02em !important;
	color:#17212a !important;
}

.store-card-series{
	margin:0 0 7px !important;
	font-size:9px !important;
	line-height:1.2 !important;
	font-weight:800 !important;
	letter-spacing:.11em !important;
	text-transform:uppercase !important;
	color:#6d7680 !important;
}

.store-card-series a{
	color:#b32626 !important;
}

.store-card-subtitle{
	margin:0 0 7px !important;
	font-size:14px !important;
	line-height:1.35 !important;
	font-weight:700 !important;
	color:#27323d !important;
}

.store-card-description{
	margin:0 !important;
	font-size:13px !important;
	line-height:1.45 !important;
	color:#515d67 !important;
}

.store-card-footer{
	align-self:stretch !important;
	margin:0 !important;
	padding:0 0 0 18px !important;
	border-top:0 !important;
	border-left:1px solid #d4d4cf !important;
	display:flex !important;
	flex-direction:column !important;
	justify-content:center !important;
	min-width:0 !important;
}

.store-card-meta{
	margin:0 0 14px !important;
	display:flex !important;
	flex-wrap:wrap !important;
	gap:5px 13px !important;
	font-size:11px !important;
	line-height:1.25 !important;
	font-weight:700 !important;
	color:#a22626 !important;
}

.store-card-meta span+span::before{
	left:-8px !important;
}

.store-card-actions{
	display:flex !important;
	flex-direction:column !important;
	align-items:stretch !important;
	gap:10px !important;
}

.store-card-price{
	text-align:center !important;
	font:700 24px/1 var(--serif) !important;
	color:#b12626 !important;
}

.store-card-button{
	width:100% !important;
	min-width:0 !important;
	padding:11px 12px !important;
	font-size:13px !important;
}

@media(max-width:900px){
	.store-card{
		grid-template-columns:210px minmax(0,1fr) 135px !important;
		gap:14px !important;
	}
	.store-card-cover{
		width:190px !important;
		height:142px !important;
	}
	.store-card-copy h3{
		font-size:22px !important;
	}
}

@media(max-width:680px){
	.store-card{
		grid-template-columns:1fr !important;
		gap:14px !important;
		padding:14px !important;
	}
	.store-card-cover-wrap{
		justify-content:center !important;
	}
	.store-card-cover{
		width:min(100%,420px) !important;
		height:auto !important;
		aspect-ratio:4/3 !important;
	}
	.store-card-content{
		display:contents !important;
	}
	.store-card-footer{
		border-left:0 !important;
		border-top:1px solid #d4d4cf !important;
		padding:12px 0 0 !important;
	}
	.store-card-actions{
		flex-direction:row !important;
		align-items:center !important;
	}
	.store-card-price{
		text-align:left !important;
	}
	.store-card-button{
		width:auto !important;
		min-width:140px !important;
	}
}


/* Keep "BUNDLE & SAVE" on one line on desktop. */
@media(min-width:861px){
	.bundle-title-block h2{
		font-size:34px !important;
		white-space:nowrap !important;
	}
}


/* =========================================================
   CONSISTENT DOSSIER SECTION FRAME
   Match the horizontal framing used by the hero/site container.
   ========================================================= */

.dossier-section-frame{
	width:min(1160px,calc(100% - 64px)) !important;
	margin-left:auto !important;
	margin-right:auto !important;
}

#dossiers.archive{
	padding-left:0 !important;
	padding-right:0 !important;
}

.series-storefront > .dossier-section-frame{
	padding-left:0 !important;
	padding-right:0 !important;
}

@media(max-width:680px){
	.dossier-section-frame{
		width:calc(100% - 36px) !important;
	}
}

@media(max-width:360px){
	.dossier-section-frame{
		width:calc(100% - 28px) !important;
	}
}


/* =========================================================
   DOSSIER META BELOW BUTTON
   Put page count + Digital download under the CTA, in black.
   ========================================================= */

.store-card-footer{
	display:flex !important;
	flex-direction:column !important;
}

.store-card-actions{
	order:1 !important;
}

.store-card-meta{
	order:2 !important;
	margin:12px 0 0 !important;
	display:flex !important;
	justify-content:center !important;
	gap:10px !important;
	color:#111 !important;
	font-size:11px !important;
	font-weight:700 !important;
	line-height:1.25 !important;
	text-align:center !important;
}

.store-card-meta span{
	color:#111 !important;
}

.store-card-meta span+span::before{
	content:none !important;
	display:none !important;
}

@media(max-width:680px){
	.store-card-meta{
		justify-content:flex-start !important;
		text-align:left !important;
	}
}


/* Match dossier metadata typography to the bundle format label. */
.store-card-meta{
	display:flex !important;
	flex-direction:column !important;
	align-items:center !important;
	justify-content:center !important;
	gap:2px !important;
	margin:12px 0 0 !important;
	color:#5b6470 !important;
	font-size:11px !important;
	font-weight:800 !important;
	letter-spacing:.14em !important;
	line-height:1.35 !important;
	text-transform:uppercase !important;
	text-align:center !important;
}

.store-card-meta span{
	color:#5b6470 !important;
}

@media(max-width:680px){
	.store-card-meta{
		align-items:flex-start !important;
		text-align:left !important;
	}
}


.substack-banner img{
  display:block;
  width:auto;
  max-width:100%;
  height:auto;
}

.substack-banner{
  border:0 !important;
  padding:0 !important;
}

/* =========================================================
   FINAL NAVIGATION LABEL + SIZE OVERRIDES
   ========================================================= */

/* Keep the explicit down-arrow beside Explore All Dossiers bright yellow. */
.site-header .nav-dropdown summary::after{
    content:none !important;
    display:none !important;
}
.site-header .nav-dropdown summary .dropdown-arrow-left{
    display:inline-block !important;
    color:#ffd400 !important;
    font-size:17px !important;
    font-weight:900 !important;
    line-height:1 !important;
    margin:0 !important;
    vertical-align:-1px !important;
}

/* Main desktop navigation: 2px smaller than the previous 15px sizing. */
.site-header nav .plain-nav-link,
.site-header nav .icon-link,
.site-header .nav-dropdown summary{
    font-size:13px !important;
}

/* Footer keeps its own sizing and does not use the yellow dropdown arrow. */
.footer-links .plain-footer-link,
.footer-links .icon-link{
    font-size:14px;
}

@media(max-width:680px){
    .site-header nav .plain-nav-link,
    .site-header nav .icon-link,
    .site-header .nav-dropdown summary{
        font-size:11px !important;
    }
}


/* FINAL FIX: force Explore All Dossiers arrow to bright yellow */
.site-header .nav-dropdown summary .dropdown-arrow-left,
.site-header .nav-dropdown summary .dropdown-arrow,
.site-header .nav-dropdown summary > span[aria-hidden="true"]{
    color:#ffd400 !important;
    fill:#ffd400 !important;
    opacity:1 !important;
    text-shadow:none !important;
}

/* If a pseudo-element arrow is ever rendered, make that yellow too. */
.site-header .nav-dropdown summary::after{
    color:#ffd400 !important;
    fill:#ffd400 !important;
}

/* =========================================================
   FORCED DONATE ICON — HEADER + FOOTER
   ========================================================= */

/* Force the Donate icon to remain a green dollar sign inside a white box
   in both the main navigation and footer navigation. */
.site-header .donate-link .donate-icon,
.footer-links .donate-link .donate-icon{
    display:inline-grid !important;
    place-items:center !important;
    width:22px !important;
    height:22px !important;
    min-width:22px !important;
    min-height:22px !important;
    flex:0 0 22px !important;
    box-sizing:border-box !important;

    background:#ffffff !important;
    color:#169447 !important;
    -webkit-text-fill-color:#169447 !important;

    border:1px solid #ffffff !important;
    border-radius:2px !important;

    font-family:Arial,Helvetica,sans-serif !important;
    font-size:15px !important;
    font-style:normal !important;
    font-weight:900 !important;
    line-height:1 !important;
    text-align:center !important;

    opacity:1 !important;
    visibility:visible !important;
    overflow:visible !important;
    text-decoration:none !important;
    text-shadow:none !important;
}

/* Keep the Donate label aligned cleanly with the forced icon. */
.site-header .donate-link,
.footer-links .donate-link{
    display:inline-flex !important;
    align-items:center !important;
    gap:7px !important;
}

/* =========================================================
   RESTORED DOSSIER BUTTON LAYOUT + ICONS
   ========================================================= */

/* Restore equal breathing room on both sides of the button column.
   The third grid column is widened so adding right padding does not
   make the buttons narrower than before. */
.storefront-dossier-grid > .store-card{
    grid-template-columns:260px minmax(0,1fr) 178px !important;
}

.store-card .store-card-footer{
    padding:0 18px !important;
    border-left:1px solid #d4d4cf !important;
}

/* Restore the larger button text. */
.store-card .store-card-actions .dossier-resource-button,
.bundle-card .bundle-resource-actions .dossier-resource-button{
    position:relative !important;
    gap:8px !important;
    min-width:0 !important;
    font-size:14px !important;
    font-weight:800 !important;
    line-height:1 !important;
}

/* Green ePub book icon. */
.store-card .dossier-resource-button.epub::before,
.bundle-card .dossier-resource-button.epub::before{
    content:"" !important;
    display:inline-block !important;
    width:18px !important;
    height:18px !important;
    flex:0 0 18px !important;
    background-repeat:no-repeat !important;
    background-position:center !important;
    background-size:18px 18px !important;
    background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 18 18'%3E%3Crect x='1' y='1' width='16' height='16' rx='3' fill='%2359a52c'/%3E%3Cpath d='M5 5.2c1.7-.75 3.05-.55 4 .25v7.15c-.95-.8-2.3-1-4-.25V5.2Zm8 0c-1.7-.75-3.05-.55-4 .25v7.15c.95-.8 2.3-1 4-.25V5.2Z' fill='none' stroke='white' stroke-width='1.15' stroke-linejoin='round'/%3E%3Cpath d='M9 5.4v7.2' stroke='white' stroke-width='1.05'/%3E%3C/svg%3E") !important;
}

/* PDF file icon. */
.store-card .dossier-resource-button.pdf::before,
.bundle-card .dossier-resource-button.pdf::before{
    content:"" !important;
    display:inline-block !important;
    width:18px !important;
    height:18px !important;
    flex:0 0 18px !important;
    background-repeat:no-repeat !important;
    background-position:center !important;
    background-size:18px 18px !important;
    background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 18 18'%3E%3Cpath d='M3 1.5h7.3L15 6.2v10.3H3V1.5Z' fill='white'/%3E%3Cpath d='M10.3 1.5v4.7H15' fill='none' stroke='%23d22d2d' stroke-width='1.2' stroke-linejoin='round'/%3E%3Crect x='4.3' y='9.1' width='9.4' height='4.3' rx='1' fill='%23d22d2d'/%3E%3Ctext x='9' y='12.3' text-anchor='middle' font-family='Arial,sans-serif' font-size='3.4' font-weight='700' fill='white'%3EPDF%3C/text%3E%3C/svg%3E") !important;
}

@media(max-width:900px) and (min-width:681px){
    .storefront-dossier-grid > .store-card{
        grid-template-columns:210px minmax(0,1fr) 168px !important;
    }
    .store-card .store-card-footer{
        padding:0 14px !important;
    }
}

@media(max-width:680px){
    .storefront-dossier-grid > .store-card{
        grid-template-columns:1fr !important;
    }
    .store-card .store-card-footer{
        border-left:0 !important;
        border-top:1px solid #d4d4cf !important;
        padding:12px 0 0 !important;
    }
}

/* =========================================================
   COMPACT DOSSIER SEARCH BAR
   ========================================================= */

.article-search-wrap .article-search{
    display:grid !important;
    grid-template-columns:minmax(0, 1fr) auto auto !important;
    grid-template-rows:auto auto auto !important;
    column-gap:8px !important;
    row-gap:6px !important;
    align-items:center !important;
    max-width:840px !important;
    margin:0 auto !important;
}

/* Search field stays normal height and spans both button rows */
.article-search-wrap .article-search input{
    grid-column:1 !important;
    grid-row:1 / 3 !important;

    width:100% !important;
    min-width:0 !important;
    height:40px !important;
    padding:8px 12px !important;
}

/* SEARCH directly to the right of the search field */
.article-search-wrap .article-search .search-go{
    grid-column:2 !important;
    grid-row:1 !important;
}

/* CLEAR directly underneath Search */
.article-search-wrap .article-search .search-clear{
    grid-column:2 !important;
    grid-row:2 !important;
}

/* PREV and NEXT stacked in the third column */
.article-search-wrap .article-search .search-prev{
    grid-column:3 !important;
    grid-row:1 !important;
}

.article-search-wrap .article-search .search-next{
    grid-column:3 !important;
    grid-row:2 !important;
}

/* Keep all four buttons compact and matching */
.article-search-wrap .article-search button{
    min-height:34px !important;
    height:34px !important;
    padding:6px 12px !important;
    margin:0 !important;
    white-space:nowrap !important;
}

/* Search-result status stays underneath everything */
.article-search-wrap .article-search .search-status{
    grid-column:1 / -1 !important;
    grid-row:3 !important;
    margin-top:1px !important;
}

/* Slightly reduce the dark search-bar container height */
.article-search-wrap{
    padding:10px 22px !important;
}


/* Mobile */
@media(max-width:760px){

    .article-search-wrap{
        padding:9px 10px !important;
    }

    .article-search-wrap .article-search{
        grid-template-columns:minmax(0, 1fr) auto auto !important;
        grid-template-rows:auto auto auto !important;
        gap:5px !important;
    }

    .article-search-wrap .article-search input{
        grid-column:1 !important;
        grid-row:1 / 3 !important;
        height:38px !important;
        padding:7px 9px !important;
    }

    .article-search-wrap .article-search .search-go{
        grid-column:2 !important;
        grid-row:1 !important;
    }

    .article-search-wrap .article-search .search-clear{
        grid-column:2 !important;
        grid-row:2 !important;
    }

    .article-search-wrap .article-search .search-prev{
        grid-column:3 !important;
        grid-row:1 !important;
    }

    .article-search-wrap .article-search .search-next{
        grid-column:3 !important;
        grid-row:2 !important;
    }

    .article-search-wrap .article-search button{
        min-height:32px !important;
        height:32px !important;
        padding:5px 8px !important;
        font-size:11px !important;
    }

    .article-search-wrap .article-search .search-status{
        grid-column:1 / -1 !important;
        grid-row:3 !important;
    }
}