﻿/* =========================================================
   المؤتمر العلمي الدولي «جرائم البعث والتكفير»
   كلية الآداب – الجامعة المستنصرية
   ---------------------------------------------------------
   Visual identity: ink (memory), crimson (sacrifice),
   aged bronze (memorial plaques), stone backgrounds.
   ========================================================= */

/* ---------- 1. Design tokens ---------- */
:root {
    --ink: #121419;
    --ink-2: #1c1f26;
    --ink-rgb: 18, 20, 25;

    --primary-color: #8f1d22;
    --primary-dark: #651318;
    --primary-light: #b8393f;
    --primary-rgb: 143, 29, 34;

    --secondary-color: #a88a5c;
    --secondary-dark: #7a6140;
    --secondary-light: #d2b98e;
    --secondary-rgb: 168, 138, 92;

    --text-dark: #1a1c21;
    --text-light: #f6f3ee;
    --text-gray: #5b5e65;

    --bg-light: #f4f2ee;
    --bg-white: #ffffff;
    --border-color: #e2ddd4;

    --shadow-sm: 0 2px 10px rgba(var(--ink-rgb), 0.06);
    --shadow-md: 0 10px 28px rgba(var(--ink-rgb), 0.10);
    --shadow-lg: 0 22px 50px rgba(var(--ink-rgb), 0.16);

    --radius: 18px;
    --nav-h: 80px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

    --font-body: 'Tajawal', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --font-display: 'Amiri', 'Times New Roman', serif;
}

/* ---------- 2. Reset & base ---------- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--nav-h) + 12px);
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.75;
    color: var(--text-dark);
    background-color: var(--bg-white);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.35;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
}

ul,
ol {
    list-style: none;
}

button,
input {
    font: inherit;
}

[hidden] {
    display: none !important;
}

:focus-visible {
    outline: 3px solid var(--secondary-color);
    outline-offset: 3px;
    border-radius: 4px;
}

.container {
    max-width: 1240px;
    margin-inline: auto;
    padding-inline: 24px;
}

.skip-link {
    position: absolute;
    top: -60px;
    inset-inline-start: 16px;
    z-index: 2000;
    padding: 10px 18px;
    border-radius: 8px;
    background: var(--ink);
    color: #fff;
    font-weight: 700;
    transition: top 0.2s ease;
}

.skip-link:focus {
    top: 12px;
}

.noscript-note {
    padding: 14px 24px;
    margin-top: var(--nav-h);
    background: #fff4d6;
    color: #5c4300;
    text-align: center;
    font-weight: 600;
}

/* ---------- 3. Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 26px;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
    text-align: center;
    border: 2px solid transparent;
    border-radius: 10px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(var(--primary-rgb), 0.28);
}

.btn-outline {
    background: transparent;
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: #fff;
}

.btn-ghost-light {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.4);
    color: #fff;
}

.btn-ghost-light:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: #fff;
}

.btn-large {
    padding: 15px 34px;
    font-size: 16px;
}

.btn-full {
    width: 100%;
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* ---------- 4. Navigation ---------- */
.navbar {
    position: fixed;
    top: 0;
    inset-inline: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.97);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-top: 3px solid var(--primary-color);
    box-shadow: 0 1px 0 var(--border-color);
    transition: box-shadow 0.3s ease;
}

.navbar.scrolled {
    box-shadow: 0 8px 26px rgba(var(--ink-rgb), 0.10);
}

.nav-container {
    display: flex;
    align-items: center;
    gap: 20px;
    padding-block: 12px;
}

