/**
 * ==============================================================================
 * AL-ESRAA UNIVERSITY - DEAN & PRESIDENT SPEECH SECTION (نماذج كلمة رئيس الجامعة)
 * ==============================================================================
 */

/* ─────────────────────────────────────────────────────────────
   GLOBAL SECTION WRAPPER & WATERMARK HEADER
───────────────────────────────────────────────────────────── */
.dean-speech-section {
    position: relative;
    padding: 70px 0;
    background: #ffffff;
    overflow: hidden;
}

[data-theme="dark"] .dean-speech-section,
body.dark-mode .dean-speech-section {
    background: #0b1120;
}

/* Watermark Header */
.dean-watermark-header {
    position: relative;
    text-align: center;
    margin-bottom: 45px;
}

.dean-watermark-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -60%);
    font-family: 'Changa', 'Tajawal', sans-serif;
    font-size: clamp(2.2rem, 5.5vw, 4.2rem);
    font-weight: 900;
    color: rgba(148, 163, 184, 0.18);
    white-space: nowrap;
    user-select: none;
    pointer-events: none;
    z-index: 1;
    letter-spacing: -0.5px;
}

[data-theme="dark"] .dean-watermark-bg,
body.dark-mode .dean-watermark-bg {
    color: rgba(255, 255, 255, 0.05);
}

.dean-main-title {
    position: relative;
    z-index: 2;
    font-family: 'Changa', 'Tajawal', sans-serif;
    font-size: clamp(1.6rem, 3vw, 2.25rem);
    font-weight: 800;
    color: #1e293b;
    margin: 0;
    letter-spacing: -0.5px;
}

[data-theme="dark"] .dean-main-title,
body.dark-mode .dean-main-title {
    color: #f8fafc;
}

/* ─────────────────────────────────────────────────────────────
   MODEL 1: PRESIDENTIAL EDITORIAL (النموذج المعتمد المطابق للصورة)
───────────────────────────────────────────────────────────── */
.dean-model-editorial .dean-photo-card {
    position: relative;
    border-radius: 26px;
    overflow: hidden;
    background: #ffffff;
    border: 4px solid #ffffff;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.12), 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}

.dean-model-editorial .dean-photo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 28px 55px rgba(0, 0, 0, 0.16);
}

.dean-model-editorial .dean-photo-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 22px;
}

.dean-model-editorial .dean-text-container {
    padding-right: 15px;
}

@media (max-width: 991.98px) {
    .dean-model-editorial .dean-text-container {
        padding-right: 0;
        margin-top: 30px;
    }
}

.dean-model-editorial .dean-paragraph {
    font-family: 'Tajawal', sans-serif;
    font-size: 1.02rem;
    line-height: 1.88;
    color: #334155;
    margin-bottom: 1.35rem;
    text-align: justify;
    font-weight: 500;
}

[data-theme="dark"] .dean-model-editorial .dean-paragraph,
body.dark-mode .dean-model-editorial .dean-paragraph {
    color: #cbd5e1;
}

.dean-model-editorial .dean-signature-title {
    font-family: 'Changa', 'Tajawal', sans-serif;
    font-weight: 800;
    font-size: 1.15rem;
    color: #0f172a;
    margin-top: 1.25rem;
    margin-bottom: 1.25rem;
    display: inline-block;
}

[data-theme="dark"] .dean-model-editorial .dean-signature-title,
body.dark-mode .dean-model-editorial .dean-signature-title {
    color: #f1f5f9;
}

.dean-model-editorial .dean-btn-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 38px;
    border-radius: 50px;
    background: #dc2626;
    color: #ffffff !important;
    font-family: 'Tajawal', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none !important;
    box-shadow: 0 8px 22px rgba(220, 38, 38, 0.35);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    border: none;
    cursor: pointer;
}

.dean-model-editorial .dean-btn-more:hover {
    background: #b91c1c;
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(185, 28, 28, 0.45);
}

