.deu-official-footer{background:#003d65;color:#fff}.deu-footer-content{position:relative;overflow:hidden;background:linear-gradient(135deg,rgba(0,43,73,.97),rgba(0,78,121,.94)),url('https://www.deu.edu.tr/file/2019/01/arka.png') center/cover}.deu-footer-grid{position:relative;z-index:1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:2.4rem;padding:3rem 0}.deu-footer-column{min-width:0}.deu-footer-heading,.deu-footer-subheading{display:flex;align-items:center;gap:.5rem;color:#fff;font-size:.72rem;font-weight:700;margin:0 0 .8rem}.deu-footer-widget .widget-title{display:flex;align-items:center;gap:.5rem;color:#fff;font-size:1.05rem;font-weight:800;line-height:1.25;margin:0 0 1rem}.deu-footer-subheading{color:#d8effb;font-size:.68rem;margin-top:1.15rem}.deu-footer-heading i,.deu-footer-subheading i{color:#ffdf80}.deu-footer-links,.deu-footer-widget ul{list-style:none;margin:0;padding:0}.deu-footer-links li+li,.deu-footer-widget li+li{margin-top:.6rem}.deu-footer-links a,.deu-footer-widget a{display:inline-flex;align-items:flex-start;gap:.52rem;color:#f3f8fc;font-size:.78rem;line-height:1.4;transition:color .18s}.deu-footer-links a i{width:15px;color:#ffdf80;font-size:.76rem;margin-top:.2rem;text-align:center}.deu-footer-widget:not(.widget_custom_html) li a:before{content:'\f105';width:15px;color:#ffdf80;font-family:'Font Awesome 6 Free';font-size:.76rem;font-weight:900;text-align:center}.deu-footer-links a:hover,.deu-footer-widget a:hover,.deu-footer-bottom a:hover{color:#ffdf80}.deu-footer-widget+.deu-footer-widget{margin-top:1.15rem}.deu-footer-widget p{color:#d9e5ed;font-size:.78rem;line-height:1.55}.deu-footer-column--actions{display:grid;align-content:start;gap:.55rem}.deu-footer-column--actions .deu-footer-widget{display:grid;gap:.55rem}.deu-footer-column--actions .deu-footer-widget ul{display:grid;gap:.55rem}.deu-footer-column--actions .deu-footer-widget li+li{margin-top:0}.deu-footer-pill,.deu-footer-column--actions .deu-footer-widget a{display:flex;align-items:center;justify-content:center;min-height:34px;border:1px solid rgba(255,255,255,.42);border-radius:18px;color:#fff;padding:.38rem .75rem;font-size:.65rem;font-weight:700;line-height:1.2;text-align:center;text-transform:uppercase;transition:.18s}.deu-footer-column--actions .deu-footer-widget a:before{display:none}.deu-footer-pill:hover,.deu-footer-column--actions .deu-footer-widget a:hover{border-color:#ffdf80;background:#ffdf80;color:#003d65}.deu-footer-badges{display:flex;align-items:center;flex-wrap:wrap;gap:1rem}.deu-footer-badges img:not([width]):not([height]):not([style*="width"]):not([style*="height"]),.deu-footer-badges .wp-block-image:not(.is-resized) img:not([style*="width"]):not([style*="height"]),.deu-footer-column--badges .deu-footer-widget img:not([width]):not([height]):not([style*="width"]):not([style*="height"]),.deu-footer-column--badges .deu-footer-widget .wp-block-image:not(.is-resized) img:not([style*="width"]):not([style*="height"]){max-width:140px;max-height:70px;object-fit:contain}.deu-footer-badges a img:not([width]):not([height]):not([style*="width"]):not([style*="height"]),.deu-footer-badges a .wp-block-image:not(.is-resized) img:not([style*="width"]):not([style*="height"]),.deu-footer-badges .wp-block-image:not(.is-resized) a img:not([style*="width"]):not([style*="height"]){max-width:155px}.deu-footer-column--badges .deu-footer-widget .deu-block-gallery{display:flex;flex-wrap:wrap;gap:1rem;margin:0}.deu-footer-column--badges .deu-footer-widget figure{margin:0}.deu-footer-adep{display:flex;gap:.5rem;color:#ffdf80;font-size:.78rem;font-weight:700;line-height:1.45;margin-top:1.2rem}.deu-footer-adep i{margin-top:.2rem}.deu-footer-bottom{border-top:1px solid rgba(255,255,255,.18);background:#002b49;color:#d9e5ed;padding:1.15rem 0;text-align:center}.deu-footer-bottom p{font-size:.75rem;line-height:1.55;margin:.2rem 0}.deu-footer-bottom a{color:#fff}.deu-footer-bottom .deu-footer-widget p{font-size:.75rem;line-height:1.55;margin:.2rem 0}@media(max-width:1000px){.deu-footer-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:2rem}.deu-footer-column--badges{grid-column:span 2}}@media(max-width:600px){.deu-footer-grid{grid-template-columns:1fr;gap:1.75rem;padding:2.25rem 0}.deu-footer-column--badges{grid-column:auto}.deu-footer-badges img:not([width]):not([height]):not([style*="width"]):not([style*="height"]),.deu-footer-badges .wp-block-image:not(.is-resized) img:not([style*="width"]):not([style*="height"]),.deu-footer-column--badges .deu-footer-widget img:not([width]):not([height]):not([style*="width"]):not([style*="height"]),.deu-footer-column--badges .deu-footer-widget .wp-block-image:not(.is-resized) img:not([style*="width"]):not([style*="height"]){max-width:120px;max-height:60px}.deu-footer-bottom{padding:1rem 0}.deu-footer-bottom p,.deu-footer-bottom .deu-footer-widget p{font-size:.7rem}}

/* -------------------------------------------------------
   Footer widget içi görseller – yan yana düzeni koru
   Widget'lara (Custom HTML / Text) yan yana görsel
   eklendiğinde önyüzde de editördeki gibi görünmeli.
------------------------------------------------------- */

/* Widget içindeki <p> tag'lerini inline'a çek,
   böylece içlerindeki img'ler akıcı olarak sıralanır. */
.deu-footer-widget p:has(> img),
.deu-footer-column .widget_text p:has(> img),
.deu-footer-column .widget_custom_html p:has(> img) {
  display: inline-block;
  vertical-align: top;
  margin: 0 .5rem .5rem 0;
}

/* Görsellerin kendisini inline-block yap */
.deu-footer-widget img,
.deu-footer-column .widget_text img,
.deu-footer-column .widget_custom_html img {
  display: inline-block !important;
  vertical-align: top;
  max-width: 100%;
  height: auto;
}

/* alignnone / aligncenter class'ları gelirse
   bunları da inline-block olarak işle */
.deu-footer-widget img.alignnone,
.deu-footer-widget img.aligncenter,
.deu-footer-widget img.alignleft,
.deu-footer-widget img.alignright {
  display: inline-block !important;
  float: none !important;
  vertical-align: top;
  margin: 0 .5rem .5rem 0;
}

/* Gutenberg Gallery bloğu veya Figure blokları için */
.deu-footer-widget .deu-block-gallery,
.deu-footer-widget .gallery {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin: 0;
}

.deu-footer-widget .deu-block-gallery figure,
.deu-footer-widget .gallery-item {
  margin: 0;
  flex: 0 1 auto;
}

/* -------------------------------------------------------
   Footer arka plan görseli – efekt izolasyonu
------------------------------------------------------- */

/* Keep image effects separate from footer content and links. */
.deu-footer-content {
  isolation: isolate;
  background-color: #003d65;
  background-image: none !important;
}

.deu-footer-content::before,
.deu-footer-content::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
}

.deu-footer-content::before {
  z-index: -2;
  filter: var(--deu-footer-image-effect, none);
}

/* Görsel, footer görünür alana yaklaşınca script.js tarafından eklenen sınıfla indirilir. */
.deu-footer-content.is-bg-loaded::before {
  background: var(--deu-footer-image, url('https://www.deu.edu.tr/file/2019/01/arka.png')) center/cover no-repeat;
}

.deu-footer-content::after {
  z-index: -1;
  background: linear-gradient(to top, rgba(0, 43, 73, var(--deu-footer-image-bottom-opacity, .34)) 0%, rgba(0, 43, 73, var(--deu-footer-image-middle-opacity, .58)) 55%, #003d65 100%);
}
/* Bileşende genişlik/yükseklik verilmiş logolar ayarlandığı boyutta gösterilir; yalnızca taşmaları engellenir. */
.deu-footer-badges img,.deu-footer-column--badges .deu-footer-widget img{max-width:100%}
