/* Homestead Testimonials — readable, scoped CSS */
body.page-template-template-testimonials .site-inner { max-width: none; padding: 0; }
body.page-template-template-testimonials .content-sidebar-wrap,
body.page-template-template-testimonials .content,
body.page-template-template-testimonials .entry { width: 100%; max-width: none; margin: 0; padding: 0; }
body.page-template-template-testimonials .entry-header { display: none; }
body.page-template-template-testimonials .entry-content { margin: 0; }
body.page-template-template-testimonials .entry { margin-bottom: 0; }

.htest-hero, .htest-testimonials { font-family: Montserrat, Arial, sans-serif; }
.htest-wrap { 
	max-width:1440px; 
	color:#fff;
	padding-left: max( 30px, calc((97vw - 1440px) / 2 + 30px) );
	padding-right: 30px;
	width: min(100% - 40px, 1440px); 
}

/* Hero — dark gradient and white type, consistent with FAQ and Admissions */
.htest-hero {
    min-height: 500px;
    display: flex;
    align-items: center;
    color: #fff;
    background-color: #000;
    background-image: linear-gradient(90deg, rgba(0, 0, 0, .70) 0%, rgba(0, 0, 0, .40) 10%, rgba(0, 0, 0, .30) 20%, rgba(0, 0, 0, .01) 30%), var(--htest-image);
    background-size: cover;
    background-position: center center;
}
.htest-hero-inner { padding-block: clamp(65px, 7vw, 110px); } 
.htest-hero-copy { max-width: 560px; }
.htest-eyebrow, .htest-section-eyebrow { font-size: 1.4rem; font-weight: 600; letter-spacing: 2.4px; text-transform: uppercase; }
.htest-eyebrow { color: #fff; margin: 0 0 18px; }
.htest-eyebrow::after { content: ''; display: block; width: 44px; height: 3px; background: currentColor; margin-top: 12px; }
.htest-hero h1 { color: #fff; font-size: clamp(36px, 3vw, 40px); font-weight: 500; line-height: 1.13; margin: 0 0 20px; }
.htest-hero .htest-intro { color: #fff; font-size: 17px; line-height: 1.7; margin: 0 0 28px; }
.htest-button { display: inline-flex; align-items: center; gap: 12px; background: #00664e; color: #fff !important; padding: 15px 24px; font-size: 1.2rem; font-weight: 600; text-decoration: none !important; letter-spacing: 1.5px; text-transform: uppercase; }
.htest-button:hover, .htest-button:focus-visible { background: #004c3b; color: #fff !important; }

/* Testimonials — variable-height cards, full text, no artificial ratings */
.htest-testimonials { padding: clamp(45px, 5vw, 80px) 0 clamp(55px, 6vw, 90px); background: #fbfcfb; color: #183039; }
.htest-section-header { margin-bottom: 30px; }
.htest-section-eyebrow { color: #00664e; margin: 0 0 12px; font-size: 14px; }
.htest-section-header h2 { color: #000; font-size: clamp(30px, 3vw, 40px); font-weight: 500; margin: 0 0 20px; line-height: 1.20;}
.htest-grid { columns: 2; column-gap: 24px; }
.htest-card { display: inline-block; vertical-align: top; width: 100%; box-sizing: border-box; break-inside: avoid; padding: clamp(24px, 3vw, 36px); margin: 0 0 24px; background: #fff; border: 1px solid #e3eae6; border-radius: 12px; box-shadow: 0 3px 15px rgba(0, 0, 0, .09); }
.htest-quote { display: block; color: #8fae9f; font-family: Georgia, serif; font-size: 80px; line-height: .50; margin: 0; }
.htest-card-title { color: #17303b; font-size: clamp(19px, 1.6vw, 24px); line-height: 1.35; font-weight: 500; margin: 0 0 18px; }
.htest-card-body { font-size: 15px; line-height: 1.8; color: #34474a; overflow-wrap: anywhere; }
.htest-card-body p { margin: 0 0 16px; }
.htest-card-body p:last-child { margin-bottom: 0; }
.htest-attribution { border-top: 1px solid #e8efeb; margin-top: 24px; padding-top: 18px; display: flex; flex-direction: column; gap: 3px; }
.htest-attribution strong { color: #00664e; font-size: 13px; letter-spacing: .06em; }
.htest-attribution span { color: #6c7e78; font-size: 12px; }
.htest-pagination { margin-top: 32px; }
.htest-pagination ul { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; list-style: none; margin: 0; padding: 0; }
.htest-pagination li { list-style: none; margin: 0; }
.htest-pagination a, .htest-pagination .current, .htest-pagination .dots { display: inline-flex; min-width: 40px; min-height: 40px; padding: 8px 12px; align-items: center; justify-content: center; border: 1px solid #dce7e1; border-radius: 4px; text-decoration: none; color: #00664e; font-size: 13px; text-transform: uppercase; }
.htest-pagination .current, .htest-pagination a:hover { background: #00664e; color: #fff; border-color: #00664e; }
.htest-notice { padding: 35px 0; }

@media (max-width: 800px) {
    .htest-hero { min-height: 400px; background-image: linear-gradient(90deg, rgba(0, 0, 0, .70) 0%, rgba(0, 0, 0, .60) 30%, rgba(0, 0, 0, .50) 40%, rgba(0, 0, 0, .01) 50%), var(--htest-image); }
    .htest-grid { columns: 1; }
    .htest-hero-inner {
        justify-content: flex-end;
        padding-bottom: 30px;
    }
}
@media (max-width: 550px) {
    .htest-hero-inner { padding-block: 65px; }
    .htest-hero { min-height: 400px; background-image: linear-gradient(0deg, rgba(0, 0, 0, .50) 0%, rgba(0, 0, 0, .40) 20%, rgba(0, 0, 0, .50) 30%, rgba(0, 0, 0, .0) 40%), var(--htest-image); background-size: auto 100%;
    background-position: 77% center !important; } 
    .htest-hero-copy {
	    max-width: 100%;
	    transform: translateY(20px);
    }
    .htest-hero h1 { font-size: 3.2rem; }
    .htest-card { padding: 25px 22px; }
    .htest-wrap { padding-left:20px; padding-right:20px; width:100%;}
}
