@font-face{font-family:'YTM Fredoka';src:url('../fonts/fredoka/Fredoka-variable.ttf') format('truetype');font-weight:300 700;font-display:swap}
body.ytm-legal-reference{background:linear-gradient(rgba(250,242,236,.72),rgba(250,242,236,.72)),url('https://yourtherapymatch.com/wp-content/uploads/2026/04/Diseno-sin-titulo-5.png') center/cover no-repeat fixed;color:#531f65}
body.ytm-legal-reference .site,body.ytm-legal-reference .site-content,body.ytm-legal-reference .site-content>.ast-container,body.ytm-legal-reference .ast-article-single{background:transparent}
body.ytm-legal-reference .site-content>.ast-container{display:block;max-width:1280px;padding:0 24px}
body.ytm-legal-reference #primary,body.ytm-legal-reference .ast-article-single{padding:0;margin:0;width:100%}
body.ytm-legal-reference .entry-header,body.ytm-legal-reference .ytm-page-label-wrap{display:none}
.ytm-legal-page{color:#531f65;font-family:Arial,sans-serif;padding:28px 0 44px;width:100%;max-width:1200px;margin:auto}
.ytm-legal-page *{box-sizing:border-box}
.ytm-legal-page h1,.ytm-legal-page h2{color:#531f65;font-family:'YTM Fredoka',sans-serif;font-weight:650;letter-spacing:normal}
.ytm-legal-hero{display:grid;grid-template-columns:minmax(0,1fr) 230px;align-items:center;gap:28px;padding:40px 44px;background:linear-gradient(115deg,#ead3f5,#f0e7f7 65%,#e9d9f4);border:1px solid #e4cfee;border-radius:32px;margin-bottom:26px;overflow:hidden}
.ytm-legal-badge{display:inline-block;padding:7px 17px;border-radius:30px;background:#d8b2ed;font-size:14px;font-weight:700;letter-spacing:.05em;text-transform:uppercase;margin-bottom:14px}
.entry-content .ytm-legal-heading[data-ytm-legal-body] h1{font-size:clamp(32px,4.8vw,58px);line-height:1.08!important;margin:0 0 16px!important;letter-spacing:-.025em}
.entry-content .ytm-legal-heading[data-ytm-legal-body] p{display:inline-block;background:#fff;padding:7px 16px;border-radius:30px;font-weight:600;font-size:14px!important;line-height:1.5!important;margin:0 0 12px!important}
.ytm-legal-page .ytm-legal-intro{font-size:18px;line-height:1.5;margin:0;color:#531f65}
.ytm-legal-illustration svg{display:block;width:100%;height:auto;transform:rotate(-4deg)}
.ytm-legal-layout{display:grid;grid-template-columns:270px minmax(0,1fr);gap:24px;align-items:start}
.ytm-legal-sidebar{position:sticky;top:100px;background:rgba(255,255,255,.9);border:1px solid #e4d4ec;border-radius:22px;padding:24px 20px}
.ytm-legal-page .ytm-legal-sidebar h2{font-size:24px;line-height:1.2;margin:0 0 16px}
.ytm-legal-sidebar ol{list-style:none;margin:0;padding:0}
.ytm-legal-sidebar li{margin:0;border-bottom:1px solid #e4cfee}
.ytm-legal-sidebar a{display:block;color:#531f65;text-decoration:none;font-size:14px;line-height:1.45;font-weight:600;padding:11px 8px;border-radius:9px;overflow-wrap:anywhere}
.ytm-legal-sidebar li:first-child a{background:#ead3f5}
.ytm-legal-sidebar a:hover,.ytm-legal-sidebar a:focus-visible{background:#f0e7f7}
.ytm-legal-contact{border-top:1px solid #cc9be7;margin-top:24px;padding-top:20px}
.ytm-legal-page .ytm-legal-contact h2{font-size:20px;margin:0 0 4px}
.ytm-legal-contact a{font-size:13px;padding:5px 0;text-decoration:underline;text-underline-offset:3px}
.ytm-legal-document{min-width:0;background:#fff;border:1px solid #e4d4ec;border-radius:22px;padding:24px 30px;color:#281432;box-shadow:0 8px 30px #531f6505}
.entry-content .ytm-legal-document[data-ytm-legal-body] h2{font-size:clamp(23px,2.2vw,29px);line-height:1.25!important;margin:24px 0 9px!important;border-top:1px solid #d8b2ed;padding-top:22px}
.entry-content .ytm-legal-document[data-ytm-legal-body] h2:first-of-type{border:0;padding-top:0;margin-top:0!important}
.entry-content .ytm-legal-document[data-ytm-legal-body] p{font-size:16px!important;line-height:1.7!important;margin:0 0 14px!important}
.ytm-legal-anchor{display:block;scroll-margin-top:110px}
.ytm-legal-related{margin-top:26px;padding:26px 32px;background:linear-gradient(115deg,#e0c0f0,#ead3f5);border-radius:22px}
.ytm-legal-page .ytm-legal-related h2{font-size:28px;margin:0 0 16px}
.ytm-legal-related nav{display:flex;flex-wrap:wrap;gap:12px 28px}
.ytm-legal-related a{flex:1;min-width:160px;color:#531f65;font-weight:700;text-decoration:underline;text-underline-offset:4px;line-height:1.5;padding:8px 0}
.ytm-legal-page a:focus-visible{outline:3px solid #9860b2;outline-offset:4px}
@media(max-width:900px){.ytm-legal-layout{grid-template-columns:220px minmax(0,1fr);gap:18px}.ytm-legal-sidebar{padding:20px 14px;position:static}.ytm-legal-hero{padding:30px;grid-template-columns:minmax(0,1fr) 160px}.ytm-legal-document{padding:22px}}
@media(max-width:700px){body.ytm-legal-reference .site-content>.ast-container{padding:0 14px}.ytm-legal-page{padding:18px 0 30px}.ytm-legal-hero{padding:26px 22px;border-radius:24px;grid-template-columns:minmax(0,1fr);gap:0;margin-bottom:18px;position:relative}.ytm-legal-hero-copy{position:relative;z-index:1}.ytm-legal-illustration{display:none}.ytm-legal-badge{font-size:12px}.ytm-legal-page .ytm-legal-intro{font-size:16px}.ytm-legal-layout{grid-template-columns:minmax(0,1fr);gap:18px}.ytm-legal-sidebar{padding:22px}.ytm-legal-sidebar ol{columns:2;column-gap:16px}.ytm-legal-sidebar li{break-inside:avoid}.ytm-legal-sidebar a{font-size:13px;min-height:44px}.ytm-legal-contact{margin-top:18px;padding-top:16px}.ytm-legal-document{padding:24px 20px}.ytm-legal-related{padding:24px 22px}.ytm-legal-related nav{flex-direction:column;gap:4px}.ytm-legal-related a{min-width:0}.ytm-legal-anchor{scroll-margin-top:90px}}
@media(prefers-reduced-motion:no-preference){html:has(.ytm-legal-page){scroll-behavior:smooth}}
