/*
 * Canonical public-site theme entry point.
 *
 * Every public page loads this file after style.css and uses the shared
 * body, header, footer, page-shell, card, form, and button components.
 *
 * New public pages inherit the full design system through this one bundle.
 * Admin pages intentionally do not load it.
 */
@import url("./themes.css?v=1784286449");
@import url("./layout-themes.css?v=1794717261");

/* Canonical responsive contract for all current and future public pages. */
body.theme.layout:not(.admin-ui){
  overflow-x:hidden
}
body.theme.layout:not(.admin-ui) :is(
  main,section,article,div,form,fieldset,.container,.page-shell,.join-shell,.card
){
  min-width:0
}
body.theme.layout:not(.admin-ui) :is(h1,h2,h3,h4,h5,h6,p,li,a,label,strong){
  overflow-wrap:anywhere
}
body.theme.layout:not(.admin-ui) :is(img,svg,video,canvas,iframe){
  max-width:100%
}
body.theme.layout:not(.admin-ui) :is(video,iframe){
  height:auto;
  aspect-ratio:16/9
}
body.theme.layout:not(.admin-ui) :is(.page-shell,.join-shell) :is(table,.table-wrap){
  max-width:100%
}
body.theme.layout:not(.admin-ui) :is(.page-shell,.join-shell) table{
  display:block;
  width:100%;
  overflow-x:auto;
  -webkit-overflow-scrolling:touch
}
body.theme.layout:not(.admin-ui) :is(.page-shell,.join-shell) pre{
  max-width:100%;
  overflow-x:auto;
  white-space:pre-wrap;
  overflow-wrap:anywhere
}
body.theme.layout:not(.admin-ui) :is(
  input,select,textarea,button,.btn
){
  max-width:100%
}

@media (max-width:820px){
  body.theme.layout:not(.admin-ui) .site-header .inner{
    width:100%;
    padding:14px 18px 10px
  }
  body.theme.layout:not(.admin-ui) .header-left{
    display:none
  }
  body.theme.layout:not(.admin-ui) .brand{
    width:100%;
    justify-content:center;
    text-align:center
  }
  body.theme.layout:not(.admin-ui) .brand-site-name{
    font-size:clamp(25px,7vw,34px)!important;
    line-height:1.08
  }
  body.theme.layout:not(.admin-ui) .header-right{
    display:flex;
    width:100%;
    max-width:100%;
    justify-content:flex-start;
    gap:4px;
    overflow-x:auto;
    overscroll-behavior-x:contain;
    scroll-snap-type:x proximity;
    scrollbar-width:thin;
    padding:3px 0 7px
  }
  body.theme.layout:not(.admin-ui) .site-header .header-right .btn.link{
    flex:0 0 auto;
    min-height:42px;
    scroll-snap-align:start;
    white-space:nowrap
  }
  body.theme.layout:not(.admin-ui) .hero.hero-premium{
    margin-top:22px;
    padding:clamp(30px,8vw,48px) clamp(22px,6vw,38px)
  }
  body.theme.layout:not(.admin-ui) .hero-grid{
    grid-template-columns:1fr!important;
    gap:30px
  }
  body.theme.layout:not(.admin-ui) .hero h1{
    max-width:none;
    font-size:clamp(38px,10vw,58px);
    line-height:1.02
  }
  body.theme.layout:not(.admin-ui) #journals_grid.grid{
    grid-template-columns:1fr!important
  }
  body.theme.layout:not(.admin-ui) :is(.split,.contact-phone-journal-row,.join-phone-grid){
    grid-template-columns:1fr!important
  }
  body.theme.layout:not(.admin-ui) .site-footer .inner{
    width:100%;
    padding:26px 18px
  }
}

