/* ============================================================
   BEATRICE TURIN — WordPress theme additions
   ============================================================ */

/* ---- Bilingual toggle (front-end, like the prototype) ---- */
.len{display:none;}
body.lang-en .lde{display:none;}
body.lang-en .len{display:inline;}

/* ---- Admin bar offset for fixed nav ---- */
body.admin-bar .bt-nav{top:32px;}
body.admin-bar .bt-drawer{padding-top:122px;}
@media(max-width:782px){
  body.admin-bar .bt-nav{top:46px;}
}

/* ---- Multistep visibility ---- */
.bt-step[hidden],[data-submit-wrap][hidden],[data-success][hidden]{display:none!important;}
.bt-book-done{animation:fadeUp .6s var(--ease-out) both;}

/* ---- Quote carousel ---- */
.bt-quotes{position:relative;display:grid;min-height:clamp(240px,32vh,320px);margin:2rem auto 0;max-width:720px;}
.bt-quote{grid-area:1/1;opacity:0;visibility:hidden;align-self:center;transition:opacity .6s var(--ease);}
.bt-quote.on{opacity:1;visibility:visible;animation:fadeUp .7s both;}
.bt-quote-dots{display:flex;gap:.5rem;justify-content:center;margin-top:2.4rem;}
.bt-quote-dots button{width:8px;height:8px;border-radius:8px;border:0;padding:0;cursor:pointer;background:rgba(0,0,0,.22);transition:all .4s var(--ease);}
.bt-quote-dots button.on{width:28px;background:var(--gold);}

/* ---- Blog prose (the_content) ---- */
.bt-prose{font-size:1.08rem;line-height:1.8;color:var(--fg-dim);}
.bt-prose > *{margin-block:1.3rem;}
.bt-prose > *:first-child{margin-top:0;}
.bt-prose p{margin-block:1.3rem;}
.bt-prose h2{font-family:var(--serif);font-weight:500;font-size:clamp(1.7rem,3vw,2.4rem);color:var(--fg);line-height:1.15;margin-top:2.6rem;}
.bt-prose h3{font-family:var(--serif);font-weight:500;font-size:1.5rem;color:var(--fg);margin-top:2rem;}
.bt-prose a{color:var(--gold-bright);text-decoration:underline;text-underline-offset:3px;text-decoration-color:rgba(201,161,74,.4);}
.bt-prose a:hover{text-decoration-color:var(--gold-bright);}
.bt-prose strong{color:var(--fg);font-weight:700;}
.bt-prose img,.bt-prose .wp-block-image{border-radius:var(--radius);overflow:hidden;}
.bt-prose figure{margin-inline:0;}
.bt-prose figcaption{font-size:.85rem;color:var(--fg-mute);margin-top:.6rem;text-align:center;}
.bt-prose ul,.bt-prose ol{padding-left:1.3rem;}
.bt-prose li{margin-block:.5rem;}
.bt-prose blockquote{border-left:2px solid var(--gold);padding-left:1.4rem;margin-left:0;font-family:var(--serif);font-size:1.5rem;font-style:italic;color:var(--fg);}
.bt-prose .wp-block-pullquote,.bt-prose .wp-block-quote{border-left:2px solid var(--gold);padding-left:1.4rem;}
.bt-prose .wp-block-button__link{background:var(--gold-grad);color:#211904;border-radius:var(--radius);padding:.9em 1.8em;font-weight:600;text-decoration:none;}
.bt-prose .alignwide{width:min(100%,920px);margin-inline:auto;}
.bt-prose .alignfull{width:100vw;margin-left:calc(50% - 50vw);}

/* ---- Pagination ---- */
.pagination .nav-links,.bt-bloggrid + * .nav-links{display:flex;gap:.5rem;justify-content:center;flex-wrap:wrap;}
.page-numbers{display:grid;place-items:center;min-width:44px;height:44px;padding:0 .8em;border:1px solid var(--line);border-radius:var(--radius);color:var(--fg-dim);font-weight:600;font-size:.9rem;transition:all .3s var(--ease);text-decoration:none;}
.page-numbers:hover{border-color:var(--gold);color:var(--gold-bright);}
.page-numbers.current{background:var(--gold-grad);color:#211904;border-color:transparent;}

/* ---- Comments (minimal, on-brand) ---- */
.comment-list{list-style:none;padding:0;margin:2rem 0 0;display:flex;flex-direction:column;gap:1.4rem;}
.comment-list .comment-body{background:var(--ink-2);border:1px solid var(--line-soft);border-radius:var(--radius);padding:1.4rem 1.6rem;}
.comment-author .fn{font-weight:700;color:var(--fg);}
.comment-metadata,.comment-metadata a{color:var(--fg-mute);font-size:.8rem;}
.comment-respond{margin-top:2.5rem;}
.comment-form{display:grid;gap:1rem;}
.comment-form label{font-size:.78rem;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--fg-dim);}
.comment-form input[type=text],.comment-form input[type=email],.comment-form input[type=url],.comment-form textarea{background:var(--ink);border:1px solid var(--line);border-radius:var(--radius);padding:.9em 1em;color:var(--fg);font-family:inherit;font-size:.98rem;width:100%;}
.comment-form input:focus,.comment-form textarea:focus{outline:none;border-color:var(--gold);box-shadow:0 0 0 3px rgba(201,161,74,.12);}
.comment-form .submit{background:var(--gold-grad);color:#211904;border:0;border-radius:var(--radius);padding:1em 2em;font-weight:600;letter-spacing:.14em;text-transform:uppercase;font-size:.82rem;cursor:pointer;justify-self:start;}
.comment-reply-link{color:var(--gold-bright);font-size:.85rem;}

/* search/screen-reader */
.screen-reader-text{position:absolute!important;clip:rect(1px,1px,1px,1px);width:1px;height:1px;overflow:hidden;}

/* WP caption */
.wp-caption{max-width:100%;}
.sticky,.bypostauthor{display:block;}
