.gpc-layout{display:block}
.gpc-layout-main{min-width:0}
.gpc-layout-side{margin-top:20px}

.gpc-side-card{
	background:#fff;border:1px solid #ececec;border-radius:16px;
	padding:18px;display:flex;flex-direction:column;gap:14px;
	box-shadow:0 2px 14px rgba(0,0,0,.06);
}
.gpc-side-price{font-size:22px;font-weight:700;color:#1a1a1a}
.gpc-side-price span{font-size:13px;font-weight:500;color:#8a8a8a}
.gpc-side-agent{
	display:flex;align-items:center;gap:10px;text-decoration:none;
	padding:10px;border-radius:12px;background:#fafafa;border:1px solid #f0f0f0;
}
.gpc-side-agent img{border-radius:50%;flex:none}
.gpc-side-agent strong{display:block;font-size:13.5px;color:#1a1a1a}
.gpc-side-agent small{display:block;font-size:12px;color:#8a8a8a}
.gpc-side-review-btn{
	background:#1b8a5a;color:#fff;border:none;border-radius:12px;
	font-size:14px;font-weight:600;padding:12px;cursor:pointer;
}
.gpc-side-review-btn:hover{background:#166f49}

/* Below 960px this card isn't a sticky sidebar, it's just another
   block in the single column, sitting right above the real agent bio
   and the real "Rate this agent" / Write a Review CTA further down the
   page. On mobile that reads as two competing agent cards and two
   Write a Review buttons, so only the price stays visible there; the
   agent strip + button (pure duplicates of content already on the
   page) are sidebar-only conveniences and hide below the breakpoint. */
@media (max-width:959px){
	.gpc-side-agent, .gpc-side-review-btn{display:none;}
}

/* .gpc-infogrid-wrap already has its own heading/card styling from
   gpc-info-grid.css, no extra wrapper styling needed for it here. */

@media (min-width:960px){
	.entry-content.gpc-has-sidebar .gpc-layout, .post-content.gpc-has-sidebar .gpc-layout, article .content.gpc-has-sidebar .gpc-layout, [class*="entry-content"].gpc-has-sidebar .gpc-layout{
		display:flex;align-items:flex-start;gap:32px;
	}
	.gpc-layout-main{flex:1 1 68%}
	.gpc-layout-side{
		flex:0 0 30%;max-width:320px;margin-top:0;
		position:sticky;top:24px;display:flex;flex-direction:column;gap:16px;
	}
}
