/* ESN Cumhuriyet PHP theme overrides. Keeps the classic ESN Satellite look while fixing responsive/layout issues. */
html,body{margin:0;padding:0;background:#fff;color:#4f4f4f;font-family:"Open Sans",Arial,sans-serif}body{min-width:320px}a{color:#00aeef}.visually-hidden{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}

/* Header */
#header{height:105px!important;background:#333 url("../img/header_topbg.png") 0 -5px repeat-x!important;box-shadow:0 2px 2px rgba(0,0,0,.15)!important}
#header>.inner{position:relative!important;width:960px!important;max-width:calc(100% - 30px)!important;height:105px!important;margin:0 auto!important;padding:0!important}
.header-inner{position:relative!important;height:100%!important;width:100%!important}
#branding{position:absolute!important;left:0!important;top:7px!important;height:92px!important;margin:0!important}
#branding a{display:block!important;text-decoration:none!important}body.custom-logo #branding #logo img{display:block!important;width:auto!important;height:auto!important;max-width:180px!important;max-height:86px!important}#branding #site-name{display:none!important}
#nav-primary{position:absolute!important;right:0!important;bottom:14px!important;z-index:210!important}
#nav-primary .sf-menu{display:flex!important;align-items:flex-end!important;gap:0!important;margin:0!important;padding:0!important;list-style:none!important}
#nav-primary .sf-menu>li{position:relative!important;float:none!important;margin:0!important;padding:0!important}
#nav-primary .sf-menu>li>a{display:block!important;padding:8px 10px!important;color:#bbb!important;background:transparent!important;font-family:"Roboto Condensed",Arial,sans-serif!important;font-size:15px!important;font-weight:700!important;line-height:20px!important;text-transform:uppercase!important;text-decoration:none!important}
#nav-primary .sf-menu>li:hover>a,#nav-primary .sf-menu>li:focus-within>a{color:#fff!important;background:#7ac143!important}
#nav-primary .sf-menu ul{display:none!important;position:absolute!important;z-index:300!important;top:36px!important;left:0!important;min-width:210px!important;margin:0!important;padding:6px 0!important;list-style:none!important;background:#7ac143!important;border-radius:0 4px 4px 4px!important;box-shadow:0 5px 14px rgba(0,0,0,.2)!important}
#nav-primary .sf-menu li:hover>ul,#nav-primary .sf-menu li:focus-within>ul{display:block!important}
#nav-primary .sf-menu ul li{position:relative!important;float:none!important;width:100%!important;margin:0!important;padding:0!important;white-space:nowrap!important}
#nav-primary .sf-menu ul a{display:block!important;padding:9px 16px!important;color:#fff!important;background:transparent!important;font-family:"Roboto Condensed",Arial,sans-serif!important;font-size:15px!important;font-weight:700!important;line-height:20px!important;text-transform:uppercase!important;text-decoration:none!important}
#nav-primary .sf-menu ul li:hover>a,#nav-primary .sf-menu ul li:focus-within>a{background:rgba(0,0,0,.13)!important}
#nav-primary .sf-menu ul ul{top:0!important;left:100%!important;background:#5f9f36!important;border-radius:0 4px 4px 0!important}
.submenu-toggle{display:none!important}
#nav-secondary{position:absolute!important;right:5px!important;top:18px!important;z-index:205!important}
#socialmedia ul{display:flex!important;gap:7px!important;margin:0!important;padding:0!important;list-style:none!important}
#socialmedia li{float:none!important;margin:0!important;padding:0!important}
#socialmedia a{display:flex!important;align-items:center!important;justify-content:center!important;width:34px!important;height:34px!important;border-radius:50%!important;color:#fff!important;text-decoration:none!important;font-size:18px!important;line-height:1!important;transition:transform .15s ease,filter .15s ease!important}
#socialmedia a:hover{transform:translateY(-2px)!important;filter:brightness(1.08)!important}
#socialmedia .socialmedia-facebook a{background:#1877f2!important}#socialmedia .socialmedia-x a{background:#111!important}#socialmedia .socialmedia-youtube a{background:#ff0000!important}#socialmedia .socialmedia-instagram a{background:linear-gradient(135deg,#f9ce34,#ee2a7b 48%,#6228d7)!important}#socialmedia .socialmedia-linkedin a{background:#0a66c2!important}
#mobile-menu,.mobile-drawer{display:none}

/* Page title/content */
#main>.inner{width:100%!important;max-width:none!important;margin:0!important;padding:0!important}
#title{background:#f5f5f5 url("../img/title_bg.png") top right no-repeat!important;border-bottom:1px solid #e2e2e2!important}
#title>.inner{width:960px!important;max-width:calc(100% - 30px)!important;margin:0 auto!important;padding:0!important}
#title .title-container{padding:14px 0 22px!important}#title h1{margin:0!important;color:#666!important;font-family:"Open Sans",Arial,sans-serif!important;font-size:38px!important;font-weight:300!important;line-height:44px!important}
#content>.inner{box-sizing:border-box!important;width:960px!important;max-width:calc(100% - 30px)!important;margin:0 auto!important;padding:42px 0 58px!important}.full-width-content{float:none!important;width:100%!important}
.drupal-body{color:#555;font-size:15px;line-height:1.75}.drupal-body h2,.drupal-body h3,.drupal-body h4{color:#444;font-family:"Open Sans",Arial,sans-serif}.drupal-body h2{font-size:25px;margin:28px 0 14px}.drupal-body p{margin:0 0 16px}.drupal-body ul,.drupal-body ol{margin:0 0 18px 24px}.drupal-body a{position:relative;z-index:1}.drupal-body iframe{display:block;max-width:100%;border:0}.drupal-body img{max-width:100%;height:auto}.drupal-body table{width:100%;border-collapse:collapse}.drupal-body td,.drupal-body th{padding:8px;border:1px solid #ddd}

/* Homepage adjustments */
body:has(.esn-home) #content>.inner{padding-top:20px}.esn-home{max-width:none!important}.esn-home-community-split{align-items:stretch!important}.esn-home-community-left,.esn-home-community-right,.esn-home-instagram{height:100%}.esn-instagram-slide iframe{background:#fff}.esn-instagram-open{display:block;padding:9px 12px;background:#2e3192;color:#fff!important;text-align:center;text-decoration:none!important;font-weight:700}.partners-home-list{border-top:1px solid #ddd;border-bottom:1px solid #ddd}.partners-home-list a{display:flex;align-items:center;gap:16px;padding:17px 0;border-bottom:1px solid #eee;text-decoration:none!important}.partners-home-list a:last-child{border-bottom:0}.partners-home-list img{width:58px;height:40px;object-fit:contain}.partners-home-list span{display:flex;flex-direction:column}.partners-home-list strong{color:#00aef0;font-size:15px;font-weight:400}.partners-home-list small{margin-top:3px;color:#2e3192;font-size:10px;text-transform:uppercase}

/* Archive cards + pagination */
.esn-archive-head{margin-bottom:28px}.esn-archive-head h2{margin:4px 0 6px!important;color:#2e3192!important;font-size:34px!important}.esn-archive-head p{margin:0;color:#777}.esn-archive-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.esn-archive-card{display:flex;flex-direction:column;min-width:0;border:1px solid #e2e5ec;border-bottom:4px solid #ec008c;background:#fff;box-shadow:0 5px 16px rgba(34,43,76,.05)}.esn-archive-image{display:block;aspect-ratio:16/10;overflow:hidden;background:#f3f5f8}.esn-archive-image img{width:100%;height:100%;object-fit:cover;transition:transform .25s ease}.esn-archive-card:hover .esn-archive-image img{transform:scale(1.025)}.archive-placeholder{display:flex;width:100%;height:100%;align-items:center;justify-content:center;color:#c6cbd7;font-size:44px}.esn-archive-body{display:flex;flex:1;flex-direction:column;padding:17px 16px 18px}.esn-archive-date{display:block;margin-bottom:8px;color:#80889a;font-size:11px}.esn-archive-body h2{margin:0 0 10px!important;color:#222b4d!important;font-size:17px!important;line-height:1.35!important}.esn-archive-body h2 a{color:inherit!important;text-decoration:none!important}.esn-archive-body p{margin:0 0 14px;color:#687083;font-size:13px;line-height:1.55}.esn-archive-more{margin-top:auto;color:#ec008c!important;text-decoration:none!important;font-size:12px;font-weight:700}
.events-archive-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.event-archive-card{display:grid;grid-template-columns:82px 1fr;min-width:0;border:1px solid #dde2ea;background:#fff;box-shadow:0 4px 14px rgba(34,43,76,.04)}.event-archive-date{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:118px;background:#f2f3f7;color:#2e3192!important;text-decoration:none!important;border-left:4px solid #00aeef}.event-archive-date strong{font-size:24px;line-height:1}.event-archive-date span{margin-top:7px;font-size:10px;font-weight:700}.event-archive-copy{padding:15px 16px}.event-archive-copy>span{color:#9298a7;font-size:10px}.event-archive-copy h2{margin:5px 0 7px!important;font-size:16px!important;line-height:1.35!important}.event-archive-copy h2 a{color:#20294a!important;text-decoration:none!important}.event-archive-copy p{margin:0 0 8px;color:#777;font-size:11px}.event-archive-copy .esn-archive-more{display:inline-block;margin-top:4px}
.esn-pagination{display:flex;align-items:center;justify-content:center;gap:7px;margin:34px 0 0}.esn-pagination a,.esn-pagination span{display:inline-flex;align-items:center;justify-content:center;min-width:34px;height:34px;box-sizing:border-box;padding:0 9px;border:1px solid #dfe3ea;border-radius:3px;background:#fff;color:#2e3192!important;text-decoration:none!important;font-size:13px}.esn-pagination a:hover,.esn-pagination .is-current{border-color:#2e3192;background:#2e3192;color:#fff!important}.esn-pagination .ellipsis{border:0;background:transparent;color:#888!important}.esn-pagination .page-nav{font-size:16px}

/* Detail pages */
.esn-api-detail{max-width:820px;margin:0 auto}.esn-api-detail-date{margin:0 0 18px;color:#7e8595;font-size:12px}.esn-api-detail-image{margin:0 0 28px}.esn-api-detail-image img{display:block;width:100%;height:auto}.esn-api-detail-body{color:#555;font-size:15px;line-height:1.75}.esn-api-detail-body img{max-width:100%;height:auto}.esn-api-detail-body iframe{display:block;width:100%;max-width:100%;min-height:480px;border:0}.project-feature{display:flex;justify-content:center;margin:0 0 28px;padding:28px;background:#f7f8fa;border:1px solid #e5e8ef}.project-feature img{width:300px;max-width:70%;height:auto;object-fit:contain}.project-archive-card .esn-archive-image img{object-fit:contain;padding:18px;box-sizing:border-box;background:#f7f8fa}

/* Board */
.esn-board-live{--board:#ec008c;--support:#00aeef;--audit:#f58220;color:#25324a}.esn-live-period{margin:0 0 34px!important;padding:0!important;border:0!important;text-align:center!important;color:#17357f!important;font-size:30px!important;line-height:1.3!important;font-weight:700!important}.esn-live-group{margin:0 0 48px!important}.esn-live-title{margin:0 0 24px!important;padding:0!important;border:0!important;text-align:center!important;color:#17357f!important;font-size:24px!important;font-weight:700!important}.esn-live-person{border:1px solid #e6eaf2!important;border-top-width:5px!important}.esn-live-group-board .esn-live-person{border-top-color:var(--board)!important}.esn-live-group-support .esn-live-person{border-top-color:var(--support)!important}.esn-live-group-audit .esn-live-person{border-top-color:var(--audit)!important}.esn-live-placeholder{color:#aab2c2!important;font-size:46px!important}.esn-live-person p{min-height:42px}.esn-live-group-audit .esn-live-person p{color:#6c7485!important;font-size:12px!important}

/* Partners */
.partners-page-list{border-top:1px solid #ddd}.partners-page-list>a{display:flex;align-items:center;gap:24px;padding:24px 8px;border-bottom:1px solid #ddd;text-decoration:none!important}.partners-page-list img{flex:0 0 130px;width:130px;height:72px;object-fit:contain}.partners-page-list span{display:flex;min-width:0;flex-direction:column}.partners-page-list strong{color:#00aeef;font-size:18px;font-weight:400}.partners-page-list small{margin-top:5px;color:#2e3192;font-size:11px}

/* Causes */
.causes-page{--cyan:#00aeef;--pink:#ec008c;--orange:#f58220;--green:#7ac143;--purple:#2e3192;--teal:#00a99d}.causes-hero{position:relative;overflow:hidden;margin-bottom:24px;padding:40px 42px;border:1px solid #e4e8ef;border-radius:18px;background:linear-gradient(135deg,#fff 0%,#fafbfe 60%,#eef7fc 100%)}.causes-ribbon{position:absolute;left:0;right:0;top:0;display:grid;grid-template-columns:repeat(6,1fr);height:7px}.causes-ribbon span:nth-child(1){background:var(--cyan)}.causes-ribbon span:nth-child(2){background:var(--pink)}.causes-ribbon span:nth-child(3){background:var(--orange)}.causes-ribbon span:nth-child(4){background:var(--green)}.causes-ribbon span:nth-child(5){background:var(--purple)}.causes-ribbon span:nth-child(6){background:var(--teal)}.causes-hero h2{margin:7px 0 16px!important;color:#30384b!important;font-size:40px!important;line-height:1.15!important}.causes-hero p{max-width:790px;margin:0;color:#667086;font-size:16px;line-height:1.7}.causes-nav{display:flex;flex-wrap:wrap;gap:9px;margin:0 0 26px}.cause-pill{display:inline-flex;align-items:center;gap:7px;padding:10px 14px;border:1px solid #e1e5ec;border-radius:999px;background:#fff;color:#343b4d!important;text-decoration:none!important;font-size:13px;font-weight:700}.cause-pill:hover{transform:translateY(-1px)}.cause-pill.cause-cyan i{color:var(--cyan)}.cause-pill.cause-green i{color:var(--green)}.cause-pill.cause-orange i{color:var(--orange)}.cause-pill.cause-purple i{color:var(--purple)}.cause-pill.cause-pink i{color:var(--pink)}.cause-pill.cause-teal i{color:var(--teal)}.causes-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.cause-card{scroll-margin-top:20px;padding:26px;border:1px solid #e5e8ef;border-left-width:6px;border-radius:14px;background:#fff;box-shadow:0 4px 16px rgba(31,42,68,.04)}.cause-card.cause-cyan{border-left-color:var(--cyan)}.cause-card.cause-green{border-left-color:var(--green)}.cause-card.cause-orange{border-left-color:var(--orange)}.cause-card.cause-purple{border-left-color:var(--purple)}.cause-card.cause-pink{border-left-color:var(--pink)}.cause-card.cause-teal{border-left-color:var(--teal)}.cause-card-head{display:grid;grid-template-columns:auto auto 1fr;align-items:center;gap:12px;margin-bottom:14px}.cause-number{display:inline-flex;width:42px;height:42px;align-items:center;justify-content:center;border-radius:10px;background:#f4f6f9;color:#4d5567;font-weight:800}.cause-card-head>i{font-size:24px}.cause-cyan .cause-card-head>i{color:var(--cyan)}.cause-green .cause-card-head>i{color:var(--green)}.cause-orange .cause-card-head>i{color:var(--orange)}.cause-purple .cause-card-head>i{color:var(--purple)}.cause-pink .cause-card-head>i{color:var(--pink)}.cause-teal .cause-card-head>i{color:var(--teal)}.cause-card h2{margin:0!important;color:#31394d!important;font-size:21px!important;line-height:1.3!important}.cause-card p{margin:0;color:#60697d;font-size:14px;line-height:1.72}

/* Contact */
.contact-layout{display:grid;grid-template-columns:.85fr 1.35fr;gap:24px}.contact-card{box-sizing:border-box;border:1px solid #e3e7ee;background:#fff;box-shadow:0 6px 22px rgba(35,45,76,.05)}.contact-info{padding:32px;background:linear-gradient(145deg,#f8fbff,#fff)}.contact-info h2,.contact-form-card h2{margin:4px 0 13px!important;color:#2e3192!important;font-size:27px!important}.contact-info>p{margin:0 0 25px;color:#687083;line-height:1.6}.contact-detail{display:flex;gap:14px;margin:0 0 20px}.contact-detail>i{display:flex;width:38px;height:38px;flex:0 0 38px;align-items:center;justify-content:center;border-radius:50%;background:#edf8fd;color:#00aeef;font-size:17px}.contact-detail div{display:flex;flex-direction:column;gap:3px}.contact-detail strong{color:#333}.contact-detail span{color:#666;line-height:1.5}.contact-appointment{display:inline-flex;align-items:center;gap:8px;margin-top:8px;padding:11px 15px;background:#7ac143;color:#fff!important;text-decoration:none!important;font-weight:700}.contact-form-card{padding:32px}.contact-form label{display:block;margin-bottom:15px}.contact-form label>span{display:block;margin-bottom:6px;color:#4a5263;font-size:12px;font-weight:700}.contact-form input,.contact-form textarea{box-sizing:border-box;width:100%;padding:11px 12px;border:1px solid #d7dce5;border-radius:3px;background:#fff;color:#333;font:inherit;outline:none}.contact-form input:focus,.contact-form textarea:focus{border-color:#00aeef;box-shadow:0 0 0 3px rgba(0,174,239,.1)}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.contact-submit{display:inline-flex;align-items:center;gap:8px;margin-top:14px;padding:12px 18px;border:0;border-radius:3px;background:#2e3192;color:#fff;font:inherit;font-weight:700;cursor:pointer}.contact-submit:disabled{opacity:.55;cursor:not-allowed}.form-note{margin:14px 0 0;color:#8a909e;font-size:11px;line-height:1.5}.form-alert{margin:0 0 17px;padding:12px 14px;border-left:4px solid}.form-alert.is-success{border-color:#7ac143;background:#f2faec;color:#426b26}.form-alert.is-error{border-color:#ec008c;background:#fff1f8;color:#8f165c}.hp-field{position:absolute!important;left:-10000px!important;top:auto!important;width:1px!important;height:1px!important;overflow:hidden!important}

/* Footer */
#footer{clear:both!important;background:#333!important;color:#929292!important}
#footer>.inner{width:100%!important;max-width:none!important;margin:0!important;padding:0!important;background:transparent!important}
#footer-middle{width:100%!important}#footer .footer-columns{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:44px!important;box-sizing:border-box!important;width:960px!important;max-width:calc(100% - 40px)!important;margin:0 auto!important;padding:34px 0 30px!important}
#footer-first,#footer-second,#footer-third{float:none!important;width:auto!important;max-width:none!important;min-width:0!important;margin:0!important;padding:0!important}
#footer .footer-block{float:none!important;width:auto!important;min-width:0!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important}
#footer .footer-block .block-header{position:relative!important;display:block!important;min-height:40px!important;margin:0 0 25px!important;padding:0!important;background:transparent!important}
#footer .footer-block .block-title{position:relative!important;display:inline-flex!important;align-items:center!important;gap:11px!important;min-height:40px!important;padding:0 16px!important;border-radius:3px 3px 3px 0!important;background:#444!important;color:#fff!important}
#footer .footer-block .block-title:after{position:absolute;left:0;bottom:-8px;width:0;height:0;border-top:8px solid #444;border-right:15px solid transparent;content:""}
#footer .footer-block .block-title .esn-block-theme-icon{position:static!important;width:auto!important;height:auto!important;background:none!important;color:#fff!important;font-size:21px!important;line-height:1!important}
#footer .footer-block .block-title h2{margin:0!important;padding:0!important;background:none!important;color:#fff!important;font-family:"Roboto Condensed",Arial,sans-serif!important;font-size:15px!important;font-weight:700!important;line-height:40px!important;text-transform:uppercase!important;white-space:nowrap!important}
#footer .footer-block .block-content{min-width:0!important;padding:0!important;color:#929292!important;font-size:13px!important;line-height:1.55!important;word-break:normal!important;overflow-wrap:break-word!important;hyphens:none!important}
#footer .footer-block .block-content p{margin:0 0 14px!important}#footer .footer-block .block-content strong{color:#9e9e9e!important}#footer .footer-block .block-content a{color:#f58220!important;text-decoration:none!important}#footer .footer-block .block-content a:hover{text-decoration:underline!important}
.footer-esn-logo{display:block!important;width:205px!important;max-width:100%!important;height:auto!important;margin:0 0 13px!important}.footer-scu-logo{display:block!important;width:235px!important;max-width:100%!important;height:auto!important;margin:0 0 16px!important}.footer-inclusive{display:block!important;width:210px!important;max-width:100%!important;height:auto!important;margin:24px 0 0!important}.footer-eu{display:block!important;width:220px!important;max-width:100%!important;height:auto!important;margin:30px 0 0!important}.footer-justify{text-align:left!important}.footer-contact-link{display:inline-flex;align-items:center;gap:7px}
#footer-bottom{background:#292929!important;border:0!important}#footer-bottom>.inner{box-sizing:border-box!important;width:960px!important;max-width:calc(100% - 40px)!important;min-height:58px!important;margin:0 auto!important;padding:20px 0!important}.copyright{position:static!important;display:block!important;min-height:0!important;margin:0!important;padding:0!important;background:none!important;color:#737373!important;font-size:11px!important;line-height:18px!important;text-align:left!important}
#back-top{position:fixed!important;right:18px!important;bottom:18px!important;z-index:900!important;margin:0!important}#back-top a{display:flex!important;width:42px!important;height:42px!important;align-items:center!important;justify-content:center!important;border-radius:50%!important;background:#292929!important;color:#fff!important;text-decoration:none!important;box-shadow:0 4px 14px rgba(0,0,0,.2)!important;opacity:.88!important}#back-top a:hover{opacity:1!important}#back-top i{font-size:20px!important}

/* Mobile navigation */
@media(max-width:958px){
  #header{height:86px!important}#header>.inner{width:100%!important;max-width:none!important;height:86px!important;padding:0 18px!important;box-sizing:border-box!important}#branding{left:18px!important;top:8px!important;height:70px!important}body.custom-logo #branding #logo img{max-width:160px!important;max-height:68px!important}
  #nav-primary,#nav-secondary{display:none!important}
  #mobile-menu{display:flex!important;position:absolute!important;left:auto!important;right:20px!important;top:18px!important;width:52px!important;height:54px!important;align-items:center!important;justify-content:center!important;flex-direction:column!important;gap:0!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important;color:#fff!important;cursor:pointer!important;text-align:center!important}#mobile-menu i{font-size:38px!important;line-height:34px!important}#mobile-menu b{margin-top:2px;font-size:10px!important;font-weight:400!important;line-height:12px!important;text-transform:uppercase!important}
  .mobile-drawer{display:block;position:absolute!important;z-index:700!important;top:86px!important;left:0!important;right:0!important;width:100%!important;max-height:calc(100vh - 86px)!important;overflow:auto!important;box-sizing:border-box!important;padding:14px 20px 24px!important;border-top:1px solid #555!important;background:#333!important;box-shadow:0 10px 22px rgba(0,0,0,.3)!important}.mobile-drawer[hidden]{display:none!important}
  .mobile-drawer .sf-menu,.mobile-drawer .sf-menu ul{display:block!important;margin:0!important;padding:0!important;list-style:none!important}.mobile-drawer .sf-menu li{position:relative!important;float:none!important;width:100%!important;margin:0!important;padding:0!important}.mobile-drawer .sf-menu a{display:block!important;box-sizing:border-box!important;padding:13px 46px 13px 10px!important;color:#fff!important;background:transparent!important;font-family:"Roboto Condensed",Arial,sans-serif!important;font-size:18px!important;text-transform:uppercase!important;text-decoration:none!important}.mobile-drawer .sf-menu>li+li{border-top:1px solid rgba(255,255,255,.08)!important}.mobile-drawer .sf-menu ul{display:none!important;margin:0 0 7px!important;padding:5px 0 5px 16px!important;background:#292929!important}.mobile-drawer .sf-menu li.is-open>ul{display:block!important}.mobile-drawer .sf-menu ul a{padding-top:11px!important;padding-bottom:11px!important;font-size:16px!important}.mobile-drawer .submenu-toggle{display:flex!important;position:absolute!important;right:3px!important;top:6px!important;width:42px!important;height:42px!important;align-items:center!important;justify-content:center!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important;color:#fff!important;cursor:pointer!important;font-size:18px!important}.mobile-drawer .sf-menu ul .submenu-toggle{top:4px!important}.mobile-drawer .submenu-toggle i{transition:transform .18s ease}.mobile-drawer .menuparent.is-open>.submenu-toggle i.bi-chevron-down{transform:rotate(180deg)}.mobile-drawer .menuparent.is-open>.submenu-toggle i.bi-chevron-right{transform:rotate(90deg)}
  .mobile-drawer #socialmedia ul{justify-content:flex-start!important;margin-top:18px!important;padding:14px 8px 0!important;border-top:1px solid rgba(255,255,255,.12)!important}.mobile-drawer #socialmedia a{width:38px!important;height:38px!important;font-size:19px!important}
  #title>.inner,#content>.inner{max-width:calc(100% - 30px)!important}.esn-archive-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.events-archive-list{grid-template-columns:1fr}.contact-layout{grid-template-columns:1fr}.causes-grid{grid-template-columns:1fr}
  #footer .footer-columns{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:34px!important;max-width:calc(100% - 40px)!important}#footer-third{grid-column:1/-1!important}#footer-bottom>.inner{max-width:calc(100% - 40px)!important}
}
@media(max-width:640px){
  #title h1{font-size:31px!important;line-height:38px!important}#content>.inner{padding-top:30px!important;padding-bottom:45px!important}.esn-archive-grid{grid-template-columns:1fr}.form-grid{grid-template-columns:1fr}.causes-hero{padding:32px 24px}.causes-hero h2{font-size:32px!important}.cause-card{padding:22px 20px}.cause-card-head{grid-template-columns:auto auto 1fr}.contact-info,.contact-form-card{padding:24px}.project-feature img{max-width:90%}
  #footer .footer-columns{grid-template-columns:1fr!important;gap:28px!important;padding-top:30px!important}#footer-third{grid-column:auto!important}.footer-scu-logo{width:220px!important}.footer-inclusive{width:190px!important}.footer-eu{width:200px!important}
}

/* =========================================================
   v4 — accessibility, privacy, dark theme and layout polish
   ========================================================= */
:root{--user-font-scale:1;--surface:#fff;--surface-2:#f5f6f8;--text:#50545d;--heading:#26304d;--border:#dfe3e8;--shadow:rgba(26,35,58,.08)}
html{scroll-behavior:smooth}html.a11y-reduce-motion{scroll-behavior:auto!important}html.a11y-reduce-motion *,html.a11y-reduce-motion *:before,html.a11y-reduce-motion *:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}
.skip-link{position:fixed;z-index:5000;left:14px;top:-80px;padding:11px 15px;background:#fff;color:#222!important;border:2px solid #00aeef;text-decoration:none!important;font-weight:700}.skip-link:focus{top:14px}

/* Header vertical centering and modern mobile sticky behaviour */
#branding{top:50%!important;height:auto!important;transform:translateY(-50%)!important}body.custom-logo #branding #logo img{max-height:78px!important}
@media(max-width:958px){
  #header{position:sticky!important;top:0!important;z-index:1100!important;height:72px!important;box-shadow:0 3px 10px rgba(0,0,0,.22)!important}
  #header>.inner{height:72px!important;padding:0 14px!important}
  #branding{left:14px!important;top:50%!important;height:auto!important;transform:translateY(-50%)!important}
  body.custom-logo #branding #logo img{max-width:136px!important;max-height:56px!important}
  #mobile-menu{right:14px!important;top:50%!important;width:48px!important;height:54px!important;transform:translateY(-50%)!important}
  #mobile-menu i{font-size:32px!important;line-height:30px!important}
  .mobile-drawer{position:fixed!important;top:72px!important;max-height:calc(100vh - 72px)!important;z-index:1090!important}
}

/* Full-width embedded guides and calendars */
.canva-embed-wrap{width:100%!important;max-width:none!important;margin:0!important;padding:0!important;overflow:hidden!important;background:#111!important}
.canva-embed{display:block!important;width:100%!important;max-width:none!important;height:min(74vw,760px)!important;min-height:560px!important;margin:0!important;border:0!important}
.embed-page-intro{margin:0 0 24px}.embed-page-intro h2{margin:4px 0 8px!important;color:#2e3192!important;font-size:32px!important}.embed-page-intro p{margin:0;color:#6f7481}.responsive-calendar{width:100%;border:1px solid var(--border);background:#fff;box-shadow:0 5px 18px var(--shadow)}.responsive-calendar iframe{display:block;width:100%;height:680px;border:0}.appointment-calendar iframe{height:720px}

/* Better hub/navigation pages */
.hub-page{max-width:960px}.hub-intro{max-width:720px;margin:0 0 30px}.hub-intro h2{margin:5px 0 8px!important;color:#2e3192!important;font-size:34px!important}.hub-intro p{margin:0;color:#727887;font-size:15px;line-height:1.7}.hub-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.hub-card{display:grid;grid-template-columns:54px 1fr auto;align-items:center;gap:15px;min-height:92px;padding:19px 20px;border:1px solid var(--border);border-left:5px solid #00aeef;background:var(--surface);box-shadow:0 4px 14px var(--shadow);text-decoration:none!important}.hub-card:nth-child(2n){border-left-color:#7ac143}.hub-card:nth-child(3n){border-left-color:#f58220}.hub-icon{display:flex;width:48px;height:48px;align-items:center;justify-content:center;background:#f1f4fa;color:#2e3192;font-size:22px}.hub-card strong{display:block;color:var(--heading);font-size:18px}.hub-card small{display:block;margin-top:5px;color:#737a89;font-size:12px;line-height:1.5}.hub-arrow{color:#00aeef;font-size:20px}.hub-card:hover{transform:translateY(-2px);box-shadow:0 8px 22px rgba(26,35,58,.12)}

/* Event cards can now expose API-provided images. */
.event-archive-card.has-image{grid-template-columns:150px 72px 1fr}.event-archive-image{display:block;min-height:132px;overflow:hidden;background:#eef1f5}.event-archive-image img{display:block;width:100%;height:100%;min-height:132px;object-fit:cover}.event-archive-card.has-image .event-archive-date{min-height:132px}

/* Local Board: square, flat colour borders; no curved colour bleed. */
.esn-live-person{border-radius:0!important;overflow:hidden!important;box-shadow:0 5px 16px rgba(32,43,73,.06)!important}.esn-live-group-board .esn-live-person,.esn-live-group-support .esn-live-person,.esn-live-group-audit .esn-live-person{border-top-style:solid!important}.esn-live-photo{border-radius:50%!important}.board-more-links{margin-top:12px;padding-top:32px;border-top:1px solid #e1e5ec}.board-more-links>div:first-child{max-width:700px}.board-more-links h3{margin:0 0 7px!important;color:#25324a!important;font-size:22px!important}.board-more-links p{margin:0 0 20px;color:#737a89;line-height:1.65}.board-more-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.board-more-actions>a{display:grid;grid-template-columns:44px 1fr auto;align-items:center;gap:13px;padding:17px;border:1px solid #dfe4eb;border-left:5px solid #2e3192;background:#fff;text-decoration:none!important}.board-more-actions>a:nth-child(2){border-left-color:#7ac143}.board-more-actions>a>i:first-child{font-size:24px;color:#2e3192}.board-more-actions strong{display:block;color:#26304d}.board-more-actions small{display:block;margin-top:4px;color:#7c8391}.board-more-actions>a>i:last-child{color:#00aeef}

/* About the section */
.section-history-hero{display:grid;grid-template-columns:1.05fr .95fr;gap:38px;align-items:center;margin-bottom:48px;padding:36px;background:#f5f7fa;border-top:5px solid #2e3192}.section-history-hero h2{margin:5px 0 14px!important;color:#2e3192!important;font-size:42px!important}.section-history-hero p{font-size:16px;line-height:1.75;color:#626978}.section-history-hero>img{display:block;width:100%;height:330px;object-fit:cover}.section-history-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:22px}.section-history-actions a{display:inline-flex;align-items:center;gap:8px;padding:11px 14px;background:#2e3192;color:#fff!important;text-decoration:none!important;font-weight:700}.section-history-actions a+ a{background:#00aeef}.section-story{display:grid;grid-template-columns:.85fr 1.15fr;gap:42px;margin-bottom:42px}.section-story-copy h2{margin:0 0 14px!important;color:#26304d!important;font-size:27px!important}.section-story-copy p{color:#626978;line-height:1.8}.section-timeline{display:grid;grid-template-columns:1fr 1fr;border-top:1px solid #dfe3e8;border-left:1px solid #dfe3e8}.section-timeline>div{padding:20px;border-right:1px solid #dfe3e8;border-bottom:1px solid #dfe3e8}.section-timeline span{display:block;color:#ec008c;font-size:12px;font-weight:700}.section-timeline strong{display:block;margin:5px 0 7px;color:#26304d}.section-timeline p{margin:0;color:#737a89;font-size:12px;line-height:1.55}.section-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.section-gallery figure{margin:0;background:#f4f5f8}.section-gallery img{display:block;width:100%;aspect-ratio:4/3;object-fit:cover}.section-gallery figcaption{padding:10px 12px;color:#687083;font-size:11px}

/* Privacy / accessibility */
.privacy-hero{margin-bottom:28px;padding:32px 34px;border-left:5px solid #ec008c;background:#f6f7fa}.privacy-hero h2{margin:5px 0 10px!important;color:#2e3192!important;font-size:34px!important}.privacy-hero p{max-width:800px;margin:0;color:#667080;line-height:1.7}.privacy-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-bottom:30px}.privacy-grid>section{padding:22px;border:1px solid #dfe3e8;background:#fff}.privacy-grid>section>i{font-size:26px;color:#00aeef}.privacy-grid h3{margin:9px 0 8px!important;color:#26304d!important;font-size:18px!important}.privacy-grid p{margin:0;color:#687083;line-height:1.65}.privacy-section{margin-top:26px;padding-top:25px;border-top:1px solid #dfe3e8}.privacy-section h2{margin:0 0 14px!important;color:#26304d!important;font-size:25px!important}.privacy-section p{color:#626978;line-height:1.75}.cookie-table-wrap{overflow:auto}.privacy-table{width:100%;border-collapse:collapse;background:#fff}.privacy-table th,.privacy-table td{padding:12px 14px;border:1px solid #dde2e8;text-align:left;vertical-align:top}.privacy-table th{background:#f3f5f8;color:#26304d}.privacy-table code{white-space:nowrap}.privacy-cookie-settings{display:inline-flex;align-items:center;gap:8px;padding:10px 14px;border:0;background:#2e3192;color:#fff;font-weight:700;cursor:pointer}.privacy-notice{display:flex;gap:12px;margin-top:20px;padding:16px;background:#eef7fc;border-left:4px solid #00aeef}.privacy-notice>i{color:#00aeef;font-size:20px}.privacy-notice p{margin:0}.accessibility-statement a{font-weight:700}

/* Contact page: no public phone/address; all form fields required. */
.contact-layout-simple{grid-template-columns:.75fr 1.25fr}.contact-quick-links{display:grid;gap:10px;margin-top:24px}.contact-quick-links a{display:grid;grid-template-columns:38px 1fr;gap:11px;align-items:center;padding:13px;border:1px solid #dfe3e8;background:#f7f8fa;text-decoration:none!important}.contact-quick-links a>i{color:#2e3192;font-size:22px}.contact-quick-links strong{display:block;color:#26304d}.contact-quick-links small{display:block;margin-top:3px;color:#7b8290}.contact-form input:required,.contact-form textarea:required{border-left:3px solid #00aeef}.contact-form input:required:valid,.contact-form textarea:required:valid{border-left-color:#7ac143}

/* Footer and fixed tools */
.footer-scu-logo{width:100%!important;max-width:315px!important;margin:0 0 20px!important}.footer-cookie-button{display:inline-flex;align-items:center;gap:7px;padding:0;border:0;background:transparent;color:#f58220;cursor:pointer;font:inherit}.footer-legal{margin-left:10px}.footer-legal a{color:#888!important;text-decoration:none!important}.footer-legal a:hover{color:#bbb!important}
#back-top{right:18px!important;bottom:18px!important}#back-top a{width:42px!important;height:42px!important;border-radius:0!important;background:#292929!important}#back-top .up-fallback{display:none}#back-top.is-visible{opacity:1!important;visibility:visible!important}.site-tools{position:fixed;z-index:901;right:18px;bottom:68px;display:grid;gap:7px}.site-tools button{display:flex;width:42px;height:42px;align-items:center;justify-content:center;border:0;border-radius:0;background:#333;color:#fff;font-size:18px;cursor:pointer;box-shadow:0 4px 14px rgba(0,0,0,.17)}.site-tools button:hover,.site-tools button:focus-visible{background:#2e3192}.accessibility-panel{position:fixed;z-index:1200;right:68px;bottom:68px;width:300px;max-width:calc(100vw - 90px);padding:0;background:#fff;border:1px solid #d9dee6;box-shadow:0 12px 36px rgba(0,0,0,.22)}.accessibility-panel[hidden]{display:none}.a11y-panel-head{display:flex;align-items:center;justify-content:space-between;padding:13px 14px;background:#333;color:#fff}.a11y-panel-head strong{display:flex;align-items:center;gap:8px}.a11y-panel-head button{border:0;background:transparent;color:#fff;font-size:18px;cursor:pointer}.a11y-controls{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:13px}.a11y-controls button{display:flex;align-items:center;gap:7px;min-height:42px;padding:8px 10px;border:1px solid #dfe3e8;background:#f7f8fa;color:#333;cursor:pointer;text-align:left}.a11y-statement-link{display:block;padding:0 13px 14px;color:#2e3192!important;font-size:12px;font-weight:700;text-decoration:none!important}
.cookie-banner{position:fixed;z-index:1400;left:20px;right:20px;bottom:20px;display:flex;align-items:center;justify-content:space-between;gap:22px;max-width:1050px;margin:auto;padding:18px 20px;border:1px solid #dfe3e8;background:#fff;box-shadow:0 14px 46px rgba(0,0,0,.25)}.cookie-banner[hidden]{display:none}.cookie-copy{max-width:720px}.cookie-copy strong{display:flex;align-items:center;gap:8px;color:#26304d;font-size:16px}.cookie-copy p{margin:5px 0;color:#667080;font-size:12px;line-height:1.55}.cookie-copy a{font-size:11px;font-weight:700}.cookie-actions{display:flex;gap:8px;flex-shrink:0}.cookie-actions button{padding:10px 13px;border:1px solid #2e3192;background:#fff;color:#2e3192;font-weight:700;cursor:pointer}.cookie-actions #cookie-accept{background:#2e3192;color:#fff}

/* Accessibility preference classes */
html.a11y-links #main a{text-decoration:underline!important;text-decoration-thickness:2px!important;text-underline-offset:3px!important}html.a11y-contrast{filter:contrast(1.15)}html.a11y-contrast #main{filter:contrast(1.05)}
.drupal-body,.hub-page,.privacy-page,.accessibility-statement,.section-history,.contact-layout,.esn-api-archive,.esn-api-detail,.esn-board-live{font-size:calc(1em * var(--user-font-scale))}

/* Dark theme: preserve ESN colours while switching surfaces/text. */
html.theme-dark{color-scheme:dark;--surface:#202327;--surface-2:#282c31;--text:#d4d8df;--heading:#f3f5f8;--border:#3d434b;--shadow:rgba(0,0,0,.22)}
html.theme-dark body,html.theme-dark #main,html.theme-dark #content,html.theme-dark #page,html.theme-dark #page-inner{background:#17191c!important;color:#d4d8df!important}
html.theme-dark #title{background:#212429!important;border-color:#373c43!important}html.theme-dark #title h1{color:#e7e9ed!important}
html.theme-dark .drupal-body,html.theme-dark .drupal-body p,html.theme-dark .esn-archive-head p,html.theme-dark .hub-intro p,html.theme-dark .privacy-page p,html.theme-dark .section-history p,html.theme-dark .contact-card p{color:#c3c8d0!important}html.theme-dark .drupal-body h2,html.theme-dark .drupal-body h3,html.theme-dark .drupal-body h4{color:#f0f2f5!important}
html.theme-dark .esn-archive-card,html.theme-dark .event-archive-card,html.theme-dark .hub-card,html.theme-dark .privacy-grid>section,html.theme-dark .privacy-table,html.theme-dark .esn-live-person,html.theme-dark .partners-page-list a,html.theme-dark .contact-card,html.theme-dark .responsive-calendar,html.theme-dark .section-gallery figure,html.theme-dark .board-more-actions>a{background:#22262b!important;border-color:#3c424a!important}
html.theme-dark .esn-archive-body h2,html.theme-dark .esn-archive-body h2 a,html.theme-dark .event-archive-copy h2 a,html.theme-dark .hub-card strong,html.theme-dark .privacy-grid h3,html.theme-dark .privacy-section h2,html.theme-dark .section-story-copy h2,html.theme-dark .section-timeline strong,html.theme-dark .board-more-links h3,html.theme-dark .board-more-actions strong{color:#f1f3f6!important}
html.theme-dark .esn-archive-body p,html.theme-dark .event-archive-copy p,html.theme-dark .hub-card small,html.theme-dark .privacy-grid p,html.theme-dark .section-timeline p,html.theme-dark .board-more-actions small{color:#b8bec7!important}
html.theme-dark .archive-placeholder,html.theme-dark .event-archive-date,html.theme-dark .hub-icon,html.theme-dark .contact-quick-links a{background:#2c3137!important}
html.theme-dark .causes-hero,html.theme-dark .cause-card,html.theme-dark .section-history-hero,html.theme-dark .privacy-hero{background:#22262b!important;border-color:#3f4650!important}html.theme-dark .cause-card p{color:#c4c9d1!important}
html.theme-dark .section-timeline{border-color:#40464e!important}html.theme-dark .section-timeline>div{border-color:#40464e!important}html.theme-dark .section-gallery figure{background:#22262b!important}
html.theme-dark .privacy-table th{background:#2d3238!important;color:#f0f2f5!important}html.theme-dark .privacy-table td,html.theme-dark .privacy-table th{border-color:#424850!important}.privacy-table code{background:rgba(127,127,127,.12);padding:2px 5px}
html.theme-dark .privacy-notice{background:#20333c!important;color:#d7eaf2!important}html.theme-dark .contact-form input,html.theme-dark .contact-form textarea{background:#1b1e22!important;border-color:#434951!important;color:#f2f4f6!important}html.theme-dark .contact-quick-links a{border-color:#41474f!important}
html.theme-dark .accessibility-panel,html.theme-dark .cookie-banner{background:#22262b!important;border-color:#41464e!important;color:#e7e9ed!important}html.theme-dark .a11y-controls button{background:#2d3238!important;border-color:#464c55!important;color:#e8ebef!important}html.theme-dark .cookie-copy strong{color:#f2f4f6!important}html.theme-dark .cookie-copy p{color:#c2c7cf!important}html.theme-dark .cookie-actions button{background:#22262b!important}html.theme-dark .cookie-actions #cookie-accept{background:#2e3192!important}
html.theme-dark .form-alert.is-error{background:#3b2131!important;color:#ffcbe8!important}html.theme-dark .form-alert.is-success{background:#243522!important;color:#cdeabd!important}

@media(max-width:760px){
  .hub-grid,.privacy-grid,.section-story,.section-history-hero,.section-gallery,.board-more-actions{grid-template-columns:1fr}.section-history-hero{padding:25px;gap:24px}.section-history-hero>img{height:260px}.section-timeline{grid-template-columns:1fr}.contact-layout-simple{grid-template-columns:1fr}.event-archive-card.has-image{grid-template-columns:110px 64px 1fr}.cookie-banner{left:10px;right:10px;bottom:10px;flex-direction:column;align-items:stretch}.cookie-actions{justify-content:flex-end}.accessibility-panel{right:64px;bottom:66px}.canva-embed{height:66vw!important;min-height:380px!important}
}
@media(max-width:520px){
  .event-archive-card.has-image{grid-template-columns:96px 1fr}.event-archive-card.has-image .event-archive-image{grid-row:1/3}.event-archive-card.has-image .event-archive-date{grid-column:2;min-height:70px;flex-direction:row;gap:7px;border-left:0;border-bottom:3px solid #00aeef}.event-archive-card.has-image .event-archive-copy{grid-column:2}.hub-card{grid-template-columns:44px 1fr auto;padding:15px}.privacy-hero{padding:24px 20px}.privacy-hero h2{font-size:28px!important}.site-tools{right:10px}.accessibility-panel{right:58px;width:270px;max-width:calc(100vw - 70px)}.cookie-actions{display:grid;grid-template-columns:1fr 1fr}.canva-embed{min-height:300px!important}
}
#back-top a{background-image:none!important;text-indent:0!important;overflow:visible!important}#back-top svg{display:block!important;width:20px!important;height:20px!important}
.esn-home-event.has-image .esn-home-event-link{display:grid!important;grid-template-columns:86px 58px 1fr!important}.esn-home-event-image{display:block;overflow:hidden;min-height:92px;background:#eef1f5}.esn-home-event-image img{display:block;width:100%;height:100%;min-height:92px;object-fit:cover}
@media(max-width:520px){.esn-home-event.has-image .esn-home-event-link{grid-template-columns:76px 54px 1fr!important}}
.consent-embed-placeholder{display:flex;min-height:150px;box-sizing:border-box;flex-direction:column;align-items:center;justify-content:center;gap:7px;padding:20px;background:#f1f3f6;color:#5f6673;text-align:center;border:1px solid #dfe3e8}.consent-embed-placeholder>i{font-size:28px;color:#2e3192}.consent-embed-placeholder strong{color:#26304d}.consent-embed-placeholder span{font-size:11px}.consent-embed-placeholder button{display:inline-flex;align-items:center;gap:7px;margin-top:5px;padding:9px 12px;border:0;background:#2e3192;color:#fff;font-weight:700;cursor:pointer}html.theme-dark .consent-embed-placeholder{background:#252a30;border-color:#424850;color:#c0c6ce}html.theme-dark .consent-embed-placeholder strong{color:#f2f4f6}
@media(max-width:958px){body.mobile-header-scrolled #header{height:60px!important}body.mobile-header-scrolled #header>.inner{height:60px!important}body.mobile-header-scrolled #branding #logo img{max-width:118px!important;max-height:47px!important}body.mobile-header-scrolled #mobile-menu{height:46px!important}body.mobile-header-scrolled #mobile-menu i{font-size:28px!important;line-height:27px!important}body.mobile-header-scrolled .mobile-drawer{top:60px!important;max-height:calc(100vh - 60px)!important}}
