/* Testimonials from the database (js/testimonials.js): the carousel's "Read more"
   + "Read More Testimonials" link, and the popup with the whole review. */

/* carousel card: name on the left, "Read more" on the right, at the bottom */
.proof-chip .proof-foot{margin-top:auto;display:flex;align-items:center;justify-content:space-between;gap:12px;}
.proof-chip .proof-foot .who{margin-top:0;}
.proof-more{flex:none;background:none;border:none;padding:0;font-family:'Titillium Web',sans-serif;font-size:14px;font-weight:700;color:var(--green-dark);cursor:pointer;}
.proof-more:hover{text-decoration:underline;}
.proof-more::after{content:" \2192";}

/* "Read More Testimonials" next to the ‹ › arrows (takes the section's text color, light or dark) */
.proof-arrows{align-items:center;}
.proof-all{margin-right:6px;font-family:'Titillium Web',sans-serif;font-size:14px;font-weight:700;color:inherit;text-decoration:underline;text-underline-offset:3px;white-space:nowrap;}
.proof-all:hover{text-decoration-thickness:2px;}
@media (max-width:560px){
  .proof-head-row{flex-wrap:wrap;gap:10px;}
  .proof-arrows{width:100%;justify-content:flex-end;}
  .proof-all{margin-right:auto;}
}

/* the popup */
dialog.t-popup{width:min(640px, calc(100vw - 32px));max-height:calc(100vh - 64px);padding:0;border:none;border-top:4px solid var(--gold, #d9a441);border-radius:6px;background:var(--white, #fffdf7);color:var(--dark, #152230);box-shadow:0 24px 60px rgba(0,0,0,.35);}
dialog.t-popup[open]{display:flex;flex-direction:column;}
dialog.t-popup::backdrop{background:rgba(13,22,32,.6);}
.t-popup-close{position:absolute;top:8px;right:10px;width:40px;height:40px;border:none;background:none;font-size:30px;line-height:1;color:var(--muted, #6d6552);cursor:pointer;}
.t-popup-close:hover{color:var(--dark, #152230);}
.t-popup-text{margin:0;padding:34px 34px 8px;overflow-y:auto;}
.t-popup-text::before{content:"\201C";display:block;font-family:'Libre Baskerville',serif;font-size:48px;line-height:.8;height:28px;color:var(--gold, #d9a441);}
.t-popup-text p{font-family:'Libre Baskerville',serif;font-style:italic;font-size:17px;line-height:1.7;color:var(--dark, #152230);margin:0 0 14px;}
.t-popup-foot{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin:0 34px;padding:14px 0 22px;border-top:1px solid var(--line, rgba(21,34,48,.16));}
.t-popup-name{font-family:'Titillium Web',sans-serif;font-size:14px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--green-dark, #708F53);}
.t-popup-all{font-family:'Titillium Web',sans-serif;font-size:15px;font-weight:700;color:var(--green-dark, #708F53);text-decoration:none;}
.t-popup-all:hover{text-decoration:underline;}
@media (max-width:560px){
  .t-popup-text{padding:30px 22px 6px;}
  .t-popup-text p{font-size:16px;}
  .t-popup-foot{margin:0 22px;}
}

/* testimonials page: shown if the database can't be reached */
.t-error{color:var(--muted, #6d6552);font-style:italic;}
