
/* CDF visual refresh */
body.home.cdf-visual main.page :is(.posts__block,.blog__block,.videos__block,.photos__block) .link__description,body.home.cdf-visual main.page :is(.cdf-events-heading,.cdf-projects-heading) p {display:none!important;}
body.home.cdf-visual.cdf-wide main.page :is(.posts__block,.blog__block,.videos__block,.photos__block,.cdf-home-events,.cdf-projects) {grid-template-columns:minmax(0,1fr)!important;gap:18px!important;--cdf-card-height:440px;}
body.home.cdf-visual.cdf-wide main.page :is(.posts__block,.blog__block,.videos__block,.photos__block,.cdf-home-events,.cdf-projects) > :is(.link__header,.title__block,.cdf-events-heading,.cdf-projects-heading) {display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:space-between!important;flex-wrap:wrap!important;gap:12px!important;grid-column:1!important;}
body.home.cdf-visual.cdf-wide main.page :is(.blog__block,.videos__block,.photos__block) .title__header {display:contents!important;}
body.home.cdf-visual.cdf-wide main.page :is(.posts__list,.blog__block>.blog__list,.videos__block>.ribbon,.photos__block>.ribbon,.cdf-events-grid,.cdf-projects-grid) {grid-column:1!important;}
body.home.cdf-visual.cdf-wide main.page :is(.posts__list,.blog__list>ul,.cdf-media-grid,.cdf-events-grid,.cdf-projects-grid) {grid-template-columns:repeat(4,minmax(0,1fr))!important;}
body.home.cdf-visual.cdf-wide main.page :is(.link__header,.title__block,.cdf-events-heading,.cdf-projects-heading) :is(.maine.button__arrow,.cdf-events-all,.cdf-projects-all) {margin:0!important;width:auto!important;min-width:150px;max-width:100%!important;flex-shrink:0;}
body.home.cdf-visual.cdf-wide main.page :is(.link__header,.title__block,.cdf-events-heading,.cdf-projects-heading) :is(.link__title,h2) {font-size:clamp(24px,2.4vw,34px)!important;}
body.home.cdf-visual.cdf-wide main.page :is(.posts__list>li,.blog__list>ul>li,.cdf-media-grid>li,.cdf-events-grid>*,.cdf-project-card) {height:var(--cdf-card-height,440px)!important;}
body.home.cdf-visual.cdf-wide main.page .posts__block .post__link {height:100%!important;}
body.home.cdf-visual.cdf-wide main.page .cdf-project-card {display:flex!important;flex-direction:column!important;}
body.home.cdf-visual.cdf-wide main.page .cdf-projects .cdf-project-card>img {height:auto!important;aspect-ratio:16/9!important;}
@media(max-width:1106px) {body.home.cdf-visual.cdf-wide main.page :is(.posts__list,.blog__list>ul,.cdf-media-grid,.cdf-events-grid,.cdf-projects-grid) {grid-template-columns:repeat(2,minmax(0,1fr))!important;}}
@media(max-width:540px) {body.home.cdf-visual.cdf-wide main.page :is(.posts__list,.blog__list>ul,.cdf-media-grid,.cdf-events-grid,.cdf-projects-grid) {grid-template-columns:minmax(0,1fr)!important;} body.home.cdf-visual.cdf-wide main.page :is(.posts__list>li,.blog__list>ul>li,.cdf-media-grid>li,.cdf-events-grid>*,.cdf-project-card) {height:auto!important;min-height:0!important;} body.home.cdf-visual.cdf-wide main.page .photos__block .cdf-media-grid>li {height:320px!important;} body.home.cdf-visual.cdf-wide main.page .blog__block .blog__item {min-height:410px!important;}}
@media(min-width:1009px) {body .header__container .header__menu .menu__list {gap:clamp(5px,.65vw,12px);flex-wrap:nowrap;} body .header__container .header__menu .menu__list>.menu__item>.menu__link {font-size:var(--cdf-menu-size,clamp(15px,1.2vw,19px));white-space:nowrap;}}
.cdf-reading-progress {position:fixed;top:0;left:0;height:3px;width:100%;transform:scaleX(0);transform-origin:left;background:#ffcc00;z-index:99999;pointer-events:none;}
body.admin-bar .cdf-reading-progress {top:32px;} @media(max-width:782px) {body.admin-bar .cdf-reading-progress {top:46px;}}
@media(prefers-reduced-motion:no-preference) {
body.cdf-motion .cdf-reveal {animation:cdfReveal .5s ease both;}
body.cdf-motion main.page :is(.posts__list>li,.blog__list>ul>li,.cdf-media-grid>li,.cdf-events-grid>*,.cdf-project-card) {transition:box-shadow .2s,transform .2s,border-color .2s;}
body.cdf-motion main.page :is(.post__image,.cdf-event-image,.cdf-thumb) {overflow:hidden;}
body.cdf-motion main.page :is(.post__image>img,.cdf-event-image img,.cdf-thumb img) {transition:scale .3s ease;}
body.cdf-motion main.page :is(.button__arrow,.cdf-events-all,.cdf-projects-all) {transition:background-color .2s,transform .2s;}
body.cdf-motion .cdf-line-reveal {animation:cdfLine .55s ease both;transform-origin:left;}
@keyframes cdfReveal {from{opacity:.15;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}
@keyframes cdfLine {from{scale:0 1}to{scale:1 1}}
@media(hover:hover) {body.cdf-motion main.page :is(.posts__list>li,.blog__list>ul>li,.cdf-media-grid>li,.cdf-events-grid>*,.cdf-project-card):hover {transform:translateY(-3px);box-shadow:0 6px 16px #24282d18;border-color:#ffcc00!important;} body.cdf-motion main.page :is(.posts__list>li,.blog__list>ul>li,.cdf-media-grid>li,.cdf-events-grid>*,.cdf-project-card):hover :is(.post__image>img,.cdf-event-image img,.cdf-thumb img) {scale:1.035;} body.cdf-motion main.page :is(.button__arrow,.cdf-events-all,.cdf-projects-all):hover {transform:translateY(-2px);}}
}