.header-logos {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.uni-logo,
.arts-logo {
    width: 52px;
    height: 52px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.arts-logo {
    border-radius: 50%;
}

.header-logos:hover .uni-logo,
.header-logos:hover .arts-logo {
    transform: scale(1.05);
}

.logo {
    flex: 1;
    min-width: 0;
}

.logo-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.logo-title {
    font-size: 14px;
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1.45;
}

.logo-title:hover {
    color: var(--primary-color);
}

.logo-subtitle {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 12.5px;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.5;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-link {
    position: relative;
    display: inline-block;
    padding-block: 6px;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-dark);
    white-space: nowrap;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    inset-inline-start: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.lang-switcher {
    padding: 8px 14px;
    background: transparent;
    border: 2px solid var(--ink);
    border-radius: 8px;
    color: var(--ink);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

.lang-switcher:hover {
    background: var(--ink);
    color: #fff;
}

.btn-nav {
    padding: 9px 20px;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
    width: 44px;
    height: 44px;
    background: none;
    border: none;
    border-radius: 8px;
    cursor: pointer;
}

.mobile-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    border-radius: 2px;
    background: var(--text-dark);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.mobile-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.mobile-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

/* ---------- 5. Hero ---------- */
.hero {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: center;
    min-height: 100vh;
    min-height: 100svh;
    padding: calc(var(--nav-h) + 56px) 0 120px;
    overflow: hidden;
    background: var(--ink);
    color: var(--text-light);
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(70% 60% at 85% 12%, rgba(var(--primary-rgb), 0.42) 0%, transparent 62%),
        radial-gradient(55% 55% at 5% 100%, rgba(var(--secondary-rgb), 0.18) 0%, transparent 60%),
        linear-gradient(180deg, #16181e 0%, #0e1014 100%);
}

/* Fine vertical rules evoke an archive / memorial wall */
.hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.03) 0 1px, transparent 1px 92px);
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 25%, #000 75%, transparent 100%);
    mask-image: linear-gradient(180deg, transparent 0%, #000 25%, #000 75%, transparent 100%);
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    inset-inline: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--primary-color));
}

.hero-container {
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    gap: 64px;
    align-items: center;
    width: 100%;
}

.hero-content > * {
    animation: fadeInUp 0.8s ease-out backwards;
}

.hero-content > :nth-child(2) { animation-delay: 0.08s; }
.hero-content > :nth-child(3) { animation-delay: 0.16s; }
.hero-content > :nth-child(4) { animation-delay: 0.24s; }
.hero-content > :nth-child(5) { animation-delay: 0.32s; }
.hero-content > :nth-child(6) { animation-delay: 0.40s; }
.hero-content > :nth-child(7) { animation-delay: 0.48s; }

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 22px;
    padding: 7px 16px;
    background: rgba(var(--secondary-rgb), 0.08);
    border: 1px solid rgba(var(--secondary-rgb), 0.5);
    border-radius: 999px;
    color: var(--secondary-light);
    font-size: 14px;
    font-weight: 700;
}

.hero-eyebrow::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary-light);
    box-shadow: 0 0 0 4px rgba(var(--primary-rgb), 0.35);
}

.hero-title {
    margin-bottom: 12px;
    font-size: clamp(42px, 6.4vw, 80px);
    line-height: 1.15;
    color: #fff;
}

html[lang="en"] .hero-title {
    font-size: clamp(32px, 4.4vw, 56px);
    line-height: 1.18;
}

.hero-alt-title {
    margin-bottom: 20px;
    font-size: 17px;
    font-weight: 500;
    letter-spacing: 0.3px;
    color: var(--secondary-light);
}

/* The sub-title is written in the other language (own dir attribute), so align it with the page, not with itself. */
html[dir="rtl"] .hero-alt-title {
    text-align: right;
}

html[dir="ltr"] .hero-alt-title {
    text-align: left;
}

html[lang="en"] .hero-alt-title {
    font-family: var(--font-display);
    font-size: 26px;
    font-weight: 700;
    letter-spacing: 0;
}

.hero-organizer {
    margin-bottom: 18px;
    padding-inline-start: 14px;
    border-inline-start: 3px solid var(--primary-light);
    font-size: 17px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.88);
}

.hero-lead {
    max-width: 640px;
    margin-bottom: 32px;
    font-size: 17px;
    line-height: 1.95;
    color: rgba(255, 255, 255, 0.72);
}

.hero-details {
    display: flex;
    flex-wrap: wrap;
    gap: 20px 40px;
    margin-bottom: 36px;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 14px;
}

.detail-item .icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    padding: 11px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--secondary-light);
}

.detail-label {
    display: block;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
}

.detail-value {
    display: block;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.hero-visual {
    animation: fadeIn 1s ease-out 0.3s backwards;
}

.visual-card {
    padding: 36px 30px 28px;
    border-radius: 24px;
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
    text-align: center;
}

.visual-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 18px;
    margin-bottom: 28px;
}

.visual-logos img {
    border-radius: 50%;
    background: #fff;
    object-fit: contain;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
}

.visual-logo-arts {
    width: 148px;
    height: 148px;
    padding: 6px;
}

.visual-logo-uni {
    width: 104px;
    height: 104px;
    padding: 10px;
}

