/* Preserve mobile cards and individual pages. Common desktop composition. */
@media(min-width:768px){
 .rb-directory-list .rb-directory-photo-link{aspect-ratio:4/3;align-self:start;overflow:hidden;background:#fff}
 .rb-directory-list .rb-directory-photo-link img{display:block;width:100%;height:100%;max-height:none;object-fit:contain}
 .rb-directory-list .rb-project-writeup{align-self:start}
 .rb-directory-list .rb-directory-actions{align-self:end;margin:0;padding:0;border:0;gap:24px}
 .rb-directory-list .rb-project-writeup section{margin:0 0 8px}
 .rb-directory-list .rb-project-writeup section:last-child{margin-bottom:0}
 .rb-directory-list .rb-project-writeup h3{font-size:21px;line-height:1.2;margin:0 0 4px}
 .rb-directory-list .rb-project-writeup p{font-size:17px;line-height:1.4;margin:0}
}
@media(min-width:768px) and (max-width:1023px){
 .rb-directory-list .rb-directory-actions{margin-top:14px}
}

/* Full approved project stories: compact typography, no removed wording. */
@media(min-width:768px){
 .rb-directory-list>.rb-directory-entry{column-gap:24px;grid-template-columns:48% minmax(0,1fr)}
 .rb-directory-list .rb-project-writeup section{margin:0 0 8px}
 .rb-directory-list .rb-project-writeup section+section{margin-top:0}
 .rb-directory-list .rb-project-writeup h3{font-size:18px;line-height:1.2;margin:0 0 4px}
 .rb-directory-list .rb-project-writeup p{font-size:17px;line-height:1.35}
 .rb-directory-list .rb-directory-actions{gap:18px}
}
@media(min-width:768px) and (max-width:1100px){
 .rb-directory-list>.rb-directory-entry{column-gap:20px;padding-left:20px;padding-right:20px;grid-template-columns:46% minmax(0,1fr)}
 .rb-directory-list .rb-project-writeup p{font-size:16px;line-height:1.35}
 .rb-directory-list .rb-project-writeup h3{font-size:17px;line-height:1.2}
 .rb-directory-list .rb-project-writeup section{margin-bottom:6px}
 .rb-directory-list .rb-directory-actions{gap:16px}
}
/* Narrow desktop: retain full stories with compact, clearly marked subsections. */
@media(min-width:768px) and (max-width:1100px){
 .rb-directory-list .rb-project-writeup{font-family:'Roboto Condensed',Arial,sans-serif;font-size:17px;line-height:1.3}
 .rb-directory-list .rb-project-writeup h3{display:inline;font-family:inherit;font-size:17px;line-height:inherit;margin:0;font-weight:700}
 .rb-directory-list .rb-project-writeup h3::after{content:': ';white-space:pre}
 .rb-directory-list .rb-project-writeup p{display:inline;font-family:inherit;font-size:17px;line-height:inherit}
 .rb-directory-list .rb-project-writeup section{margin:0 0 5px}
 .rb-directory-list .rb-directory-actions{margin-top:0}
}
@media(min-width:1101px){.rb-directory-list .rb-project-writeup p{line-height:1.3}}
@media(min-width:768px) and (max-width:1100px){.rb-directory-list .rb-project-writeup{line-height:1.27}}
@media(min-width:768px) and (max-width:1023px){
 .rb-directory-list.container{padding-left:12px;padding-right:12px}
 .rb-directory-list>.rb-directory-entry{padding-left:12px;padding-right:12px;column-gap:16px;grid-template-columns:50% minmax(0,1fr)}
 .rb-directory-list .rb-project-writeup,.rb-directory-list .rb-project-writeup h3,.rb-directory-list .rb-project-writeup p{font-size:16px;line-height:1.25}
 .rb-directory-list .rb-project-writeup section{margin-bottom:4px}
}
/* A little more room where each full story permits; actions remain photo-bottom aligned. */
@media(min-width:768px){
 .rb-directory-list .rb-directory-actions{justify-content:flex-end}
 .rb-directory-list .rb-project-writeup section:not(:last-child){margin-bottom:var(--rb-section-gap,8px)}
}
@media(min-width:768px) and (max-width:1100px){.rb-directory-list .rb-project-writeup section:not(:last-child){margin-bottom:var(--rb-section-gap,5px)}}
@media(min-width:768px) and (max-width:1023px){.rb-directory-list .rb-project-writeup section:not(:last-child){margin-bottom:var(--rb-section-gap,4px)}}
