/*
 * Archive two-column layout grid (main + sidebar). Extracted from
 * Sprint 4's archive.css verbatim. The featured card and sidebar widget
 * styling that used to share this file are split into
 * components/cards.css and components/sidebar-widgets.css respectively
 * — this file owns only the grid itself.
 *
 * @package TFGadgets
 */

.archive-layout{
	display:grid;
	grid-template-columns:1fr 320px;
	gap:48px;
	align-items:start;
}
.archive-main{ min-width:0; } /* prevents the grid track from overflowing on long content */

/* Narrower main column means the 3-up grid from style.css is too tight
   here — drop to 2-up regardless of viewport width within this layout. */
.archive-layout .post-grid{ grid-template-columns:repeat(2, 1fr); }

@media (max-width: 980px){
	.archive-layout{ grid-template-columns:1fr; }
	.archive-layout .post-grid{ grid-template-columns:repeat(2, 1fr); }
}
@media (max-width: 680px){
	.archive-layout .post-grid{ grid-template-columns:1fr; }
}