/* ─────────────────────────────────────────────────────────────
   MODEL 2: COSMIC ROYAL GLASS (الأفق الزجاجي الملكي)
───────────────────────────────────────────────────────────── */
.dean-model-cosmic {
    background: radial-gradient(ellipse at 80% 20%, #0f305c 0%, #0c264a 40%, #061529 75%, #020813 100%);
    border-radius: 28px;
    padding: 55px 40px;
    color: #ffffff;
    border: 1px solid rgba(56, 189, 248, 0.25);
    box-shadow: 0 25px 65px rgba(2, 8, 19, 0.5);
    position: relative;
    overflow: hidden;
}

.dean-model-cosmic .cosmic-glow-orb {
    position: absolute;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(223, 168, 44, 0.15) 0%, transparent 70%);
    top: -100px;
    right: -80px;
    pointer-events: none;
}

.dean-model-cosmic .dean-cosmic-card {
    background: rgba(255, 255, 255, 0.045);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 24px;
    padding: 30px;
}

.dean-model-cosmic .dean-cosmic-photo {
    border-radius: 20px;
    overflow: hidden;
    border: 2px solid rgba(56, 189, 248, 0.4);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.dean-model-cosmic .dean-sticky-photo {
    position: sticky;
    top: 90px;
}

.dean-model-cosmic .dean-full-speech-body p:last-child {
    margin-bottom: 0 !important;
}

@media (max-width: 991.98px) {
    .dean-model-cosmic {
        padding: 35px 20px;
    }
    .dean-model-cosmic .dean-sticky-photo {
        position: static;
        margin-bottom: 25px;
    }
}

/* ─────────────────────────────────────────────────────────────
   MODEL 3: ROYAL CREST & PILLARS (النموذج الأكاديمي ذو المحاور)
───────────────────────────────────────────────────────────── */
.dean-model-pillars .dean-pillar-wrap {
    background: #ffffff;
    border-radius: 26px;
    border: 1px solid rgba(226, 232, 240, 0.9);
    box-shadow: 0 15px 45px rgba(15, 23, 42, 0.06);
    padding: 45px 40px;
    position: relative;
}

[data-theme="dark"] .dean-model-pillars .dean-pillar-wrap,
body.dark-mode .dean-model-pillars .dean-pillar-wrap {
    background: #111827;
    border-color: rgba(255, 255, 255, 0.08);
}

.dean-model-pillars .pillar-badge {
    background: rgba(12, 52, 104, 0.08);
    color: #0c3468;
    border: 1px solid rgba(12, 52, 104, 0.18);
    border-radius: 50px;
    padding: 6px 18px;
    font-size: 0.85rem;
    font-weight: 700;
}

[data-theme="dark"] .dean-model-pillars .pillar-badge,
body.dark-mode .dean-model-pillars .pillar-badge {
    background: rgba(56, 189, 248, 0.12);
    color: #38bdf8;
    border-color: rgba(56, 189, 248, 0.3);
}

.dean-model-pillars .pillar-card {
    background: #f8fafc;
    border-radius: 16px;
    padding: 16px;
    border: 1px solid rgba(226, 232, 240, 0.8);
    text-align: center;
    transition: all 0.3s ease;
}

[data-theme="dark"] .dean-model-pillars .pillar-card,
body.dark-mode .dean-model-pillars .pillar-card {
    background: #1e293b;
    border-color: rgba(255, 255, 255, 0.08);
}

.dean-model-pillars .pillar-card:hover {
    transform: translateY(-3px);
    border-color: #0c3468;
}

/* ─────────────────────────────────────────────────────────────
   MODEL 4: MODERN MINIMAL CANVAS (الكانفاس العصري الممتد)
───────────────────────────────────────────────────────────── */
.dean-model-minimal .dean-minimal-card {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 28px;
    padding: 50px 45px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

[data-theme="dark"] .dean-model-minimal .dean-minimal-card,
body.dark-mode .dean-model-minimal .dean-minimal-card {
    background: linear-gradient(135deg, #111827 0%, #1e293b 100%);
    border-color: rgba(255, 255, 255, 0.08);
}

.dean-model-minimal .quote-mark {
    font-size: 3rem;
    color: #0c3468;
    opacity: 0.2;
    line-height: 1;
}

[data-theme="dark"] .dean-model-minimal .quote-mark,
body.dark-mode .dean-model-minimal .quote-mark {
    color: #38bdf8;
    opacity: 0.35;
}