.countdown-title {
    margin-bottom: 12px;
    font-size: 14px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.7);
}

.countdown-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.cd-unit {
    padding: 14px 4px 10px;
    border-radius: 14px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.cd-num {
    display: block;
    font-size: 30px;
    font-weight: 800;
    line-height: 1.1;
    color: #fff;
    font-variant-numeric: tabular-nums;
}

.cd-label {
    display: block;
    margin-top: 6px;
    font-size: 12.5px;
    font-weight: 500;
    color: var(--secondary-light);
}

.countdown-status {
    padding: 16px;
    border-radius: 14px;
    background: rgba(var(--primary-rgb), 0.35);
    border: 1px solid rgba(var(--primary-rgb), 0.6);
    font-size: 18px;
    font-weight: 700;
    color: #fff;
}

.visual-date {
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px dashed rgba(255, 255, 255, 0.18);
    font-size: 15px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.85);
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ---------- 6. Stats strip ---------- */
.stats {
    position: relative;
    z-index: 2;
    margin-top: -56px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    overflow: hidden;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
}

.stat {
    padding: 26px 16px;
    text-align: center;
}

.stat + .stat {
    border-inline-start: 1px solid var(--border-color);
}

.stat-value {
    display: block;
    font-family: var(--font-display);
    font-size: 44px;
    font-weight: 700;
    line-height: 1.1;
    color: var(--primary-color);
}

.stat-label {
    display: block;
    margin-top: 6px;
    font-size: 15px;
    font-weight: 700;
    color: var(--text-gray);
}

/* ---------- 7. Section scaffolding ---------- */
.section {
    padding: 100px 0;
}

.section-header {
    max-width: 780px;
    margin: 0 auto 56px;
    text-align: center;
}

.section-tag {
    display: inline-block;
    margin-bottom: 16px;
    padding: 6px 18px;
    background: rgba(var(--primary-rgb), 0.07);
    border: 1px solid rgba(var(--primary-rgb), 0.18);
    border-radius: 999px;
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 700;
}

.section-title {
    font-size: clamp(30px, 4vw, 42px);
    color: var(--text-dark);
}

.section-title::after {
    content: '';
    display: block;
    width: 64px;
    height: 3px;
    margin: 18px auto 0;
    border-radius: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.section-description {
    margin-top: 18px;
    font-size: 17.5px;
    color: var(--text-gray);
}

/* ---------- 8. About ---------- */
.about {
    background: var(--bg-white);
}

.about-layout {
    display: grid;
    grid-template-columns: 1.65fr 1fr;
    gap: 32px;
    align-items: start;
}

.about-card {
    padding: 40px;
    border-radius: var(--radius);
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.about-heading {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 25px;
    color: var(--text-dark);
}

.heading-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--ink);
    color: var(--secondary-light);
}

.heading-icon svg {
    width: 24px;
    height: 24px;
}

.about-intro {
    margin-bottom: 36px;
    font-size: 17px;
    line-height: 2.05;
    color: var(--text-gray);
}

.goals-list {
    display: grid;
    gap: 14px;
}

.goals-list li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px 22px;
    border-radius: 14px;
    border-start-start-radius: 4px;
    border-end-start-radius: 4px;
    background: var(--bg-light);
    border-inline-start: 4px solid var(--primary-color);
    font-size: 16.5px;
    line-height: 1.95;
    color: var(--text-dark);
}

.goal-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    margin-top: 2px;
    border-radius: 50%;
    background: var(--primary-color);
    color: #fff;
    font-weight: 800;
    font-size: 15px;
}

.facts-card {
    position: relative;
    overflow: hidden;
    background: var(--ink);
    border-color: var(--ink);
    color: var(--text-light);
}

