/*
Theme Name: MVH Template
Theme URI: https://example.com/
Author: MVH
Description: Temă WordPress modernă, cu fundal alb și accente verde, albastru și roșu.
Version: 1.0.4
Requires at least: 6.5
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: mvh-template
*/
:root{--mvh-green:#16833B;--mvh-green-dark:#0B5D2A;--mvh-blue:#1456A0;--mvh-blue-dark:#103B70;--mvh-red:#D62935;--mvh-white:#fff;--mvh-paper:#F5F7FA;--mvh-ink:#17212B;--mvh-muted:#637181;--mvh-line:#DCE3EA;--mvh-shadow:0 12px 32px rgba(18,42,66,.10)}
*{box-sizing:border-box}html{scroll-behavior:smooth}
body{margin:0;color:var(--mvh-ink);background:#fff;font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:16px;line-height:1.65}
img{max-width:100%;height:auto}a{color:var(--mvh-blue);text-underline-offset:3px}a:hover{color:var(--mvh-red)}
.wp-site-blocks{min-height:100vh;display:flex;flex-direction:column;background:#fff}
.wp-site-blocks>main{flex:1;width:min(1240px,calc(100% - 36px));margin:30px auto 52px}
.wp-site-blocks>main.alignwide{width:min(1400px,calc(100% - 28px))}.wp-site-blocks>main.alignfull{width:100%;margin-left:0;margin-right:0}
.mvh-header{position:relative;z-index:20;color:var(--mvh-ink);background:#fff;border-bottom:1px solid var(--mvh-line);box-shadow:0 4px 18px rgba(18,42,66,.06)}
.mvh-header:after{content:"";display:block;height:4px;background:linear-gradient(90deg,var(--mvh-green) 0 33.33%,var(--mvh-blue) 33.33% 66.66%,var(--mvh-red) 66.66% 100%)}
.mvh-header-inner{width:min(1240px,calc(100% - 36px));margin-inline:auto}
.mvh-brand-row{display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:82px;padding:10px 0}
.mvh-brand{display:flex;align-items:center;gap:12px;min-width:0}
.mvh-brand .wp-block-site-logo img{width:auto;max-width:160px;max-height:58px;object-fit:contain}
.mvh-brand .wp-block-site-title{margin:0;font-size:clamp(17px,1.9vw,23px);font-weight:950;letter-spacing:1.6px;text-transform:uppercase;line-height:1.2}
.mvh-brand .wp-block-site-title a{color:var(--mvh-blue-dark);text-decoration:none}
.mvh-brand .wp-block-site-tagline{color:var(--mvh-muted);font-size:10px;font-weight:750;letter-spacing:1.4px;text-transform:uppercase;margin-top:5px}
.mvh-header .wp-block-navigation{color:var(--mvh-ink)}
.mvh-header .wp-block-navigation a{color:var(--mvh-ink);text-decoration:none;font-size:11px;font-weight:850;letter-spacing:1.1px;text-transform:uppercase;padding:12px 10px;border-bottom:3px solid transparent}
.mvh-header .wp-block-navigation a:hover,.mvh-header .wp-block-navigation .current-menu-item>a{color:var(--mvh-blue);border-bottom-color:var(--mvh-green);background:rgba(20,86,160,.045)}
.mvh-header .wp-block-navigation__submenu-container{background:#fff;border:1px solid var(--mvh-line);border-top:3px solid var(--mvh-blue);border-radius:0 0 10px 10px;box-shadow:var(--mvh-shadow);padding:8px}
.mvh-header .wp-block-navigation__submenu-container a{white-space:normal;min-width:200px}
.mvh-header .wp-block-navigation__responsive-container.is-menu-open{color:var(--mvh-ink);background:#fff;padding:24px}
.mvh-header .wp-block-navigation__responsive-container.is-menu-open a{color:var(--mvh-ink)}
.mvh-header .wp-block-navigation__responsive-container-close,.mvh-header .wp-block-navigation__responsive-container-open{color:var(--mvh-blue)}
main h1,main h2,main h3,main h4{color:var(--mvh-blue-dark);line-height:1.25}
main h1{font-size:clamp(28px,4vw,42px)}main h2{font-size:clamp(23px,3vw,31px)}
main p,main li,main figcaption,main label{color:#354353}
main blockquote{margin:1.5em 0;padding:16px 20px;border-left:4px solid var(--mvh-green);background:#F3F8F4;border-radius:0 10px 10px 0}
main hr,.wp-block-separator{border:0;border-top:1px solid var(--mvh-line)}
main table{width:100%;border-collapse:collapse;color:var(--mvh-ink);background:#fff}
main th{background:var(--mvh-blue-dark);color:#fff;text-align:left}
main th,main td{padding:10px 12px;border:1px solid var(--mvh-line)}main tr:nth-child(even) td{background:#F5F8FB}
.wp-block-button__link,.wp-element-button,button,input[type=submit]{background:var(--mvh-blue);color:#fff;border:1px solid var(--mvh-blue);border-radius:8px;padding:.72em 1.1em;font-weight:750;text-decoration:none;transition:background .18s ease,transform .18s ease}
.wp-block-button__link:hover,.wp-element-button:hover,button:hover,input[type=submit]:hover{background:var(--mvh-green-dark);border-color:var(--mvh-green-dark);color:#fff;transform:translateY(-1px)}
input:not([type=checkbox]):not([type=radio]),select,textarea{max-width:100%;border:1px solid #C9D3DE;border-radius:8px;padding:.65em .8em;background:#fff;color:var(--mvh-ink)}
:focus-visible{outline:3px solid rgba(20,86,160,.35);outline-offset:3px}
.mvh-footer{margin-top:auto;color:#fff;background:linear-gradient(110deg,#103B70 0%,#1456A0 55%,#0B5D2A 100%);border-top:4px solid var(--mvh-green)}
.mvh-footer-inner{width:min(1240px,calc(100% - 36px));margin-inline:auto;padding:26px 0;display:flex;align-items:center;justify-content:space-between;gap:20px}
.mvh-footer strong{color:#fff}.mvh-footer a{color:#fff}.mvh-footer a:hover{color:#D9F2E0}
.screen-reader-text{clip:rect(1px,1px,1px,1px);clip-path:inset(50%);height:1px;width:1px;overflow:hidden;position:absolute!important;white-space:nowrap}
/* Full-width page heading with white surface and green-blue-red accent. */
.wp-site-blocks main>.wp-block-post-title,.wp-site-blocks main>.wp-block-query-title,.wp-site-blocks main>h1:first-child,.wp-site-blocks main .wp-block-post-title,.wp-site-blocks main .wp-block-query-title{position:relative;isolation:isolate;width:100vw;max-width:100vw;min-width:100vw;min-height:104px;display:flex;align-items:center;justify-content:center;box-sizing:border-box;margin:-30px 0 22px calc(50% - 50vw)!important;padding:34px 24px 20px!important;overflow:hidden;color:var(--mvh-blue-dark);text-align:center;text-transform:uppercase;font-size:clamp(27px,4vw,44px);font-weight:950;letter-spacing:1.2px;line-height:1.08;background:linear-gradient(110deg,#fff 0%,#F7FAFC 50%,#fff 100%);border:0;border-bottom:1px solid var(--mvh-line);border-radius:0}
.wp-site-blocks main>.wp-block-post-title:before,.wp-site-blocks main>.wp-block-query-title:before,.wp-site-blocks main>h1:first-child:before,.wp-site-blocks main .wp-block-post-title:before,.wp-site-blocks main .wp-block-query-title:before{content:"MVH";position:absolute;top:13px;left:24px;z-index:1;color:var(--mvh-green-dark);font-size:8px;font-weight:950;letter-spacing:2.4px}
.wp-site-blocks main>.wp-block-post-title:after,.wp-site-blocks main>.wp-block-query-title:after,.wp-site-blocks main>h1:first-child:after,.wp-site-blocks main .wp-block-post-title:after,.wp-site-blocks main .wp-block-query-title:after{content:"";position:absolute;z-index:-1;left:0;right:0;bottom:0;height:4px;background:linear-gradient(90deg,var(--mvh-green) 0 33.33%,var(--mvh-blue) 33.33% 66.66%,var(--mvh-red) 66.66% 100%)}
.wp-site-blocks main>.wp-block-post-content{margin-block-start:0!important;padding-block-start:0!important}.wp-site-blocks main>.wp-block-post-content>:first-child{margin-block-start:0!important}
@media(max-width:900px){
.mvh-brand-row{align-items:center;flex-wrap:nowrap;min-height:70px;gap:10px}.mvh-brand .wp-block-site-logo img{max-width:100px;max-height:48px}
.mvh-header .wp-block-navigation__responsive-container:not(.is-menu-open){display:none}
.mvh-header .wp-block-navigation{display:block!important;width:auto;flex:0 0 auto}
.mvh-header .wp-block-navigation__responsive-container-open{display:flex!important;align-items:center;justify-content:center;width:42px;height:40px;padding:0;border:1px solid var(--mvh-blue);border-radius:7px;background:#fff;color:var(--mvh-blue)!important}
.mvh-header .wp-block-navigation__responsive-container.is-menu-open{display:block!important;position:absolute!important;inset:auto 0 auto auto!important;top:calc(100% + 8px)!important;width:min(340px,calc(100vw - 28px))!important;height:auto!important;max-height:calc(100vh - 110px)!important;overflow-y:auto!important;padding:10px!important;margin:0!important;background:#fff!important;border:1px solid var(--mvh-line)!important;border-top:3px solid var(--mvh-blue)!important;border-radius:0 0 10px 10px!important;box-shadow:var(--mvh-shadow)!important;z-index:10000!important}
.mvh-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-close{width:100%;max-width:none;padding:0}.mvh-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-dialog{margin:0}
.mvh-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content{display:block!important;padding:38px 0 0!important}
.mvh-header .wp-block-navigation__responsive-container-close{position:absolute!important;top:5px!important;right:5px!important;color:var(--mvh-blue)!important;background:transparent!important}
.mvh-header .wp-block-navigation__container{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:0!important;width:100%}
.mvh-header .wp-block-navigation-item{display:block;width:100%}.mvh-header .wp-block-navigation a{display:flex;width:100%;box-sizing:border-box;white-space:normal;padding:11px 12px;font-size:12px;letter-spacing:1px;border-bottom:1px solid #E8EDF2}
.mvh-header .wp-block-navigation__submenu-container{position:static!important;display:none!important;width:100%!important;min-width:0!important;max-width:none!important;padding:0 0 0 10px!important;margin:0!important;background:#F5F8FB!important;border:0!important;border-radius:0!important;box-shadow:none!important}
.mvh-header .wp-block-navigation-item.has-child.mvh-submenu-open>.wp-block-navigation__submenu-container{display:block!important;visibility:visible!important;opacity:1!important;height:auto!important;overflow:visible!important}
.mvh-header .wp-block-navigation-item.has-child>.wp-block-navigation-submenu__toggle{color:var(--mvh-blue)!important;background:transparent!important;border:0!important;padding:8px!important}
.mvh-footer-inner{align-items:flex-start;flex-direction:column}
.wp-site-blocks main>.wp-block-post-title,.wp-site-blocks main>.wp-block-query-title,.wp-site-blocks main>h1:first-child,.wp-site-blocks main .wp-block-post-title,.wp-site-blocks main .wp-block-query-title{min-height:78px;margin-top:-20px!important;margin-bottom:16px!important;padding:30px 14px 16px!important;font-size:clamp(24px,6vw,34px)}
.wp-site-blocks main>.wp-block-post-title:before,.wp-site-blocks main>.wp-block-query-title:before,.wp-site-blocks main>h1:first-child:before,.wp-site-blocks main .wp-block-post-title:before,.wp-site-blocks main .wp-block-query-title:before{top:9px;left:14px;font-size:6.5px;letter-spacing:1.2px}
}
@media(max-width:600px){body{font-size:15px}.mvh-header-inner,.mvh-footer-inner{width:calc(100% - 24px)}.wp-site-blocks>main,.wp-site-blocks>main.alignwide{width:calc(100% - 24px);margin-top:20px;margin-bottom:32px}main th,main td{padding:8px;font-size:13px}}


/* MVH identity: Hungarian colours above the navigation; Dutch flag artwork below it. */
.mvh-hungary-stripe{width:100%;height:7px;background:linear-gradient(to bottom,#CE2939 0 33.333%,#fff 33.333% 66.666%,#477050 66.666% 100%)}
.mvh-header:after{display:none}
.mvh-brand{position:relative;display:flex;align-items:center;gap:14px;min-height:82px;padding-left:104px}
.mvh-brand:before{content:"";position:absolute;left:0;top:50%;transform:translateY(-50%);width:94px;height:76px;background-image:url("assets/mvh-logo.png");background-repeat:no-repeat;background-position:center;background-size:contain}
.mvh-brand .wp-block-site-title{margin:0}
.mvh-brand .wp-block-site-title a{color:var(--mvh-blue-dark)}
.mvh-brand .wp-block-site-tagline{color:var(--mvh-muted)}
.mvh-netherlands-image-strip{height:42px;width:100%;background-image:url("assets/mvh-netherlands-header-strip.jpg");background-position:center 55%;background-size:cover;background-repeat:no-repeat;border-top:1px solid rgba(16,59,112,.12);border-bottom:1px solid rgba(16,59,112,.12)}
@media(max-width:900px){
 .mvh-brand{min-height:64px;padding-left:76px}
 .mvh-brand:before{width:68px;height:58px}
 .mvh-netherlands-image-strip{height:28px;background-position:center 60%}
}


/* V1.0.2 — corrected flag placement and user-supplied MVH identity. */
.mvh-hungary-top{height:20px;width:100%;background:#CE2939}
.mvh-header:after{display:none}
.mvh-header-inner{width:min(1360px,calc(100% - 36px))}
.mvh-brand-row{background:#fff;min-height:88px;padding:8px 0}
.mvh-brand{display:flex;align-items:center;gap:12px;min-width:0}
.mvh-brand .wp-block-site-logo{display:flex;align-items:center}
.mvh-brand .wp-block-site-logo img{width:76px;height:76px;max-width:76px;max-height:76px;object-fit:contain}
.mvh-brand .wp-block-site-title{margin:0;font-size:clamp(17px,1.9vw,23px);font-weight:950;letter-spacing:1.6px;text-transform:uppercase;line-height:1.2}
.mvh-brand .wp-block-site-title a{color:var(--mvh-ink);text-decoration:none}
.mvh-brand .wp-block-site-tagline{color:var(--mvh-muted);font-size:10px;font-weight:750;letter-spacing:1.2px;text-transform:uppercase;margin-top:4px}
.mvh-header .wp-block-navigation a{color:var(--mvh-ink)}
.mvh-header .wp-block-navigation a:hover,.mvh-header .wp-block-navigation .current-menu-item>a{color:var(--mvh-blue);border-bottom-color:var(--mvh-red);background:#F7F9FB}
.mvh-hungary-bottom{height:20px;width:100%;background:#477050}
.mvh-footer{position:relative;isolation:isolate;margin-top:auto;min-height:145px;border-top:0;background-image:linear-gradient(rgba(7,22,43,.48),rgba(7,22,43,.58)),url("assets/mvh-dutch-flag-footer.jpg");background-size:cover;background-position:center 50%;background-repeat:no-repeat}
.mvh-footer:before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(170,0,0,.12),transparent 48%,rgba(0,40,120,.16))}
.mvh-footer-inner{min-height:145px;padding:26px 0;color:#fff}
.mvh-footer-inner p,.mvh-footer-inner strong,.mvh-footer-inner a{color:#fff;text-shadow:0 1px 3px rgba(0,0,0,.55)}
@media(max-width:900px){
 .mvh-header-inner{width:calc(100% - 24px)}
 .mvh-brand-row{min-height:72px}
 .mvh-brand .wp-block-site-logo img{width:62px;height:62px;max-width:62px;max-height:62px}
 .mvh-hungary-top,.mvh-hungary-bottom{height:14px}
 .mvh-footer,.mvh-footer-inner{min-height:112px}
}


/* V1.0.3 — use the exact user-provided MVH logo and refine the footer. */
.mvh-brand{display:flex;align-items:center;gap:14px;min-width:0}
.mvh-brand-mark{display:block;width:88px;height:88px;flex:0 0 88px;background-image:url("assets/mvh-logo.png");background-position:center;background-repeat:no-repeat;background-size:contain}
.mvh-brand-copy{display:flex;flex-direction:column;justify-content:center;min-width:0}
.mvh-brand-copy .wp-block-site-title{margin:0;font-size:clamp(17px,1.9vw,23px);font-weight:950;letter-spacing:1.6px;text-transform:uppercase;line-height:1.2}
.mvh-brand-copy .wp-block-site-title a{color:var(--mvh-ink);text-decoration:none}
.mvh-brand-copy .wp-block-site-tagline{color:var(--mvh-muted);font-size:10px;font-weight:750;letter-spacing:1.2px;text-transform:uppercase;margin-top:4px}
.mvh-footer{position:relative;isolation:isolate;overflow:hidden;margin-top:auto;min-height:180px;color:#fff;background-color:#102c49;background-image:linear-gradient(90deg,rgba(8,28,49,.86) 0%,rgba(8,28,49,.58) 52%,rgba(8,28,49,.34) 100%),url("assets/mvh-footer-lake-dutch-accent.jpg");background-size:cover;background-position:center 58%;background-repeat:no-repeat;border-top:0}
.mvh-footer:before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,rgba(255,255,255,.06),transparent 28%,rgba(3,18,34,.24))}
.mvh-footer-inner{position:relative;z-index:1;width:min(1240px,calc(100% - 36px));min-height:180px;margin-inline:auto;padding:30px 0;display:flex;align-items:center;justify-content:space-between;gap:24px}
.mvh-footer-inner p{margin:0;color:#fff;font-size:14px;letter-spacing:.35px}
.mvh-footer-inner p strong{display:block;color:#fff;font-size:22px;letter-spacing:2px;margin-bottom:4px}
.mvh-footer-inner a{color:#fff;text-decoration:none}
.mvh-footer-inner a:hover{color:#f5d9dc}
@media(max-width:900px){
 .mvh-brand-mark{width:68px;height:68px;flex-basis:68px}
 .mvh-footer,.mvh-footer-inner{min-height:142px}
 .mvh-footer-inner{padding:22px 0}
}
