﻿/* Language controls use the same gold/navy treatment as the theme buttons. */
.theoria-language-tablist{display:flex;flex-wrap:wrap;gap:16px;margin:0 0 40px;padding:0;border:0;background:none}
.theoria-prose .theoria-language-tab{display:inline-flex;align-items:center;justify-content:center;min-width:150px;padding:16px 30px;border:1px solid #101a33;border-radius:50px;background:transparent;color:#101a33;font-family:"Wix Madefor Display",sans-serif;font-size:16px;font-weight:600;line-height:24px;letter-spacing:0;text-decoration:none;transition:background-color .3s,color .3s,border-color .3s}
.theoria-prose .theoria-language-tab[aria-selected="true"]{background:#c59b6b;border-color:#c59b6b;color:#101a33}
.theoria-prose .theoria-language-tab:hover{background:#101a33;border-color:#101a33;color:#fff}
.theoria-prose .theoria-language-tab:focus-visible{outline:2px solid #c59b6b;outline-offset:4px}
.theoria-language-panel[hidden]{display:none}
.theoria-language-panel>:first-child{margin-top:0}
.theoria-privacy-page #masthead .pbmit-pre-header-wrapper{background:#101a33!important;color:#fff;border-bottom:1px solid #ffffff24}
.theoria-privacy-page #masthead .pbmit-pre-header-wrapper a{color:#fff}
.theoria-privacy-page #masthead .pbmit-pre-header-wrapper a:hover{color:#c59b6b}
@media(max-width:480px){.theoria-language-tablist{gap:12px;margin-bottom:30px}.theoria-prose .theoria-language-tab{min-width:0;flex:1;padding:13px 22px}}
@media(prefers-reduced-motion:reduce){.theoria-prose .theoria-language-tab{transition:none}}
/* Privacy content follows the shared site typography; ACF content stays untouched. */
.theoria-privacy-page .theoria-language-panel{font-family:"DM Sans",sans-serif;font-size:18px;line-height:1.8;color:#101a33;max-width:none;letter-spacing:normal;overflow-wrap:break-word}
.theoria-privacy-page .theoria-language-panel :is(p,li,span){font-family:inherit!important;font-size:inherit!important;line-height:inherit!important;white-space:normal;color:inherit}
.theoria-privacy-page .theoria-language-panel p{margin:0 0 1.35em!important}
.theoria-privacy-page .theoria-language-panel :is(h1,h2,h3,h4,h5,h6){font-family:"Wix Madefor Display",sans-serif!important;font-weight:700;line-height:1.25!important;letter-spacing:-.025em;color:#101a33;margin:1.6em 0 .6em!important}
.theoria-privacy-page .theoria-language-panel h1{font-size:clamp(36px,3.5vw,52px)!important}
.theoria-privacy-page .theoria-language-panel h2{font-size:clamp(30px,3vw,42px)!important}
.theoria-privacy-page .theoria-language-panel h3{font-size:clamp(26px,2.5vw,32px)!important}
.theoria-privacy-page .theoria-language-panel :is(ul,ol){margin:0 0 1.5em!important;padding-inline-start:1.5em}
.theoria-privacy-page .theoria-language-panel li{margin:0 0 .4em!important}
.theoria-privacy-page .theoria-language-panel li::marker{color:#c59b6b}
.theoria-privacy-page .theoria-language-panel>:first-child{margin-top:0!important}
@media(max-width:782px){.theoria-privacy-page .theoria-language-panel{font-size:17px}}

.theoria-privacy-page .theoria-language-panel ul{margin-top:1.5em!important;margin-bottom:1.5em!important}