.facts-card::before {
    content: '';
    position: absolute;
    top: 0;
    inset-inline: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.facts-heading {
    margin-bottom: 10px;
    font-size: 25px;
    color: #fff;
}

.fact {
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.fact:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.fact dt {
    font-size: 13px;
    font-weight: 700;
    color: var(--secondary-light);
}

.fact dd {
    font-size: 16.5px;
    font-weight: 700;
    color: #fff;
}

/* ---------- 9. Themes ---------- */
.themes {
    background: var(--bg-light);
}

.themes-axes {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}

.theme-axis {
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 30px 28px;
    border-radius: var(--radius);
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.theme-axis::before {
    content: '';
    position: absolute;
    top: 0;
    inset-inline: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0.22);
    transform-origin: right;
    transition: transform 0.45s ease;
}

html[dir="ltr"] .theme-axis::before {
    transform-origin: left;
}

.theme-axis:hover {
    transform: translateY(-6px);
    border-color: rgba(var(--primary-rgb), 0.25);
    box-shadow: var(--shadow-md);
}

.theme-axis:hover::before {
    transform: scaleX(1);
}

.axis-head {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 14px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--border-color);
}

.axis-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: var(--ink);
    color: var(--secondary-light);
    transition: var(--transition);
}

.theme-axis:hover .axis-icon {
    background: var(--primary-color);
    color: #fff;
}

.axis-icon svg {
    width: 28px;
    height: 28px;
}

.axis-label {
    display: block;
    margin-bottom: 2px;
    font-size: 13px;
    font-weight: 800;
    color: var(--primary-color);
}

.axis-title {
    font-size: 21px;
    line-height: 1.4;
    color: var(--text-dark);
}

.axis-items {
    display: grid;
}

.axis-items li {
    position: relative;
    padding-block: 11px;
    padding-inline-start: 22px;
    font-size: 15.5px;
    line-height: 1.85;
    color: var(--text-gray);
    border-bottom: 1px dashed rgba(var(--ink-rgb), 0.1);
}

.axis-items li:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.axis-items li::before {
    content: '';
    position: absolute;
    top: calc(11px + 0.925em - 4px);
    inset-inline-start: 2px;
    width: 8px;
    height: 8px;
    border-radius: 2px;
    background: var(--primary-color);
    transform: rotate(45deg);
}

.axis-items strong {
    color: var(--text-dark);
    font-weight: 700;
}

/* ---------- 10. Keynote speakers ---------- */
.speakers {
    background: var(--bg-white);
}

.speakers-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 380px));
    justify-content: center;
    gap: 36px;
}

.speaker-card {
    padding: 40px 28px 34px;
    border-radius: 22px;
    background: linear-gradient(180deg, var(--bg-light) 0%, var(--bg-white) 100%);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: var(--transition);
}

.speaker-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.speaker-image {
    width: 180px;
    height: 180px;
    margin: 0 auto 22px;
    padding: 5px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.speaker-image img {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 4px solid #fff;
    object-fit: cover;
}

.speaker-badge {
    display: inline-block;
    margin-bottom: 12px;
    padding: 4px 14px;
    border-radius: 999px;
    background: rgba(var(--primary-rgb), 0.08);
    color: var(--primary-color);
    font-size: 13px;
    font-weight: 700;
}

.speaker-name {
    margin-bottom: 8px;
    font-size: 23px;
    color: var(--text-dark);
}

.speaker-title {
    font-size: 15.5px;
    line-height: 1.7;
    color: var(--text-gray);
}

/* ---------- 11. Committees ---------- */
.committees {
    background: var(--bg-light);
}

.committee-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
}

.tab-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 999px;
    color: var(--text-gray);
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

.tab-btn:hover {
    color: var(--primary-color);
    border-color: rgba(var(--primary-rgb), 0.35);
}

.tab-btn[aria-selected="true"] {
    background: var(--ink);
    border-color: var(--ink);
    color: #fff;
}

.tab-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 22px;
    padding: 0 7px;
    border-radius: 999px;
    background: rgba(var(--ink-rgb), 0.07);
    font-size: 12.5px;
    font-weight: 800;
}

.tab-count:empty {
    display: none;
}

.tab-btn[aria-selected="true"] .tab-count {
    background: rgba(255, 255, 255, 0.16);
}

.tab-panel {
    animation: fadeIn 0.4s ease;
}

.members-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.member-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    border-radius: 14px;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.member-card:hover {
    transform: translateY(-2px);
    border-color: rgba(var(--primary-rgb), 0.3);
    box-shadow: var(--shadow-sm);
}

.member-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(var(--ink-rgb), 0.06);
    color: var(--text-gray);
}

.member-avatar svg {
    width: 24px;
    height: 24px;
}

.member-info {
    min-width: 0;
}

.member-info h4 {
    font-family: var(--font-body);
    font-size: 15.5px;
    font-weight: 700;
    line-height: 1.5;
    color: var(--text-dark);
}

