/* ---- BRAND COLORS ---- */
:root {
  /* AUT Brand — Primary: dark blue, Accent: teal, Highlight: green */
  --color-primary:      #00004f;
  --color-secondary:    #00004f;
  --color-blue:         #0080d0;
  --color-sky:          #39a935;
  --color-body:         #4a5568;
  --color-heading-1:    #00004f;
  --color-title:        #00004f;
  --color-heading-dark: #00004f;
  --bg-dark-1:          #1a2a4f;
  --color-border:       #b8d4e8;
}

/* Button overrides — teal primary action */
.rts-btn.btn-primary {
  background: #0080d0;
  color: #fff;
}

.rts-btn.btn-primary::before {
  background: #00004f;
}

.rts-btn.btn-primary:hover {
  background: #00004f;
  color: #fff;
}

/* Links */
a:hover {
  color: #0080d0;
}

/* new colors */

.left-thumbnail-about-area-two .counter-about-area {
  background: #0080d0
}

/* ---- TOP NAVIGATION ---- */
/* Top bar — AUT dark blue */
.header-top-area-wrapper {
  background: #00004f;
}

.header-top-one-wrapper .right {
  display: flex;
  align-items: center;
}

.lang-switcher {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: 12px;
}

.lang-btn {
  padding: 2px 10px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.6);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 3px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
  line-height: 1.4;
}

.lang-btn:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
}

.lang-btn.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.4);
}

[dir="rtl"] .lang-switcher {
  margin-left: 0;
  margin-right: 12px;
}

/* Logo dimensions */
.header-main-one-wrapper .thumbnail img {
  max-height: 80px;
  width: auto;
}

@media (max-width: 575px) {
  .header-main-one-wrapper .thumbnail img {
    max-height: 50px;
  }
}

