/*
Theme Name: MCU Graduate School – Elementor
Theme URI: https://grad.mcu.ac.th/
Description: White and pink graduate school portal with editable Elementor Free homepage, header and footer.
Version: 2.0.0
Requires at least: 6.4
Requires PHP: 7.4
Author: MCU Graduate School Design Starter
License: GPL-2.0-or-later
Text Domain: mcu-grad-elementor
*/
:root{--mcu-pink:#c92466;--mcu-navy:#132943;--mcu-text:#25384d;--mcu-light:#fff4f7}*,*:before,*:after{box-sizing:border-box}body{margin:0;color:var(--mcu-text);background:white;font-family:"Noto Sans Thai",Tahoma,Arial,sans-serif;font-size:16px;line-height:1.65}a{color:var(--mcu-pink)}img{max-width:100%;height:auto}button,input{font:inherit}h1,h2,h3,h4{line-height:1.3} .mcu-site-header,.mcu-site-footer{position:relative;z-index:2}.mcu-main{min-width:0;min-height:30vh}.mcu-fallback{max-width:1200px;margin:auto;padding:24px}.mcu-fallback-header{display:flex;align-items:center;justify-content:space-between;gap:20px}.mcu-fallback-header a{color:var(--mcu-navy);text-decoration:none;font-weight:700}.mcu-fallback-footer{background:var(--mcu-navy);color:white}.mcu-fallback-footer a{color:white}.mcu-article{max-width:900px;margin:auto;padding:48px 24px}.mcu-article img{max-width:100%}.mcu-article .wp-block-image{margin:1.5em 0}.mcu-skip{position:absolute;top:-100px;left:10px;background:white;color:#132943;padding:10px;z-index:9999}.mcu-skip:focus{top:10px}.mcu-nav{display:flex;align-items:center;justify-content:flex-end;gap:18px;position:relative}.mcu-nav-links{display:flex;flex-wrap:wrap;gap:16px;align-items:center;justify-content:flex-end;list-style:none;padding:0;margin:0}.mcu-nav-links li{margin:0;padding:0}.mcu-nav a{text-decoration:none;display:inline-block;padding:6px 0;line-height:1.5;color:#243951;font-size:13px;font-weight:600}.mcu-nav a:hover,.mcu-nav a:focus-visible{color:var(--mcu-pink)}.mcu-nav-toggle{display:none;align-items:center;justify-content:center;border:1px solid #edd5df;background:white;color:#a51d54;padding:8px 12px;border-radius:5px;cursor:pointer;font-size:15px}.mcu-nav-search{display:inline-flex;align-items:center;justify-content:center}.mcu-nav-search svg{width:17px;height:17px;stroke:currentColor;fill:none;stroke-width:1.8}.mcu-site-header .elementor-widget:not(:last-child),.mcu-site-footer .elementor-widget:not(:last-child){margin-block-end:0}.mcu-nav a:focus-visible,.mcu-nav button:focus-visible{outline:2px solid #c92466;outline-offset:4px}.mcu-hero{overflow:hidden}.mcu-program-card,.mcu-service-card,.mcu-leader-card{min-width:0}.mcu-program-card .elementor-widget-image img,.mcu-leader-card .elementor-widget-image img{display:block;width:100%;object-fit:cover}.mcu-program-card .elementor-widget-image img{aspect-ratio:16/9}.mcu-leader-card .elementor-widget-image img{aspect-ratio:4/3}.mcu-footer-links .elementor-icon-list-item{align-items:flex-start}.mcu-site-footer a:hover{text-decoration:underline}.mcu-site-footer .elementor-icon-list-text{overflow-wrap:anywhere}.mcu-hero .elementor-widget-text-editor p:last-child,.mcu-main .elementor-widget-text-editor p:last-child,.mcu-site-footer .elementor-widget-text-editor p:last-child{margin-bottom:0}.mcu-main .elementor-widget-text-editor p:first-child,.mcu-site-footer .elementor-widget-text-editor p:first-child{margin-top:0}
@media(max-width:1024px){.mcu-nav{justify-content:flex-end}.mcu-nav-toggle{display:inline-flex}.mcu-nav-links{display:none;position:absolute;right:0;top:calc(100% + 8px);z-index:1000;background:white;border:1px solid #edd5df;box-shadow:0 10px 30px #23324718;border-radius:8px;width:min(320px,85vw);max-height:70vh;overflow:auto;padding:12px 20px;align-items:stretch;flex-direction:column;gap:3px}.mcu-nav.is-open .mcu-nav-links{display:flex}.mcu-nav-links a{display:block;padding:10px 0}.mcu-nav-search{justify-content:flex-start}.mcu-fallback-header{flex-wrap:wrap}}
.mcu-nav-search summary{cursor:pointer;list-style:none;display:flex;padding:6px}.mcu-nav-search summary::-webkit-details-marker{display:none}.mcu-nav-search form{position:absolute;right:0;top:100%;padding:16px;background:#fff;border:1px solid #edd5df;border-radius:6px;z-index:1001;display:grid;gap:8px;width:250px;box-shadow:0 10px 25px #24395115}.mcu-nav-search input{width:100%;border:1px solid #ddd;padding:6px}.mcu-nav-search button{border:0;background:#c92466;color:white;border-radius:4px;padding:6px}.mcu-search-label{font-size:13px;color:#25384d}@media(max-width:1024px){.mcu-nav-search form{position:static;max-width:100%;box-shadow:none}}
.mcu-main .elementor-heading-title,.mcu-main .elementor-widget-text-editor,.mcu-site-header .elementor-heading-title,.mcu-site-footer .elementor-widget-text-editor{overflow-wrap:anywhere}.mcu-main .elementor-button{max-width:100%;white-space:normal}
