/* CLEAN CORE PRO FINAL: merged responsive + home clean + font master */

/* SOURCE: ui-ai-responsive-max.css */
:root{
  --ui-space-1: clamp(6px, .35vw + 4px, 10px);
  --ui-space-2: clamp(10px, .6vw + 6px, 16px);
  --ui-space-3: clamp(14px, 1vw + 8px, 22px);
  --ui-radius: clamp(12px, 1vw, 18px);
  --ui-title-1: clamp(1.35rem, 1rem + 1.2vw, 2.15rem);
  --ui-title-2: clamp(1.05rem, .9rem + .6vw, 1.45rem);
  --ui-title-3: clamp(.95rem, .85rem + .35vw, 1.15rem);
  --ui-text: clamp(.88rem, .82rem + .18vw, 1rem);
  --ui-text-small: clamp(.78rem, .74rem + .12vw, .9rem);
  --ui-line: 1.6;
}

html{
  font-size: clamp(14px, .18vw + 13.2px, 17px);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body{
  font-size: var(--ui-text);
  line-height: var(--ui-line);
  text-rendering: optimizeLegibility;
}

img,
iframe,
video{
  max-width: 100%;
}

.container{
  width: min(1380px, calc(100% - clamp(12px, 2vw, 28px)));
}

.card,
.lx-footer--ultimate .lx-footer-col,
.sidebar-box,
.lx-top-grid > *,
.lx-bottom-grid > *,
.lx-home .homepage-block,
.article-wrap,
.article-list-wrap,
.related-posts{
  border-radius: var(--ui-radius);
}

.lx-home{
  margin-top: var(--ui-space-2);
}

.lx-top-grid,
.lx-bottom-grid,
.lx-module-grid,
.lx-album-grid,
.lx-side-stack,
.sidebar-stack,
.footer-grid,
.form-grid,
.content-grid{
  gap: var(--ui-space-2);
}

.lx-focus,
.lx-feature-strip__grid{
  gap: var(--ui-space-2);
}

.lx-section-head{
  min-height: clamp(28px, 2.2vw, 34px);
  height: auto;
  padding: 6px 10px;
  font-size: clamp(.72rem, .66rem + .18vw, .86rem) !important;
  line-height: 1.2;
  letter-spacing: .02em;
}

.lx-focus__caption,
.lx-module__lead,
.lx-bulletin ul,
.lx-simple-links,
.lx-module__list,
.lx-links-logos,
.lx-album-grid,
.article-head,
.article-content,
.article-cover,
.related-posts ul,
.archive-item,
.pagination{
  padding-left: clamp(10px, 1vw, 18px);
  padding-right: clamp(10px, 1vw, 18px);
}

.lx-focus__caption h2,
.archive-item__body h2,
.article-head h1{
  overflow-wrap: anywhere;
  word-break: break-word;
}

.lx-focus__caption h2{
  font-size: clamp(1.1rem, .95rem + .65vw, 1.55rem);
  line-height: 1.34;
  margin-bottom: .45em;
}

.lx-focus__caption p,
.lx-bulletin li,
.lx-simple-links li,
.lx-module__list li,
.sidebar-links li,
.meta,
.archive-item__body p,
.article-excerpt,
.article-content,
.site-footer p{
  font-size: var(--ui-text-small);
  line-height: 1.68;
}

.lx-module,
.homepage-block{
  min-height: 0 !important;
}

.lx-module__lead h3,
.lx-mini-post a,
.lx-media-big span,
.lx-links-logos a,
.lx-album-item span,
.nav-menu>li>a,
.lx-admin-btn,
button,
.btn{
  font-size: var(--ui-text-small);
  line-height: 1.4;
}

.lx-module__lead h3{
  font-size: clamp(.92rem, .84rem + .22vw, 1.08rem) !important;
}

.lx-home .lx-module-grid--3 > .homepage-block .lx-module__lead h3,
.lx-home .lx-module-grid--4 > .homepage-block .lx-module__lead h3{
  font-size: clamp(.96rem, .84rem + .28vw, 1.12rem) !important;
  min-height: auto !important;
}

.lx-home .lx-module-grid--3 > .homepage-block .lx-module__list a,
.lx-home .lx-module-grid--4 > .homepage-block .lx-module__list a{
  font-size: clamp(.82rem, .76rem + .16vw, .95rem) !important;
  min-height: auto !important;
}

.lx-mini-post{
  align-items: start;
  gap: 10px;
}

.lx-mini-post img{
  width: clamp(72px, 7vw, 92px);
  height: clamp(54px, 5vw, 68px);
  border-radius: 10px;
}

.lx-focus__hero,
.lx-media-big img,
.archive-item__thumb img,
.article-cover img,
.lx-home .lx-module-grid--4 > .homepage-block .lx-module__lead img,
.lx-home .lx-module-grid--3 > .homepage-block .lx-module__lead img,
.lx-module__lead img,
.lx-album-item img{
  border-radius: 12px;
}

.lx-focus__hero{height: clamp(220px, 32vw, 340px);}
.lx-media-big img{height: clamp(150px, 18vw, 210px);}
.lx-module__lead img{height: clamp(112px, 13vw, 150px);}
.lx-album-item img{height: clamp(82px, 10vw, 118px);}

.archive-item{
  grid-template-columns: minmax(180px, 28%) 1fr;
  align-items: start;
}

.archive-item__thumb img{height: clamp(130px, 16vw, 176px);}
.archive-item__body h2{font-size: clamp(1.12rem, .98rem + .52vw, 1.45rem);}
.article-head h1{font-size: var(--ui-title-1);}
.article-excerpt{font-size: clamp(.95rem, .9rem + .15vw, 1.02rem);}
.article-content{font-size: clamp(1rem, .94rem + .18vw, 1.08rem);}

.lx-nav__inner{
  gap: var(--ui-space-1);
}

.nav-menu>li>a{
  padding: 10px 12px;
  white-space: nowrap;
}

.lx-admin-btn,
button,
.btn{
  border-radius: 12px;
}

.content-grid{
  grid-template-columns: minmax(0, 1fr) minmax(250px, 300px);
  align-items: start;
}

.sidebar-stack,
.lx-side-stack{
  position: sticky;
  top: 10px;
}

.lx-footer--ultimate .lx-footer-top{
  gap: var(--ui-space-2);
}

@media (max-width: 1199px){
  .lx-top-grid{grid-template-columns: minmax(0, 1fr) 260px;}
  .lx-module-grid{grid-template-columns: repeat(3, minmax(0,1fr));}
  .lx-album-grid{grid-template-columns: repeat(3, minmax(0,1fr));}
}

@media (max-width: 991px){
  .container{width:min(100%, calc(100% - 16px));}
  .lx-top-grid,
  .lx-bottom-grid,
  .content-grid{grid-template-columns: 1fr;}
  .lx-module-grid{grid-template-columns: repeat(2, minmax(0,1fr));}
  .lx-album-grid{grid-template-columns: repeat(2, minmax(0,1fr));}
  .lx-focus{grid-template-columns: 1fr;}
  .lx-focus__main{border-right:0;border-bottom:1px solid var(--border);}
  .sidebar-stack,
  .lx-side-stack{position: static;}
}

@media (max-width: 767px){
  :root{
    --ui-radius: 14px;
  }
  body{
    overflow-x: hidden;
  }
  .container{width:min(100%, calc(100% - 12px));}
  .lx-home{margin-top: 8px;}
  .lx-masthead__banner--default{height:auto;min-height:unset;}
  .lx-masthead__left{padding:14px 12px 8px 14px;}
  .lx-masthead__site small{font-size: clamp(.72rem,.68rem + .2vw,.85rem);letter-spacing:.04em;}
  .lx-masthead__site strong{font-size: clamp(1.35rem, 4vw, 1.95rem) !important;line-height:1.08;}
  .lx-masthead__text{font-size: .78rem;}
  .lx-masthead__text .motto-1{font-size: .94rem !important;}
  .lx-masthead__center{padding:6px 10px 14px;gap:10px;}
  .lx-masthead__logo{width:58px;height:58px;font-size:24px;}
  .lx-nav__inner{align-items:stretch;}
  .nav-toggle{padding:10px 12px;font-size:24px;}
  .nav-menu{width:100%;background:rgba(0,0,0,.08);border-radius:12px;overflow:hidden;}
  .nav-menu>li>a{padding:11px 12px;font-size:.82rem;}
  .nav-submenu li a{font-size:.8rem;padding:10px 12px;}
  .lx-focus__hero{height: clamp(185px, 54vw, 260px);}
  .lx-module-grid,
  .lx-album-grid,
  .lx-media-smalls,
  .lx-feature-strip__grid,
  .footer-grid,
  .form-grid{grid-template-columns: 1fr !important;}
  .archive-item{grid-template-columns: 1fr;gap: 12px;}
  .article-cover img{height: clamp(180px, 52vw, 260px);}
  .pagination{flex-wrap:wrap;}
}

@media (max-width: 560px){
  .lx-module-grid,
  .lx-album-grid{grid-template-columns: 1fr !important;}
  .lx-home .homepage-block,
  .lx-side-stack > .card,
  .lx-top-grid > .card,
  .lx-bottom-grid > .card{box-shadow: 0 1px 5px rgba(0,0,0,.07);}
  .lx-section-head{padding: 7px 10px;}
  .lx-bulletin li,
  .lx-simple-links li,
  .lx-module__list li,
  .sidebar-links li{padding: 7px 0;}
}

body.ui-device-mobile .lx-admin-btn{display:none;}
body.ui-device-mobile .lx-footer--ultimate .lx-footer-top{grid-template-columns:1fr;}
body.ui-device-tablet .lx-module-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
body.ui-device-desktop .lx-home .homepage-block:hover{transform:translateY(-2px);}


/* SOURCE: responsive-maxpp-home-clean.css */
/* MAX++ HOME CLEAN: smaller type + cleaner responsive spacing */
:root{
  --ui-title-1: clamp(1.18rem, .98rem + .82vw, 1.72rem);
  --ui-title-2: clamp(.98rem, .9rem + .34vw, 1.2rem);
  --ui-title-3: clamp(.88rem, .82rem + .18vw, 1rem);
  --ui-text: clamp(.82rem, .78rem + .12vw, .92rem);
  --ui-text-small: clamp(.72rem, .7rem + .08vw, .82rem);
}

html{font-size:clamp(12.8px,.1vw + 12.4px,15px)}
body{letter-spacing:0;line-height:1.55}

.lx-home,
.content-grid,
.lx-top-grid,
.lx-bottom-grid,
.lx-module-grid,
.lx-album-grid,
.lx-feature-strip__grid,
.sidebar-stack,
.lx-side-stack{gap:12px !important}

.lx-home .homepage-block,
.lx-top-grid > .card,
.lx-bottom-grid > .card,
.lx-side-stack > .card,
.sidebar-stack > .card,
.lx-footer--ultimate .lx-footer-col{
  border-radius:14px;
  box-shadow:0 1px 6px rgba(70,38,120,.08);
}

.lx-section-head{
  min-height:26px;
  padding:5px 8px;
  font-size:11px !important;
  line-height:1.1;
}

.lx-focus__caption,
.lx-module__lead,
.lx-bulletin ul,
.lx-simple-links,
.lx-module__list,
.lx-links-logos,
.lx-album-grid,
.article-head,
.article-content,
.article-cover,
.related-posts ul,
.archive-item,
.pagination{padding-left:10px;padding-right:10px}

.lx-focus__caption h2,
.archive-item__body h2,
.article-head h1{letter-spacing:-.01em}

.lx-focus__caption h2{font-size:clamp(1rem,.94rem + .34vw,1.24rem);line-height:1.28;margin-bottom:.3em}
.lx-focus__caption p,
.lx-bulletin li,
.lx-simple-links li,
.lx-module__list li,
.sidebar-links li,
.meta,
.archive-item__body p,
.article-excerpt,
.article-content,
.site-footer p{font-size:var(--ui-text-small);line-height:1.55}

.lx-module__lead h3,
.lx-mini-post a,
.lx-media-big span,
.lx-links-logos a,
.lx-album-item span,
.nav-menu>li>a,
.lx-admin-btn,
button,.btn{font-size:12px;line-height:1.35}

.lx-module__lead h3,
.lx-home .lx-module-grid--3 > .homepage-block .lx-module__lead h3,
.lx-home .lx-module-grid--4 > .homepage-block .lx-module__lead h3{font-size:13px !important;line-height:1.32}

.lx-home .lx-module-grid--3 > .homepage-block .lx-module__list a,
.lx-home .lx-module-grid--4 > .homepage-block .lx-module__list a,
.lx-module__list a,
.lx-bulletin a,
.lx-simple-links a,
.sidebar-links a{font-size:12px !important;line-height:1.45}

.lx-mini-post{gap:8px}
.lx-mini-post img{width:74px;height:56px;border-radius:8px}
.lx-focus__hero{height:clamp(210px,28vw,300px)}
.lx-media-big img{height:clamp(138px,16vw,180px)}
.lx-module__lead img{height:clamp(100px,11vw,128px)}
.lx-album-item img{height:clamp(76px,8vw,100px)}

.nav-menu>li>a{padding:8px 10px}
.btn,.lx-admin-btn,button{padding:8px 12px;border-radius:10px}

.content-grid{grid-template-columns:minmax(0,1fr) 280px}
.lx-top-grid{grid-template-columns:minmax(0,1.48fr) 300px}

.lx-home .homepage-block .lx-module__list li,
.lx-bulletin li,
.lx-simple-links li,
.sidebar-links li{padding:6px 0}

.lx-footer--ultimate .lx-footer-top{gap:12px}
.lx-footer--ultimate .lx-footer-col{padding:12px}

@media (min-width: 1200px){
  .container{width:min(1400px,calc(100% - 20px))}
}

@media (max-width: 1199px){
  html{font-size:13px}
  .lx-top-grid{grid-template-columns:minmax(0,1fr) 280px}
}

@media (max-width: 991px){
  html{font-size:13px}
  .content-grid,.lx-top-grid,.lx-bottom-grid{grid-template-columns:1fr}
  .lx-module-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .lx-album-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .lx-side-stack,.sidebar-stack{position:static}
  .lx-focus__hero{height:clamp(190px,42vw,250px)}
}

@media (max-width: 767px){
  html{font-size:12.6px}
  .container{width:min(100%,calc(100% - 10px))}
  .lx-home,.content-grid,.lx-top-grid,.lx-bottom-grid,.lx-module-grid,.lx-album-grid,.lx-feature-strip__grid,.sidebar-stack,.lx-side-stack{gap:10px !important}
  .lx-section-head{font-size:10.5px !important;padding:5px 8px}
  .lx-masthead__site strong{font-size:clamp(1.08rem,3.2vw,1.42rem)!important;line-height:1.05}
  .lx-masthead__site small{font-size:11px}
  .lx-masthead__text{font-size:11px}
  .nav-menu>li>a{font-size:11.5px;padding:10px 11px}
  .lx-focus__caption h2{font-size:clamp(.98rem,.92rem + .42vw,1.12rem)}
  .lx-module-grid,.lx-album-grid,.lx-media-smalls,.lx-feature-strip__grid,.footer-grid,.form-grid{grid-template-columns:1fr !important}
  .lx-module__lead h3,
  .lx-home .lx-module-grid--3 > .homepage-block .lx-module__lead h3,
  .lx-home .lx-module-grid--4 > .homepage-block .lx-module__lead h3{font-size:12.5px !important}
}

@media (max-width: 560px){
  html{font-size:12.3px}
  .lx-focus__caption,.lx-module__lead,.lx-bulletin ul,.lx-simple-links,.lx-module__list,.lx-links-logos,.lx-album-grid,.article-head,.article-content,.article-cover,.related-posts ul,.archive-item,.pagination{padding-left:9px;padding-right:9px}
  .lx-focus__hero{height:clamp(178px,52vw,222px)}
  .lx-module__lead img{height:116px}
  .lx-media-big img{height:150px}
}


/* SOURCE: font-master.css */
/* FONT MASTER: refined typography + spacing without changing structure */
:root{
  --fm-title-xl: clamp(1.14rem, 1.02rem + .42vw, 1.46rem);
  --fm-title-lg: clamp(.96rem, .9rem + .22vw, 1.12rem);
  --fm-title-md: clamp(.84rem, .8rem + .12vw, .94rem);
  --fm-text: clamp(.74rem, .72rem + .08vw, .82rem);
  --fm-text-xs: clamp(.68rem, .66rem + .06vw, .76rem);
  --fm-line: 1.52;
  --fm-tight: 1.34;
  --fm-space: clamp(8px, .5vw, 12px);
}

html{font-size:clamp(12px, .08vw + 11.9px, 14px)}
body{
  font-size:var(--fm-text);
  line-height:var(--fm-line);
  letter-spacing:0;
  word-spacing:0;
}

.container{width:min(1380px,calc(100% - 18px))}

.lx-home,
.content-grid,
.lx-top-grid,
.lx-bottom-grid,
.lx-module-grid,
.lx-album-grid,
.lx-feature-strip__grid,
.sidebar-stack,
.lx-side-stack,
.footer-grid,
.form-grid{gap:var(--fm-space)!important}

.lx-home .homepage-block,
.lx-top-grid>.card,
.lx-bottom-grid>.card,
.lx-side-stack>.card,
.sidebar-stack>.card,
.lx-footer--ultimate .lx-footer-col,
.article-wrap,
.related-posts,
.archive-item{
  border-radius:13px;
  box-shadow:0 1px 5px rgba(62,33,110,.07);
}

.lx-section-head{
  min-height:24px;
  padding:4px 8px;
  font-size:10px!important;
  line-height:1.1;
  letter-spacing:.01em;
}

.lx-focus__caption,
.lx-module__lead,
.lx-bulletin ul,
.lx-simple-links,
.lx-module__list,
.lx-links-logos,
.lx-album-grid,
.article-head,
.article-content,
.article-cover,
.related-posts ul,
.archive-item,
.pagination{padding-left:9px;padding-right:9px}

.lx-focus__caption h2,
.archive-item__body h2,
.article-head h1,
.lx-masthead__site strong,
.lx-module__lead h3,
.nav-menu>li>a,
.sidebar-box h3,
.sidebar-title{
  font-family:inherit;
  letter-spacing:-.01em;
}

.lx-masthead__site strong{font-size:clamp(1.02rem,.96rem + .24vw,1.22rem)!important;line-height:1.1}
.lx-masthead__site small{font-size:10px;line-height:1.2}
.lx-masthead__text,
.lx-masthead__text .motto-1,
.lx-masthead__text .motto-2{font-size:10px!important;line-height:1.25}

.lx-focus__caption h2{font-size:var(--fm-title-xl);line-height:1.28;margin:0 0 .25rem}
.archive-item__body h2,
.article-head h1{font-size:clamp(1rem,.94rem + .28vw,1.22rem);line-height:1.28}
.article-excerpt,
.article-content{font-size:var(--fm-text);line-height:1.62}
.meta,
.site-footer p,
.archive-item__body p,
.lx-focus__caption p,
.lx-bulletin li,
.lx-simple-links li,
.lx-module__list li,
.sidebar-links li{font-size:var(--fm-text-xs);line-height:1.5}

.lx-module__lead h3,
.lx-home .lx-module-grid--3>.homepage-block .lx-module__lead h3,
.lx-home .lx-module-grid--4>.homepage-block .lx-module__lead h3{
  font-size:var(--fm-title-md)!important;
  line-height:var(--fm-tight);
  margin:0;
}

.lx-home .lx-module-grid--3>.homepage-block .lx-module__list a,
.lx-home .lx-module-grid--4>.homepage-block .lx-module__list a,
.lx-module__list a,
.lx-bulletin a,
.lx-simple-links a,
.sidebar-links a,
.lx-mini-post a,
.lx-links-logos a,
.lx-album-item span,
.lx-media-big span{
  font-size:var(--fm-text-xs)!important;
  line-height:1.42;
}

.nav-menu>li>a,
.nav-submenu li a,
button,.btn,.lx-admin-btn,
input,select,textarea,
label,
.badge,
.tag{font-size:11px!important;line-height:1.3}
.nav-menu>li>a{padding:7px 9px}
.nav-submenu li a{padding:8px 10px}
button,.btn,.lx-admin-btn{padding:7px 11px;border-radius:10px}

.lx-focus__hero{height:clamp(180px,25vw,250px)}
.lx-media-big img{height:clamp(120px,14vw,155px)}
.lx-module__lead img{height:clamp(82px,9.5vw,108px)}
.lx-album-item img{height:clamp(70px,7vw,88px)}
.lx-mini-post{gap:7px}
.lx-mini-post img{width:68px;height:50px;border-radius:8px}

.lx-home .homepage-block .lx-module__list li,
.lx-bulletin li,
.lx-simple-links li,
.sidebar-links li{padding:5px 0}

.content-grid{grid-template-columns:minmax(0,1fr) 270px}
.lx-top-grid{grid-template-columns:minmax(0,1.52fr) 290px}
.sidebar-stack,.lx-side-stack{top:8px}
.sidebar-box,.lx-side-stack>.card{font-size:var(--fm-text-xs)}
.sidebar-box .box-body,
.lx-side-stack .card-body{padding:9px}

.lx-footer--ultimate .lx-footer-top{gap:10px}
.lx-footer--ultimate .lx-footer-col{padding:11px}
.lx-footer--ultimate h3{font-size:12px;line-height:1.25}
.lx-footer--ultimate p,
.lx-footer--ultimate li,
.lx-footer--ultimate a{font-size:11px;line-height:1.5}

@media (max-width: 1199px){
  html{font-size:12.3px}
  .lx-top-grid{grid-template-columns:minmax(0,1fr) 270px}
}

@media (max-width: 991px){
  html{font-size:12.2px}
  .container{width:min(100%,calc(100% - 14px))}
  .content-grid,.lx-top-grid,.lx-bottom-grid{grid-template-columns:1fr}
  .lx-module-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .lx-album-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .sidebar-stack,.lx-side-stack{position:static}
  .lx-focus__hero{height:clamp(175px,42vw,225px)}
}

@media (max-width: 767px){
  html{font-size:12px}
  .container{width:min(100%,calc(100% - 10px))}
  .lx-home,.content-grid,.lx-top-grid,.lx-bottom-grid,.lx-module-grid,.lx-album-grid,.lx-feature-strip__grid,.sidebar-stack,.lx-side-stack{gap:9px!important}
  .lx-masthead__site strong{font-size:clamp(.94rem,3.2vw,1.12rem)!important}
  .lx-masthead__site small,.lx-masthead__text,.lx-masthead__text .motto-1,.lx-masthead__text .motto-2{font-size:9.5px!important}
  .nav-menu>li>a{font-size:10.5px!important;padding:9px 10px}
  .lx-section-head{font-size:9.6px!important;padding:4px 8px}
  .lx-focus__caption h2{font-size:clamp(.98rem,.92rem + .32vw,1.08rem)}
  .lx-module-grid,.lx-album-grid,.lx-media-smalls,.lx-feature-strip__grid,.footer-grid,.form-grid{grid-template-columns:1fr!important}
}

@media (max-width: 560px){
  html{font-size:11.8px}
  .lx-focus__caption,.lx-module__lead,.lx-bulletin ul,.lx-simple-links,.lx-module__list,.lx-links-logos,.lx-album-grid,.article-head,.article-content,.article-cover,.related-posts ul,.archive-item,.pagination{padding-left:8px;padding-right:8px}
  .lx-focus__hero{height:clamp(168px,50vw,205px)}
  .lx-module__lead img{height:100px}
  .lx-media-big img{height:136px}
}

