/* Shared spacing and responsive components. Page content remains native Elementor. */
:root{--mvg-container:min(1280px,calc(100% - 64px));--mvg-nav-top:84px}
.maveg-elementor-main>.elementor>.mvg-content-section>.e-con-inner{min-width:0;width:100%;max-width:1280px}
.maveg-elementor-main .elementor-widget-shortcode,.maveg-elementor-main .elementor-shortcode{width:100%;min-width:0}
.maveg-elementor-main .elementor-widget-text-editor :is(p,li){line-height:1.7}
.maveg-elementor-main .elementor-widget-text-editor p+p{margin-top:1em}
.maveg-elementor-main .elementor-widget-text-editor a{overflow-wrap:anywhere}
.maveg-elementor-main .elementor-widget-image img{display:block;max-width:100%;height:auto;margin-inline:auto}
.maveg-elementor-main .mvg-project-image img{width:100%;aspect-ratio:16/10;object-fit:cover;border-radius:16px;transition:transform .5s ease}
.mvg-project-card{border:1px solid var(--mvg-line);box-shadow:0 14px 38px #0d513408;transition:transform .3s ease,box-shadow .3s ease}
.mvg-project-card:hover{transform:translateY(-5px);box-shadow:0 22px 46px #0d513417}
.mvg-project-card .elementor-widget-button{margin-top:auto}
.maveg-elementor-main .mvg-team-portrait img{aspect-ratio:4/5;object-fit:contain;object-position:center bottom;max-height:420px}
.maveg-theme-post-grid{align-items:stretch;gap:28px}
.maveg-theme-post-card{height:auto;border-radius:24px}
.maveg-theme-post-card>a{display:flex;height:100%;flex-direction:column;text-decoration:none}
.maveg-theme-post-card>a>.mvg-post-media{display:block;width:100%;aspect-ratio:16/10;overflow:hidden;background:var(--mvg-mist)}
.maveg-theme-post-card>a>.mvg-post-media>img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .5s ease}
.maveg-theme-post-card>a>.mvg-post-media--brand{padding:42px;background:linear-gradient(135deg,#edf4df,#dcebe3)}
.maveg-theme-post-card>a>.mvg-post-media--brand>img{object-fit:contain}
.maveg-theme-post-card>a>.mvg-post-body,.maveg-theme-post-card>a>div{padding:26px;min-width:0}
.maveg-theme-post-card :is(h2,h3){margin:12px 0 14px;font-family:var(--mvg-sans);font-size:clamp(20px,1.7vw,24px);font-weight:750;line-height:1.3;letter-spacing:-.025em;overflow-wrap:break-word;color:var(--mvg-ink)}
.maveg-theme-post-card time{display:block;font-size:13px;font-weight:650;color:var(--mvg-leaf);line-height:1.5}
.maveg-theme-post-card p{font-size:16px;line-height:1.7;margin:0;color:var(--mvg-ink)}
.maveg-theme-article-header{padding-block:60px 36px;margin-bottom:0}
.maveg-theme-article-header h1{font-size:clamp(34px,4.4vw,64px);line-height:1.12;letter-spacing:-.035em}
.maveg-theme-article-content{width:min(820px,100%);font-size:18px;line-height:1.8}
.maveg-theme-article-content :is(p,li){line-height:1.8;overflow-wrap:anywhere}
.maveg-theme-article-content :is(h2,h3,h4){line-height:1.25;letter-spacing:-.025em}
.maveg-theme-article-content h2{font-size:clamp(28px,3vw,40px)}
.maveg-theme-article-content h3{font-size:clamp(24px,2.5vw,30px)}
.maveg-theme-article-content img{max-width:100%;height:auto}
.maveg-theme-featured{margin-bottom:42px}
.maveg-theme-main--page,.maveg-theme-archive,.maveg-theme-single,.maveg-theme-commerce{width:min(1280px,calc(100% - 64px))}
.mvg-google-form{display:block;border:0;width:100%;max-width:100%;min-height:850px;background:#fff;border-radius:18px}
.mvg-newsletter-form{width:min(820px,100%);padding:clamp(24px,3vw,40px);border:1px solid var(--mvg-line);border-radius:24px;background:#fff;box-shadow:0 12px 36px #0d513409}
.mvg-newsletter-fields{display:grid;grid-template-columns:1fr 1fr;gap:20px}
.mvg-newsletter-fields>label{display:block;font-size:14px;font-weight:750;color:var(--mvg-ink)}
.mvg-newsletter-fields input{display:block;width:100%;min-width:0;min-height:48px;margin-top:8px;padding:10px 14px;border:1px solid #b7c9bf;border-radius:10px;background:#fff;color:var(--mvg-ink);font-size:16px;line-height:1.5}
.mvg-newsletter-fields input:focus{border-color:var(--mvg-forest)}
.mvg-newsletter-consent{display:flex;align-items:flex-start;gap:12px;margin:24px 0;color:var(--mvg-ink);font-size:14px;line-height:1.65}
.mvg-newsletter-consent input{flex:none;width:19px;height:19px;margin-top:3px;accent-color:var(--mvg-forest)}
.mvg-newsletter-consent a{text-decoration:underline}
.mvg-form-note{margin:18px 0 0;font-size:13px;color:#486257;line-height:1.6}
.mvg-newsletter-trap{position:absolute;left:-5000px;width:1px;height:1px;overflow:hidden}
.maveg-elementor-video{position:relative;width:100%;aspect-ratio:16/9;overflow:hidden;border-radius:18px;background:#102c22}
.maveg-elementor-video>iframe{display:block;width:100%;height:100%;border:0;aspect-ratio:16/9}
.maveg-elementor-video>iframe[hidden]{display:none}
.maveg-elementor-video>.maveg-media-consent,.maveg-media-consent{position:relative;display:block;width:100%;aspect-ratio:16/9;min-height:0;padding:0;overflow:hidden;border:0;border-radius:18px;background:linear-gradient(135deg,#14392b,#071d16);text-align:center}
.maveg-media-consent>img{display:block;width:100%;height:100%;object-fit:cover}
.maveg-media-consent>.mvg-video-play{position:absolute;inset:0;display:grid;place-items:center;width:100%;height:100%;min-height:0;padding:0;margin:0;border:0;border-radius:0;background:transparent;box-shadow:none;cursor:pointer}
.maveg-media-consent>.mvg-video-play svg{width:68px;height:50px;filter:drop-shadow(0 6px 15px #0005);transition:transform .2s ease}
.maveg-media-consent>.mvg-video-play:hover svg{transform:scale(1.1)}
.maveg-theme-cart{position:relative;display:grid;place-items:center;flex:none;width:40px;height:40px;border:1px solid var(--mvg-line);border-radius:50%;background:#fff;color:var(--mvg-ink);text-decoration:none}
.maveg-theme-cart svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.mvg-cart-count{position:absolute;right:-4px;top:-5px;display:grid;place-items:center;min-width:18px;height:18px;padding:0 4px;border:2px solid var(--mvg-paper);border-radius:20px;background:var(--mvg-forest);color:#fff;font-size:10px;font-weight:800;line-height:1}
.maveg-theme-header{gap:20px;padding-inline:max(24px,calc((100vw - 1440px)/2));top:var(--mvg-admin-offset,0px)}
.admin-bar .maveg-theme-header{top:var(--mvg-admin-offset,32px)}
.maveg-theme-brand img{max-width:100%;max-height:54px}
.maveg-theme-navigation>ul{gap:clamp(10px,1.1vw,18px)}
.maveg-theme-navigation>ul>li{display:flex;align-items:center;gap:3px}
.maveg-theme-navigation a{font-size:13px;line-height:1.5}
.maveg-theme-navigation>ul>.menu-item-has-children>a{padding-right:0}
.maveg-theme-navigation>ul>.menu-item-has-children>a::before{display:none}
.mvg-submenu-toggle{display:grid;place-items:center;flex:none;width:28px;height:32px;border:0;border-radius:8px;background:transparent;color:var(--mvg-ink);cursor:pointer}
.mvg-submenu-toggle svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:2;transition:transform .2s ease}
.mvg-submenu-toggle[aria-expanded=true] svg{transform:rotate(180deg)}
.maveg-theme-navigation .sub-menu{min-width:250px;max-height:min(70vh,560px);overflow:auto;border:1px solid var(--mvg-line)}
.maveg-theme-navigation .sub-menu[hidden]{display:none}
.maveg-theme-navigation li.mvg-submenu-open>.sub-menu{display:block}
.maveg-theme-navigation .sub-menu a{font-size:14px;line-height:1.5;border-radius:8px}
.maveg-theme-navigation .sub-menu a:hover{background:var(--mvg-mist)}
.mvg-mobile-donate{display:none}
.maveg-elementor-main img.refferal_badge{width:min(220px,100%);height:auto!important;object-fit:contain}
.maveg-theme-article-content .elementor-widget-text-editor img{height:auto!important;max-width:100%;object-fit:contain}
@media(min-width:1281px){.maveg-theme-navigation .sub-menu li{display:block}.maveg-theme-brand img{width:96px}.maveg-theme-actions{gap:8px}.maveg-theme-actions .maveg-button{padding:10px 16px;font-size:13px}.maveg-language-switcher a{min-width:30px}}
@media(max-width:1280px){
 .maveg-theme-header{grid-template-columns:minmax(64px,1fr) auto auto;min-height:76px;gap:10px;padding:10px 20px}
 .maveg-theme-brand{grid-column:1;grid-row:1;min-width:0;order:1}.maveg-theme-brand img{width:92px;max-height:50px}
 .maveg-theme-actions{grid-column:2;grid-row:1;order:2;gap:10px;justify-self:end}
 .maveg-theme-menu{grid-column:3;grid-row:1;order:3;display:block;width:42px;height:42px;cursor:pointer}
 .maveg-theme-navigation{position:fixed;inset:var(--mvg-nav-top,76px) 16px auto;display:block;max-height:calc(100dvh - var(--mvg-nav-top,76px) - 18px);overflow-y:auto;overscroll-behavior:contain;padding:14px 20px;border:1px solid var(--mvg-line);border-radius:20px;background:#fffef8;box-shadow:0 16px 50px #0d513424;opacity:0;visibility:hidden;transform:translateY(-10px);transition:opacity .2s ease,transform .2s ease,visibility .2s;z-index:20}
 .maveg-theme-navigation.is-open{opacity:1;visibility:visible;transform:none}
 .maveg-theme-navigation>ul{display:block;width:100%}.maveg-theme-navigation>ul>li{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:0;border-bottom:1px solid var(--mvg-line)}
 .maveg-theme-navigation>ul>li:last-child{border-bottom:0}
 .maveg-theme-navigation a{display:block;padding:14px 0;border:0;font-size:16px;line-height:1.5;text-decoration:none}
 .maveg-theme-navigation a::after{display:none}
 .mvg-submenu-toggle{width:44px;height:44px;margin-block:4px;background:#edf4e8}
 .maveg-theme-navigation .sub-menu{grid-column:1/-1;position:static;display:none;min-width:0;max-height:none;width:100%;margin:0;padding:0 0 12px 12px;box-shadow:none;border:0;border-left:2px solid #d7e6d3;border-radius:0;background:transparent;overflow:visible}
 .maveg-theme-navigation li:hover>.sub-menu,.maveg-theme-navigation li:focus-within>.sub-menu{display:none}
 .maveg-theme-navigation li.mvg-submenu-open>.sub-menu{display:block}
 .maveg-theme-navigation .sub-menu a{padding:10px 8px;font-size:14px;font-weight:650}
 .maveg-theme-navigation .mvg-mobile-donate{display:flex;width:100%;justify-content:center;padding:14px 22px;margin-top:14px;border-radius:30px;color:#fff;background:var(--mvg-forest);font-size:15px}
}
@media(max-width:782px){
 :root{--mvg-container:calc(100% - 40px)}
 .admin-bar .maveg-theme-header{top:var(--mvg-admin-offset,46px)}
 .maveg-theme-header{min-height:72px;gap:8px;padding:10px 14px}.maveg-theme-header.is-scrolled{min-height:72px}
 .maveg-theme-brand img{width:80px;max-height:46px}
 .maveg-theme-actions{gap:8px}.maveg-theme-actions .maveg-button{display:none}
 .maveg-theme-cart{width:36px;height:36px}.maveg-theme-cart svg{width:20px;height:20px}
 .maveg-theme-actions .maveg-language-switcher{gap:1px;padding:3px}.maveg-theme-actions .maveg-language-switcher a{min-width:24px;padding:5px 4px;font-size:10px}
 .maveg-theme-menu{width:38px;height:38px}.maveg-theme-menu span:not(.screen-reader-text){width:18px;margin:5px auto}
 .maveg-theme-main--page,.maveg-theme-archive,.maveg-theme-single,.maveg-theme-commerce{width:calc(100% - 40px)}
 .maveg-theme-article-header{padding-top:48px;padding-bottom:28px}
 .maveg-theme-article-header h1{font-size:34px;line-height:1.15;letter-spacing:-1px;overflow-wrap:break-word}
 .maveg-theme-article-content{font-size:17px;line-height:1.75}
 .maveg-theme-post-grid{gap:22px}.maveg-theme-post-card>a>.mvg-post-body,.maveg-theme-post-card>a>div{padding:22px}
 .maveg-theme-post-card :is(h2,h3){font-size:21px;line-height:1.3}.maveg-theme-post-card p{font-size:15px;line-height:1.7}
 .mvg-newsletter-fields{grid-template-columns:1fr;gap:16px}.mvg-newsletter-form{padding:24px 20px}
 .mvg-google-form{min-height:1000px;border-radius:12px}
 .maveg-elementor-main .elementor-widget-image img{height:auto;max-width:100%}
 .maveg-elementor-main .mvg-project-image img{aspect-ratio:16/10;object-fit:cover}
 .maveg-elementor-main .mvg-team-portrait img{aspect-ratio:4/5;max-height:380px;object-fit:contain}
 .maveg-elementor-main .mvg-circle-carousel .swiper-slide img{height:100%;width:100%;object-fit:cover}
}
@media(max-width:360px){.maveg-theme-brand img{width:64px}.maveg-theme-header{padding-inline:10px;gap:6px}.maveg-theme-actions{gap:6px}.maveg-theme-actions .maveg-language-switcher a{min-width:21px;padding-inline:3px}}
@media(prefers-reduced-motion:reduce){.mvg-project-card,.mvg-project-image img,.mvg-video-play svg{transition:none}.mvg-project-card:hover{transform:none}}

/* 2026-11-01: one gutter per section; shortcode components own their inner spacing. */
.maveg-elementor-main :is(.e-con-inner,.elementor-widget,.elementor-widget-container,.elementor-shortcode){min-width:0}
.maveg-elementor-main .elementor-widget-shortcode,
.maveg-elementor-main .elementor-widget-shortcode>.elementor-widget-container{width:100%;max-width:100%;padding:0!important}
.maveg-elementor-main .elementor-shortcode :is(form,fieldset){min-width:0;max-width:100%}
.maveg-elementor-main .elementor-shortcode :is(input,select,textarea,button){max-width:100%;box-sizing:border-box;font-family:var(--mvg-sans)}
.maveg-elementor-main .elementor-shortcode input:not([type=checkbox]):not([type=radio]):not([type=hidden]),
.maveg-elementor-main .elementor-shortcode select,
.maveg-elementor-main .elementor-shortcode textarea{min-width:0;font-size:16px}
.maveg-page-tamogatas .maveg-donate-container{width:100%;max-width:800px;margin:0 auto;padding:clamp(20px,4vw,48px)!important;text-align:left;border-radius:24px}
.maveg-page-tamogatas .maveg-donate-container h2{max-width:100%;margin:0 0 16px;font-size:clamp(30px,4.5vw,52px);line-height:1.12;letter-spacing:-.025em;text-wrap:balance;overflow-wrap:break-word}
.maveg-page-tamogatas .maveg-donate-container>p{max-width:60ch;margin:0;font:400 16px/1.7 var(--mvg-sans)}
.maveg-page-tamogatas #maveg-donate-form{width:100%;max-width:100%;grid-template-columns:minmax(0,1fr);gap:24px;margin:28px 0 0;padding:0}
.maveg-page-tamogatas .maveg-donate-amounts{width:100%;min-width:0;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:0}
.maveg-page-tamogatas .maveg-donate-amount-btn{width:100%;min-width:0;min-height:58px!important;padding:12px 8px!important;font:650 16px/1.4 var(--mvg-sans)!important;white-space:normal;border-radius:14px!important}
.maveg-page-tamogatas .maveg-donate-custom{width:100%;min-width:0;text-align:left}
.maveg-page-tamogatas .maveg-donate-custom label{display:block;margin:0 0 8px;font:650 14px/1.5 var(--mvg-sans)}
.maveg-page-tamogatas .maveg-donate-custom input{width:100%;min-width:0;min-height:52px;padding:12px 14px;text-align:left;font:400 16px/1.5 var(--mvg-sans)}
.maveg-page-tamogatas .maveg-donate-submit{width:100%;min-width:0;min-height:54px!important;margin:0;padding:14px 20px;font-family:var(--mvg-sans)}
.maveg-elementor-main .mvg-newsletter-form{margin-inline:auto}
@media(max-width:767px){
 .maveg-page-tamogatas .maveg-donate-amounts{grid-template-columns:repeat(2,minmax(0,1fr))}
 .maveg-elementor-main .elementor-shortcode{font-size:16px;line-height:1.65}
 .maveg-elementor-main .elementor-shortcode :is(h1,h2,h3){overflow-wrap:break-word;line-height:1.2}
 .maveg-elementor-main .elementor-shortcode table{display:block;width:100%;max-width:100%;overflow-x:auto}
 .maveg-elementor-main .mvg-newsletter-form{padding:20px;border-radius:20px}
 .maveg-elementor-main .mvg-newsletter-consent{gap:10px}
}
@media(max-width:359px){
 .maveg-page-tamogatas .maveg-donate-container{padding:20px 16px!important;border-radius:20px}
 .maveg-page-tamogatas .maveg-donate-amounts{gap:10px}
 .maveg-page-tamogatas .maveg-donate-amount-btn{font-size:15px!important}
}

/* Account content already provides the card gutter. */
.woocommerce .woocommerce-MyAccount-content .mve-membership-status{padding:0!important;border:0;border-radius:0;background:transparent;box-shadow:none}

/* Let product grid children shrink to the viewport, including long product names. */
body.maveg-native-theme.single-product div.product{min-width:0;max-width:100%}
body.maveg-native-theme.single-product div.product>*,body.maveg-native-theme.single-product div.product :is(.summary,.woocommerce-product-gallery,.woocommerce-product-gallery__wrapper,form){min-width:0;max-width:100%}
body.maveg-native-theme.single-product :is(.product_title,.woocommerce-product-details__short-description,.product_meta){overflow-wrap:anywhere}
@media(max-width:900px){body.maveg-native-theme.single-product div.product{grid-template-columns:minmax(0,1fr)}}

body.single-product div.product .summary .mve-membership-status{padding:0!important;border:0;border-radius:0;background:transparent;box-shadow:none}
