.yp-attachments-page .site.grid-container,
.yp-attachments-page .site-content,
.yp-attachments-page .content-area { width: 100%; max-width: none; margin: 0; padding: 0; }
.yp-attachments-page .site-main { margin: 0; }
.yp-attachments, .yp-attachments * { box-sizing: border-box; }
.yp-attachments h1, .yp-attachments h2, .yp-attachments h3, .yp-attachments p { margin-top: 0; }
.yp-attachments-container { width: min(100% - 48px, 1280px); margin-inline: auto; }

.yp-attachments-main { padding: 84px 0 112px; background: #f4f5f3; color: #151b1f; }
.yp-attachments-heading { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 40px; padding-bottom: 28px; border-bottom: 1px solid #cbd0ce; }
.yp-attachments-eyebrow { margin-bottom: 14px; color: #a51a22; font-size: 12px; font-weight: 700; text-transform: uppercase; }
.yp-attachments-heading h2 { margin-bottom: 0; color: #151b1f; font: 800 clamp(32px, 4vw, 52px)/1 Manrope, Arial, sans-serif; text-transform: uppercase; }
.yp-attachments-heading > p { max-width: 370px; margin-bottom: 0; color: #596367; font-size: 15px; line-height: 1.6; }
.yp-attachments-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.yp-attachment { display: flex; min-width: 0; flex-direction: column; border: 1px solid #dfe3e0; background: #fff; }
.yp-attachment__media { display: grid; place-items: center; aspect-ratio: 16 / 10; overflow: hidden; background: #fff; }
.yp-attachment__media img { display: block; width: 100%; height: 100%; padding: 24px; object-fit: contain; transition: transform 250ms ease; }
.yp-attachment__media:hover img { transform: scale(1.03); }
.yp-attachment__body { display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding: 32px; border-top: 1px solid #e8ebe8; }
.yp-attachment h3 { margin-bottom: 16px; color: #151b1f; font: 800 clamp(24px, 2.4vw, 32px)/1.15 Manrope, Arial, sans-serif; text-transform: uppercase; }
.yp-attachment__body > p { max-width: 490px; margin-bottom: 28px; color: #536064; font-size: 15px; line-height: 1.65; }
.yp-attachments-button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; gap: 16px; margin-top: auto; padding: 13px 20px; background: #febc38; color: #151b1f; font-size: 12px; font-weight: 700; text-decoration: none; text-transform: uppercase; }
.yp-attachments-button:hover, .yp-attachments-button:focus-visible { background: #151b1f; color: #fff; }

.yp-attachments-cta { padding: 76px 0; background: #febc38; color: #151b1f; }
.yp-attachments-cta__inner { display: flex; align-items: end; justify-content: space-between; gap: 48px; }
.yp-attachments-cta__inner > div { max-width: 740px; }
.yp-attachments-cta .yp-attachments-eyebrow { color: #7b171d; }
.yp-attachments-cta h2 { margin-bottom: 16px; color: #151b1f; font: 800 clamp(34px, 4vw, 52px)/1 Manrope, Arial, sans-serif; text-transform: uppercase; }
.yp-attachments-cta p:last-child { max-width: 590px; margin-bottom: 0; font-size: 15px; line-height: 1.6; }
.yp-attachments-cta .yp-attachments-button { flex: 0 0 auto; margin: 0; background: #151b1f; color: #fff; }
.yp-attachments-cta .yp-attachments-button:hover { background: #fff; color: #151b1f; }

@media (max-width: 900px) {
	.yp-attachments-heading, .yp-attachments-cta__inner { align-items: flex-start; flex-direction: column; }
	.yp-attachments-heading { gap: 18px; }
}
@media (max-width: 650px) {
	.yp-attachments .yp-inner-hero h1 { font-size: 42px; }
	.yp-attachments-main { padding: 56px 0 72px; }
	.yp-attachments-grid { grid-template-columns: 1fr; }
	.yp-attachment__body { padding: 24px; }
	.yp-attachments-cta { padding: 64px 0; }
}
@media (max-width: 420px) {
	.yp-attachments .yp-inner-hero h1 { font-size: 36px; }
}
