/*
Theme Name: Wasit Continuing Education Center
Theme URI: https://uowasit.edu.iq/
Author: University of Wasit - Continuing Education Center
Description: قالب عربي مخصص لمنصة مركز التعليم المستمر في جامعة واسط، يتضمن الصفحة الرئيسية واستمارات طرائق التدريس واختبار الصلاحية وسلامة اللغة العربية واللغة الإنكليزية وكفاءة الحاسوب ودورات الترفيع وإدارة الطلبات ومنصة البلاغات والمقترحات ونظام الإعلانات والخطة التدريبية ونتائج الدورات والسير الذاتية للمحاضرين ومكتبة الصور وإحصائيات المركز الشاملة.
Version: 3.78
Requires at least: 6.4
Tested up to: 7.0
Requires PHP: 8.0
Text Domain: wasit-cec
*/

:root {
  --cec-blue: #0754b8;
  --cec-blue-dark: #043b7a;
  --cec-blue-deep: #032c61;
  --cec-gold: #e5a51b;
  --cec-gold-dark: #c88b0d;
  --cec-bg: #f6f8fc;
  --cec-card: #ffffff;
  --cec-text: #102a56;
  --cec-muted: #6f7f98;
  --cec-border: #dfe7f2;
  --cec-success: #1f9d55;
  --cec-danger: #d83b3b;
  --cec-shadow: 0 14px 38px rgba(7, 84, 184, .10);
  --cec-radius: 18px;
  --cec-container: 1440px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  direction: rtl;
  background: var(--cec-bg);
  color: var(--cec-text);
  font-family: "Cairo", "Tajawal", "Segoe UI", Tahoma, Arial, sans-serif;
  line-height: 1.75;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
.cec-container { width: min(calc(100% - 40px), var(--cec-container)); margin-inline: auto; }
.cec-sr-only { position:absolute!important; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }

/* Header */
.cec-site-header {
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 3px 18px rgba(3,44,97,.06);
}
.cec-header-inner {
  min-height: 78px;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 28px;
}
.cec-brand { display:flex; align-items:center; gap:14px; min-width:330px; }
.cec-brand-logos { display:flex; align-items:center; gap:12px; }
.cec-brand-logos img { width:58px; height:58px; object-fit:contain; }
.cec-brand-divider { width:1px; height:50px; background:#d6deea; }
.cec-brand-copy strong { display:block; font-size:1.14rem; color:var(--cec-blue-dark); line-height:1.35; }
.cec-brand-copy span { display:block; color:var(--cec-blue); font-weight:800; font-size:1.18rem; }
.cec-nav { display:flex; align-items:center; justify-content:center; font-weight:700; font-size:.9rem; }
.cec-nav-list { list-style:none; margin:0; padding:0; display:flex; align-items:center; justify-content:center; gap:14px; }
.cec-nav-list > .menu-item { position:relative; }
.cec-nav a { position:relative; display:flex; align-items:center; gap:6px; padding:26px 2px 22px; color:#173663; white-space:nowrap; }
.cec-nav a::after { content:""; position:absolute; right:0; left:0; bottom:14px; height:3px; border-radius:3px; background:var(--cec-blue); transform:scaleX(0); transition:.25s ease; }
.cec-nav a:hover::after, .cec-nav .current-menu-item > a::after, .cec-nav .current-menu-ancestor > a::after { transform:scaleX(1); }
.cec-nav .menu-item-has-children > a { color:var(--cec-gold-dark); }
.cec-nav .cec-university-menu-item > a { color:var(--cec-blue); font-weight:800; }
.cec-nav .cec-about-menu > a { color:var(--cec-blue); font-weight:800; }
.cec-dropdown-arrow { font-size:1rem; line-height:1; transition:transform .22s ease; }
.cec-nav .sub-menu { position:absolute; top:calc(100% - 8px); right:0; width:290px; list-style:none; margin:0; padding:10px 0; background:#fff; border:1px solid #e0e8f4; border-radius:12px; box-shadow:0 18px 45px rgba(3,44,97,.18); opacity:0; visibility:hidden; transform:translateY(10px); transition:.22s ease; z-index:1200; }
.cec-nav .sub-menu::before { content:""; position:absolute; top:-8px; right:34px; width:14px; height:14px; background:#fff; border-top:1px solid #e0e8f4; border-right:1px solid #e0e8f4; transform:rotate(-45deg); }
.cec-nav .sub-menu .menu-item { display:block; }
.cec-nav .sub-menu a { display:block; padding:11px 18px; color:#263b61; font-weight:600; border-bottom:1px solid #eef2f8; }
.cec-nav .sub-menu li:last-child a { border-bottom:0; }
.cec-nav .sub-menu a::after { display:none; }
.cec-nav .sub-menu a:hover { color:var(--cec-blue); background:#f2f7fe; padding-right:23px; }
.cec-nav .sub-menu .menu-item-has-children { position:relative; }
/* Keep every nested RTL menu attached to its parent. */
.cec-nav .sub-menu .menu-item-has-children::after { content:""; position:absolute; top:0; bottom:0; left:-2px; width:4px; }
.cec-nav .sub-menu .sub-menu { top:-10px; right:100%; left:auto; width:min(275px,calc(100vw - 24px)); margin:0; transform:translateX(8px); z-index:1250; }
.cec-nav .sub-menu .sub-menu::before { display:none; }
.cec-nav .sub-menu .sub-menu .sub-menu { z-index:1300; }
/* When there is no room on the left, JavaScript opens the submenu to the right. */
.cec-nav .sub-menu .menu-item-has-children.cec-submenu-open-right::after { left:auto; right:-2px; }
.cec-nav .sub-menu .menu-item-has-children.cec-submenu-open-right > .sub-menu { right:auto; left:100%; transform:translateX(-8px); }
.cec-nav .sub-menu .menu-item-has-children > a { position:relative; padding-left:42px; }
.cec-nav .sub-menu .menu-item-has-children > a .cec-dropdown-arrow { position:absolute; left:16px; top:50%; transform:translateY(-50%) rotate(90deg); }
.cec-nav .sub-menu .menu-item-has-children:hover > a .cec-dropdown-arrow,
.cec-nav .sub-menu .menu-item-has-children:focus-within > a .cec-dropdown-arrow,
.cec-nav .sub-menu .menu-item-has-children.cec-submenu-open > a .cec-dropdown-arrow { transform:translateY(-50%) rotate(90deg); }
.cec-nav .sub-menu .menu-item-has-children.cec-submenu-open-right:hover > a .cec-dropdown-arrow,
.cec-nav .sub-menu .menu-item-has-children.cec-submenu-open-right:focus-within > a .cec-dropdown-arrow,
.cec-nav .sub-menu .menu-item-has-children.cec-submenu-open-right.cec-submenu-open > a .cec-dropdown-arrow { transform:translateY(-50%) rotate(-90deg); }
.cec-nav .sub-menu .menu-item-has-children:hover > .sub-menu,
.cec-nav .sub-menu .menu-item-has-children:focus-within > .sub-menu,
.cec-nav .sub-menu .menu-item-has-children.cec-submenu-open > .sub-menu { transform:translateX(0); }
.cec-nav .menu-item-has-children:hover > .sub-menu,
.cec-nav .menu-item-has-children:focus-within > .sub-menu,
.cec-nav .menu-item-has-children.cec-submenu-open > .sub-menu { opacity:1; visibility:visible; transform:translateY(0); }
.cec-nav .menu-item-has-children:hover > a .cec-dropdown-arrow,
.cec-nav .menu-item-has-children.cec-submenu-open > a .cec-dropdown-arrow { transform:rotate(180deg); }
.cec-header-actions { display:flex; align-items:center; gap:10px; direction:ltr; }
.cec-btn { display:inline-flex; align-items:center; justify-content:center; gap:9px; border:0; border-radius:10px; min-height:44px; padding:0 20px; font-weight:800; transition:.22s ease; }
.cec-btn:hover { transform:translateY(-2px); }
.cec-btn-primary { color:#fff; background:linear-gradient(135deg,var(--cec-blue),#0a68dd); box-shadow:0 8px 20px rgba(7,84,184,.22); }
.cec-btn-gold { color:#fff; background:linear-gradient(135deg,var(--cec-gold),#efb63a); box-shadow:0 8px 20px rgba(229,165,27,.24); }
.cec-btn-outline { color:var(--cec-blue-dark); border:1px solid #cbd8ea; background:#fff; }
.cec-menu-toggle { display:none; border:0; background:transparent; color:var(--cec-blue-dark); font-size:1.8rem; }

/* Icons */
.cec-icon { width:28px; height:28px; display:inline-flex; }
.cec-icon svg { width:100%; height:100%; }

/* Hero */
.cec-hero { position:relative; min-height:360px; overflow:hidden; background:#063e84; }
.cec-hero::before {
  content:""; position:absolute; inset:0;
  background:linear-gradient(90deg,rgba(3,44,97,.96) 0%,rgba(3,58,119,.82) 40%,rgba(3,58,119,.12) 75%),
             url('assets/images/wasit-presidency.webp') center 43% / cover no-repeat;
}
.cec-hero-inner { position:relative; z-index:2; min-height:360px; display:flex; align-items:center; }
.cec-hero-content { width:min(680px,100%); padding:58px 0; }
.cec-hero h1 { margin:0 0 10px; color:#fff; font-size:clamp(2.2rem,4vw,4rem); line-height:1.25; }
.cec-hero h1 span { display:block; color:var(--cec-gold); }
.cec-hero p { color:#eef5ff; font-size:1.25rem; margin:18px 0 30px; max-width:580px; }
.cec-hero-actions { display:flex; gap:16px; flex-wrap:wrap; }
.cec-hero .cec-btn { min-width:190px; min-height:48px; }
.cec-slider-dots { position:absolute; right:50%; bottom:18px; transform:translateX(50%); display:flex; gap:9px; z-index:3; }
.cec-slider-dots span { width:11px; height:11px; border-radius:50%; background:#fff; opacity:.8; }
.cec-slider-dots span:first-child { background:var(--cec-gold); }

/* Services */
.cec-services-wrap { margin-top:-48px; position:relative; z-index:10; }
.cec-services { background:#fff; border-radius:22px; box-shadow:var(--cec-shadow); padding:16px 8px; display:grid; grid-template-columns:repeat(6,1fr); }
.cec-service-card { min-height:170px; padding:18px 16px; text-align:center; position:relative; display:flex; flex-direction:column; align-items:center; justify-content:center; border-left:1px solid #e6edf7; transition:.25s ease; }
.cec-service-card:last-child { border-left:0; }
.cec-service-card:hover { transform:translateY(-6px); }
.cec-service-icon { width:58px; height:58px; border-radius:50%; background:#edf4fd; color:var(--cec-blue); display:flex; align-items:center; justify-content:center; margin-bottom:10px; }
.cec-service-card h3 { margin:2px 0 6px; font-size:1rem; color:#0a3472; }
.cec-service-card p { margin:0; font-size:.84rem; color:var(--cec-muted); line-height:1.65; }
.cec-service-card::after { content:""; width:34px; height:3px; border-radius:2px; background:var(--cec-gold); margin-top:12px; }

/* Sections */
.cec-section { padding:28px 0; }
.cec-section-title { text-align:center; margin:0 0 14px; color:var(--cec-blue-dark); font-size:2rem; }
.cec-stats { background:linear-gradient(135deg,#064eb1,#0871d8); color:#fff; border-radius:14px; display:grid; grid-template-columns:repeat(4,1fr); overflow:hidden; box-shadow:0 12px 28px rgba(5,82,177,.18); }
.cec-stat { padding:18px 24px; display:flex; align-items:center; justify-content:center; gap:18px; position:relative; }
.cec-stat:not(:last-child)::after { content:""; position:absolute; left:0; top:22%; bottom:22%; width:1px; background:rgba(255,255,255,.28); }
.cec-stat-icon { width:54px; height:54px; border-radius:50%; background:#fff; color:var(--cec-blue); display:flex; align-items:center; justify-content:center; }
.cec-stat strong { display:block; font-size:1.75rem; line-height:1.2; }
.cec-stat span { font-size:.9rem; }

.cec-home-grid { display:grid; grid-template-columns:1.55fr 1fr 1fr; gap:18px; }
.cec-panel { background:#fff; border:1px solid var(--cec-border); border-radius:15px; box-shadow:0 8px 24px rgba(3,44,97,.05); padding:14px; }
.cec-panel-head { display:flex; align-items:center; justify-content:space-between; margin-bottom:10px; }
.cec-panel-head h2 { margin:0; font-size:1.2rem; }
.cec-panel-head a { color:var(--cec-blue); font-size:.88rem; font-weight:800; }
.cec-course-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:12px; }
.cec-course-card { border:1px solid #e3eaf4; border-radius:11px; overflow:hidden; background:#fff; }
.cec-course-thumb { height:120px; background:#d7e4f6 center/cover no-repeat; position:relative; }
.cec-course-badge { position:absolute; right:8px; top:8px; background:#1f9d55; color:#fff; border-radius:6px; padding:3px 9px; font-size:.72rem; font-weight:800; }
.cec-course-content { padding:11px; }
.cec-course-content h3 { margin:0 0 8px; font-size:.95rem; }
.cec-meta { display:flex; justify-content:space-between; gap:6px; color:#667995; font-size:.75rem; }
.cec-course-bottom { margin-top:10px; display:flex; align-items:center; justify-content:space-between; gap:8px; }
.cec-price { font-weight:900; color:#153b73; }
.cec-btn-sm { min-height:34px; padding:0 14px; border-radius:7px; font-size:.82rem; }
.cec-list { list-style:none; margin:0; padding:0; }
.cec-list li { display:grid; grid-template-columns:54px 1fr; gap:10px; padding:10px 0; border-bottom:1px solid #edf1f7; }
.cec-list li:last-child { border-bottom:0; }
.cec-date-box { border-radius:8px; background:#f0f5fd; text-align:center; color:var(--cec-blue-dark); font-weight:900; padding:5px; }
.cec-list h3 { margin:0 0 3px; font-size:.88rem; }
.cec-list p { margin:0; color:#78879d; font-size:.75rem; }

/* Banner pages */
.cec-page-banner { position:relative; min-height:175px; color:#fff; overflow:hidden; background:#073d82; }
.cec-page-banner::before { content:""; position:absolute; inset:0; background:linear-gradient(90deg,rgba(3,44,97,.98),rgba(3,58,119,.55),rgba(3,58,119,.06)), url('assets/images/wasit-presidency.webp') center 45% / cover no-repeat; }
.cec-page-banner-inner { position:relative; z-index:2; min-height:175px; display:flex; align-items:center; justify-content:space-between; gap:20px; }
.cec-page-banner h1 { margin:0; font-size:2.3rem; }
.cec-breadcrumbs { margin-top:12px; display:flex; gap:12px; align-items:center; font-weight:700; color:#eef5ff; }
.cec-banner-icon { width:110px; height:110px; border-radius:18px; background:#fff; color:var(--cec-blue); display:flex; align-items:center; justify-content:center; box-shadow:0 12px 26px rgba(0,0,0,.13); }
.cec-banner-icon .cec-icon { width:60px; height:60px; }

/* Forms cards page */
.cec-registration-page { padding:26px 0 14px; }
.cec-intro-title { text-align:center; margin:0 0 28px; font-size:1.8rem; color:var(--cec-blue-dark); }
.cec-intro-title::after { content:""; display:block; width:56px; height:4px; border-radius:3px; background:var(--cec-gold); margin:10px auto 0; }
.cec-form-cards { display:grid; grid-template-columns:repeat(4,1fr); gap:18px; }
.cec-form-card { background:#fff; border:1px solid var(--cec-border); border-radius:14px; padding:20px; text-align:center; box-shadow:0 9px 24px rgba(5,65,135,.055); display:flex; flex-direction:column; min-height:235px; transition:.25s ease; }
.cec-form-card:hover { transform:translateY(-6px); box-shadow:var(--cec-shadow); }
.cec-form-card .cec-service-icon { margin-inline:auto; }
.cec-form-card h2 { font-size:1.08rem; margin:8px 0 5px; }
.cec-form-card p { color:var(--cec-muted); font-size:.9rem; margin:0 0 14px; flex:1; }
.cec-form-card .cec-btn { width:100%; min-height:39px; }
.cec-notice { margin:18px 0 0; background:#edf5ff; border:1px solid #d8e8fc; border-radius:12px; padding:14px 18px; display:flex; align-items:flex-start; gap:12px; color:#194578; }

/* Application form */
.cec-application-shell { padding:24px 0 38px; }
.cec-form-layout { display:grid; grid-template-columns:280px minmax(0,1fr); gap:20px; align-items:start; }
.cec-form-sidebar { position:sticky; top:100px; }
.cec-info-card { background:#fff; border:1px solid var(--cec-border); border-radius:14px; padding:20px; margin-bottom:16px; box-shadow:0 8px 22px rgba(3,44,97,.045); }
.cec-info-card h2 { margin:0 0 16px; font-size:1.15rem; color:var(--cec-blue); display:flex; align-items:center; gap:8px; }
.cec-check-list { list-style:none; padding:0; margin:0; }
.cec-check-list li { position:relative; padding:10px 28px 10px 0; color:#51647f; font-size:.9rem; border-bottom:1px solid #edf1f6; }
.cec-check-list li:last-child { border-bottom:0; }
.cec-check-list li::before { content:"✓"; position:absolute; right:0; top:9px; color:var(--cec-success); font-weight:900; }
.cec-contact-lines { display:grid; gap:10px; color:#355478; font-size:.9rem; }
.cec-main-form { background:#fff; border:1px solid var(--cec-border); border-radius:16px; padding:18px; box-shadow:var(--cec-shadow); }
.cec-form-section { border:1px solid #dfe7f2; border-radius:13px; padding:18px; margin-bottom:14px; }
.cec-form-section-title { margin:0 0 16px; padding-bottom:10px; border-bottom:1px solid #e7edf5; color:var(--cec-blue); font-size:1.22rem; display:flex; gap:9px; align-items:center; }
.cec-fields { display:grid; grid-template-columns:repeat(3,1fr); gap:15px 18px; }
.cec-field { min-width:0; }
.cec-field.cec-span-2 { grid-column:span 2; }
.cec-field.cec-span-3 { grid-column:1/-1; }
.cec-field label { display:block; margin-bottom:7px; font-weight:800; color:#213c65; font-size:.9rem; }
.cec-required { color:var(--cec-danger); }
.cec-input, .cec-select, .cec-textarea { width:100%; border:1px solid #cfd9e8; background:#fff; color:#193760; border-radius:8px; min-height:46px; padding:10px 13px; outline:none; transition:.2s ease; }
.cec-input:focus, .cec-select:focus, .cec-textarea:focus { border-color:var(--cec-blue); box-shadow:0 0 0 3px rgba(7,84,184,.10); }
.cec-radio-row { min-height:46px; display:flex; align-items:center; flex-wrap:wrap; gap:16px; }
.cec-radio-row label { display:inline-flex; align-items:center; gap:7px; margin:0; font-weight:600; }
.cec-radio-row input { accent-color:var(--cec-blue); width:18px; height:18px; }
.cec-upload-grid { display:grid; grid-template-columns:1.4fr .8fr; gap:20px; align-items:stretch; }
.cec-doc-list { margin:0; padding-right:22px; color:#53657f; font-size:.88rem; }
.cec-doc-list li { margin:5px 0; }
.cec-upload-box { border:2px dashed #b9cdea; border-radius:12px; background:#f7faff; display:flex; align-items:center; justify-content:center; flex-direction:column; text-align:center; min-height:220px; padding:20px; color:#1e579d; }
.cec-upload-box .cec-icon { width:50px; height:50px; margin-bottom:8px; }
.cec-file-input { width:100%; margin-top:12px; }
.cec-declaration { display:flex; align-items:flex-start; gap:10px; }
.cec-declaration input { margin-top:7px; width:19px; height:19px; accent-color:var(--cec-blue); }
.cec-form-actions { display:flex; align-items:center; justify-content:space-between; gap:14px; }
.cec-alert { border-radius:10px; padding:13px 16px; margin-bottom:14px; }
.cec-alert-success { background:#eaf9f0; color:#16713c; border:1px solid #bceacb; }
.cec-alert-error { background:#fff0f0; color:#a22e2e; border:1px solid #f0c4c4; }
.cec-alert-info { background:#eef6ff; color:#174c86; border:1px solid #cbdff7; }

/* Footer */
.cec-site-footer { background:linear-gradient(135deg,#053b7f,#0754a8); color:#fff; margin-top:18px; }
.cec-footer-grid { display:grid; grid-template-columns:1.25fr 1fr 1fr 1fr; gap:32px; padding:34px 0 26px; }
.cec-footer-brand { display:flex; gap:16px; align-items:flex-start; }
.cec-footer-brand img { width:88px; height:88px; object-fit:contain; background:#fff; border-radius:50%; padding:5px; }
.cec-footer h3 { margin:0 0 12px; font-size:1.05rem; }
.cec-footer p, .cec-footer li, .cec-footer a { color:#e6effb; font-size:.88rem; }
.cec-footer ul { list-style:none; margin:0; padding:0; display:grid; gap:6px; }
.cec-footer-bottom { border-top:1px solid rgba(255,255,255,.14); text-align:center; padding:10px 0; font-size:.82rem; color:#dfeafb; }

/* About center pages */
.cec-about-hero { position:relative; overflow:hidden; padding:58px 0; color:#fff; background:linear-gradient(135deg,rgba(3,44,97,.96),rgba(7,84,184,.78)),url('assets/images/wasit-presidency.webp') center 42%/cover no-repeat; }
.cec-about-hero-inner { display:flex; align-items:center; justify-content:space-between; gap:24px; }
.cec-about-hero h1 { margin:0; font-size:clamp(2rem,4vw,3.4rem); }
.cec-about-hero p { margin:8px 0 0; color:#eaf2ff; }
.cec-about-breadcrumb { display:flex; gap:8px; align-items:center; flex-wrap:wrap; font-size:.9rem; color:#dceaff; margin-bottom:12px; }
.cec-about-content { padding:36px 0 48px; }
.cec-about-card { background:#fff; border:1px solid var(--cec-border); border-radius:18px; box-shadow:var(--cec-shadow); padding:28px; }
.cec-about-card h2 { margin-top:0; color:var(--cec-blue-dark); }
.cec-about-empty { margin:0; color:var(--cec-muted); text-align:center; padding:30px 10px; }
.cec-about-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:18px; }
.cec-about-link { min-height:175px; background:#fff; border:1px solid var(--cec-border); border-radius:16px; box-shadow:0 10px 28px rgba(3,44,97,.07); padding:24px; display:flex; flex-direction:column; justify-content:center; align-items:center; text-align:center; transition:.23s ease; }
.cec-about-link:hover { transform:translateY(-6px); border-color:#a9c9ee; box-shadow:0 16px 34px rgba(3,44,97,.13); }
.cec-about-link .cec-service-icon { margin-bottom:14px; }
.cec-about-link h3 { margin:0; color:var(--cec-blue-dark); font-size:1.05rem; }
.cec-about-link span { margin-top:9px; color:var(--cec-blue); font-size:.85rem; font-weight:700; }
@media (max-width:900px) { .cec-about-grid { grid-template-columns:repeat(2,1fr); } }
@media (max-width:620px) { .cec-about-grid { grid-template-columns:1fr; } .cec-about-hero { padding:42px 0; } }

/* WordPress defaults */
.alignwide { width:min(calc(100% - 40px),var(--cec-container)); margin-inline:auto; }
.wp-caption, .gallery-caption { max-width:100%; }
.sticky { display:block; }
.bypostauthor { display:block; }

/* Responsive */
@media (max-width:1200px) {
  .cec-header-inner { grid-template-columns:auto auto; }
  .cec-nav { position:absolute; top:78px; right:20px; left:20px; background:#fff; border-radius:14px; box-shadow:var(--cec-shadow); padding:14px; display:none; flex-direction:column; align-items:stretch; }
  .cec-nav.cec-open { display:flex; }
  .cec-nav-list { width:100%; display:flex; flex-direction:column; align-items:stretch; gap:0; }
  .cec-nav a { padding:11px 12px; }
  .cec-nav a::after { bottom:5px; }
  .cec-nav .sub-menu { position:static; width:100%; margin:0; padding:0 12px 7px; border:0; border-radius:9px; box-shadow:none; background:#f5f8fd; opacity:1; visibility:visible; transform:none; display:none; }
  .cec-nav .sub-menu::before { display:none; }
  .cec-nav .menu-item-has-children.cec-submenu-open > .sub-menu { display:block; }
  .cec-nav .sub-menu a { padding:9px 13px; border-bottom:1px solid #e5ebf5; }
  .cec-nav .sub-menu .sub-menu,
  .cec-nav .sub-menu .menu-item-has-children.cec-submenu-open-right > .sub-menu { position:static; right:auto; left:auto; width:100%; margin:0; padding:0 16px 7px 0; transform:none; }
  .cec-nav .sub-menu .menu-item-has-children::after { display:none; }
  .cec-nav .sub-menu .menu-item-has-children > a .cec-dropdown-arrow { position:static; transform:none; margin-right:auto; }
  .cec-nav .sub-menu .menu-item-has-children.cec-submenu-open > a .cec-dropdown-arrow { transform:rotate(180deg); }
  .cec-menu-toggle { display:block; }
  .cec-header-actions { grid-column:2; grid-row:1; }
  .cec-brand { min-width:0; }
  .cec-services { grid-template-columns:repeat(4,1fr); }
  .cec-service-card:nth-child(4) { border-left:0; }
  .cec-service-card { border-bottom:1px solid #e6edf7; }
  .cec-home-grid { grid-template-columns:1fr 1fr; }
  .cec-home-grid .cec-panel:first-child { grid-column:1/-1; }
  .cec-form-cards { grid-template-columns:repeat(3,1fr); }
}
@media (max-width:900px) {
  .cec-header-actions .cec-btn-outline { display:none; }
  .cec-brand-copy { display:none; }
  .cec-services { grid-template-columns:repeat(2,1fr); }
  .cec-service-card { border-left:1px solid #e6edf7; }
  .cec-service-card:nth-child(even) { border-left:0; }
  .cec-stats { grid-template-columns:repeat(2,1fr); }
  .cec-stat:nth-child(2)::after { display:none; }
  .cec-course-grid { grid-template-columns:1fr; }
  .cec-home-grid { grid-template-columns:1fr; }
  .cec-form-cards { grid-template-columns:repeat(2,1fr); }
  .cec-form-layout { grid-template-columns:1fr; }
  .cec-form-sidebar { position:static; }
  .cec-fields { grid-template-columns:repeat(2,1fr); }
  .cec-field.cec-span-3 { grid-column:1/-1; }
  .cec-upload-grid { grid-template-columns:1fr; }
  .cec-footer-grid { grid-template-columns:repeat(2,1fr); }
}
@media (max-width:620px) {
  .cec-container { width:min(calc(100% - 24px),var(--cec-container)); }
  .cec-header-inner { min-height:68px; gap:10px; }
  .cec-brand-logos img { width:43px; height:43px; }
  .cec-brand-divider { height:38px; }
  .cec-header-actions .cec-btn { padding:0 12px; min-height:38px; font-size:.82rem; }
  .cec-hero, .cec-hero-inner { min-height:430px; }
  .cec-hero::before { background:linear-gradient(rgba(3,44,97,.88),rgba(3,44,97,.88)), url('assets/images/wasit-presidency-mobile.webp') center/cover; }
  .cec-hero-content { text-align:center; padding-top:40px; }
  .cec-hero-actions { justify-content:center; }
  .cec-services-wrap { margin-top:-28px; }
  .cec-services { grid-template-columns:1fr; }
  .cec-service-card { border-left:0; }
  .cec-stats { grid-template-columns:1fr; }
  .cec-stat::after { display:none!important; }
  .cec-form-cards { grid-template-columns:1fr; }
  .cec-page-banner h1 { font-size:1.8rem; }
  .cec-banner-icon { width:80px; height:80px; }
  .cec-fields { grid-template-columns:1fr; }
  .cec-field.cec-span-2, .cec-field.cec-span-3 { grid-column:auto; }
  .cec-form-actions { flex-direction:column; }
  .cec-form-actions .cec-btn { width:100%; }
  .cec-footer-grid { grid-template-columns:1fr; }
}


/* Teaching competency form */
.cec-specialty-panel { background:linear-gradient(135deg,#064b9f,#0a67d1); color:#fff; border-radius:14px; padding:18px; margin-bottom:14px; box-shadow:0 12px 26px rgba(5,70,150,.16); }
.cec-specialty-panel .cec-form-section-title { color:#fff; border-bottom-color:rgba(255,255,255,.22); }
.cec-specialty-panel .cec-field label { color:#fff; }
.cec-specialty-panel .cec-select { background:#fff; font-weight:800; color:#173a69; }
.cec-specialty-preview { margin-top:12px; display:flex; align-items:center; gap:8px; background:rgba(255,255,255,.13); border:1px solid rgba(255,255,255,.25); border-radius:9px; padding:10px 13px; font-weight:800; }
.cec-form-note { color:#60728d; margin:6px 0 0; font-size:.82rem; }
.cec-required-file { color:#a22e2e; font-weight:800; margin-top:8px; }

/* Reports and suggestions platform */
.cec-report-page { background:linear-gradient(180deg,#f4f7fc 0%,#eef3fa 100%); }
.cec-report-intro { position:relative; overflow:hidden; background:linear-gradient(135deg,var(--cec-blue-deep),var(--cec-blue)); color:#fff; }
.cec-report-intro::before { content:""; position:absolute; inset:0; background:radial-gradient(circle at 10% 25%,rgba(255,255,255,.13),transparent 28%),radial-gradient(circle at 85% 90%,rgba(229,165,27,.2),transparent 30%); pointer-events:none; }
.cec-report-intro-inner { position:relative; min-height:235px; display:grid; grid-template-columns:auto 1fr auto; align-items:center; gap:28px; padding-block:38px; }
.cec-report-intro-icon { width:94px; height:94px; border-radius:24px; display:flex; align-items:center; justify-content:center; color:#fff; background:rgba(255,255,255,.12); border:1px solid rgba(255,255,255,.25); box-shadow:0 16px 35px rgba(0,0,0,.18); }
.cec-report-intro-icon .cec-icon { width:50px; height:50px; }
.cec-report-intro-copy span { display:inline-block; color:#ffe2a0; font-weight:900; margin-bottom:3px; }
.cec-report-intro-copy h1 { margin:0; font-size:clamp(2rem,4vw,3.15rem); line-height:1.25; color:#fff; }
.cec-report-intro-copy p { max-width:800px; margin:9px 0 0; color:rgba(255,255,255,.86); font-size:1.05rem; }
.cec-report-track-link { min-width:180px; white-space:nowrap; }
.cec-report-track-link .cec-icon { width:21px; height:21px; }
.cec-report-form-section { padding:46px 0 30px; scroll-margin-top:90px; }
.cec-report-form-container { max-width:1120px; background:#fff; border-radius:20px; padding:0 48px 48px; box-shadow:var(--cec-shadow); border:1px solid var(--cec-border); overflow:hidden; }
.cec-report-form-heading { margin:0 -48px 34px; padding:25px 48px; display:flex; align-items:center; gap:18px; text-align:right; background:linear-gradient(135deg,#f8fbff,#eef5ff); border-bottom:1px solid #dbe6f5; }
.cec-report-edit-icon { width:66px; height:66px; flex:0 0 auto; border-radius:16px; display:flex; align-items:center; justify-content:center; background:linear-gradient(135deg,var(--cec-blue),#0a68dd); color:#fff; box-shadow:0 10px 24px rgba(7,84,184,.22); }
.cec-report-edit-icon .cec-icon { width:34px; height:34px; }
.cec-report-form-heading h2 { margin:0; color:var(--cec-blue-dark); font-size:1.75rem; }
.cec-report-form-heading p { margin:3px 0 0; color:var(--cec-muted); }
.cec-report-alert { max-width:920px; margin:0 auto 22px; text-align:center; }
.cec-report-form { max-width:940px; margin:0 auto; }
.cec-report-fields { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; }
.cec-report-field { min-width:0; }
.cec-report-field-wide { grid-column:1/-1; }
.cec-report-field label,.cec-report-track-form label { display:block; margin-bottom:8px; color:#173663; font-weight:800; }
.cec-report-field small { display:block; margin-top:7px; color:#74839a; }
.cec-report-field .cec-input,.cec-report-field .cec-textarea,.cec-report-track-form .cec-input { border:1px solid #cfd9e8; background:#fff; transition:border-color .2s ease,box-shadow .2s ease; }
.cec-report-field .cec-input:focus,.cec-report-field .cec-textarea:focus,.cec-report-track-form .cec-input:focus { outline:0; border-color:var(--cec-blue); box-shadow:0 0 0 4px rgba(7,84,184,.10); }
.cec-report-textarea { resize:vertical; min-height:170px; }
.cec-report-upload { min-height:54px; border:1px dashed #b9c9df; border-radius:11px; background:#f8fbff; display:flex; align-items:center; gap:14px; padding:9px 13px; }
.cec-report-upload input { max-width:270px; }
.cec-report-upload span { color:#60728d; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.cec-optional { color:var(--cec-muted); font-weight:600; font-size:.88em; }
.cec-report-verification { margin-top:24px; padding:16px 18px; border:1px solid #c8d8ee; border-radius:12px; background:#f2f7fe; display:flex; align-items:flex-start; gap:11px; color:#314b70; font-weight:700; }
.cec-report-verification input { width:20px; height:20px; margin-top:4px; accent-color:var(--cec-blue); flex:0 0 auto; }
.cec-report-submit-row { margin-top:26px; text-align:center; }
.cec-report-submit-row .cec-btn { min-width:225px; margin-inline:auto; }
.cec-report-honeypot { position:absolute!important; left:-9999px!important; width:1px!important; height:1px!important; overflow:hidden!important; }
.cec-report-conditional[hidden] { display:none!important; }
.cec-report-track-section { padding:0 0 55px; scroll-margin-top:90px; }
.cec-report-track-card { max-width:1120px; background:#fff; border-radius:20px; padding:32px 42px; box-shadow:var(--cec-shadow); border:1px solid var(--cec-border); }
.cec-report-track-heading { display:flex; align-items:center; gap:15px; margin-bottom:24px; }
.cec-report-track-heading > span { width:58px; height:58px; border-radius:15px; display:flex; align-items:center; justify-content:center; background:#eef5ff; color:var(--cec-blue); border:1px solid #d5e3f5; }
.cec-report-track-heading .cec-icon { width:30px; height:30px; }
.cec-report-track-heading h2 { margin:0; color:var(--cec-blue-dark); }
.cec-report-track-heading p { margin:3px 0 0; color:var(--cec-muted); }
.cec-report-track-form { display:grid; grid-template-columns:1fr 1fr auto; gap:16px; align-items:end; }
.cec-report-track-form .cec-btn { min-height:46px; }
.cec-report-track-result { margin-top:22px; }
.cec-report-track-success { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; background:#f2f7fe; border:1px solid #c8d8ee; border-radius:14px; padding:18px; }
.cec-report-track-success div { background:#fff; border:1px solid #d9e4f2; border-radius:10px; padding:12px; }
.cec-report-track-success strong { display:block; color:var(--cec-blue); margin-bottom:5px; }
.cec-report-track-success span { color:#344b60; word-break:break-word; }
.cec-report-status { font-weight:900; }

@media (max-width:900px) {
  .cec-report-intro-inner { grid-template-columns:auto 1fr; }
  .cec-report-track-link { grid-column:1/-1; justify-self:start; }
  .cec-report-form-container,.cec-report-track-card { padding-inline:28px; }
  .cec-report-form-heading { margin-inline:-28px; padding-inline:28px; }
  .cec-report-track-form { grid-template-columns:1fr 1fr; }
  .cec-report-track-form .cec-btn { grid-column:1/-1; }
  .cec-report-track-success { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width:620px) {
  .cec-report-intro-inner { grid-template-columns:1fr; text-align:center; justify-items:center; padding-block:30px; gap:14px; }
  .cec-report-intro-icon { width:78px; height:78px; border-radius:20px; }
  .cec-report-intro-icon .cec-icon { width:42px; height:42px; }
  .cec-report-intro-copy p { font-size:.96rem; }
  .cec-report-track-link { grid-column:auto; justify-self:center; width:100%; }
  .cec-report-form-section { padding:28px 0 22px; }
  .cec-report-form-container,.cec-report-track-card { padding:0 16px 26px; border-radius:16px; }
  .cec-report-form-heading { margin:0 -16px 26px; padding:20px 16px; align-items:flex-start; }
  .cec-report-edit-icon { width:54px; height:54px; border-radius:13px; }
  .cec-report-edit-icon .cec-icon { width:29px; height:29px; }
  .cec-report-form-heading h2 { font-size:1.35rem; }
  .cec-report-fields,.cec-report-track-form,.cec-report-track-success { grid-template-columns:1fr; }
  .cec-report-field-wide,.cec-report-track-form .cec-btn { grid-column:auto; }
  .cec-report-upload { align-items:flex-start; flex-direction:column; }
  .cec-report-upload input { max-width:100%; width:100%; }
  .cec-report-submit-row .cec-btn { width:100%; }
  .cec-report-track-card { padding-top:24px; }
}


/* Announcements */
.cec-announcements-page { background:linear-gradient(180deg,#f5f8fd 0%,#eef3fa 100%); }
.cec-announcement-banner::before { background:linear-gradient(90deg,rgba(3,44,97,.98),rgba(7,84,184,.76),rgba(7,84,184,.12)),url('assets/images/wasit-presidency.webp') center 45%/cover no-repeat; }
.cec-announcements-section { padding-block:38px 56px; }
.cec-announcements-intro { margin-bottom:24px; padding:22px 26px; display:flex; justify-content:space-between; align-items:center; gap:20px; background:#fff; border:1px solid var(--cec-border); border-right:5px solid var(--cec-gold); border-radius:16px; box-shadow:0 10px 28px rgba(3,44,97,.06); }
.cec-announcements-intro span { color:var(--cec-gold-dark); font-weight:900; }
.cec-announcements-intro h2 { margin:2px 0 3px; color:var(--cec-blue-dark); }
.cec-announcements-intro p { margin:0; color:var(--cec-muted); }
.cec-announcement-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:22px; }
.cec-announcement-card { overflow:hidden; background:#fff; border:1px solid var(--cec-border); border-radius:18px; box-shadow:0 12px 30px rgba(3,44,97,.07); transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease; }
.cec-announcement-card:hover { transform:translateY(-6px); border-color:#b9d1ed; box-shadow:0 18px 38px rgba(3,44,97,.13); }
.cec-announcement-card.cec-announcement-urgent { border-top:4px solid var(--cec-gold); }
.cec-announcement-media { min-height:175px; position:relative; display:flex; align-items:center; justify-content:center; background:linear-gradient(135deg,var(--cec-blue-deep),var(--cec-blue)); background-position:center; background-size:cover; }
.cec-announcement-media::after { content:""; position:absolute; inset:0; background:linear-gradient(180deg,rgba(3,44,97,.02),rgba(3,44,97,.42)); }
.cec-announcement-type { position:relative; z-index:2; display:inline-flex; align-items:center; min-height:30px; padding:4px 12px; border-radius:999px; color:#fff; background:var(--cec-blue); font-size:.8rem; font-weight:900; }
.cec-announcement-media > .cec-announcement-type { position:absolute; top:14px; right:14px; background:var(--cec-gold); color:#3a2a00; }
.cec-announcement-placeholder { position:relative; z-index:1; width:86px; height:86px; border-radius:50%; display:flex; align-items:center; justify-content:center; color:#fff; background:rgba(255,255,255,.13); border:1px solid rgba(255,255,255,.26); }
.cec-announcement-placeholder .cec-icon { width:46px; height:46px; }
.cec-announcement-body { padding:20px; }
.cec-announcement-date { display:flex; align-items:center; gap:7px; color:var(--cec-gold-dark); font-size:.82rem; font-weight:800; }
.cec-announcement-date .cec-icon { width:18px; height:18px; }
.cec-announcement-body h2 { margin:8px 0 7px; font-size:1.15rem; line-height:1.55; color:var(--cec-blue-dark); }
.cec-announcement-body p { margin:0; color:var(--cec-muted); font-size:.9rem; min-height:52px; }
.cec-announcement-footer { margin-top:17px; padding-top:13px; border-top:1px solid #edf1f7; display:flex; justify-content:space-between; align-items:center; gap:12px; font-size:.8rem; color:var(--cec-muted); }
.cec-announcement-more { color:var(--cec-blue); font-weight:900; }
.cec-announcement-more:hover { color:var(--cec-gold-dark); }
.cec-announcement-empty { padding:55px 22px; text-align:center; background:#fff; border:1px dashed #bbcae0; border-radius:18px; }
.cec-announcement-empty > span { width:82px; height:82px; margin:0 auto 14px; display:flex; align-items:center; justify-content:center; border-radius:50%; color:var(--cec-blue); background:#edf4fd; }
.cec-announcement-empty .cec-icon { width:42px; height:42px; }
.cec-announcement-empty h2 { margin:0; color:var(--cec-blue-dark); }
.cec-announcement-empty p { color:var(--cec-muted); }
.cec-pagination { margin-top:28px; }
.cec-pagination .nav-links { display:flex; justify-content:center; gap:8px; flex-wrap:wrap; }
.cec-pagination .page-numbers { min-width:40px; min-height:40px; padding:6px 12px; display:inline-flex; align-items:center; justify-content:center; border-radius:9px; background:#fff; border:1px solid var(--cec-border); color:var(--cec-blue-dark); font-weight:800; }
.cec-pagination .page-numbers.current,.cec-pagination .page-numbers:hover { background:var(--cec-blue); color:#fff; border-color:var(--cec-blue); }
.cec-announcement-single-section { padding-block:38px 56px; }
.cec-announcement-single { max-width:1050px; }
.cec-announcement-article { background:#fff; border:1px solid var(--cec-border); border-radius:20px; box-shadow:var(--cec-shadow); padding:32px; overflow:hidden; }
.cec-announcement-article-meta { margin-bottom:22px; display:flex; align-items:center; gap:13px; flex-wrap:wrap; color:#526783; font-size:.88rem; }
.cec-announcement-article-meta > span:not(.cec-announcement-type) { display:inline-flex; align-items:center; gap:6px; padding:6px 10px; border-radius:8px; background:#f2f7fe; }
.cec-announcement-article-meta .cec-icon { width:18px; height:18px; color:var(--cec-blue); }
.cec-announcement-featured { margin:0 0 26px; text-align:center; }
.cec-announcement-featured img { max-height:560px; width:auto; border-radius:14px; box-shadow:0 10px 30px rgba(3,44,97,.12); }
.cec-announcement-content { color:#263e61; font-size:1rem; }
.cec-announcement-content h2,.cec-announcement-content h3 { color:var(--cec-blue-dark); }
.cec-announcement-action { margin-top:26px; }
.cec-announcement-back { margin-top:28px; padding-top:18px; border-top:1px solid var(--cec-border); }
.cec-announcement-back a { color:var(--cec-blue); font-weight:900; }
.cec-list-empty { grid-template-columns:1fr!important; text-align:center; padding:20px!important; }

@media (max-width:1000px) {
  .cec-announcement-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width:620px) {
  .cec-announcements-intro { align-items:flex-start; flex-direction:column; }
  .cec-announcements-intro .cec-btn { width:100%; }
  .cec-announcement-grid { grid-template-columns:1fr; }
  .cec-announcement-article { padding:20px 16px; border-radius:16px; }
  .cec-announcement-footer { align-items:flex-start; flex-direction:column; }
}


/* Center content modules - v3.1 */
.cec-center-hub { padding-top:10px; padding-bottom:48px; }
.cec-center-hub-head { margin-bottom:20px; display:flex; align-items:end; justify-content:space-between; gap:28px; }
.cec-center-hub-head span,.cec-module-intro span { color:var(--cec-gold-dark); font-weight:900; }
.cec-center-hub-head h2,.cec-module-intro h2 { margin:3px 0 0; color:var(--cec-blue-dark); font-size:1.8rem; }
.cec-center-hub-head p,.cec-module-intro p { margin:0; color:var(--cec-muted); }
.cec-hub-links { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:16px; margin-bottom:22px; }
.cec-hub-links > a { min-height:112px; padding:18px; display:flex; align-items:center; gap:14px; background:#fff; border:1px solid var(--cec-border); border-radius:15px; box-shadow:0 8px 24px rgba(3,44,97,.05); transition:.22s ease; }
.cec-hub-links > a:hover { transform:translateY(-4px); border-color:#bfd2ec; box-shadow:var(--cec-shadow); }
.cec-hub-links > a > span { flex:0 0 52px; width:52px; height:52px; border-radius:50%; display:flex; align-items:center; justify-content:center; color:var(--cec-blue); background:#edf4fd; }
.cec-hub-links strong { display:block; color:var(--cec-blue-dark); font-size:1rem; }
.cec-hub-links small { display:block; color:var(--cec-muted); margin-top:3px; line-height:1.5; }
.cec-home-content-grid { display:grid; grid-template-columns:1fr 1fr; gap:18px; }
.cec-content-block { background:#fff; border:1px solid var(--cec-border); border-radius:15px; padding:17px; box-shadow:0 8px 24px rgba(3,44,97,.05); }
.cec-mini-results { display:grid; gap:9px; }
.cec-mini-results > a { min-height:70px; display:flex; align-items:center; gap:12px; padding:10px; background:#f8fbff; border:1px solid #e8eef7; border-radius:11px; }
.cec-mini-results > a > span { width:42px; height:42px; border-radius:9px; display:flex; align-items:center; justify-content:center; color:var(--cec-blue); background:#eaf3ff; }
.cec-mini-results strong { display:block; font-size:.9rem; color:#183b6f; }
.cec-mini-results small { color:var(--cec-muted); }
.cec-mini-lecturers { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:10px; }
.cec-mini-lecturers > a { text-align:center; padding:10px 7px; border-radius:10px; background:#f8fbff; border:1px solid #e7edf7; }
.cec-mini-photo { width:68px; height:68px; margin:0 auto 7px; border-radius:50%; display:flex; align-items:center; justify-content:center; background:#eaf3ff center/cover no-repeat; color:var(--cec-blue); overflow:hidden; }
.cec-mini-photo .cec-icon { width:32px; height:32px; }
.cec-mini-lecturers strong { display:block; font-size:.78rem; color:#173a6f; line-height:1.5; }
.cec-mini-lecturers small { display:block; color:var(--cec-muted); font-size:.68rem; margin-top:3px; }
.cec-gallery-home { margin-top:18px; }
.cec-mini-gallery { display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); gap:10px; }
.cec-mini-gallery > a { min-height:120px; position:relative; overflow:hidden; border-radius:11px; background:linear-gradient(135deg,#dbe9fb,#b8d4f5) center/cover no-repeat; }
.cec-mini-gallery > a::after { content:""; position:absolute; inset:0; background:linear-gradient(180deg,transparent 35%,rgba(3,44,97,.78)); }
.cec-mini-gallery > a span { position:absolute; z-index:2; right:10px; left:10px; bottom:8px; color:#fff; font-size:.76rem; font-weight:800; }
.cec-home-empty { margin:0; padding:20px; grid-column:1/-1; text-align:center; color:var(--cec-muted); background:#f8fbff; border:1px dashed #c8d6e8; border-radius:10px; }

.cec-center-module-section { padding-block:34px 55px; }
.cec-module-intro { margin-bottom:22px; padding:20px 24px; display:flex; justify-content:space-between; align-items:center; background:#fff; border:1px solid var(--cec-border); border-right:5px solid var(--cec-gold); border-radius:15px; box-shadow:0 8px 24px rgba(3,44,97,.05); }
.cec-plan-table-wrap { overflow:auto; background:#fff; border:1px solid var(--cec-border); border-radius:15px; box-shadow:0 8px 24px rgba(3,44,97,.05); }
.cec-plan-table { width:100%; min-width:850px; border-collapse:collapse; }
.cec-plan-table th { padding:14px 16px; text-align:right; background:var(--cec-blue-dark); color:#fff; font-size:.86rem; }
.cec-plan-table td { padding:14px 16px; border-bottom:1px solid #edf1f7; color:#405675; font-size:.86rem; }
.cec-plan-table tbody tr:last-child td { border-bottom:0; }
.cec-plan-table tbody tr:hover td { background:#f8fbff; }
.cec-plan-table strong { color:var(--cec-blue-dark); }
.cec-status-pill { display:inline-flex; padding:4px 10px; border-radius:999px; color:#0d5b3a; background:#e9f8f0; font-size:.76rem; font-weight:900; white-space:nowrap; }
.cec-table-link { color:var(--cec-blue); font-weight:900; }
.cec-empty-cell { text-align:center!important; padding:35px!important; color:var(--cec-muted)!important; }
.cec-result-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
.cec-result-card { padding:18px; display:grid; grid-template-columns:58px 1fr; gap:14px; background:#fff; border:1px solid var(--cec-border); border-radius:15px; box-shadow:0 8px 24px rgba(3,44,97,.05); }
.cec-result-icon { width:58px; height:58px; display:flex; align-items:center; justify-content:center; border-radius:12px; color:var(--cec-blue); background:#edf4fd; }
.cec-result-body span { color:var(--cec-gold-dark); font-size:.78rem; font-weight:900; }
.cec-result-body h2 { margin:2px 0 5px; font-size:1rem; color:var(--cec-blue-dark); }
.cec-result-body p { margin:0; color:var(--cec-muted); font-size:.82rem; }
.cec-result-actions { grid-column:1/-1; padding-top:11px; border-top:1px solid #edf1f7; display:flex; justify-content:flex-end; gap:8px; flex-wrap:wrap; }
.cec-result-actions .cec-icon { width:18px; height:18px; }
.cec-module-empty { grid-column:1/-1; padding:48px 20px; text-align:center; background:#fff; border:1px dashed #becde0; border-radius:15px; color:var(--cec-muted); }
.cec-lecturer-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:18px; }
.cec-lecturer-card { overflow:hidden; background:#fff; border:1px solid var(--cec-border); border-radius:16px; box-shadow:0 8px 24px rgba(3,44,97,.05); }
.cec-lecturer-photo { height:210px; display:flex; align-items:center; justify-content:center; background:#eaf2fc center/cover no-repeat; color:var(--cec-blue); }
.cec-lecturer-photo .cec-icon { width:72px; height:72px; }
.cec-lecturer-body { padding:16px 16px 10px; }
.cec-lecturer-body > span { color:var(--cec-gold-dark); font-weight:900; font-size:.8rem; }
.cec-lecturer-body h2 { margin:3px 0 5px; color:var(--cec-blue-dark); font-size:1.03rem; }
.cec-lecturer-body p { margin:0; color:#506683; font-size:.84rem; }
.cec-lecturer-body small { display:block; color:var(--cec-muted); margin-top:6px; }
.cec-lecturer-actions { display:flex; border-top:1px solid #edf1f7; }
.cec-lecturer-actions a { flex:1; padding:10px; text-align:center; color:var(--cec-blue); font-size:.78rem; font-weight:900; }
.cec-lecturer-actions a + a { border-right:1px solid #edf1f7; }
.cec-gallery-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; }
.cec-gallery-card { overflow:hidden; background:#fff; border:1px solid var(--cec-border); border-radius:15px; box-shadow:0 8px 24px rgba(3,44,97,.05); }
.cec-gallery-image { height:235px; display:flex; align-items:center; justify-content:center; color:var(--cec-blue); background:#eaf2fc center/cover no-repeat; }
.cec-gallery-image .cec-icon { width:64px; height:64px; }
.cec-gallery-caption { padding:14px 16px; display:flex; align-items:center; justify-content:space-between; gap:10px; }
.cec-gallery-caption h2 { margin:0; font-size:.94rem; color:var(--cec-blue-dark); }
.cec-gallery-caption span { color:var(--cec-muted); font-size:.74rem; white-space:nowrap; }
.cec-single-module { max-width:1050px; padding:25px; background:#fff; border:1px solid var(--cec-border); border-radius:17px; box-shadow:var(--cec-shadow); }
.cec-single-meta-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; margin-bottom:22px; }
.cec-single-meta-grid > div { padding:13px; border-radius:10px; background:#f4f8fe; border:1px solid #e5edf7; }
.cec-single-meta-grid strong,.cec-single-meta-grid span { display:block; }
.cec-single-meta-grid strong { color:var(--cec-blue); font-size:.78rem; }
.cec-single-meta-grid span { color:#334e72; margin-top:3px; }
.cec-single-content { color:#304c70; }
.cec-single-featured { margin-bottom:22px; text-align:center; }
.cec-single-featured img { max-height:650px; width:auto; border-radius:14px; }
.cec-lecturer-profile { display:grid; grid-template-columns:220px 1fr; gap:25px; align-items:center; margin-bottom:25px; padding-bottom:25px; border-bottom:1px solid var(--cec-border); }
.cec-profile-photo { width:220px; height:220px; border-radius:15px; overflow:hidden; display:flex; align-items:center; justify-content:center; background:#edf4fd; color:var(--cec-blue); }
.cec-profile-photo img { width:100%; height:100%; object-fit:cover; }
.cec-profile-photo .cec-icon { width:80px; height:80px; }
.cec-lecturer-profile h2 { margin:0 0 8px; color:var(--cec-blue-dark); }
.cec-lecturer-profile p { margin:3px 0; color:#546984; }

@media (max-width: 1100px) {
  .cec-hub-links { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .cec-mini-gallery { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .cec-lecturer-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width: 760px) {
  .cec-center-hub-head { align-items:flex-start; flex-direction:column; gap:8px; }
  .cec-hub-links,.cec-home-content-grid,.cec-result-grid,.cec-lecturer-grid,.cec-gallery-grid { grid-template-columns:1fr; }
  .cec-mini-lecturers { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .cec-mini-gallery { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .cec-mini-gallery > a { min-height:140px; }
  .cec-module-intro { align-items:flex-start; }
  .cec-single-meta-grid { grid-template-columns:1fr 1fr; }
  .cec-lecturer-profile { grid-template-columns:1fr; text-align:center; }
  .cec-profile-photo { margin-inline:auto; }
}
@media (max-width: 480px) {
  .cec-hub-links,.cec-mini-lecturers,.cec-mini-gallery,.cec-single-meta-grid { grid-template-columns:1fr; }
  .cec-result-card { grid-template-columns:46px 1fr; }
  .cec-result-icon { width:46px; height:46px; }
}


/* v3.2 - simplified, clear home page */
.cec-simple-home .cec-hero { min-height:430px; }
.cec-simple-home .cec-hero-content p { max-width:610px; }
.cec-simple-grid { display:grid; grid-template-columns:minmax(0,1.55fr) minmax(320px,.85fr); gap:20px; align-items:start; }
.cec-simple-course-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
.cec-simple-course-grid .cec-course-content { min-height:auto; }
.cec-simple-course-grid .cec-course-bottom { margin-top:12px; justify-content:flex-start; }
.cec-simple-links-section { padding-top:0; padding-bottom:52px; }
.cec-simple-links-head { margin-bottom:12px; }
.cec-simple-links { margin-bottom:0; }
.cec-simple-links > a { min-height:82px; padding:14px 16px; box-shadow:none; }
.cec-simple-links > a > span { width:44px; height:44px; flex-basis:44px; }
.cec-simple-links small { display:none; }
@media (max-width:1100px) {
  .cec-simple-grid { grid-template-columns:1fr; }
  .cec-simple-course-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
}
@media (max-width:760px) {
  .cec-simple-home .cec-hero { min-height:390px; }
  .cec-simple-course-grid { grid-template-columns:1fr; }
  .cec-simple-links { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width:480px) {
  .cec-simple-links { grid-template-columns:1fr; }
}


/* ===== أخبار المركز - الإصدار 3.3 ===== */
.cec-news-page { background:linear-gradient(180deg,#f5f8fd 0%,#eef3fa 100%); min-height:70vh; }
.cec-news-banner::before { background:linear-gradient(90deg,rgba(3,44,97,.98),rgba(7,84,184,.76),rgba(7,84,184,.12)),url('assets/images/wasit-presidency.webp') center 45%/cover no-repeat; }
.cec-news-section { padding-block:38px 56px; }
.cec-news-intro { margin-bottom:24px; padding:22px 26px; display:flex; justify-content:space-between; align-items:center; gap:20px; background:#fff; border:1px solid var(--cec-border); border-right:5px solid var(--cec-gold); border-radius:16px; box-shadow:0 10px 28px rgba(3,44,97,.06); }
.cec-news-intro span { color:var(--cec-gold-dark); font-weight:900; }
.cec-news-intro h2 { margin:2px 0 3px; color:var(--cec-blue-dark); }
.cec-news-intro p { margin:0; color:var(--cec-muted); }
.cec-news-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:22px; }
.cec-news-card { overflow:hidden; background:#fff; border:1px solid var(--cec-border); border-radius:18px; box-shadow:0 12px 30px rgba(3,44,97,.07); transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease; }
.cec-news-card:hover { transform:translateY(-5px); border-color:#b9d1ed; box-shadow:0 18px 38px rgba(3,44,97,.13); }
.cec-news-media { height:220px; display:block; position:relative; overflow:hidden; background:#eaf1fa center/cover no-repeat; }
.cec-news-media::after { content:""; position:absolute; inset:0; background:linear-gradient(180deg,transparent 55%,rgba(3,44,97,.35)); }
.cec-news-body { padding:19px 20px 21px; }
.cec-news-date { display:flex; align-items:center; gap:7px; color:var(--cec-gold-dark); font-size:.82rem; font-weight:800; }
.cec-news-date .cec-icon { width:18px; height:18px; }
.cec-news-body h2 { margin:8px 0 7px; font-size:1.12rem; line-height:1.65; color:var(--cec-blue-dark); }
.cec-news-body h2 a { color:inherit; }
.cec-news-body p { margin:0; color:var(--cec-muted); font-size:.91rem; line-height:1.85; }
.cec-news-more { margin-top:15px; display:inline-flex; color:var(--cec-blue); font-weight:900; }
.cec-news-empty { padding:55px 22px; text-align:center; background:#fff; border:1px dashed #bbcae0; border-radius:18px; }
.cec-news-single-section { padding-block:38px 56px; }
.cec-news-single { max-width:1050px; }
.cec-news-article { padding:32px; overflow:hidden; background:#fff; border:1px solid var(--cec-border); border-radius:20px; box-shadow:var(--cec-shadow); }
.cec-news-meta { margin-bottom:22px; display:flex; align-items:center; gap:8px; color:#526783; font-size:.88rem; }
.cec-news-meta .cec-icon { width:18px; height:18px; color:var(--cec-blue); }
.cec-news-featured { margin:0 0 26px; text-align:center; }
.cec-news-featured img { display:block; width:100%; max-height:620px; object-fit:contain; border-radius:14px; }
.cec-news-content { color:#263e61; font-size:1rem; line-height:2; }
.cec-news-content img { max-width:100%; height:auto; border-radius:12px; }
.cec-news-back { margin-top:28px; padding-top:18px; border-top:1px solid var(--cec-border); }
.cec-news-back a { color:var(--cec-blue); font-weight:900; }
@media (max-width:1000px) { .cec-news-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (max-width:680px) { .cec-news-grid { grid-template-columns:1fr; } .cec-news-intro { align-items:flex-start; flex-direction:column; } .cec-news-intro .cec-btn { width:100%; } .cec-news-article { padding:20px 16px; border-radius:16px; } .cec-news-media { height:205px; } }


/* Home announcements carousel - v3.4 */
.cec-home-announcements-panel { overflow:hidden; }
.cec-home-announcement-slider { position:relative; min-height:285px; }
.cec-home-announcement-track { position:relative; }
.cec-home-announcement-slide { min-height:230px; display:grid; grid-template-columns:minmax(190px,.9fr) minmax(0,1.25fr); overflow:hidden; border:1px solid var(--cec-border); border-radius:16px; background:#fff; animation:cecAnnouncementFade .45s ease; }
.cec-home-announcement-slide[hidden] { display:none!important; }
.cec-home-announcement-media { min-height:230px; display:flex; align-items:center; justify-content:center; background:linear-gradient(135deg,var(--cec-blue-deep),var(--cec-blue)); background-position:center; background-size:cover; background-repeat:no-repeat; position:relative; }
.cec-home-announcement-media::after { content:""; position:absolute; inset:0; background:linear-gradient(180deg,rgba(3,44,97,.03),rgba(3,44,97,.18)); }
.cec-home-announcement-placeholder { position:relative; z-index:1; width:76px; height:76px; display:flex; align-items:center; justify-content:center; border-radius:50%; background:rgba(255,255,255,.16); color:#fff; }
.cec-home-announcement-placeholder .cec-icon { width:40px; height:40px; }
.cec-home-announcement-content { padding:22px 22px 18px; display:flex; flex-direction:column; justify-content:center; min-width:0; }
.cec-home-announcement-meta { display:flex; justify-content:space-between; align-items:center; gap:12px; margin-bottom:8px; color:var(--cec-muted); font-size:.82rem; }
.cec-home-announcement-meta span { color:var(--cec-gold-dark); font-weight:900; }
.cec-home-announcement-content h3 { margin:0 0 8px; font-size:1.18rem; line-height:1.65; color:var(--cec-blue-dark); }
.cec-home-announcement-content h3 a { color:inherit; }
.cec-home-announcement-content p { margin:0 0 12px; color:var(--cec-muted); line-height:1.9; font-size:.9rem; }
.cec-home-announcement-more { align-self:flex-start; margin-top:auto; color:var(--cec-blue); font-weight:900; font-size:.88rem; }
.cec-home-announcement-more:hover { color:var(--cec-gold-dark); }
.cec-home-announcement-controls { min-height:48px; display:flex; align-items:center; justify-content:center; gap:14px; padding-top:10px; }
.cec-announcement-arrow { width:34px; height:34px; border:1px solid #cbd9ea; border-radius:50%; background:#fff; color:var(--cec-blue); font-size:1.45rem; line-height:1; cursor:pointer; transition:.2s ease; }
.cec-announcement-arrow:hover,.cec-announcement-arrow:focus-visible { color:#fff; background:var(--cec-blue); border-color:var(--cec-blue); }
.cec-home-announcement-dots { display:flex; align-items:center; justify-content:center; gap:7px; }
.cec-home-announcement-dots button { width:9px; height:9px; padding:0; border:0; border-radius:50%; background:#c2cede; cursor:pointer; transition:.2s ease; }
.cec-home-announcement-dots button.is-active { width:23px; border-radius:10px; background:var(--cec-gold); }
.cec-home-announcement-empty { min-height:230px; display:flex; align-items:center; justify-content:center; gap:14px; text-align:center; color:var(--cec-muted); }
.cec-home-announcement-empty > span { width:58px; height:58px; display:flex; align-items:center; justify-content:center; border-radius:50%; background:#eef5ff; color:var(--cec-blue); }
.cec-home-announcement-empty h3 { margin:0 0 5px; color:var(--cec-blue-dark); }
.cec-home-announcement-empty p { margin:0; }
@keyframes cecAnnouncementFade { from { opacity:0; transform:translateY(7px); } to { opacity:1; transform:none; } }
@media (max-width:780px) {
  .cec-home-announcement-slide { grid-template-columns:1fr; }
  .cec-home-announcement-media { min-height:175px; }
  .cec-home-announcement-content { padding:18px; }
  .cec-home-announcement-slider { min-height:390px; }
}
@media (prefers-reduced-motion:reduce) { .cec-home-announcement-slide { animation:none; } }


/* Home announcements clean no-image state - v3.5 */
.cec-home-announcement-slide.no-media {
  display:block;
  min-height:230px;
  border-top:4px solid var(--cec-gold);
  background:linear-gradient(180deg,#ffffff 0%,#fbfdff 100%);
}
.cec-home-announcement-slide.no-media .cec-home-announcement-content {
  min-height:226px;
  padding:26px 28px 22px;
  position:relative;
}
.cec-home-announcement-inline-icon {
  width:52px;
  height:52px;
  margin-bottom:14px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:14px;
  background:#eef5ff;
  color:var(--cec-blue);
}
.cec-home-announcement-inline-icon .cec-icon { width:28px; height:28px; }
.cec-home-announcement-slide.no-media .cec-home-announcement-content h3 { max-width:720px; font-size:1.2rem; }
.cec-home-announcement-slide.no-media .cec-home-announcement-content p { max-width:760px; }
@media (max-width:720px) {
  .cec-home-announcement-slide.no-media .cec-home-announcement-content { padding:20px 18px; }
}

/* ===== الدورات والأنشطة والفعاليات - الإصدار 3.6 ===== */
.cec-home-activities-panel { overflow:hidden; }
.cec-home-activity-slider { position:relative; }
.cec-home-activity-slide[hidden] { display:none!important; }
.cec-home-activity-slide.is-active { animation:cecActivityFade .42s ease; }
@keyframes cecActivityFade { from { opacity:.2; transform:translateY(5px); } to { opacity:1; transform:none; } }
.cec-activity-card { display:flex; flex-direction:column; min-width:0; }
.cec-activity-thumb { height:150px; display:flex; align-items:center; justify-content:center; background-position:center; background-size:cover; background-repeat:no-repeat; text-decoration:none; }
.cec-activity-thumb-empty { background:linear-gradient(145deg,#edf4fd,#f8fbff); color:var(--cec-blue); }
.cec-activity-thumb-empty .cec-icon { width:42px; height:42px; }
.cec-activity-card .cec-course-content { display:flex; flex:1; flex-direction:column; }
.cec-activity-meta { display:flex; flex-wrap:wrap; align-items:center; gap:7px 10px; margin-bottom:7px; color:#637791; font-size:.78rem; }
.cec-activity-meta span:first-child { color:var(--cec-gold-dark); font-weight:900; }
.cec-activity-card h3 { line-height:1.65; }
.cec-activity-card h3 a { color:var(--cec-blue-dark); }
.cec-activity-card p { margin:0; color:var(--cec-muted); font-size:.84rem; line-height:1.75; }
.cec-activity-card .cec-course-bottom { margin-top:auto; padding-top:13px; align-items:center; }
.cec-activity-status { display:inline-flex; align-items:center; min-height:27px; padding:4px 9px; border-radius:999px; background:#eef3f8; color:#65758b; font-size:.72rem; font-weight:900; white-space:nowrap; }
.cec-activity-status.is-done { background:#e9f7ef; color:#137a42; }
.cec-activity-status.is-open { background:#fff5d8; color:#a56c00; }
.cec-activity-actions { display:flex; align-items:center; justify-content:flex-end; gap:9px; flex-wrap:wrap; }
.cec-activity-details-link { color:var(--cec-blue); font-size:.82rem; font-weight:900; }
.cec-activity-slider-nav { margin-top:13px; display:flex; align-items:center; justify-content:center; gap:11px; }
.cec-activity-slider-nav > button { width:34px; height:34px; display:grid; place-items:center; border:1px solid #c8d8ec; border-radius:50%; background:#fff; color:var(--cec-blue); cursor:pointer; font-size:1.15rem; }
.cec-activity-slider-dots { display:flex; align-items:center; gap:7px; }
.cec-activity-slider-dots button { width:8px; height:8px; padding:0; border:0; border-radius:999px; background:#c5d2e2; cursor:pointer; transition:.2s ease; }
.cec-activity-slider-dots button.is-active { width:22px; background:var(--cec-gold); }
.cec-activities-archive { background:#f5f8fd; min-height:70vh; }
.cec-activities-intro { margin-bottom:22px; padding:18px 22px; border:1px solid var(--cec-border); border-right:5px solid var(--cec-gold); border-radius:14px; background:#fff; }
.cec-activities-intro h2 { margin:0 0 4px; color:var(--cec-blue-dark); }
.cec-activities-intro p { margin:0; color:var(--cec-muted); }
.cec-activities-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
.cec-activity-single { max-width:1050px; }
.cec-activity-article { padding:28px; }
.cec-activity-single-meta { margin-bottom:18px; display:flex; align-items:center; gap:10px; flex-wrap:wrap; color:#60738e; }
.cec-activity-single-meta > span:not(.cec-activity-status) { padding:6px 10px; border-radius:8px; background:#f2f6fb; }
.cec-activity-featured { margin:0 0 24px; }
.cec-activity-featured img { width:100%; max-height:620px; display:block; object-fit:contain; border-radius:14px; background:#f6f8fb; }
.cec-activity-content { color:#263e61; line-height:2; }
.cec-activity-content img { max-width:100%; height:auto; border-radius:12px; }
.cec-activity-single-actions { margin-top:24px; padding-top:18px; border-top:1px solid var(--cec-border); display:flex; gap:10px; flex-wrap:wrap; }
@media (max-width:900px) { .cec-activities-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (max-width:760px) {
  .cec-activities-grid { grid-template-columns:1fr; }
  .cec-home-activity-slide .cec-simple-course-grid { grid-template-columns:1fr; }
  .cec-activity-article { padding:20px 16px; }
  .cec-activity-thumb { height:190px; }
}
\n\n/* v3.8 - lecturer contact fields inspired by the requested simple gold-pill layout */\n.cec-lecturer-contact-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:22px 30px; margin:24px 0; }\n.cec-lecturer-contact-item { text-align:center; }\n.cec-lecturer-contact-item h3 { margin:0 0 12px; color:#14253f; font-size:1rem; font-weight:900; }\n.cec-lecturer-pill { min-height:52px; padding:12px 20px; border-radius:999px; display:flex; align-items:center; justify-content:center; gap:8px; background:#ffe7a8; color:var(--cec-blue); font-weight:800; line-height:1.5; word-break:break-word; }\n.cec-lecturer-pill.is-gold { background:var(--cec-gold); color:#14253f; }\n.cec-lecturer-pill:hover { filter:brightness(.98); }\n.cec-lecturer-pill .cec-icon { width:19px; height:19px; flex:0 0 auto; }\n.cec-lecturer-contact-item.is-full { grid-column:1/-1; max-width:560px; width:100%; margin-inline:auto; }\n@media (max-width:760px){ .cec-lecturer-contact-grid{grid-template-columns:1fr;gap:16px}.cec-lecturer-contact-item.is-full{grid-column:auto} }\n
/* Home stacked content strips - v3.10 */
.cec-home-stacked-panels {
  display:flex;
  flex-direction:column;
  gap:20px;
}
.cec-home-stacked-panels > .cec-panel {
  width:100%;
}
.cec-home-stacked-panels .cec-home-announcements-panel { order:1; }
.cec-home-stacked-panels .cec-home-activities-panel { order:2; }
\n\n/* Home announcements: 3 cards per desktop page, carousel by groups - v3.11 */
.cec-home-announcements-panel { overflow:hidden; }
.cec-home-announcement-slider { position:relative; min-height:390px; }
.cec-home-announcement-track { position:relative; }
.cec-home-announcement-slide {
  display:grid !important;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:18px;
  align-items:stretch;
  animation:cecAnnouncementFade .45s ease;
}
.cec-home-announcement-slide[hidden] { display:none !important; }
.cec-home-announcement-card {
  min-height:325px;
  display:flex;
  flex-direction:column;
  overflow:hidden;
  border:1px solid var(--cec-border);
  border-radius:18px;
  background:#fff;
  box-shadow:0 10px 26px rgba(15,53,108,.06);
}
.cec-home-announcement-card.no-media { background:linear-gradient(180deg,#fff,#fbfdff); }
.cec-home-announcement-media {
  min-height:165px;
  display:block;
  background-position:center;
  background-size:cover;
  background-repeat:no-repeat;
  position:relative;
}
.cec-home-announcement-media::after { content:""; position:absolute; inset:0; background:linear-gradient(180deg,rgba(3,44,97,.02),rgba(3,44,97,.12)); }
.cec-home-announcement-content { padding:18px 18px 16px; display:flex; flex-direction:column; flex:1; min-width:0; }
.cec-home-announcement-inline-icon {
  width:48px; height:48px; display:flex; align-items:center; justify-content:center;
  border-radius:14px; background:#eef5ff; color:var(--cec-blue); margin-bottom:12px;
}
.cec-home-announcement-inline-icon .cec-icon { width:26px; height:26px; }
.cec-home-announcement-meta { display:flex; justify-content:space-between; align-items:center; gap:10px; margin-bottom:8px; color:var(--cec-muted); font-size:.8rem; }
.cec-home-announcement-meta span { color:var(--cec-gold-dark); font-weight:900; }
.cec-home-announcement-content h3 { margin:0 0 8px; font-size:1.05rem; line-height:1.7; color:var(--cec-blue-dark); }
.cec-home-announcement-content h3 a { color:inherit; }
.cec-home-announcement-content p { margin:0 0 12px; color:var(--cec-muted); line-height:1.85; font-size:.88rem; }
.cec-home-announcement-more { align-self:flex-start; margin-top:auto; color:var(--cec-blue); font-weight:900; font-size:.88rem; }
.cec-home-announcement-controls { min-height:48px; display:flex; align-items:center; justify-content:center; gap:14px; padding-top:12px; }
.cec-announcement-arrow { width:38px; height:38px; border-radius:50%; border:1px solid var(--cec-border); background:#fff; color:var(--cec-blue-dark); cursor:pointer; font-size:1.2rem; line-height:1; }
.cec-announcement-arrow:hover { background:#f4f8ff; }
.cec-home-announcement-dots { display:flex; align-items:center; justify-content:center; gap:7px; }
.cec-home-announcement-dots button { width:9px; height:9px; padding:0; border:0; border-radius:50%; background:#c2cede; cursor:pointer; transition:.2s ease; }
.cec-home-announcement-dots button.is-active { width:23px; border-radius:10px; background:var(--cec-gold); }
@media (max-width:1024px) {
  .cec-home-announcement-slide { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .cec-home-announcement-slider { min-height:720px; }
}
@media (max-width:700px) {
  .cec-home-announcement-slide { grid-template-columns:1fr; }
  .cec-home-announcement-slider { min-height:auto; }
  .cec-home-announcement-card { min-height:0; }
  .cec-home-announcement-media { min-height:175px; }
}
@media (prefers-reduced-motion:reduce) { .cec-home-announcement-slide { animation:none; } }


/* Announcements archive: clean text-only cards - v3.12 */
.cec-announcement-card-text-only { min-height:0; }
.cec-announcement-card-text-only .cec-announcement-body { padding:22px 22px 20px; }
.cec-announcement-card-text-only .cec-announcement-topline { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:10px; flex-wrap:wrap; }
.cec-announcement-card-text-only .cec-announcement-type { position:static; display:inline-flex; background:#fff4cf; color:var(--cec-gold-dark); border:1px solid #f2d77c; }
.cec-announcement-card-text-only .cec-announcement-date { margin:0; }
.cec-announcement-card-text-only .cec-announcement-body h2 { margin-top:8px; }
.cec-announcement-card-text-only .cec-announcement-body p { min-height:0; }
@media (max-width:700px) {
  .cec-announcement-card-text-only .cec-announcement-body { padding:18px 16px; }
}

/* v3.13: no decorative megaphone icon inside announcement cards */
.cec-home-announcement-card.no-media .cec-home-announcement-inline-icon { display:none!important; }


/* Comprehensive center statistics - v3.14 */
.cec-statistics-hero .cec-banner-icon {
  color: var(--cec-blue);
  background: rgba(255,255,255,.94);
}
.cec-statistics-page {
  padding: 40px 0 64px;
  background: linear-gradient(180deg,#f7f9fd 0%,#eef3fa 100%);
}
.cec-statistics-block,
.cec-statistics-year {
  margin-bottom: 28px;
  padding: 26px;
  background: #fff;
  border: 1px solid var(--cec-border);
  border-radius: 20px;
  box-shadow: 0 12px 32px rgba(3,44,97,.07);
}
.cec-statistics-heading,
.cec-statistics-year-title {
  margin-bottom: 22px;
  text-align: center;
}
.cec-statistics-heading > span,
.cec-statistics-year-title > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 74px;
  min-height: 34px;
  padding: 5px 14px;
  margin-bottom: 7px;
  border-radius: 999px;
  color: #4a3300;
  background: #fff2cf;
  font-weight: 900;
}
.cec-statistics-heading h2,
.cec-statistics-year-title h2 {
  margin: 0;
  color: var(--cec-blue-dark);
  font-size: 1.55rem;
}
.cec-statistics-subsection + .cec-statistics-subsection {
  margin-top: 25px;
  padding-top: 24px;
  border-top: 1px solid #edf1f7;
}
.cec-statistics-subsection h3 {
  margin: 0 0 16px;
  color: var(--cec-blue-dark);
  text-align: right;
  font-size: 1.15rem;
}
.cec-statistics-grid {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 16px;
}
.cec-statistics-grid-two {
  grid-template-columns: repeat(2,minmax(0,1fr));
  max-width: 760px;
  margin-inline: auto;
}
.cec-statistics-card {
  min-height: 185px;
  padding: 22px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  border: 1px solid #dce7f4;
  border-top: 4px solid var(--cec-gold);
  border-radius: 16px;
  background: linear-gradient(180deg,#fff,#f9fbff);
  box-shadow: 0 8px 22px rgba(3,44,97,.06);
}
.cec-statistics-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  border-radius: 14px;
  color: var(--cec-blue);
  background: #eaf3ff;
}
.cec-statistics-icon .cec-icon {
  width: 27px;
  height: 27px;
}
.cec-statistics-card strong {
  display: block;
  margin-bottom: 5px;
  color: var(--cec-blue-dark);
  font-size: 2.3rem;
  line-height: 1.2;
}
.cec-statistics-card > span:last-child {
  color: #5f718d;
  font-weight: 700;
}
.cec-statistics-empty {
  padding: 58px 22px;
  text-align: center;
  background: #fff;
  border: 1px dashed #c9d8ea;
  border-radius: 18px;
  color: var(--cec-muted);
}
.cec-statistics-empty > span {
  width: 62px;
  height: 62px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  border-radius: 50%;
  background: #eef5ff;
  color: var(--cec-blue);
}
.cec-statistics-empty > span .cec-icon {
  width: 34px;
  height: 34px;
}
.cec-statistics-empty h2 {
  margin: 0 0 6px;
  color: var(--cec-blue-dark);
}
.cec-statistics-empty p {
  margin: 0;
}
@media (max-width: 980px) {
  .cec-statistics-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 620px) {
  .cec-statistics-page { padding-top: 24px; }
  .cec-statistics-block,.cec-statistics-year { padding: 18px 14px; border-radius: 16px; }
  .cec-statistics-grid,.cec-statistics-grid-two { grid-template-columns: 1fr; }
  .cec-statistics-card { min-height: 150px; }
  .cec-statistics-card strong { font-size: 2rem; }
}

/* Compact important links on the simplified home page - v3.33 */
@media (min-width:1101px) {
  .cec-simple-links { grid-template-columns:repeat(4,minmax(0,1fr)); }
}


/* Center access map - v3.15 */
.cec-map-page { background:linear-gradient(180deg,#f4f7fb 0%,#eef3f9 100%); }
.cec-map-section { padding:42px 0 58px; }
.cec-map-heading { display:flex; align-items:center; gap:18px; margin-bottom:22px; padding:24px 26px; background:#fff; border:1px solid var(--cec-border); border-right:5px solid var(--cec-gold); border-radius:18px; box-shadow:0 10px 28px rgba(3,44,97,.06); }
.cec-map-heading-icon { flex:0 0 58px; width:58px; height:58px; display:flex; align-items:center; justify-content:center; border-radius:16px; background:#edf4fd; color:var(--cec-blue); }
.cec-map-heading-icon .cec-icon { width:30px; height:30px; }
.cec-map-kicker { color:var(--cec-gold-dark); font-weight:900; font-size:.88rem; }
.cec-map-heading h1 { margin:3px 0 5px; color:var(--cec-blue-dark); font-size:clamp(1.55rem,2.6vw,2.15rem); }
.cec-map-heading p { margin:0; color:var(--cec-muted); line-height:1.9; }
.cec-map-card { overflow:hidden; background:#fff; border:1px solid var(--cec-border); border-radius:20px; box-shadow:0 16px 42px rgba(3,44,97,.09); }
.cec-map-frame { position:relative; height:min(66vh,620px); min-height:430px; background:#eaf0f7; }
.cec-map-frame iframe { position:absolute; inset:0; width:100%; height:100%; border:0; }
.cec-map-actions { display:flex; align-items:center; justify-content:space-between; gap:22px; padding:20px 24px; }
.cec-map-address { display:flex; flex-direction:column; gap:4px; }
.cec-map-address strong { color:var(--cec-blue-dark); }
.cec-map-address span { color:var(--cec-muted); font-size:.9rem; }
.cec-map-actions .cec-btn { display:inline-flex; align-items:center; justify-content:center; gap:8px; white-space:nowrap; }
.cec-map-actions .cec-btn .cec-icon { width:20px; height:20px; }
@media (max-width:720px) {
  .cec-map-section { padding:24px 0 38px; }
  .cec-map-heading { align-items:flex-start; padding:20px 18px; }
  .cec-map-heading-icon { width:48px; height:48px; flex-basis:48px; }
  .cec-map-frame { min-height:360px; height:56vh; }
  .cec-map-actions { align-items:stretch; flex-direction:column; padding:18px; }
  .cec-map-actions .cec-btn { width:100%; }
}

/* Interactive access map - v3.16 */
.cec-route-map-wrap { position:relative; }
.cec-route-map { width:100%; height:min(68vh,650px); min-height:480px; background:#eaf0f7; z-index:1; }
.cec-map-legend { position:absolute; right:18px; bottom:18px; z-index:500; display:flex; flex-wrap:wrap; gap:10px 16px; max-width:calc(100% - 36px); padding:10px 14px; border:1px solid rgba(15,53,108,.14); border-radius:12px; background:rgba(255,255,255,.94); box-shadow:0 7px 24px rgba(15,53,108,.12); color:var(--cec-blue-dark); font-size:.82rem; font-weight:800; }
.cec-map-legend span { display:inline-flex; align-items:center; gap:7px; }
.cec-map-legend-dot { width:12px; height:12px; border-radius:50%; display:inline-block; }
.cec-map-legend-dot.is-gate { background:var(--cec-blue); }
.cec-map-legend-dot.is-center { background:var(--cec-gold); }
.cec-map-legend-line { width:28px; height:5px; border-radius:999px; display:inline-block; background:var(--cec-gold); box-shadow:0 0 0 2px rgba(10,77,150,.32); }
.cec-map-buttons { display:flex; align-items:center; gap:10px; flex-wrap:wrap; }
.cec-map-buttons .cec-btn-secondary { border:1px solid var(--cec-border); background:#fff; color:var(--cec-blue); }
.cec-map-buttons .cec-btn-secondary:hover { border-color:var(--cec-blue); background:#f5f9ff; }
.cec-map-div-icon { background:transparent!important; border:0!important; }
.cec-map-pin { position:absolute; top:1px; right:112px; width:38px; height:38px; border-radius:50% 50% 50% 0; transform:rotate(-45deg); border:3px solid #fff; box-shadow:0 4px 14px rgba(0,0,0,.28); }
.cec-map-pin.is-gate { background:var(--cec-blue); }
.cec-map-pin.is-center { background:var(--cec-gold); }
.cec-map-pin-dot { position:absolute; width:10px; height:10px; border-radius:50%; background:#fff; top:11px; left:11px; }
.cec-map-pin-label { position:absolute; top:4px; right:0; transform:translateX(0); min-width:108px; max-width:128px; padding:5px 8px; border-radius:8px; background:rgba(255,255,255,.95); box-shadow:0 3px 10px rgba(0,0,0,.15); color:#0b2f61; font-family:'Cairo',sans-serif; font-size:11px; font-weight:900; line-height:1.5; text-align:center; white-space:normal; }
.cec-route-map .leaflet-popup-content-wrapper { border-radius:12px; font-family:'Cairo',sans-serif; direction:rtl; text-align:right; }
.cec-route-map .leaflet-control-layers { font-family:'Cairo',sans-serif; direction:rtl; }
@media (max-width:700px) {
  .cec-route-map { min-height:430px; height:62vh; }
  .cec-map-legend { right:10px; bottom:10px; max-width:calc(100% - 20px); gap:8px 12px; padding:9px 10px; font-size:.75rem; }
  .cec-map-buttons { width:100%; }
  .cec-map-buttons .cec-btn { width:100%; }
}


/* Route diagram image - v3.17 */
.cec-route-diagram-card { overflow:hidden; }
.cec-route-diagram-link { position:relative; display:block; background:#eef3f8; line-height:0; }
.cec-route-diagram-image { display:block; width:100%; height:auto; max-height:none; object-fit:contain; }
.cec-route-diagram-zoom { position:absolute; left:18px; bottom:18px; display:inline-flex; align-items:center; gap:7px; padding:10px 14px; border-radius:999px; background:rgba(3,44,97,.9); color:#fff; font-size:.84rem; font-weight:900; line-height:1.4; box-shadow:0 8px 24px rgba(0,0,0,.18); }
.cec-route-diagram-zoom .cec-icon { width:18px; height:18px; }
.cec-route-diagram-link:hover .cec-route-diagram-zoom { background:var(--cec-gold); color:#2f2400; }
@media (max-width:700px) {
  .cec-route-diagram-zoom { left:10px; bottom:10px; padding:8px 11px; font-size:.76rem; }
}


/* Sustainable Development Goals page - v3.18 */
.cec-sdg-page { background:linear-gradient(180deg,#f7f9fd 0%,#eef3f9 100%); }
.cec-sdg-section { padding:42px 0 64px; }
.cec-sdg-card { background:#fff; border:1px solid var(--cec-border); border-radius:22px; box-shadow:var(--cec-shadow); overflow:hidden; }
.cec-sdg-head { padding:26px 30px 20px; text-align:center; border-bottom:1px solid #edf1f7; }
.cec-sdg-kicker { display:inline-block; margin-bottom:7px; color:var(--cec-gold-dark); font-weight:900; }
.cec-sdg-head h1 { margin:0 0 8px; color:var(--cec-blue-dark); font-size:clamp(1.65rem,3vw,2.25rem); }
.cec-sdg-head p { max-width:900px; margin:0 auto; color:var(--cec-muted); line-height:1.9; }
.cec-sdg-image-wrap { padding:26px; text-align:center; background:#fff; }
.cec-sdg-image-wrap img { display:block; width:100%; max-width:1112px; height:auto; margin:0 auto; border-radius:14px; }
@media (max-width:700px) {
  .cec-sdg-head { padding:22px 16px 16px; }
  .cec-sdg-image-wrap { padding:12px; }
}


/* Director biography fixed profile - v3.20 */
.cec-director-profile{background:#fff;border:1px solid var(--cec-border);border-radius:22px;box-shadow:var(--cec-shadow);padding:28px;overflow:hidden}
.cec-director-profile-main{display:grid;grid-template-columns:190px minmax(0,1fr);gap:28px;align-items:center;padding-bottom:24px;border-bottom:1px solid #e8eef6}
.cec-director-photo-wrap{display:flex;justify-content:center}
.cec-director-photo,.cec-director-photo-placeholder{width:170px;height:190px;border-radius:18px;border:4px solid #fff;box-shadow:0 14px 34px rgba(3,44,97,.14)}
.cec-director-photo{object-fit:cover;background:#eef4fb}
.cec-director-photo-placeholder{display:flex;align-items:center;justify-content:center;background:linear-gradient(145deg,#eef5ff,#f9fbfe);color:var(--cec-blue)}
.cec-director-photo-placeholder .cec-icon{width:62px;height:62px}
.cec-director-kicker{display:inline-block;color:var(--cec-gold-dark);font-weight:900;margin-bottom:5px}
.cec-director-profile-info h2{margin:0 0 6px;color:var(--cec-blue-dark);font-size:1.75rem}
.cec-director-position{margin:0 0 12px;color:var(--cec-blue);font-weight:800}
.cec-director-summary{margin:0;color:var(--cec-muted);line-height:2}
.cec-director-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:22px}
.cec-director-fields>div{padding:16px 18px;border:1px solid #dbe6f3;border-radius:14px;background:#f8fbff}
.cec-director-fields span{display:block;color:var(--cec-muted);font-size:.82rem;margin-bottom:5px}
.cec-director-fields strong,.cec-director-fields a{display:block;color:var(--cec-blue-dark);font-weight:900;overflow-wrap:anywhere}
.cec-director-fields a{direction:ltr;text-align:right}
.cec-director-cv-box{margin-top:22px;padding:18px 20px;border:1px solid #edd59d;border-radius:16px;background:#fffaf0;display:flex;align-items:center;justify-content:space-between;gap:18px}
.cec-director-cv-box>div{display:flex;align-items:center;gap:13px}
.cec-director-cv-icon{width:48px;height:48px;border-radius:14px;background:#fff1c7;color:var(--cec-gold-dark);display:flex;align-items:center;justify-content:center}
.cec-director-cv-icon .cec-icon{width:26px;height:26px}
.cec-director-cv-box strong{display:block;color:var(--cec-blue-dark);font-size:1.05rem}
.cec-director-cv-box p{margin:3px 0 0;color:var(--cec-muted);font-size:.88rem}
.cec-director-cv-missing{color:#8a6b18;font-weight:800}
@media(max-width:800px){.cec-director-profile{padding:20px}.cec-director-profile-main{grid-template-columns:1fr;text-align:center}.cec-director-fields{grid-template-columns:1fr}.cec-director-fields a{text-align:center}.cec-director-cv-box{align-items:stretch;flex-direction:column}.cec-director-cv-box .cec-btn{width:100%;text-align:center;justify-content:center}}


/* Other course registration form - v3.22 */
.cec-other-course-layout { grid-template-columns:1fr!important; max-width:1180px; }
.cec-other-course-form-page .cec-main-form { width:100%; }
.cec-other-form-intro { margin-bottom:18px; padding:20px 22px; display:flex; align-items:center; gap:16px; background:#fff; border:1px solid var(--cec-border); border-right:4px solid var(--cec-gold); border-radius:16px; box-shadow:0 10px 28px rgba(3,44,97,.06); }
.cec-other-form-intro-icon { flex:0 0 56px; width:56px; height:56px; display:flex; align-items:center; justify-content:center; border-radius:16px; background:#eef5ff; color:var(--cec-blue); }
.cec-other-form-intro-icon .cec-icon { width:30px; height:30px; }
.cec-other-form-intro h2 { margin:0 0 4px; color:var(--cec-blue-dark); font-size:1.25rem; }
.cec-other-form-intro p { margin:0; color:var(--cec-muted); }
.cec-requested-course-section { border-color:#cbdcf3; background:linear-gradient(180deg,#fff,#fbfdff); }
.cec-requested-course-field label { color:var(--cec-blue-dark); font-size:1.02rem; }
.cec-requested-course-field .cec-input { min-height:56px; font-size:1rem; border:2px solid #c9d9ef; }
.cec-radio-wrap { flex-wrap:wrap; }
@media (max-width:700px) {
  .cec-other-form-intro { align-items:flex-start; padding:17px; }
  .cec-other-form-intro-icon { width:48px; height:48px; flex-basis:48px; }
}


/* Application confirmation email and printable application copy - v3.25 */
.cec-application-success-box{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:18px;padding:18px 20px}
.cec-application-success-box>div{display:flex;flex-direction:column;gap:4px}
.cec-application-success-box b{display:inline-block;color:var(--cec-blue-dark);font-size:1.02rem}
.cec-application-success-box small{display:block;color:#386344;line-height:1.7}
.cec-success-print-button{flex:0 0 auto;white-space:nowrap}
.cec-application-print-page{background:#edf2f8;min-height:70vh}
.cec-print-screen-bar{padding:18px 0;background:#fff;border-bottom:1px solid var(--cec-border)}
.cec-print-screen-bar-inner{display:flex;align-items:center;justify-content:space-between;gap:12px}
.cec-print-section{padding:34px 0 60px}
.cec-print-document{max-width:900px;margin:0 auto;background:#fff;border:1px solid #ccd7e5;border-radius:10px;box-shadow:0 18px 48px rgba(3,44,97,.12);padding:34px;color:#172d4f}
.cec-print-document-header{display:flex;align-items:center;justify-content:center;gap:18px;text-align:center;padding-bottom:20px;border-bottom:3px double var(--cec-blue)}
.cec-print-document-header img{width:92px;height:92px;object-fit:contain}
.cec-print-document-header strong,.cec-print-document-header span{display:block;font-size:1.1rem;font-weight:900;color:var(--cec-blue-dark)}
.cec-print-document-header h1{margin:7px 0 0;font-size:1.45rem;color:#111}
.cec-print-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0;margin:24px 0;border:1px solid #bfcddd}
.cec-print-summary>div{display:grid;grid-template-columns:140px 1fr;border-bottom:1px solid #bfcddd}
.cec-print-summary>div:nth-child(odd){border-left:1px solid #bfcddd}
.cec-print-summary>div:nth-last-child(-n+2){border-bottom:0}
.cec-print-summary span,.cec-print-summary strong{padding:10px 12px}
.cec-print-summary span{background:#eef4fb;font-weight:900;color:var(--cec-blue-dark)}
.cec-print-summary strong{font-weight:800}
.cec-print-section-title{font-size:1.15rem;margin:24px 0 10px;padding:9px 13px;background:var(--cec-blue);color:#fff;border-radius:5px}
.cec-print-data-table{width:100%;border-collapse:collapse}
.cec-print-data-table th,.cec-print-data-table td{padding:10px 12px;border:1px solid #bfcddd;text-align:right;vertical-align:top}
.cec-print-data-table th{width:32%;background:#f3f6fa;color:var(--cec-blue-dark);font-weight:900}
.cec-print-declaration{display:flex;gap:8px;margin-top:20px;padding:14px;border:1px solid #d5b96b;background:#fffaf0;line-height:1.9}
.cec-print-document-footer{margin-top:24px;padding-top:15px;border-top:1px dashed #8fa0b5;font-size:.86rem;color:#4f6076}
.cec-print-document-footer p{margin:0 0 24px;text-align:center;font-weight:700}
.cec-print-document-footer>div{display:flex;justify-content:space-between;gap:20px;color:#111;font-weight:800}
.cec-print-error{max-width:720px;margin:30px auto;padding:34px;background:#fff;border:1px solid #efd0d0;border-radius:16px;text-align:center;box-shadow:var(--cec-shadow)}
.cec-print-error h1{color:var(--cec-danger);margin-top:0}
@media(max-width:700px){
  .cec-application-success-box{align-items:stretch;flex-direction:column}
  .cec-success-print-button{width:100%;justify-content:center;text-align:center}
  .cec-print-screen-bar-inner{align-items:stretch;flex-direction:column}
  .cec-print-screen-bar .cec-btn{width:100%;justify-content:center}
  .cec-print-document{padding:18px;border-radius:6px}
  .cec-print-document-header{flex-direction:column;gap:8px}
  .cec-print-summary{grid-template-columns:1fr}
  .cec-print-summary>div,.cec-print-summary>div:nth-child(odd),.cec-print-summary>div:nth-last-child(-n+2){border-left:0;border-bottom:1px solid #bfcddd}
  .cec-print-summary>div:last-child{border-bottom:0}
  .cec-print-data-table th{width:40%}
  .cec-print-document-footer>div{flex-direction:column}
}
@media print{
  @page{size:A4;margin:12mm}
  body{background:#fff!important;color:#000!important;font-family:"Cairo",Tahoma,Arial,sans-serif!important}
  body.admin-bar{margin-top:0!important}
  #wpadminbar,.site-header,.site-footer,.cec-no-print,.cec-print-screen-bar{display:none!important}
  .cec-application-print-page,.cec-print-section{background:#fff!important;padding:0!important;min-height:auto!important}
  .cec-print-section .cec-container{width:100%!important;max-width:none!important;padding:0!important}
  .cec-print-document{max-width:none!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;box-shadow:none!important}
  .cec-print-document-header img{width:76px;height:76px}
  .cec-print-document-header h1{font-size:17pt}
  .cec-print-summary,.cec-print-data-table,.cec-print-declaration{break-inside:avoid}
  .cec-print-section-title{background:#e7edf5!important;color:#000!important;border:1px solid #77889c!important;-webkit-print-color-adjust:exact;print-color-adjust:exact}
  .cec-print-summary span,.cec-print-data-table th{background:#eef2f6!important;-webkit-print-color-adjust:exact;print-color-adjust:exact}
  a{color:#000!important;text-decoration:none!important}
}


/* v3.28 - simplified lecturer profile: photo first, all details below */
.cec-lecturer-profile--photo-only { display:flex; justify-content:center; margin-bottom:28px; padding-bottom:28px; }
.cec-lecturer-profile--photo-only .cec-profile-photo { margin-inline:auto; }


/* v3.29: حالة آمنة عند عدم رفع مخطط الوصول الصحيح */
.cec-route-diagram-empty {
  min-height: 360px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 42px 24px;
  text-align: center;
  background: linear-gradient(135deg, #f7faff, #eef4fc);
  border-bottom: 1px solid var(--cec-border);
}
.cec-route-diagram-empty-icon {
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #e3efff;
  color: var(--cec-blue);
}
.cec-route-diagram-empty-icon .cec-icon { width: 36px; height: 36px; }
.cec-route-diagram-empty strong { color: var(--cec-blue-dark); font-size: 1.25rem; }
.cec-route-diagram-empty p { margin: 0; max-width: 660px; color: var(--cec-muted); }
@media (max-width: 680px) {
  .cec-route-diagram-empty { min-height: 280px; padding: 32px 18px; }
}

/* منصة الزوار - v3.32 */
.cec-visitor-counter-section{padding-top:0;padding-bottom:34px}
.cec-visitor-counter-card{width:min(100%,360px);min-height:185px;margin-inline:auto;padding:25px 24px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;border:1px solid #d5e2f2;border-top:5px solid var(--cec-gold);border-radius:22px;background:linear-gradient(145deg,#fff,#f5f9ff);box-shadow:0 13px 32px rgba(7,64,139,.09);color:var(--cec-blue-dark)}
.cec-visitor-counter-icon{width:64px;height:64px;margin-bottom:12px;display:grid;place-items:center;border-radius:50%;background:#eaf3ff;color:var(--cec-blue)}
.cec-visitor-counter-icon .cec-icon{width:34px;height:34px}
.cec-visitor-counter-card>span:not(.cec-visitor-counter-icon){font-weight:900;color:#536b89}
.cec-visitor-counter-card strong{margin:8px 0 5px;font-size:2.8rem;line-height:1;color:var(--cec-blue);font-variant-numeric:tabular-nums}
.cec-visitor-counter-card small{color:#7b8ba0;font-weight:700}
@media(max-width:600px){.cec-visitor-counter-card{min-height:175px;border-radius:18px}.cec-visitor-counter-card strong{font-size:2.35rem}}



/* مواقع ذات صلة - v3.40 */
.cec-related-sites-section{padding-top:8px;padding-bottom:42px;background:linear-gradient(180deg,#f7faff 0%,#fff 100%)}
.cec-related-sites-menu{width:min(100%,560px);margin-inline:auto;position:relative}
.cec-related-sites-trigger{min-height:175px;padding:24px 22px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;cursor:pointer;list-style:none;text-align:center;border:1px solid #d4e1f0;border-radius:24px;background:#fff;color:var(--cec-blue-dark);box-shadow:0 13px 34px rgba(8,55,116,.10);transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease}
.cec-related-sites-trigger::-webkit-details-marker{display:none}
.cec-related-sites-trigger:hover{transform:translateY(-4px);border-color:#9fbce0;box-shadow:0 18px 40px rgba(8,55,116,.14)}
.cec-related-sites-trigger:focus-visible{outline:3px solid rgba(7,84,184,.25);outline-offset:4px}
.cec-related-sites-trigger-icon{width:92px;height:92px;display:grid;place-items:center;border:4px solid var(--cec-blue-dark);border-radius:50%;background:linear-gradient(145deg,#fff,#edf5ff);color:#098ad9}
.cec-related-sites-trigger-icon .cec-icon{width:48px;height:48px}
.cec-related-sites-trigger strong{font-size:1.25rem;font-weight:900}
.cec-related-sites-trigger-arrow{font-size:1.55rem;line-height:1;color:var(--cec-gold);transition:transform .2s ease}
.cec-related-sites-menu[open] .cec-related-sites-trigger-arrow{transform:rotate(180deg)}
.cec-related-sites-list{margin-top:14px;padding:12px;display:grid;gap:10px;border:1px solid #d4e1f0;border-radius:20px;background:#fff;box-shadow:0 16px 38px rgba(8,55,116,.12)}
.cec-related-sites-list a{min-height:58px;padding:13px 16px;display:flex;align-items:center;gap:12px;border:1px solid #e0e8f2;border-radius:14px;background:#f8fbff;color:var(--cec-blue-dark);text-decoration:none;transition:background .2s ease,border-color .2s ease,transform .2s ease}
.cec-related-sites-list a:hover{transform:translateX(-3px);border-color:#a9c2e0;background:#eef6ff}
.cec-related-sites-list a>span{width:38px;height:38px;display:grid;place-items:center;flex:0 0 auto;border-radius:50%;background:#e5f1ff;color:var(--cec-blue)}
.cec-related-sites-list a .cec-icon{width:20px;height:20px}
.cec-related-sites-list a strong{font-size:1rem;line-height:1.6;font-weight:900}
@media(max-width:600px){.cec-related-sites-section{padding-bottom:30px}.cec-related-sites-trigger{min-height:155px;border-radius:20px}.cec-related-sites-trigger-icon{width:82px;height:82px}.cec-related-sites-list{padding:9px}.cec-related-sites-list a{min-height:54px;padding:11px 13px}}


/* صفحة مواقع ذات صلة - v3.41 */
.cec-related-sites-page{padding:54px 0 72px;background:linear-gradient(180deg,#f6f9fd 0%,#fff 100%)}
.cec-related-sites-page-intro{max-width:760px;margin:0 auto 28px;text-align:center}
.cec-related-sites-page-intro span{display:inline-block;margin-bottom:8px;color:var(--cec-gold);font-weight:900}
.cec-related-sites-page-intro h2{margin:0 0 8px;color:var(--cec-blue-dark);font-size:1.8rem}
.cec-related-sites-page-intro p{margin:0;color:var(--cec-muted);line-height:1.9}
.cec-related-sites-page-list{max-width:900px;margin:0 auto;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.cec-related-sites-page-list a{min-height:76px;padding:15px 18px;display:flex;align-items:center;gap:14px;border:1px solid #d9e4f1;border-radius:16px;background:#fff;color:var(--cec-blue-dark);text-decoration:none;box-shadow:0 8px 24px rgba(8,55,116,.06);transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease}
.cec-related-sites-page-list a:hover{transform:translateY(-3px);border-color:#a9c2e0;box-shadow:0 14px 30px rgba(8,55,116,.11)}
.cec-related-sites-page-list a>span{width:46px;height:46px;display:grid;place-items:center;flex:0 0 auto;border-radius:50%;background:#eaf3ff;color:var(--cec-blue)}
.cec-related-sites-page-list a .cec-icon{width:24px;height:24px}
.cec-related-sites-page-list a strong{font-size:1.05rem;line-height:1.65;font-weight:900}
.cec-related-sites-page-empty{max-width:720px;margin:0 auto;padding:34px 22px;text-align:center;border:1px dashed #b8cce5;border-radius:18px;background:#fff;color:var(--cec-muted)}
.cec-related-sites-page-empty span{width:70px;height:70px;margin:0 auto 12px;display:grid;place-items:center;border-radius:50%;background:#eaf3ff;color:var(--cec-blue)}
.cec-related-sites-page-empty .cec-icon{width:34px;height:34px}
.cec-related-sites-page-empty h2{margin:0 0 8px;color:var(--cec-blue-dark)}
.cec-related-sites-page-empty p{margin:0;line-height:1.8}
@media(max-width:760px){.cec-related-sites-page{padding:38px 0 52px}.cec-related-sites-page-list{grid-template-columns:1fr}.cec-related-sites-page-intro h2{font-size:1.5rem}}


/* التواصل الاجتماعي - v3.42 */
.cec-social-media-page-list a>span{background:#e8f4ff;color:#0879d1}
.cec-social-media-page-list a:hover{border-color:#8bbce8;background:#fbfdff}


/* سعة التسجيل في استمارة طرائق التدريس - v3.44 */
.cec-capacity-status {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  margin:0 0 18px;
  padding:14px 18px;
  border-radius:12px;
  border:1px solid var(--cec-border);
}
.cec-capacity-status > div { display:flex; flex-direction:column; gap:2px; }
.cec-capacity-status strong { font-size:17px; }
.cec-capacity-status span { font-size:14px; }
.cec-capacity-status.is-open { background:#eaf9f0; border-color:#bceacb; color:#16713c; }
.cec-capacity-status.is-full { background:#fff0f0; border-color:#f0c4c4; color:#a22e2e; }
.cec-registration-closed-box {
  text-align:center;
  padding:34px 22px;
  border:1px dashed #efb3b3;
  border-radius:14px;
  background:#fff8f8;
  color:#8e2c2c;
}
.cec-registration-closed-box svg { width:44px; height:44px; margin-bottom:8px; }
.cec-registration-closed-box h2 { margin:0 0 8px; }
.cec-registration-closed-box p { margin:0 auto; max-width:680px; }

/* المجلس العلمي */
.cec-council-public{background:#fff;border:1px solid var(--cec-border);border-radius:20px;box-shadow:var(--cec-shadow);padding:28px}
.cec-council-public-head{display:flex;align-items:center;gap:15px;padding-bottom:20px;border-bottom:1px solid #e8eef6}
.cec-council-public-head .cec-service-icon{flex:0 0 auto;margin:0}
.cec-council-public-head h2{margin:0 0 5px;color:var(--cec-blue-dark);font-size:1.5rem}
.cec-council-public-head p{margin:0;color:var(--cec-muted)}
.cec-council-members{list-style:none;counter-reset:cec-council;margin:22px 0 0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.cec-council-member{counter-increment:cec-council;display:flex;align-items:center;gap:14px;min-width:0;padding:17px 18px;border:1px solid #dbe6f3;border-radius:15px;background:#f8fbff;position:relative}
.cec-council-member::before{content:counter(cec-council);width:30px;height:30px;display:flex;align-items:center;justify-content:center;flex:0 0 30px;border-radius:50%;background:#e6f0ff;color:var(--cec-blue);font-weight:900;font-size:.82rem}
.cec-council-member-icon{width:42px;height:42px;display:flex;align-items:center;justify-content:center;flex:0 0 42px;border-radius:12px;background:#fff;color:var(--cec-blue);border:1px solid #dce8f6}
.cec-council-member-icon .cec-icon{width:23px;height:23px}
.cec-council-member>div{min-width:0}
.cec-council-member strong{display:block;color:var(--cec-blue-dark);font-size:1rem;overflow-wrap:anywhere}
.cec-council-member>div span{display:block;margin-top:4px;color:var(--cec-muted);font-size:.86rem}
@media(max-width:760px){.cec-council-public{padding:20px}.cec-council-members{grid-template-columns:1fr}.cec-council-member{padding:15px 13px;gap:10px}.cec-council-public-head{align-items:flex-start}.cec-council-public-head h2{font-size:1.25rem}}

/* المجلس العلمي: دعم المحتوى المكتوب مباشرة في محرر الصفحة */
.cec-council-editor-content{margin-top:22px;color:var(--cec-text);font-size:1rem;line-height:2}
.cec-council-editor-content>p:first-child{margin-top:0}
.cec-council-editor-content ul,.cec-council-editor-content ol{margin:0;padding:0 1.35rem 0 0}
.cec-council-editor-content li{margin:0 0 10px;padding:10px 12px;border:1px solid #e1e9f3;border-radius:12px;background:#f9fbfe}
.cec-council-editor-content li:last-child{margin-bottom:0}
.cec-council-editor-content p:last-child{margin-bottom:0}


/* Submission success view - v3.64
 * After a successful registration, keep only the confirmation/print box.
 */
.cec-submission-complete .cec-form-layout {
  grid-template-columns: 1fr;
}
.cec-submission-complete .cec-form-sidebar {
  display: none !important;
}
.cec-submission-complete .cec-main-form > :not(.cec-application-success-box) {
  display: none !important;
}
.cec-submission-complete .cec-main-form {
  max-width: 1180px;
  width: 100%;
  margin-inline: auto;
}


/* Registration form select placeholders - v3.64
 * Keep the prompt visible before selection, but hide it from the opened list.
 * Applied consistently to all registration forms.
 */
.cec-main-form select option[value=""][disabled],
.cec-main-form select option[hidden] {
  display: none;
}


/* Cloudflare Turnstile - v3.67 */
.cec-turnstile-wrap{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  margin:20px 0 8px;
  padding:16px 18px;
  border:1px solid #d7e5f7;
  border-radius:14px;
  background:#f8fbff;
  direction:rtl;
}
.cec-turnstile-copy{display:flex;flex-direction:column;gap:4px;min-width:0}
.cec-turnstile-copy strong{color:#0b4f9c;font-size:15px}
.cec-turnstile-copy span{color:#667b96;font-size:13px;line-height:1.7}
.cec-turnstile-wrap .cf-turnstile{width:min(100%,360px);min-width:300px;direction:ltr}
@media (max-width:720px){
  .cec-turnstile-wrap{align-items:stretch;flex-direction:column}
  .cec-turnstile-wrap .cf-turnstile{width:100%;min-width:0}
}


/* =========================================================
 * v3.69 — UI Polish
 * تحسين بصري محافظ على هوية جامعة واسط ووظائف المنصة
 * ========================================================= */
:root{
  --cec-shadow:0 16px 42px rgba(7,59,127,.10);
  --cec-shadow-soft:0 8px 26px rgba(7,59,127,.065);
  --cec-shadow-hover:0 18px 42px rgba(7,59,127,.14);
  --cec-radius:20px;
}

body{
  background:
    radial-gradient(circle at 90% 0%,rgba(7,84,184,.035),transparent 28%),
    linear-gradient(180deg,#f8fafe 0%,#f4f7fb 100%);
  text-rendering:optimizeLegibility;
  -webkit-font-smoothing:antialiased;
}

a,button,input,select,textarea{ -webkit-tap-highlight-color:transparent; }
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{
  outline:3px solid rgba(229,165,27,.45);
  outline-offset:3px;
}

/* Header: cleaner, calmer and more institutional */
.cec-site-header{
  border-bottom:1px solid rgba(7,84,184,.075);
  box-shadow:0 5px 24px rgba(3,44,97,.055);
}
.cec-header-inner{ min-height:76px; gap:32px; }
.cec-brand{ gap:13px; }
.cec-brand-logos img{
  filter:drop-shadow(0 3px 7px rgba(3,44,97,.08));
}
.cec-brand-copy strong{ letter-spacing:-.15px; }
.cec-brand-copy span{ letter-spacing:-.2px; }
.cec-nav-list{ gap:17px; }
.cec-nav a{
  transition:color .2s ease,background-color .2s ease;
}
.cec-nav-list > .menu-item > a:hover{ color:var(--cec-blue); }
.cec-nav .sub-menu{
  border-color:#dce7f5;
  border-radius:16px;
  box-shadow:0 20px 52px rgba(3,44,97,.16);
}
.cec-nav .sub-menu a{ transition:color .2s ease,background .2s ease,padding .2s ease; }

/* Hero: slightly shorter, stronger typography, soft depth */
.cec-simple-home .cec-hero,
.cec-simple-home .cec-hero-inner{
  min-height:390px;
}
.cec-hero::after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:
    radial-gradient(circle at 18% 25%,rgba(255,255,255,.10),transparent 24%),
    linear-gradient(180deg,transparent 72%,rgba(3,44,97,.10));
}
.cec-hero-inner{ z-index:3; }
.cec-hero-content{ padding:50px 0 60px; }
.cec-hero h1{
  max-width:760px;
  font-size:clamp(2.35rem,4.2vw,4.15rem);
  letter-spacing:-1.2px;
  text-shadow:0 3px 18px rgba(0,0,0,.13);
}
.cec-hero h1 span{ margin-top:2px; }
.cec-hero p{
  margin-top:16px;
  font-size:1.16rem;
  line-height:1.9;
  color:rgba(255,255,255,.93);
}

/* Main service strip */
.cec-services-wrap{ margin-top:-44px; }
.cec-services{
  padding:10px;
  border:1px solid rgba(207,221,239,.9);
  border-radius:24px;
  box-shadow:0 20px 48px rgba(3,44,97,.11);
}
.cec-service-card{
  min-height:164px;
  border-color:#e8eef7;
  border-radius:16px;
  transition:transform .22s ease,background .22s ease,box-shadow .22s ease;
}
.cec-service-card:hover{
  transform:translateY(-4px);
  background:linear-gradient(180deg,#fff,#f8fbff);
  box-shadow:0 10px 26px rgba(7,84,184,.075);
}
.cec-service-icon{
  width:60px;
  height:60px;
  background:linear-gradient(145deg,#edf5ff,#e5f0fd);
  box-shadow:inset 0 0 0 1px rgba(7,84,184,.035);
  transition:transform .22s ease,background .22s ease;
}
.cec-service-card:hover .cec-service-icon{ transform:translateY(-2px) scale(1.035); }
.cec-service-card h3{ font-size:1.02rem; letter-spacing:-.1px; }
.cec-service-card p{ color:#74839a; }
.cec-service-card::after{ height:3px; width:30px; }

/* Section rhythm and headings */
.cec-section{ padding:34px 0; }
.cec-home-stacked-panels{ gap:24px; }
.cec-home-stacked-panels > .cec-panel{
  padding:20px;
  border-radius:22px;
  border-color:#dce6f3;
  box-shadow:var(--cec-shadow-soft);
}
.cec-panel-head{
  position:relative;
  margin-bottom:18px;
  padding:0 0 13px;
  border-bottom:1px solid #edf1f7;
}
.cec-panel-head h2{
  position:relative;
  padding-right:14px;
  font-size:1.24rem;
  color:var(--cec-blue-dark);
  letter-spacing:-.2px;
}
.cec-panel-head h2::before{
  content:"";
  position:absolute;
  right:0;
  top:50%;
  width:4px;
  height:23px;
  border-radius:10px;
  background:linear-gradient(180deg,var(--cec-gold),#f2be46);
  transform:translateY(-50%);
}
.cec-panel-head a{
  display:inline-flex;
  align-items:center;
  min-height:34px;
  padding:5px 11px;
  border-radius:9px;
  color:var(--cec-blue);
  background:#f2f7fe;
  transition:background .2s ease,color .2s ease;
}
.cec-panel-head a:hover{ background:#e8f2ff; color:var(--cec-blue-dark); }

/* Course/activity cards */
.cec-course-grid{ gap:18px; }
.cec-course-card,
.cec-activity-card{
  border-color:#dce6f2;
  border-radius:18px;
  box-shadow:0 7px 22px rgba(3,44,97,.055);
  transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease;
}
.cec-course-card:hover,
.cec-activity-card:hover{
  transform:translateY(-4px);
  border-color:#c5d8ee;
  box-shadow:var(--cec-shadow-hover);
}
.cec-activity-thumb{ min-height:175px; }
.cec-course-content{ padding:16px 17px 15px; }
.cec-course-content h3{
  font-size:1rem;
  line-height:1.75;
  color:var(--cec-blue-dark);
}
.cec-activity-meta{ margin-bottom:9px; }
.cec-activity-details-link{
  display:inline-flex;
  align-items:center;
  min-height:32px;
  padding:4px 9px;
  border-radius:8px;
  background:#f2f7fe;
  transition:background .2s ease;
}
.cec-activity-details-link:hover{ background:#e5f0ff; }
.cec-activity-slider-nav > button,
.cec-announcement-arrow{
  box-shadow:0 4px 12px rgba(3,44,97,.06);
  transition:transform .18s ease,background .18s ease,border-color .18s ease;
}
.cec-activity-slider-nav > button:hover,
.cec-announcement-arrow:hover{
  transform:translateY(-1px);
  border-color:#aac7e8;
  background:#f5f9ff;
}

/* Announcement cards aligned with course cards */
.cec-home-announcement-slide{ gap:18px; }
.cec-home-announcement-card{
  border-color:#dce6f2;
  border-radius:18px;
  box-shadow:0 7px 22px rgba(3,44,97,.055);
  transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease;
}
.cec-home-announcement-card:hover{
  transform:translateY(-4px);
  border-color:#c5d8ee;
  box-shadow:var(--cec-shadow-hover);
}
.cec-home-announcement-media{ min-height:180px; }
.cec-home-announcement-content{ padding:17px 18px 18px; }
.cec-home-announcement-content h3{ font-size:1.02rem; }
.cec-home-announcement-more{
  display:inline-flex;
  align-items:center;
  min-height:32px;
  padding:4px 9px;
  border-radius:8px;
  background:#f2f7fe;
}
.cec-home-announcement-more:hover{ background:#e5f0ff; }

/* Important links */
.cec-simple-links-section{ padding-top:6px; padding-bottom:54px; }
.cec-simple-links-head{ margin-bottom:14px; }
.cec-simple-links{
  gap:14px;
}
.cec-simple-links > a{
  min-height:88px;
  padding:15px 16px;
  border-radius:16px;
  background:linear-gradient(180deg,#fff,#fbfdff);
  box-shadow:0 7px 20px rgba(3,44,97,.045);
}
.cec-simple-links > a:hover{
  transform:translateY(-3px);
  border-color:#bfd3ec;
  box-shadow:0 13px 30px rgba(3,44,97,.09);
}
.cec-simple-links > a > span{
  width:46px;
  height:46px;
  flex-basis:46px;
  background:linear-gradient(145deg,#edf5ff,#e5effd);
}
.cec-simple-links strong{ font-size:.96rem; }

/* Unified buttons */
.cec-btn{
  border-radius:11px;
  min-height:44px;
  box-shadow:none;
  transition:transform .18s ease,box-shadow .18s ease,filter .18s ease;
}
.cec-btn-primary{
  background:linear-gradient(135deg,#0754b8,#0b69d9);
  box-shadow:0 8px 18px rgba(7,84,184,.17);
}
.cec-btn-gold{
  background:linear-gradient(135deg,#dc9910,#efb63a);
  box-shadow:0 7px 17px rgba(229,165,27,.17);
}
.cec-btn:hover{ transform:translateY(-1px); filter:saturate(1.02); }
.cec-btn-primary:hover{ box-shadow:0 11px 23px rgba(7,84,184,.23); }
.cec-btn-gold:hover{ box-shadow:0 10px 22px rgba(229,165,27,.22); }

/* Inner pages and forms */
.cec-page-banner,
.cec-page-banner-inner{ min-height:165px; }
.cec-page-banner h1{ letter-spacing:-.5px; }
.cec-form-card,
.cec-main-form,
.cec-about-card,
.cec-content-block,
.cec-plan-table-wrap,
.cec-single-module{
  border-color:#dce6f2;
  box-shadow:var(--cec-shadow-soft);
}
.cec-form-card{ border-radius:18px; padding:22px; }
.cec-form-card:hover{ transform:translateY(-4px); box-shadow:var(--cec-shadow-hover); }
.cec-main-form{ border-radius:20px; padding:22px; }
.cec-form-section{ border-radius:15px; padding:20px; border-color:#dce6f2; }
.cec-form-section-title{ font-size:1.18rem; }
.cec-input,.cec-select,.cec-textarea{
  border-color:#cbd8e9;
  border-radius:10px;
  min-height:48px;
  transition:border-color .18s ease,box-shadow .18s ease,background .18s ease;
}
.cec-input:hover,.cec-select:hover,.cec-textarea:hover{ border-color:#b6cae3; }
.cec-input:focus,.cec-select:focus,.cec-textarea:focus{
  border-color:#2b72cb;
  box-shadow:0 0 0 4px rgba(7,84,184,.085);
}
.cec-alert{ border-radius:12px; }

/* Visitor counter */
.cec-visitor-counter-card{
  border-radius:20px;
  box-shadow:var(--cec-shadow-soft);
  background:linear-gradient(145deg,#fff,#f7fbff);
}

/* Footer: more refined spacing and hierarchy */
.cec-site-footer{
  margin-top:24px;
  background:
    radial-gradient(circle at 15% 15%,rgba(255,255,255,.07),transparent 28%),
    linear-gradient(135deg,#04356f 0%,#0754a8 100%);
  border-top:4px solid rgba(229,165,27,.88);
}
.cec-footer-grid{ gap:36px; padding:42px 0 31px; }
.cec-footer-brand img{
  width:82px;
  height:82px;
  padding:7px;
  box-shadow:0 9px 24px rgba(0,0,0,.12);
}
.cec-footer h3{
  position:relative;
  margin-bottom:15px;
  font-size:1.06rem;
}
.cec-footer:not(.cec-footer-brand) h3::after{
  content:"";
  display:block;
  width:28px;
  height:3px;
  margin-top:8px;
  border-radius:3px;
  background:var(--cec-gold);
}
.cec-footer p,.cec-footer li,.cec-footer a{ line-height:1.9; }
.cec-footer a{ transition:color .18s ease,opacity .18s ease; }
.cec-footer a:hover{ color:#fff; opacity:1; }
.cec-footer-bottom{ padding:13px 0; background:rgba(2,36,79,.17); }

/* Motion only where it helps */
@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{
    scroll-behavior:auto !important;
    transition-duration:.01ms !important;
    animation-duration:.01ms !important;
    animation-iteration-count:1 !important;
  }
}

/* Tablet */
@media (max-width:1200px){
  .cec-nav{ border:1px solid #dce6f2; border-radius:18px; }
  .cec-simple-home .cec-hero,.cec-simple-home .cec-hero-inner{ min-height:370px; }
}

/* Mobile */
@media (max-width:620px){
  .cec-header-inner{ min-height:66px; }
  .cec-site-header{ position:sticky; }
  .cec-simple-home .cec-hero,.cec-simple-home .cec-hero-inner{ min-height:370px; }
  .cec-hero-content{ padding:38px 0 62px; }
  .cec-hero h1{ font-size:clamp(2rem,10vw,2.8rem); letter-spacing:-.6px; }
  .cec-hero p{ font-size:1rem; line-height:1.85; }
  .cec-services-wrap{ margin-top:-30px; }
  .cec-services{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:0;
    padding:8px;
    border-radius:20px;
  }
  .cec-service-card{
    min-height:150px;
    padding:14px 10px;
    border-bottom:1px solid #e8eef7;
    border-left:1px solid #e8eef7;
    border-radius:13px;
  }
  .cec-service-card:nth-child(even){ border-left:0; }
  .cec-service-card:nth-last-child(-n+2){ border-bottom:0; }
  .cec-service-icon{ width:52px; height:52px; }
  .cec-service-card h3{ font-size:.92rem; }
  .cec-service-card p{ font-size:.77rem; line-height:1.55; }
  .cec-home-stacked-panels > .cec-panel{ padding:15px; border-radius:18px; }
  .cec-panel-head{ align-items:flex-start; gap:10px; }
  .cec-panel-head h2{ font-size:1.08rem; line-height:1.65; }
  .cec-panel-head a{ flex:0 0 auto; font-size:.78rem; }
  .cec-course-grid,.cec-simple-course-grid{ gap:14px; }
  .cec-activity-thumb,.cec-home-announcement-media{ min-height:190px; }
  .cec-simple-links{ grid-template-columns:repeat(2,minmax(0,1fr)); }
  .cec-simple-links > a{ min-height:92px; padding:13px 11px; gap:10px; }
  .cec-simple-links > a > span{ width:42px; height:42px; flex-basis:42px; }
  .cec-simple-links strong{ font-size:.86rem; line-height:1.55; }
  .cec-main-form{ padding:15px; border-radius:17px; }
  .cec-form-section{ padding:16px 14px; }
  .cec-footer-grid{ gap:25px; padding:34px 0 24px; }
  .cec-footer-brand{ align-items:center; }
  .cec-footer-brand img{ width:72px; height:72px; }
}

@media (max-width:390px){
  .cec-simple-links{ grid-template-columns:1fr; }
  .cec-services{ grid-template-columns:1fr; }
  .cec-service-card,
  .cec-service-card:nth-child(even),
  .cec-service-card:nth-last-child(-n+2){ border-left:0; border-bottom:1px solid #e8eef7; }
  .cec-service-card:last-child{ border-bottom:0; }
}


/* v3.70 — Trash filter by registration form (admin only). */

/* ===== دليل المركز: أرشيف النسخ الحالية والسابقة ===== */
.cec-guide-section{padding-top:44px}
.cec-guide-intro{margin-bottom:26px}
.cec-guide-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}
.cec-guide-card{background:#fff;border:1px solid var(--cec-border);border-radius:20px;padding:24px;display:grid;grid-template-columns:auto 1fr;gap:18px;align-items:start;box-shadow:0 10px 28px rgba(7,84,184,.07);transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}
.cec-guide-card:hover{transform:translateY(-2px);box-shadow:0 16px 36px rgba(7,84,184,.11);border-color:#bfd2ec}
.cec-guide-card.is-current{border-color:rgba(229,165,27,.55);box-shadow:0 14px 34px rgba(229,165,27,.12)}
.cec-guide-card-icon{width:62px;height:62px;border-radius:18px;display:flex;align-items:center;justify-content:center;background:#edf5ff;color:var(--cec-blue);grid-row:1/span 2}
.cec-guide-card-icon .cec-icon{width:31px;height:31px}
.cec-guide-card-body h2{font-size:1.18rem;color:var(--cec-blue-dark);margin:9px 0 8px}
.cec-guide-card-body p{margin:0;color:var(--cec-muted);line-height:1.9}
.cec-guide-badges{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.cec-guide-current-badge,.cec-guide-year-badge{display:inline-flex;align-items:center;min-height:28px;padding:4px 11px;border-radius:999px;font-size:.82rem;font-weight:700}
.cec-guide-current-badge{background:#fff6df;color:#9a6500;border:1px solid #f1d18b}
.cec-guide-year-badge{background:#edf5ff;color:var(--cec-blue-dark);border:1px solid #d6e6fb}
.cec-guide-card-actions{grid-column:2;display:flex;align-items:center;gap:10px;margin-top:4px}
.cec-guide-card-actions .cec-btn{min-width:160px;justify-content:center}
.cec-guide-no-file{color:var(--cec-muted);font-size:.9rem}
.cec-guide-single-card{max-width:920px;margin:0 auto;background:#fff;border:1px solid var(--cec-border);border-radius:22px;padding:30px;box-shadow:var(--cec-shadow)}
.cec-guide-single-content{margin:18px 0 24px;color:var(--cec-text);line-height:2}
@media (max-width:860px){.cec-guide-grid{grid-template-columns:1fr}}
@media (max-width:560px){.cec-guide-card{grid-template-columns:1fr;padding:20px}.cec-guide-card-icon{grid-row:auto}.cec-guide-card-actions{grid-column:1}.cec-guide-card-actions .cec-btn{width:100%}}


/* v3.75 - قائمة مبسطة لملفات دليل المركز */
.cec-simple-guide-head{margin:0 auto 24px;max-width:900px;text-align:right}
.cec-simple-guide-head h2{margin:0 0 7px;color:var(--cec-blue-dark);font-size:1.45rem}
.cec-simple-guide-head p{margin:0;color:var(--cec-muted)}
.cec-guide-file-list{display:grid;gap:12px;max-width:900px;margin:0 auto}
.cec-guide-file{display:grid;grid-template-columns:54px 1fr auto;gap:16px;align-items:center;background:#fff;border:1px solid var(--cec-border);border-radius:16px;padding:15px 18px;text-decoration:none;color:var(--cec-text);box-shadow:0 8px 22px rgba(7,84,184,.06);transition:.2s ease}
.cec-guide-file:hover{transform:translateY(-2px);border-color:#b9d1ef;box-shadow:0 14px 30px rgba(7,84,184,.11)}
.cec-guide-file-icon{width:50px;height:50px;border-radius:14px;background:#edf5ff;color:var(--cec-blue);display:flex;align-items:center;justify-content:center}
.cec-guide-file-icon .cec-icon{width:26px;height:26px}
.cec-guide-file-title{font-weight:800;color:var(--cec-blue-dark);font-size:1.02rem}
.cec-guide-file-open{font-weight:700;color:var(--cec-blue);white-space:nowrap}
@media(max-width:620px){.cec-guide-file{grid-template-columns:46px 1fr;padding:13px}.cec-guide-file-open{grid-column:2;font-size:.9rem}.cec-guide-file-icon{width:44px;height:44px}}