@media (max-width:620px){
  body.theme.layout:not(.admin-ui) .container,
  body.theme.layout:not(.admin-ui) main.container{
    width:100%!important;
    padding-left:14px!important;
    padding-right:14px!important
  }
  body.theme.layout:not(.admin-ui) main.container{
    padding-top:20px!important;
    padding-bottom:36px!important
  }
  body.theme.layout:not(.admin-ui) .hero.hero-premium{
    margin-top:0;
    padding:30px 20px;
    border-radius:10px
  }
  body.theme.layout:not(.admin-ui) .hero-badge{
    font-size:10px;
    line-height:1.5
  }
  body.theme.layout:not(.admin-ui) .hero h1{
    font-size:clamp(34px,11vw,48px)
  }
  body.theme.layout:not(.admin-ui) .hero .home-hero-intro,
  body.theme.layout:not(.admin-ui) .hero .home-hero-intro *{
    font-size:16px!important;
    line-height:1.65
  }
  body.theme.layout:not(.admin-ui) .hero-actions{
    display:grid;
    grid-template-columns:1fr
  }
  body.theme.layout:not(.admin-ui) .hero-actions .btn{
    width:100%;
    white-space:normal;
    text-align:center
  }
  body.theme.layout:not(.admin-ui) .hero-panel{
    padding:18px!important
  }
  body.theme.layout:not(.admin-ui) .journals-section{
    margin:42px auto
  }
  body.theme.layout:not(.admin-ui) .journals-section .journals-combined-card{
    padding:22px 14px
  }
  body.theme.layout:not(.admin-ui) .journals-section>.journals-combined-card>h2{
    margin-bottom:22px;
    font-size:clamp(30px,9vw,40px)!important
  }
  body.theme.layout:not(.admin-ui) #journals_grid .card{
    grid-template-columns:1fr!important;
    min-height:0
  }
  body.theme.layout:not(.admin-ui) #journals_grid .card .cover{
    height:250px!important;
    min-height:250px
  }
  body.theme.layout:not(.admin-ui) #journals_grid .card-content{
    padding:20px
  }
  body.theme.layout:not(.admin-ui) :is(.page-shell,.join-shell){
    width:100%!important;
    margin:0 auto 34px!important;
    padding:5px!important;
    border-radius:9px!important
  }
  body.theme.layout:not(.admin-ui) :is(.page-shell,.join-shell)>:is(
    .form-card,.sub-card,.join-subcard,.join-form-card,article,section
  ){
    padding:22px 15px!important
  }
  body.theme.layout:not(.admin-ui) .public-page-title{
    font-size:clamp(30px,9vw,42px)!important
  }
  body.theme.layout:not(.admin-ui) :is(.page-shell,.join-shell) :is(h2,h3){
    overflow-wrap:anywhere
  }
  body.theme.layout:not(.admin-ui) :is(
    input:not([type="checkbox"]):not([type="radio"]),select,textarea
  ){
    width:100%!important;
    min-width:0!important;
    font-size:16px!important
  }
  body.theme.layout:not(.admin-ui) input[type="file"]{
    padding:9px!important;
    white-space:normal
  }
  body.theme.layout:not(.admin-ui) :is(.btn,button,input[type="submit"]){
    min-height:44px;
    white-space:normal
  }
  body.theme.layout:not(.admin-ui) :is(.page-shell,.join-shell) :is(.btn,button.btn){
    width:100%;
    justify-content:center;
    text-align:center
  }
  body.theme.layout:not(.admin-ui) label[style*="display:flex"]{
    align-items:flex-start!important
  }
  body.theme.layout:not(.admin-ui) .submit-overlay-card{
    width:min(100%,320px);
    min-width:0
  }
  body.theme.layout:not(.admin-ui) .footer-brand img.footer-logo{
    width:min(150px,70vw);
    height:auto
  }
  body.theme.layout:not(.admin-ui) .footer-page-chip{
    min-height:36px;
    display:inline-flex;
    align-items:center
  }
  body.theme.layout:not(.admin-ui) .footer-social{
    flex-wrap:wrap
  }
  body.theme.layout:not(.admin-ui) .whatsapp-float{
    right:14px;
    bottom:14px;
    width:52px;
    height:52px
  }
}
