
/* Full-width isolation from Twenty Twenty-Two content constraints */
body:has(.mgu-agreement-page) .wp-site-blocks,
body:has(.mgu-agreement-page) main.wp-block-group,
body:has(.mgu-agreement-page) .wp-block-post-content,
body:has(.mgu-agreement-page) .entry-content{
    max-width:none !important;
}
body:has(.mgu-agreement-page) .mgu-agreement-page{
    width:100vw !important;
    max-width:none !important;
    margin-left:calc(50% - 50vw) !important;
    margin-right:calc(50% - 50vw) !important;
}

/* Base */
.mgu-agreement-page{
    color:#163a57;
    background:#fff;
    font-family:Arial,Helvetica,sans-serif;
    overflow:hidden;
}
.mgu-agreement-page *{box-sizing:border-box}

/* Hero */
.mgu-agreement-hero{
    position:relative;
    width:100%;
    min-height:610px;
    display:flex;
    align-items:center;
    padding:76px 5vw 82px;
    background:
      radial-gradient(circle at 78% 35%,rgba(46,137,200,.17),transparent 290px),
      linear-gradient(115deg,#fff 0%,#fff 47%,#f1f8fd 47%,#eaf5fc 100%);
    border-bottom:1px solid #d9eaf6;
    overflow:hidden;
}
.mgu-agreement-hero:before{
    content:"";
    position:absolute;
    left:0;top:0;
    width:43%;height:5px;
    background:linear-gradient(90deg,#143b5a,#2585c7,#c1e2f5);
}
.mgu-agreement-hero-bg:before,
.mgu-agreement-hero-bg:after{
    content:"";
    position:absolute;
    border:1px solid rgba(37,126,193,.12);
    border-radius:50%;
}
.mgu-agreement-hero-bg:before{width:650px;height:650px;right:-260px;top:-250px}
.mgu-agreement-hero-bg:after{width:390px;height:390px;right:100px;bottom:-290px}

.mgu-agreement-hero-inner{
    position:relative;
    z-index:2;
    width:100%;
    max-width:1500px;
    margin:0 auto;
    display:grid;
    grid-template-columns:minmax(0,1.05fr) minmax(400px,.75fr);
    gap:50px;
    align-items:center;
}
.mgu-agreement-hero-copy{min-width:0}
.mgu-agreement-eyebrow{
    display:inline-flex;
    padding:10px 18px;
    border:1px solid #cce3f2;
    border-radius:999px;
    background:#fff;
    color:#247dc0;
    font-size:13px;
    font-weight:800;
    letter-spacing:.08em;
}
.mgu-agreement-hero h1{
    max-width:850px;
    margin:26px 0 0;
    color:#143650;
    font-family:Georgia,"Times New Roman",serif;
    font-size:clamp(54px,5.2vw,82px);
    line-height:1.02;
    font-weight:400;
    letter-spacing:-2px;
    overflow-wrap:anywhere;
    word-break:normal;
}
.mgu-agreement-hero h1 span{
    display:block;
    color:#277fc1;
}
.mgu-agreement-accent{width:105px;height:6px;margin:31px 0 25px;border-radius:20px;background:#267fc2}
.mgu-agreement-hero p{
    max-width:680px;
    margin:0;
    color:#607990;
    font-size:18px;
    line-height:1.75;
}
.mgu-agreement-scroll{
    display:inline-flex;
    align-items:center;
    gap:12px;
    margin-top:30px;
    padding:13px 18px;
    border:1px solid #d3e7f4;
    border-radius:14px;
    background:#f8fcff;
    color:#1f70ae!important;
    text-decoration:none!important;
    font-size:14px;
    font-weight:700;
}
.mgu-agreement-scroll span{
    display:flex;
    align-items:center;
    justify-content:center;
    width:28px;height:28px;
    border-radius:8px;
    background:#e3f2fc;
}

/* Hero graphic */
.mgu-agreement-visual{
    position:relative;
    width:100%;
    height:450px;
    display:flex;
    align-items:center;
    justify-content:center;
}
.mgu-agreement-orbit{position:absolute;border:1px solid rgba(38,127,195,.14);border-radius:50%}
.orbit-one{width:410px;height:410px}
.orbit-two{width:310px;height:310px}
.orbit-three{width:205px;height:205px}
.mgu-agreement-doc-card{
    position:relative;
    z-index:3;
    width:330px;
    min-height:360px;
    padding:30px;
    border:1px solid #d5e8f5;
    border-radius:28px;
    background:rgba(255,255,255,.97);
    box-shadow:0 28px 65px rgba(24,78,117,.14);
    transform:rotate(3deg);
}
.mgu-agreement-doc-icon{
    width:65px;height:65px;
    display:flex;align-items:center;justify-content:center;
    margin-bottom:20px;border-radius:18px;background:#e3f2fc;font-size:29px;
}
.mgu-agreement-doc-caption{color:#2a80c0;font-size:10px;font-weight:800;letter-spacing:.08em}
.mgu-agreement-doc-card h2{margin:10px 0 9px;color:#153b58;font-size:25px}
.mgu-agreement-doc-card p{margin:0;color:#6a8195;font-size:14px;line-height:1.65}
.mgu-agreement-doc-lines{margin-top:25px}
.mgu-agreement-doc-lines i{display:block;height:7px;margin-bottom:9px;border-radius:10px;background:#e6f1f8}
.mgu-agreement-doc-lines i:nth-child(1){width:100%}
.mgu-agreement-doc-lines i:nth-child(2){width:82%}
.mgu-agreement-doc-lines i:nth-child(3){width:94%}
.mgu-agreement-doc-lines i:nth-child(4){width:62%}
.mgu-agreement-doc-footer{
    display:flex;justify-content:space-between;align-items:center;
    margin-top:27px;padding-top:16px;border-top:1px solid #e1edf5;
    color:#7890a3;font-size:11px
}
.mgu-agreement-doc-footer b{color:#247dc0;font-size:16px}
.mgu-agreement-floating{
    position:absolute;z-index:4;right:0;bottom:35px;width:170px;
    padding:18px;border:1px solid #d7eaf6;border-radius:18px;
    background:#fff;box-shadow:0 17px 40px rgba(25,80,120,.11)
}
.mgu-agreement-floating strong{display:block;color:#237bc0;font-size:27px}
.mgu-agreement-floating span{display:block;margin-top:3px;color:#6e8498;font-size:12px;line-height:1.4}

/* Common sections */
.mgu-agreement-overview,.mgu-agreement-document,.mgu-agreement-final{
    width:100%;
    max-width:1270px;
    margin-left:auto;
    margin-right:auto;
}
.mgu-agreement-overview{padding:70px 30px 35px}
.mgu-agreement-mini-title{color:#267fc1;font-size:12px;font-weight:800;letter-spacing:.09em}
.mgu-agreement-section-head{
    display:flex;justify-content:space-between;align-items:end;gap:40px;margin-bottom:27px
}
.mgu-agreement-section-head h2,
.mgu-agreement-document-head h2{
    margin:7px 0 0;color:#153954;font-family:Georgia,"Times New Roman",serif;font-weight:400
}
.mgu-agreement-section-head h2{font-size:40px}
.mgu-agreement-section-head p{max-width:420px;margin:0;color:#71879a;font-size:14px;line-height:1.65}
.mgu-agreement-overview-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.mgu-agreement-overview-card{
    position:relative;min-height:205px;padding:28px;overflow:hidden;
    border:1px solid #dbeaf5;border-radius:24px;background:#fff;
    box-shadow:0 10px 30px rgba(30,80,120,.05)
}
.mgu-agreement-overview-card:after{
    content:"";position:absolute;width:150px;height:150px;right:-75px;top:-75px;
    border:1px solid rgba(38,127,195,.10);border-radius:50%
}
.mgu-agreement-overview-card.featured{background:linear-gradient(145deg,#f0f8fd,#fff)}
.mgu-agreement-overview-card .num{color:#247dc0;font-size:13px;font-weight:800}
.mgu-agreement-overview-card .tag{margin-top:4px;color:#9aafbf;font-size:10px;font-weight:800;letter-spacing:.07em}
.mgu-agreement-overview-card h3{margin:16px 0 9px;color:#163954;font-size:20px}
.mgu-agreement-overview-card p{margin:0;color:#687f94;font-size:14px;line-height:1.65}

.mgu-agreement-document{padding:25px 30px 0}
.mgu-agreement-document-head{
    display:flex;align-items:end;justify-content:space-between;gap:30px;
    margin-bottom:28px;padding-bottom:25px;border-bottom:1px solid #dceaf5
}
.mgu-agreement-document-head h2{font-size:43px}
.mgu-agreement-document-mark{color:#aac0cf;font-size:18px;font-weight:700}
.mgu-agreement-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.mgu-agreement-section{
    padding:30px;border:1px solid #dceaf5;border-radius:24px;background:#fff;
    box-shadow:0 8px 28px rgba(25,80,120,.04)
}
.mgu-agreement-section.wide{grid-column:1/-1}
.mgu-agreement-section:nth-child(3n){background:linear-gradient(145deg,#f7fbfe,#fff)}
.mgu-agreement-section .section-number{
    width:44px;height:44px;display:flex;align-items:center;justify-content:center;
    margin-bottom:18px;border-radius:14px;background:#e7f4fd;color:#247bc0;
    font-size:13px;font-weight:800
}
.mgu-agreement-section h3{margin:0 0 14px;color:#163953;font-size:22px;line-height:1.3}
.mgu-agreement-section p{margin:0 0 12px;color:#566f84;font-size:15px;line-height:1.75}
.mgu-agreement-section p:last-child{margin-bottom:0}
.mgu-agreement-section ul{margin:6px 0 0;padding:0;list-style:none}
.mgu-agreement-section li{position:relative;margin-bottom:8px;padding-left:23px;color:#566f84;font-size:14px;line-height:1.6}
.mgu-agreement-section li:before{content:"✓";position:absolute;left:0;color:#267fc1;font-weight:800}
.mgu-agreement-note{
    display:flex;flex-direction:column;gap:6px;margin-top:20px;padding:17px;
    border-radius:16px;background:#eef8fd;border:1px solid #d7eaf6
}
.mgu-agreement-note b{color:#183c58;font-size:14px}
.mgu-agreement-note span{color:#61798e;font-size:12px;line-height:1.55}

.mgu-agreement-final{
    margin-top:55px;
    padding:48px 52px;
    display:flex;justify-content:space-between;align-items:center;gap:35px;
    position:relative;overflow:hidden;border-radius:30px;
    background:linear-gradient(125deg,#123750,#185277)
}
.mgu-agreement-final:after{
    content:"";position:absolute;width:500px;height:500px;right:-220px;top:-300px;
    border:1px solid rgba(255,255,255,.10);border-radius:50%
}
.mgu-agreement-final > div:first-child{position:relative;z-index:2}
.mgu-agreement-final h2{margin:7px 0 12px;color:#fff;font-family:Georgia,"Times New Roman",serif;font-size:41px;font-weight:400}
.mgu-agreement-final p{max-width:760px;margin:0;color:#c9ddea;font-size:15px;line-height:1.7}
.mgu-agreement-final-badge{
    position:relative;z-index:2;min-width:185px;padding:18px 20px;
    border:1px solid rgba(255,255,255,.15);border-radius:17px;background:rgba(255,255,255,.07)
}
.mgu-agreement-final-badge span{display:block;color:#9fc7df;font-size:11px}
.mgu-agreement-final-badge strong{display:block;margin-top:5px;color:#fff;font-size:17px}

/* Responsive */
@media(max-width:1050px){
    .mgu-agreement-hero-inner{grid-template-columns:1fr}
    .mgu-agreement-visual{height:390px}
    .mgu-agreement-overview-grid{grid-template-columns:1fr}
    .mgu-agreement-grid{grid-template-columns:1fr}
    .mgu-agreement-section.wide{grid-column:auto}
    .mgu-agreement-section-head{display:block}
    .mgu-agreement-section-head p{margin-top:15px}
}
@media(max-width:650px){
    .mgu-agreement-hero{padding:55px 22px}
    .mgu-agreement-hero h1{font-size:49px;letter-spacing:-1px}
    .mgu-agreement-hero p{font-size:16px}
    .mgu-agreement-visual{height:340px}
    .orbit-one{width:300px;height:300px}
    .orbit-two{width:230px;height:230px}
    .orbit-three{width:155px;height:155px}
    .mgu-agreement-doc-card{width:270px}
    .mgu-agreement-floating{right:0;bottom:8px}
    .mgu-agreement-overview,.mgu-agreement-document{padding-left:17px;padding-right:17px}
    .mgu-agreement-section-head h2,.mgu-agreement-document-head h2{font-size:34px}
    .mgu-agreement-document-head{display:block}
    .mgu-agreement-document-mark{margin-top:12px}
    .mgu-agreement-final{margin:45px 17px 0;padding:35px 25px;display:block}
    .mgu-agreement-final-badge{margin-top:25px}
}
