/*
Theme Name: Terayon
Template: twentytwentyfive
Description: Child theme of Twenty Twenty-Five for Terayon Capital Partners.
Version: 1.0.3
Text Domain: terayon
*/
/* Readable text over images */
.terayon-hero .wp-block-cover__inner-container { max-width: 900px; }
.terayon-hero h1, .terayon-hero p { text-shadow: 0 1px 3px rgba(0,0,0,.35); }
/* Header */
.terayon-header { border-bottom: 1px solid var(--wp--preset--color--line); }
.terayon-header .wp-block-site-logo img { height: auto; }
/* Client grid */
.terayon-clients .wp-block-column, .terayon-card {
  background: #fff; border: 1px solid var(--wp--preset--color--line); border-radius: 6px;
}
.terayon-logo-box { min-height: 130px; display: flex; align-items: center; justify-content: center; margin: 0 !important; }
.terayon-logo-box img { max-height: 110px; width: auto !important; max-width: 100%; object-fit: contain; }
/* Footer */
.terayon-footer a { color: inherit; }
.terayon-footer p { margin-block: .25em; }
/* Contact Form 7 */
.wpcf7 label { display: block; font-weight: 600; font-size: .95rem; }
.wpcf7 input[type=text], .wpcf7 input[type=email], .wpcf7 input[type=tel], .wpcf7 textarea {
  width: 100%; box-sizing: border-box; padding: .7em .8em; margin-top: .35em; border: 1px solid #b8c2cf; border-radius: 4px;
  font: inherit; background: #fff;
}
.wpcf7 textarea { height: 9em; }
.wpcf7 p { margin: 0 0 1.1em; }
.wpcf7 input[type=submit] {
  background: var(--wp--preset--color--accent-1); color: #fff; border: 0; border-radius: 4px; padding: .8em 2em;
  font: inherit; font-weight: 600; cursor: pointer;
}
.wpcf7 input[type=submit]:hover { background: var(--wp--preset--color--contrast); }
.terayon-placeholder { background: #fff3cd; color: #6b4e00; padding: 0 .3em; border-radius: 3px; font-weight: 600; }
@media (max-width: 781px) {
  .terayon-hero { min-height: 520px !important; }
}
/* Layout refinements */
.terayon-eyebrow { letter-spacing: .12em; font-weight: 700; margin-bottom: .4em; }
.wp-block-column > .terayon-card:only-child { height: 100%; box-sizing: border-box; }
.terayon-card .wp-block-quote { border: 0; padding: 0; margin: 0; }
.terayon-card .wp-block-quote p { font-size: 1rem; line-height: 1.65; font-style: normal; }
.terayon-card .wp-block-quote cite { display: block; margin-top: 1em; font-size: .9rem; font-style: normal; }
footer.wp-block-template-part, main.wp-block-group + footer { margin-top: 0 !important; }
main.wp-block-group > .entry-content > *:first-child { margin-top: 0; }
main.wp-block-group > .entry-content > .alignfull { margin-top: 0; margin-bottom: 0; }
.terayon-tall img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
@media (max-width: 781px) { .terayon-tall img { aspect-ratio: 4 / 3; } }
.terayon-card h3 a { text-decoration: none; }
.terayon-card h3 a:hover { text-decoration: underline; }
/* Testimonials: 2x2 grid on desktop/tablet, stacked on mobile */
@media (min-width: 782px) {
  .wp-block-columns.terayon-testimonials { flex-wrap: wrap !important; column-gap: 2em; row-gap: 2em; }
  .wp-block-columns.terayon-testimonials > .wp-block-column { flex: 0 0 calc(50% - 1em) !important; max-width: calc(50% - 1em); }
}
