/* Keep the original identity; columns and media must respect their own space. */
body.domy-layout #wrapper {
 width:calc(100% - 48px)!important;
 max-width:1240px;
 padding:0 20px;
 box-sizing:border-box;
 background-position:right top;
}
body.domy-layout #main,
body.domy-layout #branding,
body.domy-layout #colophon {width:100%!important;box-sizing:border-box}
body.domy-layout #header > img {max-width:100%;height:auto}
body.domy-layout #middle {display:flex;align-items:center}
body.domy-layout #middle .slogan {flex:1;min-width:0;width:auto;height:auto;padding:0;text-align:center}
body.domy-layout #middle .slogan img {max-width:100%;height:auto}
body.domy-layout #middle .slideshow {flex:0 0 292px}
body.domy-layout #main {
 display:grid;
 grid-template-columns:minmax(0,1fr) minmax(0,350px);
 grid-template-rows:min-content 1fr;
 column-gap:40px;
 align-items:start;
}
body.domy-layout #container {
 grid-column:1;
 grid-row:1 / span 2;
 float:none;
 width:auto!important;
 min-width:0;
}
body.domy-layout #primary,
body.domy-layout #secondary {
 grid-column:2;
 float:none;
 clear:none;
 width:auto!important;
 min-width:0;
 margin:0;
}
body.domy-layout #primary {grid-row:1}
body.domy-layout #secondary {grid-row:2}
body.domy-layout .widget-container {border-radius:8px;background-color:#fffffff0;box-shadow:0 2px 10px #382d160a}
body.domy-layout .widget_search form > div {display:flex;align-items:center;gap:8px}
body.domy-layout .widget_search #s {flex:1;min-width:0;width:100%;padding:7px;border-radius:5px;box-sizing:border-box}
body.domy-layout .widget_search input[type=submit] {padding:7px 10px;border:0;border-radius:5px;background:#357a33;color:#fff;cursor:pointer}
body.domy-layout .widget-area a:focus-visible,
body.domy-layout #content a:focus-visible {outline:3px solid #357a33;outline-offset:4px}
body.domy-layout #content .entry-title {font-size:clamp(25px,2.1vw,31px);line-height:1.3;margin-bottom:5px}
body.domy-layout #content {font-size:17px;line-height:1.65}
body.domy-layout #content .entry-content h2 {font-size:25px}
body.domy-layout #content .entry-content h3 {font-size:21px}
body.domy-layout.home #content .entry-content > table:first-of-type {border-left:4px solid #4d833e;border-radius:8px;background:#f5f5eb}
body.domy-layout.home #content .entry-content table td {padding:17px 20px;line-height:1.65;border-color:#e7e7dc}
body.domy-layout.home #content .entry-content table img {width:148px;max-width:32%!important;float:left!important;margin:2px 20px 8px 0}
body.domy-layout.home #content .entry-content > table:first-of-type img {width:90px}
body.domy-layout #content,
body.domy-layout .entry-content,
body.domy-layout .entry-summary {min-width:0;max-width:100%;overflow-wrap:anywhere}
body.domy-layout .entry-content,
body.domy-layout .entry-summary {display:flow-root}
body.domy-layout #content img,
body.domy-layout .widget-area img {
 max-width:100%!important;
 height:auto;
 box-sizing:border-box;
}
body.domy-layout #content iframe,
body.domy-layout #content video,
body.domy-layout #content embed,
body.domy-layout #content object,
body.domy-layout #content .wp-caption {max-width:100%;box-sizing:border-box}
body.domy-layout #content .gallery {
 display:grid;
 grid-template-columns:repeat(3,minmax(0,1fr));
 gap:14px 12px;
 clear:both;
 width:100%;
 max-width:100%;
 margin:12px 0 24px;
 box-sizing:border-box;
 align-items:start;
}
body.domy-layout #content .gallery .gallery-item {
 float:none!important;
 width:auto!important;
 min-width:0;
 margin:0!important;
 text-align:center;
}
body.domy-layout #content .gallery .gallery-icon {margin:0;padding:6px;background:#f5f3ec;border:1px solid #e9e5da;border-radius:5px;box-sizing:border-box}
body.domy-layout #content .gallery .gallery-icon a {display:block;max-width:100%}
body.domy-layout #content .gallery img {
 display:block;
 width:100%;
 height:auto;
 margin:0;
 border:0;
}
body.domy-layout #content .gallery .gallery-caption {margin:6px 0 0;line-height:1.5;overflow-wrap:anywhere}
body.domy-layout #content .gallery > br {display:none}
body.domy-layout #content .gallery-columns-1 {grid-template-columns:minmax(0,1fr)}
body.domy-layout #content .gallery-columns-2 {grid-template-columns:repeat(2,minmax(0,1fr))}
body.domy-layout #content table {max-width:100%;box-sizing:border-box}
body.domy-layout.one-column #container,
body.domy-layout.single-attachment #container {grid-column:1 / -1}
body.domy-layout #my_footer {height:auto;min-height:20px}
body.domy-layout #my_footer > .container {width:calc(100% - 48px)!important;max-width:1200px;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px}
body.domy-layout #my_footer .contact {float:none}
@media(max-width:979px) {
 body.domy-layout #wrapper {width:100%!important;padding:0 20px}
 body.domy-layout #middle {flex-wrap:wrap;gap:16px}
 body.domy-layout #middle .slogan {flex:0 1 100%}
 body.domy-layout #middle .slideshow {flex:0 1 292px}
 body.domy-layout #main {display:block}
 body.domy-layout #primary,
 body.domy-layout #secondary {margin-top:28px}
 body.domy-layout #main .widget-area > ul {padding:0}
 body.domy-layout #content .gallery {gap:12px}
 body.domy-layout #content .gallery .gallery-icon {padding:5px}
 body.domy-layout #content td,
 body.domy-layout #content th {width:auto!important;min-width:0;overflow-wrap:anywhere}
 body.domy-layout #content td img {margin-left:0;margin-right:0}
}
@media(max-width:480px) {
 body.domy-layout #wrapper {padding:0 16px}
 body.domy-layout #comments .commentlist .children {margin-left:-40px}
 body.domy-layout #comments .children #respond {margin-left:0;margin-right:0}
 body.domy-layout #content .gallery {grid-template-columns:repeat(2,minmax(0,1fr))}
 body.domy-layout #content .gallery-columns-1 {grid-template-columns:minmax(0,1fr)}
 body.domy-layout #content td,
 body.domy-layout #content th {padding:9px 7px}
}
@media print {
 body.domy-layout #main {display:block}
 body.domy-layout #container {width:100%!important}
}
