/* ApplyEuroLink site-wide light/dark theme. The selected mode is set on <html>. */
html[data-ael-theme="light"]{color-scheme:light}
html[data-ael-theme="dark"]{
  color-scheme:dark;
  --color-heading:#F1F5FA;
  --color-paragraph:#B4BFCF;
  --bg-gray:#0F2238;
  --bg-gray-secondary:#0F2238;
  --bg-gray-gradient:linear-gradient(90deg,#0F2238 30%,#081526 100%);
  --bg-gray-gradient-secondary:linear-gradient(90deg,#0F2238 0%,#102942 50%,#081526 100%);
  --e-global-color-primary:#2FCBB1;
  --e-global-color-secondary:#F1F5FA;
  --e-global-color-text:#B4BFCF;
  --e-global-color-accent:#2FCBB1;
}

/* Header theme switch */
.ael-site-theme-item{display:inline-flex!important;align-items:center!important;background:transparent!important}
.ael-site-theme-toggle{
  width:45px;height:45px;padding:0;border:1px solid #D8DEE8;border-radius:50%;
  display:inline-flex;align-items:center;justify-content:center;background:#fff;color:#0E2A47;
  font:600 20px/1 system-ui,sans-serif;cursor:pointer;box-shadow:none;transition:border-color .2s,background .2s,color .2s;
}
.ael-site-theme-toggle:hover{border-color:#1CB098;color:#1CB098}
.ael-site-theme-toggle:focus-visible{outline:3px solid rgba(47,203,177,.35);outline-offset:2px}
html[data-ael-theme="dark"] .ael-site-theme-toggle{background:transparent;color:#F1F5FA;border-color:#2F4A6E}
html[data-ael-theme="dark"] .ael-site-theme-toggle:hover{border-color:#2FCBB1;color:#2FCBB1}

/* Global dark palette */
html[data-ael-theme="dark"] body.ael-theme-site{background:#081526;color:#B4BFCF}
html[data-ael-theme="dark"] body.ael-theme-site p,
html[data-ael-theme="dark"] body.ael-theme-site li,
html[data-ael-theme="dark"] body.ael-theme-site .text{color:#B4BFCF}
html[data-ael-theme="dark"] body.ael-theme-site h1,
html[data-ael-theme="dark"] body.ael-theme-site h2,
html[data-ael-theme="dark"] body.ael-theme-site h3,
html[data-ael-theme="dark"] body.ael-theme-site h4,
html[data-ael-theme="dark"] body.ael-theme-site h5,
html[data-ael-theme="dark"] body.ael-theme-site h6,
html[data-ael-theme="dark"] body.ael-theme-site .elementor-heading-title{color:#F1F5FA}
/* The theme's unit-test.css paints strong/dt/th #232323 site-wide. Zero specificity on purpose:
   beat only that bare rule (this file loads later) and leave component-specific colors alone. */
:where(html[data-ael-theme="dark"] body.ael-theme-site) strong{color:inherit}
:where(html[data-ael-theme="dark"] body.ael-theme-site) :is(dt,th){color:#F1F5FA}
html[data-ael-theme="dark"] body.ael-theme-site #content,
html[data-ael-theme="dark"] body.ael-theme-site .site-content,
html[data-ael-theme="dark"] body.ael-theme-site .content-area,
html[data-ael-theme="dark"] body.ael-theme-site .site-main,
html[data-ael-theme="dark"] body.ael-theme-site .elementor-location-single,
html[data-ael-theme="dark"] body.ael-theme-site .elementor-location-archive{background-color:#081526}
html[data-ael-theme="dark"] body.ael-theme-site .elementor>.e-con.e-parent{
  --background-color:transparent!important;background-color:transparent!important;
}
html[data-ael-theme="dark"] body.ael-theme-site .bg-white,
html[data-ael-theme="dark"] body.ael-theme-site .bg-light,
html[data-ael-theme="dark"] body.ael-theme-site .bg-gray,
html[data-ael-theme="dark"] body.ael-theme-site .bg-gray-secondary,
html[data-ael-theme="dark"] body.ael-theme-site .bg-gray-gradient,
html[data-ael-theme="dark"] body.ael-theme-site .bg-gray-gradient-secondary{background:#0F2238!important}

/* Header: one continuous surface in dark mode */
html[data-ael-theme="dark"] body.ael-theme-site>header,
html[data-ael-theme="dark"] body.ael-theme-site>header>.elementor,
html[data-ael-theme="dark"] body.ael-theme-site>header .elementor-element{background-color:#081526!important}
html[data-ael-theme="dark"] body.ael-theme-site .top-bar-area{background:#050E1A!important;border-bottom:1px solid #22395A}
html[data-ael-theme="dark"] body.ael-theme-site nav.aeu-header3,
html[data-ael-theme="dark"] body.ael-theme-site nav.aeu-header3.no-background,
html[data-ael-theme="dark"] body.ael-theme-site nav.aeu-header3.sticked,
html[data-ael-theme="dark"] body.ael-theme-site nav.aeu-header3.is-sticky,
html[data-ael-theme="dark"] body.ael-theme-site .navbar-area.is-sticky,
html[data-ael-theme="dark"] body.aeu-uni-page nav.navbar.no-background{background:#0B1A2E!important;border-color:#22395A!important;box-shadow:0 6px 18px rgba(0,0,0,.28)!important}
html[data-ael-theme="dark"] body.ael-theme-site nav.aeu-header3 ul.nav>li,
html[data-ael-theme="dark"] body.ael-theme-site nav.aeu-header3 ul.nav>li>a,
html[data-ael-theme="dark"] body.ael-theme-site nav.aeu-header3 .attr-nav,
html[data-ael-theme="dark"] body.ael-theme-site nav.aeu-header3 .attr-nav>ul,
html[data-ael-theme="dark"] body.ael-theme-site nav.aeu-header3 .attr-nav>ul>li{background:transparent!important}
html[data-ael-theme="dark"] body.ael-theme-site nav.aeu-header3 ul.nav>li>a,
html[data-ael-theme="dark"] body.ael-theme-site nav.aeu-header3 .attr-nav>ul>li>a,
html[data-ael-theme="dark"] body.ael-theme-site nav.aeu-header3 .navbar-toggle,
html[data-ael-theme="dark"] body.ael-theme-site nav.aeu-header3 .learna-lang-dd .lang-btn,
html[data-ael-theme="dark"] body.aeu-uni-page nav.navbar.no-background ul.nav>li>a,
html[data-ael-theme="dark"] body.aeu-uni-page nav.navbar.no-background .attr-nav>ul>li>a{color:#F1F5FA!important}
html[data-ael-theme="dark"] body.ael-theme-site nav.aeu-header3 .navbar-brand img,
html[data-ael-theme="dark"] body.ael-theme-site nav.aeu-header3 #navbar-menu>img.logo{background:transparent!important;border-radius:0!important;padding:0!important}
html[data-ael-theme="dark"] body.ael-theme-site nav.aeu-header3 .navbar-brand img:not(.ael-dark-logo),
html[data-ael-theme="dark"] body.ael-theme-site nav.aeu-header3 #navbar-menu>img.logo:not(.ael-dark-logo){filter:brightness(0) invert(1)}
html[data-ael-theme="dark"] body.ael-theme-site img.ael-dark-logo{filter:none!important}
html[data-ael-theme="dark"] body.ael-theme-site nav.aeu-header3 #navbar-menu{background:transparent!important;border-color:transparent!important}
html[data-ael-theme="dark"] body.ael-theme-site nav.aeu-header3 #navbar-menu ul.nav>li>a:hover,
html[data-ael-theme="dark"] body.ael-theme-site nav.aeu-header3 #navbar-menu ul.nav>li.current-menu-item>a{color:#2FCBB1!important}
html[data-ael-theme="dark"] body.ael-theme-site nav.aeu-header3 .aeu-mega-menu,
html[data-ael-theme="dark"] body.ael-theme-site nav.aeu-header3 .aeu-mega-inner,
html[data-ael-theme="dark"] body.ael-theme-site nav.aeu-header3 .aeu-mega-col,
html[data-ael-theme="dark"] body.ael-theme-site nav.aeu-header3 .learna-lang-dd .lang-menu{background:#0F2238!important;border-color:#2F4A6E!important}
html[data-ael-theme="dark"] body.ael-theme-site nav.aeu-header3 .aeu-mega-title,
html[data-ael-theme="dark"] body.ael-theme-site nav.aeu-header3 .aeu-mega-menu a,
html[data-ael-theme="dark"] body.ael-theme-site nav.aeu-header3 .learna-lang-dd .lang-menu a{color:#DCE6F0!important}
/* Countries mega menu: aeu-megamenu turns the country links into <button>s, which the anchor colours above miss. */
html[data-ael-theme="dark"] body.ael-theme-site #navbar-menu .aeu-mega-title{color:#8B98AB!important}
html[data-ael-theme="dark"] body.ael-theme-site #navbar-menu .aeu-mega-list>li>:is(a,button){color:#DCE6F0!important}
html[data-ael-theme="dark"] body.ael-theme-site #navbar-menu .aeu-mega-list>li>:is(a,button)::after{color:#8B98AB!important}
html[data-ael-theme="dark"] body.ael-theme-site #navbar-menu .aeu-mega-list>li>:is(a,button):is(:hover,:focus-visible){color:#2FCBB1!important}
html[data-ael-theme="dark"] body.ael-theme-site nav.aeu-header3 .top-search{background:#081526!important}
html[data-ael-theme="dark"] body.ael-theme-site nav.aeu-header3 .top-search input{background:#0F2238!important;color:#F1F5FA!important;border-color:#2F4A6E!important}
html[data-ael-theme="dark"] body.ael-theme-site nav.aeu-header3 .top-search input::placeholder{color:#8B98AB}
/* The search panel's white sheet is painted by ::after; the input only has a left radius/border. */
html[data-ael-theme="dark"] body.ael-theme-site nav.aeu-header3 .top-search::after{background:#081526!important}
html[data-ael-theme="dark"] body.ael-theme-site nav.aeu-header3 .top-search{box-shadow:0 14px 30px -14px rgba(0,0,0,.85)!important}
html[data-ael-theme="dark"] body.ael-theme-site nav.aeu-header3 .top-search input{border:1px solid #2F4A6E!important;border-radius:10px!important;padding-right:56px!important}
html[data-ael-theme="dark"] body.ael-theme-site nav.aeu-header3 .top-auth-primary{background:#2FCBB1!important;color:#081526!important;border-color:#2FCBB1!important}
/* Top bar "Giriş Yap": the custom CSS paints it white for the teal light-mode bar; on the dark bar use the accent. */
html[data-ael-theme="dark"] body.ael-theme-site .top-bar-area a.top-auth-primary{background:#2FCBB1!important;color:#081526!important;border-color:#2FCBB1!important}
html[data-ael-theme="dark"] body.ael-theme-site .top-bar-area a.top-auth-primary:is(:hover,:focus-visible){background:#5FDCC6!important;border-color:#5FDCC6!important;color:#081526!important}
html[data-ael-theme="dark"] body.ael-theme-site nav.navbar.aeu-header3.no-background.dark .attr-right .attr-nav>ul>li.search>a,
html[data-ael-theme="dark"] body.ael-theme-site nav.navbar.aeu-header3 .attr-right .attr-nav>ul>li.search>a{background:transparent!important;border:1px solid #2F4A6E!important;color:#F1F5FA!important;box-shadow:none!important}

/* Theme components and Elementor widgets */
html[data-ael-theme="dark"] body.ael-theme-site .mini-card-style-one,
html[data-ael-theme="dark"] body.ael-theme-site .home-blog-style-two-item,
html[data-ael-theme="dark"] body.ael-theme-site .home-blog-style-two-item .info,
html[data-ael-theme="dark"] body.ael-theme-site .blog-style-one-item,
html[data-ael-theme="dark"] body.ael-theme-site .blog-style-two-item,
html[data-ael-theme="dark"] body.ael-theme-site .blog-area .item,
html[data-ael-theme="dark"] body.ael-theme-site .card,
html[data-ael-theme="dark"] body.ael-theme-site .accordion-item,
html[data-ael-theme="dark"] body.ael-theme-site .faq-style-one details,
html[data-ael-theme="dark"] body.ael-theme-site .widget,
html[data-ael-theme="dark"] body.ael-theme-site .comments-area,
html[data-ael-theme="dark"] body.ael-theme-site .admission-form-items,
html[data-ael-theme="dark"] body.ael-theme-site .admission-form-style-one{background-color:#0B1A2E!important;border-color:#22395A!important;color:#B4BFCF!important;box-shadow:0 16px 40px -24px rgba(0,0,0,.8)}
html[data-ael-theme="dark"] body.ael-theme-site .home-blog-style-two-item .info h3 a,
html[data-ael-theme="dark"] body.ael-theme-site .blog-area h3 a,
html[data-ael-theme="dark"] body.ael-theme-site .mini-card-style-one h4,
html[data-ael-theme="dark"] body.ael-theme-site .btn-read-more{color:#F1F5FA!important}
html[data-ael-theme="dark"] body.ael-theme-site .home-blog-style-two-item .info p,
html[data-ael-theme="dark"] body.ael-theme-site .about-style-one-info p{color:#B4BFCF!important}
html[data-ael-theme="dark"] body.ael-theme-site .home-blog-style-two-item{box-shadow:0 12px 34px -22px rgba(0,0,0,.9)}

/* Single post: the article itself carries .item, but it is a page body, not a card (no padding). */
html[data-ael-theme="dark"] body.ael-theme-site .blog-area.single .blog-content>.item,
html[data-ael-theme="dark"] body.ael-theme-site .blog-area.single .comments-area{background:transparent!important;border-color:transparent!important;box-shadow:none!important}
/* Single post: content pasted from Docs carries inline black text; let it follow the theme instead. */
html[data-ael-theme="dark"] body.ael-theme-site .blog-area.single .blog-item-box .info [style*="color"]{color:inherit!important;background-color:transparent!important}
html[data-ael-theme="dark"] body.ael-theme-site .blog-area.single .blog-item-box .meta li,
html[data-ael-theme="dark"] body.ael-theme-site .blog-area.single .blog-item-box .meta a{color:#8B98AB!important}
/* Single post sidebar: search + recent posts widgets ship with light boxes. */
html[data-ael-theme="dark"] body.ael-theme-site .blog-area .sidebar .sidebar-item{background:#0B1A2E!important;border:1px solid #22395A!important;color:#B4BFCF}
html[data-ael-theme="dark"] body.ael-theme-site .blog-area .sidebar .wp-block-search__inside-wrapper{border-color:#2F4A6E!important;background:#081526!important}
html[data-ael-theme="dark"] body.ael-theme-site .blog-area .sidebar .wp-block-search__input{background:#081526!important;color:#F1F5FA!important}
html[data-ael-theme="dark"] body.ael-theme-site .blog-area .sidebar .wp-block-search__button{background:#2FCBB1!important;color:#081526!important;border-color:#2FCBB1!important}
html[data-ael-theme="dark"] body.ael-theme-site .blog-area .sidebar .aeu-rp-item{border-color:#22395A!important}
html[data-ael-theme="dark"] body.ael-theme-site .blog-area .sidebar .aeu-rp-link{color:#DCE6F0!important}
html[data-ael-theme="dark"] body.ael-theme-site .blog-area .sidebar .aeu-rp-link:hover,
html[data-ael-theme="dark"] body.ael-theme-site .blog-area .sidebar .aeu-rp-link:focus-visible{color:#2FCBB1!important}

/* Home: keep the About Style Five feature icons legible on the dark palette. */
html[data-ael-theme="dark"] body.ael-theme-site .about-style-five-area .info-style-one ul.list-style-five{
  border-color:#2F4A6E;
}
html[data-ael-theme="dark"] body.ael-theme-site .about-style-five-area ul.list-style-five li .icon i{
  background:#102C3D!important;
  color:#2FCBB1!important;
  border:1px solid #2F4A6E;
  box-shadow:inset 0 0 0 1px rgba(47,203,177,.08),0 10px 24px -18px rgba(0,0,0,.9);
}
html[data-ael-theme="dark"] body.ael-theme-site .about-style-five-area ul.list-style-five li .info h4{
  color:#F1F5FA!important;
}
html[data-ael-theme="dark"] body.ael-theme-site .about-style-five-area ul.list-style-five li .info p{
  color:#B4BFCF!important;
}

/* Home: replace the translucent light carousel surfaces with a true dark treatment. */
html[data-ael-theme="dark"] body.ael-theme-site .bg-gray-gradient-secondary .category-swiper-nav{
  background:linear-gradient(145deg,#102C3D 0%,#0B1A2E 100%)!important;
  color:#F1F5FA!important;
  border-color:#2F4A6E!important;
  box-shadow:0 18px 36px -28px rgba(0,0,0,.9);
}
html[data-ael-theme="dark"] body.ael-theme-site .bg-gray-gradient-secondary .category-swiper-nav>div{
  background:#2FCBB1!important;
  box-shadow:0 8px 20px -12px rgba(47,203,177,.8);
}
html[data-ael-theme="dark"] body.ael-theme-site .bg-gray-gradient-secondary .category-swiper-nav>div::after{
  color:#081526!important;
}
html[data-ael-theme="dark"] body.ael-theme-site .bg-gray-gradient-secondary .category-swiper-nav>div.category-pagination{
  background:transparent!important;
  box-shadow:none;
  color:#F1F5FA!important;
}
html[data-ael-theme="dark"] body.ael-theme-site .bg-gray-gradient-secondary .category-style-one-item{
  background:#0B1A2E!important;
  border:1px solid #2F4A6E!important;
  box-shadow:0 18px 38px -28px rgba(0,0,0,.95)!important;
}
html[data-ael-theme="dark"] body.ael-theme-site .bg-gray-gradient-secondary .category-style-one-item h4 a{
  color:#F1F5FA!important;
}
html[data-ael-theme="dark"] body.ael-theme-site .bg-gray-gradient-secondary .category-style-one-item p{
  color:#B4BFCF!important;
}

/* Home: Featured Universities shortcode ships with hard-coded light card colors. */
html[data-ael-theme="dark"] body.ael-theme-site .aeu-fu-section .aeu-fu-title{
  color:#F1F5FA!important;
}
html[data-ael-theme="dark"] body.ael-theme-site .aeu-fu-section .aeu-fu-card{
  background:#0B1A2E!important;
  border-color:#2F4A6E!important;
  box-shadow:0 18px 38px -28px rgba(0,0,0,.95)!important;
  transition:transform .22s ease,border-color .22s ease,box-shadow .22s ease;
}
html[data-ael-theme="dark"] body.ael-theme-site .aeu-fu-section .aeu-fu-card:hover,
html[data-ael-theme="dark"] body.ael-theme-site .aeu-fu-section .aeu-fu-card:focus-visible{
  transform:translateY(-4px);
  border-color:#2FCBB1!important;
  box-shadow:0 24px 48px -28px rgba(0,0,0,.98)!important;
}
html[data-ael-theme="dark"] body.ael-theme-site .aeu-fu-section .aeu-fu-thumb{
  background:#10243D!important;
}
html[data-ael-theme="dark"] body.ael-theme-site .aeu-fu-section .aeu-fu-card h3{
  color:#F1F5FA!important;
}
html[data-ael-theme="dark"] body.ael-theme-site .aeu-fu-section .aeu-fu-card p{
  color:#B4BFCF!important;
}

/* About page: mission/vision cards and the statistics CTA. */
body.page-id-11162{
  --ael-about-card:#fff;
  --ael-about-card-hover:#fbfdfd;
  --ael-about-ink:#101828;
  --ael-about-copy:#475467;
  --ael-about-line:#DDE5EE;
  --ael-about-accent:#1CB098;
  --ael-about-shadow:0 22px 54px -34px rgba(16,24,40,.42);
}
html[data-ael-theme="dark"] body.page-id-11162{
  --ael-about-card:#0B1A2E;
  --ael-about-card-hover:#10243D;
  --ael-about-ink:#F1F5FA;
  --ael-about-copy:#B4BFCF;
  --ael-about-line:#2F4A6E;
  --ael-about-accent:#2FCBB1;
  --ael-about-shadow:0 24px 60px -34px rgba(0,0,0,.92);
}
body.page-id-11162 .elementor-element-9fd6114>.e-con-inner{
  gap:24px!important;
  align-items:stretch!important;
}
body.page-id-11162 .elementor-element-7f2ad82,
body.page-id-11162 .elementor-element-f5a6222{
  min-height:315px;
  padding:34px!important;
  overflow:hidden;
  border:1px solid var(--ael-about-line)!important;
  border-top:4px solid var(--ael-about-accent)!important;
  border-radius:22px!important;
  background-color:var(--ael-about-card)!important;
  box-shadow:var(--ael-about-shadow);
  transition:transform .22s ease,border-color .22s ease,background-color .22s ease,box-shadow .22s ease;
}
body.page-id-11162 .elementor-element-7f2ad82:hover,
body.page-id-11162 .elementor-element-f5a6222:hover{
  transform:translateY(-4px);
  border-color:var(--ael-about-accent)!important;
  background-color:var(--ael-about-card-hover)!important;
  box-shadow:0 28px 64px -34px rgba(28,176,152,.42);
}
body.page-id-11162 .elementor-element-7f2ad82>.elementor-shape-top,
body.page-id-11162 .elementor-element-f5a6222>.elementor-shape-top{
  display:none!important;
}
body.page-id-11162 .elementor-element-fd6ea10,
body.page-id-11162 .elementor-element-6bc1829{
  margin-bottom:8px!important;
  align-self:center!important;
}
body.page-id-11162 .elementor-element-fd6ea10 img,
body.page-id-11162 .elementor-element-6bc1829 img{
  width:56px!important;
  height:56px!important;
  object-fit:contain!important;
}
body.page-id-11162 .elementor-element-64c76e5 .elementor-heading-title,
body.page-id-11162 .elementor-element-8233647 .elementor-heading-title{
  margin:0!important;
  color:var(--ael-about-ink)!important;
  font-size:30px!important;
  line-height:1.2!important;
  text-align:center!important;
}
body.page-id-11162 .elementor-element-eb65ff5 p,
body.page-id-11162 .elementor-element-927181e p{
  margin:0!important;
  color:var(--ael-about-copy)!important;
  font-size:16px!important;
  line-height:1.75!important;
}
body.page-id-11162 .elementor-element-b88c40e .advantages-info .btn.btn-light{
  background:#fff!important;
  color:#0E2A47!important;
  border:1px solid rgba(255,255,255,.9)!important;
  box-shadow:0 14px 30px -18px rgba(0,0,0,.48)!important;
  font-weight:800!important;
  transition:transform .2s ease,background-color .2s ease,color .2s ease,box-shadow .2s ease!important;
}
body.page-id-11162 .elementor-element-b88c40e .advantages-info .btn.btn-light:hover,
body.page-id-11162 .elementor-element-b88c40e .advantages-info .btn.btn-light:focus-visible{
  transform:translateY(-2px);
  background:#081526!important;
  color:#fff!important;
  border-color:#081526!important;
  box-shadow:0 18px 34px -18px rgba(0,0,0,.68)!important;
}
body.page-id-11162 .elementor-element-b88c40e .advantages-info .btn.btn-light:focus-visible{
  outline:3px solid rgba(255,255,255,.55);
  outline-offset:3px;
}
@media(max-width:767px){
  body.page-id-11162 .elementor-element-9fd6114{
    --padding-top:38px;--padding-bottom:38px;--padding-left:18px;--padding-right:18px;
  }
  body.page-id-11162 .elementor-element-7f2ad82,
  body.page-id-11162 .elementor-element-f5a6222{
    min-height:0;
    padding:27px 22px!important;
  }
  body.page-id-11162 .elementor-element-64c76e5 .elementor-heading-title,
  body.page-id-11162 .elementor-element-8233647 .elementor-heading-title{font-size:26px!important}
}

/* Text-like fields only: submit/button inputs keep their own (coloured) styling, e.g. the landing "Formu Gönder". */
html[data-ael-theme="dark"] body.ael-theme-site input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="submit"]):not([type="button"]):not([type="reset"]):not([type="image"]),
html[data-ael-theme="dark"] body.ael-theme-site select,
html[data-ael-theme="dark"] body.ael-theme-site textarea{background:#0F2238!important;color:#F1F5FA!important;border-color:#2F4A6E!important}
html[data-ael-theme="dark"] body.ael-theme-site input::placeholder,
html[data-ael-theme="dark"] body.ael-theme-site textarea::placeholder{color:#8B98AB!important;opacity:1}
html[data-ael-theme="dark"] body.ael-theme-site table,
html[data-ael-theme="dark"] body.ael-theme-site th,
html[data-ael-theme="dark"] body.ael-theme-site td{border-color:#22395A;color:#DCE6F0}
html[data-ael-theme="dark"] body.ael-theme-site th{background:#0F2238}

/* University detail and the older program finder use their own token set. */
html[data-ael-theme="light"] .aeu-pf{
  --pf-bg:#fff;--pf-bg-2:#F0F7FF;--pf-surface:#fff;
  --pf-ink:#04000B;--pf-ink-2:#666;--pf-line:#E5EAF2;
  --pf-primary:#1CB098;--pf-primary-deep:#158C79;--pf-primary-soft:#E4F6F2;--pf-primary-line:#B9E5DE;
  --pf-yellow-ink:#4A4000;--pf-yellow-soft:#FFF8B8;
  --pf-red-soft:#FDE7E7;--pf-red-ink:#8A1E1E;--pf-green-soft:#E4F6F2;--pf-green-ink:#0F6E5E;
  --pf-shadow:0 15px 60px -10px rgba(109,117,143,.33);
  background:#fff;color:#666;
}
html[data-ael-theme="light"] .aeu-pf .un-main{background:#fff}
html[data-ael-theme="light"] .aeu-pf .un-subnav{background:rgba(255,255,255,.92);border-color:#E5EAF2}
html[data-ael-theme="light"] .aeu-pf .un-subnav::after{background:linear-gradient(to right,transparent,rgba(255,255,255,.95))}
html[data-ael-theme="light"] .aeu-pf .un-mob-cta{background:#fff;border-color:#E5EAF2}
html[data-ael-theme="light"] .aeu-pf .un-tbl-wrap::after{background:linear-gradient(to right,transparent,#fff)}

html[data-ael-theme="dark"] .aeu-pf{
  --pf-bg:#081526;--pf-bg-2:#0F2238;--pf-surface:#0B1A2E;
  --pf-ink:#F1F5FA;--pf-ink-2:#B4BFCF;--pf-line:#22395A;
  --pf-primary:#2FCBB1;--pf-primary-deep:#52D9C2;--pf-primary-soft:#123B38;--pf-primary-line:#1F5C55;
  --pf-yellow-ink:#FFE824;--pf-yellow-soft:#3D3608;
  --pf-red-soft:#3B1A1A;--pf-red-ink:#F2A0A0;--pf-green-soft:#123B38;--pf-green-ink:#8FE3D1;
  --pf-shadow:0 15px 60px -10px rgba(0,0,0,.6);
  background:#081526;color:#B4BFCF;
}
html[data-ael-theme="dark"] .aeu-pf .un-main{background:#081526}
html[data-ael-theme="dark"] .aeu-pf .un-subnav{background:rgba(11,26,46,.94);border-color:#22395A}
html[data-ael-theme="dark"] .aeu-pf .un-subnav::after{background:linear-gradient(to right,transparent,rgba(11,26,46,.98))}
html[data-ael-theme="dark"] .aeu-pf .un-mob-cta{background:#0B1A2E;border-color:#22395A}
html[data-ael-theme="dark"] .aeu-pf .pf-btn-light{background:#F1F5FA;color:#081526}
html[data-ael-theme="dark"] .aeu-pf .un-tbl-wrap::after{background:linear-gradient(to right,transparent,#0B1A2E)}
html[data-ael-theme="dark"] .aeu-pf .pf-hero{background:linear-gradient(90deg,#0F2238 30%,#081526 100%)}
html[data-ael-theme="dark"] .aeu-pf .pf-kicker{background:#0B1A2E}

/* WooCommerce and account screens */
html[data-ael-theme="dark"] body.ael-theme-site .woocommerce form.login,
html[data-ael-theme="dark"] body.ael-theme-site .woocommerce form.register,
html[data-ael-theme="dark"] body.ael-theme-site .woocommerce-cart-form,
html[data-ael-theme="dark"] body.ael-theme-site .cart_totals,
html[data-ael-theme="dark"] body.ael-theme-site .woocommerce-checkout-review-order,
html[data-ael-theme="dark"] body.ael-theme-site .woocommerce-MyAccount-navigation,
html[data-ael-theme="dark"] body.ael-theme-site .woocommerce-MyAccount-content{background:#0B1A2E!important;border-color:#22395A!important;color:#B4BFCF}
html[data-ael-theme="dark"] body.ael-theme-site .woocommerce table.shop_table{background:#0B1A2E;border-color:#22395A}

/* Consent banner follows the active site theme as well. */
html[data-ael-theme="dark"] body .cky-consent-container .cky-consent-bar,
html[data-ael-theme="dark"] body .cky-modal{background:#0B1A2E!important;border-color:#22395A!important;color:#B4BFCF!important}
html[data-ael-theme="dark"] body .cky-consent-container .cky-title,
html[data-ael-theme="dark"] body .cky-consent-container .cky-notice-des,
html[data-ael-theme="dark"] body .cky-modal h1,
html[data-ael-theme="dark"] body .cky-modal h2,
html[data-ael-theme="dark"] body .cky-modal p{color:#F1F5FA!important}

/* The welcome campaign is a single light artwork; transform it as one unit. */
html[data-ael-theme="dark"] body .aeu-popup__panel{background:#0B1A2E!important;border:1px solid #2F4A6E;box-shadow:0 24px 80px rgba(0,0,0,.65)}
html[data-ael-theme="dark"] body .aeu-popup__image{filter:invert(.92) hue-rotate(180deg) saturate(.9) brightness(.95)}
html[data-ael-theme="dark"] body .aeu-popup__close{background:#0B1A2E!important;color:#F1F5FA!important;border-color:#DCE6F0!important}

/* PRISM chart (home, PRISM page, Üniversite Bulucu): dark-theme artwork on the same 2245x1587 canvas as the light
   file. object-position pushes the light image out of its own box and the dark one is painted as that box's
   background, so size and layout stay exactly as in light mode. */
html[data-ael-theme="dark"] body.ael-theme-site img[src*="PRISM-Gorseli"]{object-position:-99999px 0;background:url(../images/prism-gorseli-dark.webp) center/contain no-repeat}
/* The small PRISM logo laid over the chart sits on the chart's white report sheet: the dark-text logo vanishes on the
   dark page and a white one vanishes on the sheet. The dark artwork already carries the PRISM logo, so drop it. */
html[data-ael-theme="dark"] body.ael-theme-site .prism-visual img.prism-logo{display:none!important}
html[data-ael-theme="dark"] body.ael-theme-site .bottom-info>.left:has(img[src*="/prism-logo.png"]){display:none!important}
html[data-ael-theme="dark"] body.ael-theme-site .bottom-info:has(>.left img[src*="/prism-logo.png"]){grid-template-columns:1fr;margin-left:0}/* the theme pulls this row -35% so the logo box overlaps the chart */

/* PRISM page, "Yetkili Uygulayıcı" block: its white wave divider is invisible on the light page but sits over the
   heading/text in dark mode, and the small dark-text PRISM logo vanishes; drop the waves, use the white logo. */
html[data-ael-theme="dark"] body.ael-theme-site .elementor-element-61fdb47>.elementor-shape{display:none}
html[data-ael-theme="dark"] body.ael-theme-site .elementor-element-64720ff img{opacity:0}
html[data-ael-theme="dark"] body.ael-theme-site .elementor-element-64720ff{background:url(../images/prism-logo-dark.webp) center/contain no-repeat}

/* Footer is kept on the same dark family, without a visible theme seam. */
html[data-ael-theme="dark"] body.ael-theme-site footer,
html[data-ael-theme="dark"] body.ael-theme-site .footer-area,
html[data-ael-theme="dark"] body.ael-theme-site .footer-bottom{background-color:#050E1A!important;border-color:#22395A!important;color:#B4BFCF}
html[data-ael-theme="dark"] body.ael-theme-site footer h1,
html[data-ael-theme="dark"] body.ael-theme-site footer h2,
html[data-ael-theme="dark"] body.ael-theme-site footer h3,
html[data-ael-theme="dark"] body.ael-theme-site footer h4,
html[data-ael-theme="dark"] body.ael-theme-site footer a{color:#DCE6F0}
/* Footer "Yol Haritanız" circles: the theme paints every other circle solid white. */
html[data-ael-theme="dark"] body.ael-theme-site ul.facilities-list li a{background:#0B1A2E!important;border-color:#2F4A6E!important;color:#F1F5FA!important}
html[data-ael-theme="dark"] body.ael-theme-site ul.facilities-list li:nth-child(2n) a{background:#102C3D!important}
/* Footer payment logos (Param / Visa / Mastercard; TR footer 0b91dcc, EN footer 4b6534a) are drawn for a light page;
   give them equal light tiles. */
html[data-ael-theme="dark"] body.ael-theme-site footer :is(.elementor-element-0b91dcc,.elementor-element-4b6534a) .elementor-widget-image img{background:#fff;border-radius:10px;padding:8px 12px;box-sizing:border-box;width:104px!important;height:56px!important;max-width:none!important;object-fit:contain}
/* Footer newsletter messages (assets/js/newsletter.js), shown under the email row. */
.f-item.newsletter .ael-nl-msg{margin:8px 0 0;font-size:13.5px;line-height:1.45;font-weight:500}
.f-item.newsletter .ael-nl-msg:empty{display:none}
.f-item.newsletter .ael-nl-msg.is-ok{color:#15803D}
.f-item.newsletter .ael-nl-msg.is-err{color:#DC2626}
.f-item.newsletter input[aria-invalid="true"]{box-shadow:0 0 0 2px rgba(220,38,38,.6)!important}
.f-item.newsletter button[type="submit"]:disabled{opacity:.85;cursor:default}
html[data-ael-theme="dark"] body.ael-theme-site .f-item.newsletter .ael-nl-msg.is-ok{color:#4ADE80}
html[data-ael-theme="dark"] body.ael-theme-site .f-item.newsletter .ael-nl-msg.is-err{color:#F87171}
html[data-ael-theme="dark"] body.ael-theme-site .f-item.newsletter input[aria-invalid="true"]{box-shadow:0 0 0 2px rgba(248,113,113,.7)!important}
/* Keep the copyright line clear of the fixed chat (left) and back-to-top (right) buttons. */
footer .footer-bottom{padding-bottom:88px!important}

/* Teal sections (.text-light) expect inherited white text; the dark palette's p/li colour broke that. */
html[data-ael-theme="dark"] body.ael-theme-site .text-light :is(p,li){color:inherit}

/* Single post previous/next links */
html[data-ael-theme="dark"] body.ael-theme-site .post-pagi-area a{color:#8B98AB}
html[data-ael-theme="dark"] body.ael-theme-site .post-pagi-area h5{color:#F1F5FA}
html[data-ael-theme="dark"] body.ael-theme-site .post-pagi-area a .icon{border-color:#2F4A6E;color:#F1F5FA}

@media (max-width:767px){
  /* Payment logos: one row instead of a 310px stack; the column's -20px margin let the copyright bar cover the last logo. */
  footer :is(.elementor-element-0b91dcc,.elementor-element-4b6534a){display:flex!important;justify-content:center;align-items:center;gap:10px;width:100%!important;padding:0 12px 28px}
  footer :is(.elementor-element-0b91dcc,.elementor-element-4b6534a)>.elementor-widget-image{flex:0 1 104px;width:auto!important;margin:0!important}
  /* "Güvenli Ödeme" / "Secure Payment" headings: line up with the other footer headings (12px). */
  footer :is(.elementor-element-3519da9,.elementor-element-0f3ba7b){margin:0 12px 12px!important}
  footer :is(.elementor-element-0b91dcc,.elementor-element-4b6534a) .elementor-widget-image img{width:100%!important;height:52px!important;max-width:none!important;margin:0!important;object-fit:contain}
  html[data-ael-theme="dark"] body.ael-theme-site .post-pagi-area a{background:#0F2238!important;border:1px solid #2F4A6E!important;color:#DCE6F0!important}
}
@media (max-width:991px){
  html[data-ael-theme="dark"] body.ael-theme-site nav.aeu-header3 #navbar-menu{background:#0F2238!important;border-color:#2F4A6E!important}
  html[data-ael-theme="dark"] body.ael-theme-site #navbar-menu ul.nav>li>a{border-color:#2F4A6E!important}
  html[data-ael-theme="dark"] body.ael-theme-site #navbar-menu .aeu-mobile-auth-lang .lang-menu li:not(.current-lang)>a{background:transparent!important;color:#F1F5FA!important;border-color:#2F4A6E!important}
  nav.aeu-header3 .attr-right .attr-nav>ul{display:flex!important;align-items:center!important;gap:7px!important}
  /* Search: validnavs gives .top-search a 400px sheet with the field floating in the middle, which on a phone
     is a big empty block (and the custom CSS's inset:0 made it fill the screen). Make it a compact bar at the
     top and dim the page underneath instead. */
  nav.aeu-header3 .top-search{height:auto!important;bottom:auto!important;padding:30px 0!important}/* 112px: same as the mobile header */
  nav.aeu-header3 .top-search .container-xl{height:auto}
  nav.aeu-header3 .top-search .input-group{position:relative;top:auto;left:auto;right:auto;transform:none}
  html[data-ael-theme] body.ael-theme-site nav.aeu-header3 .top-search{box-shadow:0 0 0 100vmax rgba(5,14,26,.55)!important}
  .ael-site-theme-toggle{width:40px;height:40px;font-size:18px}
}
@media (prefers-reduced-motion:reduce){.ael-site-theme-toggle{transition:none}}
