/* ===== Testimonials — append to style.css ===== */

/* Card: flex column so footer (name + Read more) always sits at the bottom, aligned */
.t-card{display:flex;flex-direction:column;height:100%}
.t-card p{margin:0 0 20px;flex:1 1 auto;overflow-wrap:anywhere}
.t-card__footer{display:flex;align-items:center;justify-content:space-between;gap:10px 14px;flex-wrap:wrap;margin-top:auto;padding-top:14px;border-top:1px solid rgba(0,0,0,.06)}
.t-card__name{font-weight:600;font-size:.9rem;color:#14291f}
.t-card__more{display:inline-flex;align-items:center;gap:6px;font-size:.85rem;font-weight:600;color:#e0a33a;text-decoration:none;white-space:nowrap}
.t-card__more i{font-size:.75rem;transition:transform .2s}
.t-card__more:hover{color:#14291f}
.t-card__more:hover i{transform:translateX(3px)}

/* Home section: equal-height cards, button on its own row with breathing room */
.testimonials__cards{align-items:stretch}
.testimonials__viewall{margin-top:28px}

/* Inner pages (match About Us: breadcrumb strip + H1 + content) */
.tm-breadcrumb{background:#f6f3ec;padding:14px 0;font-size:.9rem;color:#555}
.tm-breadcrumb a{color:#14291f;text-decoration:none}
.tm-breadcrumb a:hover{color:#e0a33a}
.tm-page{padding:60px 0 80px}
.tm-page__title{font-size:2.2rem;font-weight:700;text-transform:uppercase;color:#14291f;margin:0 0 10px}
.tm-page__title span{color:#e0a33a}
.tm-page__intro{color:#555;margin:0 0 36px}

.tm-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;align-items:stretch}
.tm-grid .t-card{padding:26px}

.t-card--detail{max-width:760px;margin:30px auto 0;padding:36px}
.t-card--detail p{font-size:1.1rem;line-height:1.8}

.tm-detail-nav{display:flex;align-items:center;justify-content:space-between;gap:16px;max-width:760px;margin:32px auto 0}
.tm-detail-nav > span{flex:1}
.tm-detail-nav > span:last-child{text-align:right}
.tm-detail-nav--center{justify-content:center}

.tm-pagination{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin-top:44px}
.tm-pagination a{min-width:40px;height:40px;padding:0 14px;display:inline-flex;align-items:center;justify-content:center;border-radius:8px;background:#fff;color:#14291f;text-decoration:none;font-weight:600;box-shadow:0 2px 8px rgba(0,0,0,.06)}
.tm-pagination a:hover,.tm-pagination a.is-active{background:#e0a33a;color:#fff}

@media (max-width:991px){.tm-grid{grid-template-columns:repeat(2,1fr)}}
@media (max-width:600px){
  .tm-grid{grid-template-columns:1fr}
  .tm-page{padding:40px 0 60px}
  .tm-page__title{font-size:1.7rem}
  .t-card--detail{padding:24px}
  .tm-detail-nav{flex-wrap:wrap;justify-content:center}
  .tm-detail-nav > span{flex:0 0 auto}
  .tm-detail-nav > span:last-child{text-align:center}
}