.member-info p {
    font-size: 13.5px;
    font-weight: 500;
    color: var(--text-gray);
}

.member-card.is-chair {
    grid-column: 1 / -1;
    justify-self: center;
    width: min(100%, 480px);
    padding: 20px 24px;
    background: var(--ink);
    border-color: var(--ink);
}

.member-card.is-chair .member-avatar {
    width: 56px;
    height: 56px;
    background: var(--primary-color);
    color: #fff;
}

.member-card.is-chair .member-info h4 {
    font-size: 17px;
    color: #fff;
}

.member-card.is-chair .member-info p {
    font-weight: 700;
    color: var(--secondary-light);
}

/* ---------- 12. Supporting institutions ---------- */
.partners {
    background: var(--bg-white);
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.partner-card {
    padding: 38px 24px;
    border-radius: var(--radius);
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: var(--transition);
}

.partner-card:hover {
    transform: translateY(-6px);
    border-color: rgba(var(--secondary-rgb), 0.5);
    box-shadow: var(--shadow-md);
}

.partner-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: rgba(var(--secondary-rgb), 0.12);
    border: 1px solid rgba(var(--secondary-rgb), 0.4);
    color: var(--secondary-dark);
}

.partner-icon svg {
    width: 38px;
    height: 38px;
}

.partner-card h3 {
    font-size: 22px;
    color: var(--text-dark);
}

.activity-box {
    position: relative;
    display: flex;
    align-items: center;
    gap: 24px;
    margin-top: 40px;
    padding: 30px 34px;
    overflow: hidden;
    border-radius: var(--radius);
    background: var(--ink);
    color: var(--text-light);
}

.activity-box::after {
    content: '';
    position: absolute;
    inset-inline-end: -80px;
    top: -80px;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(var(--primary-rgb), 0.45), transparent 70%);
    pointer-events: none;
}

.activity-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 70px;
    height: 70px;
    border-radius: 16px;
    background: var(--primary-color);
    color: #fff;
}

.activity-icon svg {
    width: 36px;
    height: 36px;
}

.activity-content {
    position: relative;
    z-index: 1;
}

.activity-tag {
    font-size: 13px;
    font-weight: 700;
    color: var(--secondary-light);
}

.activity-box h3 {
    margin: 2px 0 4px;
    font-size: 25px;
    color: #fff;
}

.activity-box p {
    color: rgba(255, 255, 255, 0.75);
}

/* ---------- 13. Participation ---------- */
.participation {
    background: var(--bg-light);
}

.participation-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
}

.participation-card {
    padding: 36px;
    border-radius: var(--radius);
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 18px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: var(--primary-color);
    color: #fff;
}

.card-icon svg {
    width: 28px;
    height: 28px;
}

.card-header h3 {
    font-size: 24px;
}

.requirements-list li {
    position: relative;
    padding-block: 11px;
    padding-inline-start: 32px;
    line-height: 1.85;
    color: var(--text-gray);
    border-bottom: 1px dashed rgba(var(--ink-rgb), 0.1);
}