/* ---- FLASH DIALOG ---- */
.cmsflash-overlay{position:fixed;inset:0;z-index:99999;background:rgba(0,0,0,.55);backdrop-filter:blur(4px);display:flex;align-items:center;justify-content:center;padding:1rem;font-size:16px}
.cmsflash-card{background:#fff;border-radius:12px;width:100%;overflow:hidden;box-shadow:0 20px 60px rgba(0,0,0,.3);animation:cmsflashIn .3s ease;position:relative}
@keyframes cmsflashIn{from{opacity:0;transform:scale(.92)}to{opacity:1;transform:scale(1)}}
.cmsflash-toolbar{display:flex;align-items:center;justify-content:flex-end;padding:.25rem .5rem}
.cmsflash-title{margin:0 0 .75rem;font-size:1.3rem;color:#1a1a1a}
.cmsflash-close{display:flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:50%;border:none;background:transparent;cursor:pointer;color:#666;flex-shrink:0;transition:background .2s,color .2s}
.cmsflash-close:hover{background:#e0e0e0;color:#000}
.cmsflash-img{width:100%;max-height:220px;object-fit:cover;display:block}
.cmsflash-body{padding:1.5rem}
.cmsflash-text{color:#444;line-height:1.6;margin-bottom:1rem}
.cmsflash-btn{display:inline-block;padding:.6rem 1.5rem;background:#1565c0;color:#fff;text-decoration:none;border-radius:6px;font-weight:500;transition:background .2s}
.cmsflash-btn:hover{background:#0d47a1}
.cmsflash-minimize{display:flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:50%;border:none;background:transparent;cursor:pointer;color:#666;flex-shrink:0;transition:background .2s,color .2s}
.cmsflash-minimize:hover{background:#e0e0e0;color:#000}
.cmsflash-pill{display:none;align-items:center;gap:8px;padding:10px 16px;background:#1565c0;border:none !important;border-radius:24px;color:#fff !important;font-size:16px;font-weight:600;cursor:pointer;box-shadow:0 4px 20px rgba(0,0,0,.3);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;transition:transform .15s,box-shadow .15s;position:fixed;bottom:20px;left:50%;transform:translateX(-50%);z-index:99999;width:auto !important;max-width:calc(100vw - 40px);white-space:nowrap}
.cmsflash-pill:hover{transform:translateX(-50%) scale(1.05);box-shadow:0 6px 24px rgba(0,0,0,.4)}
.cmsflash-pill svg{opacity:.8}

/* ---- QUICK LINKS ---- */
#cmsQLinks{font-size:16px}
.cmsql-float{position:fixed;left:0;top:50%;transform:translateY(-50%);z-index:99997}
.cmsql-float-toggle{width:36px;height:36px;border-radius:0 8px 8px 0;border:none;background:#1565c0;color:#fff;cursor:pointer;display:flex;align-items:center;justify-content:center;box-shadow:2px 2px 8px rgba(0,0,0,.2);transition:border-radius .3s}
.cmsql-float-panel{position:absolute;left:0;top:0;display:flex;flex-direction:column;gap:2px;background:#1565c0ee;border-radius:0 10px 10px 0;padding:6px;opacity:0;pointer-events:none;transform:translateX(-8px);transition:all .25s ease;min-width:180px;backdrop-filter:blur(8px)}
.cmsql-float:hover .cmsql-float-panel,.cmsql-float.expanded .cmsql-float-panel{opacity:1;pointer-events:auto;transform:translateX(0)}
.cmsql-float:hover .cmsql-float-toggle,.cmsql-float.expanded .cmsql-float-toggle{opacity:0;pointer-events:none}
.cmsql-float-btn{display:flex;align-items:center;gap:8px;padding:8px 12px;color:#fff;text-decoration:none;border-radius:6px;font-size:.8em;transition:background .2s;border:none;background:none;cursor:pointer;font-family:inherit;white-space:nowrap}
.cmsql-float-btn:hover{background:rgba(255,255,255,.2)}
[dir="rtl"] .cmsql-float{left:auto;right:0}
[dir="rtl"] .cmsql-float-toggle{border-radius:8px 0 0 8px}
[dir="rtl"] .cmsql-float-panel{left:auto;right:0;border-radius:10px 0 0 10px;transform:translateX(8px)}
[dir="rtl"] .cmsql-float:hover .cmsql-float-panel,[dir="rtl"] .cmsql-float.expanded .cmsql-float-panel{transform:translateX(0)}
.cmsql-drawer{position:fixed;bottom:0;left:0;right:0;z-index:99996;background:#fff;box-shadow:0 -4px 20px rgba(0,0,0,.15);transition:height .3s ease,transform .3s ease;height:60vh;transform:translateY(100%)}
.cmsql-drawer.open{transform:translateY(0)}
.cmsql-drawer.collapsed{height:40px;transform:translateY(0)}
.cmsql-drawer-header{display:flex;align-items:center;justify-content:space-between;padding:8px 16px;background:#f5f5f5;border-bottom:1px solid #e0e0e0;height:40px;cursor:pointer;user-select:none}
.cmsql-drawer-title{font-weight:600;font-size:.85em;color:#333}
.cmsql-drawer-actions{display:flex;gap:4px}
.cmsql-drawer-collapse,.cmsql-drawer-close{width:28px;height:28px;border:none;background:none;cursor:pointer;border-radius:4px;display:flex;align-items:center;justify-content:center;color:#666;transition:background .2s}
.cmsql-drawer-collapse:hover,.cmsql-drawer-close:hover{background:#e0e0e0}
.cmsql-drawer.collapsed .cmsql-drawer-collapse svg{transform:rotate(180deg)}
.cmsql-drawer-frame{width:100%;height:calc(100% - 40px);border:none}
.cmsql-drawer.collapsed .cmsql-drawer-frame{display:none}

/* ---- QUICK POLL ---- */
.cmspoll-wrap{position:fixed;bottom:20px;right:20px;z-index:99995;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;font-size:18px;width:360px;max-width:calc(100vw - 40px)}
[dir="rtl"] .cmspoll-wrap{right:auto;left:20px}
.cmspoll-card{background:#272727;border-radius:12px;padding:16px;box-shadow:0 8px 32px rgba(0,0,0,.35);animation:cmspollIn .35s ease}
@keyframes cmspollIn{from{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}
.cmspoll-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}
.cmspoll-votes{font-size:.78em;color:rgba(255,255,255,.5);font-weight:500}
.cmspoll-actions{display:flex;align-items:center;gap:2px}
.cmspoll-minimize,.cmspoll-close{display:flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:50%;border:none;background:transparent;cursor:pointer;color:rgba(255,255,255,.5);transition:background .2s,color .2s}
.cmspoll-minimize:hover,.cmspoll-close:hover{background:rgba(255,255,255,.1);color:#fff}
.cmspoll-pill{display:none;align-items:center;gap:8px;padding:10px 16px;background:#272727;border:none;border-radius:24px;color:#fff;font-size:.82em;font-weight:600;cursor:pointer;box-shadow:0 4px 20px rgba(0,0,0,.3);font-family:inherit;transition:transform .15s,box-shadow .15s}
.cmspoll-pill:hover{transform:scale(1.05);box-shadow:0 6px 24px rgba(0,0,0,.4)}
.cmspoll-pill svg{opacity:.8}
.cmspoll-wrap.cmspoll-minimized .cmspoll-card{display:none}
.cmspoll-wrap.cmspoll-minimized .cmspoll-pill{display:flex}
.cmspoll-question{color:#fff;font-size:1em;font-weight:600;line-height:1.4;margin-bottom:14px}
.cmspoll-options{display:flex;flex-direction:column;gap:8px}
.cmspoll-option{position:relative;display:flex;align-items:center;width:100%;padding:11px 14px;background:rgba(255,255,255,.07);border:1.5px solid rgba(255,255,255,.12);border-radius:8px;cursor:pointer;color:#fff;font-size:.88em;text-align:left;transition:background .2s,border-color .2s;overflow:hidden;font-family:inherit}
[dir="rtl"] .cmspoll-option{text-align:right}
.cmspoll-option:hover{background:rgba(255,255,255,.12);border-color:rgba(255,255,255,.2)}
.cmspoll-option-fill{position:absolute;top:0;left:0;height:100%;background:rgba(255,255,255,.1);width:0;transition:width .6s ease;border-radius:6px;pointer-events:none}
[dir="rtl"] .cmspoll-option-fill{left:auto;right:0}
.cmspoll-option-label{position:relative;z-index:1;flex:1}
.cmspoll-option-radio{position:relative;z-index:1;width:18px;height:18px;border-radius:50%;border:2px solid rgba(255,255,255,.3);flex-shrink:0;margin-left:10px;transition:border-color .2s}
[dir="rtl"] .cmspoll-option-radio{margin-left:0;margin-right:10px}
.cmspoll-option:hover .cmspoll-option-radio{border-color:rgba(255,255,255,.5)}
.cmspoll-option-pct{position:relative;z-index:1;font-size:.82em;font-weight:600;color:rgba(255,255,255,.85);min-width:36px;text-align:right;display:none}
[dir="rtl"] .cmspoll-option-pct{text-align:left}
.cmspoll-option-check{position:relative;z-index:1;display:none;color:#4dd0e1;font-size:.9em;margin-left:4px;font-weight:700}
[dir="rtl"] .cmspoll-option-check{margin-left:0;margin-right:4px}
.cmspoll-wrap.cmspoll-voted .cmspoll-option{cursor:default;border-color:transparent}
.cmspoll-wrap.cmspoll-voted .cmspoll-option:hover{background:rgba(255,255,255,.07)}
.cmspoll-wrap.cmspoll-voted .cmspoll-option-radio{display:none}
.cmspoll-wrap.cmspoll-voted .cmspoll-option-pct{display:block}
.cmspoll-wrap.cmspoll-voted .cmspoll-option.cmspoll-selected .cmspoll-option-check{display:inline}
.cmspoll-wrap.cmspoll-voted .cmspoll-option.cmspoll-selected{border-color:rgba(77,208,225,.35)}
.cmspoll-wrap.cmspoll-voted .cmspoll-option .cmspoll-option-fill{transition:width .6s ease}
@media(max-width:420px){.cmspoll-wrap{width:calc(100vw - 24px);right:12px;bottom:12px}[dir="rtl"] .cmspoll-wrap{right:auto;left:12px}}