/*
Theme Name: Milli Güləş Federasiyası
Template: twentytwentyfive
Version: 1.0
*/
:root{--mgf-navy:#071b33;--mgf-blue:#10385e;--mgf-red:#d51f35;--mgf-green:#16834b;--mgf-gold:#d6ad63;--mgf-ink:#172638;--mgf-muted:#657386;--mgf-paper:#f4f6f8}
body{background:var(--mgf-paper);color:var(--mgf-ink);font-family:Arial,Helvetica,sans-serif}
.wp-site-blocks{padding-top:0}
header.wp-block-template-part{background:#fff;border-bottom:1px solid #e6eaf0;box-shadow:0 8px 28px rgba(7,27,51,.06);position:relative;z-index:5}
header .wp-block-site-title a{color:var(--mgf-navy);font-weight:900;letter-spacing:-.04em;text-decoration:none}
header .wp-block-navigation a{font-weight:700;color:#1c2f45;text-decoration:none}
header .wp-block-navigation a:hover{color:var(--mgf-red)}
body.home .wp-block-post-title{display:none}
.mgf-home{margin:0 auto;max-width:1440px;padding:0 24px 64px}
.mgf-hero{position:relative;isolation:isolate;overflow:hidden;border-radius:0 0 30px 30px;min-height:540px;background:var(--mgf-navy);display:flex;align-items:center;margin:0 -24px 28px}
.mgf-hero:before{content:"";position:absolute;inset:0;z-index:-2;background:linear-gradient(90deg,rgba(4,18,35,.96) 0%,rgba(4,18,35,.82) 43%,rgba(4,18,35,.12) 100%),url('/qelebe-2022.jpg') center 42%/cover no-repeat}
.mgf-hero:after{content:"";position:absolute;inset:auto 0 0;height:8px;background:linear-gradient(90deg,var(--mgf-green),#fff,var(--mgf-red));z-index:-1}
.mgf-hero-inner{max-width:1220px;width:100%;margin:auto;padding:72px 56px;color:#fff}
.mgf-kicker{display:inline-flex;align-items:center;gap:10px;color:#f1d7a7;font-size:12px;font-weight:800;letter-spacing:.19em;text-transform:uppercase}
.mgf-kicker:before{content:"";width:28px;height:2px;background:var(--mgf-gold)}
.mgf-hero h1{max-width:680px;color:#fff;font-size:clamp(38px,5.4vw,72px);line-height:1.02;letter-spacing:-.055em;margin:22px 0 18px;font-weight:900}
.mgf-hero p{max-width:570px;color:#e0e8f1;font-size:18px;line-height:1.7;margin:0 0 30px}
.mgf-actions{display:flex;gap:12px;flex-wrap:wrap}
.mgf-btn{display:inline-flex;align-items:center;justify-content:center;padding:14px 22px;border-radius:7px;background:var(--mgf-red);color:#fff!important;text-decoration:none!important;font-weight:800;box-shadow:0 8px 24px rgba(213,31,53,.25)}
.mgf-btn.alt{background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.48);box-shadow:none}
.mgf-section{margin:58px 0}
.mgf-section-head{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:24px}
.mgf-eyebrow{color:var(--mgf-red);font-size:11px;font-weight:900;letter-spacing:.18em;text-transform:uppercase;margin:0 0 8px}
.mgf-section h2{color:var(--mgf-navy);font-size:clamp(27px,3vw,40px);line-height:1.1;letter-spacing:-.04em;margin:0;font-weight:900}
.mgf-section-head>p{max-width:470px;color:var(--mgf-muted);line-height:1.6;margin:0}
.mgf-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.mgf-card{background:#fff;border:1px solid #e7ebf0;border-radius:15px;padding:24px;box-shadow:0 8px 28px rgba(7,27,51,.045);transition:transform .2s,box-shadow .2s}
.mgf-card:hover{transform:translateY(-4px);box-shadow:0 16px 38px rgba(7,27,51,.1)}
.mgf-card .num{font-size:12px;font-weight:900;color:var(--mgf-red);letter-spacing:.12em}
.mgf-card h3{color:var(--mgf-navy);font-size:20px;line-height:1.2;margin:16px 0 9px}
.mgf-card p{color:var(--mgf-muted);font-size:14px;line-height:1.65;margin:0 0 16px}
.mgf-link{color:var(--mgf-red);font-size:13px;font-weight:900;text-decoration:none}
.mgf-band{display:grid;grid-template-columns:1.1fr .9fr;gap:28px;align-items:center;background:var(--mgf-navy);border-radius:22px;padding:38px;color:#fff;overflow:hidden}
.mgf-band h2{color:#fff;font-size:clamp(27px,3vw,38px);line-height:1.12;margin:8px 0 14px}
.mgf-band p{color:#d2dce8;line-height:1.75;margin:0}
.mgf-band-photo{min-height:260px;border-radius:15px;background:url('/qelebe-2022.jpg') center/cover}
.mgf-news{display:grid;grid-template-columns:1.2fr 1fr 1fr;gap:16px}
.mgf-news-card{background:#fff;border-radius:15px;overflow:hidden;border:1px solid #e7ebf0}
.mgf-news-img{height:190px;background:linear-gradient(135deg,#173d61,#071b33);display:flex;align-items:end;padding:18px;color:#fff;font-size:12px;font-weight:800;letter-spacing:.12em}
.mgf-news-body{padding:22px}
.mgf-news-body h3{font-size:19px;line-height:1.3;color:var(--mgf-navy);margin:0 0 10px}
.mgf-news-body p{font-size:14px;line-height:1.65;color:var(--mgf-muted);margin:0}
.mgf-lead{display:flex;align-items:center;gap:22px;background:#fff;border:1px solid #e7ebf0;border-radius:16px;padding:24px}
.mgf-avatar{width:82px;height:82px;flex:0 0 82px;border-radius:50%;background:linear-gradient(135deg,var(--mgf-blue),var(--mgf-navy));display:grid;place-items:center;color:#fff;font-size:28px;font-weight:900}
.mgf-lead h3{margin:0 0 5px;color:var(--mgf-navy);font-size:22px}
.mgf-lead p{margin:0;color:var(--mgf-muted)}
.mgf-cta{display:flex;justify-content:space-between;align-items:center;gap:24px;background:#fff;border:1px solid #e7ebf0;border-left:5px solid var(--mgf-red);border-radius:14px;padding:26px 30px}
.mgf-cta h2{font-size:25px;color:var(--mgf-navy);margin:0 0 6px}
.mgf-cta p{color:var(--mgf-muted);margin:0}
footer.wp-block-template-part{background:#06172b;color:#dbe5ef;margin-top:0}
footer a{color:#fff}
@media(max-width:900px){.mgf-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.mgf-news{grid-template-columns:1fr 1fr}.mgf-news-card:first-child{grid-column:1/-1}.mgf-band{grid-template-columns:1fr}.mgf-hero{min-height:500px}}
@media(max-width:600px){.mgf-home{padding:0 14px 40px}.mgf-hero{margin:0 -14px 20px;min-height:500px;border-radius:0 0 20px 20px}.mgf-hero-inner{padding:48px 24px}.mgf-hero p{font-size:16px}.mgf-grid,.mgf-news{grid-template-columns:1fr}.mgf-news-card:first-child{grid-column:auto}.mgf-section{margin:42px 0}.mgf-section-head{display:block}.mgf-section-head>p{margin-top:12px}.mgf-band{padding:24px}.mgf-cta{display:block}.mgf-cta .mgf-btn{margin-top:18px}.mgf-lead{align-items:flex-start}}
.mgf-portraits{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,230px),1fr));gap:18px}.mgf-portraits article{padding:24px;border:1px solid #cbd5e1;border-top:4px solid #b91c1c;border-radius:10px;background:#f8fafc;color:#14233d}.mgf-portraits article a{color:#14233d}.mgf-portraits article span{font-size:.8rem;font-weight:700;color:#9f1239}
.mgf-brand{background:#fff;padding:26px 20px;display:flex;justify-content:center;border-top:5px solid #0b77b8;box-shadow:inset 0 3px #d22030}.mgf-brand-link{display:flex;align-items:center;gap:20px;color:#102541!important;text-decoration:none!important;font-size:clamp(19px,3vw,32px);font-weight:800;line-height:1.2}.mgf-brand-link img{width:92px;height:92px;object-fit:contain}.mgf-brand-link small{display:block;font-size:14px;letter-spacing:1px;font-weight:500;margin-top:8px;color:#536579}.mgf-navbar{background:#102541;color:white!important;padding:16px 20px!important;margin-top:0!important;border-bottom:3px solid #cda75c}.mgf-navbar a{color:inherit!important;font-size:14px;font-weight:600}.mgf-navbar .wp-block-navigation__responsive-container.is-menu-open{background:#102541;color:white}.mgf-footer{background:#102541;color:#fff;padding:38px 24px;text-align:center;border-top:4px solid #cda75c}.mgf-footer a{color:#fff}.mgf-footer small{color:#d4dfec}.mgf-footer p{margin:12px 0}@media(max-width:600px){.mgf-brand-link img{width:68px;height:68px}.mgf-brand{padding:16px 12px}.mgf-brand-link{gap:12px}.mgf-brand-link small{font-size:11px}}
.mgf-topline{background:#081b30;color:#e3d1a0;display:flex;justify-content:space-between;padding:10px max(4vw,20px);font-size:11px;letter-spacing:1px}.mgf-topline a{color:inherit}.mgf-mast{display:flex;align-items:center;gap:28px;padding:28px max(4vw,20px);background:linear-gradient(110deg,#fff 50%,#e9edf2);border-bottom:4px solid #b89b57}.mgf-emblem img{width:150px;height:150px;object-fit:contain}.mgf-name{color:#102541;flex:1}.mgf-name small{letter-spacing:6px;font-size:15px}.mgf-name strong{display:block;font-size:clamp(26px,4vw,55px);line-height:1.03;font-weight:900;letter-spacing:-1px}.mgf-name span{display:block;color:#8b662b;margin-top:10px}.mgf-mast aside{border-left:1px solid #bdc7d2;padding-left:24px;color:#102541}.mgf-mast aside a{font-weight:800;color:inherit}.mgf-mast input,.mgf-mast button{padding:10px;border:1px solid #aebbc9}.mgf-mast button{background:#102541;color:white}.mgf-portal{max-width:1440px;margin:auto;padding:24px 4vw 55px}.mgf-edition{display:flex;justify-content:space-between;color:#536579;font-size:12px;letter-spacing:1px;padding-bottom:14px;border-bottom:1px solid #d0d7df}.mgf-feature{display:grid;grid-template-columns:2fr 1fr;gap:20px;margin:20px 0 42px}.mgf-cover{min-height:430px;background:linear-gradient(0deg,rgba(5,19,35,.97),rgba(5,19,35,.15)),url('/qelebe-2022.jpg') center/cover;display:flex;align-items:flex-end;padding:40px;color:#fff!important;text-decoration:none;border-radius:5px}.mgf-cover h1{font-size:clamp(32px,5vw,62px);line-height:1.06;margin:12px 0}.mgf-cover small,.mgf-heading small{color:#a47c32;font-weight:800;letter-spacing:2px}.mgf-cover b{color:#e8cc8b}.mgf-latest{background:#102541;color:white;padding:24px;border-top:5px solid #c6a15b}.mgf-latest h2{font-size:24px;margin:0 0 14px}.mgf-latest a{display:block;color:white;text-decoration:none;padding:16px 0;border-top:1px solid #ffffff30}.mgf-latest small{display:block;color:#d7bf88}.mgf-heading{display:flex;align-items:end;justify-content:space-between;margin:32px 0 18px;border-bottom:2px solid #b89b57;padding-bottom:12px}.mgf-heading h2{margin:5px 0;font-size:clamp(26px,3vw,40px);color:#102541}.mgf-scroll{display:flex;gap:16px;overflow-x:auto;scroll-snap-type:x mandatory;padding:4px 0 20px}.mgf-person{flex:0 0 230px;scroll-snap-align:start;background:#102541;color:white!important;text-decoration:none;padding:16px;border-bottom:4px solid #b89b57;transition:transform .2s}.mgf-person:hover{transform:translateY(-4px)}.mgf-person img,.mgf-initial{width:100%;height:200px;object-fit:cover}.mgf-initial{display:grid;place-items:center;font-size:80px;background:linear-gradient(145deg,#344a60,#081b30);color:#d7bf88}.mgf-person strong,.mgf-person span{display:block;margin-top:10px}.mgf-person span{font-size:12px;color:#d7bf88}.mgf-topics{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.mgf-topics a{display:flex;justify-content:space-between;background:#edf1f5;padding:24px;color:#102541;text-decoration:none;border-left:4px solid #b89b57}@media(max-width:800px){.mgf-mast{gap:12px;flex-wrap:wrap}.mgf-emblem img{width:100px;height:100px}.mgf-mast aside{width:100%;border:0;padding:0}.mgf-feature{grid-template-columns:1fr}.mgf-cover{min-height:330px;padding:22px}.mgf-topics{grid-template-columns:1fr 1fr}.mgf-edition span:last-child{display:none}}
body,button,input,select,textarea,h1,h2,h3,h4,h5,h6,.wp-block-navigation,.mgf-name strong{font-family:Arial,"DejaVu Sans",sans-serif!important;letter-spacing:normal}.mgf-person img{object-fit:contain!important;object-position:center center!important;background:#e8e4dc;height:260px!important}.wp-block-post-featured-image img{object-fit:contain!important;max-height:650px;width:auto;max-width:100%;margin:auto;display:block}.mgf-scroll{scroll-behavior:smooth}.mgf-person{flex-basis:250px}.mgf-person:hover{transform:translateY(-3px)}
html body,html body *:not(svg):not(path):not(code):not(pre){font-family:Tahoma,"DejaVu Sans",Arial,sans-serif!important;letter-spacing:normal!important} .wp-block-post-content p{line-height:1.85}.mgf-person img{object-fit:contain!important}
html body .mgf-name strong{font-family:Tahoma,"DejaVu Sans",sans-serif!important;font-weight:700!important;letter-spacing:0!important;font-size:clamp(25px,4vw,50px)}.mgf-article{padding:36px 20px 60px!important}.mgf-article h1{font-weight:700;font-size:clamp(28px,4vw,44px);margin:0 0 24px}.mgf-article .wp-block-post-featured-image img{width:auto!important;max-width:100%;height:auto!important;object-fit:contain!important}.mgf-article p{font-size:17px;line-height:1.85}.wp-block-post-author,.wp-block-post-author-name,.wp-block-post-terms{display:none!important}.mgf-navbar .wp-block-navigation__container{flex-wrap:wrap!important;justify-content:center}.mgf-mast{box-sizing:border-box;max-width:100%;flex-wrap:wrap}

/* Heritage portrait medallions */
.mgf-scroll .mgf-person{box-sizing:border-box;flex:0 0 240px;text-align:center;background:linear-gradient(160deg,#fff,#f4f0e7);color:#102541!important;border:1px solid #dfd6c3;border-radius:20px;padding:22px 14px;box-shadow:0 5px 15px #10254112}
.mgf-scroll .mgf-person img,.mgf-scroll .mgf-initial{display:block;width:164px!important;height:204px!important;margin:0 auto 16px;border-radius:50%;border:3px solid #b89b57;box-sizing:border-box;outline:1px solid #d9c59b;outline-offset:5px;background:#e8e5de;object-fit:cover!important;object-position:center 15%!important}
.mgf-scroll .mgf-person[href*="aydin-ibrahimov"] img{object-fit:contain!important;object-position:center!important}
.mgf-scroll .mgf-initial{display:grid;place-items:center;color:#8b662b}
.mgf-scroll .mgf-person strong{font-size:17px;line-height:1.4;color:#102541}
.mgf-scroll .mgf-person span{color:#846329;font-size:13px}
.mgf-scroll .mgf-person:hover{box-shadow:0 8px 22px #10254125}

.mgf-scroll .mgf-person[href*="aydin-ibrahimov"] img{object-fit:cover!important;object-position:center 15%!important}

/* Uncropped heritage portraits */
html body .mgf-scroll .mgf-person img{display:block!important;width:180px!important;height:230px!important;object-fit:contain!important;object-position:center!important;border-radius:14px!important;background:#e8e5de!important;border:2px solid #b89b57!important;outline:none!important;padding:6px!important;box-sizing:border-box!important}
html body .mgf-scroll .mgf-person{height:auto!important;overflow:visible!important;white-space:normal!important}
html body .mgf-scroll .mgf-person strong,html body .mgf-scroll .mgf-person span{white-space:normal!important;overflow:visible!important;line-height:1.5!important;height:auto!important;max-height:none!important}

html body .mgf-scroll{align-items:stretch!important;gap:16px!important}
html body .mgf-scroll .mgf-person{display:flex!important;flex-direction:column!important;align-items:center!important;flex:0 0 224px!important;padding:16px!important;gap:12px!important;box-sizing:border-box!important;border-radius:12px!important;background:#fff!important;border:1px solid #ddd5c5!important}
html body .mgf-scroll .mgf-person img,html body .mgf-scroll .mgf-person .mgf-initial{width:190px!important;height:230px!important;flex:0 0 230px!important;box-sizing:border-box!important;border:1px solid #b89b57!important;border-radius:8px!important;outline:none!important;padding:0!important;margin:0!important;background:#e8e5de!important;object-fit:cover!important;object-position:center 18%!important}
html body .mgf-scroll .mgf-person .mgf-initial{display:grid!important;place-items:center!important;font-size:64px!important}
html body .mgf-scroll .mgf-person strong{display:flex!important;align-items:center!important;justify-content:center!important;min-height:52px!important;margin:0!important;font-size:16px!important;text-align:center!important}
html body .mgf-scroll .mgf-person span{margin:0!important;font-size:12px!important}
.mgf-champion-photo{margin:24px auto 36px!important;padding:18px;background:#f6f3ec;border:1px solid #d9c9a6;border-radius:12px;text-align:center}.mgf-champion-photo img{display:block;width:auto;max-width:100%;max-height:680px;height:auto;margin:auto;object-fit:contain}.mgf-champion-photo figcaption{font-size:15px;line-height:1.6;color:#58472d;margin-top:14px}.mgf-article{background:#fff;border-top:3px solid #b89b57}.mgf-article h2{color:#102541;border-bottom:1px solid #d9c9a6;padding-bottom:10px;margin-top:32px}

.mgf-triad,.mgf-newsgrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.mgf-triad a{position:relative;overflow:hidden;display:block;padding:30px 24px;min-height:190px;background:linear-gradient(145deg,#102541,#23465a);border-radius:12px;color:#fff!important;text-decoration:none;border-bottom:4px solid #c6a15b}.mgf-triad a:nth-child(2){background:linear-gradient(145deg,#56351f,#986b37)}.mgf-triad a:nth-child(3){background:linear-gradient(145deg,#173d36,#376855)}.mgf-triad span{color:#e2c78e;font-size:32px;font-weight:bold}.mgf-triad h2{font-size:28px;margin:10px 0}.mgf-triad p{color:#fff;margin:0 0 18px}.mgf-newsgrid article{min-width:0;background:#fff;border:1px solid #ded8cc;border-radius:12px;overflow:hidden;box-shadow:0 5px 18px #1025410c}.mgf-newsgrid a{display:block;text-decoration:none;color:#102541!important}.mgf-newsgrid img,.mgf-topic-art{width:100%;height:185px;object-fit:cover;display:block}.mgf-topic-art{display:grid;place-items:center;background:repeating-linear-gradient(135deg,#102541,#102541 18px,#17334d 18px,#17334d 36px);color:#c6a15b;font-size:48px}.mgf-newsbody{padding:18px}.mgf-newsbody h3{font-size:20px;line-height:1.4;margin:8px 0}.mgf-newsbody small{color:#86652e}.mgf-newsbody p{font-size:14px;line-height:1.6;color:#465467}.mgf-portal,.mgf-mast,.mgf-cover{box-sizing:border-box}.mgf-feature>*{min-width:0}
@media(max-width:700px){.mgf-triad,.mgf-newsgrid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.mgf-portal{padding:16px 12px 36px}.mgf-mast{padding:12px;gap:10px}.mgf-emblem img{width:76px;height:76px}.mgf-name strong{font-size:22px!important}.mgf-name small{font-size:11px}.mgf-mast aside{display:none}.mgf-topline{padding:8px 12px;font-size:10px}.mgf-cover{min-height:290px}.mgf-cover h1{font-size:32px}.mgf-heading{align-items:center;gap:10px}.mgf-heading h2{font-size:24px}.mgf-heading>a{font-size:12px}.mgf-triad a{padding:18px 14px;min-height:150px}.mgf-triad h2{font-size:22px}.mgf-newsbody{padding:12px}.mgf-newsbody h3{font-size:16px}.mgf-newsgrid img,.mgf-topic-art{height:130px}.mgf-topics a{padding:14px}.mgf-latest{padding:18px}.mgf-navbar{padding:10px!important}}
@media(max-width:380px){.mgf-triad,.mgf-newsgrid{grid-template-columns:1fr}.mgf-name strong{font-size:19px!important}}

/* Consistent uncropped editorial media */
html body .mgf-scroll .mgf-person img{object-fit:contain!important;object-position:center!important;background:#e9e5dd!important;width:100%!important;height:auto!important;aspect-ratio:4/5;flex:none!important}
html body .mgf-newsgrid article img{width:100%;height:auto;aspect-ratio:16/9;object-fit:contain!important;object-position:center;background:#e9e5dd}
html body .wp-block-post-featured-image img{object-fit:contain!important;object-position:center!important}
.mgf-newsgrid{grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.mgf-newsgrid article{border-radius:8px;transition:box-shadow .2s}.mgf-newsgrid article:hover{box-shadow:0 8px 24px #10254122}.mgf-newsbody h3{font-size:clamp(16px,1.6vw,22px)}.mgf-cover{background-position:center;background-size:cover}
@media(max-width:700px){.mgf-newsgrid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.mgf-newsbody{padding:10px}.mgf-newsbody h3{font-size:16px;overflow-wrap:anywhere}.mgf-scroll .mgf-person{flex-basis:170px!important}.mgf-feature{margin-bottom:24px}.mgf-heading{flex-wrap:wrap}}
@media(max-width:380px){.mgf-newsgrid{grid-template-columns:1fr}}

/* Heritage editorial redesign */
:root{--mgf-navy:#102b3c;--mgf-gold:#b18a49;--mgf-paper:#f5f3ee}
html body{background:#f5f3ee;color:#203342}
html body h1,html body h2,html body .mgf-name strong{font-family:Georgia,"DejaVu Serif",serif!important;letter-spacing:-.025em!important}
.mgf-topline{background:#102b3c;color:#f3e5c8;padding:9px max(4vw,20px)}
.mgf-mast{background:#fffdf8;border-bottom:0;padding:24px max(4vw,20px);gap:24px}
.mgf-emblem img{width:112px;height:112px}
.mgf-name span{color:#78623e}
.mgf-navbar{background:#102b3c;border-bottom:3px solid #b18a49;padding:14px 20px!important}
.mgf-navbar a:hover{color:#f0d29a!important}
.mgf-portal{max-width:1320px;padding:24px 32px 64px}
.mgf-edition{border-bottom:1px solid #d7cbb5;color:#75674e}
.mgf-feature{gap:24px;grid-template-columns:1.85fr 1fr}
.mgf-cover{border-radius:18px;min-height:460px;box-shadow:0 12px 32px #102b3c20;background-image:linear-gradient(0deg,#071c2aef 0%,#071c2a50 60%,#071c2a10),url('/qelebe-2022.jpg')}
.mgf-cover h1{color:white!important;text-shadow:0 2px 10px #0005}
.mgf-latest{border-radius:18px;background:#102b3c;padding:28px;border-top:4px solid #b18a49}
.mgf-latest h2{color:#fff!important}
.mgf-latest a:hover{color:#f1d4a1}
.mgf-heading{border-bottom:1px solid #cbb995;margin:44px 0 22px;padding-bottom:14px}
.mgf-heading h2{color:#102b3c;font-size:clamp(27px,3vw,42px)}
.mgf-heading small{color:#8c6835}
html body .mgf-scroll .mgf-person{border-radius:16px!important;border:1px solid #ded6c6!important;background:#fffdf9!important;box-shadow:0 5px 18px #102b3c0c;padding:14px!important;flex-basis:218px!important}
html body .mgf-scroll .mgf-person img{border:0!important;border-radius:10px!important;background:#ede9df!important}
.mgf-triad a{border-radius:16px;background:linear-gradient(145deg,#102b3c,#245267);min-height:165px}
.mgf-triad a:nth-child(2){background:linear-gradient(145deg,#62472d,#98703d)}
.mgf-triad a:nth-child(3){background:linear-gradient(145deg,#193e37,#376858)}
.mgf-triad h2{color:white!important}
.mgf-newsgrid article{border:1px solid #e0d8ca;border-radius:16px;background:#fffdf9;box-shadow:0 5px 20px #102b3c0a;transition:transform .2s,box-shadow .2s}
.mgf-newsgrid article:hover{transform:translateY(-3px);box-shadow:0 12px 26px #102b3c18}
.mgf-newsgrid .mgf-topic-art{display:none!important}
.mgf-newsgrid article:not(:has(img)){border-top:3px solid #b18a49}
.mgf-newsbody{padding:22px}
.mgf-newsbody h3{font-family:Georgia,"DejaVu Serif",serif!important;font-size:22px;line-height:1.35}
.mgf-newsbody small{color:#856632}
.mgf-newsbody p{color:#53616b}
.mgf-article{border:1px solid #e1d9c9;border-top:4px solid #b18a49;border-radius:14px;background:#fffdf9;padding:clamp(20px,4vw,54px)!important}
.mgf-article p{line-height:1.85}
.mgf-footer{background:#102b3c}
a:focus-visible,button:focus-visible{outline:3px solid #b18a49;outline-offset:4px}
@media(max-width:800px){.mgf-feature{grid-template-columns:1fr}.mgf-portal{padding:16px 14px 36px}.mgf-cover{min-height:340px;padding:24px}.mgf-mast{padding:14px;gap:12px}.mgf-emblem img{width:76px;height:76px}.mgf-newsbody{padding:14px}.mgf-newsbody h3{font-size:18px}.mgf-heading{margin-top:30px}.mgf-latest{padding:20px}}
@media(max-width:480px){.mgf-newsgrid,.mgf-triad{grid-template-columns:1fr}.mgf-cover{min-height:300px}.mgf-cover h1{font-size:30px}.mgf-newsgrid article img{aspect-ratio:16/9}.mgf-topline{letter-spacing:0}}
@media(prefers-reduced-motion:reduce){.mgf-newsgrid article,.mgf-person{transition:none!important}.mgf-scroll{scroll-behavior:auto}}
.mgf-national{position:relative;isolation:isolate;overflow:hidden;display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:36px;min-height:480px;padding:clamp(24px,5vw,76px);background:#081e31;color:white;border-bottom:4px solid #c8a56a;box-sizing:border-box}
.mgf-flag{position:absolute;inset:-15%;z-index:-1;opacity:.26;animation:mgf-wave 9s ease-in-out infinite alternate;transform-origin:left center}.mgf-flag svg{width:100%;height:100%;object-fit:cover;filter:drop-shadow(20px 0 24px #000)}@keyframes mgf-wave{0%{transform:scale(1.1) skewY(-3deg)}100%{transform:scale(1.25) skewY(4deg) translateX(2%)}}
.mgf-national-copy h1{display:block!important;font-size:clamp(38px,5vw,75px);line-height:1.04;color:white!important;margin:20px 0}.mgf-national-copy small{color:#f0d69f;font-weight:bold;letter-spacing:2px!important}.mgf-national-copy p{color:white;font-size:18px;line-height:1.6}.mgf-national-copy a,.mgf-worldheritage a{display:inline-block;padding:12px 20px;background:#c8a56a;color:#102b3c!important;text-decoration:none;font-weight:bold;border-radius:5px;margin:8px 8px 0 0}.mgf-national-photos{display:grid;grid-template-columns:1fr 1fr;gap:12px;transform:rotate(-2deg)}.mgf-national-photos figure{min-width:0;margin:0;background:#102b3c;border:1px solid #e6c78a;border-radius:10px;overflow:hidden;box-shadow:0 12px 30px #0005;animation:mgf-float 6s ease-in-out infinite alternate}.mgf-national-photos figure:nth-child(even){animation-delay:-3s}.mgf-national-photos img{width:100%;height:165px;object-fit:cover;display:block}.mgf-national-photos figcaption{font-size:12px;padding:8px;color:white}@keyframes mgf-float{to{transform:translateY(-10px)}}.mgf-worldheritage{background:#123449;color:white;padding:40px;text-align:center}.mgf-worldheritage h2{color:white!important}.mgf-worldheritage p{color:#e5edf0}@media(max-width:760px){.mgf-national{grid-template-columns:1fr;min-height:0;gap:24px}.mgf-national-photos img{height:125px}.mgf-national-photos{transform:none}}@media(prefers-reduced-motion:reduce){.mgf-flag,.mgf-national-photos figure{animation:none}}
html body .mgf-national{min-height: min(740px,85vh);max-width:none;grid-template-columns:1.05fr 1fr;padding:clamp(30px,6vw,100px);gap:clamp(24px,5vw,70px);background:#071c2b}
html body .mgf-flag{inset:0;opacity:.60;animation:none;transform:none;overflow:hidden}
.mgf-flag canvas{width:100%;height:100%;display:block}
.mgf-national:after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#061929e8 0%,#0619299c 45%,#06192933 100%);pointer-events:none}
.mgf-national-copy h1{font-size:clamp(40px,6vw,88px);text-shadow:0 4px 24px #0008}
.mgf-national-photos{gap:18px;transform:none}.mgf-national-photos figure{border-radius:18px;border:1px solid #ffffff65;box-shadow:0 20px 40px #0006}.mgf-national-photos img{height:clamp(135px,16vw,245px);object-fit:contain;background:#102b3c}.mgf-national-photos figcaption{padding:12px;line-height:1.45}
.mgf-grand-discover{max-width:1320px;margin:0 auto;padding:20px 32px 50px}.mgf-grand-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.mgf-grand-cards a{position:relative;isolation:isolate;overflow:hidden;min-height:340px;border-radius:18px;display:flex;align-items:flex-end;color:white!important;text-decoration:none;background:#102b3c;box-shadow:0 12px 28px #102b3c30}.mgf-grand-cards img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2;transition:transform .6s}.mgf-grand-cards a:after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,#071a2bf5,#071a2b20);z-index:-1}.mgf-grand-cards a:hover img{transform:scale(1.08)}.mgf-grand-cards a>div{padding:22px}.mgf-grand-cards h3{font-size:26px;color:white!important;margin:10px 0}.mgf-grand-cards small,.mgf-grand-cards b{color:#f1d29a}.mgf-grand-cards p{font-size:14px;line-height:1.5}
@media(max-width:850px){html body .mgf-national{grid-template-columns:1fr;min-height:0;padding:30px 20px}.mgf-grand-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.mgf-grand-discover{padding:12px 14px 30px}}@media(max-width:480px){.mgf-grand-cards{gap:10px}.mgf-grand-cards a{min-height:250px}.mgf-grand-cards a>div{padding:12px}.mgf-grand-cards h3{font-size:19px}.mgf-grand-cards p{font-size:12px}}
@media(prefers-reduced-motion:reduce){.mgf-grand-cards img{transition:none}}

/* Full flag, original compact photo-card composition */
html body .mgf-national{min-height:480px;grid-template-columns:1fr 1fr;padding:clamp(24px,4vw,64px);gap:36px}
html body .mgf-flag{inset:0;display:flex;align-items:center;justify-content:center;opacity:.76}
.mgf-flag canvas,.mgf-flag svg{width:100%;height:auto;aspect-ratio:2/1;max-height:100%;object-fit:contain}
.mgf-national:after{background:linear-gradient(90deg,#061929e0,#06192980 48%,#06192930)}
.mgf-national-copy h1{font-size:clamp(38px,5vw,75px)}
.mgf-national-photos{gap:12px;transform:rotate(-2deg)}
.mgf-national-photos figure{border-radius:10px;border:1px solid #e6c78a}
.mgf-national-photos img{height:165px;object-fit:contain}
.mgf-grand-cards a{min-height:270px;border-radius:12px}
@media(max-width:760px){html body .mgf-national{grid-template-columns:1fr;min-height:0;padding:24px 16px}.mgf-national-photos{transform:none}.mgf-national-photos img{height:125px}.mgf-flag{align-items:flex-start!important}.mgf-grand-cards a{min-height:230px}}

/* Complete flag silhouette behind the original angled editorial cards */
html body .mgf-national{min-height:560px;overflow:hidden;grid-template-columns:1fr 1fr;gap:36px;background:#0b2538}
html body .mgf-flag{inset:12px 3%;opacity:.88;display:flex;align-items:center;justify-content:center}
html body .mgf-flag canvas{width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain;aspect-ratio:auto}
html body .mgf-flag svg{width:100%;height:100%;object-fit:contain}
.mgf-national:after{background:linear-gradient(90deg,#071a2bba 0%,#071a2b45 50%,#071a2b24 100%)}
.mgf-national-copy{position:relative;z-index:1;text-shadow:0 2px 12px #061522}
.mgf-national-copy p{max-width:520px}
.mgf-national-photos{transform:rotate(-3deg);gap:16px}
.mgf-national-photos figure{background:#102b3cf5;border:1px solid #e6c78a;box-shadow:0 14px 30px #0006}
@media(max-width:760px){html body .mgf-national{grid-template-columns:1fr;min-height:0;gap:24px}.mgf-national-photos{transform:rotate(-1deg)}html body .mgf-flag{inset:0 8px;align-items:flex-start!important}.mgf-flag canvas{max-height:330px!important}.mgf-national:after{background:linear-gradient(180deg,#071a2b70,#071a2b30 40%,#071a2be0)}}

/* Shadiman original flag watermark, adapted to the federation hero */
html body .mgf-flag{position:absolute;inset:9% 5%;width:auto;height:auto;opacity:.72;display:block;overflow:hidden;border-radius:10% 18% 13% 9% / 10% 12% 15% 12%;background:linear-gradient(114deg,#15152280 3%,transparent 23%,#fff3db58 40%,#0b18299e 53%,transparent 68%,#0b182967 91%),linear-gradient(180deg,#3babcf 0 33.333%,#c65065 33.333% 66.666%,#4d9c6b 66.666%);background-size:170% 100%,100% 100%;box-shadow:inset 0 -23px 62px #09192673,0 0 70px #05182070;transform-origin:50% 50%;animation:mgf-shadiman-sway 13s ease-in-out infinite alternate}
html body .mgf-flag svg,html body .mgf-flag canvas{display:none!important}
.mgf-flag:before{content:"";position:absolute;width:13%;aspect-ratio:1;top:50%;left:42.9%;transform:translateY(-50%);background:#fff4de;border-radius:50%;mask-image:radial-gradient(circle at 69% 48%,transparent 0 43%,#000 44%)}
.mgf-flag:after{content:"";position:absolute;width:7%;aspect-ratio:1;top:50%;left:54%;transform:translateY(-50%);background:#fff4de;clip-path:polygon(50% 0,59% 27%,85% 15%,73% 41%,100% 50%,73% 59%,85% 85%,59% 73%,50% 100%,41% 73%,15% 85%,27% 59%,0 50%,27% 41%,15% 15%,41% 27%)}
@keyframes mgf-shadiman-sway{from{transform:perspective(950px) rotate(-4deg) rotateY(-9deg) skewY(-2deg);background-position:2% 50%,0 0}to{transform:perspective(950px) rotate(-2deg) rotateY(7deg) skewY(2deg);background-position:93% 50%,0 0}}
.mgf-national:after{background:linear-gradient(90deg,#071a2b9c,#071a2b28 55%,#071a2b22)}
@media(max-width:760px){html body .mgf-flag{inset:20px 5% auto;height:auto;aspect-ratio:2;max-height:none}.mgf-national:after{background:linear-gradient(180deg,#071a2b60,#071a2b20 40%,#071a2bba)}}
@media(prefers-reduced-motion:reduce){html body .mgf-flag{animation:none}}

/* Tricolour sky: animated soft cloud fields, not a rectangular flag */
html body .mgf-national{background:#102c49}
html body .mgf-flag{inset:0;width:auto;height:auto;aspect-ratio:auto;max-height:none;border-radius:0;opacity:1;transform:none;animation:none;box-shadow:none;overflow:hidden;background:
radial-gradient(ellipse at 12% 15%,#72b9ff 0%,transparent 43%),
radial-gradient(ellipse at 82% 8%,#e93148 0%,transparent 48%),
radial-gradient(ellipse at 85% 90%,#65bf79 0%,transparent 47%),
linear-gradient(125deg,#1756a0 12%,#a52136 51%,#226c48 88%);background-size:140% 140%;animation:mgf-sky-drift 18s ease-in-out infinite alternate}
html body .mgf-flag:before{width:100%;height:100%;aspect-ratio:auto;inset:0;transform:none;border-radius:0;mask-image:none;background:
radial-gradient(ellipse at 8% 35%,#c1ddff66 0%,transparent 26%),
radial-gradient(ellipse at 30% 5%,#8bbdff88 0%,transparent 31%),
radial-gradient(ellipse at 68% 20%,#ff8d8266 0%,transparent 29%),
radial-gradient(ellipse at 90% 75%,#b5efab88 0%,transparent 29%),
radial-gradient(ellipse at 57% 98%,#a1e5ad66 0%,transparent 27%);filter:blur(18px);animation:mgf-cloud-drift 13s ease-in-out infinite alternate}
html body .mgf-flag:after{display:none}
html body .mgf-flag svg{display:block!important;position:absolute;width:160px;height:160px;top:50%;left:51%;transform:translate(-50%,-50%);overflow:visible;opacity:.55;filter:drop-shadow(0 0 18px #fff8)}
.mgf-flag svg path:nth-child(-n+3),.mgf-flag svg circle:nth-of-type(2){display:none}
.mgf-flag svg circle:first-of-type{mask:none;fill:none;stroke:#fff;stroke-width:13;stroke-dasharray:200 83;transform:rotate(38deg);transform-origin:280px 150px}
.mgf-national:after{background:linear-gradient(90deg,#071a2bc9 0%,#071a2b55 48%,#071a2b28 100%)}
@keyframes mgf-sky-drift{from{background-position:0% 15%}to{background-position:100% 85%}}
@keyframes mgf-cloud-drift{from{transform:translate(-3%,-2%) scale(1.05)}to{transform:translate(4%,3%) scale(1.18)}}
@media(max-width:760px){html body .mgf-flag{inset:0;height:auto;aspect-ratio:auto}.mgf-national:after{background:linear-gradient(180deg,#071a2b80,#071a2b30 45%,#071a2b80)}}
@media(prefers-reduced-motion:reduce){html body .mgf-flag,html body .mgf-flag:before{animation:none}}
html body .mgf-flag svg circle:first-of-type{fill:white;stroke:none;transform:none;mask:url(#mgf-crescent-mask)}
html body .mgf-flag svg{width:clamp(110px,15vw,220px);height:auto;aspect-ratio:1;left:49%;top:48%}

/* Ambient national colours: blue above, red centre, green below */
html body .mgf-flag{inset:0;opacity:1;transform:none;animation:none;background:linear-gradient(180deg,#123b70 0%,#204b85 18%,#76243d 43%,#8c293c 55%,#245b48 80%,#123e35 100%);background-size:100% 100%}
html body .mgf-flag svg,html body .mgf-flag canvas{display:none!important}
html body .mgf-flag:before,html body .mgf-flag:after{content:"";display:block;position:absolute;inset:-10% -25%;width:auto;height:auto;aspect-ratio:auto;mask-image:none;clip-path:none;border-radius:0;transform:none;pointer-events:none}
html body .mgf-flag:before{background:radial-gradient(ellipse 32% 18% at 28% 20%,#65b9ffb0,transparent 100%),radial-gradient(ellipse 38% 17% at 70% 50%,#ff637a9c,transparent 100%),radial-gradient(ellipse 35% 18% at 35% 82%,#65e6a38c,transparent 100%);filter:blur(32px);animation:mgf-ambient-left 12s ease-in-out infinite alternate}
html body .mgf-flag:after{background:radial-gradient(ellipse 24% 15% at 76% 19%,#9ed9ff80,transparent 100%),radial-gradient(ellipse 28% 14% at 22% 49%,#ff9b8e70,transparent 100%),radial-gradient(ellipse 30% 15% at 78% 82%,#a1ffd17a,transparent 100%);filter:blur(45px);animation:mgf-ambient-right 17s ease-in-out infinite alternate}
@keyframes mgf-ambient-left{from{transform:translateX(-13%);opacity:.65}to{transform:translateX(13%);opacity:1}}
@keyframes mgf-ambient-right{from{transform:translateX(14%);opacity:.85}to{transform:translateX(-14%);opacity:.45}}
.mgf-national:after{background:linear-gradient(90deg,#071a2b95,#071a2b30 65%,#071a2b20)}
@media(prefers-reduced-motion:reduce){html body .mgf-flag:before,html body .mgf-flag:after{animation:none}}

/* Luminous national spectrum */
html body .mgf-flag{background:linear-gradient(180deg,#0877c7 0%,#129ce8 23%,#d51d39 39%,#ef3044 58%,#168c50 77%,#08723b 100%);isolation:isolate}
html body .mgf-flag:before{inset:-20%;background:radial-gradient(ellipse at 25% 18%,#fff 0%,#b7e9ffbb 5%,#57c7ff88 13%,transparent 31%),radial-gradient(ellipse at 65% 50%,#fff5d9dd 0%,#ffb49b99 7%,#ff576c66 18%,transparent 35%),radial-gradient(ellipse at 35% 82%,#e5ffe6ee 0%,#9affc3aa 8%,#41df7866 20%,transparent 35%);filter:blur(13px);mix-blend-mode:screen;animation:mgf-solar-glow 9s ease-in-out infinite alternate}
html body .mgf-flag:after{inset:-45%;background:linear-gradient(112deg,transparent 25%,#fff0 38%,#fff5 43%,#fffde5b0 46%,#ffffff18 49%,transparent 55%),repeating-linear-gradient(105deg,transparent 0 9%,#fff2 10%,transparent 12% 19%);filter:blur(5px);mix-blend-mode:screen;animation:mgf-sun-sweep 11s ease-in-out infinite}
@keyframes mgf-solar-glow{0%{transform:translateX(-13%) scale(1);opacity:.7}100%{transform:translateX(13%) scale(1.08);opacity:1}}
@keyframes mgf-sun-sweep{0%{transform:translateX(-28%);opacity:.25}45%{opacity:.95}100%{transform:translateX(28%);opacity:.25}}
.mgf-national:after{background:linear-gradient(90deg,#061a2eae 0%,#061a2e50 42%,#061a2e12 100%)}
.mgf-national-copy{text-shadow:0 2px 8px #071a2b,0 0 24px #071a2b80}
@media(prefers-reduced-motion:reduce){html body .mgf-flag:before,html body .mgf-flag:after{animation:none}}

/* Refined federation masthead and luminous opening */
html body .mgf-topline{background:#081f33;color:#e6d5b3;padding:9px max(5vw,20px);border-bottom:1px solid #ffffff20}
html body .mgf-mast{position:relative;background:radial-gradient(ellipse at 12% 0%,#e6f4ff,transparent 48%),radial-gradient(ellipse at 90% 100%,#e3f2e7,transparent 42%),#fffdf9;padding:24px max(5vw,20px);gap:28px;box-shadow:inset 0 -1px #d5c29b}
.mgf-mast:after{content:"";position:absolute;bottom:0;left:0;right:0;height:4px;background:linear-gradient(90deg,#009cdb 0 33.333%,#ed2939 33.333% 66.666%,#3f9c35 66.666%)}
.mgf-emblem img{filter:drop-shadow(0 5px 9px #102b3c24)}
html body .mgf-name strong{color:#102b3c;font-size:clamp(26px,3.6vw,48px);line-height:1.12}
.mgf-name small{color:#527088;font-weight:700;letter-spacing:.18em!important}
.mgf-name span{color:#87652d;font-weight:600}
.mgf-mast input{border-radius:6px 0 0 6px;background:#fff;border-color:#c6d0d8}
.mgf-mast button{border-radius:0 6px 6px 0;background:#12374e}
html body .mgf-navbar{background:linear-gradient(100deg,#081f33,#17445b 55%,#081f33);border-bottom:1px solid #d8b36c;padding:15px 20px!important;box-shadow:0 5px 18px #061b3030}
.mgf-navbar .wp-block-navigation-item__content{padding:6px 8px;transition:color .2s}
.mgf-navbar .current-menu-item>a{color:#f4d18d!important}
html body .mgf-national{border-bottom:4px solid #d8b36c;min-height:520px}
.mgf-national-copy small{display:inline-block;padding:8px 12px;border:1px solid #ffffff60;background:#102b3c55;border-radius:4px;color:#fff3d6}
.mgf-national-copy h1{line-height:1.06;text-shadow:0 3px 12px #071a2b90,0 0 38px #ffffff20}
.mgf-national-copy a{background:linear-gradient(125deg,#f2d49a,#bd914b);box-shadow:0 5px 18px #0003;border:1px solid #f8dfa6}
.mgf-national-copy a:last-child{background:#102b3c65;color:#fff!important;border-color:#ffffff80}
.mgf-national-photos figure{border-color:#f1d29aaa;box-shadow:0 12px 30px #061b3066,0 0 18px #fff2}
.mgf-national-photos figcaption{background:linear-gradient(90deg,#102b3c,#193c4e);font-weight:600}
@media(max-width:760px){html body .mgf-mast{padding:14px;gap:12px}html body .mgf-national{min-height:0}.mgf-name small{letter-spacing:.08em!important}.mgf-national-copy small{font-size:10px}.mgf-navbar .wp-block-navigation-item__content{padding:4px}}

html body .mgf-name small{display:block;font-family:Georgia,"DejaVu Serif",serif!important;font-size:clamp(32px,5vw,70px)!important;font-weight:800;line-height:1.08;letter-spacing:.035em!important;color:#123b59;text-shadow:0 2px 0 #fff,0 5px 14px #123b5918;margin-bottom:8px}
html body .mgf-name strong{font-size:clamp(24px,3.3vw,45px)!important}
@media(max-width:760px){html body .mgf-name small{font-size:clamp(25px,7vw,42px)!important}html body .mgf-name strong{font-size:clamp(18px,4.6vw,29px)!important}}

/* Federation identity: balanced editorial masthead */
html body .mgf-mast{display:grid;grid-template-columns:minmax(145px,1fr) 105px minmax(300px,2.7fr) minmax(180px,1fr);gap:22px;align-items:center;padding:24px max(3vw,16px);background:radial-gradient(ellipse at 48% 10%,#fffdf6 0%,#f3f0e7 65%,#e4e9e7 100%)}
html body .mgf-name{text-align:center;min-width:0}
html body .mgf-name small{font-family:Georgia,"DejaVu Serif",serif!important;font-size:clamp(25px,3.2vw,48px)!important;letter-spacing:.12em!important;color:#153e55;margin-bottom:5px;text-shadow:none}
html body .mgf-name strong{font-family:Georgia,"DejaVu Serif",serif!important;font-size:clamp(24px,2.7vw,42px)!important;line-height:1.13;letter-spacing:.015em!important;color:#102b3c}
.mgf-name strong br{display:none}
.mgf-name span{display:flex;align-items:center;justify-content:center;gap:12px;font-size:12px;letter-spacing:.16em!important;text-transform:uppercase}
.mgf-name span:before,.mgf-name span:after{content:"";height:1px;width:32px;background:#b18a49}
.mgf-emblem img{width:105px;height:105px}
.mgf-mast-feature{min-width:0;overflow:hidden;border-left:3px solid #b18a49;padding-left:10px}
.mgf-mast-feature>small{display:block;font-size:10px;font-weight:bold;color:#80612f;margin-bottom:7px}
.mgf-mast-reel{height:94px;position:relative}
.mgf-mast-reel a{position:absolute;inset:0;display:flex;gap:8px;align-items:center;color:#102b3c;text-decoration:none;font-size:12px;font-weight:bold;line-height:1.35;opacity:0;animation:mgf-mast-cycle 18s infinite;pointer-events:none}
.mgf-mast-reel a:nth-child(2){animation-delay:6s}.mgf-mast-reel a:nth-child(3){animation-delay:12s}
.mgf-mast-reel img{width:64px;height:82px;object-fit:contain;background:#e6e0d3;border-radius:5px}
@keyframes mgf-mast-cycle{0%,30%{opacity:1;pointer-events:auto;transform:translateY(0)}33%,100%{opacity:0;pointer-events:none;transform:translateY(5px)}}
@media(max-width:1050px){html body .mgf-mast{grid-template-columns:85px 1fr 190px}.mgf-mast-feature{display:none}.mgf-emblem img{width:85px;height:85px}}
@media(max-width:760px){html body .mgf-mast{grid-template-columns:64px 1fr;gap:10px;padding:14px 10px}.mgf-emblem img{width:64px;height:64px}html body .mgf-name small{font-size:clamp(19px,5vw,30px)!important}html body .mgf-name strong{font-size:clamp(17px,4.4vw,27px)!important}.mgf-name span{font-size:9px}}
@media(prefers-reduced-motion:reduce){.mgf-mast-reel a{animation:none;display:none}.mgf-mast-reel a:first-child{display:flex;opacity:1;pointer-events:auto}}

/* Left-aligned identity, right-hand vertical editorial banner */
html body .mgf-mast{grid-template-columns:112px minmax(280px,1.8fr) minmax(200px,1fr) minmax(180px,.85fr);gap:22px}
.mgf-mast .mgf-emblem{grid-column:1;grid-row:1}
html body .mgf-mast .mgf-name{grid-column:2;grid-row:1;text-align:left}
.mgf-name span{justify-content:flex-start}
.mgf-name span:before{display:none}
.mgf-mast .mgf-mast-feature{grid-column:3;grid-row:1;display:block;background:linear-gradient(135deg,#102b3c,#245369);border:1px solid #b18a49;border-radius:10px;padding:10px 12px;box-shadow:0 5px 16px #102b3c20}
.mgf-mast-feature>small{color:#f2d29a;letter-spacing:.08em!important;border-bottom:1px solid #ffffff30;padding-bottom:6px}
.mgf-mast-reel{height:82px;overflow:hidden}
.mgf-mast-reel a{color:#fff;animation:mgf-mast-rise 18s infinite;gap:10px}
.mgf-mast-reel a:nth-child(2){animation-delay:6s}.mgf-mast-reel a:nth-child(3){animation-delay:12s}
.mgf-mast-reel img{width:70px;height:76px;flex:none;border:1px solid #d5b77a}
@keyframes mgf-mast-rise{0%{opacity:0;transform:translateY(100%)}5%,27%{opacity:1;transform:translateY(0);pointer-events:auto}33%,100%{opacity:0;transform:translateY(-100%);pointer-events:none}}
.mgf-mast aside{grid-column:4;grid-row:1;border-left:1px solid #d8c8aa;padding-left:16px}
.mgf-mast aside>a{display:block;color:#153e55;font-size:13px;line-height:1.4}
.mgf-mast aside p{font-size:12px;color:#667784;margin:8px 0 12px}
.mgf-mast aside form{display:flex;max-width:100%}.mgf-mast aside input{min-width:0;width:100%}.mgf-mast aside button{flex:none}
@media(max-width:1100px){html body .mgf-mast{grid-template-columns:85px minmax(230px,1.5fr) minmax(180px,1fr)}.mgf-mast aside{display:none}.mgf-mast .mgf-mast-feature{display:block}}
@media(max-width:760px){html body .mgf-mast{grid-template-columns:64px 1fr;gap:12px}.mgf-mast .mgf-mast-feature{grid-column:1/-1;grid-row:2}.mgf-mast-reel{height:62px}.mgf-mast-reel img{height:58px;width:64px}}
@media(prefers-reduced-motion:reduce){.mgf-mast-reel a{animation:none!important}.mgf-mast-reel a:first-child{transform:none;opacity:1}}

html body .mgf-mast{grid-template-columns:155px minmax(280px,1.8fr) minmax(200px,1fr) minmax(180px,.85fr)}
html body .mgf-emblem img{width:150px;height:150px;max-width:100%;object-fit:contain}
html body .mgf-name strong br{display:block}
html body .mgf-name strong{word-spacing:.08em;line-height:1.12}
@media(max-width:1100px){html body .mgf-mast{grid-template-columns:115px minmax(230px,1.5fr) minmax(180px,1fr)}html body .mgf-emblem img{width:110px;height:110px}}
@media(max-width:760px){html body .mgf-mast{grid-template-columns:90px 1fr}html body .mgf-emblem img{width:88px;height:88px}}

/* National opening: luminous silk and editorial photo cards */
html body .mgf-national{position:relative;overflow:hidden;border:1px solid #d7b574;border-bottom:3px solid #d7b574;isolation:isolate}
html body .mgf-flag{background:linear-gradient(174deg,#063a75 0%,#008bd0 24%,#9f1637 39%,#e62e43 52%,#087b48 76%,#064a35 100%)}
html body .mgf-flag:before{inset:-30%;background:repeating-linear-gradient(112deg,transparent 0%,#ffffff08 7%,#fff6 11%,#ffffff0a 15%,#001b352b 21%,transparent 28%),radial-gradient(ellipse at 70% 22%,#e1f8ffbb,transparent 29%),radial-gradient(ellipse at 30% 51%,#ffd1a877,transparent 26%),radial-gradient(ellipse at 72% 80%,#b7ffcc99,transparent 30%);filter:blur(9px);animation:mgf-silk-light 14s ease-in-out infinite alternate}
html body .mgf-flag:after{inset:0;background:radial-gradient(ellipse 22% 2% at 15% 1%,#fff, #ffe0a5aa 45%,transparent 100%),radial-gradient(ellipse 25% 2% at 85% 99%,#fff,#ffe0a5aa 45%,transparent 100%),linear-gradient(90deg,#ffffff50,transparent 2%,transparent 98%,#ffffff50);filter:none;animation:mgf-edge-light 7s ease-in-out infinite alternate}
@keyframes mgf-silk-light{from{transform:translateX(-10%) skewY(-3deg)}to{transform:translateX(10%) skewY(3deg)}}
@keyframes mgf-edge-light{from{transform:scaleX(.9);opacity:.65}to{transform:scaleX(1.1);opacity:1}}
html body .mgf-national:after{background:linear-gradient(90deg,#06182fbd,#06182f40 48%,#06182f12 100%);pointer-events:none}
.mgf-national-photos{gap:14px!important;transform:rotate(-1.5deg)!important}
.mgf-national-photos figure{overflow:hidden;border:1px solid #f7e5b5!important;border-radius:12px!important;background:#102b3c;box-shadow:0 12px 30px #00152680!important;transition:transform .3s,box-shadow .3s}
.mgf-national-photos figure:hover{transform:translateY(-5px);box-shadow:0 15px 35px #00152690,0 0 18px #fff5!important}
.mgf-national-photos img{display:block;width:100%;aspect-ratio:16/10;object-fit:cover}
.mgf-national-photos figcaption{padding:10px 12px!important;font-size:13px;line-height:1.35}
.mgf-newsgrid article,.mgf-grand-discover a{border-radius:10px;overflow:hidden;box-shadow:0 4px 16px #102b3c12;transition:transform .25s,box-shadow .25s}
.mgf-newsgrid article:hover,.mgf-grand-discover a:hover{transform:translateY(-3px);box-shadow:0 9px 22px #102b3c24}
@media(max-width:760px){.mgf-national-photos{transform:none!important;gap:9px!important}.mgf-national-photos figcaption{font-size:11px;padding:7px!important}}
@media(prefers-reduced-motion:reduce){html body .mgf-flag:before,html body .mgf-flag:after{animation:none}}

/* Consistent editorial cards throughout the portal */
.mgf-newsgrid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px!important;align-items:stretch}
.mgf-newsgrid article{min-width:0;background:#fff;border:1px solid #e0e5e7;border-radius:14px;overflow:hidden}
.mgf-newsgrid article>a{display:flex;flex-direction:column;height:100%;text-decoration:none}
html body .mgf-newsgrid article img{display:block;width:100%!important;height:auto!important;aspect-ratio:16/9!important;object-fit:contain!important;background:#e9edf0;transition:transform .4s}
.mgf-newsgrid article:hover img{transform:scale(1.035)}
.mgf-newsbody{flex:1;padding:15px!important}
.mgf-newsbody h3{font-size:18px;line-height:1.35;margin:7px 0}
.mgf-newsbody p{font-size:14px;line-height:1.5}
.mgf-scroll .mgf-person{overflow:hidden;border-radius:12px;transition:transform .25s,box-shadow .25s}
html body .mgf-scroll .mgf-person img{width:100%;height:auto;aspect-ratio:4/5;object-fit:contain;background:#e9edf0}
.mgf-person:hover,.mgf-topics a:hover,.mgf-triad a:hover{transform:translateY(-4px);box-shadow:0 10px 24px #102b3c22}
.mgf-topics a,.mgf-triad a{transition:transform .25s,box-shadow .25s}
.mgf-end-sections{padding-bottom:30px}
.mgf-heritage-motion{position:absolute;inset:0;background-size:cover;background-position:center;opacity:.19;mix-blend-mode:luminosity;animation:mgf-heritage-pan 25s ease-in-out infinite alternate}
@keyframes mgf-heritage-pan{from{transform:scale(1.03) translateX(-1%)}to{transform:scale(1.15) translateX(2%)}}
#mgf-backtop{position:fixed;right:22px;bottom:24px;z-index:9999;width:48px;height:48px;border-radius:50%;border:1px solid #e6c37e;background:#123b55;color:white;font-size:28px;cursor:pointer;box-shadow:0 5px 18px #0004;opacity:0;visibility:hidden;transform:translateY(10px);transition:.25s}
#mgf-backtop.visible{opacity:1;visibility:visible;transform:none}
#mgf-backtop:hover{background:#22617b}
@media(max-width:900px){.mgf-newsgrid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:540px){.mgf-newsgrid{grid-template-columns:1fr}.mgf-newsbody h3{font-size:16px}#mgf-backtop{right:12px;bottom:15px}}
@media(prefers-reduced-motion:reduce){.mgf-heritage-motion{animation:none}}

html body .mgf-heritage-motion{background-size:auto 110%;background-repeat:no-repeat;background-position:65% center;opacity:.75;mix-blend-mode:screen;filter:drop-shadow(0 0 5px #ffe0a555);animation:mgf-wrestling-lines 20s ease-in-out infinite alternate}
@keyframes mgf-wrestling-lines{from{transform:scale(1.02) translateX(-2%);opacity:.5}to{transform:scale(1.13) translateX(2%);opacity:.85}}
.mgf-image-credit{font-size:11px;color:#647580}
@media(prefers-reduced-motion:reduce){html body .mgf-heritage-motion{animation:none}}

html body .mgf-flag{background:#123b55 url('mgf-national-art.webp') center center/cover no-repeat}
html body .mgf-heritage-motion{display:none}
html body .mgf-flag:before{opacity:.22;animation:mgf-silk-light 18s ease-in-out infinite alternate}
html body .mgf-national:after{background:linear-gradient(90deg,#06182fba 0%,#06182f55 32%,transparent 60%,#06182f35 100%)}
html body .mgf-national-photos{position:relative;z-index:3;transform:none!important;gap:12px!important}
html body .mgf-national-photos figure{background:#102b3cef;border:1px solid #ffe0a0!important;animation:mgf-card-float 7s ease-in-out infinite alternate}
.mgf-national-photos figure:nth-child(2n){animation-delay:-3s}
@keyframes mgf-card-float{from{translate:0 0}to{translate:0 -5px}}
@media(max-width:760px){html body .mgf-flag{background-position:65% center}html body .mgf-national:after{background:#06182f65}}
@media(prefers-reduced-motion:reduce){html body .mgf-national-photos figure{animation:none}}

html body .mgf-flag{background:#102d45 url('mgf-national-art.webp') center/cover no-repeat}
.mgf-art-wave{position:absolute;inset:-2%;background:url('mgf-national-art.webp') center/cover no-repeat;filter:url(#mgf-fabric-wave);mask-image:linear-gradient(to bottom,#000 0%,#000 27%,#0009 40%,transparent 60%);animation:mgf-fabric-breathe 8s ease-in-out infinite alternate}
@keyframes mgf-fabric-breathe{from{transform:scale(1.015) skewX(-.6deg)}to{transform:scale(1.045) skewX(.6deg)}}
html body .mgf-flag:before{inset:-15%;background:linear-gradient(115deg,transparent 25%,#fff0 38%,#fff6 45%,#fff1 49%,transparent 58%);mix-blend-mode:screen;filter:blur(10px);animation:mgf-sun-sweep 10s ease-in-out infinite}
html body .mgf-national:after{background:linear-gradient(90deg,#06182fc9, #06182f44 32%,transparent 57%,#06182f15)}
@media(prefers-reduced-motion:reduce){.mgf-art-wave{display:none}}

html body .mgf-flag{background:linear-gradient(180deg,#0877c7 0%,#129ce8 23%,#d51d39 39%,#ef3044 58%,#168c50 77%,#08723b 100%)}
html body .mgf-art-wave,html body .mgf-heritage-motion,.mgf-image-credit{display:none!important}
html body .mgf-flag:before{inset:-20%;background:radial-gradient(ellipse at 25% 18%,#fff 0%,#b7e9ffbb 5%,#57c7ff88 13%,transparent 31%),radial-gradient(ellipse at 65% 50%,#fff5d9dd 0%,#ffb49b99 7%,#ff576c66 18%,transparent 35%),radial-gradient(ellipse at 35% 82%,#e5ffe6ee 0%,#9affc3aa 8%,#41df7866 20%,transparent 35%);filter:blur(13px);mix-blend-mode:screen;animation:mgf-solar-glow 9s ease-in-out infinite alternate}
html body .mgf-flag:after{inset:-45%;background:linear-gradient(112deg,transparent 25%,#fff0 38%,#fff5 43%,#fffde5b0 46%,#ffffff18 49%,transparent 55%);filter:blur(5px);animation:mgf-sun-sweep 11s ease-in-out infinite}
html body .mgf-national:after{background:linear-gradient(90deg,#061a2eae 0%,#061a2e50 42%,#061a2e12 100%)}
html body .mgf-national-photos{transform:rotate(-3deg)!important;gap:16px!important}
html body .mgf-national-photos figure{animation:none;translate:none}
@media(max-width:760px){html body .mgf-national-photos{transform:rotate(-1deg)!important;gap:9px!important}}
@media(prefers-reduced-motion:reduce){html body .mgf-flag:before,html body .mgf-flag:after{animation:none}}

.mgf-board{max-width:1180px;margin:24px auto 60px;padding:0 18px;color:#142b40}
.mgf-board-intro{padding:35px 24px;text-align:center;background:linear-gradient(125deg,#082b48,#14516b);color:white;border-bottom:4px solid #c6a46a;border-radius:16px}
.mgf-board-intro small,.mgf-board-president small{letter-spacing:.12em;font-size:12px;color:#e7c78d}
.mgf-board-intro h2{color:white;font-size:clamp(28px,4vw,46px);margin:12px 0}
.mgf-board-president{margin:22px auto 35px;padding:24px;text-align:center;max-width:450px;background:#102d46;color:white;border-radius:14px;border:1px solid #c6a46a}
.mgf-board-president h3{color:white;margin:10px 0;font-size:25px}
.mgf-board-heading{text-align:center;margin:30px 0;color:#17364d}
.mgf-board-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,245px),300px));justify-content:center;gap:24px}
.mgf-board-card{overflow:hidden;background:#fff;border:1px solid #d9c49e;border-radius:16px;box-shadow:0 10px 30px #102d461a;transition:transform .3s,box-shadow .3s}
.mgf-board-card:hover{transform:translateY(-5px);box-shadow:0 16px 35px #102d4630}
.mgf-board-card img{display:block;width:100%;aspect-ratio:4/5;object-fit:contain;background:#f1efeb}
.mgf-board-card>div{padding:20px 16px;text-align:center;border-top:3px solid #c6a46a}
.mgf-board-card h3{font-size:20px;margin:0 0 10px;color:#12344e}
.mgf-board-card p{font-size:15px;line-height:1.5;color:#536574;margin:0}
.mgf-board-president img{display:block;width:min(100%,300px);aspect-ratio:4/5;object-fit:contain;background:#eae8e3;margin:18px auto;border-radius:10px;border:1px solid #c6a46a}
.mgf-board-president p{color:#e7c78d;margin:8px 0;font-size:16px}

/* Leadership portrait collection */
.mgf-board{max-width:1240px;margin:20px auto 64px;padding:0 16px}
.mgf-board-intro{background:transparent!important;color:#17364d!important;border:0!important;border-radius:0!important;padding:20px 10px 12px!important}
.mgf-board-intro small{color:#98743b!important;letter-spacing:.16em}
.mgf-board-intro h2{color:#17364d!important;margin:8px 0!important}
.mgf-board-president{max-width:420px!important;background:linear-gradient(155deg,#0c2943,#1e5064)!important;border-radius:36px!important;padding:28px 20px!important;box-shadow:0 14px 35px #142b4025}
.mgf-board-president img,.mgf-board-card img{aspect-ratio:1!important;object-fit:cover!important;object-position:center 25%!important;border-radius:50%!important;box-sizing:border-box;display:block}
.mgf-board-president img{width:min(220px,90%)!important;border:5px solid #d6b578!important;outline:1px solid #f0d7a0;outline-offset:5px;margin:24px auto!important}
.mgf-board-heading{font-size:clamp(24px,3vw,34px);margin:40px 0 26px!important}
.mgf-board-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:22px!important;max-width:1050px;margin:auto}
.mgf-board-card{display:flex;flex-direction:column;align-items:center;background:linear-gradient(160deg,#fff,#f7f4ed)!important;border-radius:32px!important;padding:26px 12px 20px!important;border:1px solid #ded0b6!important;box-shadow:0 8px 24px #102d4610!important}
.mgf-board-card img{width:min(176px,85%)!important;border:4px solid #fff!important;outline:2px solid #c6a46a;outline-offset:3px;margin:5px auto 12px!important;background:#eae8e3}
.mgf-board-card>div{border:0!important;padding:12px 4px 4px!important;width:100%;box-sizing:border-box}
.mgf-board-card h3{font-size:clamp(15px,1.8vw,20px)!important;line-height:1.35;margin:0 0 8px!important}
.mgf-board-card p{font-size:14px!important;color:#87632e!important;font-weight:600}
.mgf-board-patronymic{display:block;color:#526574;font-size:13px;margin:-4px 0 8px}
@media(max-width:700px){.mgf-board-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}.mgf-board-card{padding:18px 7px 14px!important;border-radius:24px!important}.mgf-board-card img{width:min(140px,84%)!important}.mgf-board-card p{font-size:12px!important}}
@media(max-width:350px){.mgf-board-grid{grid-template-columns:1fr!important}}
body:has(.mgf-board) .wp-block-post-title{text-align:center!important;font-size:clamp(30px,4vw,48px)!important;color:#17364d!important;margin:32px auto 18px!important;max-width:1100px!important}
body:has(.mgf-board) .wp-block-post-content{max-width:1200px!important;width:100%;box-sizing:border-box;margin-inline:auto!important}
.mgf-board{background:linear-gradient(160deg,#faf8f2,#edf3f5 60%,#faf8f2);border:1px solid #dfd7c7;border-radius:28px;padding:32px 20px 40px!important;box-sizing:border-box}
.mgf-board-grid{display:flex!important;flex-wrap:wrap;justify-content:center;align-items:stretch;gap:18px!important;max-width:1120px!important}
.mgf-board-card{flex:0 0 calc((100% - 54px)/4);min-width:0;box-sizing:border-box}
.mgf-board-card img{width:min(150px,85%)!important}
.mgf-board-president{margin:0 auto 30px!important}
.mgf-board-card>div{display:flex;flex-direction:column;flex:1}
.mgf-board-card p{margin-top:auto!important;padding-top:6px}
@media(max-width:850px){.mgf-board-card{flex-basis:calc((100% - 36px)/3)}}
@media(max-width:600px){.mgf-board{padding:20px 8px!important;border-radius:18px}.mgf-board-grid{gap:10px!important}.mgf-board-card{flex-basis:calc((100% - 10px)/2)}.mgf-board-card:last-child:nth-child(odd){flex-basis:calc((100% - 10px)/2)}}
body:has(.mgf-board) main{margin-block-start:0!important;padding-block-start:0!important}
body:has(.mgf-board) main>.wp-block-group{margin-block-start:0!important;padding-block-start:0!important}
body:has(.mgf-board) .wp-block-post-title{margin:12px auto 10px!important;padding:0!important;line-height:1.15}
body:has(.mgf-board) .wp-block-post-content{margin-block-start:0!important;padding-block-start:0!important}
body:has(.mgf-board) .mgf-board{margin:8px auto 24px!important;padding:18px 16px 24px!important}
body:has(.mgf-board) .mgf-board-president{margin:0 auto 16px!important;padding:16px 20px!important}
body:has(.mgf-board) .mgf-board-president img{margin:10px auto 14px!important;width:min(185px,90%)!important}
body:has(.mgf-board) .mgf-board-heading{margin:18px 0 16px!important}
body:has(.mgf-board) .mgf-board-card{padding-top:18px!important;padding-bottom:14px!important}
body:has(.mgf-board) .mgf-board-card>div{padding-top:6px!important}
body:has(.mgf-board) main,body:has(.mgf-board) main>.wp-block-group{margin-block-start:0!important;padding-block-start:0!important}
body:has(.mgf-board) .wp-block-post-title{margin:12px auto 10px!important;padding:0!important;line-height:1.15}
body:has(.mgf-board) .wp-block-post-content{margin-block-start:0!important;padding-block-start:0!important}
body:has(.mgf-board) .mgf-board{margin:8px auto 24px!important;padding:18px 16px 24px!important}
body:has(.mgf-board) .mgf-board-president{margin:0 auto 16px!important;padding:16px 20px!important}
body:has(.mgf-board) .mgf-board-president img{margin:10px auto 14px!important;width:min(185px,90%)!important}
body:has(.mgf-board) .mgf-board-heading{margin:18px 0 16px!important}
body:has(.mgf-board) .mgf-board-card{padding-top:18px!important;padding-bottom:14px!important}
body:has(.mgf-board) .mgf-board-card>div{padding-top:6px!important}
.mgf-home-board{max-width:1200px;margin:24px auto;padding:22px 20px;background:linear-gradient(135deg,#f9f6ee,#edf3f5);border:1px solid #d9c9aa;border-radius:24px;box-sizing:border-box}
.mgf-home-board-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:20px}
.mgf-home-board-head small{font-size:11px;letter-spacing:.12em;color:#96713a}
.mgf-home-board-head h2{margin:4px 0;color:#16354d;font-size:clamp(24px,3vw,34px)}
.mgf-home-board-head>a{color:#17364d;font-weight:600;font-size:14px}
.mgf-home-board-grid{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:12px}
.mgf-home-board-person{text-decoration:none!important;text-align:center;display:flex;flex-direction:column;align-items:center;gap:7px;color:#17364d;padding:10px 4px;border-radius:16px;background:#ffffffa0;transition:transform .2s}
.mgf-home-board-person:hover{transform:translateY(-4px)}
.mgf-home-board-person img{width:min(100%,96px);aspect-ratio:1;object-fit:cover;object-position:center 25%;border-radius:50%;border:2px solid #c6a46a}
.mgf-home-board-person strong{font-size:13px;line-height:1.35}
.mgf-home-board-person span{font-size:11px;line-height:1.35;color:#87632e}
@media(max-width:950px){.mgf-home-board-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:480px){.mgf-home-board{padding:14px 10px;margin:14px auto}.mgf-home-board-grid{gap:5px}.mgf-home-board-person strong{font-size:11px}.mgf-home-board-person span{font-size:10px}.mgf-home-board-person img{width:min(100%,65px)}}
.mgf-home-board-head>a{display:grid;place-items:center;width:42px;height:42px;flex-shrink:0;border:1px solid #c6a46a;border-radius:50%;font-size:25px!important;text-decoration:none!important;background:#fff;transition:background .2s,color .2s}
.mgf-home-board-head>a:hover{background:#17364d;color:white}
.mgf-contact{max-width:1120px;margin:20px auto 40px;display:grid;grid-template-columns:1fr 1.2fr;gap:24px;padding:24px;background:linear-gradient(135deg,#f8f5ed,#eaf1f4);border:1px solid #d8c6a5;border-radius:24px;box-sizing:border-box}
.mgf-contact-info{padding:20px 8px;color:#17364d}.mgf-contact-info>small{font-size:11px;letter-spacing:.12em;color:#92703c}.mgf-contact-info h2{font-size:30px;margin:10px 0 24px}
.mgf-contact-item{display:flex;align-items:center;gap:14px;background:white;border:1px solid #e2d6bf;border-radius:16px;padding:16px;margin:12px 0;text-decoration:none!important;color:#17364d}
.mgf-contact-icon{display:grid;place-items:center;flex:0 0 44px;height:44px;border-radius:50%;background:#17364d;color:white;font-size:23px}.mgf-contact-item p{margin:5px 0 0;font-size:16px}.mgf-contact-map{overflow:hidden;border-radius:16px;background:white;border:1px solid #d8c6a5}.mgf-contact-map iframe{display:block}.mgf-contact-map>a{display:block;padding:12px;text-align:center;color:#17364d;font-weight:600}
@media(max-width:700px){.mgf-contact{grid-template-columns:1fr;padding:12px;gap:12px}.mgf-contact-info{padding:8px}.mgf-contact-map iframe{height:280px}}
.mgf-contact{align-items:start!important;gap:18px!important;padding:18px!important}
.mgf-contact-info{padding:8px!important}
.mgf-contact-item{margin:10px 0!important;padding:12px!important;align-items:center!important}
.mgf-contact-item>div{flex:1;min-width:0}
.mgf-contact-item p{margin:4px 0 0!important}
.mgf-contact-map{align-self:start!important;height:auto!important;min-height:0!important}
.mgf-contact-map iframe{height:300px!important;width:100%!important}
.mgf-contact-map>a{padding:9px!important}
body:has(.mgf-contact) main{margin-block-start:0!important;padding-block-start:0!important}
body:has(.mgf-contact) .wp-block-post-title{margin:14px auto!important;text-align:center}
body:has(.mgf-contact) .wp-block-post-content{margin-block-start:0!important}
.mgf-mast-reel a{animation:none!important;transform:none!important;opacity:1!important;pointer-events:auto!important;display:none!important}
.mgf-mast-reel a:first-child,.mgf-mast-reel a:not([hidden]){display:flex!important}
.mgf-mast-reel a[hidden]{display:none!important}
.mgf-mast-reel a:not(:first-child):not([hidden]){z-index:1;background:#193d50}
.mgf-mast-feature>small a{color:inherit;text-decoration:none;font-size:10px}
.mgf-heritage-symbol{font-size:30px;color:#e4c58b;flex:0 0 45px;text-align:center}
.mgf-mast-reel a:not([hidden]){background:transparent!important}
.mgf-mast-reel a.mgf-reel-in{animation:mgf-reel-enter .55s ease both!important;z-index:2}
.mgf-mast-reel a.mgf-reel-out{animation:mgf-reel-exit .55s ease both!important;z-index:1}
@keyframes mgf-reel-enter{from{transform:translateY(100%)}to{transform:translateY(0)}}
@keyframes mgf-reel-exit{from{transform:translateY(0)}to{transform:translateY(-100%)}}
/* Vertical film reel: rolling cards, no fade or empty interval */
.mgf-mast-reel{perspective:500px;overflow:hidden}
.mgf-mast-reel a.mgf-reel-in{animation:mgf-film-in 1s cubic-bezier(.45,0,.25,1) both!important;transform-origin:center bottom}
.mgf-mast-reel a.mgf-reel-out{animation:mgf-film-out 1s cubic-bezier(.45,0,.25,1) both!important;transform-origin:center top}
@keyframes mgf-film-in{0%{transform:translateY(100%) rotateX(-35deg)}100%{transform:translateY(0) rotateX(0)}}
@keyframes mgf-film-out{0%{transform:translateY(0) rotateX(0)}100%{transform:translateY(-100%) rotateX(35deg)}}
.mgf-mast-reel .mgf-film-track{position:absolute;inset:0;display:block;will-change:transform}
.mgf-mast-reel .mgf-film-track>a{position:relative!important;inset:auto!important;display:flex!important;height:82px!important;box-sizing:border-box;opacity:1!important;transform:none!important;animation:none!important;pointer-events:auto!important;background:transparent!important}
@media(max-width:760px){.mgf-mast-reel .mgf-film-track>a{height:62px!important}}

/* Unified editorial layout */
html body .mgf-portal,html body .mgf-grand-discover,html body .mgf-home-board{max-width:1280px;box-sizing:border-box}
html body .mgf-grand-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
html body .mgf-grand-cards a{min-height:290px;border-radius:18px}
html body .mgf-triad{grid-template-columns:repeat(2,minmax(0,1fr))}
html body .mgf-scroll .mgf-person{flex-basis:240px!important;padding:12px!important;overflow:hidden!important;gap:8px!important}
html body .mgf-scroll .mgf-person img,html body .mgf-scroll .mgf-person .mgf-initial{width:100%!important;height:245px!important;aspect-ratio:auto!important;flex:0 0 245px!important;object-fit:contain!important;object-position:center!important;background:#f0ede6!important}
html body .mgf-scroll .mgf-person strong{min-height:48px!important;font-size:18px!important;line-height:1.3!important}
html body .mgf-newsgrid article{border-radius:18px;display:flex;flex-direction:column}
html body .mgf-newsgrid article>a{flex:1;display:flex;flex-direction:column}
html body .mgf-newsgrid article img{height:230px!important;aspect-ratio:auto!important;object-fit:contain!important;background:#f0ede6!important}
html body .mgf-newsgrid .mgf-newsbody{flex:1;padding:18px;display:flex;flex-direction:column}
html body .mgf-newsbody h3{line-height:1.35;margin:8px 0 10px}
html body .mgf-newsbody p{margin:0;line-height:1.6;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
html body .mgf-newsgrid article:not(:has(img)) .mgf-newsbody{justify-content:center;min-height:180px}
html body .mgf-article{padding:20px 24px 36px;box-sizing:border-box}
html body .mgf-article .wp-block-post-title{font-size:clamp(28px,4vw,44px);line-height:1.2;text-align:center;margin:12px auto 22px}
html body .mgf-article .wp-block-post-featured-image{max-width:850px!important;margin:0 auto 24px!important;background:#f0ede6;border-radius:18px;overflow:hidden}
html body .mgf-article .wp-block-post-featured-image img{display:block;width:100%!important;height:auto!important;max-height:540px;object-fit:contain!important}
html body .mgf-article .wp-block-post-content{font-size:17px;line-height:1.8;overflow-wrap:break-word}
html body .mgf-article .wp-block-post-content img{max-width:100%;height:auto;object-fit:contain;border-radius:12px}
html body .mgf-article .wp-block-post-content h2{font-size:26px;line-height:1.3;margin:28px 0 12px;color:#17364d}
html body .mgf-heading{margin-block:24px 16px}
html body .mgf-home-board-person{transition:transform .25s,box-shadow .25s}
html body .mgf-home-board-person:hover{box-shadow:0 8px 18px #102b3c20}
@media(max-width:760px){html body .mgf-grand-cards{grid-template-columns:repeat(2,minmax(0,1fr))}html body .mgf-grand-cards a:last-child:nth-child(odd){grid-column:1/-1}html body .mgf-newsgrid article img{height:180px!important}html body .mgf-scroll .mgf-person{flex-basis:190px!important}html body .mgf-scroll .mgf-person img,html body .mgf-scroll .mgf-person .mgf-initial{height:205px!important;flex-basis:205px!important}html body .mgf-article{padding:14px}}
@media(prefers-reduced-motion:reduce){.mgf-person,.mgf-newsgrid article,.mgf-grand-cards a,.mgf-home-board-person{transition:none!important}}
/* Preserve entire historic photographs, including heads. */
html body .mgf-national-photos figure{display:flex!important;flex-direction:column!important;min-width:0!important}
html body .mgf-national-photos figure img{display:block!important;width:100%!important;height:clamp(180px,23vw,295px)!important;max-height:none!important;aspect-ratio:auto!important;object-fit:contain!important;object-position:center!important;background:#e9e5dc!important;padding:0!important}
html body .mgf-national-photos figcaption{flex:1;min-height:44px;box-sizing:border-box}
html body .mgf-grand-cards a{display:flex!important;flex-direction:column!important;align-items:stretch!important;background:#102b3c!important}
html body .mgf-grand-cards a img{position:static!important;inset:auto!important;width:100%!important;height:210px!important;object-fit:contain!important;object-position:center!important;background:#e9e5dc!important;z-index:auto!important}
html body .mgf-grand-cards a:after{display:none!important}
html body .mgf-grand-cards a>div{flex:1}
html body .mgf-grand-cards a:hover img{transform:none!important}
html body .mgf-newsgrid article:hover img{transform:none!important}
html body .mgf-scroll .mgf-person img{object-fit:contain!important;object-position:center!important}
/* Uniform edge-to-edge editorial thumbnails */
html body .mgf-national-photos{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;align-items:stretch!important}
html body .mgf-national-photos figure{margin:0!important;width:100%!important}
html body .mgf-national-photos figure img,html body .mgf-grand-cards a img,html body .mgf-newsgrid article img{width:100%!important;height:auto!important;aspect-ratio:4/3!important;object-fit:cover!important;object-position:center 25%!important;display:block!important;padding:0!important}
html body .mgf-national-photos figure:nth-child(2) img{object-position:center top!important}
html body .mgf-scroll .mgf-person img{width:100%!important;height:auto!important;aspect-ratio:4/5!important;flex:none!important;object-fit:cover!important;object-position:center top!important}
html body .mgf-national-photos figcaption{height:64px!important;min-height:64px!important;overflow:hidden}
html body .mgf-newsgrid article>a{height:100%}
html body .mgf-newsgrid article{align-self:stretch}
html body .mgf-grand-cards a>div{min-height:150px;box-sizing:border-box}
html body .mgf-newsgrid article img,html body .mgf-grand-cards a img{flex:none}
/* Archive cards: consistent media slots; portraits never cropped at the head */
html body .mgf-newsgrid article img{width:100%!important;height:auto!important;aspect-ratio:4/3!important;object-position:center top!important}
html body .mgf-newsgrid article img:is([src*="Zorkhana"],[src*="wrestler_in"],[src*="cavansir"],[src*="qurbanov"],[src*="huseyinqulu"]){object-fit:contain!important;background:#e9e5dc!important}
html body .mgf-newsgrid article:not(:has(img)) .mgf-topic-art{display:grid!important;aspect-ratio:4/3!important;height:auto!important;place-items:center;background:linear-gradient(145deg,#17364d,#28576a);color:#e0c48e;font-size:0}
html body .mgf-newsgrid article:not(:has(img)) .mgf-topic-art:after{content:"MİLLİ GÜLƏŞ • ARXİV";font-size:14px;letter-spacing:.12em}
html body .mgf-newsgrid article:not(:has(img)) .mgf-newsbody{justify-content:flex-start;min-height:0}
html body .mgf-triad{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:18px!important}
html body .mgf-triad>a{overflow:hidden!important;padding:0 0 20px!important;display:flex!important;flex-direction:column!important;min-width:0;border-radius:18px}
html body .mgf-triad .mgf-topic-photo{display:block!important;width:100%!important;height:clamp(160px,23vw,290px)!important;object-fit:contain!important;background:#e9e5dc;object-position:center!important;margin:0 0 16px!important}
html body .mgf-triad>a>span,html body .mgf-triad>a>h2,html body .mgf-triad>a>p,html body .mgf-triad>a>b{margin-inline:20px!important}
html body .mgf-triad>a>b{margin-top:auto!important}
html body .mgf-heritage .mgf-scroll{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:14px!important;overflow:visible!important;scroll-snap-type:none!important}
html body .mgf-heritage .mgf-person{width:100%!important;min-width:0!important;max-width:none!important;box-sizing:border-box}
html body .mgf-heritage .mgf-person img{width:100%!important;height:auto!important;aspect-ratio:4/5!important;object-fit:cover!important;object-position:center top!important}
@media(max-width:760px){html body .mgf-heritage .mgf-scroll{grid-template-columns:1fr!important;max-width:360px;margin-inline:auto!important}html body .mgf-heritage .mgf-person{padding:12px!important}}
.mgf-board-empty{width:110px;height:110px;border:2px solid #c6a45e;border-radius:50%;background:#f1f2f4;flex-shrink:0;margin-inline:auto}
html body .mgf-board-grid,html body .mgf-home-board .mgf-board-grid{display:flex!important;flex-wrap:nowrap!important;justify-content:flex-start!important;overflow-x:auto!important;scroll-snap-type:x mandatory;gap:12px!important;scrollbar-width:none}
html body .mgf-board-grid>.mgf-board-card{flex:0 0 calc((100% - 48px)/5)!important;min-width:0!important;max-width:none!important;scroll-snap-align:start}
@media(max-width:650px){html body .mgf-board-grid>.mgf-board-card{flex-basis:calc((100% - 12px)/2)!important}}
html body .mgf-home-board .mgf-home-board-grid{display:flex!important;flex-wrap:nowrap!important;justify-content:flex-start!important;overflow-x:auto!important;gap:12px!important;scroll-snap-type:x mandatory;scrollbar-width:none}
html body .mgf-home-board .mgf-home-board-person{flex:0 0 calc((100% - 48px)/5)!important;min-width:0!important;max-width:none!important;box-sizing:border-box;scroll-snap-align:start}
@media(max-width:650px){html body .mgf-home-board .mgf-home-board-person{flex-basis:calc((100% - 12px)/2)!important}}
html body .mgf-board .mgf-board-grid{display:flex!important;flex-wrap:wrap!important;justify-content:center!important;overflow:visible!important;scroll-snap-type:none!important;gap:12px!important}
html body .mgf-board .mgf-board-grid>.mgf-board-card{flex:0 0 calc((100% - 24px)/3)!important;box-sizing:border-box;min-width:0!important}
@media(max-width:650px){html body .mgf-board .mgf-board-grid>.mgf-board-card{flex-basis:calc((100% - 12px)/2)!important}}
@media(min-width:651px){html body .mgf-board .mgf-board-grid{display:grid!important;grid-template-columns:repeat(10,minmax(0,1fr))!important;gap:12px!important}html body .mgf-board .mgf-board-grid>.mgf-board-card{grid-column:span 2;width:100%!important}html body .mgf-board .mgf-board-grid>.mgf-board-card:nth-child(6),html body .mgf-board .mgf-board-grid>.mgf-board-card:nth-child(8){grid-column:4/span 2}html body .mgf-board .mgf-board-grid>.mgf-board-card:nth-child(7),html body .mgf-board .mgf-board-grid>.mgf-board-card:nth-child(9){grid-column:6/span 2}}
@media(min-width:900px){
html body .mgf-board{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px!important;align-items:stretch}
html body .mgf-board .mgf-board-grid{display:contents!important}
html body .mgf-board .mgf-board-heading{display:none!important}
html body .mgf-board .mgf-board-president,html body .mgf-board .mgf-board-card{grid-column:auto!important;width:100%!important;max-width:none!important;min-width:0!important;margin:0!important;padding:16px 8px!important;box-sizing:border-box;display:flex!important;flex-direction:column!important;align-items:center!important;text-align:center!important}
html body .mgf-board .mgf-board-president img,html body .mgf-board .mgf-board-card img{width:110px!important;height:110px!important;object-fit:cover!important;border-radius:50%!important}
html body .mgf-board .mgf-board-president h3,html body .mgf-board .mgf-board-card h3{font-size:15px!important;line-height:1.35!important}
}
html body .mgf-board .mgf-board-president{background:#fff!important;color:#17354a!important;border:1px solid #e5dfd0!important;box-shadow:none!important}
html body .mgf-board .mgf-board-president h3,html body .mgf-board .mgf-board-president p{color:inherit!important}
html body .mgf-board .mgf-board-president img,html body .mgf-board .mgf-board-card img{border:2px solid #c6a45e!important;outline:none!important;box-shadow:none!important;padding:0!important;box-sizing:border-box!important;border-radius:50%!important}
@media(min-width:900px){
html body .mgf-board{grid-template-columns:repeat(8,minmax(0,1fr))!important}
html body .mgf-board .mgf-board-president,html body .mgf-board .mgf-board-card{grid-column:span 2!important}
html body .mgf-board .mgf-board-card:nth-last-child(3){grid-column:2 / span 2!important}
}
html body .mgf-board .mgf-board-president,html body .mgf-board .mgf-board-card{background:#fff!important;color:#17354a!important;border:1px solid #e5dfd0!important;box-shadow:none!important;border-radius:24px!important}
html body .mgf-board .mgf-board-president h3,html body .mgf-board .mgf-board-card h3{font-size:15px!important;font-weight:500!important;line-height:1.35!important;color:#17354a!important}
html body .mgf-board .mgf-board-president p,html body .mgf-board .mgf-board-card p{font-size:14px!important;font-weight:600!important;line-height:1.4!important;color:#876b36!important}
@media(min-width:900px){
html body .mgf-board{grid-template-columns:repeat(10,minmax(0,1fr))!important}
html body .mgf-board .mgf-board-president,html body .mgf-board .mgf-board-card{grid-column:span 2!important}
html body .mgf-board .mgf-board-card:nth-child(5),html body .mgf-board .mgf-board-card:nth-last-child(3){grid-column:3 / span 2!important}
}
html body .mgf-board .mgf-board-president img,html body .mgf-home-board .mgf-home-board-person img[src*="mircelalqurbanov.jpg"]{object-fit:cover!important;object-position:center 30%!important;clip-path:circle(50%); }
html body .mgf-board .mgf-board-president img{width:110px!important;height:110px!important;min-width:110px!important;min-height:110px!important}
@media(min-width:900px){
html body .mgf-board{grid-template-columns:repeat(12,minmax(0,1fr))!important}
html body .mgf-board .mgf-board-president{grid-column:6 / span 2!important;grid-row:1!important}
html body .mgf-board .mgf-board-card{grid-column:span 2!important;grid-row:auto!important}
html body .mgf-board .mgf-board-card:nth-child(-n+4){grid-row:2!important}
html body .mgf-board .mgf-board-card:nth-child(1){grid-column:3 / span 2!important}
html body .mgf-board .mgf-board-card:nth-child(2){grid-column:5 / span 2!important}
html body .mgf-board .mgf-board-card:nth-child(3){grid-column:7 / span 2!important}
html body .mgf-board .mgf-board-card:nth-child(4){grid-column:9 / span 2!important}
html body .mgf-board .mgf-board-card:nth-child(n+5){grid-row:3!important;grid-column:span 2!important}
html body .mgf-board .mgf-board-president{grid-column:5 / span 4!important;max-width:calc((100% - 14px)/2)!important;justify-self:center}
}
html body .mgf-board .mgf-board-president img{object-fit:cover!important;object-position:center 35%!important;clip-path:circle(50%);padding:0!important}
.mgf-feature-video{box-sizing:border-box;max-width:1200px;margin:28px auto;padding:18px;background:#142d40;border:1px solid #c6a45e;border-radius:20px;box-shadow:0 8px 28px #142d4020}
.mgf-feature-video-title{text-align:center;color:#fff;margin:0 0 14px}
.mgf-feature-video-title small{color:#e2c584;letter-spacing:.15em;font-weight:600}
.mgf-feature-video-title h2{color:#fff;margin:6px 0;font-size:clamp(20px,3vw,32px)}
.mgf-feature-video video{display:block;width:100%;max-height:65vh;aspect-ratio:16/9;object-fit:contain;background:#08131c;border-radius:12px}
@media(max-width:600px){.mgf-feature-video{margin:16px 10px;padding:10px;border-radius:14px}}
.mgf-feature-video{position:relative;overflow:hidden;background:linear-gradient(135deg,#091c2c,#20455a 55%,#102638);padding:clamp(12px,2.5vw,30px);border:1px solid #c6a45e;box-shadow:0 16px 45px #0c243b35,inset 0 0 0 4px #ffffff08}
.mgf-feature-video-title{padding:12px 0 18px;position:relative}
.mgf-feature-video-title:after{content:"";display:block;width:100px;height:2px;margin:14px auto 0;background:linear-gradient(90deg,transparent,#e2c584,transparent)}
.mgf-feature-video video{border:1px solid #d6b56b80;box-sizing:border-box;max-height:68vh;box-shadow:0 8px 25px #0005}
.mgf-video-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding-top:14px;color:#e2c584;font-size:13px}
.mgf-video-actions button{cursor:pointer;border:1px solid #d6b56b;background:#ffffff0c;color:#fff;padding:10px 18px;border-radius:30px;font:inherit;font-weight:600}
.mgf-video-actions button:hover{background:#d6b56b;color:#102638}
.mgf-video-actions span{margin-left:auto;letter-spacing:.05em}
@media(max-width:600px){.mgf-video-actions span{display:none}.mgf-video-actions button{flex:1;padding:10px 8px}}
html body .mgf-feature-video{width:100vw!important;max-width:none!important;margin:24px 0!important;margin-left:calc(50% - 50vw)!important;margin-right:calc(50% - 50vw)!important;padding:0!important;border-radius:0!important;border-left:0!important;border-right:0!important}
html body .mgf-feature-video video{width:100%!important;max-width:none!important;height:auto!important;max-height:none!important;aspect-ratio:16/9;object-fit:contain;border:0!important;border-radius:0!important}
html body .mgf-feature-video-title{padding:20px 12px 12px}
html body .mgf-video-actions{padding:14px clamp(12px,4vw,60px)}
@media(max-width:600px){html body .mgf-feature-video{margin-top:12px!important;margin-bottom:12px!important}}
html body .mgf-feature-video{background:radial-gradient(ellipse at 50% 0,#36536a 0,#142c40 38%,#081724 85%)!important;box-shadow:0 18px 48px #091b3038!important;border-top:2px solid #c6a45e!important;border-bottom:2px solid #c6a45e!important}
html body .mgf-feature-video video{filter:contrast(1.06) saturate(1.10) brightness(1.025);background:#07121c}
html body .mgf-feature-video-title{padding:clamp(22px,3vw,42px) 12px 20px}
html body .mgf-feature-video-title h2{font-size:clamp(24px,3.5vw,44px);font-weight:600;letter-spacing:.025em;text-shadow:0 3px 16px #0005}
html body .mgf-feature-video-title small{letter-spacing:.25em}
html body .mgf-feature-video-title:after{width:min(240px,50%);height:1px;background:linear-gradient(90deg,transparent,#e9cb85,transparent)}
html body .mgf-video-actions{background:linear-gradient(90deg,#091a29,#203e52,#091a29);border-top:1px solid #c6a45e55}
/* Leadership: five upper cards, six lower cards, equal widths. */
@media(min-width:900px){
html body section.mgf-board{display:grid!important;grid-template-columns:repeat(12,minmax(0,1fr))!important;gap:14px!important}
html body section.mgf-board>.mgf-board-president{grid-row:1!important;grid-column:2/span 2!important;max-width:none!important;width:100%!important}
html body section.mgf-board>.mgf-board-grid{display:contents!important}
html body section.mgf-board>.mgf-board-grid>.mgf-board-card:nth-child(1){grid-row:1!important;grid-column:4/span 2!important}
html body section.mgf-board>.mgf-board-grid>.mgf-board-card:nth-child(2){grid-row:1!important;grid-column:6/span 2!important}
html body section.mgf-board>.mgf-board-grid>.mgf-board-card:nth-child(3){grid-row:1!important;grid-column:8/span 2!important}
html body section.mgf-board>.mgf-board-grid>.mgf-board-card:nth-child(4){grid-row:1!important;grid-column:10/span 2!important}
html body section.mgf-board>.mgf-board-grid>.mgf-board-card:nth-child(n+5){grid-row:2!important;grid-column:auto/span 2!important}
}
@media(max-width:899px){
html body section.mgf-board{grid-template-columns:repeat(2,minmax(0,1fr))!important}
html body section.mgf-board>.mgf-board-president,html body section.mgf-board>.mgf-board-grid>.mgf-board-card:nth-child(n){grid-row:auto!important;grid-column:auto!important;max-width:none!important;width:100%!important}
}

html body .mgf-feature-video video{filter:none!important;aspect-ratio:auto!important;height:auto!important;object-fit:contain!important}

html body section.mgf-board>.mgf-board-president img{width:125px!important;height:125px!important;min-width:125px!important;min-height:125px!important;object-fit:cover!important;object-position:center 35%!important}
.mgf-federation-news{margin:30px 0;min-width:0}.mgf-news-split{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(0,1fr);gap:20px}.mgf-news-lead{display:block;position:relative;overflow:hidden;border-radius:12px;background:#102b40;color:white!important;text-decoration:none}.mgf-news-lead img{display:block;width:100%;aspect-ratio:16/9;object-fit:cover}.mgf-news-lead div{padding:20px}.mgf-news-lead h2{font-size:clamp(20px,3vw,32px);margin:8px 0;color:white}.mgf-news-rail{background:#102b40;color:white;padding:20px;border-radius:12px;min-width:0}.mgf-news-rail h3,.mgf-news-rail a{color:white!important}.mgf-news-reel{max-height:330px;overflow:auto}.mgf-news-reel a{display:flex;align-items:center;gap:12px;padding:12px 0;border-bottom:1px solid #c6a45e55;text-decoration:none}.mgf-news-reel img{width:100px;height:65px;object-fit:cover;border-radius:5px}.mgf-news-pending{display:block;padding:20px;background:#102b40;color:white!important;border-radius:10px}.mgf-news-reel:hover{animation-play-state:paused}@media(max-width:700px){.mgf-news-split{grid-template-columns:1fr}}
/* Federation editorial design */
html body .mgf-footer-premium{background:linear-gradient(125deg,#071b2b,#163b50)!important;color:#f4f0e5!important;text-align:left!important;padding:0!important;border-top:3px solid #c6a45e;overflow:hidden}
.mgf-footer-premium .mgf-footer-banner{position:relative;padding:38px clamp(20px,5vw,72px);border-bottom:1px solid #c6a45e55;background:linear-gradient(100deg,#ffffff09,transparent)}
.mgf-footer-banner span{color:#dfc58c;font-size:12px;letter-spacing:.18em}.mgf-footer-banner h2{color:#fff!important;font-size:clamp(26px,4vw,48px);margin:12px 0}.mgf-footer-flag{width:105px;height:9px;background:linear-gradient(90deg,#00a3df 33%,#e63743 33% 66%,#00a75a 66%);border-radius:2px}
.mgf-footer-columns{display:grid;grid-template-columns:1.5fr 1fr 1fr 1.2fr;gap:28px;padding:38px clamp(20px,5vw,72px)}.mgf-footer-columns h3{color:#e2c58a!important;font-size:17px;margin:0 0 16px}.mgf-footer-columns p{font-size:14px;line-height:1.7;color:#d8e1e7}.mgf-footer-columns a{display:block;color:#edf2f5!important;font-size:14px;margin:9px 0;text-decoration:none}.mgf-footer-columns a:hover{text-decoration:underline}.mgf-footer-bottom{display:flex;justify-content:space-between;gap:12px;border-top:1px solid #ffffff20;padding:18px clamp(20px,5vw,72px);color:#c7d2da}.mgf-footer-bottom a{color:#e2c58a!important}
html body .mgf-portal{min-width:0}html body .mgf-portal .mgf-heading{border-bottom:1px solid #c6a45e66;padding:0 0 14px;margin:30px 0 18px}html body .mgf-portal .mgf-heading h2{letter-spacing:-.025em}html body .mgf-newsgrid article,html body .mgf-grand-cards a,html body .mgf-person{border-radius:12px!important;overflow:hidden;box-shadow:0 6px 22px #102b4012;border:1px solid #c6a45e44!important;transition:box-shadow .2s,transform .2s}html body .mgf-newsgrid article:hover,html body .mgf-grand-cards a:hover{box-shadow:0 12px 30px #102b4025;transform:translateY(-3px)}html body .mgf-topics{gap:14px}html body .mgf-topics a{background:linear-gradient(135deg,#173b51,#102638)!important;color:#fff!important;border:1px solid #c6a45e80;border-radius:10px!important;padding:22px!important}html body .mgf-topics a strong{color:#fff!important}html body .mgf-topics a span{color:#e2c58a!important}
@media(max-width:760px){.mgf-footer-columns{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.mgf-footer-bottom{flex-wrap:wrap}}@media(max-width:420px){.mgf-footer-columns{grid-template-columns:1fr}}@media(prefers-reduced-motion:reduce){.mgf-newsgrid article,.mgf-grand-cards a{transition:none!important}}

.mgf-footer-corporate{color:#dfc58c;font-size:12px;letter-spacing:.04em;display:inline-flex;align-items:center;gap:10px}.mgf-footer-corporate span{font-size:9px}.mgf-footer-bottom{align-items:center}
.mgf-sharebar{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:26px 0;padding:16px;border-top:1px solid #c6a45e80}.mgf-sharebar a,.mgf-sharebar button{background:#173b51;color:#fff!important;border:0;border-radius:6px;padding:9px 13px;font:inherit;font-size:13px;text-decoration:none;cursor:pointer}.mgf-sharebar a:hover,.mgf-sharebar button:hover{background:#28576a}
html body .mgf-triad a .mgf-topic-photo{width:100%!important;height:auto!important;aspect-ratio:16/9!important;object-fit:cover!important;display:block!important;padding:0!important;margin:0!important}

.mgf-historical-photo {
    aspect-ratio: 4 / 3;
    display: grid;
    background: #f0ede6;
    overflow: hidden;
}
html body .mgf-historical-people article .mgf-historical-photo img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    aspect-ratio: auto !important;
    object-fit: contain !important;
    object-position: center !important;
    background: transparent;
    transform: none;
}
.mgf-historical-photo .mgf-initial {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    border: 0;
    background: #102f43;
    color: #f1deb5;
}
.mgf-historical-photo .mgf-initial span {
    display: grid;
    place-items: center;
    width: 3.6rem;
    aspect-ratio: 1;
    border: 1px solid #c6a66e;
    border-radius: 50%;
    font: 2rem/1 Georgia, serif;
}
.mgf-historical-photo .mgf-initial small {
    font-size: .75rem;
    color: #f1deb5;
}