.requirements-list li:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.requirements-list li::before {
    content: '';
    position: absolute;
    top: 15px;
    inset-inline-start: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(var(--primary-rgb), 0.1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238f1d22' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* ---------- 14. Timeline ---------- */
.dates {
    background: var(--bg-white);
}

.timeline {
    position: relative;
    max-width: 880px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    transform: translateX(-50%);
    background: linear-gradient(180deg, var(--primary-color), var(--secondary-color));
}

.timeline-item {
    position: relative;
    display: flex;
    justify-content: flex-start;
    margin-bottom: 36px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-item:nth-child(even) {
    justify-content: flex-end;
}

.timeline-marker {
    position: absolute;
    top: 28px;
    left: 50%;
    z-index: 1;
    width: 18px;
    height: 18px;
    transform: translateX(-50%);
    border-radius: 50%;
    background: var(--primary-color);
    border: 4px solid var(--bg-white);
    box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.25);
}

.timeline-content {
    width: calc(50% - 40px);
    padding: 22px 24px;
    border-radius: 14px;
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.timeline-content:hover {
    box-shadow: var(--shadow-md);
}

.timeline-date {
    display: inline-block;
    margin-bottom: 10px;
    padding: 4px 12px;
    border-radius: 6px;
    background: var(--ink);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
}

.timeline-content h3 {
    margin-bottom: 4px;
    font-size: 20px;
}

.timeline-content p {
    font-size: 14.5px;
    color: var(--text-gray);
}

.timeline-item.highlighted .timeline-marker {
    width: 24px;
    height: 24px;
    background: var(--secondary-color);
    box-shadow: 0 0 0 5px rgba(var(--secondary-rgb), 0.3);
}

.timeline-item.highlighted .timeline-content {
    background: var(--ink);
    border-color: var(--ink);
}

.timeline-item.highlighted .timeline-date {
    background: var(--primary-color);
}

.timeline-item.highlighted h3 {
    color: #fff;
}

.timeline-item.highlighted p {
    color: rgba(255, 255, 255, 0.75);
}

/* ---------- 15. Registration ---------- */
.registration {
    padding: 100px 0;
    background:
        radial-gradient(60% 80% at 100% 0%, rgba(var(--primary-rgb), 0.45), transparent 60%),
        radial-gradient(50% 60% at 0% 100%, rgba(var(--secondary-rgb), 0.14), transparent 60%),
        var(--ink);
    color: var(--text-light);
}

.registration-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: start;
}

.registration-content h2 {
    margin-bottom: 14px;
    font-size: clamp(30px, 3.6vw, 40px);
    color: #fff;
}

.registration-subtitle {
    margin-bottom: 28px;
    font-size: 17.5px;
    color: rgba(255, 255, 255, 0.78);
}

.registration-methods {
    display: grid;
    gap: 18px;
    margin-bottom: 30px;
}

.method-card {
    padding: 24px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.method-card h4 {
    margin-bottom: 8px;
    font-size: 21px;
    color: #fff;
}

.method-card p {
    margin-bottom: 14px;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.75);
}

.method-card p:last-child {
    margin-bottom: 0;
}

.btn-cmt {
    background: #fff;
    border-color: #fff;
    color: var(--ink);
}

.btn-cmt:hover {
    background: var(--secondary-light);
    border-color: var(--secondary-light);
    transform: translateY(-2px);
}

.cmt-disclaimer {
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 12.5px !important;
    font-style: italic;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.55) !important;
}

.benefits-list {
    display: grid;
    gap: 14px;
}

.benefits-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
}

.benefits-list svg {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    color: var(--secondary-light);
}

.registration-form-wrapper {
    padding: 36px;
    border-radius: 22px;
    background: var(--bg-white);
    color: var(--text-dark);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
}

.registration-form h3 {
    margin-bottom: 4px;
    font-size: 26px;
    text-align: center;
}

.form-hint {
    margin-bottom: 24px;
    font-size: 14px;
    color: var(--text-gray);
    text-align: center;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-size: 14.5px;
    font-weight: 700;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"] {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid var(--border-color);
    border-radius: 10px;
    background: #fcfbf9;
    color: var(--text-dark);
    font-size: 15px;
    transition: var(--transition);
}

html[dir="rtl"] .form-group input[dir="ltr"] {
    text-align: right;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(var(--primary-rgb), 0.1);
}

.form-group input:focus-visible {
    outline: none;
}

.checkbox-group {
    margin: 22px 0;
}

/* Anti-spam honeypot: invisible to people, filled in only by bots. */
.hp-field {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    flex-shrink: 0;
    width: 19px;
    height: 19px;
    accent-color: var(--primary-color);
    cursor: pointer;
}

/* ---------- 16. Venue & Baghdad ---------- */
.venue {
    background: var(--bg-light);
}

.venue-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.photo-card {
    position: relative;
    overflow: hidden;
    margin: 0;
    border-radius: var(--radius);
    background: var(--ink);
    box-shadow: var(--shadow-md);
}

.photo-card img {
    display: block;
    width: 100%;
    height: 320px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.photo-card:hover img {
    transform: scale(1.04);
}

.photo-card figcaption {
    position: absolute;
    bottom: 0;
    inset-inline: 0;
    padding: 44px 20px 16px;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.78), transparent);
    color: #fff;
    font-size: 15.5px;
    font-weight: 700;
}

.venue-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 14px 28px;
    margin-top: 28px;
}

.venue-address {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    color: var(--text-dark);
}

.venue-address svg {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    color: var(--primary-color);
}

.venue-sub {
    margin: 76px 0 28px;
    text-align: center;
}

.venue-sub h3 {
    font-size: 30px;
}

.venue-sub p {
    margin-top: 6px;
    color: var(--text-gray);
}

