/*
Theme Name: Kadence - Piloto local Psicoterapia Bilbao
Template: kadence
Version: 0.2.1
Text Domain: psb-pilot
*/
/* Presentation only. Existing clinical copy is unchanged. */
:root{--global-palette1:#19627b;--global-palette2:#12475a;--global-palette3:#202d35;--global-palette4:#354750;--global-palette5:#546773;--global-palette7:#f2f5f5;--global-palette8:#f8faf9;--global-palette9:#fff}
body{font-family:system-ui,-apple-system,"Segoe UI",sans-serif;line-height:1.7;color:#263740}
.entry-content{font-size:1.08rem}.entry-content h1,.entry-content h2,.entry-content h3{line-height:1.25;letter-spacing:-.02em;color:#173e4d}
.entry-content h1{font-size:clamp(2rem,4vw,3.1rem)}.entry-content h2{font-size:clamp(1.5rem,3vw,2rem);margin-top:1.7em}
.entry-content a{text-decoration:underline;text-underline-offset:.17em}a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid #a44b00;outline-offset:4px}
.psb-section{margin-block:1rem}.wp-block-columns{gap:2rem}.wp-block-column{min-width:0}
.psb-service-card{height:100%;padding:1.4rem;border:1px solid #c9d9dd;border-radius:12px;background:#edf4f5;box-shadow:0 4px 18px #173e4d08}
.psb-service-card p,.psb-service-card span,.psb-service-card h1,.psb-service-card h2,.psb-service-card h3,.psb-service-card h4{color:#173e4d!important}
.psb-service-card img{width:100%;height:auto;max-height:240px;object-fit:cover}.psb-service-card .wp-block-spacer{max-height:14px}
.wp-block-button__link{background:#19627b;color:white!important;border-radius:6px;padding:.75rem 1.1rem;font-size:1rem;text-decoration:none!important}
.psb-decorative-icon{color:#19627b!important;font-size:1.3rem}.psb-listing-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.5rem}
.psb-listing-item{padding:1.25rem;border:1px solid #d9e2e5;border-radius:10px;margin-bottom:1.5rem;background:white}.psb-listing-item img{width:100%;height:auto;max-height:300px;object-fit:contain}.psb-listing-item h2{font-size:1.35rem;margin:.8rem 0}.psb-listing-item time{font-size:.9rem;color:#52616a}.psb-excerpt{font-size:1rem}
.psb-pagination ul{display:flex;flex-wrap:wrap;gap:.5rem;list-style:none;padding:0}.psb-pagination a,.psb-pagination span{display:block;padding:.45rem .8rem;border:1px solid #b5c8cf;border-radius:4px}.psb-pagination .current{background:#19627b;color:white}
.entry-content img{max-width:100%;height:auto}.entry-content iframe{max-width:100%}.entry-content .alignright{max-width:100%}.entry-content table{max-width:100%}
.psb-home-intro{max-width:900px;margin:0 auto 2rem;text-align:center}.psb-home-intro h1{margin-top:0}.psb-consulta-slider{max-width:900px;margin:0 auto 2rem}
.wpcf7 label{display:block;font-weight:600}.wpcf7 input:not([type=checkbox]):not([type=radio]),.wpcf7 textarea{max-width:100%;width:100%;border-color:#687c85}.wpcf7 input[type=submit]{background:#19627b;color:#fff}.wpcf7-acceptance label{font-weight:400}
.site-footer{background:#eef3f4}.site-footer .wp-block-columns{text-align:left}.site-footer a{color:#173e4d}.entry-content [id]{scroll-margin-top:2rem}
@media(max-width:1024px){.psb-listing-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:781px){.psb-listing-grid{grid-template-columns:1fr}.wp-block-columns{display:block!important}.wp-block-column{margin-bottom:1.4rem}.entry-content{font-size:1rem}.psb-service-card{height:auto}.entry-content .wp-block-spacer{max-height:32px}}
/* Pilot review: comfortable line length, consistent cards and editor parity. */
.entry-content .wp-block-columns:has(>.wp-block-column:only-child){max-width:76ch;margin-inline:auto}
.entry-content .wp-block-columns>.wp-block-column:only-child{flex-basis:100%!important}
.psb-blog-content{max-width:820px!important;margin-inline:auto!important}
.psb-listing-item .psb-terms{margin-block:.6rem;font-size:.92rem;line-height:1.55}
.psb-listing-item .psb-excerpt p:last-child{margin-bottom:.8rem}
.psb-listing-item time{display:block;margin-bottom:.65rem}
.psb-service-card>:first-child{margin-top:0}.psb-service-card h2,.psb-service-card h3{margin-top:.6rem}
.site-footer h5{font-size:1rem}.site-footer .wp-block-columns{margin-bottom:0}
.wpcf7 input[type=checkbox],.wpcf7 input[type=radio]{width:1.15em;height:1.15em;accent-color:#19627b}
.wpcf7 .wpcf7-not-valid-tip{color:#a31818;font-weight:600;margin-top:.35rem}
.wpcf7 form .wpcf7-response-output{margin:1.3rem 0;padding:.8rem 1rem;line-height:1.5}
.entry-content a[href^="https://wa.me/"]{background:#146c43!important;color:#fff!important}
.psb-decorative-icon{display:none}
.psb-biography-panel{margin-block:3rem}.psb-biography-panel>.wp-block-group__inner-container>.wp-block-columns,.psb-biography-panel>.wp-block-columns{align-items:start}
.psb-biography-image{margin-top:1.5rem}.psb-biography-image img{width:100%;aspect-ratio:1.12;object-fit:cover;object-position:right;border-radius:10px}
.psb-biography-copy{max-width:78ch!important;margin-inline:auto!important}
@media(min-width:782px){.entry-content .wp-block-columns:has(>.wp-block-column:nth-child(4):last-child){display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch}.entry-content .wp-block-columns:has(>.wp-block-column:nth-child(4):last-child)>.wp-block-column{display:flex;flex-direction:column}.entry-content .wp-block-columns:has(>.wp-block-column:nth-child(4):last-child) .psb-service-card{flex:1;height:auto}}
@media(min-width:1025px){.site-main-header-wrap .site-header-row-container-inner{border-bottom:1px solid #e2eaed}.header-navigation .header-menu-container>ul>li.menu-item>a{padding-inline:.65em;font-size:.94rem}}
@media(max-width:781px){.entry-content .wp-block-columns:has(>.wp-block-column:only-child){max-width:100%}.psb-service-card{padding:1.1rem}.psb-listing-item{padding:1rem}.entry-content h1{overflow-wrap:break-word}.entry-content iframe{height:auto;min-height:220px}}

/* Local migration: native details, people, testimonials and optional maps. */
.psb-person{border:1px solid #d9e2e5;border-radius:10px;padding:1.3rem;height:100%;overflow-wrap:anywhere}
.psb-person .wp-block-image{max-width:280px;margin-inline:auto}.psb-person img{width:100%;height:auto}
.psb-person h3{font-size:1.25rem;line-height:1.45}.psb-person p{margin-block:.65rem}
.psb-accordion details{border:1px solid #b5c8cf;border-radius:6px;padding:1rem 1.25rem;margin-block:1rem}
.psb-accordion summary{font-weight:700;cursor:pointer;color:#173e4d}.psb-accordion details[open] summary{margin-bottom:1rem}
.psb-testimonials blockquote{background:#eef3f4;border-left:4px solid #19627b;padding:1.4rem;margin:1.5rem 0}
.psb-testimonials footer{font-size:.95rem}.psb-map{padding:1rem;border:1px solid #d9e2e5;border-radius:6px}
.psb-map iframe[hidden]{display:none!important}.psb-map iframe{border:0;max-width:100%}.psb-map-note{font-size:.9rem}
.entry-content summary:focus-visible,.entry-content button:focus-visible{outline:3px solid #173e4d;outline-offset:4px}
@media(max-width:781px){.entry-content .alignright,.entry-content .alignleft{float:none!important;display:block;margin:1rem auto}.entry-content h1{clear:both}}

/* Restore readable inline links in light service cards; preserve text and targets. */
.psb-service-card span > a{color:#173e4d!important}

/* Required-field markers on white comment forms. */
.comment-form .required{color:#a31818}