.landmarks-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.landmarks-grid .photo-card img {
    height: 240px;
}

/* ---------- 17. Contact ---------- */
.contact {
    background: var(--bg-white);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.contact-card {
    padding: 38px 24px;
    border-radius: var(--radius);
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    text-align: center;
    transition: var(--transition);
}

.contact-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 68px;
    height: 68px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: var(--ink);
    color: var(--secondary-light);
}

.contact-icon svg {
    width: 30px;
    height: 30px;
}

.contact-card h3 {
    margin-bottom: 8px;
    font-size: 22px;
}

.contact-card p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-gray);
}

.contact-card a {
    font-weight: 700;
    color: var(--primary-color);
    overflow-wrap: anywhere;
}

.contact-card a:hover {
    text-decoration: underline;
    text-underline-offset: 5px;
}

/* ---------- 18. Footer ---------- */
.footer {
    padding: 64px 0 24px;
    background: var(--ink);
    border-top: 4px solid var(--primary-color);
    color: var(--text-light);
}

.footer-content {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 40px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}

.footer-brand img {
    width: 54px;
    height: 54px;
    padding: 4px;
    border-radius: 50%;
    background: #fff;
    object-fit: contain;
}

.footer-section h3 {
    margin-bottom: 10px;
    font-size: 22px;
    color: #fff;
}

.footer-section h4 {
    margin-bottom: 14px;
    font-family: var(--font-body);
    font-size: 17px;
    font-weight: 800;
    color: #fff;
}

.footer-section p {
    margin-bottom: 16px;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.7);
}

.footer-section li {
    padding-block: 5px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-section a:hover {
    color: var(--secondary-light);
}

.footer-more-link {
    font-weight: 700;
    color: var(--secondary-light);
}

.footer-more-link:hover {
    text-decoration: underline;
    text-underline-offset: 6px;
}

.cmt-disclaimer-fixed {
    margin-bottom: 16px;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.cmt-disclaimer-fixed p {
    margin-bottom: 8px;
    font-size: 12px;
    font-style: italic;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.5);
}

.cmt-disclaimer-fixed p:last-child {
    margin-bottom: 0;
}

.footer-bottom {
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.55);
}

/* ---------- 19. Back to top ---------- */
.back-to-top {
    position: fixed;
    bottom: 22px;
    inset-inline-end: 22px;
    z-index: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 50%;
    background: var(--primary-color);
    color: #fff;
    box-shadow: var(--shadow-md);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: var(--transition);
}

.back-to-top svg {
    width: 22px;
    height: 22px;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: none;
}

.back-to-top:hover {
    background: var(--primary-dark);
}

/* ---------- 20. Scroll reveal (added by JS for off-screen elements only) ---------- */
.reveal {
    opacity: 0;
    transform: translateY(24px);
}

.reveal.is-visible {
    opacity: 1;
    transform: none;
    transition: opacity 0.7s ease, transform 0.7s ease;
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1180px) {
    .mobile-toggle {
        display: flex;
    }

    /* The <nav> wrapper is empty here (its list is a fixed overlay); take it out of the flex row. */
    .nav-wrap {
        position: absolute;
    }

    .nav-menu {
        position: fixed;
        top: var(--nav-h);
        inset-inline: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        max-height: calc(100vh - var(--nav-h));
        overflow-y: auto;
        padding: 8px 24px 24px;
        background: var(--bg-white);
        border-top: 1px solid var(--border-color);
        box-shadow: 0 18px 30px rgba(var(--ink-rgb), 0.12);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
    }

    .nav-menu.active {
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .nav-link {
        display: block;
        padding: 14px 4px;
        border-bottom: 1px solid var(--border-color);
    }

    .nav-menu li:last-child .nav-link {
        border-bottom: 0;
    }

    .nav-link::after {
        display: none;
    }
}

@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .hero-visual {
        width: 100%;
        max-width: 520px;
        margin-inline: auto;
    }

    .about-layout {
        grid-template-columns: 1fr;
    }

    .themes-axes {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .members-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .registration-card {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }

    .footer-about {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .container {
        padding-inline: 16px;
    }

    .section,
    .registration {
        padding: 72px 0;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .btn-nav {
        display: none;
    }

    .nav-container {
        gap: 12px;
    }

    .uni-logo,
    .arts-logo {
        width: 44px;
        height: 44px;
    }

    .nav-menu {
        padding-inline: 16px;
    }

    .hero {
        padding: calc(var(--nav-h) + 40px) 0 100px;
    }

    .hero-lead {
        font-size: 16px;
    }

    .hero-details {
        flex-direction: column;
        gap: 16px;
    }

    .visual-card {
        padding: 28px 18px 22px;
    }

    .visual-logo-arts {
        width: 120px;
        height: 120px;
    }

    .visual-logo-uni {
        width: 86px;
        height: 86px;
    }

    .stats {
        margin-top: -44px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .stat:nth-child(3) {
        border-inline-start: 0;
    }

    .stat:nth-child(n + 3) {
        border-top: 1px solid var(--border-color);
    }

    .stat-value {
        font-size: 38px;
    }

    .about-card,
    .participation-card {
        padding: 28px 22px;
    }

    .goals-list li {
        padding: 16px;
        gap: 12px;
        font-size: 16px;
    }

    .themes-axes,
    .partners-grid,
    .participation-grid,
    .contact-grid,
    .venue-grid {
        grid-template-columns: 1fr;
    }

    .speakers-grid {
        grid-template-columns: minmax(0, 420px);
        gap: 24px;
    }

    .members-grid {
        grid-template-columns: 1fr;
    }

    .member-card.is-chair {
        width: 100%;
    }

    .committee-tabs {
        flex-wrap: nowrap;
        justify-content: flex-start;
        overflow-x: auto;
        margin-inline: -16px;
        padding: 2px 16px 10px;
        scrollbar-width: thin;
    }

    .tab-btn {
        flex-shrink: 0;
    }

    .activity-box {
        flex-direction: column;
        align-items: flex-start;
        padding: 26px 22px;
    }

    .timeline::before {
        left: auto;
        right: auto;
        inset-inline-start: 8px;
        transform: none;
    }

    .timeline-item,
    .timeline-item:nth-child(even) {
        justify-content: flex-start;
        padding-inline-start: 36px;
    }

    .timeline-marker {
        left: auto;
        right: auto;
        inset-inline-start: 0;
        transform: none;
    }

    .timeline-item.highlighted .timeline-marker {
        inset-inline-start: -3px;
    }

    .timeline-content {
        width: 100%;
    }

    .registration-form-wrapper {
        padding: 26px 20px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .photo-card img {
        height: 240px;
    }

    .landmarks-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .landmarks-grid .photo-card img {
        height: 180px;
    }

    .landmarks-grid .photo-card figcaption {
        padding: 34px 12px 10px;
        font-size: 13.5px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

@media (max-width: 560px) {
    .logo-subtitle {
        display: none;
    }

    .logo-title {
        font-size: 12.5px;
        line-height: 1.45;
    }

    .logo-title span {
        display: block;
    }

    .logo-title .logo-sep {
        display: none;
    }

    .uni-logo,
    .arts-logo {
        width: 40px;
        height: 40px;
    }

    .header-logos {
        gap: 6px;
    }

    .nav-container {
        gap: 10px;
    }

    .member-card {
        padding: 12px 14px;
    }

    .member-avatar {
        width: 40px;
        height: 40px;
    }

    .lang-switcher {
        padding: 6px 10px;
        font-size: 13px;
    }

    .hero-cta .btn {
        width: 100%;
    }

    .cd-num {
        font-size: 24px;
    }

    .cd-label {
        font-size: 11.5px;
    }

    .speaker-image {
        width: 150px;
        height: 150px;
    }
}

@media (max-width: 420px) {
    /* The university logo remains visible in the hero card just below. */
    .header-logos .uni-logo {
        display: none;
    }
}

@media (max-width: 400px) {

    .landmarks-grid {
        grid-template-columns: 1fr;
    }

    .landmarks-grid .photo-card img {
        height: 200px;
    }
}

/* ---------- Accessibility: reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    html {
        scroll-behavior: auto;
    }
}

/* ---------- Print ---------- */
@media print {
    .navbar,
    .back-to-top,
    .hero-visual,
    .registration-form-wrapper,
    .skip-link {
        display: none !important;
    }

    .hero {
        min-height: auto;
        padding: 24px 0;
        background: #fff;
        color: #000;
    }

    .hero-title,
    .hero-organizer,
    .hero-lead,
    .detail-value {
        color: #000;
    }

    .tab-panel[hidden] {
        display: block !important;
    }
}
